varSvgCanvas=function(){"use strict";functione(t){return(e="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(t)}functiont(e,t,r,n,i,a,s){try{varo=e[a](s),u=o.value}catch(e){returnvoidr(e)}o.done?t(u):Promise.resolve(u).then(n,i)}functionr(e){returnfunction(){varr=this,n=arguments;returnnewPromise(function(i,a){vars=e.apply(r,n);functiono(e){t(s,i,a,o,u,"next",e)}functionu(e){t(s,i,a,o,u,"throw",e)}o(void0)})}}functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functioni(e,t){for(varr=0;r<t.length;r++){varn=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"inn&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}functiona(e,t,r){returnt&&i(e.prototype,t),r&&i(e,r),e}functions(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}functiono(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}functionu(e,t){return(u=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functionl(e,t){return!t||"object"!=typeoft&&"function"!=typeoft?function(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}(e):t}functionh(e,t){returnfunction(e){if(Array.isArray(e))returne}(e)||function(e,t){varr=[],n=!0,i=!1,a=void0;try{for(vars,o=e[Symbol.iterator]();!(n=(s=o.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{n||null==o.return||o.return()}finally{if(i)throwa}}returnr}(e,t)||function(){thrownewTypeError("Invalid attempt to destructure non-iterable instance")}()}functionc(e){returnfunction(e){if(Array.isArray(e)){for(vart=0,r=newArray(e.length);t<e.length;t++)r[t]=e[t];returnr}}(e)||function(e){if(Symbol.iteratorinObject(e)||"[object Arguments]"===Object.prototype.toString.call(e))returnArray.from(e)}(e)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance")}()}functiond(t){varr=t.fn.attr;returnt.fn.attr=function(t,n){vari=this.length;if(!i)returnr.call(this,t,n);for(vara=0;a<i;++a){vars=this[a];if("http://www.w3.org/2000/svg"!==s.namespaceURI)returnr.call(this,t,n);if(void0!==n)s.setAttribute(t,n);elseif(Array.isArray(t)){for(varo={},u=t.length;u--;){varl=t[u],c=s.getAttribute(l);(c||"0"===c)&&(c=isNaN(c)?c:c-0),o[l]=c}returno}if("object"!==e(t)){vard=s.getAttribute(t);return(d||"0"===d)&&(d=isNaN(d)?d:d-0),d}for(varm=0,f=Object.entries(t);m<f.length;m++){varg=h(f[m],2),p=g[0],y=g[1];s.setAttribute(p,y)}}returnthis},t}!function(){if(!("SVGPathSeg"inwindow)){vare=function(){functione(t,r,i){n(this,e),this.pathSegType=t,this.pathSegTypeAsLetter=r,this._owningPathSegList=i}returna(e,[{key:"_segmentChanged",value:function(){this._owningPathSegList&&this._owningPathSegList.segmentChanged(this)}}]),e}();e.prototype.classname="SVGPathSeg",e.PATHSEG_UNKNOWN=0,e.PATHSEG_CLOSEPATH=1,e.PATHSEG_MOVETO_ABS=2,e.PATHSEG_MOVETO_REL=3,e.PATHSEG_LINETO_ABS=4,e.PATHSEG_LINETO_REL=5,e.PATHSEG_CURVETO_CUBIC_ABS=6,e.PATHSEG_CURVETO_CUBIC_REL=7,e.PATHSEG_CURVETO_QUADRATIC_ABS=8,e.PATHSEG_CURVETO_QUADRATIC_REL=9,e.PATHSEG_ARC_ABS=10,e.PATHSEG_ARC_REL=11,e.PATHSEG_LINETO_HORIZONTAL_ABS=12,e.PATHSEG_LINETO_HORIZONTAL_REL=13,e.PATHSEG_LINETO_VERTICAL_ABS=14,e.PATHSEG_LINETO_VERTICAL_REL=15,e.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS=16,e.PATHSEG_CURVETO_CUBIC_SMOOTH_REL=17,e.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS=18,e.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL=19;vart=function(t){functionr(t){returnn(this,r),l(this,o(r).call(this,e.PATHSEG_CLOSEPATH,"z",t))}returns(r,e),a(r,[{key:"toString",value:function(){return"[object SVGPathSegClosePath]"}},{key:"_asPathString",value:function(){returnthis.pathSegTypeAsLetter}},{key:"clone",value:function(){returnne