!function(t){var e={};function r(o){if(e[o])return e[o].exports;var s=e[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}r.m=t,r.c=e,r.d=function(t,e,o){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(r.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)r.d(o,s,function(e){return t[e]}.bind(null,s));return o},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/dist",r(r.s=0)}([function(t,e,r){t.exports=r(1)},function(t,e,r){"use strict";r.r(e);class o{constructor(t,e){if(this._ready=null,Object.defineProperty(this,"ready",{get:function(){return this._ready}}),null==t.capabilities||null==t.capabilities.graphics||null==t.capabilities.graphics.svg)return this._ready=Promise.reject("Oh NO ... SVG is not supported in this build."),this;if(this._parent=e&&e.parent?e.parent:null,Object.defineProperty(this,"parent",{set:function(t){this._parent=t,v.parent=this._parent},get:function(){return this._parent}}),null==this._parent)return this._ready=Promise.reject("Oh NO ... No Parent provided."),this;this._a=e&&e.a?e.a:0,Object.defineProperty(this,"a",{set:function(t){this._a=t,v.a=this._a},get:function(){return this._a}}),this._x=e&&e.x?e.x:0,Object.defineProperty(this,"x",{set:function(t){this._x=t,v.x=this._x},get:function(){return this._x}}),this._y=e&&e.y?e.y:0,Object.defineProperty(this,"y",{set:function(t){this._y=t,v.y=this._y},get:function(){return this._y}}),this._w=e&&e.w?e.w:800,Object.defineProperty(this,"w",{set:function(t){this._w=t},get:function(){return this._w}}),this._h=e&&e.h?e.h:200,Object.defineProperty(this,"h",{set:function(t){this._h=t},get:function(){return this._h}}),this._rows=e&&e.rows?e.rows:10,Object.defineProperty(this,"rows",{set:function(t){this._rows=t},get:function(){return this._rows}}),this._cols=e&&e.cols?e.cols:40,Object.defineProperty(this,"cols",{set:function(t){this._cols=t},get:function(){return this._cols}});var r=e&&e.zero?e.zero:this._rows-1;this._zero=Math.min(Math.max(r,0),this._rows),Object.defineProperty(this,"zero",{set:function(t){this._zero=Math.max(t,this._rows),v.zero=this._zero},get:function(){return this._zero}}),this._t=e&&e.t?e.t:140,Object.defineProperty(this,"t",{set:function(t){this._t=t},get:function(){return this._t}}),this._grid=e&&e.grid?e.grid:8,Object.defineProperty(this,"grid",{set:function(t){this._grid=t},get:function(){return this._grid}}),this._bg=e&&e.bg?e.bg:"#111",Object.defineProperty(this,"bg",{set:function(t){this._bg=t},get:function(){return this._bg}}),this._stops=e&&e.stops?e.stops:[{offset:0,color:"#0f0"},{offset:25,color:"#0f0"},{offset:50,color:"#ff0"},{offset:75,color:"#f80"},{offset:100,color:"#f00"}],Object.defineProperty(this,"stops",{set:function(t){this._stops=t},get:function(){return this._stops}});var o=null,s=null,i=[],n=[],c=this._w,f=this._h,a=this._zero,h=this._rows,l=this._cols,u=this._w/l,d=this._h/h,p=this._grid,g=this._bg,_="";this._stops.map(t=>{_+='"'});var y='data:image/svg, " "'+_+' """"',b="data:image/svg,";b+="",b+="",b+="";var v=t.create({t:"object",parent:this._parent,w:c,h:f}),j=t.create({t:"rect",parent:v,w:c,h:f,fillColor:g}),m=t.create({t:"imageResource",w:c,h:f,url:y}),O=t.create({t:"image",parent:j,resource:m}),P=t.create({t:"imageResource",w:c,h:f,url:b}),M=t.create({t:"image",parent:j,resource:P}),z=[j.ready,m.ready,O.ready,P.ready,M.ready];Promise.all(z).then((function(t){j.painting=!1,O.remove(),m=O=null,M.remove(),P=M=null,z=null}));function S(){if(null!=s){s.draw=!1;for(var t=0;t{var s=new o(e,t);s.ready.then(e=>{s.x=t.x,s.y=t.y,s.start()},t=>{console.error("SVG >> Create of EqualizerSVG() failed - ",t)})})})).catch((function(t){console.error("SVG >> Import failed for index.js: "+t)}))}]); //# sourceMappingURL=output.js.map