!function(t,e){if("object"==typeofexports&&"object"==typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{varn=e();for(varrinn)("object"==typeofexports?exports:t)[r]=n[r]}}("undefined"!=typeofself?self:this,function(){returnfunction(t){vare={};functionn(r){if(e[r])returne[r].exports;vari=e[r]={i:r,l:!1,exports:{}};returnt[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}returnn.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){vare=t&&t.__esModule?function(){returnt.default}:function(){returnt};returnn.d(e,"a",e),e},n.o=function(t,e){returnObject.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=122)}([function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeoft||tinstanceofString},isNumber:function(t){return"number"==typeoft||tinstanceofNumber},isBoolean:function(t){return"boolean"==typeoft},isArray:function(t){returnArray.isArray(t)},isFunction:function(t){return"function"==typeoft},isObject:function(t){returnnull!==t&&"object"==typeoft},isNull:function(t){returnnull===t},isUndefined:function(t){returnvoid0===t},pack:function(){for(vart={},e=0,n=arguments.length;e<n;e++){varr=arguments[e];if(r)for(variinr)r.hasOwnProperty(i)&&(t[i]=r[i])}returnt},fontStringify:function(t,e){return"font"===t?"font":e},offsetVector:function(t,e,n){switch(t.type){case"ellipse":case"rect":t.x+=e,t.y+=n;break;case"line":t.x1+=e,t.x2+=e,t.y1+=n,t.y2+=n;break;case"polyline":for(varr=0,i=t.points.length;r<i;r++)t.points[r].x+=e,t.points[r].y+=n}}}},function(t,e,n){"use strict";(function(t){varr=n(124),i=n(125),a=n(76);functiono(){returnl.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functions(t,e){if(o()<e)thrownewRangeError("Invalid typed array length");returnl.TYPED_ARRAY_SUPPORT?(t=newUint8Array(e)).__proto__=l.prototype:(null===t&&(t=newl(e)),t.length=e),t}functionl(t,e,n){if(!(l.TYPED_ARRAY_SUPPORT||thisinstanceofl))returnnewl(t,e,n);if("number"==typeoft){if("string"==typeofe)thrownewError("If encoding is specified then the first argument must be a string");returnh(this,t)}returnu(this,t,e,n)}functionu(t,e,n,r){if("number"==typeofe)thrownewTypeError('"value" argument must not be a number');return"undefined"!=typeofArrayBuffer&&einstanceofArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");e=void0===n&&void0===r?newUint8Array(e):void0===r?newUint8Array(e,n):newUint8Array(e,n,r);l.TYPED_ARRAY_SUPPORT?(t=e).__proto__=l.prototype:t=f(t,e);returnt}(t,e,n,r):"string"==typeofe?function(t,e,n){"string"==typeofn&&""!==n||(n="utf8");if(!l.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|p(e,n),i=(t=s(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));returnt}(t,e,n):function(t,e){if(l.isBuffer(e)){varn=0|d(e.length);return0===(t=s(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeofArrayBuffer&&e.bufferinstanceofArrayBuffer||"length"ine)return"number"!=typeofe.length||(r=e.length)!=r?s(t,0):f(t,e);if("Buffer"===e.type&&a(e.data))returnf(t,e.data)}varr;thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}functionc(t){if("number"!=typeoft)thrownewTypeError('"size" argument must be a number');if(t<0)thrownewRangeError('"size" argument must not be negative')}functionh(t,e){if(c(e),t=s(t,e<0?0:0|d(e)),!l.TYPED_ARRAY_SUPPORT)for(varn=0;n<e;++n)t[n]=0;returnt}functionf(t,e){varn=e.length<0?0:0|d(e.length);t=s(t,n);for(varr=0;r<n;r+=1)t[r]=255&e[r];returnt}functiond(t){if(t>=o())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return0|t}functionp(t,e){if(l.isBuffer(t))returnt.length;if("undefined"!=typeofArrayBuffer&&"function"==typeofArrayBuffer.isView&&(ArrayBuffer.isView(t)||tinstanceofArrayBuffer))returnt.byteLength;"strin