tsparticles
Version:
Easily create highly customizable particle animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.
2 lines (1 loc) • 5.71 kB
JavaScript
!function(t){t.__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.effects=t.__tsParticlesInternals.effects||{},t.__tsParticlesInternals.engine=t.__tsParticlesInternals.engine||{},t.__tsParticlesInternals.interactions=t.__tsParticlesInternals.interactions||{},t.__tsParticlesInternals.palettes=t.__tsParticlesInternals.palettes||{},t.__tsParticlesInternals.paths=t.__tsParticlesInternals.paths||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins=t.__tsParticlesInternals.plugins||{},t.__tsParticlesInternals.plugins.emittersShapes=t.__tsParticlesInternals.plugins.emittersShapes||{},t.__tsParticlesInternals.presets=t.__tsParticlesInternals.presets||{},t.__tsParticlesInternals.shapes=t.__tsParticlesInternals.shapes||{},t.__tsParticlesInternals.updaters=t.__tsParticlesInternals.updaters||{},t.__tsParticlesInternals.utils=t.__tsParticlesInternals.utils||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas=t.__tsParticlesInternals.canvas||{},t.__tsParticlesInternals.canvas.utils=t.__tsParticlesInternals.canvas.utils||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path=t.__tsParticlesInternals.path||{},t.__tsParticlesInternals.path.utils=t.__tsParticlesInternals.path.utils||{};var s="undefined"!=typeof Proxy?function(t){return new Proxy(t,{get:function(t,s){return s in t||(t[s]={}),t[s]}})}:function(t){return t};t.__tsParticlesInternals.bundles=s(t.__tsParticlesInternals.bundles),t.__tsParticlesInternals.effects=s(t.__tsParticlesInternals.effects),t.__tsParticlesInternals.interactions=s(t.__tsParticlesInternals.interactions),t.__tsParticlesInternals.palettes=s(t.__tsParticlesInternals.palettes),t.__tsParticlesInternals.paths=s(t.__tsParticlesInternals.paths),t.__tsParticlesInternals.plugins=s(t.__tsParticlesInternals.plugins),t.__tsParticlesInternals.plugins.emittersShapes=s(t.__tsParticlesInternals.plugins.emittersShapes),t.__tsParticlesInternals.presets=s(t.__tsParticlesInternals.presets),t.__tsParticlesInternals.shapes=s(t.__tsParticlesInternals.shapes),t.__tsParticlesInternals.updaters=s(t.__tsParticlesInternals.updaters),t.__tsParticlesInternals.utils=s(t.__tsParticlesInternals.utils),t.__tsParticlesInternals.canvas=s(t.__tsParticlesInternals.canvas),t.__tsParticlesInternals.path=s(t.__tsParticlesInternals.path),t.tsparticlesInternalExports=t.tsparticlesInternalExports||{}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:this),function(t,s){"object"==typeof exports&&"undefined"!=typeof module?s(exports,require("@tsparticles/plugin-absorbers"),require("@tsparticles/updater-destroy"),require("@tsparticles/plugin-emitters"),require("@tsparticles/plugin-emitters-shape-circle"),require("@tsparticles/plugin-emitters-shape-square"),require("@tsparticles/interaction-external-drag"),require("@tsparticles/interaction-external-trail"),require("@tsparticles/updater-roll"),require("@tsparticles/slim"),require("@tsparticles/shape-text"),require("@tsparticles/updater-tilt"),require("@tsparticles/updater-twinkle"),require("@tsparticles/updater-wobble")):"function"==typeof define&&define.amd?define(["exports","@tsparticles/plugin-absorbers","@tsparticles/updater-destroy","@tsparticles/plugin-emitters","@tsparticles/plugin-emitters-shape-circle","@tsparticles/plugin-emitters-shape-square","@tsparticles/interaction-external-drag","@tsparticles/interaction-external-trail","@tsparticles/updater-roll","@tsparticles/slim","@tsparticles/shape-text","@tsparticles/updater-tilt","@tsparticles/updater-twinkle","@tsparticles/updater-wobble"],s):s(((t="undefined"!=typeof globalThis?globalThis:t||self).__tsParticlesInternals=t.__tsParticlesInternals||{},t.__tsParticlesInternals.bundles=t.__tsParticlesInternals.bundles||{},t.__tsParticlesInternals.bundles.full=t.__tsParticlesInternals.bundles.full||{}),t.__tsParticlesInternals.plugins.absorbers,t.__tsParticlesInternals.updaters.destroy,t.__tsParticlesInternals.plugins.emitters,t.__tsParticlesInternals.plugins.emittersShapes.circle,t.__tsParticlesInternals.plugins.emittersShapes.square,t.__tsParticlesInternals.interactions.externalDrag,t.__tsParticlesInternals.interactions.externalTrail,t.__tsParticlesInternals.updaters.roll,t.__tsParticlesInternals.bundles.slim,t.__tsParticlesInternals.shapes.text,t.__tsParticlesInternals.updaters.tilt,t.__tsParticlesInternals.updaters.twinkle,t.__tsParticlesInternals.updaters.wobble)}(this,function(t,s,e,a,l,r,n,i,_,c,p,u,P,I){"use strict";async function o(t){t.checkVersion("4.1.0"),await t.pluginManager.register(async t=>{const o=async t=>{await a.loadEmittersPlugin(t),await Promise.all([l.loadEmittersShapeCircle(t),r.loadEmittersShapeSquare(t)])};await Promise.all([(async t=>{await c.loadSlim(t),await Promise.all([n.loadExternalDragInteraction(t),i.loadExternalTrailInteraction(t),s.loadAbsorbersPlugin(t),o(t)])})(t),e.loadDestroyUpdater(t),_.loadRollUpdater(t),u.loadTiltUpdater(t),P.loadTwinkleUpdater(t),I.loadWobbleUpdater(t),p.loadTextShape(t)])})}const d=globalThis;d.__tsParticlesInternals=d.__tsParticlesInternals??{},d.loadFull=o,t.loadFull=o}),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||{}),delete(globalThis.window||globalThis).tsparticlesInternalExports;