UNPKG

tsparticles

Version:

Full-featured tsParticles bundle — create stunning particle, confetti and fireworks animations with all official plugins and presets included. Ready to use components available for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inf

2 lines (1 loc) • 4.5 kB
!function(s){s.__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.bundles=s.__tsParticlesInternals.bundles||{},s.__tsParticlesInternals.effects=s.__tsParticlesInternals.effects||{},s.__tsParticlesInternals.engine=s.__tsParticlesInternals.engine||{},s.__tsParticlesInternals.interactions=s.__tsParticlesInternals.interactions||{},s.__tsParticlesInternals.palettes=s.__tsParticlesInternals.palettes||{},s.__tsParticlesInternals.paths=s.__tsParticlesInternals.paths||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins=s.__tsParticlesInternals.plugins||{},s.__tsParticlesInternals.plugins.emittersShapes=s.__tsParticlesInternals.plugins.emittersShapes||{},s.__tsParticlesInternals.presets=s.__tsParticlesInternals.presets||{},s.__tsParticlesInternals.shapes=s.__tsParticlesInternals.shapes||{},s.__tsParticlesInternals.updaters=s.__tsParticlesInternals.updaters||{},s.__tsParticlesInternals.utils=s.__tsParticlesInternals.utils||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas=s.__tsParticlesInternals.canvas||{},s.__tsParticlesInternals.canvas.utils=s.__tsParticlesInternals.canvas.utils||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path=s.__tsParticlesInternals.path||{},s.__tsParticlesInternals.path.utils=s.__tsParticlesInternals.path.utils||{};var t="undefined"!=typeof Proxy?function(s){return new Proxy(s,{get:function(s,t){return t in s||(s[t]={}),s[t]}})}:function(s){return s};s.__tsParticlesInternals.bundles=t(s.__tsParticlesInternals.bundles),s.__tsParticlesInternals.effects=t(s.__tsParticlesInternals.effects),s.__tsParticlesInternals.interactions=t(s.__tsParticlesInternals.interactions),s.__tsParticlesInternals.palettes=t(s.__tsParticlesInternals.palettes),s.__tsParticlesInternals.paths=t(s.__tsParticlesInternals.paths),s.__tsParticlesInternals.plugins=t(s.__tsParticlesInternals.plugins),s.__tsParticlesInternals.plugins.emittersShapes=t(s.__tsParticlesInternals.plugins.emittersShapes),s.__tsParticlesInternals.presets=t(s.__tsParticlesInternals.presets),s.__tsParticlesInternals.shapes=t(s.__tsParticlesInternals.shapes),s.__tsParticlesInternals.updaters=t(s.__tsParticlesInternals.updaters),s.__tsParticlesInternals.utils=t(s.__tsParticlesInternals.utils),s.__tsParticlesInternals.canvas=t(s.__tsParticlesInternals.canvas),s.__tsParticlesInternals.path=t(s.__tsParticlesInternals.path)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(s){s.__tsParticlesInternals=s.__tsParticlesInternals||{},s.__tsParticlesInternals.bundles=s.__tsParticlesInternals.bundles||{},function(s,t,e,a,l,n,r,i,_,c,P,I,o,u){"use strict";async function p(s){s.checkVersion("4.5.3"),await s.pluginManager.register(async s=>{const p=async s=>{await a.loadEmittersPlugin(s),await Promise.all([l.loadEmittersShapeCircle(s),n.loadEmittersShapeSquare(s)])};await Promise.all([(async s=>{await c.loadSlim(s),await Promise.all([r.loadExternalDragInteraction(s),i.loadExternalTrailInteraction(s),t.loadAbsorbersPlugin(s),p(s)])})(s),e.loadDestroyUpdater(s),_.loadRollUpdater(s),I.loadTiltUpdater(s),o.loadTwinkleUpdater(s),u.loadWobbleUpdater(s),P.loadTextShape(s)])})}const d=globalThis;d.__tsParticlesInternals=d.__tsParticlesInternals??{},d.loadFull=p,s.loadFull=p}(s.__tsParticlesInternals.bundles.full=s.__tsParticlesInternals.bundles.full||{},s.__tsParticlesInternals.plugins.absorbers,s.__tsParticlesInternals.updaters.destroy,s.__tsParticlesInternals.plugins.emitters,s.__tsParticlesInternals.plugins.emittersShapes.circle,s.__tsParticlesInternals.plugins.emittersShapes.square,s.__tsParticlesInternals.interactions.externalDrag,s.__tsParticlesInternals.interactions.externalTrail,s.__tsParticlesInternals.updaters.roll,s.__tsParticlesInternals.bundles.slim,s.__tsParticlesInternals.shapes.text,s.__tsParticlesInternals.updaters.tilt,s.__tsParticlesInternals.updaters.twinkle,s.__tsParticlesInternals.updaters.wobble)}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:self),Object.assign(globalThis.window||globalThis,{loadFull:(globalThis.__tsParticlesInternals.bundles.full||{}).loadFull}),globalThis.__tsParticlesInternals=globalThis.__tsParticlesInternals||{},globalThis.__tsParticlesInternals.engine&&globalThis.__tsParticlesInternals.engine.tsParticles||(globalThis.__tsParticlesInternals.engine=globalThis.__tsParticlesInternals.bundles.full||{});