import{o as e}from"./chunk.DuxOD-Sk.js";import{r as t}from"./emotion-is-prop-valid.esm.DV_OErv-.js";import{c as n,o as r,t as i}from"./emotion-styled.browser.esm.BPUx6WuE.js";import{t as a}from"./UriUtil.B2jDpauP.js";import{n as o,t as s}from"./Particles.C1r5kkxp.js";var c=e(t()),l=``+new URL(`../media/balloon-0.Czj7AKwE.png`,import.meta.url).href,u=``+new URL(`../media/balloon-1.CNvFFrND.png`,import.meta.url).href,d=``+new URL(`../media/balloon-2.DTvC6B1t.png`,import.meta.url).href,f=``+new URL(`../media/balloon-3.CgSk4tbL.png`,import.meta.url).href,p=``+new URL(`../media/balloon-4.mbtFrzxf.png`,import.meta.url).href,m=``+new URL(`../media/balloon-5.CSwkUfRA.png`,import.meta.url).href,h=300,g=121,_=20,v=80,y=1e3,b=r(`from{transform:translateY(calc(100vh + `,h,`px));}to{transform:translateY(0);}`),x=i(`img`,{target:`e19msdho0`})(({theme:e})=>({position:`fixed`,top:`${-h}px`,marginLeft:`${-g/2}px`,zIndex:e.zIndices.balloons,left:`${Math.random()*(v-_)+_}vw`,animationDelay:`${Math.random()*y}ms`,height:`${h}px`,width:`${g}px`,pointerEvents:`none`,animationDuration:`750ms`,animationName:b,animationTimingFunction:`ease-in`,animationDirection:`normal`,animationIterationCount:1,opacity:1})),S=30,C=[l,u,d,f,p,m],w=C.length,T=({particleType:e,resourceCrossOriginMode:t})=>{let r=C[e];return n(x,{src:r,crossOrigin:a(t,r)})},E=(0,c.memo)(({scriptRunId:e})=>n(o,{children:n(s,{className:`stBalloons`,"data-testid":`stBalloons`,scriptRunId:e,numParticleTypes:w,numParticles:30,ParticleComponent:T})}));export{S as NUM_BALLOONS,E as default};