You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.5 KiB
1 line
3.5 KiB
{"version":3,"sources":["webpack:///./node_modules/matrix-react-sdk/src/effects/confetti/index.ts"],"names":["DefaultOptions","maxCount","speed","frameInterval","alpha","gradient","Confetti","constructor","options","window","requestAnimationFrame","Date","now","async","canvas","timeout","this","context","getContext","particles","count","length","push","resetParticle","width","height","isRunning","runAnimation","setTimeout","stop","particle","color","colors","Math","random","color2","x","y","diameter","tilt","tiltAngleIncrement","tiltAngle","PI","clearRect","delta","lastFrameTime","supportsAnimationFrame","updateParticles","drawParticles","x2","y2","beginPath","lineWidth","createLinearGradient","addColorStop","strokeStyle","moveTo","lineTo","stroke","waveAngle","i","sin","cos","splice"],"mappings":"8wBAoDO,MAAMA,EAAkC,CAC3CC,SAAU,IACVC,MAAO,EACPC,cAAe,GACfC,MAAO,EACPC,UAAU,GAGC,MAAMC,EAGjBC,YAAYC,GAAiC,8CAIM,MAJN,kCAKZC,OAAOC,uBALK,kBAM5B,CAAC,mBAAoB,mBAAoB,kBACtD,oBAAqB,mBAAoB,oBACzC,oBAAqB,oBAAqB,mBAC1C,mBAAoB,mBAAoB,oBATC,yBAWrBC,KAAKC,OAXgB,qBAYA,IAZA,qBAazB,GAbyB,8CAiB9BC,MAAOC,EAA2BC,EAAU,OACvD,IAAKD,EACD,OAEJE,KAAKC,QAAUH,EAAOI,WAAW,MACjCF,KAAKG,UAAY,GACjB,MAAMC,EAAQJ,KAAKR,QAAQP,SAC3B,KAAOe,KAAKG,UAAUE,OAASD,GAC3BJ,KAAKG,UAAUG,KAAKN,KAAKO,cAAc,GAAwBT,EAAOU,MAAOV,EAAOW,SAExFT,KAAKU,WAAY,EACjBV,KAAKW,eACDZ,GACAN,OAAOmB,WAAWZ,KAAKa,KAAMd,KA9BQ,gBAkC/BF,UACVG,KAAKU,WAAY,IAnCwB,yBAsCrB,CAACI,EAA4BN,EAAeC,KAChEK,EAASC,MAAQf,K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