PageSourceSearch

https://anthemav.com/_next/static/chunks/4482-ee7326faa8b237d7.js

js anthemav.com collected 2026-10-03 21:23:37 UTC 74,268 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4482],{8211:(e,l,t)=>{t.d(l,{Slideshow:()=>x});var a=t(11650),r=t(50633),s=t(26981),n=t(36258),i=t(88006),o=t(95314),c=t(74570),d=t(78410),u=t(73652),m=t(14703);function x(e){let{slides:l,playOnInit:t=!0,interval:x=5e3,className:h}=e,[g,p]=(0,i.A)({loop:!0,duration:20},[(0,s.A)({delay:x,playOnInit:t}),(0,n.A)()]),{selectedIndex:f,scrollSnaps:b,onProgressButtonClick:v}=((e,l)=>{let[t,a]=(0,d.useState)(0),[r,s]=(0,d.useState)([]),n=(0,d.useCallback)(t=>{e&&(e.scrollTo(t),l&&l(e))},[e,l]),i=(0,d.useCallback)(e=>{s(e.scrollSnapList())},[]),o=(0,d.useCallback)(e=>{a(e.selectedScrollSnap())},[]);return(0,d.useEffect)(()=>{e&&(i(e),o(e),e.on("reInit",i).on("reInit",o).on("select",o))},[e,i,o]),{selectedIndex:t,scrollSnaps:r,onProgressButtonClick:n}})(p),[y,j]=(0,d.useState)(!1),[w,N]=(0,d.useState)(0),k=(0,d.useCallback)(()=>{let e=null==p?void 0:p.plugins().autoplay;e&&(e.isPlaying()?e.stop:e.play)()},[p]),I=(0,d.useCallback)(()=>{let e=null==p?void 0:p.plugins().autoplay;e&&e.reset()},[p]);return(0,d.useEffect)(()=>{let e=null==p?void 0:p.plugins().autoplay;e&&(j(e.isPlaying()),p.on("autoplay:play",()=>{j(!0),N(w+1)}).on("autoplay:stop",()=>{j(!1)}).on("reInit",()=>{j(e.isPlaying())}))},[p,w]),(0,a.jsxs)("section",{className:(0,r.$)("relative h-[100vh] bg-[var(--slideshow-background,color-mix(in_oklab,hsl(var(--primary)),black_75%))] @container",h),children:[(0,a.jsx)("div",{className:"h-full overflow-hidden",ref:g,children:(0,a.jsx)("div",{className:"flex h-full",children:l.map((e,l)=>{var t,r,s,n,i,o,c,d;let{title:x,description:h,showDescription:g=!0,image:p,video:f,cta:b,showCta:v=!0}=e;return(0,a.jsxs)("div",{className:"relative h-full w-full min-w-0 shrink-0 grow-0 basis-full",children:[(0,a.jsx)("div",{className:"absolute inset-x-0 bottom-0 z-10 bg-gradient-to-t from-[var(--slideshow-mask,hsl(var(--foreground)/80%))] to-transparent",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-screen-2xl text-balance px-4 pb-16 pt-12 @xl:px-6 @xl:pb-20 @xl:pt-16 @4xl:px-8 @4xl:pt-20",children:[(0,a.jsx)("h1",{style:{lineHeight:"63px"},className:"m-0 max-w-xl font-[family-name:var(--slideshow-title-font-family,var(--font-family-heading))] text-4xl font-medium leading-normal text-[var(--slideshow-title,hsl(var(--background)))] @2xl:text-5xl @2xl:leading-[.9] @4xl:text-6xl",children:x}),g&&(0,a.jsx)("p",{className:"mt-2 max-w-xl font-light font-[family-name:var(--slideshow-description-font-family,var(--font-family-body))] text-base leading-normal text-[var(--slideshow-description,hsl(var(--background)/80%))] @xl:mt-3 @xl:text-lg",children:h}),v&&(0,a.jsx)(u.v,{className:"mt-6 @xl:mt-8 font-heading font-normal text-xl",href:null!=(t=null==b?void 0:b.href)?t:"#",shape:null!=(r=null==b?void 0:b.shape)?r:"rounded",size:null!=(s=null==b?void 0:b.size)?s:"large",variant:null!=(n=null==b?void 0:b.variant)?n:"tertiary",children:null!=(i=null==b?void 0:b.label)?i:"Learn more"})]})}),(null==f?void 0:f.src)!=null&&""!==f.src&&(0,a.jsxs)("video",{className:"block h-full w-full object-cover",autoPlay:null==(o=f.autoplay)||o,muted:null==(c=f.muted)||c,loop:null==(d=f.loop)||d,playsInline:!0,preload:0===l?"auto":"metadata",...0===l&&{fetchPriority:"high"},"aria-label":f.alt,children:[(0,a.jsx)("source",{src:f.src,type:"video/mp4"}),(0,a.jsx)("source",{src:f.src,type:"video/webm"}),(0,a.jsx)("source",{src:f.src,type:"video/ogg"}),(0,a.jsxs)("span",{className:"sr-only",children:["Video: ",f.alt]})]}),!f&&(null==p?void 0:p.src)!=null&&""!==p.src&&(0,a.jsx)(m.Image,{alt:p.alt,blurDataURL:p.blurDataUrl,className:"block h-full w-full object-cover",fill:!0,placeholder:null!=p.blurDataUrl&&""!==p.blurDataUrl?"blur":"empty",priority:0===l,sizes:"100vw",src:p.src})]},l)})})}),(0,a.jsxs)("div",{className:"absolute bottom-4 left-1/2 flex w-full max-w-screen-2xl -translate-x-1/2 flex-wrap items-center px-4 @xl:bottom-6 @xl:px-6 @4xl:px-8",children:[b.map((e,t)=>(0,a.jsx)("button",{"aria-label":"View image number ".concat(t+1),className:"rounded-lg px-1.5 py-2 focus-visible:outline-0 focus-visible:ring-2 focus-visible:ring-[var(--slideshow-focus,hsl(var(--primary)))]",onClick:()=>{v(t),I()},children:(0,a.jsxs)("div",{className:"relative overflow-hidden",children:[(0,a.jsx)("div",{className:(0,r.$)("absolute h-0.5 bg-[var(--slideshow-pagination,hsl(var(--background)))]","opacity-0 fill-mode-forwards",y?"running":"paused",t===f?"opacity-100 ease-linear animate-in slide-in-from-left":"ease-out animate-out fade-out"),style:{animationDuration:t===f?"".concat(x,"ms"):"200ms",width:"".concat(150/l.length,"px")}},"progress-".concat(w)),(0,a.jsx)("div",{className:"h-0.5 bg-[var(--slideshow-pagination,hsl(var(--background)))] opacity-30",style:{width:"".concat(150/l.length,"px")}})]})},t)),(0,a.jsxs)("span",{className:"ml-auto mr-3 mt-px font-[family-name:var
1(--slideshow-number-font-family,var(--font-family-mono))] text-sm text-[var(--slideshow-number,hsl(var(--background)))]",children:[f+1<10?"0".concat(f+1):f+1,"/",l.length<10?"0".concat(l.length):l.length]}),(0,a.jsx)("button",{"aria-label":y?"Pause":"Play",className:"flex h-7 w-7 items-center justify-center rounded-lg border border-[var(--slideshow-play-border,hsl(var(--contrast-300)/50%))] text-[var(--slideshow-play-text,hsl(var(--background)))] ring-[var(--slideshow-focus)] transition-opacity duration-300 hover:border-[var(--slideshow-play-border-hover,hsl(var(--contrast-300)/80%))] focus-visible:outline-0 focus-visible:ring-2",onClick:k,type:"button",children:y?(0,a.jsx)(o.A,{className:"pointer-events-none",size:16,strokeWidth:1.5}):(0,a.jsx)(c.A,{className:"pointer-events-none",size:16,strokeWidth:1.5})})]})]})}},16006:(e,l,t)=>{t.r(l);var a=t(11650),r=t(78410),s=t(50633),n=t(43773),i=t(27879),o=t(14703),c=t(65897),d=t(53036);i.f.registerComponent(function(e){let{className:l,containerStyle:t}=e,[n,i]=(0,r.useState)([]),[u,m]=(0,r.useState)(void 0),[x,h]=(0,r.useState)(!0);(0,r.useEffect)(()=>{!async function(){try{h(!0);let e=await fetch("/api/blog-posts");if(!e.ok){let l=await e.json();m(l.error||"Failed to fetch blog posts"),i([]);return}let l=await e.json();i(l.posts||[]),m(l.error)}catch(e){console.error("Error fetching blog posts:",e),m(e instanceof Error?e.message:"Unknown error occurred"),i([])}finally{h(!1)}}()},[]);let g=t&&"object"==typeof t&&!Array.isArray(t)?t:void 0;return x?(0,a.jsx)("div",{className:(0,s.$)("max-w-6xl mx-auto px-4 lg:px-0",l),style:g,children:(0,a.jsx)("div",{className:"text-center py-12",children:(0,a.jsx)("p",{className:"font-body text-base text-gray-600",children:"Loading posts..."})})}):(0,a.jsx)("div",{className:(0,s.$)("w-full max-w-[1500px] lg:w-[1500px] mx-auto px-4 lg:px-0",l),style:g,children:u?(0,a.jsx)("div",{className:"text-center py-12 bg-yellow-50 border border-yellow-200 rounded-lg p-6",children:(0,a.jsx)("p",{className:"font-body text-base text-yellow-800 font-semibold mb-2",children:"Posts couldn't be loaded. Please check back later."})}):0===n.length?(0,a.jsx)("div",{className:"text-center py-12",children:(0,a.jsx)("p",{className:"font-body text-base text-gray-600",children:"No articles available at this time."})}):(0,a.jsx)("div",{className:"space-y-4 w-full lg:w-[1500px]",children:n.map((e,l)=>{var t,r;let s=l%2==0;return(0,a.jsxs)("div",{className:"bg-[#f6f6f6] group flex flex-col md:flex-row rounded-lg border border-gray-200 shadow-sm transition-shadow overflow-hidden w-full",children:[e.featuredImage&&(0,a.jsx)("div",{className:"relative w-full md:w-1/2 md:flex-shrink-0 h-80 md:h-full overflow-hidden bg-gray-100 flex items-center justify-center ".concat(s?"md:order-1":"md:order-2"),children:(0,a.jsx)(o.Image,{src:e.featuredImage,alt:e.title,fill:!0,className:"object-cover object-center",sizes:"(min-width: 768px) 50vw, 100vw"})}),(0,a.jsxs)("div",{className:"flex flex-col w-full md:w-1/2 md:flex-shrink-0 p-6 md:p-8 ".concat(s?"md:order-2":"md:order-1"),children:[e.categories&&e.categories.length>0&&(0,a.jsx)("div",{className:"flex flex-wrap gap-2 mb-3",children:e.categories.map(e=>(0,a.jsx)("span",{className:"inline-block px-2 py-1 text-xs font-light text-gray-900 border border-gray-900 rounded",children:e.title},e.id))}),(0,a.jsx)("h3",{className:"font-heading text-2xl lg:text-3xl font-bold text-black mb-3",children:e.title}),e.summary&&(0,a.jsx)("p",{className:"font-body text-base text-gray-600 font-light mb-6 line-clamp-2 flex-grow",children:e.summary}),(0,a.jsxs)("div",{className:"mt-auto pt-4 border-t border-gray-100",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between text-sm text-gray-500",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(null==(t=e.author)?void 0:t.photo)&&(0,a.jsx)("div",{className:"relative w-8 h-8 rounded-full overflow-hidden",children:(0,a.jsx)(o.Image,{src:e.author.photo,alt:e.author.name||"Author photo",fill:!0,className:"object-cover",sizes:"32px"})}),(null==(r=e.author)?void 0:r.name)&&(0,a.jsx)("span",{className:"font-body text-gray-900 font-light",children:e.author.name})]}),e.readtime&&(0,a.jsx)("span",{className:"font-body font-light",children:e.readtime})]}),e.publishedAt&&(0,a.jsx)("time",{dateTime:e.publishedAt,className:"block mt-2 text-sm text-gray-500 font-body font-light",children:new Date(e.publishedAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(c.c,{link:{href:e.url},label:"Read More",className:"font-body text-base font-light"}),(0,a.jsx)(d.A,{className:"w-5 h-5"})]})})]})]})]},e.id)})})})},{type:"blog-posts",label:"Blog Posts",props:{className:(0,n.TextInput)({label:"CSS Class",defaultValue:""}),containerStyle:(0,n.Style)({properties:[...n.Style.Default,n.Style.Border]})}})},21935:(e,l,t)=>{t.d(l,{FullWidthImageBottom:()=>i});var a=t(11650),r=t(50633),s=t(73652),n=t(14703);function i(e){var l,t,i,o,c,d;let{image:u,video:m,content:x,contentPosition:h="center",showContent:g=!0,textColor:p="auto",overlayColor:f="hsl(0 0% 7%)",overlayOpacity:b=.6,headingSize:v="4xl",headingWeight:y="medium",paragraphSize:j="base",paragraphWeight:w="normal",height:N="70vh",containerStyle:k,contentStyle:I,className:S}=e,z=()=>{let e={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl"
1:"text-4xl","5xl":"text-5xl","6xl":"text-6xl"};return{heading:e[v]||"text-4xl",paragraph:e[j]||"text-base"}},C=()=>{let e={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"};return{heading:e[y]||"font-medium",paragraph:e[w]||"font-normal"}},T=(()=>{switch(p){case"light":return{heading:"text-[var(--full-width-image-bottom-heading,hsl(var(--foreground)))] @lg:text-white",paragraph:"text-[var(--full-width-image-bottom-paragraph,hsl(var(--foreground)/80%))] @lg:text-white/90"};case"dark":return{heading:"text-[var(--full-width-image-bottom-heading,hsl(var(--foreground)))] @lg:text-black",paragraph:"text-[var(--full-width-image-bottom-paragraph,hsl(var(--foreground)/80%))] @lg:text-black/80"};default:return{heading:"text-[var(--full-width-image-bottom-heading,hsl(var(--foreground)))]",paragraph:"text-[var(--full-width-image-bottom-paragraph,hsl(var(--foreground)/80%))]"}}})();return(0,a.jsx)("section",{className:(0,r.$)("w-full @container z-0",k,S),children:(0,a.jsxs)("div",{className:"flex flex-col @lg:relative @lg:overflow-hidden",style:{height:N},children:[(0,a.jsxs)("div",{className:"relative w-full overflow-hidden @lg:absolute @lg:inset-0 @lg:h-full",style:{height:N},children:[(null==m?void 0:m.src)&&""!==m.src.trim()&&(0,a.jsxs)("video",{className:"h-full w-full object-cover",autoPlay:null==(l=m.autoplay)||l,muted:null==(t=m.muted)||t,loop:null==(i=m.loop)||i,playsInline:!0,"aria-label":m.alt,children:[(0,a.jsx)("source",{src:m.src,type:"video/mp4"}),(0,a.jsx)("source",{src:m.src,type:"video/webm"}),(0,a.jsx)("source",{src:m.src,type:"video/ogg"}),"Your browser does not support the video tag."]}),!m&&u.src&&""!==u.src.trim()&&(0,a.jsx)(n.Image,{alt:u.alt,blurDataURL:u.blurDataUrl,className:"h-full w-full object-cover",fill:!0,placeholder:u.blurDataUrl?"blur":"empty",priority:!0,sizes:"100vw",src:u.src}),g&&(0,a.jsx)("div",{className:"hidden @lg:block absolute inset-0",style:(()=>{let e=f;if(e.includes("hsl(")&&e.includes(" "))e=e.includes(" / ")?e.replace(/\/\s*[\d.]+/," / ".concat(b)):e.replace(")"," / ".concat(b,")"));else if(e.includes("hsl(")&&e.includes(","))e=e.includes(", 0.")?e.replace(/,\s*[\d.]+\)/,", ".concat(b,")")):e.replace(")",", ".concat(b,")"));else if(e.startsWith("#")){let l=e.replace("#","");if(6===l.length){let t=parseInt(l.substr(0,2),16),a=parseInt(l.substr(2,2),16),r=parseInt(l.substr(4,2),16);e="rgba(".concat(t,", ").concat(a,", ").concat(r,", ").concat(b,")")}else if(3===l.length){let t=parseInt(l[0]+l[0],16),a=parseInt(l[1]+l[1],16),r=parseInt(l[2]+l[2],16);e="rgba(".concat(t,", ").concat(a,", ").concat(r,", ").concat(b,")")}}else e=e.startsWith("rgb(")?e.replace("rgb(","rgba(").replace(")",", ".concat(b,")")):e.startsWith("rgba(")?e.replace(/,\s*[\d.]+\)/,", ".concat(b,")")):f;return{backgroundColor:e}})()})]}),x&&(0,a.jsx)("div",{className:(0,r.$)("flex flex-col justify-end py-6 px-4 @lg:absolute @lg:inset-0 @lg:z-10 @lg:h-full @xl:py-8 @xl:px-6 @2xl:py-10 @2xl:px-8",I),children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-2xl px-2 @lg:px-0 @xl:px-4 @4xl:px-6",children:(0,a.jsx)("div",{className:(0,r.$)("flex h-full items-center @lg:items-end @lg:pb-8 @xl:pb-12 @2xl:pb-16","left"===h?"justify-start":"right"===h?"justify-end":"justify-center"),children:(0,a.jsxs)("div",{className:"w-full max-w-2xl py-6 px-4 @lg:p-0 @xl:py-8 @xl:px-6 @2xl:py-10 @2xl:px-8",children:[x.heading&&(0,a.jsx)("h2",{className:(0,r.$)("mb-4 font-[family-name:var(--full-width-image-bottom-heading-font-family,var(--font-family-heading))] leading-tight",z().heading,C().heading,T.heading),dangerouslySetInnerHTML:{__html:x.heading}}),x.paragraph&&(0,a.jsx)("p",{className:(0,r.$)("mb-6 font-[family-name:var(--full-width-image-bottom-paragraph-font-family,var(--font-family-body))] leading-relaxed",z().paragraph,C().paragraph,T.paragraph),dangerouslySetInnerHTML:{__html:x.paragraph}}),x.button&&(0,a.jsx)(s.v,{className:"font-heading font-normal text-lg",href:x.button.href,shape:null!=(o=x.button.shape)?o:"pill",size:null!=(c=x.button.size)?c:"large",variant:null!=(d=x.button.variant)?d:"primary",children:x.button.label})]})})})})]})})}},24264:(e,l,t)=>{t.d(l,{TwoColumnMediaGrid:()=>o});var a=t(11650),r=t(50633),s=t(73652),n=t(14703);function i(e){var l,t,i,o,c,d,u,m,x;let{image:h,video:g,overlay:p,content:f,contentPosition:b,headingSize:v="4xl",headingWeight:y="medium",paragraphSize:j="base",paragraphWeight:w="normal",textColor:N="auto",className:k}=e,I=e=>({xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl"
1:"text-4xl","5xl":"text-5xl","6xl":"text-6xl"})[e]||"text-base",S=e=>({light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"})[e]||"font-normal",z=(()=>{switch(N){case"light":return{pill:"text-white",heading:"text-white",paragraph:"text-white/90"};case"dark":return{pill:"text-black",heading:"text-black",paragraph:"text-black/80"};default:return{pill:"text-[var(--two-column-media-grid-pill-text,hsl(var(--foreground)))]",heading:"text-[var(--two-column-media-grid-heading,hsl(var(--foreground)))]",paragraph:"text-[var(--two-column-media-grid-paragraph,hsl(var(--foreground)/80%))]"}}})();return(0,a.jsxs)("div",{className:(0,r.$)("relative h-full w-full overflow-hidden",k),children:[(0,a.jsxs)("div",{className:"absolute inset-0 h-full w-full",children:[(null==g?void 0:g.src)&&""!==g.src.trim()&&(0,a.jsxs)("video",{className:"h-full w-full object-cover",autoPlay:null==(i=g.autoplay)||i,muted:null==(o=g.muted)||o,loop:null==(c=g.loop)||c,playsInline:!0,"aria-label":g.alt,children:[(0,a.jsx)("source",{src:g.src,type:"video/mp4"}),(0,a.jsx)("source",{src:g.src,type:"video/webm"}),(0,a.jsx)("source",{src:g.src,type:"video/ogg"}),"Your browser does not support the video tag."]}),!g&&(null==h?void 0:h.src)&&""!==h.src.trim()&&(0,a.jsx)(n.Image,{alt:h.alt,blurDataURL:h.blurDataUrl,className:"h-full w-full object-cover",fill:!0,placeholder:h.blurDataUrl?"blur":"empty",priority:!0,sizes:"50vw",src:h.src})]}),(null==p?void 0:p.show)&&(0,a.jsx)("div",{className:"absolute inset-0 z-10",style:(()=>{if(!(null==p?void 0:p.show)||!(null==p?void 0:p.color))return{};let e=p.color,l=p.opacity;if(e.includes("hsl(")&&e.includes(" "))e=e.includes(" / ")?e.replace(/\/\s*[\d.]+/," / ".concat(l)):e.replace(")"," / ".concat(l,")"));else if(e.includes("hsl(")&&e.includes(","))e=e.includes(", 0.")?e.replace(/,\s*[\d.]+\)/,", ".concat(l,")")):e.replace(")",", ".concat(l,")"));else if(e.startsWith("#")){let t=e.replace("#","");if(6===t.length){let a=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),s=parseInt(t.substr(4,2),16);e="rgba(".concat(a,", ").concat(r,", ").concat(s,", ").concat(l,")")}else if(3===t.length){let a=parseInt(t[0]+t[0],16),r=parseInt(t[1]+t[1],16),s=parseInt(t[2]+t[2],16);e="rgba(".concat(a,", ").concat(r,", ").concat(s,", ").concat(l,")")}}else e.startsWith("rgb(")?e=e.replace("rgb(","rgba(").replace(")",", ".concat(l,")")):e.startsWith("rgba(")&&(e=e.replace(/,\s*[\d.]+\)/,", ".concat(l,")")));return{backgroundColor:e}})()}),f&&(0,a.jsx)("div",{className:(0,r.$)("absolute inset-0 z-20 flex flex-col p-6 @lg:p-8 @xl:p-10 @2xl:p-12",(()=>{switch(b.vertical){case"top":return"justify-start";case"bottom":return"justify-end";default:return"justify-center"}})(),(()=>{switch(b.horizontal){case"left":return"items-start text-left";case"right":return"items-end text-right";default:return"items-center text-center"}})()),children:(0,a.jsxs)("div",{className:"max-w-2xl space-y-3",children:[(null==(l=f.pill)?void 0:l.show)&&(null==(t=f.pill)?void 0:t.text)&&(0,a.jsx)("div",{className:"inline-block rounded-xl px-4 py-2",style:{backgroundColor:f.pill.backgroundColor||"rgba(255, 255, 255, 0.2)"},children:(0,a.jsx)("span",{className:(0,r.$)({xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl"}[f.pill.fontSize||"sm"]||"text-sm",S(f.pill.fontWeight||"medium"),z.pill),children:f.pill.text})}),f.heading&&(0,a.jsx)("h2",{className:(0,r.$)("font-[family-name:var(--two-column-media-grid-heading-font-family,var(--font-family-heading))] leading-tight",I(v),S(y),z.heading),dangerouslySetInnerHTML:{__html:f.heading}}
1),f.paragraph&&(0,a.jsx)("span",{className:(0,r.$)("font-[family-name:var(--two-column-media-grid-paragraph-font-family,var(--font-family-body))] leading-relaxed",I(j),S(w),z.paragraph),dangerouslySetInnerHTML:{__html:f.paragraph}}),f.buttons&&(f.buttons.button1||f.buttons.button2)&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-4 justify-center",children:[f.buttons.button1&&(0,a.jsx)(s.v,{className:"font-heading font-normal",href:f.buttons.button1.href,shape:"rounded",size:null!=(d=f.buttons.button1.size)?d:"large",variant:null!=(u=f.buttons.button1.variant)?u:"primary",children:f.buttons.button1.label}),f.buttons.button2&&(0,a.jsx)(s.v,{className:"font-heading font-normal",href:f.buttons.button2.href,shape:"rounded",size:null!=(m=f.buttons.button2.size)?m:"large",variant:null!=(x=f.buttons.button2.variant)?x:"secondary",children:f.buttons.button2.label})]})]})})]})}function o(e){let{leftColumn:l,rightColumn:t,height:s="100vh",className:n}=e;return(0,a.jsx)("section",{className:(0,r.$)("w-full @container z-0",n),style:{minHeight:s},children:(0,a.jsxs)("div",{className:"grid grid-cols-1 @lg:grid-cols-2 h-full gap-1.5",children:[(0,a.jsx)("div",{className:"h-full min-h-[50vh] @lg:min-h-full",children:(0,a.jsx)(i,{...l})}),(0,a.jsx)("div",{className:"h-full min-h-[50vh] @lg:min-h-full",children:(0,a.jsx)(i,{...t})})]})})}},27570:(e,l,t)=>{t.d(l,{z:()=>n});var a=t(58628),r=t(89611);let s=a.Ik({data:a.Ik({products:a.YO(r.Q)}).nullable()});async function n(e){var l,t;return null!=(t=null==(l=(await fetch("/api/products?search=".concat(e)).then(e=>e.json()).then(s.parse)).data)?void 0:l.products)?t:[]}},28875:(e,l,t)=>{t.d(l,{MakeswiftSiteTheme:()=>i});var a=t(11650);function r(e){let l="";for(let t=0;t<e.length;t+=1){let a=e.charAt(t);a>="A"&&a<="Z"?l+="-".concat(a.toLowerCase()):l+=a}return l}let s=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.entries(e).flatMap(e=>{let[t,a]=e;return null!=a?function e(l,t,a){if("string"==typeof t){let e,{valueTransform:s}=a;return e=s?s(t):t,"--".concat(r(l),": ").concat(e,";")}if("number"==typeof t)return"--".concat(r(l),": ").concat(t,"px;");return Object.entries(t).flatMap(t=>{let[r,s]=t;return null!=s?e("".concat(l,"-").concat(r),s,a):null}).filter(e=>null!=e)}(t,a,l):null}).filter(e=>null!=e)},n=e=>{let{fontTokens:l,...t}=e;return(0,a.jsx)("style",{"data-makeswift":"theme",children:":root {\n      ".concat(Object.entries(l).map(e=>{let[l,{fontFamily:t}]=e;return"--font-family-".concat(l,": ").concat(t,";")}).join("\n"),"\n      ").concat(s(t).join("\n"),"\n      --font-family-mono: var(--font-family-accent);\n    }\n  ")})},i=e=>{let{fontTokens:l,components:{header:t,...r}}=e;return(0,a.jsx)(n,{fontTokens:l,...t,...r})}},31161:(e,l,t)=>{t.d(l,{MediaContentSection:()=>s});var a=t(11650);t(78410);var r=t(50633);function s(e){let{backgroundType:l,backgroundColor:t,backgroundImage:s,mediaType:n,mediaSrc:i,mediaAlt:o,videoAutoplay:c=!0,videoMuted:d=!0,videoLoop:u=!0,cards:m,columnOrder:x="media-left",circlePills:h=!1,textColor:g="#ffffff",className:p}=e;return(0,a.jsxs)("section",{className:(0,r.$)("w-full relative min-h-screen",p),children:[(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full",children:(()=>{if("color"===l&&t)return(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full z-0",style:{backgroundColor:t}});if("image"===l&&(null==s?void 0:s.src)){let e="url('".concat(s.src,"')");return(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full z-0",style:{backgroundImage:e,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}})}return null})()}),(0,a.jsx)("div",{className:"relative z-1 container mx-auto px-4 py-12 @lg:py-16 min-h-[600px]",children:(0,a.jsxs)("div",{className:(0,r.$)("grid gap-8 @lg:gap-12 h-full","media-left"===x?"@lg:grid-cols-[1fr_1fr]":"@lg:grid-cols-[1fr_1fr] @lg:[&>*:nth-child(1)]:order-2 [&>*:nth-child(2)]:order-1"),children:[(0,a.jsx)("div",{className:"relative w-full h-[500px] @lg:h-[700px]",children:(0,a.jsx)("div",{className:"absolute inset-0 rounded-lg overflow-hidden",children:i?"video"===n?(0,a.jsxs)("video",{className:"w-full h-full object-cover",autoPlay:c,muted:d,loop:u,playsInl
1ine:!0,"aria-label":o||"Video content",children:[(0,a.jsx)("source",{src:i,type:"video/mp4"}),(0,a.jsx)("source",{src:i,type:"video/webm"}),"Your browser does not support the video tag."]}):(0,a.jsx)("img",{src:i,alt:o||"Media content",className:"w-full h-full object-cover"}):null})}),(0,a.jsx)("div",{className:"flex flex-col justify-center space-y-4",children:m&&m.map((e,l)=>(0,a.jsxs)("div",{className:(0,r.$)("flex items-start gap-4",h||e.pill?"flex-row":"flex-col"),children:[(h||e.pill)&&(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("div",{className:"w-8 h-8 bg-red-600 rounded-full flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-white font-bold text-sm",children:e.pill||l+1})})}),(0,a.jsxs)("div",{className:(0,r.$)("rounded-lg p-6 transition-all flex-1",e.hasBackground&&e.backgroundColor?"":e.hasBackground?"bg-white bg-opacity-10":""),style:{backgroundColor:e.hasBackground?e.backgroundColor||"rgba(255, 255, 255, 0.1)":"transparent"},children:[e.heading&&(0,a.jsx)("h3",{className:"font-heading text-xl @lg:text-2xl font-semibold mb-3",style:{color:g},dangerouslySetInnerHTML:{__html:e.heading}}),e.paragraph&&(0,a.jsx)("p",{className:"font-body text-base @lg:text-base font-extralight",style:{color:g,opacity:.9},dangerouslySetInnerHTML:{__html:e.paragraph}})]})]},l))})]})})]})}},34202:(e,l,t)=>{t.d(l,{CompareDrawer:()=>x});var a=t(11650),r=t(55424),s=t(80154),n=t(90661),i=t(78410),o=t(39357),c=t(68901);function d(e){let{children:l}=e,[t,r]=(0,i.useState)(null);return(0,i.useEffect)(()=>r(window.document),[]),t&&(0,a.jsx)(c.b,{className:"sticky bottom-0 z-10 w-full border-t bg-background px-3 py-4 @container @md:py-5 @xl:px-6 @5xl:px-10",children:l})}var u=t(14703),m=t(63387);function x(e){let{items:l,paramName:t="compare",action:c,submitLabel:x="Compare"}=e,[,h]=(0,n.ZA)(t,(0,n.IN)(n.tU).withOptions({shallow:!1,scroll:!1}));return l.length>0&&(0,a.jsx)(d,{children:(0,a.jsxs)("form",{action:c,className:"mx-auto flex w-full max-w-7xl flex-col items-start justify-end gap-x-3 gap-y-4 @md:flex-row",children:[(0,a.jsx)("div",{className:"flex flex-1 flex-wrap justify-end gap-4",children:l.map(e=>{var l;return(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{name:t,type:"hidden",value:e.id},e.id),(0,a.jsxs)(m.Link,{className:"group relative flex max-w-56 items-center whitespace-nowrap rounded-xl border border-contrast-100 bg-background font-semibold ring-primary transition-all duration-150 hover:bg-contrast-100 focus:outline-0 focus:ring-2",href:e.href,children:[(0,a.jsx)("div",{className:"bg-primary-highlight/10 relative aspect-square w-12 shrink-0",children:(null==(l=e.image)?void 0:l.src)!=null?(0,a.jsx)(u.Image,{alt:e.image.alt,className:"rounded-lg object-cover @4xl:rounded-r-none",fill:!0,src:e.image.src}):(0,a.jsx)("span",{className:"max-w-full break-all p-1 text-xs text-primary-shadow opacity-20",children:e.title.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2)})}),(0,a.jsx)("span",{className:"hidden truncate pl-3 pr-5 text-foreground @4xl:block",children:e.title})]}),(0,a.jsx)("button",{"aria-label":"Remove ".concat(e.title),className:"absolute -right-2.5 -top-2.5 flex h-7 w-7 items-center justify-center rounded-full border border-contrast-100 bg-background text-contrast-400 transition-colors duration-150 hover:border-contrast-200 hover:bg-contrast-100 hover:text-foreground",onClick:()=>{(0,i.startTransition)(async()=>{await h(l=>{var t;let a=null!=(t=null==l?void 0:l.filter(l=>l!==e.id))?t:[];return a.length>0?a:null})})},type:"button",children:(0,a.jsx)(r.A,{absoluteStrokeWidth:!0,size:16,strokeWidth:1.5})})]},e.id)})}),(0,a.jsxs)(o.$,{className:"hidden @md:block",size:"medium",type:"submit",variant:"primary",children:[x," ",(0,a.jsx)(s.A,{absoluteStrokeWidth:!0,size:20,strokeWidth:1})]}),(0,a.jsxs)(o.$,{className:"w-full @md:hidden",size:"small",type:"submit",variant:"primary",children:[x," ",(0,a.jsx)(s.A,{absoluteStrokeWidth:!0,size:16,strokeWidth:1})]})]})})}},42065:(e,l,t)=>{t.d(l,{Q:()=>o});var a=t(1357),r=t(58628),s=t(89611);let n=r.Ik({products:r.YO(s.Q)}),i=e=>fetch(e).then(e=>e.json()).then(n.parse);function o(e){var l,t;let{collection:r,collectionLimit:n=20,additionalProductIds:o}=e,c=(0,s.$)(),{data:d,isLoading:u}=(0,a.Ay)("none"!==r?"/api/products/group/".concat(r):null,i),m=new URLSearchParams;m.append("ids",o.join(","));let x="/api/products/ids?".concat(m.toString()),{data:h,isLoading:g}=(0,a.Ay)(o.length?x:null,i),p=[...null!=(l=null==d?void 0:d.products.slice(0,n))?l:[],...null!=(t=null==h?void 0:h.products)?t:[]],f=u||g;return{products:f?null:p.map(c),isLoading:f}}},43326:(e,l,t)=>{t.d(l,{FullWidthImageTitle:()=>i});var a=t(11650),r=t(50633),s=t(73652),n=t(14703);function i(e){var l,t,i,o,c,d;let{image:u,video:m,content:x,contentPosition:h="center",showContent:g=!0,textColor:p="auto",overlayColor:f="hsl(0 0% 7%)",overlayOpacity:b=.6,headingSize:v="4xl",headingWeight:y="medium",paragraphSize:j="base",paragraphWeight:w="normal",containerStyle:N,contentStyle:k,className:I}=e,S=()=>{let e={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl"
1:"text-4xl","5xl":"text-5xl","6xl":"text-6xl"};return{heading:e[v]||"text-4xl",paragraph:e[j]||"text-base"}},z=()=>{let e={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"};return{heading:e[y]||"font-medium",paragraph:e[w]||"font-normal"}},C=(()=>{switch(p){case"light":return{heading:"text-white",paragraph:"text-white/90"};case"dark":return{heading:"text-black",paragraph:"text-black/80"};default:return{heading:"text-white drop-shadow-lg",paragraph:"text-white/90 drop-shadow-md"}}})();return(0,a.jsx)("section",{className:(0,r.$)("w-full @container z-0",N,I),children:(0,a.jsxs)("div",{className:"relative h-[70vh] min-h-[500px] overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute inset-0 h-full w-full overflow-hidden",children:[(null==m?void 0:m.src)&&""!==m.src.trim()&&(0,a.jsxs)("video",{className:"h-full w-full object-cover",autoPlay:null==(l=m.autoplay)||l,muted:null==(t=m.muted)||t,loop:null==(i=m.loop)||i,playsInline:!0,"aria-label":m.alt,children:[(0,a.jsx)("source",{src:m.src,type:"video/mp4"}),(0,a.jsx)("source",{src:m.src,type:"video/webm"}),(0,a.jsx)("source",{src:m.src,type:"video/ogg"}),"Your browser does not support the video tag."]}),!m&&u.src&&""!==u.src.trim()&&(0,a.jsx)(n.Image,{alt:u.alt,blurDataURL:u.blurDataUrl,className:"h-full w-full object-cover",fill:!0,placeholder:u.blurDataUrl?"blur":"empty",priority:!0,sizes:"100vw",src:u.src}),g&&(0,a.jsx)("div",{className:"absolute inset-0",style:(()=>{let e=f;if(e.includes("hsl(")&&e.includes(" "))e=e.includes(" / ")?e.replace(/\/\s*[\d.]+/," / ".concat(b)):e.replace(")"," / ".concat(b,")"));else if(e.includes("hsl(")&&e.includes(","))e=e.includes(", 0.")?e.replace(/,\s*[\d.]+\)/,", ".concat(b,")")):e.replace(")",", ".concat(b,")"));else if(e.startsWith("#")){let l=e.replace("#","");if(6===l.length){let t=parseInt(l.substr(0,2),16),a=parseInt(l.substr(2,2),16),r=parseInt(l.substr(4,2),16);e="rgba(".concat(t,", ").concat(a,", ").concat(r,", ").concat(b,")")}else if(3===l.length){let t=parseInt(l[0]+l[0],16),a=parseInt(l[1]+l[1],16),r=parseInt(l[2]+l[2],16);e="rgba(".concat(t,", ").concat(a,", ").concat(r,", ").concat(b,")")}}else e=e.startsWith("rgb(")?e.replace("rgb(","rgba(").replace(")",", ".concat(b,")")):e.startsWith("rgba(")?e.replace(/,\s*[\d.]+\)/,", ".concat(b,")")):f;return{backgroundColor:e}})()})]}),x&&(0,a.jsx)("div",{className:(0,r.$)("absolute inset-0 z-10 flex h-full flex-col justify-center py-6 px-4 @xl:py-8 @xl:px-6 @2xl:py-10 @2xl:px-8",k),children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-2xl px-2 @lg:px-0 @xl:px-4 @4xl:px-6",children:(0,a.jsx)("div",{className:(0,r.$)("flex h-full items-center","left"===h?"justify-start":"right"===h?"justify-end":"justify-center"),children:(0,a.jsxs)("div",{className:(0,r.$)("py-6 px-4 @lg:p-0 @xl:py-8 @xl:px-6 @2xl:py-10 @2xl:px-8","center"===h?"w-full max-w-4xl mx-auto text-center":"w-full max-w-2xl"),children:[x.heading&&(0,a.jsx)("h2",{className:(0,r.$)("mb-4 font-[family-name:var(--full-width-image-title-heading-font-family,var(--font-family-heading))] leading-tight text-2xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl",S().heading,z().heading,C.heading),dangerouslySetInnerHTML:{__html:x.heading}}),x.paragraph&&(0,a.jsx)("p",{className:(0,r.$)("mb-6 font-[family-name:var(--full-width-image-title-paragraph-font-family,var(--font-family-body))] leading-relaxed text-sm sm:text-base md:text-lg",S().paragraph,z().paragraph,C.paragraph),dangerouslySetInnerHTML:{__html:x.paragraph}}),x.button&&(0,a.jsx)("div",{className:(0,r.$)("center"===h?"flex justify-center":""),children:(0,a.jsx)(s.v,{className:"font-heading font-normal text-lg",href:x.button.href,shape:null!=(o=x.button.shape)?o:"pill",size:null!=(c=x.button.size)?c:"large",variant:null!=(d=x.button.variant)?d:"primary",children:x.button.label})})]})})})})]})})}},48822:(e,l,t)=>{t.d(l,{ThreeColumnCards:()=>i});var a=t(11650),r=t(50633),s=t(73652),n=t(14703);function i(e){let{cards:l,columnCount:t=3,mobileColumns:i,tabletColumns:o,desktopColumns:c,componentBackground:d,textColor:u="auto",headingSize:m="4xl",headingWeight:x="medium",headingAlign:h="left",paragraphSize:g="base",paragraphWeight:p="normal",paragraphAlign:f="left",buttonAlign:b="left",containerStyle:v,contentStyle:y,cardContentPadding:j="none",className:w}=e,N=()=>{let e={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl"
1:"text-4xl","5xl":"text-5xl","6xl":"text-6xl"};return{heading:e[m]||"text-4xl",paragraph:e[g]||"text-base"}},k=()=>{let e={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"};return{heading:e[x]||"font-medium",paragraph:e[p]||"font-normal"}},I=()=>{let e={left:"text-left",center:"text-center",right:"text-right"};return{heading:e[h]||"text-left",paragraph:e[f]||"text-left",button:e[b]||"text-left"}},S=(e,l)=>{let t=(()=>{switch(e){case"xs":return"h-16 max-w-16";case"small":return"h-32 max-w-32";case"medium":default:return"w-full aspect-[4/3]";case"large":return"w-full aspect-video";case"full":return"w-full aspect-auto h-auto"}})(),a=(()=>{if("xs"===e||"small"===e)switch(l){case"left":return"ml-0 mr-auto";case"right":return"ml-auto mr-0";default:return"mx-auto"}return""})();return"".concat(t," ").concat(a).trim()},z=e=>{switch(e){case"xs":case"small":return"w-auto h-full object-contain rounded-lg";default:return"h-full w-full object-cover"}},C=e=>{switch(e){case"light":return{heading:"text-white",paragraph:"text-white/90"};case"dark":return{heading:"text-black",paragraph:"text-black/80"};default:return{heading:"text-[var(--three-column-cards-heading,hsl(var(--foreground)))]",paragraph:"text-[var(--three-column-cards-paragraph,hsl(var(--foreground)/80%))]"}}};return(0,a.jsx)("section",{className:(0,r.$)("w-full",v,w),style:(()=>{if(!d)return{};let{color:e,opacity:l}=d,t=e;if(t.includes("hsl(")&&t.includes(" "))t=t.includes(" / ")?t.replace(/\/\s*[\d.]+/," / ".concat(l)):t.replace(")"," / ".concat(l,")"));else if(t.includes("hsl(")&&t.includes(","))t=t.includes(", 0.")?t.replace(/,\s*[\d.]+\)/,", ".concat(l,")")):t.replace(")",", ".concat(l,")"));else if(t.startsWith("#")){let e=t.replace("#","");if(6===e.length){let a=parseInt(e.substr(0,2),16),r=parseInt(e.substr(2,2),16),s=parseInt(e.substr(4,2),16);
1t="rgba(".concat(a,", ").concat(r,", ").concat(s,", ").concat(l,")")}else if(3===e.length){let a=parseInt(e[0]+e[0],16),r=parseInt(e[1]+e[1],16),s=parseInt(e[2]+e[2],16);t="rgba(".concat(a,", ").concat(r,", ").concat(s,", ").concat(l,")")}}else t.startsWith("rgb(")?t=t.replace("rgb(","rgba(").replace(")",", ".concat(l,")")):t.startsWith("rgba(")&&(t=t.replace(/,\s*[\d.]+\)/,", ".concat(l,")")));return{backgroundColor:t}})(),children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-2xl",children:(0,a.jsx)("div",{className:(0,r.$)("grid gap-8 md:gap-[10px]",(()=>{let e=Math.min(i,l.length),t=Math.min(o,l.length),a=Math.min(c,l.length),r="",s="",n="";switch(e){case 1:default:r="grid-cols-1";break;case 2:r="grid-cols-2"}switch(t){case 1:s="md:grid-cols-1";break;case 2:default:s="md:grid-cols-2";break;case 3:s="md:grid-cols-3"}switch(a){case 1:n="lg:grid-cols-1";break;case 2:n="lg:grid-cols-2";break;default:n="lg:grid-cols-3"}return"".concat(r," ").concat(s," ").concat(n).trim()})()),children:l.map((e,l)=>{var t,i,o,c,d,u,m,x,h,g;return(0,a.jsxs)("div",{className:(0,r.$)("flex flex-col",e.cardBackground&&""),style:(e=>{if(!e)return{};let{color:l,opacity:t}=e,a=l;if(a.includes("hsl(")&&a.includes(" "))a=a.includes(" / ")?a.replace(/\/\s*[\d.]+/," / ".concat(t)):a.replace(")"," / ".concat(t,")"));else if(a.includes("hsl(")&&a.includes(","))a=a.includes(", 0.")?a.replace(/,\s*[\d.]+\)/,", ".concat(t,")")):a.replace(")",", ".concat(t,")"));else if(a.startsWith("#")){let e=a.replace("#","");if(6===e.length){let l=parseInt(e.substr(0,2),16),r=parseInt(e.substr(2,2),16),s=parseInt(e.substr(4,2),16);a="rgba(".concat(l,", ").concat(r,", ").concat(s,", ").concat(t,")")}else if(3===e.length){let l=parseInt(e[0]+e[0],16),r=parseInt(e[1]+e[1],16),s=parseInt(e[2]+e[2],16);a="rgba(".concat(l,", ").concat(r,", ").concat(s,", ").concat(t,")")}}else a.startsWith("rgb(")?a=a.replace("rgb(","rgba(").replace(")",", ".concat(t,")")):a.startsWith("rgba(")&&(a=a.replace(/,\s*[\d.]+\)/,", ".concat(t,")")));return{backgroundColor:a}})(e.cardBackground),children:[(null==(t=e.video)?void 0:t.src)&&""!==e.video.src.trim()&&(0,a.jsx)("div",{className:(0,r.$)("relative overflow-hidden",S(e.image.size,e.image.position)),children:(0,a.jsxs)("video",{className:z(e.image.size),autoPlay:null==(i=e.video.autoplay)||i,muted:null==(o=e.video.muted)||o,loop:null==(c=e.video.loop)||c,playsInline:!0,"aria-label":e.video.alt,children:[(0,a.jsx)("source",{src:e.video.src,type:"video/mp4"}),(0,a.jsx)("source",{src:e.video.src,type:"video/webm"}),(0,a.jsx)("source",{src:e.video.src,type:"video/ogg"}),"Your browser does not support the video tag."]})}),!e.video&&e.image.src&&""!==e.image.src.trim()&&(0,a.jsx)("div",{className:(0,r.$)("relative","xs"===e.image.size||"small"===e.image.size?"":"overflow-hidden",S(e.image.size,e.image.position)),children:"xs"===e.image.size||"small"===e.image.size?(0,a.jsx)(n.Image,{alt:e.image.alt,blurDataURL:e.image.blurDataUrl,className:z(e.image.size),width:"xs"===e.image.size?64:128,height:"xs"===e.image.size?64:128,placeholder:e.image.blurDataUrl?"blur":"empty",sizes:"xs"===e.image.size?"64px":"128px",src:e.image.src,priority:!0}):(0,a.jsx)(n.Image,{alt:e.image.alt,blurDataURL:e.image.blurDataUrl,className:z(e.image.size),fill:!0,placeholder:e.image.blurDataUrl?"blur":"empty",sizes:"(min-width: 1280px) 33vw, (min-width: 1024px) 50vw, 100vw",src:e.image.src,priority:!0})}),(0,a.jsxs)("div",{className:(0,r.$)("flex flex-1 flex-col",e.cardBackground?"mt-0":"mt-6","small"===j&&"p-4","medium"===j&&"p-6","large"===j&&"p-8"),children:[(0,a.jsx)("div",{className:(0,r.$)("w-full md:block hidden",y),children:(0,a.jsxs)("div",{className:"w-full",children:[e.heading&&(0,a.jsx)("h3",{className:(0,r.$)("mb-4 font-[family-name:var(--three-column-cards-heading-font-family,var(--font-family-heading))] leading-tight",N().heading,k().heading,I().heading,C(e.textColor).heading),dangerouslySetInnerHTML:{__html:e.heading}}),e.paragraph&&(0,a.jsx)("p",{className:(0,r.$)("mb-6 flex-1 font-[family-name:var(--three-column-cards-paragraph-font-family,var(--font-family-body))] leading-relaxed",N().paragraph,k().paragraph,I().paragraph,C(e.textColor).paragraph),dangerouslySetInnerHTML:{__html:e.paragraph}}
1),e.button&&(0,a.jsx)("div",{className:(0,r.$)("mt-auto",I().button),children:(0,a.jsx)(s.v,{className:"font-heading font-normal text-lg",href:e.button.href,size:null!=(d=e.button.size)?d:"medium",shape:null!=(u=e.button.shape)?u:"rounded",variant:null!=(m=e.button.variant)?m:"primary",children:e.button.label})})]})}),(0,a.jsxs)("div",{className:"w-full md:hidden",children:[e.heading&&(0,a.jsx)("h3",{className:(0,r.$)("mb-4 font-[family-name:var(--three-column-cards-heading-font-family,var(--font-family-heading))] leading-tight",N().heading,k().heading,I().heading,C(e.textColor).heading),dangerouslySetInnerHTML:{__html:e.heading}}),e.paragraph&&(0,a.jsx)("p",{className:(0,r.$)("mb-6 flex-1 font-[family-name:var(--three-column-cards-paragraph-font-family,var(--font-family-body))] leading-relaxed",N().paragraph,k().paragraph,I().paragraph,C(e.textColor).paragraph),dangerouslySetInnerHTML:{__html:e.paragraph}}),e.button&&(0,a.jsx)("div",{className:(0,r.$)("mt-auto",I().button),children:(0,a.jsx)(s.v,{className:"font-heading font-normal text-lg",href:e.button.href,size:null!=(x=e.button.size)?x:"medium",shape:null!=(h=e.button.shape)?h:"rounded",variant:null!=(g=e.button.variant)?g:"primary",children:e.button.label})})]})]})]},l)})})})})}},50524:(e,l,t)=>{t.d(l,{ImageContentBlock:()=>i});var a=t(11650),r=t(50633),s=t(73652),n=t(14703);function i(e){var l,t,i,o,c,d;let{image:u,video:m,content:x,layout:h,componentBackground:g,textColor:p="auto",headingSize:f="4xl",headingWeight:b="medium",paragraphSize:v="base",paragraphWeight:y="normal",containerStyle:j,contentStyle:w,height:N="500px",className:k}=e,I=()=>{let e={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl"};return{heading:e[f]||"text-4xl",paragraph:e[v]||"text-base"}},S=()=>{let e={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"};return{heading:e[b]||"font-medium",paragraph:e[y]||"font-normal"}},z=e=>{switch(e){case"1/3":return"w-full @lg:w-1/3";case"1/2":default:return"w-full @lg:w-1/2";case"2/3":return"w-full @lg:w-2/3"}},C=z(h.imageWidth),T=z(h.contentWidth),$=(()=>{switch(p){case"light":return{heading:"text-white",paragraph:"text-white/90"};case"dark":return{heading:"text-black",paragraph:"text-black/80"};default:return{heading:"text-[var(--image-content-block-heading,hsl(var(--foreground)))]",paragraph:"text-[var(--image-content-block-paragraph,hsl(var(--foreground)/80%))]"}}})();return(0,a.jsx)("section",{className:(0,r.$)("w-full",j,k),style:{...(()=>{if(!g)return{};let{color:e,opacity:l}=g,t=e;if(t.includes("hsl(")&&t.includes(" "))t=t.includes(" / ")?t.replace(/\/\s*[\d.]+/," / ".concat(l)):t.replace(")"," / ".concat(l,")"));else if(t.includes("hsl(")&&t.includes(","))t=t.includes(", 0.")?t.replace(/,\s*[\d.]+\)/,", ".concat(l,")")):t.replace(")",", ".concat(l,")"));else if(t.startsWith("#")){let e=t.replace("#","");if(6===e.length){let a=parseInt(e.substr(0,2),16),r=parseInt(e.substr(2,2),16),s=parseInt(e.substr(4,2),16);
1t="rgba(".concat(a,", ").concat(r,", ").concat(s,", ").concat(l,")")}else if(3===e.length){let a=parseInt(e[0]+e[0],16),r=parseInt(e[1]+e[1],16),s=parseInt(e[2]+e[2],16);t="rgba(".concat(a,", ").concat(r,", ").concat(s,", ").concat(l,")")}}else t.startsWith("rgb(")?t=t.replace("rgb(","rgba(").replace(")",", ".concat(l,")")):t.startsWith("rgba(")&&(t=t.replace(/,\s*[\d.]+\)/,", ".concat(l,")")));return{backgroundColor:t}})(),height:N},children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-2xl h-full @container",children:(0,a.jsxs)("div",{className:"flex flex-col @lg:flex-row @lg:items-center h-full",children:[(0,a.jsxs)("div",{className:(0,r.$)(C,"h-full","left"===h.imagePosition?"order-1 @lg:order-1":"order-1 @lg:order-2"),children:[(null==m?void 0:m.src)&&""!==m.src.trim()&&(0,a.jsx)("div",{className:"relative w-full h-full overflow-hidden",children:(0,a.jsxs)("video",{className:"h-full w-full object-cover",autoPlay:null==(l=m.autoplay)||l,muted:null==(t=m.muted)||t,loop:null==(i=m.loop)||i,playsInline:!0,"aria-label":m.alt,children:[(0,a.jsx)("source",{src:m.src,type:"video/mp4"}),(0,a.jsx)("source",{src:m.src,type:"video/webm"}),(0,a.jsx)("source",{src:m.src,type:"video/ogg"}),"Your browser does not support the video tag."]})}),!m&&u.src&&""!==u.src.trim()&&(0,a.jsx)("div",{className:"relative w-full h-full overflow-hidden",children:(0,a.jsx)(n.Image,{alt:u.alt,blurDataURL:u.blurDataUrl,className:"h-full w-full object-cover",fill:!0,placeholder:u.blurDataUrl?"blur":"empty",sizes:"(min-width: 1024px) 50vw, 100vw",src:u.src,priority:!0})})]}),(0,a.jsx)("div",{className:(0,r.$)(T,"left"===h.contentPosition?"order-2 @lg:order-1":"order-2 @lg:order-2",w),children:x&&(0,a.jsxs)("div",{className:"h-full p-6 @xl:p-8 @2xl:p-10",children:[x.heading&&(0,a.jsx)("h2",{className:(0,r.$)("mb-4 font-[family-name:var(--image-content-block-heading-font-family,var(--font-family-heading))] leading-tight",I().heading,S().heading,$.heading),dangerouslySetInnerHTML:{__html:x.heading}}),x.paragraph&&(0,a.jsx)("p",{className:(0,r.$)("mb-6 font-[family-name:var(--image-content-block-paragraph-font-family,var(--font-family-body))] leading-relaxed font-extralight",I().paragraph,S().paragraph,$.paragraph),dangerouslySetInnerHTML:{__html:x.paragraph}}),x.button&&(0,a.jsx)(s.v,{className:"font-heading font-normal text-lg",href:x.button.href,shape:null!=(o=x.button.shape)?o:"pill",size:null!=(c=x.button.size)?c:"large",variant:null!=(d=x.button.variant)?d:"primary",children:x.button.label})]})})]})})})}},53856:(e,l,t)=>{t.d(l,{CardsWithPillsSection:()=>s});var a=t(11650);t(78410);var r=t(50633);function s(e){let{backgroundType:l,backgroundColor:t,backgroundImage:s,cards:n,cardsPerRow:i=3,textColor:o="#ffffff",className:c}=e;return(0,a.jsxs)("section",{className:(0,r.$)("w-full relative py-10 @xl:py-14 @4xl:py-20",c),children:[(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full",children:(()=>{if("color"===l&&t)return(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full z-0",style:{backgroundColor:t}});if("image"===l&&(null==s?void 0:s.src)){let e="url('".concat(s.src,"')");return(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full z-0",style:{backgroundImage:e,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}})}return null})()}),(0,a.jsx)("div",{className:"relative z-1 mx-auto w-full max-w-screen-2xl px-4 @xl:px-6 @2xl:px-8",children:(0,a.jsx)("div",{className:(0,r.$)("grid gap-6 @lg:gap-8",(()=>{switch(i){case 2:return"grid-cols-1 @lg:grid-cols-2";case 3:default:return"grid-cols-1 @lg:grid-cols-3";case 4:return"grid-cols-1 @lg:grid-cols-3 @xl:grid-cols-4";case 5:return"grid-cols-1 @lg:grid-cols-3 @xl:grid-cols-4 @2xl:grid-cols-5"}})()),children:n&&n.map((e,l)=>(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("div",{className:"w-8 h-8 bg-red-600 rounded-full flex items-center justify-center",children:(0,a.jsx)("span",{className:"text-white font-bold text-sm",children:l+1})})}),(0,a.jsxs)("div",{className:(0,r.$)("rounded-lg p-6 transition-all flex-1",e.hasBackgroun
1d&&e.backgroundColor?"":e.hasBackground?"bg-white bg-opacity-10":"bg-gray-800 bg-opacity-90"),style:{backgroundColor:e.hasBackground?e.backgroundColor||"rgba(255, 255, 255, 0.1)":"rgba(31, 41, 55, 0.9)"},children:[e.heading&&(0,a.jsx)("h3",{className:"font-heading text-lg @lg:text-xl font-semibold mb-3",style:{color:o},dangerouslySetInnerHTML:{__html:e.heading}}),e.paragraph&&(0,a.jsx)("p",{className:"font-body text-sm @lg:text-base font-extralight leading-relaxed",style:{color:o,opacity:.9},dangerouslySetInnerHTML:{__html:e.paragraph}})]})]},l))})})]})}},54250:(e,l,t)=>{var a=t(11650),r=t(43773),s=t(50633),n=t(35263),i=t(88299),o=t(79637),c=t(53441);function d(e){let{products:l,className:t,colorScheme:r="light",aspectRatio:o="5:6",emptyStateTitle:d,emptyStateSubtitle:x,scrollbarLabel:h,previousLabel:g,nextLabel:p,placeholderCount:f=8,showButtons:b=!0,showScrollbar:v=!0,hideOverflow:y}=e;return(0,a.jsx)(n.Z6,{fallback:(0,a.jsx)(u,{hideOverflow:y,pending:!0,placeholderCount:f}),value:l,children:e=>0===e.length?(0,a.jsx)(m,{emptyStateSubtitle:x,emptyStateTitle:d,hideOverflow:y,placeholderCount:f}):(0,a.jsxs)(i.Carousel,{className:t,hideOverflow:y,children:[(0,a.jsx)(i.CarouselContent,{className:"mb-10",children:e.map(e=>(0,a.jsx)(i.CarouselItem,{className:"basis-[calc(100%-1rem)] @md:basis-[calc(50%-0.75rem)] @lg:basis-[calc(33%-0.5rem)] @2xl:basis-[calc(25%-0.25rem)]",children:(0,a.jsx)(c.ProductCardV1,{aspectRatio:o,colorScheme:r,imageSizes:"(min-width: 42rem) 25vw, (min-width: 32rem) 33vw, (min-width: 28rem) 50vw, 100vw",product:e})},e.id))}),(b||v)&&(0,a.jsxs)("div",{className:"mt-10 flex w-full items-center justify-between gap-8",children:[(0,a.jsx)(i.CarouselScrollbar,{className:(0,s.$)(!v&&"pointer-events-none invisible"),colorScheme:r,label:h}),(0,a.jsx)(i.CarouselButtons,{className:(0,s.$)(!b&&"pointer-events-none invisible"),colorScheme:r,nextLabel:p,previousLabel:g})]})]})})}function u(e){let{className:l,placeholderCount:t=8,pending:r=!1,hideOverflow:s}=e;return(0,a.jsxs)(i.Carousel,{className:l,"data-pending":r?"":void 0,hideOverflow:s,children:[(0,a.jsx)(i.CarouselContent,{className:"mb-10",children:Array.from({length:t}).map((e,l)=>(0,a.jsx)(i.CarouselItem,{className:"basis-full @md:basis-1/2 @lg:basis-1/3 @2xl:basis-1/4",children:(0,a.jsx)(o.ProductCardSkeleton,{})},l))}),(0,a.jsx)("div",{className:"h-6 w-56 animate-pulse bg-contrast-100"})]})}function m(e){let{className:l,placeholderCount:t=8,emptyStateTitle:r,emptyStateSubtitle:n,hideOverflow:c}=e;return(0,a.jsxs)(i.Carousel,{className:(0,s.$)("relative",l),hideOverflow:c,children:[(0,a.jsx)(i.CarouselContent,{className:(0,s.$)("mb-10 [mask-image:linear-gradient(to_bottom,_black_0%,_transparent_90%)]"),children:Array.from({length:t}).map((e,l)=>(0,a.jsx)(i.CarouselItem,{className:"basis-full @md:basis-1/2 @lg:basis-1/3 @2xl:basis-1/4",children:(0,a.jsx)(o.ProductCardSkeleton,{})},l))}),(0,a.jsx)("div",{className:"absolute inset-0 mx-auto px-3 py-16 pb-3 @4xl:px-10 @4xl:pb-10 @4xl:pt-28",children:(0,a.jsxs)("div",{className:"mx-auto max-w-xl space-y-2 text-center @4xl:space-y-3",children:[(0,a.jsx)("h3",{className:"@4x:leading-none font-heading text-2xl leading-tight text-foreground @4xl:text-4xl",children:r}),(0,a.jsx)("p",{className:"text-sm text-contrast-500 @4xl:text-lg",children:n})]})})]})}var x=t(27879),h=t(27570),g=t(42065);x.f.registerComponent(function(e){let{className:l,collection:t,limit:r,additionalProducts:s,hideOverflow:n,...i}=e,o=s.map(e=>{let{entityId:l}=e;return null!=l?l:""}),{products:c,isLoading:m}=(0,g.Q)({collection:t,collectionLimit:r,additionalProductIds:o});return m||null==c||0===c.length?(0,a.jsx)(u,{className:l,hideOverflow:n}):(0,a.jsx)(d,{...i,className:l,hideOverflow:n,products:c})},{type:"primitive-products-carousel",label:"Catalog / Products Carousel",icon:"carousel",props:{className:(0,r.Style)(),collection:(0,r.Select)({label:"Product collection",options:[{value:"none",label:"None (static only)"},{value:"best-selling",label:"Best selling"},{value:"newest",label:"Newest"},{value:"featured",label:"Featured"}],defaultValue:"best-selling"}),limit:(0,r.Number)({label:"Max collection items",defaultValue:12}),additionalProducts:(0,r.List)({label:"Additional products",type:(0,r.Group)({label:"Product",props:{title:(0,r.TextInput)({label:"Title",defaultValue:"Product title"}),entityId:(0,r.Combobox)({label:"Product",getOptions:async e=>(await (0,h.z)(e)).map(e=>({id:e.entityId.toString(),label:e.name,value:e.entityId.toString()}))})}}),getItemLabel:e=>(null==e?void 0:e.title)||"Product"}
1),aspectRatio:(0,r.Select)({label:"Aspect ratio",options:[{value:"1:1",label:"Square"},{value:"5:6",label:"5:6"},{value:"3:4",label:"3:4"}],defaultValue:"5:6"}),colorScheme:(0,r.Select)({label:"Text color scheme",options:[{value:"light",label:"Light"},{value:"dark",label:"Dark"}],defaultValue:"light"}),showScrollbar:(0,r.Checkbox)({label:"Show scrollbar",defaultValue:!0}),showButtons:(0,r.Checkbox)({label:"Show buttons",defaultValue:!0}),hideOverflow:(0,r.Checkbox)({label:"Hide overflow",defaultValue:!0})}})},63313:(e,l,t)=>{t.d(l,{PromotionalSection:()=>s});var a=t(11650);t(78410);var r=t(50633);function s(e){let{backgroundType:l,backgroundColor:t,overlayColor:s="hsl(0 0% 7%)",overlayOpacity:n=.6,heading:i,paragraph:o,icons:c,height:d="500px",mobileHeight:u,contentPosition:m="center",className:x}=e;return(0,a.jsx)("section",{className:(0,r.$)("w-full @container z-0",x),children:(0,a.jsxs)("div",{className:"relative overflow-hidden",style:{height:d,minHeight:"auto",...u&&{"--mobile-height":u}},children:[(0,a.jsxs)("div",{className:"absolute inset-0 w-full h-full",children:["color"===l&&t&&(0,a.jsx)("div",{className:"absolute inset-0 w-full h-full",style:{backgroundColor:t}}),(0,a.jsx)("div",{className:"absolute inset-0",style:{backgroundColor:s,opacity:n}})]}),(0,a.jsx)("div",{className:"relative z-10 flex flex-col justify-center h-full py-8 px-4",children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-2xl px-2",children:(0,a.jsxs)("div",{className:(0,r.$)("flex flex-col items-center text-center space-y-8","left"===m?"items-start text-left":"right"===m?"items-end text-right":"items-center text-center"),children:[(0,a.jsxs)("div",{className:"max-w-4xl",children:[i&&(0,a.jsx)("h2",{className:"mb-4 text-4xl font-medium leading-tight text-white",dangerouslySetInnerHTML:{__html:i}}),o&&(0,a.jsx)("p",{className:"mb-6 text-base font-normal leading-relaxed text-white/90",dangerouslySetInnerHTML:{__html:o}})]}),c&&c.length>0&&(0,a.jsx)("div",{className:"w-full max-w-6xl",children:(0,a.jsx)("div",{className:"flex flex-col @sm:flex-row justify-center items-center",style:{gap:c.length<=3?"2rem":c.length<=5?"1.5rem":"1rem"},children:c.slice(0,8).map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col items-center text-center space-y-3",style:{minWidth:c.length<=3?"200px":c.length<=5?"150px":"120px"},children:[e.icon&&e.icon.src&&(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)("img",{alt:e.icon.alt,className:"object-contain max-w-full h-auto",src:e.icon.src})}),e.pill&&(0,a.jsx)("div",{className:"bg-black text-white w-8 h-8 rounded-full text-xs font-medium mb-2 inline-flex items-center justify-center",children:e.pill}),e.text&&(0,a.jsx)("p",{className:"font-medium text-white leading-tight",style:{fontSize:c.length<=3?"1rem":"0.875rem",maxWidth:c.length<=3?"250px":"200px"},children:e.text})]},l))})})]})})})]})})}},65246:(e,l,t)=>{t.d(l,{GamingSection:()=>n});var a=t(11650),r=t(50633),s=t(73652);function n(e){var l,t,n,i;let{backgroundImage:o,video:c,title:d,subtitle:u,showButton:m=!0,buttonText:x,buttonLink:h,buttonVariant:g="primary",buttonSize:p="large",buttonShape:f="pill",mediaPaddingTop:b=0,mediaPaddingBottom:v=0,mediaPaddingLeft:y=0,mediaPaddingRight:j=0,headingSize:w="4xl",headingWeight:N="bold",headingPaddingTop:k=0,headingPaddingBottom:I=0,headingPaddingLeft:S=0,headingPaddingRight:z=0,paragraphSize:C="xl",paragraphWeight:T="light",paragraphPaddingTop:$=0,paragraphPaddingBottom:M=0,paragraphPaddingLeft:_=0,paragraphPaddingRight:L=0,className:P}=e;if(!d||!u)return console.warn("GamingSection: Missing required props",{title:!!d,subtitle:!!u}),null;if(m&&!x)return console.warn("GamingSection: Button is enabled but buttonText is missing"),null;let Y=o||{src:"",alt:""},D=c||{src:"",alt:""},R=()=>{let e={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl"};return{heading:e[w]||"text-4xl",paragraph:e[C]||"text-xl"}},W=()=>{let e={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"};return{heading:e[N]||"font-bold",paragraph:e[T]||"font-light"}},A=()=>{let e={},l={},t={};return k>0&&(e.paddingTop="".concat(k,"px")),I>0&&(e.paddingBottom="".concat(I,"px")),S>0&&(e.paddingLeft="".concat(S,"px")),z>0&&(e.paddingRight="".concat(z,"px")),$>0&&(l.paddingTop="".concat($,"px")),M>0&&(l.paddingBottom="".concat(M,"px")),_>0&&(l.paddingLeft="".concat(_,"px")),L>0&&(l.paddingRight="".concat(L,"px")),b>0&&(t.paddingTop="".concat(b,"px")),v>0&&(t.paddingBottom="".concat(v,"px")),y>0&&(t.paddingLeft="".concat(y,"px")),j>0&&(t.paddingRight="".concat(j,"px")),{heading:e,paragraph:l,media:t}};return(0,a.jsx)("section",{className:(0,r.$)("z-0 relative",P),id:"gaming",children:(0,a.jsx)("div",{className:(0,r.$)("py-12 px-6 md:py-20",Y.src?"bg-black bg-no-repeat bg-cover bg-center":"bg-gray-900"),style:{backgroundImage:Y.src?"url(".concat(Y.src,")"):void 0},children:(0,a.jsxs)("div",{className:"max-w-7xl mx-auto text-white md:text-gray-900",children:[(0,a.jsx)("div",{className:"visible lg:invisible lg:mb-0 mb-10 lg:h-0 h-auto",children:(0,a.jsx)("h4",{className:(0,r.$)("text-center lg:text-left text-white leading-snug font-heading",R().heading,W().heading),style:A().heading,dangerouslySetInnerHTML:{__html:d}})}),(0,a.jsxs)("div",{className:"lg:flex gap-5",children:[D.src&&(0,a.jsx)("div",{className:"w-full lg:w-3/5",style:A().media,children:(0,a.jsxs)("video",{id:"gaming-video",width:"100%",autoPlay:null==(l=D.autoplay)||l,loop:null==(t=D.loop)||t,muted:null==(n=D.muted)||n,playsInl
1ine:!0,className:"lg:mb-10","aria-label":D.alt||"Gaming video",preload:"metadata",onError:e=>{console.warn("GamingSection: Video failed to load",e)},onLoadStart:()=>{},onCanPlay:()=>{},children:[(0,a.jsx)("source",{src:D.src,type:"video/mp4"}),(0,a.jsx)("source",{src:D.src,type:"video/webm"}),(0,a.jsx)("source",{src:D.src,type:"video/ogg"}),"Your browser does not support the video tag."]})}),(0,a.jsxs)("div",{className:(0,r.$)("w-full",D.src?"lg:w-2/5":"lg:w-full"),children:[(0,a.jsx)("div",{className:"invisible lg:visible lg:h-auto h-10",children:(0,a.jsx)("h4",{className:(0,r.$)("text-center lg:text-left text-white leading-snug font-heading",R().heading,W().heading),style:A().heading,dangerouslySetInnerHTML:{__html:d}})}),(0,a.jsx)("p",{className:(0,r.$)("text-white mb-8 lg:mt-10 lg:text-left text-center",R().paragraph,W().paragraph),style:A().paragraph,dangerouslySetInnerHTML:{__html:u}}),m&&(0,a.jsx)(s.v,{href:null!=(i=null==h?void 0:h.href)?i:"#",variant:g,size:p,shape:f,className:"font-heading font-normal text-lg",children:m?x:"Default Button"})]})]})]})})})}},68543:(e,l,t)=>{t.d(l,{FullWidthImage:()=>i});var a=t(11650),r=t(50633),s=t(73652),n=t(14703);function i(e){var l,t,i,o,c,d;let{image:u,video:m,content:x,contentPosition:h="left",showContent:g=!0,textColor:p="auto",overlayColor:f="hsl(0 0% 7%)",overlayOpacity:b=.6,headingSize:v="4xl",headingWeight:y="medium",paragraphSize:j="base",paragraphWeight:w="normal",height:N="500px",containerStyle:k,contentStyle:I,className:S}=e,z=()=>{let e={xs:"text-xs",sm:"text-sm",base:"text-base",lg:"text-lg",xl:"text-xl","2xl":"text-2xl","3xl":"text-3xl","4xl":"text-4xl","5xl":"text-5xl","6xl":"text-6xl"};return{heading:e[v]||"text-4xl",paragraph:e[j]||"text-base"}},C=()=>{let e={light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold"};return{heading:e[y]||"font-medium",paragraph:e[w]||"font-normal"}},T=(()=>{switch(p){case"light":return{heading:"text-[var(--full-width-image-heading,hsl(var(--foreground)))] @lg:text-white",paragraph:"text-[var(--full-width-image-paragraph,hsl(var(--foreground)/80%))] @lg:text-white/90"};case"dark":return{heading:"text-[var(--full-width-image-heading,hsl(var(--foreground)))] @lg:text-black",paragraph:"text-[var(--full-width-image-paragraph,hsl(var(--foreground)/80%))] @lg:text-black/80"};default:return{heading:"text-[var(--full-width-image-heading,hsl(var(--foreground)))]",paragraph:"text-[var(--full-width-image-paragraph,hsl(var(--foreground)/80%))]"}}})();return(0,a.jsx)("section",{className:(0,r.$)("w-full @container z-0",k,S),children:(0,a.jsxs)("div",{className:"flex flex-col @lg:relative @lg:overflow-hidden",style:{height:N},children:[(0,a.jsxs)("div",{className:"relative w-full overflow-hidden @lg:absolute @lg:inset-0 @lg:h-full",style:{height:N},children:[(null==m?void 0:m.src)&&""!==m.src.trim()&&(0,a.jsxs)("video",{className:"h-full w-full object-cover",autoPlay:null==(l=m.autoplay)||l,muted:null==(t=m.muted)||t,loop:null==(i=m.loop)||i,playsInline:!0,"aria-label":m.alt,children:[(0,a.jsx)("source",{src:m.src,type:"video/mp4"}),(0,a.jsx)("source",{src:m.src,type:"video/webm"}),(0,a.jsx)("source",{src:m.src,type:"video/ogg"}),"Your browser does not support the video tag."]}),!m&&u.src&&""!==u.src.trim()&&(0,a.jsx)(n.Image,{alt:u.alt,blurDataURL:u.blurDataUrl,className:"h-full w-full object-cover",fill:!0,placeholder:u.blurDataUrl?"blur":"empty",priority:!0,sizes:"100vw",src:u.src}),g&&(0,a.jsx)("div",{className:"hidden @lg:block absolute inset-0",style:(()=>{let e=f;if(e.includes("hsl(")&&e.includes(" "))e=e.includes(" / ")?e.replace(/\/\s*[\d.]+/," / ".concat(b)):e.replace(")"," / ".concat(b,")"));else if(e.includes("hsl(")&&e.includes(","))e=e.includes(", 0.")?e.replace(/,\s*[\d.]+\)/,", ".concat(b,")")):e.replace(")",", ".concat(b,")"));else if(e.startsWith("#")){let l=e.replace("#","");if(6===l.length){let t=parseInt(l.substr(0,2),16),a=parseInt(l.substr(2,2),16),r=parseInt(l.substr(4,2),16);e="rgba(".concat(t,", ").concat(a,", ").concat(r,", ").concat(b,")")}else if(3===l.length){let t=parseInt(l[0]+l[0],16),a=parseInt(l[1]+l[1],16),r=parseInt(l[2]+l[2],16);e="rgba(".concat(t,", ").concat(a,", ").concat(r,", ").concat(b,")")}}else e=e.startsWith("rgb(")?e.replace("rgb(","rgba(").replace(")",", ".concat(b,")")):e.startsWith("rgba(")?e.replace(/,\s*[\d.]+\)/,", ".concat(b,")")):f;return{backgroundColor:e}})()})]}),x&&(0,a.jsx)("div",{className:(0,r.$)("flex flex-col justify-center py-6 px-4 @lg:absolute @lg:inset-0 @lg:z-10 @lg:h-full @xl:py-8 @xl:px-6 @2xl:py-10 @2xl:px-8",I),children:(0,a.jsx)("div",{className:"mx-auto w-full max-w-screen-2xl px-2 @lg:px-0 @xl:px-4 @4xl:px-6",children:(0,a.jsx)("div",{className:(0,r.$)("flex h-full items-center","left"===h?"justify-start":"right"===h?"justify-end":"justify-center"),children:(0,a.jsxs)("div",{className:(0,r.$)("py-6 px-4 @lg:p-0 @xl:py-8 @xl:px-6 @2xl:py-10 @2xl:px-8","center"===h?"w-full max-w-4xl mx-auto text-center":"w-full max-w-lg"),children:[x.heading&&(0,a.jsx)("h2",{className:(0,r.$)("mb-4 font-[family-name:var
1(--full-width-image-heading-font-family,var(--font-family-heading))] leading-tight",z().heading,C().heading,T.heading),dangerouslySetInnerHTML:{__html:x.heading}}),x.paragraph&&(0,a.jsx)("p",{className:(0,r.$)("mb-6 font-[family-name:var(--full-width-image-paragraph-font-family,var(--font-family-body))] leading-relaxed",z().paragraph,C().paragraph,T.paragraph),dangerouslySetInnerHTML:{__html:x.paragraph}}),x.button&&(0,a.jsx)("div",{className:(0,r.$)("center"===h?"flex justify-center":""),children:(0,a.jsx)(s.v,{className:"font-heading font-normal text-lg",href:x.button.href,shape:null!=(o=x.button.shape)?o:"pill",size:null!=(c=x.button.size)?c:"large",variant:null!=(d=x.button.variant)?d:"primary",children:x.button.label})})]})})})})]})})}},70885:(e,l,t)=>{var a=t(11650),r=t(43773),s=t(50633),n=t(35263),i=t(79637),o=t(39357),c=t(63387),d=t(34202);function u(e){let{products:l,className:t,colorScheme:r,aspectRatio:u,showCompare:h,compareAction:g,compareProducts:p,compareLabel:f,compareParamName:b,emptyStateTitle:v,emptyStateSubtitle:y,placeholderCount:j=6,showBanner:w=!0,emptyStateExtra:N}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z6,{fallback:(0,a.jsx)(m,{pending:!0,placeholderCount:j}),value:n.RE.all([l,f]),children:e=>{let[l,n]=e;return 0===l.length?(0,a.jsx)(x,{emptyStateSubtitle:y,emptyStateTitle:v,placeholderCount:j,emptyStateExtra:N}):(0,a.jsx)("div",{className:(0,s.$)("w-full @container",t),children:(0,a.jsx)("div",{className:"mx-auto grid grid-cols-1 gap-6 lg:grid-cols-2 xl:grid-cols-3",children:l.map((e,l)=>(0,a.jsxs)(a.Fragment,{children:[0===l&&w&&(0,a.jsxs)("div",{className:"flex flex-col justify-start rounded-2xl bg-[url('https://storage.googleapis.com/s.mkswft.com/RmlsZTo4ZjYzNjY5ZC1jOTE0LTQ0YmQtOGQ3Ni0zZDBhMzYwODQ1ZjM=/mrx-slm-lifestlye-newsletter.webp')] bg-black/40 bg-blend-multiply p-5 md:p-8 text-white shadow-lg object-center bg-cover bg-center",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-heading lg:text-5xl text-3xl font-normal leading-none lg:leading-tighter",children:"Transform the Sound in Any Space."}),(0,a.jsx)("p",{className:"mt-2 lg:text-lg text-base text-white font-light",children:"Learn about Anthem Room Correction (ARC) and how it transforms the sound in any space."})]}),(0,a.jsxs)("div",{className:"mt-6",children:[" ",(0,a.jsx)(c.Link,{href:"/anthem-arc",className:"mt-6",children:(0,a.jsx)(o.$,{variant:"primary",size:"small",shape:"rounded",children:"Explore Now"})})]})]},"banner"),(0,a.jsx)(i.ProductCard,{aspectRatio:u,colorScheme:r,compareLabel:n,compareParamName:b,imageSizes:"(min-width: 80rem) 40vw, (min-width: 64rem) 50vw, 100vw",product:e,showCompare:h},e.id)]}))})})}}),(0,a.jsx)(n.Z6,{value:n.RE.all([p,f]),children:e=>{let[l,t]=e;return l&&(0,a.jsx)(d.CompareDrawer,{action:g,items:l,paramName:b,submitLabel:t})}})]})}function m(e){let{className:l,placeholderCount:t=6,pending:r=!1}=e;return(0,a.jsx)("div",{className:(0,s.$)("w-full @container",l),"data-pending":r?"":void 0,children:(0,a.jsx)("div",{className:"mx-auto grid grid-cols-1 gap-6 lg:grid-cols-2 xl:grid-cols-3 gap-y-6",children:Array.from({length:t}).map((e,l)=>(0,a.jsx)(i.ProductCardSkeleton,{},l))})})}function x(e){let{className:l,placeholderCount:t=6,emptyStateTitle:r,emptyStateSubtitle:n,emptyStateExtra:o}=e;return(0,a.jsxs)("div",{className:(0,s.$)("relative w-full @container",l),children:[(0,a.jsx)("div",{className:(0,s.$)("mx-auto grid grid-cols-1 gap-x-4 gap-y-6 [mask-image:linear-gradient(to_bottom,_black_0%,_transparent_90%)] @sm:grid-cols-2 @2xl:grid-cols-3 @2xl:gap-x-5 @2xl:gap-y-8 @5xl:grid-cols-4 @7xl:grid-cols-5"),children:Array.from({length:t}).map((e,l)=>(0,a.jsx)(i.ProductCardSkeleton,{},l))}),(0,a.jsx)("div",{className:"absolute inset-0 mx-auto px-3 py-16 pb-3 @4xl:px-10 @4xl:pb-10 @4xl:pt-28",children:(0,a.jsxs)("div",{className:"mx-auto max-w-xl space-y-2 text-center @4xl:space-y-3",children:[(0,a.jsx)("h3",{className:"@4x:leading-none font-heading text-2xl leading-tight text-foreground @4xl:text-4xl",children:r}),(0,a.jsx)("p",{className:"text-sm text-contrast-500 @4xl:text-lg",children:n}),o]})})]})}var h=t(27879),g=t(27570),p=t(42065);h.f.registerComponent(function(e){let{className:l,collection:t,limit:r,additionalProducts:s,showBanner:n,bannerType:i,...o}=e,c=s.map(e=>{let{entityId:l}=e;return null!=l?l:""}),{products:d,isLoading:x}=(0,p.Q)({collection:t,collectionLimit:r,additionalProductIds:c});return x||null==d||0===d.length?(0,a.jsx)(m,{className:l}):(0,a.jsx)(u,{...o,className:l,products:d,showBanner:"true"===n,bannerType:i})},{type:"primitive-products-list",label:"Catalog / Products List",icon:"gallery",props:{className:(0,r.Style)(),collection:(0,r.Select)({label:"Product collection",options:[{value:"none",label:"None (static only)"},{value:"best-selling",label:"Best selling"},{value:"newest",label:"Newest"},{value:"featured",label:"Featured"}],defaultValue:"best-selling"}),limit:(0,r.Number)({label:"Max collection items",defaultValue:12}),additionalProducts:(0,r.List)({label:"Additional products",type:(0,r.Group)({label:"Product",props:{title:(0,r.TextInput)({label:"Title",defaultValue:"Product title"}),entityId:(0,r.Combobox)({label:"Product",getOptions:async e=>(await (0,g.z)(e)).map(e=>({id:e.entityId.toString(),label:e.name,value:e.entityId.toString()}))})}}),getItemLabel:e=>(null==e?void 0:e.title)||"Product Title"}
1),aspectRatio:(0,r.Select)({label:"Aspect ratio",options:[{value:"1:1",label:"Square"},{value:"5:6",label:"5:6"},{value:"3:4",label:"3:4"}],defaultValue:"5:6"}),colorScheme:(0,r.Select)({label:"Text Color Scheme",options:[{value:"light",label:"Light"},{value:"dark",label:"Dark"}],defaultValue:"light"}),showBanner:(0,r.Select)({label:"Show Banner",options:[{value:"true",label:"Yes"},{value:"false",label:"No"}],defaultValue:"false"}),bannerType:(0,r.Select)({label:"Banner Type",options:[{value:"default",label:"Default Banner"},{value:"shop-page-1",label:"Shop Page 1 Banner"},{value:"shop-page-2",label:"Shop Page 2 Banner"}],defaultValue:"default"})}})},73652:(e,l,t)=>{t.d(l,{v:()=>n});var a=t(11650),r=t(50633),s=t(63387);function n(e){let{variant:l="primary",size:t="large",shape:n="rounded",href:i,className:o,children:c,...d}=e;return(0,a.jsx)(s.Link,{...d,className:(0,r.$)("relative z-0 inline-flex h-fit select-none items-center justify-center overflow-hidden border text-center font-[family-name:var(--button-font-family)] font-normal font-heading leading-normal after:absolute after:inset-0 after:-z-10 after:-translate-x-[105%] after:transition-[opacity,transform] after:duration-300 after:[animation-timing-function:cubic-bezier(0,0.25,0,1)] hover:after:translate-x-0 focus-visible:outline-none focus-visible:ring-2",{primary:"border-[var(--button-primary-border,hsl(var(--primary)))] bg-[var(--button-primary-background,hsl(var(--primary)))] text-[var(--button-primary-foreground)] after:bg-[var(--button-primary-background-hover,color-mix(in_oklab,hsl(var(--primary)),white_75%))]",secondary:"border-[var(--button-secondary-border,hsl(var(--foreground)))] bg-[var(--button-secondary-background,hsl(var(--foreground)))] text-[var(--button-secondary-foreground,hsl(var(--background)))] after:bg-[var(--button-secondary-background-hover,hsl(var(--background)))]",tertiary:"border-[var(--button-tertiary-border,hsl(var(--contrast-200)))] bg-[var(--button-tertiary-background,hsl(var(--background)))] text-[var(--button-tertiary-foreground,hsl(var(--foreground)))] after:bg-[var(--button-tertiary-background-hover,hsl(var(--contrast-100)))]",ghost:"border-[var(--button-ghost-border,transparent)] bg-[var(--button-ghost-background,transparent)] text-[var(--button-ghost-foreground,hsl(var(--foreground)))] after:bg-[var(--button-ghost-background-hover,hsl(var(--foreground)/5%))]"}[l],{"x-small":"min-h-8 text-xs",small:"min-h-10 text-sm",medium:"min-h-12 text-xl",large:"min-h-14 text-xl"}[t],"circle"!==n&&({"x-small":"gap-x-2 px-3 py-1.5",small:"gap-x-2 px-4 py-2.5",medium:"gap-x-2.5 px-5 py-3",large:"gap-x-3 px-6 py-4"})[t],{pill:"rounded-full after:rounded-full",rounded:"rounded-lg after:rounded-lg",square:"rounded-none after:rounded-none",circle:"aspect-square rounded-full after:rounded-full"}[n],o),href:i,children:(0,a.jsx)("span",{className:(0,r.$)("secondary"===l&&"mix-blend-difference"),children:c})})}},75150:(e,l,t)=>{t.r(l);var a=t(11650),r=t(43773),s=t(1357),n=t(27879),i=t(89611),o=t(79637),c=t(27570);n.f.registerComponent(function(e){let{className:l,entityId:t,badge:r,...n}=e,c=(0,i.$)(),{data:d,isLoading:u}=(0,s.Ay)(t?"/api/products/".concat(t):null,async e=>fetch(e).then(e=>e.json()).then(i.Q.parse));if(null==t||u||null==d)return(0,a.jsx)(o.ProductCardSkeleton,{className:l});let m=c(d);return(0,a.jsx)(o.ProductCard,{className:l,product:{...m,badge:r.show?r.text:void 0},...n})},{type:"catalog-product-card",label:"Catalog / Product Card",props:{className:(0,r.Style)(),entityId:(0,r.Combobox)({label:"Product",getOptions:async e=>(await (0,c.z)(e)).map(e=>({id:e.entityId.toString(),label:e.name,value:e.entityId.toString()}))}),aspectRatio:(0,r.Select)({label:"Image aspect ratio",options:[{value:"1:1",label:"Square"},{value:"5:6",label:"5:6"},{value:"3:4",label:"3:4"}],defaultValue:"5:6"}),colorScheme:(0,r.Select)({label:"Color scheme",options:[{value:"light",label:"Light"},{value:"dark",label:"Dark"}],defaultValue:"light"}),badge:(0,r.Group)({label:"Badge",props:{show:(0,r.Checkbox)({label:"Show badge",defaultValue:!0}),text:(0,r.TextInput)({label:"Badge text",defaultValue:"New"})}}),showCompare:(0,r.Checkbox)({label:"Show compare",defaultValue:!0})}})},89611:(e,l,t)=>{t.d(l,{Q:()=>u,$:()=>m});var a=t(16759),r=t(58628);let s=[{series:"AVM Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZTphNTY3YmNlMy0xNDJmLTQ4NjUtOWQ0OC1jNDEwZDQ5MjUxMGI=/shutterstock_1921725935-avm.png"},{series:"MRX Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZToyNzk0MmVlMy0yMjk2LTRiZmItYTQwZC1lNGFkZjVkOWZiYmQ=/shutterstock_1921725935-mrx.png"},{series:"STR Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZTpmYTVmZTcxYS1lYzZiLTRhZTItYWJhNi1hMGQzMjBkNzUyMmU=/shutterstock_1921725935-pre-amplifier.png"},{series:"MDX Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZTpkMTMwMjhkZC0yZDAxLTQ0M2QtOTk4Yi0zN2Q0ODcxMWYwNWY=/shutterstock_1921725935-mdx.png"},{series:"Statement P Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZTplZjNkYzczMy1lYzEyLTRjNjEtODIzZS04MGZhMzE4M2MzNzA=/shutterstock_1921725935-integrated-amp.png"},{series:"Statement M Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZTplZjNkYzczMy1lYzEyLTRjNjEtODIzZS04MGZhMzE4M2MzNzA=/shutterstock_1921725935-integrated-amp.png"},{series:"MCA Series",img:"https://storage.googleapis.com/s.mkswft.com/RmlsZTpiNzE4NjM4OC1mYmRhLTQwNWUtYTg3MC1hMzBiOTBmZjZhNjM=/shutterstock_1921725935-mca-str-power-amp.png"}],n=r.Ik({value:r.ai(),currencyCode:r.Yj()}),i=r.Ik({entityId:r.ai(),name:r.Yj(),path:r.Yj()}),o=r.Ik({id:r.Yj(),key:r.Yj(),value:r.Yj()}),c=r.Ik({entityId:r.ai(),name:r.Yj(),value:r.Yj()}),d=r.Ik({price:n,basePrice:n.nullable(),retailPrice:n.nullable(),salePrice:n.nullable(),priceRange:r.Ik({min:n,max:n})}),u=r.Ik({entityId:r.ai(),name:r.Yj(),defaultImage:r.Ik({altText:r.Yj(),url:(0,r.Yj)()}).nullable(),brand:r.Ik({name:r.Yj(),path:r.Yj()}).nullable(),path:r.Yj(),prices:d,specsJsonMetafields:r.Ik({edges:r.YO(r.Ik({node:o}))}).nullable(),supportJsonMetafields:r.Ik({edges:r.YO(r.Ik({node:o}))}).nullable(),categories:r.Ik({edges:r.YO(r.Ik({node:i}
1))}).nullable(),customFields:r.Ik({edges:r.YO(r.Ik({node:c}))}).nullable()});function m(){let e=(0,a.useFormatter)();return l=>{var t,a,r,n,i,o,c;let{entityId:d,name:u,defaultImage:m,brand:x,path:h,prices:g,specsJsonMetafields:p,supportJsonMetafields:f,categories:b,customFields:v}=l,y=((e,l)=>{var t,a;if(!e)return;let r=e.priceRange.min.value!==e.priceRange.max.value,s=(null==(t=e.salePrice)?void 0:t.value)!==(null==(a=e.basePrice)?void 0:a.value);return r?{type:"range",minValue:l.number(e.priceRange.min.value,{style:"currency",currency:e.price.currencyCode}),maxValue:l.number(e.priceRange.max.value,{style:"currency",currency:e.price.currencyCode})}:s&&e.salePrice&&e.basePrice?{type:"sale",previousValue:l.number(e.basePrice.value,{style:"currency",currency:e.price.currencyCode}),currentValue:l.number(e.price.value,{style:"currency",currency:e.price.currencyCode})}:l.number(e.price.value,{style:"currency",currency:e.price.currencyCode})})(g,e),j=null!=(r=null==b?void 0:b.edges.map(e=>({...e.node,entityId:e.node.entityId.toString()})))?r:[],w=[...null!=(n=null==p?void 0:p.edges.map(e=>e.node))?n:[],...null!=(i=null==f?void 0:f.edges.map(e=>e.node))?i:[]],N=null!=(o=null==v?void 0:v.edges.map(e=>({...e.node,entityId:e.node.entityId.toString()})))?o:[],k=null==v||null==(t=v.edges.find(e=>"ProductSeries"===e.node.name))?void 0:t.node.value,I=null!=(c=null==(a=s.find(e=>e.series===k))?void 0:a.img)?c:null;return{id:d.toString(),title:u,href:h,image:m?{src:m.url,alt:m.altText}:void 0,price:y,subtitle:null==x?void 0:x.name,categories:j,metafields:w,customFields:N,bgImage:I,series:k,isFeatured:!1}}}}}]);

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.