"use strict";(self.webpackChunk_stlite_desktop=self.webpackChunk_stlite_desktop||[]).push([[4482],{48689:(t,e,n)=>{n.d(e,{K:()=>s});var a=n(5057),r=n(53627);const i=a.createContext(null);var o=n(96266);const s=t=>{var e;let{children:n}=t;const s=null===(e=(0,a.useContext)(i))||void 0===e?void 0:e();return s?(0,r.createPortal)(n,s):(0,o.jsx)(o.Fragment,{children:n})}},49441:(t,e,n)=>{n.d(e,{Z:()=>l});var a=n(5057),r=n(66904),i=n.n(r);const o=(0,n(82160).Z)("div",{target:"ecnfqzf0"})((()=>({"@media print":{display:"none"}})),"");var s=n(96266);const c=t=>{let{className:e,scriptRunId:n,numParticles:a,numParticleTypes:r,ParticleComponent:c}=t;return(0,s.jsx)(o,{className:e,"data-testid":e,children:i()(a).map((t=>{const e=Math.floor(Math.random()*r);return(0,s.jsx)(c,{particleType:e},n+t)}))})},l=(0,a.memo)(c)},48833:(t,e,n)=>{n.r(e),n.d(e,{NUM_FLAKES:()=>f,default:()=>k});var a=n(5057);const r=n.p+"static/media/flake-0.beded754e8024c73d9d2.png",i=n.p+"static/media/flake-1.8077dc154e0bf900aa73.png",o=n.p+"static/media/flake-2.e3f07d06933dd0e84c24.png";var s=n(49441),c=n(48689),l=n(82160),d=n(21371);const m=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Math.random()*(t-e)+e},p=(0,l.Z)("img",{target:"ekdfb790"})((t=>{let{theme:e}=t;return{position:"fixed",top:"-150px",marginLeft:"-75px",zIndex:e.zIndices.balloons,left:`${m(90,10)}vw`,animationDelay:`${m(4e3)}ms`,height:"150px",width:"150px",pointerEvents:"none",animationDuration:"3000ms",animationName:d.F4`
  from {
    transform:
      translateY(0)
      rotateX(${m(360)}deg)
      rotateY(${m(360)}deg)
      rotateZ(${m(360)}deg);
  }

  to {
    transform:
      translateY(calc(100vh + ${150}px))
      rotateX(0)
      rotateY(0)
      rotateZ(0);
  }
`,animationTimingFunction:"ease-in",animationDirection:"normal",animationIterationCount:1,opacity:1}}),"");var u=n(96266);const f=100,h=[r,i,o],g=h.length,v=t=>{let{particleType:e}=t;return(0,u.jsx)(p,{src:h[e]})},x=function(t){let{scriptRunId:e}=t;return(0,u.jsx)(c.K,{children:(0,u.jsx)(s.Z,{className:"stSnow","data-testid":"stSnow",scriptRunId:e,numParticleTypes:g,numParticles:f,ParticleComponent:v})})},k=(0,a.memo)(x)}}]);