%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/public_html/ezone.optisoft.com.ng/
Upload File :
Create Path :
Current File : /home/opti/public_html/ezone.optisoft.com.ng/npm.canvg.b3405130d277b06cb1a9.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{"05abfeecfadc961b050a":function(t,e,r){var n=r("bb65a7a6041264210047"),i=r("108db6f4caa9f9a04cba"),a=n("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[a]===t)}},"05fa5fa6138424e84fff":function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("a6d67bcc49e3f697e59e"),a=r("f8923fce78f41a61d1aa").f;n({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var r=a(i(t),e);return!(r&&!r.configurable)&&delete t[e]}})},"108db6f4caa9f9a04cba":function(t,e){t.exports={}},"129e69bf4e1a4c38cd32":function(t,e,r){var n=r("52aaaa496bac3585895f");t.exports=n.Promise},"16b941a8a394ecafe711":function(t,e,r){var n=r("797e39b97ffe1a62bdfb"),i=r("c3761db6a39eb0210017"),a=r("e5efc2d9849195118d0d"),o=r("b7b69dc49b032e05d23d"),c=a("IE_PROTO"),u=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=i(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},"18ebf49c5262e647b436":function(t,e,r){"use strict";var n=r("a6d67bcc49e3f697e59e");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"18f41dd37e15014563e9":function(t,e,r){var n,i=r("a6d67bcc49e3f697e59e"),a=r("dec9ef0d8512b2d6448d"),o=r("e64538ff46f433c2647e"),c=r("8ea172a1f856745a0e99"),u=r("d7f760df02f660157c01"),s=r("8d9c721d2002cd3470ca"),f=r("e5efc2d9849195118d0d"),l=f("IE_PROTO"),h=function(){},d=function(t){return"<script>"+t+"<\/script>"},p=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=n?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var r=o.length;r--;)delete p.prototype[o[r]];return p()};c[l]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(h.prototype=i(t),r=new h,h.prototype=null,r[l]=t):r=p(),void 0===e?r:a(r,e)}},"198eb106d6274986a341":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("f560299f4fed32358d2c");n({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},"1a4cfc9e6fdb515d2a19":function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},"1bb0b0ccc8ba7c0efb25":function(t,e,r){"use strict";var n=r("ca105576be5894b79d01").charAt,i=r("81951e4472f2d976e154"),a=r("5e3e7a1d582e00690fb8"),o=i.set,c=i.getterFor("String Iterator");a(String,"String",(function(t){o(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=n(r,i),e.index+=t.length,{value:t,done:!1})}))},"1bd497ee89e9f52d1a58":function(t,e,r){"use strict";var n=r("86e7c19a36a780aa9da1"),i=r("a6d67bcc49e3f697e59e"),a=r("a5e7d1b8be1ccf7cc8af"),o=r("18ebf49c5262e647b436"),c=RegExp.prototype,u=c.toString,s=a((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),f="toString"!=u.name;(s||f)&&n(RegExp.prototype,"toString",(function(){var t=i(this),e=String(t.source),r=t.flags;return"/"+e+"/"+String(void 0===r&&t instanceof RegExp&&!("flags"in c)?o.call(t):r)}),{unsafe:!0})},"1cf00e339559233f6bee":function(t,e,r){"use strict";var n=r("247607c57c17b59856ed"),i=r("c3761db6a39eb0210017"),a=r("9cf8226879f90c868ee6"),o=r("05abfeecfadc961b050a"),c=r("556e51a67372cacfb0d3"),u=r("5b9377d7ffa207e71611"),s=r("dfa9c8cb51f0b14c5610");t.exports=function(t){var e,r,f,l,h,d,p=i(t),v="function"==typeof this?this:Array,y=arguments.length,g=y>1?arguments[1]:void 0,b=void 0!==g,m=s(p),x=0;if(b&&(g=n(g,y>2?arguments[2]:void 0,2)),void 0==m||v==Array&&o(m))for(r=new v(e=c(p.length));e>x;x++)d=b?g(p[x],x):p[x],u(r,x,d);else for(h=(l=m.call(p)).next,r=new v;!(f=h.call(l)).done;x++)d=b?a(l,g,[f.value,x],!0):f.value,u(r,x,d);return r.length=x,r}},"1fc64924b50e86cf0be5":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("a5e7d1b8be1ccf7cc8af"),a=r("cc20dada20370c30ef07"),o=r("e7e90445489e1aeca62c"),c=r("c3761db6a39eb0210017"),u=r("556e51a67372cacfb0d3"),s=r("5b9377d7ffa207e71611"),f=r("93c755ca0dc02c9020db"),l=r("be784b8233dde49ee0ce"),h=r("bb65a7a6041264210047"),d=r("6f5d6b55f0bf6c77018f"),p=h("isConcatSpreadable"),v=d>=51||!i((function(){var t=[];return t[p]=!1,t.concat()[0]!==t})),y=l("concat"),g=function(t){if(!o(t))return!1;var e=t[p];return void 0!==e?!!e:a(t)};n({target:"Array",proto:!0,forced:!v||!y},{concat:function(t){var e,r,n,i,a,o=c(this),l=f(o,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(g(a=-1===e?o:arguments[e])){if(h+(i=u(a.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(r=0;r<i;r++,h++)r in a&&s(l,h,a[r])}else{if(h>=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,h++,a)}return l.length=h,l}})},"21b340d5785e373d8c2c":function(t,e,r){"use strict";var n=r("ca105576be5894b79d01").charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},"227a700ecfd2b1133c6e":function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},"24341780521b7c263003":function(t,e,r){"use strict";var n,i,a=r("18ebf49c5262e647b436"),o=r("714345146ca94bc17278"),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(n=/a/,i=/b*/g,c.call(n,"a"),c.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),l=o.UNSUPPORTED_Y||o.BROKEN_CARET,h=void 0!==/()??/.exec("")[1];(f||h||l)&&(s=function(t){var e,r,n,i,o=this,s=l&&o.sticky,d=a.call(o),p=o.source,v=0,y=t;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),y=String(t).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==t[o.lastIndex-1])&&(p="(?: "+p+")",y=" "+y,v++),r=new RegExp("^(?:"+p+")",d)),h&&(r=new RegExp("^"+p+"$(?!\\s)",d)),f&&(e=o.lastIndex),n=c.call(s?r:o,y),s?n?(n.input=n.input.slice(v),n[0]=n[0].slice(v),n.index=o.lastIndex,o.lastIndex+=n[0].length):o.lastIndex=0:f&&n&&(o.lastIndex=o.global?n.index+n[0].length:e),h&&n&&n.length>1&&u.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),t.exports=s},"247607c57c17b59856ed":function(t,e,r){var n=r("e5f7e5c1b3959d588c86");t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},"253dc5d7a8f63f08ea3a":function(t,e,r){"use strict";var n,i=r("9e56614a62529bbab5f3"),a=r("f8923fce78f41a61d1aa").f,o=r("556e51a67372cacfb0d3"),c=r("5162bb944a2a557819b4"),u=r("fd9b89c795234eb80444"),s=r("e75396c715b10f3bb30c"),f=r("a543cfaacf0ca3549c19"),l="".startsWith,h=Math.min,d=s("startsWith");i({target:"String",proto:!0,forced:!(!f&&!d&&!(!(n=a(String.prototype,"startsWith"))||n.writable))&&!d},{startsWith:function(t){var e=String(u(this));c(t);var r=o(h(arguments.length>1?arguments[1]:void 0,e.length)),n=String(t);return l?l.call(e,n,r):e.slice(r,r+n.length)===n}})},"2582bbbb8628442ebb75":function(t,e,r){var n=r("bb65a7a6041264210047")("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},t(a)}catch(t){}return r}},"26182dadd6a6a544d4c2":function(t,e,r){"use strict";var n=r("e424dbbd56423779a826"),i=r("52aaaa496bac3585895f"),a=r("902dc50230642d2ceeed"),o=r("86e7c19a36a780aa9da1"),c=r("797e39b97ffe1a62bdfb"),u=r("791c85755ea4bef7409d"),s=r("abc6323e9bb95ff96370"),f=r("96f8b49256f6feb18691"),l=r("a5e7d1b8be1ccf7cc8af"),h=r("18f41dd37e15014563e9"),d=r("cee80f65c5e7f57a8648").f,p=r("f8923fce78f41a61d1aa").f,v=r("865b70dad656728af89d").f,y=r("6dac848e7f9d7370ff73").trim,g=i.Number,b=g.prototype,m="Number"==u(h(b)),x=function(t){var e,r,n,i,a,o,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=y(s)).charCodeAt(0))||45===e){if(88===(r=s.charCodeAt(2))||120===r)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+s}for(o=(a=s.slice(2)).length,c=0;c<o;c++)if((u=a.charCodeAt(c))<48||u>i)return NaN;return parseInt(a,n)}return+s};if(a("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var S,w=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof w&&(m?l((function(){b.valueOf.call(r)})):"Number"!=u(r))?s(new g(x(e)),r,w):x(e)},k=n?d(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),P=0;k.length>P;P++)c(g,S=k[P])&&!c(w,S)&&v(w,S,p(g,S));w.prototype=b,b.constructor=w,o(i,"Number",w)}},"2858db0d0f28bab9bca1":function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},"28b3a50070805d63e199":function(t,e,r){var n=r("227a700ecfd2b1133c6e"),i=Math.max,a=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):a(r,e)}},"2986da37a79719e1fadd":function(t,e,r){var n=r("797e39b97ffe1a62bdfb"),i=r("d760f81dc7f01537241a"),a=r("f8923fce78f41a61d1aa"),o=r("865b70dad656728af89d");t.exports=function(t,e){for(var r=i(e),c=o.f,u=a.f,s=0;s<r.length;s++){var f=r[s];n(t,f)||c(t,f,u(e,f))}}},"2f72436760aa771a5fed":function(t,e,r){var n=r("a6d67bcc49e3f697e59e"),i=r("05abfeecfadc961b050a"),a=r("556e51a67372cacfb0d3"),o=r("247607c57c17b59856ed"),c=r("dfa9c8cb51f0b14c5610"),u=r("9cf8226879f90c868ee6"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,r,f,l){var h,d,p,v,y,g,b,m=o(e,r,f?2:1);if(l)h=t;else{if("function"!=typeof(d=c(t)))throw TypeError("Target is not iterable");if(i(d)){for(p=0,v=a(t.length);v>p;p++)if((y=f?m(n(b=t[p])[0],b[1]):m(t[p]))&&y instanceof s)return y;return new s(!1)}h=d.call(t)}for(g=h.next;!(b=g.call(h)).done;)if("object"==typeof(y=u(h,m,b.value,f))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},"309833adb0aee7f56f37":function(t,e,r){"use strict";var n=r("812504487be885b293f4"),i=r("51763a688aed0f12aa45"),a=r("108db6f4caa9f9a04cba"),o=r("81951e4472f2d976e154"),c=r("5e3e7a1d582e00690fb8"),u=o.set,s=o.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,r=t.kind,n=t.index++;return!e||n>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:e[n],done:!1}:{value:[n,e[n]],done:!1}}),"values"),a.Arguments=a.Array,i("keys"),i("values"),i("entries")},"30dc8fb78b02c4afb47a":function(t,e,r){var n=r("52aaaa496bac3585895f");t.exports=function(t,e){var r=n.console;r&&r.error&&(1===arguments.length?r.error(t):r.error(t,e))}},"34217b19298cb42f46e0":function(t,e,r){"use strict";var n,i,a,o=r("16b941a8a394ecafe711"),c=r("9768068780055a5b37d5"),u=r("797e39b97ffe1a62bdfb"),s=r("bb65a7a6041264210047"),f=r("a543cfaacf0ca3549c19"),l=s("iterator"),h=!1;[].keys&&("next"in(a=[].keys())?(i=o(o(a)))!==Object.prototype&&(n=i):h=!0),void 0==n&&(n={}),f||u(n,l)||c(n,l,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},"3807ab16ac757ed48621":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("cc20dada20370c30ef07"),a=[].reverse,o=[1,2];n({target:"Array",proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),a.call(this)}})},"39c11483e28d35063bec":function(t,e,r){var n=r("cff260ef77d4046fdb3d"),i=r("e64538ff46f433c2647e");t.exports=Object.keys||function(t){return n(t,i)}},"3c2409d71f9c904f828f":function(t,e,r){var n=r("f48c8b3d09da91cb7e1b");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"400ac2c69e8db518e222":function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("e424dbbd56423779a826"),a=r("d760f81dc7f01537241a"),o=r("812504487be885b293f4"),c=r("f8923fce78f41a61d1aa"),u=r("5b9377d7ffa207e71611");n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(t){for(var e,r,n=o(t),i=c.f,s=a(n),f={},l=0;s.length>l;)void 0!==(r=i(n,e=s[l++]))&&u(f,e,r);return f}})},"414b60d646b9b9728131":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("75dadd97f49866c30251").left,a=r("ba15efbed52ef84bf04c"),o=r("6c9673934260f36d0c13"),c=a("reduce"),u=o("reduce",{1:0});n({target:"Array",proto:!0,forced:!c||!u},{reduce:function(t){return i(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"484de21a9f680ec2bbe5":function(t,e,r){var n,i,a,o=r("52aaaa496bac3585895f"),c=r("a5e7d1b8be1ccf7cc8af"),u=r("791c85755ea4bef7409d"),s=r("247607c57c17b59856ed"),f=r("d7f760df02f660157c01"),l=r("8d9c721d2002cd3470ca"),h=r("e69986630bf75c44dfa1"),d=o.location,p=o.setImmediate,v=o.clearImmediate,y=o.process,g=o.MessageChannel,b=o.Dispatch,m=0,x={},S=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},w=function(t){return function(){S(t)}},k=function(t){S(t.data)},P=function(t){o.postMessage(t+"",d.protocol+"//"+d.host)};p&&v||(p=function(t){for(var e=[],r=1;arguments.length>r;)e.push(arguments[r++]);return x[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(m),m},v=function(t){delete x[t]},"process"==u(y)?n=function(t){y.nextTick(w(t))}:b&&b.now?n=function(t){b.now(w(t))}:g&&!h?(a=(i=new g).port2,i.port1.onmessage=k,n=s(a.postMessage,a,1)):!o.addEventListener||"function"!=typeof postMessage||o.importScripts||c(P)||"file:"===d.protocol?n="onreadystatechange"in l("script")?function(t){f.appendChild(l("script")).onreadystatechange=function(){f.removeChild(this),S(t)}}:function(t){setTimeout(w(t),0)}:(n=P,o.addEventListener("message",k,!1))),t.exports={set:p,clear:v}},"48cd4da160f1a36e1421":function(t,e,r){var n=r("a6d67bcc49e3f697e59e"),i=r("c6d4b05d67565ba47e66");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),e=r instanceof Array}catch(t){}return function(r,a){return n(r),i(a),e?t.call(r,a):r.__proto__=a,r}}():void 0)},"4aa3ac3b61ca37d8ca35":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("a3715f38f9267e6cc6cd").filter,a=r("be784b8233dde49ee0ce"),o=r("6c9673934260f36d0c13"),c=a("filter"),u=o("filter");n({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"4b4fd4707e5f14b59757":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("52aaaa496bac3585895f"),a=r("902dc50230642d2ceeed"),o=r("86e7c19a36a780aa9da1"),c=r("e59187de76b03c3c336e"),u=r("2f72436760aa771a5fed"),s=r("b922c83c6055a68ccde7"),f=r("e7e90445489e1aeca62c"),l=r("a5e7d1b8be1ccf7cc8af"),h=r("2582bbbb8628442ebb75"),d=r("a55d4137fe90bc0a7036"),p=r("abc6323e9bb95ff96370");t.exports=function(t,e,r){var v=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),g=v?"set":"add",b=i[t],m=b&&b.prototype,x=b,S={},w=function(t){var e=m[t];o(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:function(t,r){return e.call(this,0===t?0:t,r),this})};if(a(t,"function"!=typeof b||!(y||m.forEach&&!l((function(){(new b).entries().next()})))))x=r.getConstructor(e,t,v,g),c.REQUIRED=!0;else if(a(t,!0)){var k=new x,P=k[g](y?{}:-0,1)!=k,R=l((function(){k.has(1)})),A=h((function(t){new b(t)})),E=!y&&l((function(){for(var t=new b,e=5;e--;)t[g](e,e);return!t.has(-0)}));A||((x=e((function(e,r){s(e,x,t);var n=p(new b,e,x);return void 0!=r&&u(r,n[g],n,v),n}))).prototype=m,m.constructor=x),(R||E)&&(w("delete"),w("has"),v&&w("get")),(E||P)&&w(g),y&&m.clear&&delete m.clear}return S[t]=x,n({global:!0,forced:x!=b},S),d(x,t),y||r.setStrong(x,t,v),x}},"4e33f670a2112b90a887":function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af"),i=r("2858db0d0f28bab9bca1");t.exports=function(t){return n((function(){return!!i[t]()||"\u200b\x85\u180e"!="\u200b\x85\u180e"[t]()||i[t].name!==t}))}},"5162bb944a2a557819b4":function(t,e,r){var n=r("f2876b394e59cd08eeec");t.exports=function(t){if(n(t))throw TypeError("The method doesn't accept regular expressions");return t}},"51763a688aed0f12aa45":function(t,e,r){var n=r("bb65a7a6041264210047"),i=r("18f41dd37e15014563e9"),a=r("865b70dad656728af89d"),o=n("unscopables"),c=Array.prototype;void 0==c[o]&&a.f(c,o,{configurable:!0,value:i(null)}),t.exports=function(t){c[o][t]=!0}},"52aaaa496bac3585895f":function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("698d75b157f24ae829cc"))},"540f18336f7459b9b1a5":function(t,e,r){var n=r("812504487be885b293f4"),i=r("cee80f65c5e7f57a8648").f,a={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return o&&"[object Window]"==a.call(t)?function(t){try{return i(t)}catch(t){return o.slice()}}(t):i(n(t))}},"556e51a67372cacfb0d3":function(t,e,r){var n=r("227a700ecfd2b1133c6e"),i=Math.min;t.exports=function(t){return t>0?i(n(t),9007199254740991):0}},"57fad59157416e0c7a7d":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("6e7237ccbdd2f15a5779"),a=r("812504487be885b293f4"),o=r("ba15efbed52ef84bf04c"),c=[].join,u=i!=Object,s=o("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(a(this),void 0===t?",":t)}})},"58b5a9c5241137285314":function(t,e,r){var n=r("a6d67bcc49e3f697e59e"),i=r("e7e90445489e1aeca62c"),a=r("b92b1aa10a632810f015");t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=a.f(t);return(0,r.resolve)(e),r.promise}},"5ae571baa381d14ce3e7":function(t,e,r){var n=r("812504487be885b293f4"),i=r("556e51a67372cacfb0d3"),a=r("28b3a50070805d63e199"),o=function(t){return function(e,r,o){var c,u=n(e),s=i(u.length),f=a(o,s);if(t&&r!=r){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},"5b9377d7ffa207e71611":function(t,e,r){"use strict";var n=r("96f8b49256f6feb18691"),i=r("865b70dad656728af89d"),a=r("65be8151caa6add0b12e");t.exports=function(t,e,r){var o=n(e);o in t?i.f(t,o,a(0,r)):t[o]=r}},"5e3e7a1d582e00690fb8":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("63a52593a2dc98003022"),a=r("16b941a8a394ecafe711"),o=r("48cd4da160f1a36e1421"),c=r("a55d4137fe90bc0a7036"),u=r("9768068780055a5b37d5"),s=r("86e7c19a36a780aa9da1"),f=r("bb65a7a6041264210047"),l=r("a543cfaacf0ca3549c19"),h=r("108db6f4caa9f9a04cba"),d=r("34217b19298cb42f46e0"),p=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,y=f("iterator"),g=function(){return this};t.exports=function(t,e,r,f,d,b,m){i(r,e,f);var x,S,w,k=function(t){if(t===d&&C)return C;if(!v&&t in A)return A[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},P=e+" Iterator",R=!1,A=t.prototype,E=A[y]||A["@@iterator"]||d&&A[d],C=!v&&E||k(d),M="Array"==e&&A.entries||E;if(M&&(x=a(M.call(new t)),p!==Object.prototype&&x.next&&(l||a(x)===p||(o?o(x,p):"function"!=typeof x[y]&&u(x,y,g)),c(x,P,!0,!0),l&&(h[P]=g))),"values"==d&&E&&"values"!==E.name&&(R=!0,C=function(){return E.call(this)}),l&&!m||A[y]===C||u(A,y,C),h[e]=C,d)if(S={values:k("values"),keys:b?C:k("keys"),entries:k("entries")},m)for(w in S)(v||R||!(w in A))&&s(A,w,S[w]);else n({target:e,proto:!0,forced:v||R},S);return S}},"632b1986a401941068e8":function(t,e,r){r("8b9be401ff189ec4cd96")("iterator")},"63a52593a2dc98003022":function(t,e,r){"use strict";var n=r("34217b19298cb42f46e0").IteratorPrototype,i=r("18f41dd37e15014563e9"),a=r("65be8151caa6add0b12e"),o=r("a55d4137fe90bc0a7036"),c=r("108db6f4caa9f9a04cba"),u=function(){return this};t.exports=function(t,e,r){var s=e+" Iterator";return t.prototype=i(n,{next:a(1,r)}),o(t,s,!1,!0),c[s]=u,t}},"65be8151caa6add0b12e":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"667c64ef1b44c62ce17f":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("e7e90445489e1aeca62c"),a=r("cc20dada20370c30ef07"),o=r("28b3a50070805d63e199"),c=r("556e51a67372cacfb0d3"),u=r("812504487be885b293f4"),s=r("5b9377d7ffa207e71611"),f=r("bb65a7a6041264210047"),l=r("be784b8233dde49ee0ce"),h=r("6c9673934260f36d0c13"),d=l("slice"),p=h("slice",{ACCESSORS:!0,0:0,1:2}),v=f("species"),y=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!d||!p},{slice:function(t,e){var r,n,f,l=u(this),h=c(l.length),d=o(t,h),p=o(void 0===e?h:e,h);if(a(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!a(r.prototype)?i(r)&&null===(r=r[v])&&(r=void 0):r=void 0,r===Array||void 0===r))return y.call(l,d,p);for(n=new(void 0===r?Array:r)(g(p-d,0)),f=0;d<p;d++,f++)d in l&&s(n,f,l[d]);return n.length=f,n}})},"680cc81bfe5c80cf2b28":function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("db1eb80984f690f515c7"),a=r("51763a688aed0f12aa45");n({target:"Array",proto:!0},{fill:i}),a("fill")},"68950993ed2ff7206117":function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("6f7a80405c9bcc4cd9a8"),a=r("309833adb0aee7f56f37"),o=r("9768068780055a5b37d5"),c=r("bb65a7a6041264210047"),u=c("iterator"),s=c("toStringTag"),f=a.values;for(var l in i){var h=n[l],d=h&&h.prototype;if(d){if(d[u]!==f)try{o(d,u,f)}catch(t){d[u]=f}if(d[s]||o(d,s,l),i[l])for(var p in a)if(d[p]!==a[p])try{o(d,p,a[p])}catch(t){d[p]=a[p]}}}},"6a6706c8d5c8f7e1c6be":function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("1cf00e339559233f6bee");n({target:"Array",stat:!0,forced:!r("2582bbbb8628442ebb75")((function(t){Array.from(t)}))},{from:i})},"6c9673934260f36d0c13":function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("a5e7d1b8be1ccf7cc8af"),a=r("797e39b97ffe1a62bdfb"),o=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(a(c,t))return c[t];e||(e={});var r=[][t],s=!!a(e,"ACCESSORS")&&e.ACCESSORS,f=a(e,0)?e[0]:u,l=a(e,1)?e[1]:void 0;return c[t]=!!r&&!i((function(){if(s&&!n)return!0;var t={length:-1};s?o(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,f,l)}))}},"6dac848e7f9d7370ff73":function(t,e,r){var n=r("fd9b89c795234eb80444"),i="["+r("2858db0d0f28bab9bca1")+"]",a=RegExp("^"+i+i+"*"),o=RegExp(i+i+"*$"),c=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(a,"")),2&t&&(r=r.replace(o,"")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},"6e0c2d6580e18ba4f951":function(t,e,r){"use strict";var n=r("a5e66e4d1a795d25c906"),i=r("a6d67bcc49e3f697e59e"),a=r("556e51a67372cacfb0d3"),o=r("fd9b89c795234eb80444"),c=r("21b340d5785e373d8c2c"),u=r("f477a8a474625b9ca5ad");n("match",1,(function(t,e,r){return[function(e){var r=o(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var o=i(t),s=String(this);if(!o.global)return u(o,s);var f=o.unicode;o.lastIndex=0;for(var l,h=[],d=0;null!==(l=u(o,s));){var p=String(l[0]);h[d]=p,""===p&&(o.lastIndex=c(s,a(o.lastIndex),f)),d++}return 0===d?null:h}]}))},"6e7237ccbdd2f15a5779":function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af"),i=r("791c85755ea4bef7409d"),a="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a.call(t,""):Object(t)}:Object},"6eb2bc553ae5fe669061":function(t,e,r){"use strict";var n=r("4b4fd4707e5f14b59757"),i=r("94e80a3ddf314e9f023b");t.exports=n("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},"6f5d6b55f0bf6c77018f":function(t,e,r){var n,i,a=r("52aaaa496bac3585895f"),o=r("76ac61616d46d9b4d808"),c=a.process,u=c&&c.versions,s=u&&u.v8;s?i=(n=s.split("."))[0]+n[1]:o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=n[1]),t.exports=i&&+i},"6f7a80405c9bcc4cd9a8":function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"7122ae3a29c6e0276803":function(t,e,r){"use strict";var n=r("a5e66e4d1a795d25c906"),i=r("f2876b394e59cd08eeec"),a=r("a6d67bcc49e3f697e59e"),o=r("fd9b89c795234eb80444"),c=r("a34f3f4e914500ae3f97"),u=r("21b340d5785e373d8c2c"),s=r("556e51a67372cacfb0d3"),f=r("f477a8a474625b9ca5ad"),l=r("24341780521b7c263003"),h=r("a5e7d1b8be1ccf7cc8af"),d=[].push,p=Math.min,v=!h((function(){return!RegExp(4294967295,"y")}));n("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(o(this)),a=void 0===r?4294967295:r>>>0;if(0===a)return[];if(void 0===t)return[n];if(!i(t))return e.call(n,t,a);for(var c,u,s,f=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,v=new RegExp(t.source,h+"g");(c=l.call(v,n))&&!((u=v.lastIndex)>p&&(f.push(n.slice(p,c.index)),c.length>1&&c.index<n.length&&d.apply(f,c.slice(1)),s=c[0].length,p=u,f.length>=a));)v.lastIndex===c.index&&v.lastIndex++;return p===n.length?!s&&v.test("")||f.push(""):f.push(n.slice(p)),f.length>a?f.slice(0,a):f}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var i=o(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,i,r):n.call(String(i),e,r)},function(t,i){var o=r(n,t,this,i,n!==e);if(o.done)return o.value;var l=a(t),h=String(this),d=c(l,RegExp),y=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(v?"y":"g"),b=new d(v?l:"^(?:"+l.source+")",g),m=void 0===i?4294967295:i>>>0;if(0===m)return[];if(0===h.length)return null===f(b,h)?[h]:[];for(var x=0,S=0,w=[];S<h.length;){b.lastIndex=v?S:0;var k,P=f(b,v?h:h.slice(S));if(null===P||(k=p(s(b.lastIndex+(v?0:S)),h.length))===x)S=u(h,S,y);else{if(w.push(h.slice(x,S)),w.length===m)return w;for(var R=1;R<=P.length-1;R++)if(w.push(P[R]),w.length===m)return w;S=x=k}}return w.push(h.slice(x)),w}]}),!v)},"714345146ca94bc17278":function(t,e,r){"use strict";var n=r("a5e7d1b8be1ccf7cc8af");function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},"758159e700e985de590e":function(t,e,r){var n=r("a543cfaacf0ca3549c19"),i=r("9110ce53a9cc411ae292");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},"75dadd97f49866c30251":function(t,e,r){var n=r("e5f7e5c1b3959d588c86"),i=r("c3761db6a39eb0210017"),a=r("6e7237ccbdd2f15a5779"),o=r("556e51a67372cacfb0d3"),c=function(t){return function(e,r,c,u){n(r);var s=i(e),f=a(s),l=o(s.length),h=t?l-1:0,d=t?-1:1;if(c<2)for(;;){if(h in f){u=f[h],h+=d;break}if(h+=d,t?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;t?h>=0:l>h;h+=d)h in f&&(u=r(u,f[h],h,s));return u}};t.exports={left:c(!1),right:c(!0)}},"7655cc75e702ede29366":function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("aa376725c0cc8edafde7"),a=n.WeakMap;t.exports="function"===typeof a&&/native code/.test(i(a))},"76ac61616d46d9b4d808":function(t,e,r){var n=r("ce164604eaf28093d76c");t.exports=n("navigator","userAgent")||""},"7792831e5810dbb02dca":function(t,e,r){var n={};n[r("bb65a7a6041264210047")("toStringTag")]="z",t.exports="[object z]"===String(n)},"791c85755ea4bef7409d":function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},"797e39b97ffe1a62bdfb":function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},"7a6db046532547692446":function(t,e,r){"use strict";var n=r("e5f7e5c1b3959d588c86"),i=r("e7e90445489e1aeca62c"),a=[].slice,o={},c=function(t,e,r){if(!(e in o)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";o[e]=Function("C,a","return new C("+n.join(",")+")")}return o[e](t,r)};t.exports=Function.bind||function(t){var e=n(this),r=a.call(arguments,1),o=function(){var n=r.concat(a.call(arguments));return this instanceof o?c(e,n.length,n):e.apply(t,n)};return i(e.prototype)&&(o.prototype=e.prototype),o}},"7b17bed2018283a82463":function(t,e,r){"use strict";(function(t){function n(t){return t&&"object"===typeof t&&"default"in t?t.default:t}Object.defineProperty(e,"__esModule",{value:!0}),r("8fb5a31882de4dc9d4b7"),r("f2c403c8c6910a0d46e4"),r("6e0c2d6580e18ba4f951"),r("f26a160faca25cafb7c8"),r("253dc5d7a8f63f08ea3a"),r("57fad59157416e0c7a7d");var i=n(r("5e4c0b3f13f7c1958b37"));r("e605cc84cbbd0ae4a270"),r("4aa3ac3b61ca37d8ca35"),r("198eb106d6274986a341"),r("cc6f05777540cb7eba5a"),r("400ac2c69e8db518e222"),r("e6d27e7bcfea5f9766b1"),r("d63af09bb81497926da5");var a=n(r("849c435b1f06682c313a")),o=n(r("1d967fc85bef35702fd2")),c=n(r("279f1c7ef5f95c5d63e2")),u=n(r("19e15e7ca84589004246")),s=n(r("66f6f74ce0dacb46302a"));r("1fc64924b50e86cf0be5"),r("c36f69961e89381431d5"),r("414b60d646b9b9728131"),r("ea278c0c1ed1858497f5"),r("92d1863efa6931aa0a27"),r("7122ae3a29c6e0276803");var f=n(r("a7fe8d66448a62154e6f"));r("b31f21d3b4de9471197d");var l=n(r("6b73f81e5c04773f3cea"));r("f350b72c0ca394025015"),r("1bd497ee89e9f52d1a58");var h=n(r("837788ac52fbe4a0f8ce")),d=n(r("c031845d0dca9c262c7b")),p=n(r("6b516fd2a35c7f9ebca4"));r("6a6706c8d5c8f7e1c6be"),r("c62dae8a4ff1d318a10f"),r("9f8ea934603e44a6745a"),r("9aaf4a4ceada44d601fb"),r("1bb0b0ccc8ba7c0efb25"),r("bad71b422558b7182bd9");var v=n(r("4066f70afce832cd4922"));r("fc0d18f28af084a6d72c"),r("3807ab16ac757ed48621");var y=n(r("44d5c7e7d3429aa7fb46"));r("26182dadd6a6a544d4c2"),r("680cc81bfe5c80cf2b28"),r("05fa5fa6138424e84fff");var g=n(r("27f61890603953b946f7"));r("309833adb0aee7f56f37"),r("68950993ed2ff7206117"),r("ecc0ec2a9d5d63f26fc8"),r("632b1986a401941068e8"),r("667c64ef1b44c62ce17f"),r("6eb2bc553ae5fe669061"),r("afb69a32a77b1c5db22a"),r("8646782ee05e255c7c33");var b=r("da47e5912b5d46c26956");function m(t){return t.replace(/(?!\u3000)\s+/gm," ")}function x(t){return t.replace(/^[\n \t]+/,"")}function S(t){return t.replace(/[\n \t]+$/,"")}function w(t){return((t||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var k=/^[A-Z-]+$/;function P(t){return k.test(t)?t.toLowerCase():t}function R(t){var e=t.match(/url\(('([^']+)'|"([^"]+)"|([^'"\)]+))\)/)||[];return e[2]||e[3]||e[4]}function A(t){if(!t.startsWith("rgb"))return t;var e=3;return t.replace(/\d+(\.\d+)?/g,(function(t,r){return e--&&r?String(Math.round(parseFloat(t))):t}))}var E=/(\[[^\]]+\])/g,C=/(#[^\s\+>~\.\[:]+)/g,M=/(\.[^\s\+>~\.\[:]+)/g,T=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi,O=/(:[\w-]+\([^\)]*\))/gi,D=/(:[^\s\+>~\.\[:]+)/g,V=/([^\s\+>~\.\[:]+)/g;function L(t,e){var r=t.match(e);return r?[t.replace(e," "),r.length]:[t,0]}function N(t){var e=[0,0,0],r=t.replace(/:not\(([^\)]*)\)/g,"     $1 ").replace(/{[\s\S]*/gm," "),n=0,a=L(r,E),o=i(a,2);r=o[0],n=o[1],e[1]+=n;var c=L(r,C),u=i(c,2);r=u[0],n=u[1],e[0]+=n;var s=L(r,M),f=i(s,2);r=f[0],n=f[1],e[1]+=n;var l=L(r,T),h=i(l,2);r=h[0],n=h[1],e[2]+=n;var d=L(r,O),p=i(d,2);r=p[0],n=p[1],e[1]+=n;var v=L(r,D),y=i(v,2);r=y[0],n=y[1],e[1]+=n;var g=L(r=r.replace(/[\*\s\+>~]/g," ").replace(/[#\.]/g," "),V),b=i(g,2);return r=b[0],n=b[1],e[2]+=n,e.join("")}function I(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function j(t,e){return(t[0]*e[0]+t[1]*e[1])/(I(t)*I(e))}function z(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(j(t,e))}function B(t){return t*t*t}function F(t){return 3*t*t*(1-t)}function _(t){return 3*t*(1-t)*(1-t)}function $(t){return(1-t)*(1-t)*(1-t)}function G(t){return t*t}function U(t){return 2*t*(1-t)}function W(t){return(1-t)*(1-t)}!function(t,e){t(e={exports:{}},e.exports)}((function(t){var e=function(t){var e=Object.prototype,r=e.hasOwnProperty,n="function"===typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function c(t,e,r,n){var i=e&&e.prototype instanceof f?e:f,a=Object.create(i.prototype),o=new w(n||[]);return a._invoke=function(t,e,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return P()}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var c=m(o,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var f=u(t,e,r);if("normal"===f.type){if(n=r.done?"completed":"suspendedYield",f.arg===s)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(n="completed",r.method="throw",r.arg=f.arg)}}}(t,r,o),a}function u(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var s={};function f(){}function l(){}function h(){}var d={};d[i]=function(){return this};var p=Object.getPrototypeOf,v=p&&p(p(k([])));v&&v!==e&&r.call(v,i)&&(d=v);var y=h.prototype=f.prototype=Object.create(d);function g(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function b(t,e){var n;this._invoke=function(i,a){function o(){return new e((function(n,o){!function n(i,a,o,c){var s=u(t[i],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"===typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,o,c)}),(function(t){n("throw",t,o,c)})):e.resolve(l).then((function(t){f.value=t,o(f)}),(function(t){return n("throw",t,o,c)}))}c(s.arg)}(i,a,n,o)}))}return n=n?n.then(o,o):o()}}function m(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,m(t,e),"throw"===e.method))return s;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var n=u(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,s;var i=n.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,s):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,s)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function S(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function k(t){if(t){var e=t[i];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return a.next=a}}return{next:P}}function P(){return{value:void 0,done:!0}}return l.prototype=y.constructor=h,h.constructor=l,h[o]=l.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===l||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,o in t||(t[o]="GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},g(b.prototype),b.prototype[a]=function(){return this},t.AsyncIterator=b,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new b(c(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},g(y),y[o]="Generator",y[i]=function(){return this},y.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=k,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(S),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return o.type="throw",o.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=t,o.arg=e,a?(this.method="next",this.next=a.finallyLoc,s):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),S(r),s}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;S(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:k(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}));var q=function(){function t(e,r,n){u(this,t),this.document=e,this.name=r,this.value=n,this.isNormalizedColor=!1}return s(t,[{key:"hasValue",value:function(){var t=this.value;return null!==t&&""!==t&&0!==t&&"undefined"!==typeof t}},{key:"isString",value:function(t){var e=this.value,r="string"===typeof e;return r&&t?t.test(e):r}},{key:"isUrlDefinition",value:function(){return this.isString(/^url\(/)}},{key:"isPixels",value:function(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case/px$/.test(t):case/^[0-9]+$/.test(t):return!0;default:return!1}}},{key:"setValue",value:function(t){return this.value=t,this}},{key:"getValue",value:function(t){return"undefined"===typeof t||this.hasValue()?this.value:t}},{key:"getNumber",value:function(t){if(!this.hasValue())return"undefined"===typeof t?0:parseFloat(t);var e=this.value,r=parseFloat(e);return this.isString(/%$/)&&(r/=100),r}},{key:"getString",value:function(t){return"undefined"===typeof t||this.hasValue()?"undefined"===typeof this.value?"":String(this.value):String(t)}},{key:"getColor",value:function(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=A(e),this.value=e),e}},{key:"getDpi",value:function(){return 96}},{key:"getRem",value:function(){return this.document.rootEmSize}},{key:"getEm",value:function(){return this.document.emSize}},{key:"getUnits",value:function(){return this.getString().replace(/[0-9\.\-]/g,"")}},{key:"getPixels",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var r="boolean"===typeof t?[void 0,t]:[t],n=i(r,2),a=n[0],o=n[1],c=this.document.screen.viewPort;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(c.computeSize("x"),c.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(c.computeSize("x"),c.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*c.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*c.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return 15*this.getNumber();case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case this.isString(/%$/)&&o:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*c.computeSize(a);default:var u=this.getNumber();return e&&u<1?u*c.computeSize(a):u}}},{key:"getMilliseconds",value:function(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}},{key:"getRadians",value:function(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}},{key:"getDefinition",value:function(){var t=this.getString(),e=t.match(/#([^\)'"]+)/);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}},{key:"getFillStyleDefinition",value:function(t,e){var r=this.getDefinition();if(!r)return null;if("function"===typeof r.createGradient)return r.createGradient(this.document.ctx,t,e);if("function"===typeof r.createPattern){if(r.getHrefAttribute().hasValue()){var n=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),n.hasValue()&&r.getAttribute("patternTransform",!0).setValue(n.value)}return r.createPattern(this.document.ctx,t,e)}return null}},{key:"getTextBaseline",value:function(){return this.hasValue()?t.textBaselineMapping[this.getString()]:null}},{key:"addOpacity",value:function(e){for(var r=this.getColor(),n=r.length,i=0,a=0;a<n&&(","===r[a]&&i++,3!==i);a++);if(e.hasValue()&&this.isString()&&3!==i){var o=new l(r);o.ok&&(o.alpha=e.getNumber(),r=o.toRGBA())}return new t(this.document,this.name,r)}}],[{key:"empty",value:function(e){return new t(e,"EMPTY","")}}]),t}();q.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var X=function(){function t(){u(this,t),this.viewPorts=[]}return s(t,[{key:"clear",value:function(){this.viewPorts=[]}},{key:"setCurrent",value:function(t,e){this.viewPorts.push({width:t,height:e})}},{key:"removeCurrent",value:function(){this.viewPorts.pop()}},{key:"getCurrent",value:function(){var t=this.viewPorts;return t[t.length-1]}},{key:"computeSize",value:function(t){return"number"===typeof t?t:"x"===t?this.width:"y"===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},{key:"width",get:function(){return this.getCurrent().width}},{key:"height",get:function(){return this.getCurrent().height}}]),t}(),Y=function(){function t(e,r){u(this,t),this.x=e,this.y=r}return s(t,[{key:"angleTo",value:function(t){return Math.atan2(t.y-this.y,t.x-this.x)}},{key:"applyTransform",value:function(t){var e=this.x,r=this.y,n=e*t[0]+r*t[2]+t[4],i=e*t[1]+r*t[3]+t[5];this.x=n,this.y=i}}],[{key:"parse",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=w(e),a=i(n,2),o=a[0],c=void 0===o?r:o,u=a[1],s=void 0===u?r:u;return new t(c,s)}},{key:"parseScale",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=w(e),a=i(n,2),o=a[0],c=void 0===o?r:o,u=a[1],s=void 0===u?c:u;return new t(c,s)}},{key:"parsePath",value:function(e){for(var r=w(e),n=r.length,i=[],a=0;a<n;a+=2)i.push(new t(r[a],r[a+1]));return i}}]),t}(),H=function(){function t(e){u(this,t),this.screen=e,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}return s(t,[{key:"isWorking",value:function(){return this.working}},{key:"start",value:function(){if(!this.working){var t=this.screen,e=this.onClick,r=this.onMouseMove,n=t.ctx.canvas;n.onclick=e,n.onmousemove=r,this.working=!0}}},{key:"stop",value:function(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}},{key:"hasEvents",value:function(){return this.working&&this.events.length>0}},{key:"runEvents",value:function(){if(this.working){var t=this.screen,e=this.events,r=this.eventElements,n=t.ctx.canvas.style;n&&(n.cursor=""),e.forEach((function(t,e){for(var n=t.run,i=r[e];i;)n(i),i=i.parent})),this.events=[],this.eventElements=[]}}},{key:"checkPath",value:function(t,e){if(this.working&&e){var r=this.events,n=this.eventElements;r.forEach((function(r,i){var a=r.x,o=r.y;!n[i]&&e.isPointInPath&&e.isPointInPath(a,o)&&(n[i]=t)}))}}},{key:"checkBoundingBox",value:function(t,e){if(this.working&&e){var r=this.events,n=this.eventElements;r.forEach((function(r,i){var a=r.x,o=r.y;!n[i]&&e.isPointInBox(a,o)&&(n[i]=t)}))}}},{key:"mapXY",value:function(t,e){for(var r=this.screen,n=r.window,i=r.ctx,a=new Y(t,e),o=i.canvas;o;)a.x-=o.offsetLeft,a.y-=o.offsetTop,o=o.offsetParent;return n.scrollX&&(a.x+=n.scrollX),n.scrollY&&(a.y+=n.scrollY),a}},{key:"onClick",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onclick",x:r,y:n,run:function(t){t.onClick&&t.onClick()}})}},{key:"onMouseMove",value:function(t){var e=this.mapXY((t||event).clientX,(t||event).clientY),r=e.x,n=e.y;this.events.push({type:"onmousemove",x:r,y:n,run:function(t){t.onMouseMove&&t.onMouseMove()}})}}]),t}(),Q="undefined"!==typeof window?window:null,Z="undefined"!==typeof fetch?fetch.bind(void 0):null,K=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.fetch,i=void 0===n?Z:n,a=r.window,o=void 0===a?Q:a;u(this,t),this.ctx=e,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new X,this.mouse=new H(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=o,this.fetch=i}return s(t,[{key:"wait",value:function(t){this.waits.push(t)}},{key:"ready",value:function(){return this.readyPromise?this.readyPromise:Promise.resolve()}},{key:"isReady",value:function(){if(this.isReadyLock)return!0;var t=this.waits.every((function(t){return t()}));return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}},{key:"setDefaults",value:function(t){t.strokeStyle="rgba(0,0,0,0)",t.lineCap="butt",t.lineJoin="miter",t.miterLimit=4}},{key:"setViewBox",value:function(t){var e=t.document,r=t.ctx,n=t.aspectRatio,a=t.width,o=t.desiredWidth,c=t.height,u=t.desiredHeight,s=t.minX,f=void 0===s?0:s,l=t.minY,h=void 0===l?0:l,d=t.refX,p=t.refY,v=t.clip,y=void 0!==v&&v,g=t.clipX,b=void 0===g?0:g,x=t.clipY,S=void 0===x?0:x,w=m(n).replace(/^defer\s/,"").split(" "),k=i(w,2),P=k[0]||"xMidYMid",R=k[1]||"meet",A=a/o,E=c/u,C=Math.min(A,E),M=Math.max(A,E),T=o,O=u;"meet"===R&&(T*=C,O*=C),"slice"===R&&(T*=M,O*=M);var D=new q(e,"refX",d),V=new q(e,"refY",p),L=D.hasValue()&&V.hasValue();if(L&&r.translate(-C*D.getPixels("x"),-C*V.getPixels("y")),y){var N=C*b,I=C*S;r.beginPath(),r.moveTo(N,I),r.lineTo(a,I),r.lineTo(a,c),r.lineTo(N,c),r.closePath(),r.clip()}if(!L){var j="meet"===R&&C===E,z="slice"===R&&M===E,B="meet"===R&&C===A,F="slice"===R&&M===A;/^xMid/.test(P)&&(j||z)&&r.translate(a/2-T/2,0),/YMid$/.test(P)&&(B||F)&&r.translate(0,c/2-O/2),/^xMax/.test(P)&&(j||z)&&r.translate(a-T,0),/YMax$/.test(P)&&(B||F)&&r.translate(0,c-O)}switch(!0){case"none"===P:r.scale(A,E);break;case"meet"===R:r.scale(C,C);break;case"slice"===R:r.scale(M,M)}r.translate(-f,-h)}},{key:"start",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.enableRedraw,i=void 0!==n&&n,a=r.ignoreMouse,o=void 0!==a&&a,c=r.ignoreAnimation,u=void 0!==c&&c,s=r.ignoreDimensions,l=void 0!==s&&s,h=r.ignoreClear,d=void 0!==h&&h,p=r.forceRedraw,v=r.scaleWidth,y=r.scaleHeight,g=r.offsetX,b=r.offsetY,m=this.FRAMERATE,x=this.mouse,S=1e3/m;if(this.frameDuration=S,this.readyPromise=new Promise((function(t){e.resolveReady=t})),this.isReady()&&this.render(t,l,d,v,y,g,b),i){var w=Date.now(),k=w,P=0,R=function r(){w=Date.now(),(P=w-k)>=S&&(k=w-P%S,e.shouldUpdate(u,p)&&(e.render(t,l,d,v,y,g,b),x.runEvents())),e.intervalId=f(r)};o||x.start(),this.intervalId=f(R)}}},{key:"stop",value:function(){this.intervalId&&(f.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}},{key:"shouldUpdate",value:function(t,e){if(!t){var r=this.frameDuration,n=this.animations.reduce((function(t,e){return e.update(r)||t}),!1);if(n)return!0}return!("function"!==typeof e||!e())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}},{key:"render",value:function(t,e,r,n,i,a,o){var c=this.CLIENT_WIDTH,u=this.CLIENT_HEIGHT,s=this.viewPort,f=this.ctx,l=this.isFirstRender,h=f.canvas;s.clear(),h.width&&h.height?s.setCurrent(h.width,h.height):s.setCurrent(c,u);var d=t.getStyle("width"),p=t.getStyle("height");!e&&(l||"number"!==typeof n&&"number"!==typeof i)&&(d.hasValue()&&(h.width=d.getPixels("x"),h.style&&(h.style.width="".concat(h.width,"px"))),p.hasValue()&&(h.height=p.getPixels("y"),h.style&&(h.style.height="".concat(h.height,"px"))));var v=h.clientWidth||h.width,y=h.clientHeight||h.height;if(e&&d.hasValue()&&p.hasValue()&&(v=d.getPixels("x"),y=p.getPixels("y")),s.setCurrent(v,y),"number"===typeof a&&t.getAttribute("x",!0).setValue(a),"number"===typeof o&&t.getAttribute("y",!0).setValue(o),"number"===typeof n||"number"===typeof i){var g=w(t.getAttribute("viewBox").getString()),b=0,m=0;if("number"===typeof n){var x=t.getStyle("width");x.hasValue()?b=x.getPixels("x")/n:isNaN(g[2])||(b=g[2]/n)}if("number"===typeof i){var S=t.getStyle("height");S.hasValue()?m=S.getPixels("y")/i:isNaN(g[3])||(m=g[3]/i)}b||(b=m),m||(m=b),t.getAttribute("width",!0).setValue(n),t.getAttribute("height",!0).setValue(i);var k=t.getStyle("transform",!0,!0);k.setValue("".concat(k.getString()," scale(").concat(1/b,", ").concat(1/m,")"))}r||f.clearRect(0,0,v,y),t.render(f),l&&(this.isFirstRender=!1)}}]),t}();K.defaultWindow=Q,K.defaultFetch=Z;var J=K.defaultFetch,tt="undefined"!==typeof DOMParser?DOMParser:null,et=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.fetch,n=void 0===r?J:r,i=e.DOMParser,a=void 0===i?tt:i;u(this,t),this.fetch=n,this.DOMParser=a}var e,r;return s(t,[{key:"parse",value:(r=o(a.mark((function t(e){return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!/^</.test(e)){t.next=2;break}return t.abrupt("return",this.parseFromString(e));case 2:return t.abrupt("return",this.load(e));case 3:case"end":return t.stop()}}),t,this)}))),function(t){return r.apply(this,arguments)})},{key:"parseFromString",value:function(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,"image/svg+xml"))}catch(r){return this.checkDocument(e.parseFromString(t,"text/xml"))}}},{key:"checkDocument",value:function(t){var e=t.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return t}},{key:"load",value:(e=o(a.mark((function t(e){var r,n;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.fetch(e);case 2:return r=t.sent,t.next=5,r.text();case 5:return n=t.sent,t.abrupt("return",this.parseFromString(n));case 7:case"end":return t.stop()}}),t,this)}))),function(t){return e.apply(this,arguments)})}]),t}(),rt=function(){function t(e,r){u(this,t),this.type="translate",this.point=null,this.point=Y.parse(r)}return s(t,[{key:"apply",value:function(t){var e=this.point,r=e.x,n=e.y;t.translate(r||0,n||0)}},{key:"unapply",value:function(t){var e=this.point,r=e.x,n=e.y;t.translate(-1*r||0,-1*n||0)}},{key:"applyToPoint",value:function(t){var e=this.point,r=e.x,n=e.y;t.applyTransform([1,0,0,1,r||0,n||0])}}]),t}(),nt=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];u(this,t),this.type="rotate",this.angle=null,this.cx=0,this.cy=0;var i=w(r);this.angle=new q(e,"angle",i[0]),this.cx=(i[1]||0)+(n[0]||0),this.cy=(i[2]||0)+(n[1]||0)}return s(t,[{key:"apply",value:function(t){var e=this.cx,r=this.cy,n=this.angle;t.translate(e,r),t.rotate(n.getRadians()),t.translate(-e,-r)}},{key:"unapply",value:function(t){var e=this.cx,r=this.cy,n=this.angle;t.translate(e,r),t.rotate(-1*n.getRadians()),t.translate(-e,-r)}},{key:"applyToPoint",value:function(t){var e=this.cx,r=this.cy,n=this.angle.getRadians();t.applyTransform([1,0,0,1,e||0,r||0]),t.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),t.applyTransform([1,0,0,1,-e||0,-r||0])}}]),t}(),it=function(){function t(e,r){u(this,t),this.type="scale",this.scale=null;var n=Y.parseScale(r);0!==n.x&&0!==n.y||(n.x=1e-8,n.y=1e-8),this.scale=n}return s(t,[{key:"apply",value:function(t){var e=this.scale,r=e.x,n=e.y;t.scale(r,n||r)}},{key:"unapply",value:function(t){var e=this.scale,r=e.x,n=e.y;t.scale(1/r,1/n||r)}},{key:"applyToPoint",value:function(t){var e=this.scale,r=e.x,n=e.y;t.applyTransform([r||0,0,0,n||0,0,0])}}]),t}(),at=function(){function t(e,r){u(this,t),this.type="matrix",this.matrix=[],this.matrix=w(r)}return s(t,[{key:"apply",value:function(t){var e=this.matrix;t.transform(e[0],e[1],e[2],e[3],e[4],e[5])}},{key:"unapply",value:function(t){var e=this.matrix,r=e[0],n=e[2],i=e[4],a=e[1],o=e[3],c=e[5],u=1/(r*(1*o-0*c)-n*(1*a-0*c)+i*(0*a-0*o));t.transform(u*(1*o-0*c),u*(0*c-1*a),u*(0*i-1*n),u*(1*r-0*i),u*(n*c-i*o),u*(i*a-r*c))}},{key:"applyToPoint",value:function(t){t.applyTransform(this.matrix)}}]),t}();function ot(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ct=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ot()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e){var i;return u(this,n),(i=r.call(this,t,e)).type="skew",i.angle=null,i.angle=new q(t,"angle",e),i}return n}(at);function ut(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var st=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ut()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e){var i;return u(this,n),(i=r.call(this,t,e)).type="skewX",i.matrix=[1,0,Math.tan(i.angle.getRadians()),1,0,0],i}return n}(ct);function ft(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var lt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ft()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e){var i;return u(this,n),(i=r.call(this,t,e)).type="skewY",i.matrix=[1,Math.tan(i.angle.getRadians()),0,1,0,0],i}return n}(ct);var ht=function(){function t(e,r,n){var a=this;u(this,t),this.document=e,this.transforms=[];var o=function(t){return m(t).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}(r),c=n?w(n):[];o.forEach((function(e){if("none"!==e){var r=function(t){var e=t.split("("),r=i(e,2),n=r[0],a=r[1];return[n.trim(),a.trim().replace(")","")]}(e),n=i(r,2),o=n[0],u=n[1],s=t.transformTypes[o];"undefined"!==typeof s&&a.transforms.push(new s(a.document,u,c))}}))}return s(t,[{key:"apply",value:function(t){for(var e=this.transforms,r=e.length,n=0;n<r;n++)e[n].apply(t)}},{key:"unapply",value:function(t){for(var e=this.transforms,r=e.length-1;r>=0;r--)e[r].unapply(t)}},{key:"applyToPoint",value:function(t){for(var e=this.transforms,r=e.length,n=0;n<r;n++)e[n].applyToPoint(t)}}],[{key:"fromElement",value:function(e,r){var n=r.getStyle("transform",!1,!0),i=r.getStyle("transform-origin",!1,!0);return n.hasValue()?new t(e,n.getString(),i.getString()):null}}]),t}();ht.transformTypes={translate:rt,rotate:nt,scale:it,matrix:at,skewX:st,skewY:lt};var dt=function(){function t(e,r){var n=this,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(u(this,t),this.document=e,this.node=r,this.captureTextNodes=a,this.attributes={},this.styles={},this.stylesSpecificity={},this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],r&&1===r.nodeType){if(Array.from(r.attributes).forEach((function(t){var r=P(t.nodeName);n.attributes[r]=new q(e,r,t.value)})),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var o=this.getAttribute("style").getString().split(";").map((function(t){return t.trim()}));o.forEach((function(t){if(t){var r=t.split(":").map((function(t){return t.trim()})),a=i(r,2),o=a[0],c=a[1];n.styles[o]=new q(e,o,c)}}))}var c=e.definitions,s=this.getAttribute("id");s.hasValue()&&(c[s.getValue()]||(c[s.getValue()]=this)),Array.from(r.childNodes).forEach((function(t){if(1===t.nodeType)n.addChild(t);else if(a&&(3===t.nodeType||4===t.nodeType)){var r=e.createTextNode(t);r.getText().length>0&&n.addChild(r)}}))}}return s(t,[{key:"getAttribute",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.attributes[t];if(!r&&e){var n=new q(this.document,t,"");return this.attributes[t]=n,n}return r||q.empty(this.document)}},{key:"getHrefAttribute",value:function(){for(var t in this.attributes)if("href"===t||/:href$/.test(t))return this.attributes[t];return q.empty(this.document)}},{key:"getStyle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.styles[t];if(n)return n;var i=this.getAttribute(t);if(i&&i.hasValue())return this.styles[t]=i,i;if(!r){var a=this.parent;if(a){var o=a.getStyle(t);if(o&&o.hasValue())return o}}if(e){var c=new q(this.document,t,"");return this.styles[t]=c,c}return n||q.empty(this.document)}},{key:"render",value:function(t){if("none"!==this.getStyle("display").getString()&&"hidden"!==this.getStyle("visibility").getString()){if(t.save(),this.getStyle("mask").hasValue()){var e=this.getStyle("mask").getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if("none"!==this.getStyle("filter").getValue("none")){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(t),r.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}},{key:"setContext",value:function(t){}},{key:"applyEffects",value:function(t){var e=ht.fromElement(this.document,this);e&&e.apply(t);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var n=r.getDefinition();n&&n.apply(t)}}},{key:"clearContext",value:function(t){}},{key:"renderChildren",value:function(t){this.children.forEach((function(e){e.render(t)}))}},{key:"addChild",value:function(e){var r=e instanceof t?e:this.document.createElement(e);r.parent=this,t.ignoreChildTypes.includes(r.type)||this.children.push(r)}},{key:"matchesSelector",value:function(t){var e=this.node;if("function"===typeof e.matches)return e.matches(t);var r=e.getAttribute("class");return!(!r||""===r)&&r.split(" ").some((function(e){if(".".concat(e)===t)return!0}))}},{key:"addStylesFromStyleDefinition",value:function(){var t=this.document,e=t.styles,r=t.stylesSpecificity;for(var n in e)if("@"!==n[0]&&this.matchesSelector(n)){var i=e[n],a=r[n];if(i)for(var o in i){var c=this.stylesSpecificity[o];"undefined"===typeof c&&(c="000"),a>=c&&(this.styles[o]=i[o],this.stylesSpecificity[o]=a)}}}},{key:"removeStyles",value:function(t,e){return e.reduce((function(e,r){var n=t.getStyle(r);if(!n.hasValue())return e;var i=n.getString();return n.setValue(""),[].concat(v(e),[[r,i]])}),[])}},{key:"restoreStyles",value:function(t,e){e.forEach((function(e){var r=i(e,2),n=r[0],a=r[1];t.getStyle(n,!0).setValue(a)}))}}]),t}();function pt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}dt.ignoreChildTypes=["title"];var vt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(pt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){return u(this,n),r.call(this,t,e,i)}return n}(dt);function yt(t){var e=t.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function gt(t){if(!t)return"";var e=t.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function bt(t){if(!t)return"";var e=t.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var mt=function(){function e(t,r,n,i,a,o){u(this,e);var c=o?"string"===typeof o?e.parse(o):o:{};this.fontFamily=a||c.fontFamily,this.fontSize=i||c.fontSize,this.fontStyle=t||c.fontStyle,this.fontWeight=n||c.fontWeight,this.fontVariant=r||c.fontVariant}return s(e,[{key:"toString",value:function(){return[gt(this.fontStyle),this.fontVariant,bt(this.fontWeight),this.fontSize,(e=this.fontFamily,"undefined"===typeof t?e:e.trim().split(",").map(yt).join(","))].join(" ").trim();var e}}],[{key:"parse",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,n="",a="",o="",c="",u="",s=m(t).trim().split(" "),f={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return s.forEach((function(t){switch(!0){case!f.fontStyle&&e.styles.includes(t):"inherit"!==t&&(n=t),f.fontStyle=!0;break;case!f.fontVariant&&e.variants.includes(t):"inherit"!==t&&(a=t),f.fontStyle=!0,f.fontVariant=!0;break;case!f.fontWeight&&e.weights.includes(t):"inherit"!==t&&(o=t),f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0;break;case!f.fontSize:if("inherit"!==t){var r=t.split("/"),s=i(r,1);c=s[0]}f.fontStyle=!0,f.fontVariant=!0,f.fontWeight=!0,f.fontSize=!0;break;default:"inherit"!==t&&(u+=t)}})),new e(n,a,o,c,u,r)}}]),e}();mt.styles="normal|italic|oblique|inherit",mt.variants="normal|small-caps|inherit",mt.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var xt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;u(this,t),this.x1=e,this.y1=r,this.x2=n,this.y2=i,this.addPoint(e,r),this.addPoint(n,i)}return s(t,[{key:"addPoint",value:function(t,e){"undefined"!==typeof t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),"undefined"!==typeof e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}},{key:"addX",value:function(t){this.addPoint(t,null)}},{key:"addY",value:function(t){this.addPoint(null,t)}},{key:"addBoundingBox",value:function(t){if(t){var e=t.x1,r=t.y1,n=t.x2,i=t.y2;this.addPoint(e,r),this.addPoint(n,i)}}},{key:"sumCubic",value:function(t,e,r,n,i){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*r+3*(1-t)*Math.pow(t,2)*n+Math.pow(t,3)*i}},{key:"bezierCurveAdd",value:function(t,e,r,n,i){var a=6*e-12*r+6*n,o=-3*e+9*r-9*n+3*i,c=3*r-3*e;if(0!==o){var u=Math.pow(a,2)-4*c*o;if(!(u<0)){var s=(-a+Math.sqrt(u))/(2*o);0<s&&s<1&&(t?this.addX(this.sumCubic(s,e,r,n,i)):this.addY(this.sumCubic(s,e,r,n,i)));var f=(-a-Math.sqrt(u))/(2*o);0<f&&f<1&&(t?this.addX(this.sumCubic(f,e,r,n,i)):this.addY(this.sumCubic(f,e,r,n,i)))}}else{if(0===a)return;var l=-c/a;0<l&&l<1&&(t?this.addX(this.sumCubic(l,e,r,n,i)):this.addY(this.sumCubic(l,e,r,n,i)))}}},{key:"addBezierCurve",value:function(t,e,r,n,i,a,o,c){this.addPoint(t,e),this.addPoint(o,c),this.bezierCurveAdd(!0,t,r,i,o),this.bezierCurveAdd(!1,e,n,a,c)}},{key:"addQuadraticCurve",value:function(t,e,r,n,i,a){var o=t+2/3*(r-t),c=e+2/3*(n-e),u=o+1/3*(i-t),s=c+1/3*(a-e);this.addBezierCurve(t,e,o,u,c,s,i,a)}},{key:"isPointInBox",value:function(t,e){var r=this.x1,n=this.y1,i=this.x2,a=this.y2;return r<=t&&t<=i&&n<=e&&e<=a}},{key:"x",get:function(){return this.x1}},{key:"y",get:function(){return this.y1}},{key:"width",get:function(){return this.x2-this.x1}},{key:"height",get:function(){return this.y2-this.y1}}]),t}();function St(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var wt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(St()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).modifiedEmSizeStack=!1,t}return s(n,[{key:"calculateOpacity",value:function(){for(var t=1,e=this;e;){var r=e.getStyle("opacity",!1,!0);r.hasValue()&&(t*=r.getNumber()),e=e.parent}return t}},{key:"setContext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var r=this.getStyle("fill"),n=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),a=this.getStyle("stroke-opacity");if(r.isUrlDefinition()){var o=r.getFillStyleDefinition(this,n);o&&(t.fillStyle=o)}else if(r.hasValue()){"currentColor"===r.getString()&&r.setValue(this.getStyle("color").getColor());var c=r.getColor();"inherit"!==c&&(t.fillStyle="none"===c?"rgba(0,0,0,0)":c)}if(n.hasValue()){var u=new q(this.document,"fill",t.fillStyle).addOpacity(n).getColor();t.fillStyle=u}if(i.isUrlDefinition()){var s=i.getFillStyleDefinition(this,a);s&&(t.strokeStyle=s)}else if(i.hasValue()){"currentColor"===i.getString()&&i.setValue(this.getStyle("color").getColor());var f=i.getString();"inherit"!==f&&(t.strokeStyle="none"===f?"rgba(0,0,0,0)":f)}if(a.hasValue()){var l=new q(this.document,"stroke",t.strokeStyle).addOpacity(a).getString();t.strokeStyle=l}var h=this.getStyle("stroke-width");if(h.hasValue()){var d=h.getPixels();t.lineWidth=d||1e-8}var p=this.getStyle("stroke-linecap"),v=this.getStyle("stroke-linejoin"),y=this.getStyle("stroke-miterlimit"),g=this.getStyle("paint-order"),b=this.getStyle("stroke-dasharray"),m=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(t.lineCap=p.getString()),v.hasValue()&&(t.lineJoin=v.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),g.hasValue()&&(t.paintOrder=g.getValue()),b.hasValue()&&"none"!==b.getString()){var x=w(b.getString());"undefined"!==typeof t.setLineDash?t.setLineDash(x):"undefined"!==typeof t.webkitLineDash?t.webkitLineDash=x:"undefined"===typeof t.mozDash||1===x.length&&0===x[0]||(t.mozDash=x);var S=m.getPixels();"undefined"!==typeof t.lineDashOffset?t.lineDashOffset=S:"undefined"!==typeof t.webkitLineDashOffset?t.webkitLineDashOffset=S:"undefined"!==typeof t.mozDashOffset&&(t.mozDashOffset=S)}}if(this.modifiedEmSizeStack=!1,"undefined"!==typeof t.font){var k=this.getStyle("font"),P=this.getStyle("font-style"),R=this.getStyle("font-variant"),A=this.getStyle("font-weight"),E=this.getStyle("font-size"),C=this.getStyle("font-family"),M=new mt(P.getString(),R.getString(),A.getString(),E.hasValue()?"".concat(E.getPixels(!0),"px"):"",C.getString(),mt.parse(k.getString(),t.font));P.setValue(M.fontStyle),R.setValue(M.fontVariant),A.setValue(M.fontWeight),E.setValue(M.fontSize),C.setValue(M.fontFamily),t.font=M.toString(),E.isPixels()&&(this.document.emSize=E.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}},{key:"clearContext",value:function(t){y(d(n.prototype),"clearContext",this).call(this,t),this.modifiedEmSizeStack&&this.document.popEmSize()}}]),n}(dt);function kt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Pt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(kt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,(this instanceof n?this.constructor:void 0)===n||i)).type="text",a.x=0,a.y=0,a.measureCache=-1,a}return s(n,[{key:"setContext",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];y(d(n.prototype),"setContext",this).call(this,t,e);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(t.textBaseline=r)}},{key:"initializeCoordinates",value:function(t){this.x=this.getAttribute("x").getPixels("x"),this.y=this.getAttribute("y").getPixels("y");var e=this.getAttribute("dx"),r=this.getAttribute("dy");e.hasValue()&&(this.x+=e.getPixels("x")),r.hasValue()&&(this.y+=r.getPixels("y")),this.x+=this.getAnchorDelta(t,this,0)}},{key:"getBoundingBox",value:function(t){var e=this;if("text"!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(t);var r=null;return this.children.forEach((function(n,i){var a=e.getChildBoundingBox(t,e,e,i);r?r.addBoundingBox(a):r=a})),r}},{key:"getFontSize",value:function(){var t=this.document,e=this.parent,r=mt.parse(t.ctx.font).fontSize;return e.getStyle("font-size").getNumber(r)}},{key:"getTElementBoundingBox",value:function(t){var e=this.getFontSize();return new xt(this.x,this.y-e,this.x+this.measureText(t),this.y)}},{key:"getGlyph",value:function(t,e,r){var n=e[r],i=null;if(t.isArabic){var a=e.length,o=e[r-1],c=e[r+1],u="isolated";(0===r||" "===o)&&r<a-2&&" "!==c&&(u="terminal"),r>0&&" "!==o&&r<a-2&&" "!==c&&(u="medial"),r>0&&" "!==o&&(r===a-1||" "===c)&&(u="initial"),"undefined"!==typeof t.glyphs[n]&&((i=t.glyphs[n][u])||"glyph"!==t.glyphs[n].type||(i=t.glyphs[n]))}else i=t.glyphs[n];return i||(i=t.missingGlyph),i}},{key:"getText",value:function(){return""}},{key:"getTextFromNode",value:function(t){var e=t||this.node,r=Array.from(e.parentNode.childNodes),n=r.indexOf(e),i=r.length-1,a=m(e.value||e.text||e.textContent||"");return 0===n&&(a=x(a)),n===i&&(a=S(a)),a}},{key:"renderChildren",value:function(t){var e=this;if("text"===this.type){this.initializeCoordinates(t),this.children.forEach((function(r,n){e.renderChild(t,e,e,n)}));var r=this.document.screen.mouse;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}},{key:"renderTElementChildren",value:function(t){var e=this.document,r=this.parent,n=this.getText(),i=r.getStyle("font-family").getDefinition();if(i)for(var a=i.fontFace.unitsPerEm,o=mt.parse(e.ctx.font),c=r.getStyle("font-size").getNumber(o.fontSize),u=r.getStyle("font-style").getString(o.fontStyle),s=c/a,f=i.isRTL?n.split("").reverse().join(""):n,l=w(r.getAttribute("dx").getString()),h=f.length,d=0;d<h;d++){var p=this.getGlyph(i,f,d);t.translate(this.x,this.y),t.scale(s,-s);var v=t.lineWidth;t.lineWidth=t.lineWidth*a/c,"italic"===u&&t.transform(1,0,.4,1,0,0),p.render(t),"italic"===u&&t.transform(1,0,-.4,1,0,0),t.lineWidth=v,t.scale(1/s,-1/s),t.translate(-this.x,-this.y),this.x+=c*(p.horizAdvX||i.horizAdvX)/a,"undefined"===typeof l[d]||isNaN(l[d])||(this.x+=l[d])}else{var y=this.x,g=this.y;"stroke"===t.paintOrder?(t.strokeStyle&&t.strokeText(n,y,g),t.fillStyle&&t.fillText(n,y,g)):(t.fillStyle&&t.fillText(n,y,g),t.strokeStyle&&t.strokeText(n,y,g))}}},{key:"getAnchorDelta",value:function(t,e,r){var n=this.getStyle("text-anchor").getString("start");if("start"!==n){for(var i=e.children,a=i.length,o=null,c=0,u=r;u<a&&(o=i[u],!(u>r&&o.getAttribute("x").hasValue()||o.getAttribute("text-anchor").hasValue()));u++)c+=o.measureTextRecursive(t);return-1*("end"===n?c:c/2)}return 0}},{key:"adjustChildCoordinates",value:function(t,e,r,n){var i=r.children[n];if("function"!==typeof i.measureText)return i;t.save(),i.setContext(t,!0);var a=i.getAttribute("x"),o=i.getAttribute("y"),c=i.getAttribute("dx"),u=i.getAttribute("dy"),s=i.getAttribute("text-anchor").getString("start");if(0===n&&"textNode"!==i.type&&(a.hasValue()||a.setValue(e.getAttribute("x").getValue("0")),o.hasValue()||o.setValue(e.getAttribute("y").getValue("0")),c.hasValue()||c.setValue(e.getAttribute("dx").getValue("0")),u.hasValue()||u.setValue(e.getAttribute("dy").getValue("0"))),a.hasValue()){if(i.x=a.getPixels("x")+e.getAnchorDelta(t,r,n),"start"!==s){var f=i.measureTextRecursive(t);i.x+=-1*("end"===s?f:f/2)}c.hasValue()&&(i.x+=c.getPixels("x"))}else{if("start"!==s){var l=i.measureTextRecursive(t);e.x+=-1*("end"===s?l:l/2)}c.hasValue()&&(e.x+=c.getPixels("x")),i.x=e.x}return e.x=i.x+i.measureText(t),o.hasValue()?(i.y=o.getPixels("y"),u.hasValue()&&(i.y+=u.getPixels("y"))):(u.hasValue()&&(e.y+=u.getPixels("y")),i.y=e.y),e.y=i.y,i.clearContext(t),t.restore(),i}},{key:"getChildBoundingBox",value:function(t,e,r,n){var i=this.adjustChildCoordinates(t,e,r,n),a=i.getBoundingBox(t);return a?(i.children.forEach((function(r,n){var o=e.getChildBoundingBox(t,e,i,n);a.addBoundingBox(o)})),a):null}},{key:"renderChild",value:function(t,e,r,n){var i=this.adjustChildCoordinates(t,e,r,n);i.render(t),i.children.forEach((function(r,n){e.renderChild(t,e,i,n)}))}},{key:"measureTextRecursive",value:function(t){return this.children.reduce((function(e,r){return e+r.measureTextRecursive(t)}),this.measureText(t))}},{key:"measureText",value:function(t){var e=this.measureCache;if(~e)return e;var r=this.getText(),n=this.measureTargetText(t,r);return this.measureCache=n,n}},{key:"measureTargetText",value:function(t,e){if(!e.length)return 0;var r=this.parent,n=r.getStyle("font-family").getDefinition();if(n){for(var i=this.getFontSize(),a=n.isRTL?e.split("").reverse().join(""):e,o=w(r.getAttribute("dx").getString()),c=a.length,u=0,s=0;s<c;s++){u+=(this.getGlyph(n,a,s).horizAdvX||n.horizAdvX)*i/n.fontFace.unitsPerEm,"undefined"===typeof o[s]||isNaN(o[s])||(u+=o[s])}return u}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var f=t.measureText(e).width;return this.clearContext(t),t.restore(),f}}]),n}(wt);function Rt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var At=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Rt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,(this instanceof n?this.constructor:void 0)===n||i)).type="tspan",a.text=a.children.length>0?"":a.getTextFromNode(),a}return s(n,[{key:"getText",value:function(){return this.text}}]),n}(Pt);function Et(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ct=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Et()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="textNode",t}return n}(At);var Mt=function(){function t(e){u(this,t),this.control=null,this.start=null,this.current=null,this.command="",this.tokens=[],this.i=-1,this.previousCommand="",this.points=[],this.angles=[],this.tokens=function(t){return m(t.replace(/,/gm," ").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([MmZzLlHhVvCcSsQqTtAa])([^\s])/gm,"$1 $2").replace(/([^\s])([MmZzLlHhVvCcSsQqTtAa])/gm,"$1 $2").replace(/([0-9])([+\-])/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/(\.[0-9]*)(\.)/gm,"$1 $2").replace(/([Aa](?:\s+(?:[0-9]*\.)?[0-9]+){3})\s+([01])\s*([01])/gm,"$1 $2 $3 ")).trim()}(e).split(" ")}return s(t,[{key:"reset",value:function(){this.i=-1,this.command="",this.previousCommand="",this.start=new Y(0,0),this.control=new Y(0,0),this.current=new Y(0,0),this.points=[],this.angles=[]}},{key:"isEnd",value:function(){return this.i>=this.tokens.length-1}},{key:"isCommandOrEnd",value:function(){if(this.isEnd())return!0;var t=this.i,e=this.tokens;return/^[A-Za-z]$/.test(e[t+1])}},{key:"isRelativeCommand",value:function(){switch(this.command){case"m":case"l":case"h":case"v":case"c":case"s":case"q":case"t":case"a":case"z":return!0;default:return!1}}},{key:"getToken",value:function(){return this.i++,this.tokens[this.i]}},{key:"getScalar",value:function(){return parseFloat(this.getToken())}},{key:"nextCommand",value:function(){this.previousCommand=this.command,this.command=this.getToken()}},{key:"getPoint",value:function(){var t=new Y(this.getScalar(),this.getScalar());return this.makeAbsolute(t)}},{key:"getAsControlPoint",value:function(){var t=this.getPoint();return this.control=t,t}},{key:"getAsCurrentPoint",value:function(){var t=this.getPoint();return this.current=t,t}},{key:"getReflectedControlPoint",value:function(){var t=this.previousCommand.toLowerCase();if("c"!==t&&"s"!==t&&"q"!==t&&"t"!==t)return this.current;var e=this.current,r=e.x,n=e.y,i=this.control,a=i.x,o=i.y;return new Y(2*r-a,2*n-o)}},{key:"makeAbsolute",value:function(t){if(this.isRelativeCommand()){var e=this.current,r=e.x,n=e.y;t.x+=r,t.y+=n}return t}},{key:"addMarker",value:function(t,e,r){var n=this.points,i=this.angles;r&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=n[n.length-1].angleTo(r)),this.addMarkerAngle(t,e?e.angleTo(t):null)}},{key:"addMarkerAngle",value:function(t,e){this.points.push(t),this.angles.push(e)}},{key:"getMarkerPoints",value:function(){return this.points}},{key:"getMarkerAngles",value:function(){for(var t=this.angles,e=t.length,r=0;r<e;r++)if(!t[r])for(var n=r+1;n<e;n++)if(t[n]){t[r]=t[n];break}return t}}]),t}();function Tt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ot=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Tt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="path",a.pathParser=null,a.pathParser=new Mt(a.getAttribute("d").getString()),a}return s(n,[{key:"path",value:function(t){var e=this.pathParser,r=new xt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.nextCommand(),e.command){case"M":case"m":this.pathM(t,r);break;case"L":case"l":this.pathL(t,r);break;case"H":case"h":this.pathH(t,r);break;case"V":case"v":this.pathV(t,r);break;case"C":case"c":this.pathC(t,r);break;case"S":case"s":this.pathS(t,r);break;case"Q":case"q":this.pathQ(t,r);break;case"T":case"t":this.pathT(t,r);break;case"A":case"a":this.pathA(t,r);break;case"Z":case"z":this.pathZ(t,r)}return r}},{key:"getBoundingBox",value:function(t){return this.path()}},{key:"getMarkers",value:function(){var t=this.pathParser,e=t.getMarkerPoints(),r=t.getMarkerAngles();return e.map((function(t,e){return[t,r[e]]}))}},{key:"renderChildren",value:function(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle("fill-rule");""!==t.fillStyle&&("inherit"!==e.getString("inherit")?t.fill(e.getString()):t.fill()),""!==t.strokeStyle&&t.stroke();var r=this.getMarkers();if(r){var n=r.length-1,a=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),c=this.getStyle("marker-end");if(a.isUrlDefinition()){var u=a.getDefinition(),s=i(r[0],2),f=s[0],l=s[1];u.render(t,f,l)}if(o.isUrlDefinition())for(var h=o.getDefinition(),d=1;d<n;d++){var p=i(r[d],2),v=p[0],y=p[1];h.render(t,v,y)}if(c.isUrlDefinition()){var g=c.getDefinition(),b=i(r[n],2),m=b[0],x=b[1];g.render(t,m,x)}}}},{key:"pathM",value:function(t,e){var r=this.pathParser,n=r.getAsCurrentPoint(),i=n.x,a=n.y;for(r.addMarker(n),e.addPoint(i,a),t&&t.moveTo(i,a),r.start=r.current;!r.isCommandOrEnd();){var o=r.getAsCurrentPoint(),c=o.x,u=o.y;r.addMarker(o,r.start),e.addPoint(c,u),t&&t.lineTo(c,u)}}},{key:"pathL",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getAsCurrentPoint(),a=i.x,o=i.y;r.addMarker(i,n),e.addPoint(a,o),t&&t.lineTo(a,o)}}},{key:"pathH",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=new Y((r.isRelativeCommand()?n.x:0)+r.getScalar(),n.y);r.addMarker(i,n),r.current=i,e.addPoint(i.x,i.y),t&&t.lineTo(i.x,i.y)}}},{key:"pathV",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=new Y(n.x,(r.isRelativeCommand()?n.y:0)+r.getScalar());r.addMarker(i,n),r.current=i,e.addPoint(i.x,i.y),t&&t.lineTo(i.x,i.y)}}},{key:"pathC",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getPoint(),a=r.getAsControlPoint(),o=r.getAsCurrentPoint();r.addMarker(o,a,i),e.addBezierCurve(n.x,n.y,i.x,i.y,a.x,a.y,o.x,o.y),t&&t.bezierCurveTo(i.x,i.y,a.x,a.y,o.x,o.y)}}},{key:"pathS",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getReflectedControlPoint(),a=r.getAsControlPoint(),o=r.getAsCurrentPoint();r.addMarker(o,a,i),e.addBezierCurve(n.x,n.y,i.x,i.y,a.x,a.y,o.x,o.y),t&&t.bezierCurveTo(i.x,i.y,a.x,a.y,o.x,o.y)}}},{key:"pathQ",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getAsControlPoint(),a=r.getAsCurrentPoint();r.addMarker(a,i,i),e.addQuadraticCurve(n.x,n.y,i.x,i.y,a.x,a.y),t&&t.quadraticCurveTo(i.x,i.y,a.x,a.y)}}},{key:"pathT",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getReflectedControlPoint();r.control=i;var a=r.getAsCurrentPoint();r.addMarker(a,i,i),e.addQuadraticCurve(n.x,n.y,i.x,i.y,a.x,a.y),t&&t.quadraticCurveTo(i.x,i.y,a.x,a.y)}}},{key:"pathA",value:function(t,e){for(var r=this.pathParser;!r.isCommandOrEnd();){var n=r.current,i=r.getScalar(),a=r.getScalar(),o=r.getScalar()*(Math.PI/180),c=r.getScalar(),u=r.getScalar(),s=r.getAsCurrentPoint(),f=new Y(Math.cos(o)*(n.x-s.x)/2+Math.sin(o)*(n.y-s.y)/2,-Math.sin(o)*(n.x-s.x)/2+Math.cos(o)*(n.y-s.y)/2),l=Math.pow(f.x,2)/Math.pow(i,2)+Math.pow(f.y,2)/Math.pow(a,2);l>1&&(i*=Math.sqrt(l),a*=Math.sqrt(l));var h=(c===u?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(a,2)-Math.pow(i,2)*Math.pow(f.y,2)-Math.pow(a,2)*Math.pow(f.x,2))/(Math.pow(i,2)*Math.pow(f.y,2)+Math.pow(a,2)*Math.pow(f.x,2)));isNaN(h)&&(h=0);var d=new Y(h*i*f.y/a,h*-a*f.x/i),p=new Y((n.x+s.x)/2+Math.cos(o)*d.x-Math.sin(o)*d.y,(n.y+s.y)/2+Math.sin(o)*d.x+Math.cos(o)*d.y),v=z([1,0],[(f.x-d.x)/i,(f.y-d.y)/a]),y=[(f.x-d.x)/i,(f.y-d.y)/a],g=[(-f.x-d.x)/i,(-f.y-d.y)/a],b=z(y,g);j(y,g)<=-1&&(b=Math.PI),j(y,g)>=1&&(b=0);var m=1-u?1:-1,x=v+m*(b/2),S=new Y(p.x+i*Math.cos(x),p.y+a*Math.sin(x));if(r.addMarkerAngle(S,x-m*Math.PI/2),r.addMarkerAngle(s,x-m*Math.PI),e.addPoint(s.x,s.y),t&&!isNaN(v)&&!isNaN(b)){var w=i>a?i:a,k=i>a?1:i/a,P=i>a?a/i:1;t.translate(p.x,p.y),t.rotate(o),t.scale(k,P),t.arc(0,0,w,v,v+b,Boolean(1-u)),t.scale(1/k,1/P),t.rotate(-o),t.translate(-p.x,-p.y)}}}},{key:"pathZ",value:function(t,e){var r=this.pathParser;t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath(),r.current=r.start}}]),n}(wt);function Dt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Vt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Dt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="svg",t.root=!1,t}return s(n,[{key:"clearContext",value:function(t){y(d(n.prototype),"clearContext",this).call(this,t),this.document.screen.viewPort.removeCurrent()}},{key:"setContext",value:function(t){var e=this.document,r=e.screen,i=e.window,a=t.canvas;if(r.setDefaults(t),a.style&&"undefined"!==typeof t.font&&i&&"undefined"!==typeof i.getComputedStyle){t.font=i.getComputedStyle(a).getPropertyValue("font");var o=new q(e,"fontSize",mt.parse(t.font).fontSize);o.hasValue()&&(e.rootEmSize=o.getPixels("y"),e.emSize=e.rootEmSize)}y(d(n.prototype),"setContext",this).call(this,t),this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0),t.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y"));var c=r.viewPort,u=c.width,s=c.height;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var f=this.getAttribute("refX"),l=this.getAttribute("refY"),h=this.getAttribute("viewBox"),p=h.hasValue()?w(h.getString()):null,v=!this.root&&"visible"!==this.getAttribute("overflow").getValue("hidden"),g=0,b=0,m=0,x=0;p&&(g=p[0],b=p[1]),this.root||(u=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y"),"marker"===this.type&&(m=g,x=b,g=0,b=0)),r.viewPort.setCurrent(u,s),p&&(u=p[2],s=p[3]),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:r.viewPort.width,desiredWidth:u,height:r.viewPort.height,desiredHeight:s,minX:g,minY:b,refX:f.getValue(),refY:l.getValue(),clip:v,clipX:m,clipY:x}),p&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(u,s))}},{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getAttribute("width",!0),i=this.getAttribute("height",!0),a=this.getAttribute("viewBox"),o=this.getAttribute("style"),c=n.getNumber(0),u=i.getNumber(0);if(r)if("string"===typeof r)this.getAttribute("preserveAspectRatio",!0).setValue(r);else{var s=this.getAttribute("preserveAspectRatio");s.hasValue()&&s.setValue(s.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(t),i.setValue(e),a.hasValue()||a.setValue("0 0 ".concat(c||t," ").concat(u||e)),o.hasValue()){var f=this.getStyle("width"),l=this.getStyle("height");f.hasValue()&&f.setValue("".concat(t,"px")),l.hasValue()&&l.setValue("".concat(e,"px"))}}}]),n}(wt);function Lt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Nt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Lt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="rect",t}return s(n,[{key:"path",value:function(t){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),n=this.getStyle("width").getPixels("x"),i=this.getStyle("height").getPixels("y"),a=this.getAttribute("rx"),o=this.getAttribute("ry"),c=a.getPixels("x"),u=o.getPixels("y");if(a.hasValue()&&!o.hasValue()&&(u=c),o.hasValue()&&!a.hasValue()&&(c=u),c=Math.min(c,n/2),u=Math.min(u,i/2),t){var s=(Math.sqrt(2)-1)/3*4;t.beginPath(),i>0&&n>0&&(t.moveTo(e+c,r),t.lineTo(e+n-c,r),t.bezierCurveTo(e+n-c+s*c,r,e+n,r+u-s*u,e+n,r+u),t.lineTo(e+n,r+i-u),t.bezierCurveTo(e+n,r+i-u+s*u,e+n-c+s*c,r+i,e+n-c,r+i),t.lineTo(e+c,r+i),t.bezierCurveTo(e+c-s*c,r+i,e,r+i-u+s*u,e,r+i-u),t.lineTo(e,r+u),t.bezierCurveTo(e,r+u-s*u,e+c-s*c,r,e+c,r),t.closePath())}return new xt(e,r,e+n,r+i)}},{key:"getMarkers",value:function(){return null}}]),n}(Ot);function It(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var jt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(It()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="circle",t}return s(n,[{key:"path",value:function(t){var e=this.getAttribute("cx").getPixels("x"),r=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return t&&n>0&&(t.beginPath(),t.arc(e,r,n,0,2*Math.PI,!1),t.closePath()),new xt(e-n,r-n,e+n,r+n)}},{key:"getMarkers",value:function(){return null}}]),n}(Ot);function zt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Bt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(zt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="ellipse",t}return s(n,[{key:"path",value:function(t){var e=(Math.sqrt(2)-1)/3*4,r=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),a=this.getAttribute("cy").getPixels("y");return t&&r>0&&n>0&&(t.beginPath(),t.moveTo(i+r,a),t.bezierCurveTo(i+r,a+e*n,i+e*r,a+n,i,a+n),t.bezierCurveTo(i-e*r,a+n,i-r,a+e*n,i-r,a),t.bezierCurveTo(i-r,a-e*n,i-e*r,a-n,i,a-n),t.bezierCurveTo(i+e*r,a-n,i+r,a-e*n,i+r,a),t.closePath()),new xt(i-r,a-n,i+r,a+n)}},{key:"getMarkers",value:function(){return null}}]),n}(Ot);function Ft(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var _t=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Ft()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="line",t}return s(n,[{key:"getPoints",value:function(){return[new Y(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new Y(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}},{key:"path",value:function(t){var e=this.getPoints(),r=i(e,2),n=r[0],a=n.x,o=n.y,c=r[1],u=c.x,s=c.y;return t&&(t.beginPath(),t.moveTo(a,o),t.lineTo(u,s)),new xt(a,o,u,s)}},{key:"getMarkers",value:function(){var t=this.getPoints(),e=i(t,2),r=e[0],n=e[1],a=r.angleTo(n);return[[r,a],[n,a]]}}]),n}(Ot);function $t(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Gt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if($t()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="polyline",a.points=[],a.points=Y.parsePath(a.getAttribute("points").getString()),a}return s(n,[{key:"path",value:function(t){var e=this.points,r=i(e,1)[0],n=r.x,a=r.y,o=new xt(n,a);return t&&(t.beginPath(),t.moveTo(n,a)),e.forEach((function(e){var r=e.x,n=e.y;o.addPoint(r,n),t&&t.lineTo(r,n)})),o}},{key:"getMarkers",value:function(){var t=this.points,e=t.length-1,r=[];return t.forEach((function(n,i){i!==e&&r.push([n,n.angleTo(t[i+1])])})),r.length>0&&r.push([t[t.length-1],r[r.length-1][1]]),r}}]),n}(Ot);function Ut(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Wt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Ut()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="polygon",t}return s(n,[{key:"path",value:function(t){var e=y(d(n.prototype),"path",this).call(this,t),r=i(this.points,1)[0],a=r.x,o=r.y;return t&&(t.lineTo(a,o),t.closePath()),e}}]),n}(Gt);function qt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Xt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(qt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="pattern",t}return s(n,[{key:"createPattern",value:function(t,e,r){var n=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),a=new Vt(this.document,null);a.attributes.viewBox=new q(this.document,"viewBox",this.getAttribute("viewBox").getValue()),a.attributes.width=new q(this.document,"width","".concat(n,"px")),a.attributes.height=new q(this.document,"height","".concat(i,"px")),a.attributes.transform=new q(this.document,"transform",this.getAttribute("patternTransform").getValue()),a.children=this.children;var o=this.document.createCanvas(n,i),c=o.getContext("2d"),u=this.getAttribute("x"),s=this.getAttribute("y");u.hasValue()&&s.hasValue()&&c.translate(u.getPixels("x",!0),s.getPixels("y",!0)),r.hasValue()?this.styles["fill-opacity"]=r:Reflect.deleteProperty(this.styles,"fill-opacity");for(var f=-1;f<=1;f++)for(var l=-1;l<=1;l++)c.save(),a.attributes.x=new q(this.document,"x",f*o.width),a.attributes.y=new q(this.document,"y",l*o.height),a.render(c),c.restore();return t.createPattern(o,"repeat")}}]),n}(dt);function Yt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ht=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Yt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="marker",t}return s(n,[{key:"render",value:function(t,e,r){if(e){var n=e.x,i=e.y,a=this.getAttribute("orient").getValue("auto"),o=this.getAttribute("markerUnits").getValue("strokeWidth");t.translate(n,i),"auto"===a&&t.rotate(r),"strokeWidth"===o&&t.scale(t.lineWidth,t.lineWidth),t.save();var c=new Vt(this.document,null);c.type=this.type,c.attributes.viewBox=new q(this.document,"viewBox",this.getAttribute("viewBox").getValue()),c.attributes.refX=new q(this.document,"refX",this.getAttribute("refX").getValue()),c.attributes.refY=new q(this.document,"refY",this.getAttribute("refY").getValue()),c.attributes.width=new q(this.document,"width",this.getAttribute("markerWidth").getValue()),c.attributes.height=new q(this.document,"height",this.getAttribute("markerHeight").getValue()),c.attributes.overflow=new q(this.document,"overflow",this.getAttribute("overflow").getValue()),c.attributes.fill=new q(this.document,"fill",this.getAttribute("fill").getColor("black")),c.attributes.stroke=new q(this.document,"stroke",this.getAttribute("stroke").getValue("none")),c.children=this.children,c.render(t),t.restore(),"strokeWidth"===o&&t.scale(1/t.lineWidth,1/t.lineWidth),"auto"===a&&t.rotate(-r),t.translate(-n,-i)}}}]),n}(dt);function Qt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Zt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Qt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="defs",t}return s(n,[{key:"render",value:function(){}}]),n}(dt);function Kt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Jt=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Kt()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="g",t}return s(n,[{key:"getBoundingBox",value:function(t){var e=new xt;return this.children.forEach((function(r){e.addBoundingBox(r.getBoundingBox(t))})),e}}]),n}(wt);function te(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ee=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(te()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;u(this,n),(a=r.call(this,t,e,i)).attributesToInherit=["gradientUnits"],a.stops=[];var o=g(a),c=o.stops;return o.children.forEach((function(t){"stop"===t.type&&c.push(t)})),a}return s(n,[{key:"getGradientUnits",value:function(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}},{key:"createGradient",value:function(t,e,r){var n=this,a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var o=a.stops,c=this.getGradient(t,e);if(!c)return this.addParentOpacity(r,o[o.length-1].color);if(o.forEach((function(t){c.addColorStop(t.offset,n.addParentOpacity(r,t.color))})),this.getAttribute("gradientTransform").hasValue()){var u=this.document,s=u.screen,f=s.MAX_VIRTUAL_PIXELS,l=s.viewPort,h=i(l.viewPorts,1)[0],d=new Nt(u,null);d.attributes.x=new q(u,"x",-f/3),d.attributes.y=new q(u,"y",-f/3),d.attributes.width=new q(u,"width",f),d.attributes.height=new q(u,"height",f);var p=new Jt(u,null);p.attributes.transform=new q(u,"transform",this.getAttribute("gradientTransform").getValue()),p.children=[d];var v=new Vt(u,null);v.attributes.x=new q(u,"x",0),v.attributes.y=new q(u,"y",0),v.attributes.width=new q(u,"width",h.width),v.attributes.height=new q(u,"height",h.height),v.children=[p];var y=u.createCanvas(h.width,h.height),g=y.getContext("2d");return g.fillStyle=c,v.render(g),g.createPattern(y,"no-repeat")}return c}},{key:"inheritStopContainer",value:function(t){var e=this;this.attributesToInherit.forEach((function(r){!e.getAttribute(r).hasValue()&&t.getAttribute(r).hasValue()&&e.getAttribute(r,!0).setValue(t.getAttribute(r).getValue())}))}},{key:"addParentOpacity",value:function(t,e){return t.hasValue()?new q(this.document,"color",e).addOpacity(t).getColor():e}}]),n}(dt);function re(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ne=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(re()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="linearGradient",a.attributesToInherit.push("x1","y1","x2","y2"),a}return s(n,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=r?e.getBoundingBox(t):null;if(r&&!n)return null;this.getAttribute("x1").hasValue()||this.getAttribute("y1").hasValue()||this.getAttribute("x2").hasValue()||this.getAttribute("y2").hasValue()||(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var i=r?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),a=r?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),o=r?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),c=r?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===o&&a===c?null:t.createLinearGradient(i,a,o,c)}}]),n}(ee);function ie(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ae=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ie()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="radialGradient",a.attributesToInherit.push("cx","cy","r","fx","fy","fr"),a}return s(n,[{key:"getGradient",value:function(t,e){var r="objectBoundingBox"===this.getGradientUnits(),n=e.getBoundingBox(t);if(r&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var i=r?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),a=r?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),o=i,c=a;this.getAttribute("fx").hasValue()&&(o=r?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(c=r?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var u=r?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),s=this.getAttribute("fr").getPixels();return t.createRadialGradient(o,c,s,i,a,u)}}]),n}(ee);function oe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ce=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(oe()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;u(this,n),(a=r.call(this,t,e,i)).type="stop";var o=Math.max(0,Math.min(1,a.getAttribute("offset").getNumber())),c=a.getStyle("stop-opacity"),s=a.getStyle("stop-color",!0);return""===s.getString()&&s.setValue("#000"),c.hasValue()&&(s=s.addOpacity(c)),a.offset=o,a.color=s.getColor(),a}return n}(dt);function ue(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var se=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ue()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="animate",a.duration=0,a.initialValue=null,a.initialUnits="",a.removed=!1,a.frozen=!1,t.screen.animations.push(g(a)),a.begin=a.getAttribute("begin").getMilliseconds(),a.maxDuration=a.begin+a.getAttribute("dur").getMilliseconds(),a.from=a.getAttribute("from"),a.to=a.getAttribute("to"),a.values=a.getAttribute("values"),a.values.hasValue()&&a.values.setValue(a.values.getString().split(";")),a}return s(n,[{key:"getProperty",value:function(){var t=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return"CSS"===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}},{key:"calcValue",value:function(){var t=this.initialUnits,e=this.getProgress(),r=e.progress,n=e.from,i=e.to,a=n.getNumber()+(i.getNumber()-n.getNumber())*r;return"%"===t&&(a*=100),"".concat(a).concat(t)}},{key:"update",value:function(t){var e=this.parent,r=this.getProperty();if(this.initialValue||(this.initialValue=r.getString(),this.initialUnits=r.getUnits()),this.duration>this.maxDuration){var n=this.getAttribute("fill").getString("remove");if("indefinite"===this.getAttribute("repeatCount").getString()||"indefinite"===this.getAttribute("repeatDur").getString())this.duration=0;else if("freeze"!==n||this.frozen){if("remove"===n&&!this.removed)return this.removed=!0,r.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=r.getString();return!1}this.duration+=t;var i=!1;if(this.begin<this.duration){var a=this.calcValue(),o=this.getAttribute("type");if(o.hasValue()){var c=o.getString();a="".concat(c,"(").concat(a,")")}r.setValue(a),i=!0}return i}},{key:"getProgress",value:function(){var t=this.document,e=this.values,r={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var n=r.progress*(e.getValue().length-1),i=Math.floor(n),a=Math.ceil(n);r.from=new q(t,"from",parseFloat(e.getValue()[i])),r.to=new q(t,"to",parseFloat(e.getValue()[a])),r.progress=(n-i)/(a-i)}else r.from=this.from,r.to=this.to;return r}}]),n}(dt);function fe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var le=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(fe()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="animateColor",t}return s(n,[{key:"calcValue",value:function(){var t=this.getProgress(),e=t.progress,r=t.from,n=t.to,i=new l(r.getColor()),a=new l(n.getColor());if(i.ok&&a.ok){var o=i.r+(a.r-i.r)*e,c=i.g+(a.g-i.g)*e,u=i.b+(a.b-i.b)*e;return"rgb(".concat(parseInt(o,10),", ").concat(parseInt(c,10),", ").concat(parseInt(u,10),")")}return this.getAttribute("from").getColor()}}]),n}(se);function he(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var de=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(he()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="animateTransform",t}return s(n,[{key:"calcValue",value:function(){var t=this.getProgress(),e=t.progress,r=t.from,n=t.to,i=w(r.getString()),a=w(n.getString());return i.map((function(t,r){return t+(a[r]-t)*e})).join(" ")}}]),n}(se);function pe(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"===typeof t)return ve(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ve(t,e)}(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,a=!0,o=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}function ve(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ye(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ge=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ye()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;u(this,n),(a=r.call(this,t,e,i)).type="font",a.glyphs={},a.horizAdvX=a.getAttribute("horiz-adv-x").getNumber();var o,c=t.definitions,s=pe(g(a).children);try{for(s.s();!(o=s.n()).done;){var f=o.value;switch(f.type){case"font-face":a.fontFace=f;var l=f.getStyle("font-family");l.hasValue()&&(c[l.getString()]=g(a));break;case"missing-glyph":a.missingGlyph=f;break;case"glyph":var h=f;h.arabicForm?(a.isRTL=!0,a.isArabic=!0,"undefined"===typeof a.glyphs[h.unicode]&&(a.glyphs[h.unicode]={}),a.glyphs[h.unicode][h.arabicForm]=h):a.glyphs[h.unicode]=h}}}catch(t){s.e(t)}finally{s.f()}return a}return s(n,[{key:"render",value:function(){}}]),n}(dt);function be(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var me=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(be()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="font-face",a.ascent=a.getAttribute("ascent").getNumber(),a.descent=a.getAttribute("descent").getNumber(),a.unitsPerEm=a.getAttribute("units-per-em").getNumber(),a}return n}(dt);function xe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Se=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(xe()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="missing-glyph",t.horizAdvX=0,t}return n}(Ot);function we(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ke=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(we()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="glyph",a.horizAdvX=a.getAttribute("horiz-adv-x").getNumber(),a.unicode=a.getAttribute("unicode").getString(),a.arabicForm=a.getAttribute("arabic-form").getString(),a}return n}(Ot);function Pe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Re=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Pe()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="tref",t}return s(n,[{key:"getText",value:function(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return""}}]),n}(Pt);function Ae(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ee=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Ae()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;u(this,n),(a=r.call(this,t,e,i)).type="a";var o=e.childNodes,c=o[0],s=o.length>0&&Array.from(o).every((function(t){return 3===t.nodeType}));return a.hasText=s,a.text=s?a.getTextFromNode(c):"",a}return s(n,[{key:"getText",value:function(){return this.text}},{key:"renderChildren",value:function(t){if(this.hasText){y(d(n.prototype),"renderChildren",this).call(this,t);var e=this.document,r=this.x,i=this.y,a=e.screen.mouse,o=new q(e,"fontSize",mt.parse(e.ctx.font).fontSize);a.isWorking()&&a.checkBoundingBox(this,new xt(r,i-o.getPixels("y"),r+this.measureText(t),i))}else if(this.children.length>0){var c=new Jt(this.document,null);c.children=this.children,c.parent=this,c.render(t)}}},{key:"onClick",value:function(){var t=this.document.window;t&&t.open(this.getHrefAttribute().getString())}},{key:"onMouseMove",value:function(){this.document.ctx.canvas.style.cursor="pointer"}}]),n}(Pt);function Ce(t){if("undefined"===typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=function(t,e){if(!t)return;if("string"===typeof t)return Me(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Me(t,e)}(t))){var e=0,r=function(){};return{s:r,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,a=!0,o=!1;return{s:function(){n=t[Symbol.iterator]()},n:function(){var t=n.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==n.return||n.return()}finally{if(o)throw i}}}}function Me(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Te(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Oe=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Te()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;u(this,n),(a=r.call(this,t,e,i)).type="textPath",a.textWidth=0,a.textHeight=0,a.pathLength=-1,a.glyphInfo=null,a.letterSpacingCache=[],a.measuresCache=new Map([["",0]]);var o=a.getHrefAttribute().getDefinition();return a.text=a.getTextFromNode(),a.dataArray=a.parsePathData(o),a}return s(n,[{key:"getText",value:function(){return this.text}},{key:"path",value:function(t){var e=this.dataArray;t&&t.beginPath(),e.forEach((function(e){var r=e.command,n=e.points;switch(r){case"L":t&&t.lineTo(n[0],n[1]);break;case"M":t&&t.moveTo(n[0],n[1]);break;case"C":t&&t.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case"Q":t&&t.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case"A":var i=n[0],a=n[1],o=n[2],c=n[3],u=n[4],s=n[5],f=n[6],l=n[7],h=o>c?o:c,d=o>c?1:o/c,p=o>c?c/o:1;t&&(t.translate(i,a),t.rotate(f),t.scale(d,p),t.arc(0,0,h,u,u+s,Boolean(1-l)),t.scale(1/d,1/p),t.rotate(-f),t.translate(-i,-a));break;case"z":t&&t.closePath()}}))}},{key:"renderChildren",value:function(t){this.setTextData(t),t.save();var e=this.parent.getStyle("text-decoration").getString(),r=this.getFontSize(),n=this.glyphInfo,i=t.fillStyle;"underline"===e&&t.beginPath(),n.forEach((function(i,a){var o=i.p0,c=i.p1,u=i.text;t.save(),t.translate(o.x,o.y),t.rotate(n[a].rotation),t.fillStyle&&t.fillText(u,0,0),t.strokeStyle&&t.strokeText(u,0,0),t.restore(),"underline"===e&&(0===a&&t.moveTo(o.x,o.y+r/8),t.lineTo(c.x,c.y+r/5))})),"underline"===e&&(t.lineWidth=r/20,t.strokeStyle=i,t.stroke(),t.closePath()),t.restore()}},{key:"getLetterSpacingAt",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}},{key:"findSegmentToFitChar",value:function(t,e,r,n,i,a,o,c){var u=a,s=this.measureText(t,o);" "===o&&"justify"===e&&r<n&&(s+=(n-r)/i),c>-1&&(u+=this.getLetterSpacingAt(c));var f=this.textHeight/20,l={p0:this.getEquidistantPointOnPath(u,f),p1:this.getEquidistantPointOnPath(u+s,f)};return{offset:u+=s,segment:l}}},{key:"measureText",value:function(t,e){var r=this.measuresCache,n=e||this.getText();if(r.has(n))return r.get(n);var i=this.measureTargetText(t,n);return r.set(n,i),i}},{key:"setTextData",value:function(t){var e=this;if(!this.glyphInfo){var r=this.getText(),n=r.split(""),i=r.split(" ").length-1,a=w(this.parent.getAttribute("dx").getString("0")),o=this.parent.getStyle("text-anchor").getString("start"),c=this.getStyle("letter-spacing"),u=this.parent.getStyle("letter-spacing"),s=0;c.hasValue()&&"inherit"!==c.getValue()?c.hasValue()&&"initial"!==c.getValue()&&"unset"!==c.getValue()&&(s=c.getPixels()):s=u.getPixels();var f=[],l=r.length;this.letterSpacingCache=f;for(var h=0;h<l;h++)f.push("undefined"!==typeof a[h]?a[h]:s);var d=f.reduce((function(t,e){return t+e||0}),0);this.textWidth=this.measureText(t),this.textHeight=this.getFontSize();var p=Math.max(this.textWidth+d,0);this.glyphInfo=[];var v=this.getPathLength(),y=this.getStyle("startOffset").getNumber(0)*v,g=0;"middle"!==o&&"center"!==o||(g=-p/2),"end"!==o&&"right"!==o||(g=-p),g+=y,n.forEach((function(r,a){var c=e.findSegmentToFitChar(t,o,p,v,i,g,r,a),u=c.offset,s=c.segment;if(g=u,s.p0&&s.p1){var f=e.getLineLength(s.p0.x,s.p0.y,s.p1.x,s.p1.y),l=e.getPointOnLine(0+f/2,s.p0.x,s.p0.y,s.p1.x,s.p1.y),h=Math.atan2(s.p1.y-s.p0.y,s.p1.x-s.p0.x);e.glyphInfo.push({transposeX:l.x,transposeY:l.y,text:n[a],p0:s.p0,p1:s.p1,rotation:h})}}))}}},{key:"parsePathData",value:function(t){if(this.pathLength=-1,!t)return[];var e=[],r=t.pathParser;for(r.reset();!r.isEnd();){var n=r.current,i=n?n.x:0,a=n?n.y:0,o="",c=[];r.nextCommand();var u=r.command.toUpperCase();switch(r.command){case"M":case"m":o=this.pathM(r,c);break;case"L":case"l":o=this.pathL(r,c);break;case"H":case"h":o=this.pathH(r,c);break;case"V":case"v":o=this.pathV(r,c);break;case"C":case"c":this.pathC(r,c);break;case"S":case"s":o=this.pathS(r,c);break;case"Q":case"q":this.pathQ(r,c);break;case"T":case"t":o=this.pathT(r,c);break;case"A":case"a":c=this.pathA(r);break;case"Z":case"z":r.current=r.start}"Z"!==u?e.push({command:o||u,points:c,start:{x:i,y:a},pathLength:this.calcLength(i,a,o||u,c)}):e.push({command:"z",points:[],pathLength:0})}return e}},{key:"pathM",value:function(t,e){var r=t.getAsCurrentPoint();for(e.push(r.x,r.y),t.start=t.current;!t.isCommandOrEnd();){var n=t.getAsCurrentPoint();return e.push(n.x,n.y),"L"}}},{key:"pathL",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getAsCurrentPoint();e.push(r.x,r.y)}return"L"}},{key:"pathH",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.current,n=new Y((t.isRelativeCommand()?r.x:0)+t.getScalar(),r.y);e.push(n.x,n.y),t.current=n}return"L"}},{key:"pathV",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.current,n=new Y(r.x,(t.isRelativeCommand()?r.y:0)+t.getScalar());e.push(n.x,n.y),t.current=n}return"L"}},{key:"pathC",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getPoint(),n=t.getAsControlPoint(),i=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y,i.x,i.y)}}},{key:"pathS",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getReflectedControlPoint(),n=t.getAsControlPoint(),i=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y,i.x,i.y)}return"C"}},{key:"pathQ",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getAsControlPoint(),n=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y)}}},{key:"pathT",value:function(t,e){for(;!t.isCommandOrEnd();){var r=t.getReflectedControlPoint();t.control=r;var n=t.getAsCurrentPoint();e.push(r.x,r.y,n.x,n.y)}return"Q"}},{key:"pathA",value:function(t){for(;!t.isCommandOrEnd();){var e=t.current,r=t.getScalar(),n=t.getScalar(),i=t.getScalar()*(Math.PI/180),a=t.getScalar(),o=t.getScalar(),c=t.getAsCurrentPoint(),u=new Y(Math.cos(i)*(e.x-c.x)/2+Math.sin(i)*(e.y-c.y)/2,-Math.sin(i)*(e.x-c.x)/2+Math.cos(i)*(e.y-c.y)/2),s=Math.pow(u.x,2)/Math.pow(r,2)+Math.pow(u.y,2)/Math.pow(n,2);s>1&&(r*=Math.sqrt(s),n*=Math.sqrt(s));var f=(a===o?-1:1)*Math.sqrt((Math.pow(r,2)*Math.pow(n,2)-Math.pow(r,2)*Math.pow(u.y,2)-Math.pow(n,2)*Math.pow(u.x,2))/(Math.pow(r,2)*Math.pow(u.y,2)+Math.pow(n,2)*Math.pow(u.x,2)));isNaN(f)&&(f=0);var l=new Y(f*r*u.y/n,f*-n*u.x/r),h=new Y((e.x+c.x)/2+Math.cos(i)*l.x-Math.sin(i)*l.y,(e.y+c.y)/2+Math.sin(i)*l.x+Math.cos(i)*l.y),d=z([1,0],[(u.x-l.x)/r,(u.y-l.y)/n]),p=[(u.x-l.x)/r,(u.y-l.y)/n],v=[(-u.x-l.x)/r,(-u.y-l.y)/n],y=z(p,v);return j(p,v)<=-1&&(y=Math.PI),j(p,v)>=1&&(y=0),0===o&&y>0&&(y-=2*Math.PI),1===o&&y<0&&(y+=2*Math.PI),[h.x,h.y,r,n,d,y,i,o]}}},{key:"calcLength",value:function(t,e,r,n){var i=0,a=null,o=null,c=0;switch(r){case"L":return this.getLineLength(t,e,n[0],n[1]);case"C":for(i=0,a=this.getPointOnCubicBezier(0,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),c=.01;c<=1;c+=.01)o=this.getPointOnCubicBezier(c,t,e,n[0],n[1],n[2],n[3],n[4],n[5]),i+=this.getLineLength(a.x,a.y,o.x,o.y),a=o;return i;case"Q":for(i=0,a=this.getPointOnQuadraticBezier(0,t,e,n[0],n[1],n[2],n[3]),c=.01;c<=1;c+=.01)o=this.getPointOnQuadraticBezier(c,t,e,n[0],n[1],n[2],n[3]),i+=this.getLineLength(a.x,a.y,o.x,o.y),a=o;return i;case"A":i=0;var u=n[4],s=n[5],f=n[4]+s,l=Math.PI/180;if(Math.abs(u-f)<l&&(l=Math.abs(u-f)),a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],u,0),s<0)for(c=u-l;c>f;c-=l)o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],c,0),i+=this.getLineLength(a.x,a.y,o.x,o.y),a=o;else for(c=u+l;c<f;c+=l)o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],c,0),i+=this.getLineLength(a.x,a.y,o.x,o.y),a=o;return o=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],f,0),i+=this.getLineLength(a.x,a.y,o.x,o.y)}return 0}},{key:"getPointOnLine",value:function(t,e,r,n,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:r,c=(i-r)/(n-e+1e-8),u=Math.sqrt(t*t/(1+c*c));n<e&&(u*=-1);var s=c*u,f=null;if(n===e)f={x:a,y:o+s};else if((o-r)/(a-e+1e-8)===c)f={x:a+u,y:o+s};else{var l=0,h=0,d=this.getLineLength(e,r,n,i);if(d<1e-8)return null;var p=(a-e)*(n-e)+(o-r)*(i-r);l=e+(p/=d*d)*(n-e),h=r+p*(i-r);var v=this.getLineLength(a,o,l,h),y=Math.sqrt(t*t-v*v);u=Math.sqrt(y*y/(1+c*c)),n<e&&(u*=-1),f={x:l+u,y:h+(s=c*u)}}return f}},{key:"getPointOnPath",value:function(t){var e=this.getPathLength(),r=0,n=null;if(t<-5e-5||t-5e-5>e)return null;var i,a=Ce(this.dataArray);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(!o||!(o.pathLength<5e-5||r+o.pathLength+5e-5<t)){var c=t-r,u=0;switch(o.command){case"L":n=this.getPointOnLine(c,o.start.x,o.start.y,o.points[0],o.points[1],o.start.x,o.start.y);break;case"A":var s=o.points[4],f=o.points[5],l=o.points[4]+f;if(u=s+c/o.pathLength*f,f<0&&u<l||f>=0&&u>l)break;n=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break;case"C":(u=c/o.pathLength)>1&&(u=1),n=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case"Q":(u=c/o.pathLength)>1&&(u=1),n=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3])}if(n)return n;break}r+=o.pathLength}}catch(t){a.e(t)}finally{a.f()}return null}},{key:"getLineLength",value:function(t,e,r,n){return Math.sqrt((r-t)*(r-t)+(n-e)*(n-e))}},{key:"getPathLength",value:function(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((function(t,e){return e.pathLength>0?t+e.pathLength:t}),0)),this.pathLength}},{key:"getPointOnCubicBezier",value:function(t,e,r,n,i,a,o,c,u){return{x:c*B(t)+a*F(t)+n*_(t)+e*$(t),y:u*B(t)+o*F(t)+i*_(t)+r*$(t)}}},{key:"getPointOnQuadraticBezier",value:function(t,e,r,n,i,a,o){return{x:a*G(t)+n*U(t)+e*W(t),y:o*G(t)+i*U(t)+r*W(t)}}},{key:"getPointOnEllipticalArc",value:function(t,e,r,n,i,a){var o=Math.cos(a),c=Math.sin(a),u=r*Math.cos(i),s=n*Math.sin(i);return{x:t+(u*o-s*c),y:e+(u*c+s*o)}}},{key:"buildEquidistantCache",value:function(t,e){var r=this.getPathLength(),n=e||.25,i=t||r/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==n){this.equidistantCache={step:i,precision:n,points:[]};for(var a=0,o=0;o<=r;o+=n){var c=this.getPointOnPath(o),u=this.getPointOnPath(o+n);c&&u&&((a+=this.getLineLength(c.x,c.y,u.x,u.y))>=i&&(this.equidistantCache.points.push({x:c.x,y:c.y,distance:o}),a-=i))}}}},{key:"getEquidistantPointOnPath",value:function(t,e,r){if(this.buildEquidistantCache(e,r),t<0||t-this.getPathLength()>5e-5)return null;var n=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}}]),n}(Pt);function De(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ve=function(t){p(c,t);var e,r,n,i=(e=c,function(){var t,r=d(e);if(De()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function c(t,e,r){var n;u(this,c),(n=i.call(this,t,e,r)).type="image",n.loaded=!1;var a=n.getHrefAttribute().getString();if(!a)return h(n);var o=/\.svg$/.test(a);return t.images.push(g(n)),o?n.loadSvg(a):n.loadImage(a),n.isSvg=o,n}return s(c,[{key:"loadImage",value:(n=o(a.mark((function t(e){var r;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.createImage(e);case 3:r=t.sent,this.image=r,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error('Error while loading image "'.concat(e,'":'),t.t0);case 10:this.loaded=!0;case 11:case"end":return t.stop()}}),t,this,[[0,7]])}))),function(t){return n.apply(this,arguments)})},{key:"loadSvg",value:(r=o(a.mark((function t(e){var r,n;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.document.fetch(e);case 3:return r=t.sent,t.next=6,r.text();case 6:n=t.sent,this.image=n,t.next=13;break;case 10:t.prev=10,t.t0=t.catch(0),console.error('Error while loading image "'.concat(e,'":'),t.t0);case 13:this.loaded=!0;case 14:case"end":return t.stop()}}),t,this,[[0,10]])}))),function(t){return r.apply(this,arguments)})},{key:"renderChildren",value:function(t){var e=this.document,r=this.image,n=this.loaded,i=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y");if(n&&r&&o&&c){if(t.save(),this.isSvg)e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:i,offsetY:a,scaleWidth:o,scaleHeight:c}).render();else{var u=this.image;t.translate(i,a),e.setViewBox({ctx:t,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o,desiredWidth:u.width,height:c,desiredHeight:u.height}),this.loaded&&("undefined"===typeof u.complete||u.complete)&&t.drawImage(u,0,0)}t.restore()}}},{key:"getBoundingBox",value:function(){var t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),r=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new xt(t,e,t+r,e+n)}}]),c}(wt);function Le(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ne=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Le()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="symbol",t}return s(n,[{key:"render",value:function(t){}}]),n}(wt),Ie=function(){function t(e){u(this,t),this.document=e,this.loaded=!1,e.fonts.push(this)}var e;return s(t,[{key:"load",value:(e=o(a.mark((function t(e,r){var n,i,o;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=this.document,t.next=4,n.canvg.parser.load(r);case 4:i=t.sent,o=i.getElementsByTagName("font"),Array.from(o).forEach((function(t){var r=n.createElement(t);n.definitions[e]=r})),t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),console.error('Error while loading font "'.concat(r,'":'),t.t0);case 12:this.loaded=!0;case 13:case"end":return t.stop()}}),t,this,[[0,9]])}))),function(t,r){return e.apply(this,arguments)})}]),t}();function je(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ze=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(je()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="style",m(Array.from(e.childNodes).map((function(t){return t.data})).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach((function(e){var r=e.trim();if(r){var n=r.split("{"),i=n[0].split(","),a=n[1].split(";");i.forEach((function(e){var r=e.trim();if(r){var n=t.styles[r]||{};if(a.forEach((function(e){var r=e.indexOf(":"),i=e.substr(0,r).trim(),a=e.substr(r+1,e.length-r).trim();i&&a&&(n[i]=new q(t,i,a))})),t.styles[r]=n,t.stylesSpecificity[r]=N(r),"@font-face"===r){var i=n["font-family"].getString().replace(/"|'/g,"");n.src.getString().split(",").forEach((function(e){if(e.indexOf('format("svg")')>0){var r=R(e);r&&new Ie(t).load(i,r)}}))}}}))}})),a}return n}(dt);function Be(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}ze.parseExternalUrl=R;var Fe=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Be()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="use",t}return s(n,[{key:"setContext",value:function(t){y(d(n.prototype),"setContext",this).call(this,t);var e=this.getAttribute("x"),r=this.getAttribute("y");e.hasValue()&&t.translate(e.getPixels("x"),0),r.hasValue()&&t.translate(0,r.getPixels("y"))}},{key:"path",value:function(t){var e=this.element;e&&e.path(t)}},{key:"renderChildren",value:function(t){var e=this.document,r=this.element;if(r){var n=r;if("symbol"===r.type&&((n=new Vt(e,null)).attributes.viewBox=new q(e,"viewBox",r.getAttribute("viewBox").getString()),n.attributes.preserveAspectRatio=new q(e,"preserveAspectRatio",r.getAttribute("preserveAspectRatio").getString()),n.attributes.overflow=new q(e,"overflow",r.getAttribute("overflow").getString()),n.children=r.children),"svg"===n.type){var i=this.getStyle("width",!1,!0),a=this.getStyle("height",!1,!0);i.hasValue()&&(n.attributes.width=new q(e,"width",i.getString())),a.hasValue()&&(n.attributes.height=new q(e,"height",a.getString()))}var o=n.parent;n.parent=this,n.render(t),n.parent=o}}},{key:"getBoundingBox",value:function(t){var e=this.element;return e?e.getBoundingBox(t):null}},{key:"elementTransform",value:function(){var t=this.document,e=this.element;return ht.fromElement(t,e)}},{key:"element",get:function(){return this._element||(this._element=this.getHrefAttribute().getDefinition()),this._element}}]),n}(wt);function _e(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function $e(t,e,r,n,i,a){return t[r*n*4+4*e+a]}function Ge(t,e,r,n,i,a,o){t[r*n*4+4*e+a]=o}function Ue(t,e,r){var n=t[e];return n*(n<0?r-255:r)}function We(t,e,r,n){return e+Math.cos(t)*r+Math.sin(t)*n}var qe=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(_e()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;u(this,n),(a=r.call(this,t,e,i)).type="feColorMatrix";var o=w(a.getAttribute("values").getString());switch(a.getAttribute("type").getString("matrix")){case"saturate":var c=o[0];o=[.213+.787*c,.715-.715*c,.072-.072*c,0,0,.213-.213*c,.715+.285*c,.072-.072*c,0,0,.213-.213*c,.715-.715*c,.072+.928*c,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var s=o[0]*Math.PI/180;o=[We(s,.213,.787,-.213),We(s,.715,-.715,-.715),We(s,.072,-.072,.928),0,0,We(s,.213,-.213,.143),We(s,.715,.285,.14),We(s,.072,-.072,-.283),0,0,We(s,.213,-.213,-.787),We(s,.715,-.715,.715),We(s,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case"luminanceToAlpha":o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1]}return a.matrix=o,a.includeOpacity=a.getAttribute("includeOpacity").hasValue(),a}return s(n,[{key:"apply",value:function(t,e,r,n,i){for(var a=this.includeOpacity,o=this.matrix,c=t.getImageData(0,0,n,i),u=0;u<i;u++)for(var s=0;s<n;s++){var f=$e(c.data,s,u,n,0,0),l=$e(c.data,s,u,n,0,1),h=$e(c.data,s,u,n,0,2),d=$e(c.data,s,u,n,0,3),p=Ue(o,0,f)+Ue(o,1,l)+Ue(o,2,h)+Ue(o,3,d)+Ue(o,4,1),v=Ue(o,5,f)+Ue(o,6,l)+Ue(o,7,h)+Ue(o,8,d)+Ue(o,9,1),y=Ue(o,10,f)+Ue(o,11,l)+Ue(o,12,h)+Ue(o,13,d)+Ue(o,14,1),g=Ue(o,15,f)+Ue(o,16,l)+Ue(o,17,h)+Ue(o,18,d)+Ue(o,19,1);a&&(p=v=y=0,g*=d/255),Ge(c.data,s,u,n,0,0,p),Ge(c.data,s,u,n,0,1,v),Ge(c.data,s,u,n,0,2,y),Ge(c.data,s,u,n,0,3,g)}t.clearRect(0,0,n,i),t.putImageData(c,0,0)}}]),n}(dt);function Xe(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Ye=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Xe()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="mask",t}return s(n,[{key:"apply",value:function(t,e){var r=this.document,i=this.getAttribute("x").getPixels("x"),a=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),c=this.getStyle("height").getPixels("y");if(!o&&!c){var u=new xt;this.children.forEach((function(e){u.addBoundingBox(e.getBoundingBox(t))})),i=Math.floor(u.x1),a=Math.floor(u.y1),o=Math.floor(u.width),c=Math.floor(u.height)}var s=this.removeStyles(e,n.ignoreStyles),f=r.createCanvas(i+o,a+c),l=f.getContext("2d");r.screen.setDefaults(l),this.renderChildren(l),new qe(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(l,0,0,i+o,a+c);var h=r.createCanvas(i+o,a+c),d=h.getContext("2d");r.screen.setDefaults(d),e.render(d),d.globalCompositeOperation="destination-in",d.fillStyle=l.createPattern(f,"no-repeat"),d.fillRect(0,0,i+o,a+c),t.fillStyle=d.createPattern(h,"no-repeat"),t.fillRect(0,0,i+o,a+c),this.restoreStyles(e,s)}},{key:"render",value:function(t){}}]),n}(dt);function He(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}Ye.ignoreStyles=["mask","transform","clip-path"];var Qe=function(){},Ze=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(He()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="clipPath",t}return s(n,[{key:"apply",value:function(t){var e=this.document,r=Reflect.getPrototypeOf(t),n=t.beginPath,i=t.closePath;r&&(r.beginPath=Qe,r.closePath=Qe),Reflect.apply(n,t,[]),this.children.forEach((function(n){if("undefined"!==typeof n.path){var a="undefined"!==typeof n.elementTransform?n.elementTransform():null;a||(a=ht.fromElement(e,n)),a&&a.apply(t),n.path(t),r&&(r.closePath=i),a&&a.unapply(t)}})),Reflect.apply(i,t,[]),t.clip(),r&&(r.beginPath=n,r.closePath=i)}},{key:"render",value:function(t){}}]),n}(dt);function Ke(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var Je=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(Ke()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="filter",t}return s(n,[{key:"apply",value:function(t,e){var r=this.document,i=this.children,a=e.getBoundingBox(t);if(a){var o=0,c=0;i.forEach((function(t){var e=t.extraFilterDistance||0;o=Math.max(o,e),c=Math.max(c,e)}));var u=Math.floor(a.width),s=Math.floor(a.height),f=u+2*o,l=s+2*c;if(!(f<1||l<1)){var h=Math.floor(a.x),d=Math.floor(a.y),p=this.removeStyles(e,n.ignoreStyles),v=r.createCanvas(f,l),y=v.getContext("2d");r.screen.setDefaults(y),y.translate(-h+o,-d+c),e.render(y),i.forEach((function(t){"function"===typeof t.apply&&t.apply(y,0,0,f,l)})),t.drawImage(v,0,0,f,l,h-o,d-c,f,l),this.restoreStyles(e,p)}}}},{key:"render",value:function(t){}}]),n}(dt);function tr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}Je.ignoreStyles=["filter","transform","clip-path"];var er=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(tr()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="feDropShadow",a.addStylesFromStyleDefinition(),a}return s(n,[{key:"apply",value:function(t,e,r,n,i){}}]),n}(dt);function rr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var nr=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(rr()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="feMorphology",t}return s(n,[{key:"apply",value:function(t,e,r,n,i){}}]),n}(dt);function ir(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var ar=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ir()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="feComposite",t}return s(n,[{key:"apply",value:function(t,e,r,n,i){}}]),n}(dt);function or(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var cr=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(or()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(t,e,i){var a;return u(this,n),(a=r.call(this,t,e,i)).type="feGaussianBlur",a.blurRadius=Math.floor(a.getAttribute("stdDeviation").getNumber()),a.extraFilterDistance=a.blurRadius,a}return s(n,[{key:"apply",value:function(t,e,r,n,i){var a=this.document,o=this.blurRadius,c=a.window?a.window.document.body:null,u=t.canvas;u.id=a.getUniqueId(),c&&(u.style.display="none",c.appendChild(u)),b.canvasRGBA(u,e,r,n,i,o),c&&c.removeChild(u)}}]),n}(dt);function ur(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var sr=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(ur()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="title",t}return n}(dt);function fr(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}var lr=function(t){p(n,t);var e,r=(e=n,function(){var t,r=d(e);if(fr()){var n=d(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return h(this,t)});function n(){var t;return u(this,n),(t=r.apply(this,arguments)).type="desc",t}return n}(dt),hr={svg:Vt,rect:Nt,circle:jt,ellipse:Bt,line:_t,polyline:Gt,polygon:Wt,path:Ot,pattern:Xt,marker:Ht,defs:Zt,linearGradient:ne,radialGradient:ae,stop:ce,animate:se,animateColor:le,animateTransform:de,font:ge,"font-face":me,"missing-glyph":Se,glyph:ke,text:Pt,tspan:At,tref:Re,a:Ee,textPath:Oe,image:Ve,g:Jt,symbol:Ne,style:ze,use:Fe,mask:Ye,clipPath:Ze,filter:Je,feDropShadow:er,feMorphology:nr,feComposite:ar,feColorMatrix:qe,feGaussianBlur:cr,title:sr,desc:lr};function dr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function pr(){return(pr=o(a.mark((function t(e){var r,n,i=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=i.length>1&&void 0!==i[1]&&i[1],n=document.createElement("img"),r&&(n.crossOrigin="Anonymous"),t.abrupt("return",new Promise((function(t,r){n.onload=function(){t(n)},n.onerror=function(){r()},n.src=e})));case 4:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var vr=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.rootEmSize,i=void 0===n?12:n,a=r.emSize,o=void 0===a?12:a,c=r.createCanvas,s=void 0===c?t.createCanvas:c,f=r.createImage,l=void 0===f?t.createImage:f,h=r.anonymousCrossOrigin;u(this,t),this.canvg=e,this.definitions={},this.styles={},this.stylesSpecificity={},this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=e.screen,this.rootEmSize=i,this.emSize=o,this.createCanvas=s,this.createImage=this.bindCreateImage(l,h),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}return s(t,[{key:"bindCreateImage",value:function(t,e){return"boolean"===typeof e?function(r,n){return t(r,"boolean"===typeof n?n:e)}:t}},{key:"popEmSize",value:function(){this.emSizeStack.pop()}},{key:"getUniqueId",value:function(){return"canvg".concat(++this.uniqueId)}},{key:"isImagesLoaded",value:function(){return this.images.every((function(t){return t.loaded}))}},{key:"isFontsLoaded",value:function(){return this.fonts.every((function(t){return t.loaded}))}},{key:"createDocumentElement",value:function(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}},{key:"createElement",value:function(e){var r=e.nodeName.replace(/^[^:]+:/,""),n=t.elementTypes[r];return"undefined"!==typeof n?new n(this,e):new vt(this,e)}},{key:"createTextNode",value:function(t){return new Ct(this,t)}},{key:"setViewBox",value:function(t){this.screen.setViewBox(function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?dr(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({document:this},t))}},{key:"window",get:function(){return this.screen.window}},{key:"fetch",get:function(){return this.screen.fetch}},{key:"ctx",get:function(){return this.screen.ctx}},{key:"emSize",get:function(){var t=this.emSizeStack;return t[t.length-1]},set:function(t){this.emSizeStack.push(t)}}]),t}();function yr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function gr(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?yr(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}vr.createCanvas=function(t,e){var r=document.createElement("canvas");return r.width=t,r.height=e,r},vr.createImage=function(t){return pr.apply(this,arguments)},vr.elementTypes=hr;var br=function(){function t(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};u(this,t),this.parser=new et(n),this.screen=new K(e,n),this.options=n;var i=new vr(this,n),a=i.createDocumentElement(r);this.document=i,this.documentElement=a}var e,r;return s(t,[{key:"fork",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.from(e,r,gr({},this.options,{},n))}},{key:"forkString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.fromString(e,r,gr({},this.options,{},n))}},{key:"ready",value:function(){return this.screen.ready()}},{key:"isReady",value:function(){return this.screen.isReady()}},{key:"render",value:(r=o(a.mark((function t(){var e,r=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=r.length>0&&void 0!==r[0]?r[0]:{},this.start(gr({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},e)),t.next=4,this.ready();case 4:this.stop();case 5:case"end":return t.stop()}}),t,this)}))),function(){return r.apply(this,arguments)})},{key:"start",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this.documentElement,r=this.screen,n=this.options;r.start(e,gr({enableRedraw:!0},n,{},t))}},{key:"stop",value:function(){this.screen.stop()}},{key:"resize",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,r)}}],[{key:"from",value:(e=o(a.mark((function e(r,n){var i,o,c,u=arguments;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=u.length>2&&void 0!==u[2]?u[2]:{},o=new et(i),e.next=4,o.parse(n);case 4:return c=e.sent,e.abrupt("return",new t(r,c,i));case 6:case"end":return e.stop()}}),e)}))),function(t,r){return e.apply(this,arguments)})},{key:"fromString",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new et(n),a=i.parseFromString(r);return new t(e,a,n)}}]),t}();var mr=Object.freeze({__proto__:null,offscreen:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.DOMParser,r={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,createCanvas:function(t,e){return new OffscreenCanvas(t,e)},createImage:function(t){return o(a.mark((function e(){var r,n,i;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return r=e.sent,e.next=5,r.blob();case 5:return n=e.sent,e.next=8,createImageBitmap(n);case 8:return i=e.sent,e.abrupt("return",i);case 10:case"end":return e.stop()}}),e)})))()}};return"undefined"===typeof DOMParser&&"undefined"!==typeof e||Reflect.deleteProperty(r,"DOMParser"),r},node:function(t){var e=t.DOMParser,r=t.canvas;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t.fetch,createCanvas:r.createCanvas,createImage:r.loadImage}}});e.AElement=Ee,e.AnimateColorElement=le,e.AnimateElement=se,e.AnimateTransformElement=de,e.BoundingBox=xt,e.CB1=B,e.CB2=F,e.CB3=_,e.CB4=$,e.Canvg=br,e.CircleElement=jt,e.ClipPathElement=Ze,e.DefsElement=Zt,e.DescElement=lr,e.Document=vr,e.Element=dt,e.EllipseElement=Bt,e.FeColorMatrixElement=qe,e.FeCompositeElement=ar,e.FeDropShadowElement=er,e.FeGaussianBlurElement=cr,e.FeMorphologyElement=nr,e.FilterElement=Je,e.Font=mt,e.FontElement=ge,e.FontFaceElement=me,e.GElement=Jt,e.GlyphElement=ke,e.GradientElement=ee,e.ImageElement=Ve,e.LineElement=_t,e.LinearGradientElement=ne,e.MarkerElement=Ht,e.MaskElement=Ye,e.Matrix=at,e.MissingGlyphElement=Se,e.Mouse=H,e.PSEUDO_ZERO=1e-8,e.Parser=et,e.PathElement=Ot,e.PathParser=Mt,e.PatternElement=Xt,e.Point=Y,e.PolygonElement=Wt,e.PolylineElement=Gt,e.Property=q,e.QB1=G,e.QB2=U,e.QB3=W,e.RadialGradientElement=ae,e.RectElement=Nt,e.RenderedElement=wt,e.Rotate=nt,e.SVGElement=Vt,e.SVGFontLoader=Ie,e.Scale=it,e.Screen=K,e.Skew=ct,e.SkewX=st,e.SkewY=lt,e.StopElement=ce,e.StyleElement=ze,e.SymbolElement=Ne,e.TRefElement=Re,e.TSpanElement=At,e.TextElement=Pt,e.TextPathElement=Oe,e.TitleElement=sr,e.Transform=ht,e.Translate=rt,e.UnknownElement=vt,e.UseElement=Fe,e.ViewPort=X,e.compressSpaces=m,e.default=br,e.getSelectorSpecificity=N,e.normalizeAttributeName=P,e.normalizeColor=A,e.parseExternalUrl=R,e.presets=mr,e.toNumbers=w,e.trimLeft=x,e.trimRight=S,e.vectorMagnitude=I,e.vectorsAngle=z,e.vectorsRatio=j}).call(this,r("26d59f808dff3e83c741"))},"7d183c41c8824eb753aa":function(t,e){e.f=Object.getOwnPropertySymbols},"812504487be885b293f4":function(t,e,r){var n=r("6e7237ccbdd2f15a5779"),i=r("fd9b89c795234eb80444");t.exports=function(t){return n(i(t))}},"81951e4472f2d976e154":function(t,e,r){var n,i,a,o=r("7655cc75e702ede29366"),c=r("52aaaa496bac3585895f"),u=r("e7e90445489e1aeca62c"),s=r("9768068780055a5b37d5"),f=r("797e39b97ffe1a62bdfb"),l=r("e5efc2d9849195118d0d"),h=r("8ea172a1f856745a0e99"),d=c.WeakMap;if(o){var p=new d,v=p.get,y=p.has,g=p.set;n=function(t,e){return g.call(p,t,e),e},i=function(t){return v.call(p,t)||{}},a=function(t){return y.call(p,t)}}else{var b=l("state");h[b]=!0,n=function(t,e){return s(t,b,e),e},i=function(t){return f(t,b)?t[b]:{}},a=function(t){return f(t,b)}}t.exports={set:n,get:i,has:a,enforce:function(t){return a(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}}}},"8646782ee05e255c7c33":function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("a6d67bcc49e3f697e59e"),a=r("16b941a8a394ecafe711");n({target:"Reflect",stat:!0,sham:!r("b7b69dc49b032e05d23d")},{getPrototypeOf:function(t){return a(i(t))}})},"865b70dad656728af89d":function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("a0a265286d58dddac44b"),a=r("a6d67bcc49e3f697e59e"),o=r("96f8b49256f6feb18691"),c=Object.defineProperty;e.f=n?c:function(t,e,r){if(a(t),e=o(e,!0),a(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"86e7c19a36a780aa9da1":function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("9768068780055a5b37d5"),a=r("797e39b97ffe1a62bdfb"),o=r("a8af6a6da80cc83ed76a"),c=r("aa376725c0cc8edafde7"),u=r("81951e4472f2d976e154"),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,h=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof e||a(r,"name")||i(r,"name",e),f(r).source=l.join("string"==typeof e?e:"")),t!==n?(u?!h&&t[e]&&(s=!0):delete t[e],s?t[e]=r:i(t,e,r)):s?t[e]=r:o(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},"8b9be401ff189ec4cd96":function(t,e,r){var n=r("b947d57739dc54286d8f"),i=r("797e39b97ffe1a62bdfb"),a=r("8f0add5715361174bbe0"),o=r("865b70dad656728af89d").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||o(e,t,{value:a.f(t)})}},"8d9c721d2002cd3470ca":function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("e7e90445489e1aeca62c"),a=n.document,o=i(a)&&i(a.createElement);t.exports=function(t){return o?a.createElement(t):{}}},"8ea172a1f856745a0e99":function(t,e){t.exports={}},"8f0add5715361174bbe0":function(t,e,r){var n=r("bb65a7a6041264210047");e.f=n},"8fb5a31882de4dc9d4b7":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("a3715f38f9267e6cc6cd").map,a=r("be784b8233dde49ee0ce"),o=r("6c9673934260f36d0c13"),c=a("map"),u=o("map");n({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"902dc50230642d2ceeed":function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af"),i=/#|\.prototype\./,a=function(t,e){var r=c[o(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},o=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";t.exports=a},"9110ce53a9cc411ae292":function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("a8af6a6da80cc83ed76a"),a=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=a},"92d1863efa6931aa0a27":function(t,e,r){"use strict";var n,i,a,o,c=r("9e56614a62529bbab5f3"),u=r("a543cfaacf0ca3549c19"),s=r("52aaaa496bac3585895f"),f=r("ce164604eaf28093d76c"),l=r("129e69bf4e1a4c38cd32"),h=r("86e7c19a36a780aa9da1"),d=r("e1211f385313b4936b8b"),p=r("a55d4137fe90bc0a7036"),v=r("b4be1a76fdb4e3078e3c"),y=r("e7e90445489e1aeca62c"),g=r("e5f7e5c1b3959d588c86"),b=r("b922c83c6055a68ccde7"),m=r("791c85755ea4bef7409d"),x=r("aa376725c0cc8edafde7"),S=r("2f72436760aa771a5fed"),w=r("2582bbbb8628442ebb75"),k=r("a34f3f4e914500ae3f97"),P=r("484de21a9f680ec2bbe5").set,R=r("ddcd1cfd8a195dbaf812"),A=r("58b5a9c5241137285314"),E=r("30dc8fb78b02c4afb47a"),C=r("b92b1aa10a632810f015"),M=r("1a4cfc9e6fdb515d2a19"),T=r("81951e4472f2d976e154"),O=r("902dc50230642d2ceeed"),D=r("bb65a7a6041264210047"),V=r("6f5d6b55f0bf6c77018f"),L=D("species"),N="Promise",I=T.get,j=T.set,z=T.getterFor(N),B=l,F=s.TypeError,_=s.document,$=s.process,G=f("fetch"),U=C.f,W=U,q="process"==m($),X=!!(_&&_.createEvent&&s.dispatchEvent),Y=O(N,(function(){if(!(x(B)!==String(B))){if(66===V)return!0;if(!q&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!B.prototype.finally)return!0;if(V>=51&&/native code/.test(B))return!1;var t=B.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[L]=e,!(t.then((function(){}))instanceof e)})),H=Y||!w((function(t){B.all(t).catch((function(){}))})),Q=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},Z=function(t,e,r){if(!e.notified){e.notified=!0;var n=e.reactions;R((function(){for(var i=e.value,a=1==e.state,o=0;n.length>o;){var c,u,s,f=n[o++],l=a?f.ok:f.fail,h=f.resolve,d=f.reject,p=f.domain;try{l?(a||(2===e.rejection&&et(t,e),e.rejection=1),!0===l?c=i:(p&&p.enter(),c=l(i),p&&(p.exit(),s=!0)),c===f.promise?d(F("Promise-chain cycle")):(u=Q(c))?u.call(c,h,d):h(c)):d(i)}catch(t){p&&!s&&p.exit(),d(t)}}e.reactions=[],e.notified=!1,r&&!e.rejection&&J(t,e)}))}},K=function(t,e,r){var n,i;X?((n=_.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),s.dispatchEvent(n)):n={promise:e,reason:r},(i=s["on"+t])?i(n):"unhandledrejection"===t&&E("Unhandled promise rejection",r)},J=function(t,e){P.call(s,(function(){var r,n=e.value;if(tt(e)&&(r=M((function(){q?$.emit("unhandledRejection",n,t):K("unhandledrejection",t,n)})),e.rejection=q||tt(e)?2:1,r.error))throw r.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){P.call(s,(function(){q?$.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},rt=function(t,e,r,n){return function(i){t(e,r,i,n)}},nt=function(t,e,r,n){e.done||(e.done=!0,n&&(e=n),e.value=r,e.state=2,Z(t,e,!0))},it=function(t,e,r,n){if(!e.done){e.done=!0,n&&(e=n);try{if(t===r)throw F("Promise can't be resolved itself");var i=Q(r);i?R((function(){var n={done:!1};try{i.call(r,rt(it,t,n,e),rt(nt,t,n,e))}catch(r){nt(t,n,r,e)}})):(e.value=r,e.state=1,Z(t,e,!1))}catch(r){nt(t,{done:!1},r,e)}}};Y&&(B=function(t){b(this,B,N),g(t),n.call(this);var e=I(this);try{t(rt(it,this,e),rt(nt,this,e))}catch(t){nt(this,e,t)}},(n=function(t){j(this,{type:N,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(B.prototype,{then:function(t,e){var r=z(this),n=U(k(this,B));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=q?$.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&Z(this,r,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n,e=I(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(nt,t,e)},C.f=U=function(t){return t===B||t===a?new i(t):W(t)},u||"function"!=typeof l||(o=l.prototype.then,h(l.prototype,"then",(function(t,e){var r=this;return new B((function(t,e){o.call(r,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof G&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return A(B,G.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:B}),p(B,N,!1,!0),v(N),a=f(N),c({target:N,stat:!0,forced:Y},{reject:function(t){var e=U(this);return e.reject.call(void 0,t),e.promise}}),c({target:N,stat:!0,forced:u||Y},{resolve:function(t){return A(u&&this===a?B:this,t)}}),c({target:N,stat:!0,forced:H},{all:function(t){var e=this,r=U(e),n=r.resolve,i=r.reject,a=M((function(){var r=g(e.resolve),a=[],o=0,c=1;S(t,(function(t){var u=o++,s=!1;a.push(void 0),c++,r.call(e,t).then((function(t){s||(s=!0,a[u]=t,--c||n(a))}),i)})),--c||n(a)}));return a.error&&i(a.value),r.promise},race:function(t){var e=this,r=U(e),n=r.reject,i=M((function(){var i=g(e.resolve);S(t,(function(t){i.call(e,t).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},"93c755ca0dc02c9020db":function(t,e,r){var n=r("e7e90445489e1aeca62c"),i=r("cc20dada20370c30ef07"),a=r("bb65a7a6041264210047")("species");t.exports=function(t,e){var r;return i(t)&&("function"!=typeof(r=t.constructor)||r!==Array&&!i(r.prototype)?n(r)&&null===(r=r[a])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},"942646ebecde4534888c":function(t,e,r){"use strict";var n=r("7792831e5810dbb02dca"),i=r("a4c95c2206cf6440b06d");t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},"94e80a3ddf314e9f023b":function(t,e,r){"use strict";var n=r("865b70dad656728af89d").f,i=r("18f41dd37e15014563e9"),a=r("e1211f385313b4936b8b"),o=r("247607c57c17b59856ed"),c=r("b922c83c6055a68ccde7"),u=r("2f72436760aa771a5fed"),s=r("5e3e7a1d582e00690fb8"),f=r("b4be1a76fdb4e3078e3c"),l=r("e424dbbd56423779a826"),h=r("e59187de76b03c3c336e").fastKey,d=r("81951e4472f2d976e154"),p=d.set,v=d.getterFor;t.exports={getConstructor:function(t,e,r,s){var f=t((function(t,n){c(t,f,e),p(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),l||(t.size=0),void 0!=n&&u(n,t[s],t,r)})),d=v(e),y=function(t,e,r){var n,i,a=d(t),o=g(t,e);return o?o.value=r:(a.last=o={index:i=h(e,!0),key:e,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=o),n&&(n.next=o),l?a.size++:t.size++,"F"!==i&&(a.index[i]=o)),t},g=function(t,e){var r,n=d(t),i=h(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==e)return r};return a(f.prototype,{clear:function(){for(var t=d(this),e=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete e[r.index],r=r.next;t.first=t.last=void 0,l?t.size=0:this.size=0},delete:function(t){var e=d(this),r=g(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first==r&&(e.first=n),e.last==r&&(e.last=i),l?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=d(this),n=o(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!g(this,t)}}),a(f.prototype,r?{get:function(t){var e=g(this,t);return e&&e.value},set:function(t,e){return y(this,0===t?0:t,e)}}:{add:function(t){return y(this,t=0===t?0:t,t)}}),l&&n(f.prototype,"size",{get:function(){return d(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=v(e),a=v(n);s(t,e,(function(t,e){p(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=a(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?"keys"==e?{value:r.key,done:!1}:"values"==e?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),f(e)}}},"96f8b49256f6feb18691":function(t,e,r){var n=r("e7e90445489e1aeca62c");t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},"9768068780055a5b37d5":function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("865b70dad656728af89d"),a=r("65be8151caa6add0b12e");t.exports=n?function(t,e,r){return i.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},"9aaf4a4ceada44d601fb":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("5162bb944a2a557819b4"),a=r("fd9b89c795234eb80444");n({target:"String",proto:!0,forced:!r("e75396c715b10f3bb30c")("includes")},{includes:function(t){return!!~String(a(this)).indexOf(i(t),arguments.length>1?arguments[1]:void 0)}})},"9cf8226879f90c868ee6":function(t,e,r){var n=r("a6d67bcc49e3f697e59e");t.exports=function(t,e,r,i){try{return i?e(n(r)[0],r[1]):e(r)}catch(e){var a=t.return;throw void 0!==a&&n(a.call(t)),e}}},"9e56614a62529bbab5f3":function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("f8923fce78f41a61d1aa").f,a=r("9768068780055a5b37d5"),o=r("86e7c19a36a780aa9da1"),c=r("a8af6a6da80cc83ed76a"),u=r("2986da37a79719e1fadd"),s=r("902dc50230642d2ceeed");t.exports=function(t,e){var r,f,l,h,d,p=t.target,v=t.global,y=t.stat;if(r=v?n:y?n[p]||c(p,{}):(n[p]||{}).prototype)for(f in e){if(h=e[f],l=t.noTargetGet?(d=i(r,f))&&d.value:r[f],!s(v?f:p+(y?".":"#")+f,t.forced)&&void 0!==l){if(typeof h===typeof l)continue;u(h,l)}(t.sham||l&&l.sham)&&a(h,"sham",!0),o(r,f,h,t)}}},"9f8ea934603e44a6745a":function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("a3715f38f9267e6cc6cd").some,a=r("ba15efbed52ef84bf04c"),o=r("6c9673934260f36d0c13"),c=a("some"),u=o("some");n({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},a0a265286d58dddac44b:function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("a5e7d1b8be1ccf7cc8af"),a=r("8d9c721d2002cd3470ca");t.exports=!n&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},a34f3f4e914500ae3f97:function(t,e,r){var n=r("a6d67bcc49e3f697e59e"),i=r("e5f7e5c1b3959d588c86"),a=r("bb65a7a6041264210047")("species");t.exports=function(t,e){var r,o=n(t).constructor;return void 0===o||void 0==(r=n(o)[a])?e:i(r)}},a3715f38f9267e6cc6cd:function(t,e,r){var n=r("247607c57c17b59856ed"),i=r("6e7237ccbdd2f15a5779"),a=r("c3761db6a39eb0210017"),o=r("556e51a67372cacfb0d3"),c=r("93c755ca0dc02c9020db"),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,f=4==t,l=6==t,h=5==t||l;return function(d,p,v,y){for(var g,b,m=a(d),x=i(m),S=n(p,v,3),w=o(x.length),k=0,P=y||c,R=e?P(d,w):r?P(d,0):void 0;w>k;k++)if((h||k in x)&&(b=S(g=x[k],k,m),t))if(e)R[k]=b;else if(b)switch(t){case 3:return!0;case 5:return g;case 6:return k;case 2:u.call(R,g)}else if(f)return!1;return l?-1:s||f?f:R}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},a4c95c2206cf6440b06d:function(t,e,r){var n=r("7792831e5810dbb02dca"),i=r("791c85755ea4bef7409d"),a=r("bb65a7a6041264210047")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),a))?r:o?i(e):"Object"==(n=i(e))&&"function"==typeof e.callee?"Arguments":n}},a543cfaacf0ca3549c19:function(t,e){t.exports=!1},a55d4137fe90bc0a7036:function(t,e,r){var n=r("865b70dad656728af89d").f,i=r("797e39b97ffe1a62bdfb"),a=r("bb65a7a6041264210047")("toStringTag");t.exports=function(t,e,r){t&&!i(t=r?t:t.prototype,a)&&n(t,a,{configurable:!0,value:e})}},a5e66e4d1a795d25c906:function(t,e,r){"use strict";r("f2c403c8c6910a0d46e4");var n=r("86e7c19a36a780aa9da1"),i=r("a5e7d1b8be1ccf7cc8af"),a=r("bb65a7a6041264210047"),o=r("24341780521b7c263003"),c=r("9768068780055a5b37d5"),u=a("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=a("replace"),h=!!/./[l]&&""===/./[l]("a","$0"),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,l){var p=a(t),v=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),y=v&&!i((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return e=!0,null},r[p](""),!e}));if(!v||!y||"replace"===t&&(!s||!f||h)||"split"===t&&!d){var g=/./[p],b=r(p,""[t],(function(t,e,r,n,i){return e.exec===o?v&&!i?{done:!0,value:g.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:h}),m=b[0],x=b[1];n(String.prototype,t,m),n(RegExp.prototype,p,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}l&&c(RegExp.prototype[p],"sham",!0)}},a5e7d1b8be1ccf7cc8af:function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},a6d67bcc49e3f697e59e:function(t,e,r){var n=r("e7e90445489e1aeca62c");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},a8af6a6da80cc83ed76a:function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("9768068780055a5b37d5");t.exports=function(t,e){try{i(n,t,e)}catch(r){n[t]=e}return e}},aa376725c0cc8edafde7:function(t,e,r){var n=r("9110ce53a9cc411ae292"),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return i.call(t)}),t.exports=n.inspectSource},abc6323e9bb95ff96370:function(t,e,r){var n=r("e7e90445489e1aeca62c"),i=r("48cd4da160f1a36e1421");t.exports=function(t,e,r){var a,o;return i&&"function"==typeof(a=e.constructor)&&a!==r&&n(o=a.prototype)&&o!==r.prototype&&i(t,o),t}},afb69a32a77b1c5db22a:function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("ce164604eaf28093d76c"),a=r("e5f7e5c1b3959d588c86"),o=r("a6d67bcc49e3f697e59e"),c=r("a5e7d1b8be1ccf7cc8af"),u=i("Reflect","apply"),s=Function.apply;n({target:"Reflect",stat:!0,forced:!c((function(){u((function(){}))}))},{apply:function(t,e,r){return a(t),o(r),u?u(t,e,r):s.call(t,e,r)}})},b31f21d3b4de9471197d:function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("865b70dad656728af89d").f,a=Function.prototype,o=a.toString,c=/^\s*function ([^ (]*)/;n&&!("name"in a)&&i(a,"name",{configurable:!0,get:function(){try{return o.call(this).match(c)[1]}catch(t){return""}}})},b4be1a76fdb4e3078e3c:function(t,e,r){"use strict";var n=r("ce164604eaf28093d76c"),i=r("865b70dad656728af89d"),a=r("bb65a7a6041264210047"),o=r("e424dbbd56423779a826"),c=a("species");t.exports=function(t){var e=n(t),r=i.f;o&&e&&!e[c]&&r(e,c,{configurable:!0,get:function(){return this}})}},b7b69dc49b032e05d23d:function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af");t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},b922c83c6055a68ccde7:function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},b92b1aa10a632810f015:function(t,e,r){"use strict";var n=r("e5f7e5c1b3959d588c86"),i=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw TypeError("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new i(t)}},b947d57739dc54286d8f:function(t,e,r){var n=r("52aaaa496bac3585895f");t.exports=n},ba15efbed52ef84bf04c:function(t,e,r){"use strict";var n=r("a5e7d1b8be1ccf7cc8af");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},bad71b422558b7182bd9:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("6dac848e7f9d7370ff73").trim;n({target:"String",proto:!0,forced:r("4e33f670a2112b90a887")("trim")},{trim:function(){return i(this)}})},bb65a7a6041264210047:function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("758159e700e985de590e"),a=r("797e39b97ffe1a62bdfb"),o=r("e321240a0ca2390b3365"),c=r("f48c8b3d09da91cb7e1b"),u=r("3c2409d71f9c904f828f"),s=i("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||o;t.exports=function(t){return a(s,t)||(c&&a(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},be784b8233dde49ee0ce:function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af"),i=r("bb65a7a6041264210047"),a=r("6f5d6b55f0bf6c77018f"),o=i("species");t.exports=function(t){return a>=51||!n((function(){var e=[];return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},c36f69961e89381431d5:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("a3715f38f9267e6cc6cd").every,a=r("ba15efbed52ef84bf04c"),o=r("6c9673934260f36d0c13"),c=a("every"),u=o("every");n({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},c3761db6a39eb0210017:function(t,e,r){var n=r("fd9b89c795234eb80444");t.exports=function(t){return Object(n(t))}},c62dae8a4ff1d318a10f:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("5ae571baa381d14ce3e7").includes,a=r("51763a688aed0f12aa45");n({target:"Array",proto:!0,forced:!r("6c9673934260f36d0c13")("indexOf",{ACCESSORS:!0,1:0})},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},c6d4b05d67565ba47e66:function(t,e,r){var n=r("e7e90445489e1aeca62c");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},ca105576be5894b79d01:function(t,e,r){var n=r("227a700ecfd2b1133c6e"),i=r("fd9b89c795234eb80444"),a=function(t){return function(e,r){var a,o,c=String(i(e)),u=n(r),s=c.length;return u<0||u>=s?t?"":void 0:(a=c.charCodeAt(u))<55296||a>56319||u+1===s||(o=c.charCodeAt(u+1))<56320||o>57343?t?c.charAt(u):a:t?c.slice(u,u+2):o-56320+(a-55296<<10)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},cc20dada20370c30ef07:function(t,e,r){var n=r("791c85755ea4bef7409d");t.exports=Array.isArray||function(t){return"Array"==n(t)}},cc6f05777540cb7eba5a:function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("a5e7d1b8be1ccf7cc8af"),a=r("812504487be885b293f4"),o=r("f8923fce78f41a61d1aa").f,c=r("e424dbbd56423779a826"),u=i((function(){o(1)}));n({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return o(a(t),e)}})},cd9d6a8f550416cb7a43:function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af");t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},ce164604eaf28093d76c:function(t,e,r){var n=r("b947d57739dc54286d8f"),i=r("52aaaa496bac3585895f"),a=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(i[t]):n[t]&&n[t][e]||i[t]&&i[t][e]}},cee80f65c5e7f57a8648:function(t,e,r){var n=r("cff260ef77d4046fdb3d"),i=r("e64538ff46f433c2647e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},cff260ef77d4046fdb3d:function(t,e,r){var n=r("797e39b97ffe1a62bdfb"),i=r("812504487be885b293f4"),a=r("5ae571baa381d14ce3e7").indexOf,o=r("8ea172a1f856745a0e99");t.exports=function(t,e){var r,c=i(t),u=0,s=[];for(r in c)!n(o,r)&&n(c,r)&&s.push(r);for(;e.length>u;)n(c,r=e[u++])&&(~a(s,r)||s.push(r));return s}},d63af09bb81497926da5:function(t,e,r){var n=r("52aaaa496bac3585895f"),i=r("6f7a80405c9bcc4cd9a8"),a=r("f560299f4fed32358d2c"),o=r("9768068780055a5b37d5");for(var c in i){var u=n[c],s=u&&u.prototype;if(s&&s.forEach!==a)try{o(s,"forEach",a)}catch(t){s.forEach=a}}},d760f81dc7f01537241a:function(t,e,r){var n=r("ce164604eaf28093d76c"),i=r("cee80f65c5e7f57a8648"),a=r("7d183c41c8824eb753aa"),o=r("a6d67bcc49e3f697e59e");t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(o(t)),r=a.f;return r?e.concat(r(t)):e}},d7de7dd1733281adfa8f:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!n.call({1:2},1);e.f=a?function(t){var e=i(this,t);return!!e&&e.enumerable}:n},d7f760df02f660157c01:function(t,e,r){var n=r("ce164604eaf28093d76c");t.exports=n("document","documentElement")},db1eb80984f690f515c7:function(t,e,r){"use strict";var n=r("c3761db6a39eb0210017"),i=r("28b3a50070805d63e199"),a=r("556e51a67372cacfb0d3");t.exports=function(t){for(var e=n(this),r=a(e.length),o=arguments.length,c=i(o>1?arguments[1]:void 0,r),u=o>2?arguments[2]:void 0,s=void 0===u?r:i(u,r);s>c;)e[c++]=t;return e}},ddcd1cfd8a195dbaf812:function(t,e,r){var n,i,a,o,c,u,s,f,l=r("52aaaa496bac3585895f"),h=r("f8923fce78f41a61d1aa").f,d=r("791c85755ea4bef7409d"),p=r("484de21a9f680ec2bbe5").set,v=r("e69986630bf75c44dfa1"),y=l.MutationObserver||l.WebKitMutationObserver,g=l.process,b=l.Promise,m="process"==d(g),x=h(l,"queueMicrotask"),S=x&&x.value;S||(n=function(){var t,e;for(m&&(t=g.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(t){throw i?o():a=void 0,t}}a=void 0,t&&t.enter()},m?o=function(){g.nextTick(n)}:y&&!v?(c=!0,u=document.createTextNode(""),new y(n).observe(u,{characterData:!0}),o=function(){u.data=c=!c}):b&&b.resolve?(s=b.resolve(void 0),f=s.then,o=function(){f.call(s,n)}):o=function(){p.call(l,n)}),t.exports=S||function(t){var e={fn:t,next:void 0};a&&(a.next=e),i||(i=e,o()),a=e}},dec9ef0d8512b2d6448d:function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("865b70dad656728af89d"),a=r("a6d67bcc49e3f697e59e"),o=r("39c11483e28d35063bec");t.exports=n?Object.defineProperties:function(t,e){a(t);for(var r,n=o(e),c=n.length,u=0;c>u;)i.f(t,r=n[u++],e[r]);return t}},dfa9c8cb51f0b14c5610:function(t,e,r){var n=r("a4c95c2206cf6440b06d"),i=r("108db6f4caa9f9a04cba"),a=r("bb65a7a6041264210047")("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||i[n(t)]}},e1211f385313b4936b8b:function(t,e,r){var n=r("86e7c19a36a780aa9da1");t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},e321240a0ca2390b3365:function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},e424dbbd56423779a826:function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e59187de76b03c3c336e:function(t,e,r){var n=r("8ea172a1f856745a0e99"),i=r("e7e90445489e1aeca62c"),a=r("797e39b97ffe1a62bdfb"),o=r("865b70dad656728af89d").f,c=r("e321240a0ca2390b3365"),u=r("cd9d6a8f550416cb7a43"),s=c("meta"),f=0,l=Object.isExtensible||function(){return!0},h=function(t){o(t,s,{value:{objectID:"O"+ ++f,weakData:{}}})},d=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,s)){if(!l(t))return"F";if(!e)return"E";h(t)}return t[s].objectID},getWeakData:function(t,e){if(!a(t,s)){if(!l(t))return!0;if(!e)return!1;h(t)}return t[s].weakData},onFreeze:function(t){return u&&d.REQUIRED&&l(t)&&!a(t,s)&&h(t),t}};n[s]=!0},e5efc2d9849195118d0d:function(t,e,r){var n=r("758159e700e985de590e"),i=r("e321240a0ca2390b3365"),a=n("keys");t.exports=function(t){return a[t]||(a[t]=i(t))}},e5f7e5c1b3959d588c86:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},e605cc84cbbd0ae4a270:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("52aaaa496bac3585895f"),a=r("ce164604eaf28093d76c"),o=r("a543cfaacf0ca3549c19"),c=r("e424dbbd56423779a826"),u=r("f48c8b3d09da91cb7e1b"),s=r("3c2409d71f9c904f828f"),f=r("a5e7d1b8be1ccf7cc8af"),l=r("797e39b97ffe1a62bdfb"),h=r("cc20dada20370c30ef07"),d=r("e7e90445489e1aeca62c"),p=r("a6d67bcc49e3f697e59e"),v=r("c3761db6a39eb0210017"),y=r("812504487be885b293f4"),g=r("96f8b49256f6feb18691"),b=r("65be8151caa6add0b12e"),m=r("18f41dd37e15014563e9"),x=r("39c11483e28d35063bec"),S=r("cee80f65c5e7f57a8648"),w=r("540f18336f7459b9b1a5"),k=r("7d183c41c8824eb753aa"),P=r("f8923fce78f41a61d1aa"),R=r("865b70dad656728af89d"),A=r("d7de7dd1733281adfa8f"),E=r("9768068780055a5b37d5"),C=r("86e7c19a36a780aa9da1"),M=r("758159e700e985de590e"),T=r("e5efc2d9849195118d0d"),O=r("8ea172a1f856745a0e99"),D=r("e321240a0ca2390b3365"),V=r("bb65a7a6041264210047"),L=r("8f0add5715361174bbe0"),N=r("8b9be401ff189ec4cd96"),I=r("a55d4137fe90bc0a7036"),j=r("81951e4472f2d976e154"),z=r("a3715f38f9267e6cc6cd").forEach,B=T("hidden"),F=V("toPrimitive"),_=j.set,$=j.getterFor("Symbol"),G=Object.prototype,U=i.Symbol,W=a("JSON","stringify"),q=P.f,X=R.f,Y=w.f,H=A.f,Q=M("symbols"),Z=M("op-symbols"),K=M("string-to-symbol-registry"),J=M("symbol-to-string-registry"),tt=M("wks"),et=i.QObject,rt=!et||!et.prototype||!et.prototype.findChild,nt=c&&f((function(){return 7!=m(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=q(G,e);n&&delete G[e],X(t,e,r),n&&t!==G&&X(G,e,n)}:X,it=function(t,e){var r=Q[t]=m(U.prototype);return _(r,{type:"Symbol",tag:t,description:e}),c||(r.description=e),r},at=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof U},ot=function(t,e,r){t===G&&ot(Z,e,r),p(t);var n=g(e,!0);return p(r),l(Q,n)?(r.enumerable?(l(t,B)&&t[B][n]&&(t[B][n]=!1),r=m(r,{enumerable:b(0,!1)})):(l(t,B)||X(t,B,b(1,{})),t[B][n]=!0),nt(t,n,r)):X(t,n,r)},ct=function(t,e){p(t);var r=y(e),n=x(r).concat(lt(r));return z(n,(function(e){c&&!ut.call(r,e)||ot(t,e,r[e])})),t},ut=function(t){var e=g(t,!0),r=H.call(this,e);return!(this===G&&l(Q,e)&&!l(Z,e))&&(!(r||!l(this,e)||!l(Q,e)||l(this,B)&&this[B][e])||r)},st=function(t,e){var r=y(t),n=g(e,!0);if(r!==G||!l(Q,n)||l(Z,n)){var i=q(r,n);return!i||!l(Q,n)||l(r,B)&&r[B][n]||(i.enumerable=!0),i}},ft=function(t){var e=Y(y(t)),r=[];return z(e,(function(t){l(Q,t)||l(O,t)||r.push(t)})),r},lt=function(t){var e=t===G,r=Y(e?Z:y(t)),n=[];return z(r,(function(t){!l(Q,t)||e&&!l(G,t)||n.push(Q[t])})),n};(u||(C((U=function(){if(this instanceof U)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=D(t),r=function(t){this===G&&r.call(Z,t),l(this,B)&&l(this[B],e)&&(this[B][e]=!1),nt(this,e,b(1,t))};return c&&rt&&nt(G,e,{configurable:!0,set:r}),it(e,t)}).prototype,"toString",(function(){return $(this).tag})),C(U,"withoutSetter",(function(t){return it(D(t),t)})),A.f=ut,R.f=ot,P.f=st,S.f=w.f=ft,k.f=lt,L.f=function(t){return it(V(t),t)},c&&(X(U.prototype,"description",{configurable:!0,get:function(){return $(this).description}}),o||C(G,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),z(x(tt),(function(t){N(t)})),n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(K,e))return K[e];var r=U(e);return K[e]=r,J[r]=e,r},keyFor:function(t){if(!at(t))throw TypeError(t+" is not a symbol");if(l(J,t))return J[t]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(t,e){return void 0===e?m(t):ct(m(t),e)},defineProperty:ot,defineProperties:ct,getOwnPropertyDescriptor:st}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ft,getOwnPropertySymbols:lt}),n({target:"Object",stat:!0,forced:f((function(){k.f(1)}))},{getOwnPropertySymbols:function(t){return k.f(v(t))}}),W)&&n({target:"JSON",stat:!0,forced:!u||f((function(){var t=U();return"[null]"!=W([t])||"{}"!=W({a:t})||"{}"!=W(Object(t))}))},{stringify:function(t,e,r){for(var n,i=[t],a=1;arguments.length>a;)i.push(arguments[a++]);if(n=e,(d(e)||void 0!==t)&&!at(t))return h(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!at(e))return e}),i[1]=e,W.apply(null,i)}});U.prototype[F]||E(U.prototype,F,U.prototype.valueOf),I(U,"Symbol"),O[B]=!0},e64538ff46f433c2647e:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},e69986630bf75c44dfa1:function(t,e,r){var n=r("76ac61616d46d9b4d808");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},e6d27e7bcfea5f9766b1:function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("c3761db6a39eb0210017"),a=r("39c11483e28d35063bec");n({target:"Object",stat:!0,forced:r("a5e7d1b8be1ccf7cc8af")((function(){a(1)}))},{keys:function(t){return a(i(t))}})},e75396c715b10f3bb30c:function(t,e,r){var n=r("bb65a7a6041264210047")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},e7e90445489e1aeca62c:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},ea278c0c1ed1858497f5:function(t,e,r){var n=r("7792831e5810dbb02dca"),i=r("86e7c19a36a780aa9da1"),a=r("942646ebecde4534888c");n||i(Object.prototype,"toString",a,{unsafe:!0})},ecc0ec2a9d5d63f26fc8:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("e424dbbd56423779a826"),a=r("52aaaa496bac3585895f"),o=r("797e39b97ffe1a62bdfb"),c=r("e7e90445489e1aeca62c"),u=r("865b70dad656728af89d").f,s=r("2986da37a79719e1fadd"),f=a.Symbol;if(i&&"function"==typeof f&&(!("description"in f.prototype)||void 0!==f().description)){var l={},h=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof h?new f(t):void 0===t?f():f(t);return""===t&&(l[e]=!0),e};s(h,f);var d=h.prototype=f.prototype;d.constructor=h;var p=d.toString,v="Symbol(test)"==String(f("test")),y=/^Symbol\((.*)\)[^)]+$/;u(d,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=p.call(t);if(o(l,t))return"";var r=v?e.slice(7,-1):e.replace(y,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:h})}},f26a160faca25cafb7c8:function(t,e,r){"use strict";var n=r("a5e66e4d1a795d25c906"),i=r("a6d67bcc49e3f697e59e"),a=r("c3761db6a39eb0210017"),o=r("556e51a67372cacfb0d3"),c=r("227a700ecfd2b1133c6e"),u=r("fd9b89c795234eb80444"),s=r("21b340d5785e373d8c2c"),f=r("f477a8a474625b9ca5ad"),l=Math.max,h=Math.min,d=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(t,e,r,n){var y=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,b=y?"$":"$0";return[function(r,n){var i=u(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,n):e.call(String(i),r,n)},function(t,n){if(!y&&g||"string"===typeof n&&-1===n.indexOf(b)){var a=r(e,t,this,n);if(a.done)return a.value}var u=i(t),d=String(this),p="function"===typeof n;p||(n=String(n));var v=u.global;if(v){var x=u.unicode;u.lastIndex=0}for(var S=[];;){var w=f(u,d);if(null===w)break;if(S.push(w),!v)break;""===String(w[0])&&(u.lastIndex=s(d,o(u.lastIndex),x))}for(var k,P="",R=0,A=0;A<S.length;A++){w=S[A];for(var E=String(w[0]),C=l(h(c(w.index),d.length),0),M=[],T=1;T<w.length;T++)M.push(void 0===(k=w[T])?k:String(k));var O=w.groups;if(p){var D=[E].concat(M,C,d);void 0!==O&&D.push(O);var V=String(n.apply(void 0,D))}else V=m(E,d,C,M,O,n);C>=R&&(P+=d.slice(R,C)+V,R=C+E.length)}return P+d.slice(R)}];function m(t,r,n,i,o,c){var u=n+t.length,s=i.length,f=v;return void 0!==o&&(o=a(o),f=p),e.call(c,f,(function(e,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=o[a.slice(1,-1)];break;default:var f=+a;if(0===f)return e;if(f>s){var l=d(f/10);return 0===l?e:l<=s?void 0===i[l-1]?a.charAt(1):i[l-1]+a.charAt(1):e}c=i[f-1]}return void 0===c?"":c}))}}))},f2876b394e59cd08eeec:function(t,e,r){var n=r("e7e90445489e1aeca62c"),i=r("791c85755ea4bef7409d"),a=r("bb65a7a6041264210047")("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==i(t))}},f2c403c8c6910a0d46e4:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("24341780521b7c263003");n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},f350b72c0ca394025015:function(t,e,r){var n=r("9e56614a62529bbab5f3"),i=r("ce164604eaf28093d76c"),a=r("e5f7e5c1b3959d588c86"),o=r("a6d67bcc49e3f697e59e"),c=r("e7e90445489e1aeca62c"),u=r("18f41dd37e15014563e9"),s=r("7a6db046532547692446"),f=r("a5e7d1b8be1ccf7cc8af"),l=i("Reflect","construct"),h=f((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),d=!f((function(){l((function(){}))})),p=h||d;n({target:"Reflect",stat:!0,forced:p,sham:p},{construct:function(t,e){a(t),o(e);var r=arguments.length<3?t:a(arguments[2]);if(d&&!h)return l(t,e,r);if(t==r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return n.push.apply(n,e),new(s.apply(t,n))}var i=r.prototype,f=u(c(i)?i:Object.prototype),p=Function.apply.call(t,f,e);return c(p)?p:f}})},f477a8a474625b9ca5ad:function(t,e,r){var n=r("791c85755ea4bef7409d"),i=r("24341780521b7c263003");t.exports=function(t,e){var r=t.exec;if("function"===typeof r){var a=r.call(t,e);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},f48c8b3d09da91cb7e1b:function(t,e,r){var n=r("a5e7d1b8be1ccf7cc8af");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},f560299f4fed32358d2c:function(t,e,r){"use strict";var n=r("a3715f38f9267e6cc6cd").forEach,i=r("ba15efbed52ef84bf04c"),a=r("6c9673934260f36d0c13"),o=i("forEach"),c=a("forEach");t.exports=o&&c?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},f8923fce78f41a61d1aa:function(t,e,r){var n=r("e424dbbd56423779a826"),i=r("d7de7dd1733281adfa8f"),a=r("65be8151caa6add0b12e"),o=r("812504487be885b293f4"),c=r("96f8b49256f6feb18691"),u=r("797e39b97ffe1a62bdfb"),s=r("a0a265286d58dddac44b"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=o(t),e=c(e,!0),s)try{return f(t,e)}catch(t){}if(u(t,e))return a(!i.f.call(t,e),t[e])}},fc0d18f28af084a6d72c:function(t,e,r){"use strict";var n=r("9e56614a62529bbab5f3"),i=r("5ae571baa381d14ce3e7").indexOf,a=r("ba15efbed52ef84bf04c"),o=r("6c9673934260f36d0c13"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=a("indexOf"),f=o("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},fd9b89c795234eb80444:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}}}]);

Zerion Mini Shell 1.0