1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RiveWrapper-C3Rhittt.js","assets/chunk-62JRHF6Z-D3Q3NlnB.js","assets/jsx-runtime-Cvx0fZjB.js","assets/utils-CzNcCjKH.js","assets/Wrapper-Dc1QKEQT.js","assets/I18N-Dmrpgl_s.js","assets/documentInlineStylesheet-D3gcTLE2.js","assets/RiveWrapper-CNX4T-6L.css"])))=>i.map(i=>d[i]); 2import{I as e,M as t,N as n}from"./chunk-62JRHF6Z-D3Q3NlnB.js";import{t as r}from"./jsx-runtime-Cvx0fZjB.js";import{E as i,O as a,_ as o,b as s,j as c,m as l,v as u}from"./Wrapper-Dc1QKEQT.js";import{_ as d}from"./I18N-Dmrpgl_s.js";import{t as f}from"./useIntersectionObserver-BJKJFJod.js";import{d as p,t as m}from"./utils-CzNcCjKH.js";import{n as h}from"./utils-DMM2D35p.js";var g=r(),_=e(o(),1),v=e(n(),1),y=e=>{let[t,n]=(0,v.useState)(null);return(0,v.useEffect)(()=>{let t=window.matchMedia(e),r=()=>n(t.matches);return r(),t.addListener?t.addListener(r):t.addEventListener(`change`,r),()=>{t.removeListener?t.removeListener(r):t.removeEventListener(`change`,r)}},[e]),t},b=a(``,{variants:{radius:{top:`rounded-t-4xl md:rounded-t-5xl`,bottom:`rounded-b-4xl md:rounded-b-5xl`,both:`rounded-4xl md:rounded-5xl`,none:``}},defaultVariants:{radius:`none`}});function x({bottomSpacing:e=`2xl`,children:t,className:n=``,mode:r=`dark`,topSpacing:i=`2xl`,radius:a=`none`,...o}){return(0,g.jsx)(l,{className:c(b({radius:a}),n),mode:r,...o,topSpacing:i,bottomSpacing:e,children:t})}var S=new Set([`alt`,`crossOrigin`,`decoding`,`height`,`loading`,`referrerPolicy`,`sizes`,`src`,`srcSet`,`useMap`,`width`,`className`,`id`,`style`,`title`,`tabIndex`,`role`,`aria-label`,`aria-labelledby`,`aria-hidden`,`aria-role`,`aria-controls`,`aria-expanded`]);function C(e){let t={};for(let n in e)S.has(n)&&(t[n]=e[n]);return t}function w({alt:e=``,decoding:t=`async`,fetchPriority:n,height:r,loading:i=`lazy`,sizes:a,src:o,srcSet:s,srcSetOptions:c={intervals:15,startingWidth:200,incrementSize:200},width:l,...u}){let{searchParams:d}=new URL(o,`https://www.shopify.com`),f=d?.get(`originalWidth`),p=d?.get(`originalHeight`),m=parseInt(f||`0`,10)||0,h=parseInt(p||`0`,10)||0,{intervals:_,startingWidth:y,incrementSize:b}=c,x=(0,v.useMemo)(()=>{let e=[];for(let t=0;t<_;t++){let n=t*b+y;n<m?e.push(n):t=_}return e},[_,y,b,m]),S=(0,v.useMemo)(()=>x.map(e=>`${o}&width=${e} ${e}w`).join(`, `),[x,o]),w=C(u);return f&&p&&m&&h&&o?(0,g.jsx)(`img`,{...w,src:o,alt:e,loading:i,decoding:t,width:l||m,height:r||h,srcSet:s||S||void 0,sizes:a||void 0,fetchpriority:n}):null}function T(e,t,n,r,i,a){if(!e)return!1;let o=r&&i;return t&&n?a||!o:t&&!n?a:!t&&n?!o:!1}function E({alt:e=``,aspectRatio:n=`4/3`,assetMap:r,bottomEdgeFade:a=!1,className:o,componentName:s,containerClassName:l,isPaused:u,interactiveStateMachines:d,maxWidth:h=1800,onStateChange:b,onLoadError:x,posterImage:S,rootMargin:C=`50% 0%`,role:E,src:D,shouldReset:O=!0,stateMachines:k,artboard:A,style:j,textRunMap:M,isMobileInteractive:N,input:P,usePosterImageForReducedMotion:F=!0,showPosterImageBeforeLoaded:I=!0,autoBind:L=!1,viewModelOptions:R}){let z=(0,v.useRef)(null),[B,V]=(0,v.useState)(!1),[H,U]=(0,v.useState)(!1),[W,G]=(0,v.useState)(!1),[K,q]=(0,v.useState)(r===void 0),J=y(`(max-width: 767px)`),Y=p(!1),X=(0,v.useRef)(null),Z=X.current,Q=(0,v.useCallback)(()=>{X.current=i(()=>t(()=>import(`./RiveWrapper-C3Rhittt.js`),__vite__mapDeps([0,1,2,3,4,5,6,7])))},[]);f(z,(0,v.useCallback)(([e],t)=>{!B&&e.isIntersecting&&(V(!0),Q(),t.unobserve(e.target))},[Q,B]),(0,v.useMemo)(()=>({rootMargin:C}),[C])),(0,v.useEffect)(()=>{if(!B||!r)return;let e=Object.values(r).filter(e=>!!e.url).map(e=>m(e.isFont?e.url:`${e.url}&width=${h}`,e.isFont).then(t=>{t&&(e.isFont?e.font=t:e.image=t)}));Promise.all(e).then(()=>q(!0))},[r,B,q,h]);let $=T(S,F,I,K,W,Y),ee=(0,v.useCallback)(()=>{G(!0)},[]),te=(0,v.useCallback)(e=>{x?.(e)},[x]);return(0,g.jsxs)(`div`,{className:c(`relative`,l),"data-component-name":s,"data-nosnippet":!0,ref:z,style:{aspectRatio:n||`auto`,...j},children:[B&&K&&Z&&(0,g.jsx)(Z,{shouldReset:O,alt:e,assetMap:r,className:c((0,_.default)({"motion-reduce:opacity-0":S&&!H||F&&Y}),o),isInteractive:!!d&&(J?N:!0),bottomEdgeFade:a,isPaused:u,onPlay:()=>U(!0),onRiveReady:ee,onLoadError:te,onStateChange:b,role:E,src:D,stateMachines:J?N?d:k:d||k,artboard:A,textRunMap:M,input:P,autoBind:L,viewModelOptions:R}),$&&S&&(0,g.jsx)(w,{...S,className:(0,_.default)(`size-full object-contain absolute top-0 left-0 pointer-events-none`,{"opacity-0":K&&W&&H&&!(F&&Y)})})]})}function D({headingAs:e=`h3`,className:t,headingClassName:n,headingHtml:r,id:i,rive:a,kicker:o,kickerClassName:l,size:f=`t3`,subheadClassName:p,subheadHtml:m,subheadSize:_=`body-lg`}){let{site:v}=d(),{languageCode:y}=v;return(0,g.jsxs)(`div`,{className:c(`pb-xl`,t),children:[o&&(0,g.jsx)(u,{className:c(`text-t7 font-normal normal-case text-cyan mb-sm`,l),children:o}),r&&(0,g.jsx)(s,{size:f,as:e,className:n,id:i,children:y===`en`?h(r.toString()):r}),a&&(0,g.jsx)(E,{containerClassName:`inline-block -mb-0.5 h-4 ml-1 w-4 md:h-6 md:ml-2 md:w-6`,...a,usePosterImageForReducedMotion:!0,showPosterImageBeforeLo
2aded:!1}),m&&(0,g.jsx)(s,{className:p,size:_,children:m})]})}export{y as a,x as i,E as n,w as r,D as t}; 3//# sourceMappingURL=HeadingGroup-BbAVhMiB.js.map
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.