"use strict";(self.webpackChunk_stlite_desktop=self.webpackChunk_stlite_desktop||[]).push([[5299],{48689:(t,a,e)=>{e.d(a,{K:()=>s});var n=e(5057),i=e(53627);const o=n.createContext(null);var r=e(96266);const s=t=>{var a;let{children:e}=t;const s=null===(a=(0,n.useContext)(o))||void 0===a?void 0:a();return s?(0,i.createPortal)(e,s):(0,r.jsx)(r.Fragment,{children:e})}},62817:(t,a,e)=>{e.r(a),e.d(a,{NUM_BALLOONS:()=>x,default:()=>P});var n=e(5057);const i=e.p+"static/media/balloon-0.0e6e96ece0ea0719d6b6.png",o=e.p+"static/media/balloon-1.a503c271109e9a0fdd2d.png",r=e.p+"static/media/balloon-2.872250f3bf3a8965d655.png",s=e.p+"static/media/balloon-3.e772fafd3bfc55fb439b.png",l=e.p+"static/media/balloon-4.1a74162473d81c9cb9ee.png",c=e.p+"static/media/balloon-5.edb75c74c54165b29856.png";var d=e(49441),m=e(48689),p=e(82160),u=e(21371);const f=u.F4`
  from {
    transform: translateY(calc(100vh + ${300}px));
  }

  to {
    transform: translateY(0);
  }
`,b=(0,p.Z)("img",{target:"earwcwy0"})((t=>{let{theme:a}=t;return{position:"fixed",top:"-300px",marginLeft:"-60.5px",zIndex:a.zIndices.balloons,left:60*Math.random()+20+"vw",animationDelay:1e3*Math.random()+"ms",height:"300px",width:"121px",pointerEvents:"none",animationDuration:"750ms",animationName:f,animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:1,opacity:1}}),"");var h=e(96266);const x=30,g=[i,o,r,s,l,c],v=g.length,y=t=>{let{particleType:a}=t;return(0,h.jsx)(b,{src:g[a]})},C=t=>{let{scriptRunId:a}=t;return(0,h.jsx)(m.K,{children:(0,h.jsx)(d.Z,{className:"stBalloons","data-testid":"stBalloons",scriptRunId:a,numParticleTypes:v,numParticles:x,ParticleComponent:y})})},P=(0,n.memo)(C)},49441:(t,a,e)=>{e.d(a,{Z:()=>c});var n=e(5057),i=e(66904),o=e.n(i);const r=(0,e(82160).Z)("div",{target:"ecnfqzf0"})((()=>({"@media print":{display:"none"}})),"");var s=e(96266);const l=t=>{let{className:a,scriptRunId:e,numParticles:n,numParticleTypes:i,ParticleComponent:l}=t;return(0,s.jsx)(r,{className:a,"data-testid":a,children:o()(n).map((t=>{const a=Math.floor(Math.random()*i);return(0,s.jsx)(l,{particleType:a},e+t)}))})},c=(0,n.memo)(l)}}]);