"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[27],{81:(t,e,i)=>{i.d(e,{a:()=>r,b:()=>c,c:()=>o});var l=i(0),s=i(82),a=i(83),n=i(5);function o({featured_items_list:t,device:e}){const i="mobile"===e?1500:1800;return(0,l.jsx)("section",{className:a.a.wrapper,children:t.map(((t,e)=>"image"===t.image.type&&t.image.url?t.button_cta?(0,l.jsxs)("a",{className:a.a.collection,href:t.link_destination,"aria-label":[t.title,t.subtitle,t.post_title,t.button_cta].filter(Boolean).join(" - "),children:[(0,l.jsx)("div",{className:a.a.collectionImageWrapper,children:(0,l.jsx)(n.a,{src:t.image.url,initialWidth:400,cssClass:a.a.collectionImage,alt:t.title,fullSizeWidth:i,width:t.image.width,height:t.image.height})}),(0,l.jsxs)("div",{className:a.a.collectionContent,children:[t.subtitle&&(0,l.jsx)("p",{className:a.a.collectionSubtitle,children:t.subtitle}),t.title&&(0,l.jsx)("p",{className:a.a.collectionTitle,children:t.title}),t.post_title&&(0,l.jsx)("p",{className:a.a.collectionPostTitle,children:t.post_title}),(0,l.jsxs)("div",{className:`${a.a.collectionButton} `,children:[t.button_cta,(0,l.jsx)(c,{})]})]})]}):(0,l.jsx)("div",{className:s.a.featuredItem,children:(0,l.jsxs)("a",{href:t.link_destination,class:s.a.link,"data-orly-type":t.type,"data-orly-parent-handle":t.parentHandle,"data-orly-handle":t.handle,children:[(0,l.jsx)("div",{className:s.a.imageContainer,children:(0,l.jsx)(n.a,{src:t.image.url,initialWidth:400,cssClass:s.a.image,alt:t.title,fullSizeWidth:i,width:1600,height:2400})}),(0,l.jsxs)("div",{className:s.a.textOverlay,children:[t.subtitle&&(0,l.jsx)("p",{className:s.a.subtitle,children:t.subtitle}),t.title&&(0,l.jsx)("p",{className:s.a.title,children:t.title}),t.post_title&&(0,l.jsx)("p",{className:s.a.postTitle,children:t.post_title})]})]})},e):null))})}function c(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,l.jsx)("path",{d:"M2.10278 8.91895L16.2615 8.91895",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"}),(0,l.jsx)("path",{d:"M11.5939 13.6045L15.9769 9.34657C16.218 9.11234 16.218 8.72522 15.9769 8.49098L11.5939 4.23306",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"})]})}function r(){return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:[(0,l.jsx)("path",{d:"M15.8972 8.91895L1.73852 8.91895",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"}),(0,l.jsx)("path",{d:"M6.40608 4.23306L2.02313 8.49098C1.78205 8.72522 1.78205 9.11234 2.02313 9.34657L6.40608 13.6045",stroke:"white","stroke-width":"1.19286","stroke-linecap":"round"})]})}},5:(t,e,i)=>{i.d(e,{a:()=>n,b:()=>o});var l=i(0),s=i(6),a=i(2);function n({src:t,initialWidth:e,fullSizeWidth:i,cssClass:s,alt:n,width:c,height:r,style:d}){var h;const u=(0,a.useRef)(null),[p,m]=(0,a.useState)(!1),g=o(t,e,i,p);return(0,a.useEffect)((()=>{var t;!p&&(null===(t=u.current)||void 0===t?void 0:t.complete)&&m(!0)}),[null===(h=u.current)||void 0===h?void 0:h.complete]),c&&r?(0,l.jsx)("img",{ref:u,loading:"lazy",src:g,onLoadStart:()=>m(!0),onLoad:()=>m(!0),class:s,alt:null!=n?n:"",width:c,height:r,style:d}):(0,l.jsx)("img",{src:g,class:s,alt:null!=n?n:"",style:d})}function o(t,e,i,l=!0){const n=(0,s.b)(t,e),o=(0,s.b)(t,i),[c,r]=(0,a.useState)({}),d=(0,a.useMemo)((()=>c[o]?o:n),[t,e,i,c]);return(0,a.useEffect)((()=>{if(l&&document&&d!==o){const t=document.createElement("img");t.src=o,t.onload=()=>r(Object.assign(Object.assign({},c),{[o]:!0}))}}),[l,o]),d}},6:(t,e,i)=>{i.d(e,{a:()=>a,b:()=>s});var l=i(17);function s(t,e,i){return(t=(0,l.getFastImage)(t,e,i)).replace("/fl_progressive:steep/","/")}function a(t){var e,i,l;if(t)return"type"in t?"image"===t.type&&t.url?Object.assign(Object.assign({},t),{url:s(t.url),altText:null!==(e=t.altText)&&void 0!==e?e:""}):void 0:"__typename"in t&&"MediaImage"===t.__typename&&(null===(i=t.image)||void 0===i?void 0:i.url)?{url:s(null===(l=t.image)||void 0===l?void 0:l.url),altText:"",height:void 0,width:void 0}:void 0}(0,l.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/"}])}}]);