UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

15 lines (13 loc) 1.03 MB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.G2Plot=e():t.G2Plot=e()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=112)}([function(t,e,n){"use strict";n.r(e);var i=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)},r=function(t,e){return!!i(t)&&t.indexOf(e)>-1},o={}.toString,a=function(t,e){return o.call(t)==="[object "+e+"]"},s=function(t){return Array.isArray?Array.isArray(t):a(t,"Array")};function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var l=function(t){var e=u(t);return null!==t&&"object"===e||"function"===e};var c=function(t,e){if(t)if(s(t))for(var n=0,i=t.length;n<i&&!1!==e(t[n],n);n++);else if(l(t))for(var r in t)if(t.hasOwnProperty(r)&&!1===e(t[r],r))break},h=function(t,e){if(!i(t))return t;var n=[];return c(t,(function(t,i){e(t,i)&&n.push(t)})),n},p=function(t,e){return void 0===e&&(e=[]),h(t,(function(t){return!r(e,t)}))},f=function(t){return a(t,"Function")},d=function(t){return null==t},g=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return c(t,(function(n,i){f(t)&&"prototype"===i||e.push(i)})),e};var v=function(t,e){var n=g(e),i=n.length;if(d(t))return!i;for(var r=0;r<i;r+=1){var o=n[r];if(e[o]!==t[o]||!(o in t))return!1}return!0};function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var m=function(t){return"object"===y(t)&&null!==t},x=function(t){if(!m(t)||!a(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e};var _=function(t,e){if(!s(t))return null;var n;if(f(e)&&(n=e),x(e)&&(n=function(t){return v(t,e)}),n)for(var i=0;i<t.length;i+=1)if(n(t[i]))return t[i];return null};var b=function(t,e,n){void 0===n&&(n=0);for(var i=n;i<t.length;i++)if(e(t[i],i))return i;return-1},w=function(t,e){for(var n=null,i=0;i<t.length;i++){var r=t[i][e];if(!d(r)){n=s(r)?r[0]:r;break}}return n},M=function(t){if(!s(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e},S=function t(e,n){if(void 0===n&&(n=[]),s(e))for(var i=0;i<e.length;i+=1)t(e[i],n);else n.push(e);return n},C=function(t){if(!(t=h(t,(function(t){return!isNaN(t)}))).length)return{min:0,max:0};if(s(t[0])){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);t=e}var i=Math.max.apply(null,t);return{min:Math.min.apply(null,t),max:i}},O=Array.prototype,k=O.splice,P=O.indexOf,A=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=0;i<e.length;i++)for(var r=e[i],o=-1;(o=P.call(t,r))>-1;)k.call(t,o,1);return t},L=Array.prototype.splice,T=function(t,e){if(!i(t))return[];for(var n=t?e.length:0,r=n-1;n--;){var o=void 0,a=e[n];n!==r&&a===o||(o=a,L.call(t,a,1))}return t},D=function(t,e,n){if(!s(t)&&!x(t))return t;var i=n;return c(t,(function(t,n){i=e(i,t,n)})),i},j=function(t,e){var n=[];if(!i(t))return n;for(var r=-1,o=[],a=t.length;++r<a;){var s=t[r];e(s,r,t)&&(n.push(s),o.push(r))}return T(t,o),n},I=function(t){return a(t,"String")};var B=function(t,e){var n;if(f(e))n=function(t,n){return e(t)-e(n)};else{var i=[];I(e)?i.push(e):s(e)&&(i=e),n=function(t,e){for(var n=0;n<i.length;n+=1){var r=i[n];if(t[r]>e[r])return 1;if(t[r]<e[r])return-1}return 0}}return t.sort(n),t},E=function(t){var e=[];return c(t,(function(t){r(e,t)||e.push(t)})),e},F=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return E([].concat.apply([],t))},R=function(t,e){var n=[],i={};return t.forEach((function(t){var r=t[e];d(r)||(s(r)||(r=[r]),c(r,(function(t){i[t]||(n.push(t),i[t]=!0)})))})),n};function z(t){if(i(t))return t[0]}function N(t){if(i(t)){return t[t.length-1]}}var H=function(t,e){return!(!s(t)&&!I(t))&&t[0]===e};var Y=function(t,e){return!(!s(t)&&!I(t))&&t[t.length-1]===e},G=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0},W=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1},V=Object.prototype.hasOwnProperty;var X=function(t,e){if(!e||!s(t))return{};var n,i={},r=f(e)?e:function(t){return t[e]};return c(t,(function(t){n=r(t),V.call(i,n)?i[n].push(t):i[n]=[t]})),i},q=function(t,e){if(!e)return{0:t};if(!f(e)){var n=s(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",i=0,r=n.length;i<r;i++)e+=t[n[i]]&&t[n[i]].toString();return e}}return X(t,e)},U=function(t,e){if(!e)return[t];var n=q(t,e),i=[];for(var r in n)i.push(n[r]);return i};var Z=function(t,e){return t["_wrap_"+e]};var Q=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n},$={};var K=function(t){var e=$[t];if(!e){for(var n=t.toString(16),i=n.length;i<6;i++)n="0"+n;e="#"+n,$[t]=e}return e};var J=function(t){var e=0,n=0,i=0,r=0;return s(t)?1===t.length?e=n=i=r=t[0]:2===t.length?(e=i=t[0],n=r=t[1]):3===t.length?(e=t[0],n=r=t[1],i=t[2]):(e=t[0],n=t[1],i=t[2],r=t[3]):e=n=i=r=t,{r1:e,r2:n,r3:i,r4:r}},tt=function(t,e,n){return t<e?e:t>n?n:t},et=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))},nt=function(t){return a(t,"Number")},it=function(t){return nt(t)&&t%1!=0},rt=function(t){return nt(t)&&t%2==0},ot=Number.isInteger?Number.isInteger:function(t){return nt(t)&&t%1==0},at=function(t){return nt(t)&&t<0};function st(t,e,n){return void 0===n&&(n=1e-5),Math.abs(t-e)<n}var ut=function(t){return nt(t)&&t%2!=0},lt=function(t){return nt(t)&&t>0},ct=function(t,e){if(s(t)){var n,i,r=t[0];return n=f(e)?e(t[0]):t[0][e],c(t,(function(t){(i=f(e)?e(t):t[e])>n&&(r=t,n=i)})),r}},ht=function(t,e){if(s(t)){var n,i,r=t[0];return n=f(e)?e(t[0]):t[0][e],c(t,(function(t){(i=f(e)?e(t):t[e])<n&&(r=t,n=i)})),r}},pt=function(t,e){return(t%e+e)%e},ft=180/Math.PI,dt=function(t){return ft*t},gt=parseInt,vt=Math.PI/180,yt=function(t){return vt*t},mt=c,xt=function(t,e){return t.hasOwnProperty(e)},_t=xt,bt=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return c(t,(function(n,i){f(t)&&"prototype"===i||e.push(n)})),e},wt=function(t,e){return r(bt(t),e)},Mt=function(t){return d(t)?"":t.toString()},St=function(t){return Mt(t).toLowerCase()},Ct=function(t){var e=Mt(t);return e.charAt(0).toLowerCase()+e.substring(1)};var Ot=function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,(function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]})):t},kt=function(t){return Mt(t).toUpperCase()},Pt=function(t){var e=Mt(t);return e.charAt(0).toUpperCase()+e.substring(1)},At={}.toString,Lt=function(t){return At.call(t).replace(/^\[object /,"").replace(/]$/,"")},Tt=function(t){return a(t,"Arguments")},Dt=function(t){return a(t,"Boolean")},jt=function(t){return a(t,"Date")},It=function(t){return a(t,"Error")},Bt=function(t){return nt(t)&&isFinite(t)},Et=function(t){return null===t},Ft=Object.prototype,Rt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ft)},zt=function(t){return a(t,"RegExp")},Nt=function(t){return void 0===t},Ht=function(t){return t instanceof Element||t instanceof HTMLDocument};function Yt(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}function Gt(t){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(t)}function Wt(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}function Vt(t,e,n,i){return e&&Wt(t,e),n&&Wt(t,n),i&&Wt(t,i),t}var Xt=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],i=1;i<t.length;i++){var r=t[i];f(r)&&(r=r.prototype),Vt(n.prototype,r)}};function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Ut=function t(e){if("object"!==qt(e)||null===e)return e;var n;if(s(e)){n=[];for(var i=0,r=e.length;i<r;i++)"object"===qt(e[i])&&null!=e[i]?n[i]=t(e[i]):n[i]=e[i]}else for(var o in n={},e)"object"===qt(e[o])&&null!=e[o]?n[o]=t(e[o]):n[o]=e[o];return n};var Zt=function(t,e,n){var i;return function(){var r=this,o=arguments,a=function(){i=null,n||t.apply(r,o)},s=n&&!i;clearTimeout(i),i=setTimeout(a,e),s&&t.apply(r,o)}},Qt=function(t,e){if(!f(t))throw new TypeError("Expected a function");var n=function n(){for(var i=[],r=0;r<arguments.length;r++)i[r]=arguments[r];var o=e?e.apply(this,i):i[0],a=n.cache;if(a.has(o))return a.get(o);var s=t.apply(this,i);return a.set(o,s),s};return n.cache=new Map,n};function $t(t,e,n,i){for(var r in n=n||0,i=i||5,e)if(e.hasOwnProperty(r)){var o=e[r];null!==o&&x(o)?(x(t[r])||(t[r]={}),n<i?$t(t[r],o,n+1,i):t[r]=e[r]):s(o)?(t[r]=[],t[r]=t[r].concat(o)):void 0!==o&&(t[r]=o)}}var Kt=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var i=0;i<e.length;i+=1)$t(t,e[i]);return t},Jt=function(t,e,n,i){f(e)||(n=e,e=t,t=function(){});var r=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var i=new n;return i.constructor=e,i},o=r(e.prototype,t);return t.prototype=Vt(o,t.prototype),t.superclass=r(e.prototype,e),Vt(o,n),Vt(t,i),t},te=function(t,e){if(!i(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var r=-1,o=0;o<t.length;o++)if(t[o]===e){r=o;break}return r},ee=Object.prototype.hasOwnProperty;var ne=function(t){if(d(t))return!0;if(i(t))return!t.length;var e=Lt(t);if("Map"===e||"Set"===e)return!t.size;if(Rt(t))return!Object.keys(t).length;for(var n in t)if(ee.call(t,n))return!1;return!0},ie=function t(e,n){if(e===n)return!0;if(!e||!n)return!1;if(I(e)||I(n))return!1;if(i(e)||i(n)){if(e.length!==n.length)return!1;for(var r=!0,o=0;o<e.length&&(r=t(e[o],n[o]));o++);return r}if(m(e)||m(n)){var a=Object.keys(e),s=Object.keys(n);if(a.length!==s.length)return!1;for(r=!0,o=0;o<a.length&&(r=t(e[a[o]],n[a[o]]));o++);return r}return!1},re=function(t,e,n){return f(n)?!!n(t,e):ie(t,e)},oe=function(t,e){if(!i(t))return t;var n=[];return c(t,(function(t,i){n.push(e(t,i))})),n},ae=function(t){return t},se=function(t,e){void 0===e&&(e=ae);var n={};return l(t)&&!d(t)&&Object.keys(t).forEach((function(i){n[i]=e(t[i],i)})),n},ue=function(t,e,n){for(var i=0,r=I(e)?e.split("."):e;t&&i<r.length;)t=t[r[i++]];return void 0===t||i<r.length?n:t},le=function(t,e,n){var i=t,r=I(e)?e.split("."):e;return r.forEach((function(t,e){e<r.length-1?(l(i[t])||(i[t]=nt(r[e+1])?[]:{}),i=i[t]):i[t]=n})),t},ce=Object.prototype.hasOwnProperty,he=function(t,e){if(null===t||!x(t))return{};var n={};return c(e,(function(e){ce.call(t,e)&&(n[e]=t[e])})),n},pe=function(t,e,n){var i,r,o,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:Date.now(),i=null,a=t.apply(r,o),i||(r=o=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var c=e-(l-s);return r=this,o=arguments,c<=0||c>e?(i&&(clearTimeout(i),i=null),s=l,a=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(i),s=0,i=r=o=null},l},fe=function(t){return i(t)?Array.prototype.slice.call(t):[]},de={},ge=function(t){return de[t=t||"g"]?de[t]+=1:de[t]=1,t+de[t]},ve=function(){},ye=function(t){return t};function me(t){return d(t)?0:i(t)?t.length:Object.keys(t).length}var xe=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();n.d(e,"contains",(function(){return r})),n.d(e,"includes",(function(){return r})),n.d(e,"difference",(function(){return p})),n.d(e,"find",(function(){return _})),n.d(e,"findIndex",(function(){return b})),n.d(e,"firstValue",(function(){return w})),n.d(e,"flatten",(function(){return M})),n.d(e,"flattenDeep",(function(){return S})),n.d(e,"getRange",(function(){return C})),n.d(e,"pull",(function(){return A})),n.d(e,"pullAt",(function(){return T})),n.d(e,"reduce",(function(){return D})),n.d(e,"remove",(function(){return j})),n.d(e,"sortBy",(function(){return B})),n.d(e,"union",(function(){return F})),n.d(e,"uniq",(function(){return E})),n.d(e,"valuesOfKey",(function(){return R})),n.d(e,"head",(function(){return z})),n.d(e,"last",(function(){return N})),n.d(e,"startsWith",(function(){return H})),n.d(e,"endsWith",(function(){return Y})),n.d(e,"filter",(function(){return h})),n.d(e,"every",(function(){return G})),n.d(e,"some",(function(){return W})),n.d(e,"group",(function(){return U})),n.d(e,"groupBy",(function(){return X})),n.d(e,"groupToMap",(function(){return q})),n.d(e,"getWrapBehavior",(function(){return Z})),n.d(e,"wrapBehavior",(function(){return Q})),n.d(e,"number2color",(function(){return K})),n.d(e,"parseRadius",(function(){return J})),n.d(e,"clamp",(function(){return tt})),n.d(e,"fixedBase",(function(){return et})),n.d(e,"isDecimal",(function(){return it})),n.d(e,"isEven",(function(){return rt})),n.d(e,"isInteger",(function(){return ot})),n.d(e,"isNegative",(function(){return at})),n.d(e,"isNumberEqual",(function(){return st})),n.d(e,"isOdd",(function(){return ut})),n.d(e,"isPositive",(function(){return lt})),n.d(e,"maxBy",(function(){return ct})),n.d(e,"minBy",(function(){return ht})),n.d(e,"mod",(function(){return pt})),n.d(e,"toDegree",(function(){return dt})),n.d(e,"toInteger",(function(){return gt})),n.d(e,"toRadian",(function(){return yt})),n.d(e,"forIn",(function(){return mt})),n.d(e,"has",(function(){return xt})),n.d(e,"hasKey",(function(){return _t})),n.d(e,"hasValue",(function(){return wt})),n.d(e,"keys",(function(){return g})),n.d(e,"isMatch",(function(){return v})),n.d(e,"values",(function(){return bt})),n.d(e,"lowerCase",(function(){return St})),n.d(e,"lowerFirst",(function(){return Ct})),n.d(e,"substitute",(function(){return Ot})),n.d(e,"upperCase",(function(){return kt})),n.d(e,"upperFirst",(function(){return Pt})),n.d(e,"getType",(function(){return Lt})),n.d(e,"isArguments",(function(){return Tt})),n.d(e,"isArray",(function(){return s})),n.d(e,"isArrayLike",(function(){return i})),n.d(e,"isBoolean",(function(){return Dt})),n.d(e,"isDate",(function(){return jt})),n.d(e,"isError",(function(){return It})),n.d(e,"isFunction",(function(){return f})),n.d(e,"isFinite",(function(){return Bt})),n.d(e,"isNil",(function(){return d})),n.d(e,"isNull",(function(){return Et})),n.d(e,"isNumber",(function(){return nt})),n.d(e,"isObject",(function(){return l})),n.d(e,"isObjectLike",(function(){return m})),n.d(e,"isPlainObject",(function(){return x})),n.d(e,"isPrototype",(function(){return Rt})),n.d(e,"isRegExp",(function(){return zt})),n.d(e,"isString",(function(){return I})),n.d(e,"isType",(function(){return a})),n.d(e,"isUndefined",(function(){return Nt})),n.d(e,"isElement",(function(){return Ht})),n.d(e,"requestAnimationFrame",(function(){return Yt})),n.d(e,"clearAnimationFrame",(function(){return Gt})),n.d(e,"augment",(function(){return Xt})),n.d(e,"clone",(function(){return Ut})),n.d(e,"debounce",(function(){return Zt})),n.d(e,"memoize",(function(){return Qt})),n.d(e,"deepMix",(function(){return Kt})),n.d(e,"each",(function(){return c})),n.d(e,"extend",(function(){return Jt})),n.d(e,"indexOf",(function(){return te})),n.d(e,"isEmpty",(function(){return ne})),n.d(e,"isEqual",(function(){return ie})),n.d(e,"isEqualWith",(function(){return re})),n.d(e,"map",(function(){return oe})),n.d(e,"mapValues",(function(){return se})),n.d(e,"mix",(function(){return Vt})),n.d(e,"assign",(function(){return Vt})),n.d(e,"get",(function(){return ue})),n.d(e,"set",(function(){return le})),n.d(e,"pick",(function(){return he})),n.d(e,"throttle",(function(){return pe})),n.d(e,"toArray",(function(){return fe})),n.d(e,"toString",(function(){return Mt})),n.d(e,"uniqueId",(function(){return ge})),n.d(e,"noop",(function(){return ve})),n.d(e,"identity",(function(){return ye})),n.d(e,"size",(function(){return me})),n.d(e,"Cache",(function(){return xe}))},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)} /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */n.r(e),n.d(e,"__extends",(function(){return o})),n.d(e,"__assign",(function(){return a})),n.d(e,"__rest",(function(){return s})),n.d(e,"__decorate",(function(){return u})),n.d(e,"__param",(function(){return l})),n.d(e,"__metadata",(function(){return c})),n.d(e,"__awaiter",(function(){return h})),n.d(e,"__generator",(function(){return p})),n.d(e,"__exportStar",(function(){return f})),n.d(e,"__values",(function(){return d})),n.d(e,"__read",(function(){return g})),n.d(e,"__spread",(function(){return v})),n.d(e,"__spreadArrays",(function(){return y})),n.d(e,"__await",(function(){return m})),n.d(e,"__asyncGenerator",(function(){return x})),n.d(e,"__asyncDelegator",(function(){return _})),n.d(e,"__asyncValues",(function(){return b})),n.d(e,"__makeTemplateObject",(function(){return w})),n.d(e,"__importStar",(function(){return M})),n.d(e,"__importDefault",(function(){return S}));var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};function o(t,e){function n(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var a=function(){return(a=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function s(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function u(t,e,n,r){var o,a=arguments.length,s=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===("undefined"==typeof Reflect?"undefined":i(Reflect))&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(s=(a<3?o(s):a>3?o(e,n,s):o(e,n))||s);return a>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,i){e(n,i,t)}}function c(t,e){if("object"===("undefined"==typeof Reflect?"undefined":i(Reflect))&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function h(t,e,n,i){return new(n||(n=Promise))((function(r,o){function a(t){try{u(i.next(t))}catch(t){o(t)}}function s(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){t.done?r(t.value):new n((function(e){e(t.value)})).then(a,s)}u((i=i.apply(t,e||[])).next())}))}function p(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}function f(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}function d(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function g(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g(arguments[e]));return t}function y(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}function m(t){return this instanceof m?(this.v=t,this):new m(t)}function x(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||s(t,e)}))})}function s(t,e){try{(n=r[t](e)).value instanceof m?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(t){c(o[0][3],t)}var n}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function _(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:m(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function b(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){(function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)})(i,r,(e=t[n](e)).done,e.value)}))}}}function w(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function M(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function S(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";e.__esModule=!0;var i=n(113);e.addEventListener=i.default;var r=n(114);e.createDom=r.default;var o=n(60);e.getHeight=o.default;var a=n(115);e.getOuterHeight=a.default;var s=n(116);e.getOuterWidth=s.default;var u=n(117);e.getRatio=u.default;var l=n(29);e.getStyle=l.default;var c=n(61);e.getWidth=c.default;var h=n(118);e.modifyCSS=h.default},function(t,e,n){(function(t){var n,i,r,o;function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}window,o=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==a(t)&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=20)}([function(t,e,n){var i;i=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=40)}([function(t,e,n){var i=n(16),r=n(1);t.exports=function(t,e){if(t)if(r(t))for(var n=0,o=t.length;n<o&&!1!==e(t[n],n);n++);else if(i(t))for(var a in t)if(t.hasOwnProperty(a)&&!1===e(t[a],a))break}},function(t,e,n){var i=n(2),r=Array.isArray?Array.isArray:function(t){return i(t,"Array")};t.exports=r},function(t,e){var n={}.toString;t.exports=function(t,e){return n.call(t)==="[object "+e+"]"}},function(t,e,n){var i=n(2);t.exports=function(t){return i(t,"Function")}},function(t,e){t.exports=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},function(t,e){t.exports=function(t){return null==t}},function(t,e,n){var i=n(2);t.exports=function(t){return i(t,"Number")}},function(t,e,n){var i=n(13),r=n(2);t.exports=function(t){if(!i(t)||!r(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e,n){var i=n(5);t.exports=function(t){return i(t)?"":t.toString()}},function(t,e,n){var i=n(4),r=Array.prototype.indexOf;t.exports=function(t,e){return!!i(t)&&r.call(t,e)>-1}},function(t,e,n){var i=n(2);t.exports=function(t){return i(t,"String")}},function(t,e){function n(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}t.exports=function(t,e,i,r){return e&&n(t,e),i&&n(t,i),r&&n(t,r),t}},function(t,e,n){var i=n(0),r=n(4);t.exports=function(t,e){if(!r(t))return t;var n=[];return i(t,(function(t,i){e(t,i)&&n.push(t)})),n}},function(t,e){var n="function"==typeof Symbol&&"symbol"==a(Symbol.iterator)?function(t){return a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":a(t)};t.exports=function(t){return"object"===(void 0===t?"undefined":n(t))&&null!==t}},function(t,e,n){var i=n(4);t.exports=function(t){return i(t)?Array.prototype.slice.call(t):[]}},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.setMatrixArrayType=function(t){e.ARRAY_TYPE=t},e.toRadian=function(t){return t*i},e.equals=function(t,e){return Math.abs(t-e)<=n*Math.max(1,Math.abs(t),Math.abs(e))};var n=e.EPSILON=1e-6;e.ARRAY_TYPE="undefined"!=typeof Float32Array?Float32Array:Array,e.RANDOM=Math.random;var i=Math.PI/180},function(t,e){var n="function"==typeof Symbol&&"symbol"==a(Symbol.iterator)?function(t){return a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":a(t)};t.exports=function(t){var e=void 0===t?"undefined":n(t);return null!==t&&"object"===e||"function"===e}},function(t,e,n){var i=n(18),r=n(5);t.exports=function(t,e){var n=i(e),o=n.length;if(r(t))return!o;for(var a=0;a<o;a+=1){var s=n[a];if(e[s]!==t[s]||!(s in t))return!1}return!0}},function(t,e,n){var i=n(0),r=n(3),o=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return i(t,(function(n,i){r(t)&&"prototype"===i||e.push(i)})),e};t.exports=o},function(t,e,n){var i=n(4),r=Array.prototype.splice;t.exports=function(t,e){if(!i(t))return[];for(var n=t?e.length:0,o=n-1;n--;){var a=void 0,s=e[n];n!==o&&s===a||(a=s,r.call(t,s,1))}return t}},function(t,e,n){var i=n(0),r=n(9);t.exports=function(t){var e=[];return i(t,(function(t){r(e,t)||e.push(t)})),e}},function(t,e){t.exports=function(t,e,n){return t<e?e:t>n?n:t}},function(t,e){t.exports=parseInt},function(t,e,n){var i=n(89);i.translate=function(t,e,n){var r=new Array(9);return i.fromTranslation(r,n),i.multiply(t,r,e)},i.rotate=function(t,e,n){var r=new Array(9);return i.fromRotation(r,n),i.multiply(t,r,e)},i.scale=function(t,e,n){var r=new Array(9);return i.fromScaling(r,n),i.multiply(t,r,e)},t.exports=i},function(t,e,n){var i="function"==typeof Symbol&&"symbol"==a(Symbol.iterator)?function(t){return a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":a(t)},r=n(1);t.exports=function t(e){if("object"!==(void 0===e?"undefined":i(e))||null===e)return e;var n=void 0;if(r(e)){n=[];for(var o=0,a=e.length;o<a;o++)"object"===i(e[o])&&null!=e[o]?n[o]=t(e[o]):n[o]=e[o]}else for(var s in n={},e)"object"===i(e[s])&&null!=e[s]?n[s]=t(e[s]):n[s]=e[s];return n}},function(t,e){t.exports=function(t,e){return t.hasOwnProperty(e)}},function(t,e,n){var i=n(0),r=n(3),o=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return i(t,(function(n,i){r(t)&&"prototype"===i||e.push(n)})),e};t.exports=o},function(t,e,n){var i=n(28);t.exports=function(t,e,n,r,o){if(o)return[["M",+t+ +o,e],["l",n-2*o,0],["a",o,o,0,0,1,o,o],["l",0,r-2*o],["a",o,o,0,0,1,-o,o],["l",2*o-n,0],["a",o,o,0,0,1,-o,-o],["l",0,2*o-r],["a",o,o,0,0,1,o,-o],["z"]];var a=[["M",t,e],["l",n,0],["l",0,r],["l",-n,0],["z"]];return a.parsePathArray=i,a}},function(t,e){var n=/,?([a-z]),?/gi;t.exports=function(t){return t.join(",").replace(n,"$1")}},function(t,e,n){var i=n(30),r=function t(e,n,i,r,o,a,s,u,l,c){i===r&&(i+=1);var h=120*Math.PI/180,p=Math.PI/180*(+o||0),f=[],d=void 0,g=void 0,v=void 0,y=void 0,m=void 0,x=function(t,e,n){return{x:t*Math.cos(n)-e*Math.sin(n),y:t*Math.sin(n)+e*Math.cos(n)}};if(c)g=c[0],v=c[1],y=c[2],m=c[3];else{e=(d=x(e,n,-p)).x,n=d.y,u=(d=x(u,l,-p)).x,l=d.y,e===u&&n===l&&(u+=1,l+=1);var _=(e-u)/2,b=(n-l)/2,w=_*_/(i*i)+b*b/(r*r);w>1&&(i*=w=Math.sqrt(w),r*=w);var M=i*i,S=r*r,C=(a===s?-1:1)*Math.sqrt(Math.abs((M*S-M*b*b-S*_*_)/(M*b*b+S*_*_)));y=C*i*b/r+(e+u)/2,m=C*-r*_/i+(n+l)/2,g=Math.asin(((n-m)/r).toFixed(9)),v=Math.asin(((l-m)/r).toFixed(9)),g=e<y?Math.PI-g:g,v=u<y?Math.PI-v:v,g<0&&(g=2*Math.PI+g),v<0&&(v=2*Math.PI+v),s&&g>v&&(g-=2*Math.PI),!s&&v>g&&(v-=2*Math.PI)}var O=v-g;if(Math.abs(O)>h){var k=v,P=u,A=l;v=g+h*(s&&v>g?1:-1),f=t(u=y+i*Math.cos(v),l=m+r*Math.sin(v),i,r,o,0,s,P,A,[v,k,y,m])}O=v-g;var L=Math.cos(g),T=Math.sin(g),D=Math.cos(v),j=Math.sin(v),I=Math.tan(O/4),B=4/3*i*I,E=4/3*r*I,F=[e,n],R=[e+B*T,n-E*L],z=[u+B*j,l-E*D],N=[u,l];if(R[0]=2*F[0]-R[0],R[1]=2*F[1]-R[1],c)return[R,z,N].concat(f);for(var H=[],Y=0,G=(f=[R,z,N].concat(f).join().split(",")).length;Y<G;Y++)H[Y]=Y%2?x(f[Y-1],f[Y],p).y:x(f[Y],f[Y+1],p).x;return H},o=function(t,e,n,i){return[t,e,n,i,n,i]},a=function(t,e,n,i,r,o){return[1/3*t+2/3*n,1/3*e+2/3*i,1/3*r+2/3*n,1/3*o+2/3*i,r,o]};t.exports=function(t,e){var n=i(t),s=e&&i(e),u={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},l={x:0,y:0,bx:0,by:0,X:0,Y:0,qx:null,qy:null},c=[],h=[],p="",f="",d=void 0,g=function(t,e,n){var i=void 0,s=void 0;if(!t)return["C",e.x,e.y,e.x,e.y,e.x,e.y];switch(!(t[0]in{T:1,Q:1})&&(e.qx=e.qy=null),t[0]){case"M":e.X=t[1],e.Y=t[2];break;case"A":t=["C"].concat(r.apply(0,[e.x,e.y].concat(t.slice(1))));break;case"S":"C"===n||"S"===n?(i=2*e.x-e.bx,s=2*e.y-e.by):(i=e.x,s=e.y),t=["C",i,s].concat(t.slice(1));break;case"T":"Q"===n||"T"===n?(e.qx=2*e.x-e.qx,e.qy=2*e.y-e.qy):(e.qx=e.x,e.qy=e.y),t=["C"].concat(a(e.x,e.y,e.qx,e.qy,t[1],t[2]));break;case"Q":e.qx=t[1],e.qy=t[2],t=["C"].concat(a(e.x,e.y,t[1],t[2],t[3],t[4]));break;case"L":t=["C"].concat(o(e.x,e.y,t[1],t[2]));break;case"H":t=["C"].concat(o(e.x,e.y,t[1],e.y));break;case"V":t=["C"].concat(o(e.x,e.y,e.x,t[1]));break;case"Z":t=["C"].concat(o(e.x,e.y,e.X,e.Y))}return t},v=function(t,e){if(t[e].length>7){t[e].shift();for(var i=t[e];i.length;)c[e]="A",s&&(h[e]="A"),t.splice(e++,0,["C"].concat(i.splice(0,6)));t.splice(e,1),d=Math.max(n.length,s&&s.length||0)}},y=function(t,e,i,r,o){t&&e&&"M"===t[o][0]&&"M"!==e[o][0]&&(e.splice(o,0,["M",r.x,r.y]),i.bx=0,i.by=0,i.x=t[o][1],i.y=t[o][2],d=Math.max(n.length,s&&s.length||0))};d=Math.max(n.length,s&&s.length||0);for(var m=0;m<d;m++){n[m]&&(p=n[m][0]),"C"!==p&&(c[m]=p,m&&(f=c[m-1])),n[m]=g(n[m],u,f),"A"!==c[m]&&"C"===p&&(c[m]="C"),v(n,m),s&&(s[m]&&(p=s[m][0]),"C"!==p&&(h[m]=p,m&&(f=h[m-1])),s[m]=g(s[m],l,f),"A"!==h[m]&&"C"===p&&(h[m]="C"),v(s,m)),y(n,s,u,l,m),y(s,n,l,u,m);var x=n[m],_=s&&s[m],b=x.length,w=s&&_.length;u.x=x[b-2],u.y=x[b-1],u.bx=parseFloat(x[b-4])||u.x,u.by=parseFloat(x[b-3])||u.y,l.bx=s&&(parseFloat(_[w-4])||l.x),l.by=s&&(parseFloat(_[w-3])||l.y),l.x=s&&_[w-2],l.y=s&&_[w-1]}return s?[n,s]:n}},function(t,e,n){var i=n(31),r=n(32);function o(t,e,n,i,r){var o=[];if(null===r&&null===i&&(i=n),t=+t,e=+e,n=+n,i=+i,null!==r){var a=Math.PI/180,s=t+n*Math.cos(-i*a),u=t+n*Math.cos(-r*a);o=[["M",s,e+n*Math.sin(-i*a)],["A",n,n,0,+(r-i>180),0,u,e+n*Math.sin(-r*a)]]}else o=[["M",t,e],["m",0,-i],["a",n,i,0,1,1,0,2*i],["a",n,i,0,1,1,0,-2*i],["z"]];return o}t.exports=function(t){if(!(t=i(t))||!t.length)return[["M",0,0]];var e=[],n=0,a=0,s=0,u=0,l=0,c=void 0,h=void 0;"M"===t[0][0]&&(s=n=+t[0][1],u=a=+t[0][2],l++,e[0]=["M",n,a]);for(var p,f,d=3===t.length&&"M"===t[0][0]&&"R"===t[1][0].toUpperCase()&&"Z"===t[2][0].toUpperCase(),g=l,v=t.length;g<v;g++){if(e.push(p=[]),(c=(f=t[g])[0])!==c.toUpperCase())switch(p[0]=c.toUpperCase(),p[0]){case"A":p[1]=f[1],p[2]=f[2],p[3]=f[3],p[4]=f[4],p[5]=f[5],p[6]=+f[6]+n,p[7]=+f[7]+a;break;case"V":p[1]=+f[1]+a;break;case"H":p[1]=+f[1]+n;break;case"R":for(var y=2,m=(h=[n,a].concat(f.slice(1))).length;y<m;y++)h[y]=+h[y]+n,h[++y]=+h[y]+a;e.pop(),e=e.concat(r(h,d));break;case"O":e.pop(),(h=o(n,a,f[1],f[2])).push(h[0]),e=e.concat(h);break;case"U":e.pop(),e=e.concat(o(n,a,f[1],f[2],f[3])),p=["U"].concat(e[e.length-1].slice(-2));break;case"M":s=+f[1]+n,u=+f[2]+a;break;default:for(var x=1,_=f.length;x<_;x++)p[x]=+f[x]+(x%2?n:a)}else if("R"===c)h=[n,a].concat(f.slice(1)),e.pop(),e=e.concat(r(h,d)),p=["R"].concat(f.slice(-2));else if("O"===c)e.pop(),(h=o(n,a,f[1],f[2])).push(h[0]),e=e.concat(h);else if("U"===c)e.pop(),e=e.concat(o(n,a,f[1],f[2],f[3])),p=["U"].concat(e[e.length-1].slice(-2));else for(var b=0,w=f.length;b<w;b++)p[b]=f[b];if("O"!==(c=c.toUpperCase()))switch(p[0]){case"Z":n=+s,a=+u;break;case"H":n=p[1];break;case"V":a=p[1];break;case"M":s=p[p.length-2],u=p[p.length-1];break;default:n=p[p.length-2],a=p[p.length-1]}}return e}},function(t,e){var n="function"==typeof Symbol&&"symbol"==a(Symbol.iterator)?function(t){return a(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":a(t)},i="\t\n\v\f\r   ᠎              \u2028\u2029",r=new RegExp("([a-z])["+i+",]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?["+i+"]*,?["+i+"]*)+)","ig"),o=new RegExp("(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)["+i+"]*,?["+i+"]*","ig");t.exports=function(t){if(!t)return null;if((void 0===t?"undefined":n(t))===n([]))return t;var e={a:7,c:6,o:2,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,u:3,z:0},i=[];return String(t).replace(r,(function(t,n,r){var a=[],s=n.toLowerCase();if(r.replace(o,(function(t,e){e&&a.push(+e)})),"m"===s&&a.length>2&&(i.push([n].concat(a.splice(0,2))),s="l",n="m"===n?"l":"L"),"o"===s&&1===a.length&&i.push([n,a[0]]),"r"===s)i.push([n].concat(a));else for(;a.length>=e[s]&&(i.push([n].concat(a.splice(0,e[s]))),e[s]););})),i}},function(t,e){t.exports=function(t,e){for(var n=[],i=0,r=t.length;r-2*!e>i;i+=2){var o=[{x:+t[i-2],y:+t[i-1]},{x:+t[i],y:+t[i+1]},{x:+t[i+2],y:+t[i+3]},{x:+t[i+4],y:+t[i+5]}];e?i?r-4===i?o[3]={x:+t[0],y:+t[1]}:r-2===i&&(o[2]={x:+t[0],y:+t[1]},o[3]={x:+t[2],y:+t[3]}):o[0]={x:+t[r-2],y:+t[r-1]}:r-4===i?o[3]=o[2]:i||(o[0]={x:+t[i],y:+t[i+1]}),n.push(["C",(-o[0].x+6*o[1].x+o[2].x)/6,(-o[0].y+6*o[1].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return n}},function(t,e,n){var i=n(8);t.exports=function(t){return i(t).toLowerCase()}},function(t,e,n){var i=n(8);t.exports=function(t){return i(t).toUpperCase()}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).replace(/^\[object /,"").replace(/\]$/,"")}},function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},function(t,e,n){var i=n(3),r=n(1),o=n(38);t.exports=function(t,e){if(!e)return{0:t};if(!i(e)){var n=r(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",i=0,r=n.length;i<r;i++)e+=t[n[i]]&&t[n[i]].toString();return e}}return o(t,e)}},function(t,e,n){var i=n(0),r=n(1),o=Object.prototype.hasOwnProperty;t.exports=function(t,e){if(!e||!r(t))return t;var n={},a=null;return i(t,(function(t){a=e(t),o.call(n,a)?n[a].push(t):n[a]=[t]})),n}},function(t,e,n){var i=n(13),r=n(4),o=n(10);t.exports=function t(e,n){if(e===n)return!0;if(!e||!n)return!1;if(o(e)||o(n))return!1;if(r(e)||r(n)){if(e.length!==n.length)return!1;for(var a=!0,s=0;s<e.length&&(a=t(e[s],n[s]));s++);return a}if(i(e)||i(n)){var u=Object.keys(e),l=Object.keys(n);if(u.length!==l.length)return!1;for(var c=!0,h=0;h<u.length&&(c=t(e[u[h]],n[u[h]]));h++);return c}return!1}},function(t,e,n){var i=n(0),r=n(11),o=n(41),a=n(53),s=n(67),u=n(70),l=n(74),c=n(88),h=n(95),p=n(99),f=n(105),d=n(111),g={DOMUtil:o,DomUtil:o,MatrixUtil:c,PathUtil:p,arrayUtil:a,domUtil:o,eventUtil:s,formatUtil:u,mathUtil:l,matrixUtil:c,objectUtil:h,stringUtil:f,pathUtil:p,typeUtil:d,augment:n(119),clone:n(24),debounce:n(120),deepMix:n(121),each:i,extend:n(122),filter:n(12),group:n(123),groupBy:n(38),groupToMap:n(37),indexOf:n(124),isEmpty:n(125),isEqual:n(39),isEqualWith:n(126),map:n(127),mix:r,pick:n(128),throttle:n(129),toArray:n(14),toString:n(8),uniqueId:n(130)};i([o,a,s,u,l,c,h,p,f,d],(function(t){r(g,t)})),t.exports=g},function(t,e,n){t.exports={addEventListener:n(42),createDom:n(43),getBoundingClientRect:n(44),getHeight:n(45),getOuterHeight:n(46),getOuterWidth:n(47),getRatio:n(48),getStyle:n(49),getWidth:n(50),modifyCSS:n(51),requestAnimationFrame:n(52)}},function(t,e){t.exports=function(t,e,n){if(t){if(t.addEventListener)return t.addEventListener(e,n,!1),{remove:function(){t.removeEventListener(e,n,!1)}};if(t.attachEvent)return t.attachEvent("on"+e,n),{remove:function(){t.detachEvent("on"+e,n)}}}}},function(t,e){var n=document.createElement("table"),i=document.createElement("tr"),r=/^\s*<(\w+|!)[^>]*>/,o={tr:document.createElement("tbody"),tbody:n,thead:n,tfoot:n,td:i,th:i,"*":document.createElement("div")};t.exports=function(t){var e=r.test(t)&&RegExp.$1;e in o||(e="*");var n=o[e];t=t.replace(/(^\s*)|(\s*$)/g,""),n.innerHTML=""+t;var i=n.childNodes[0];return n.removeChild(i),i}},function(t,e){t.exports=function(t,e){if(t&&t.getBoundingClientRect){var n=t.getBoundingClientRect(),i=document.documentElement.clientTop,r=document.documentElement.clientLeft;return{top:n.top-i,bottom:n.bottom-i,left:n.left-r,right:n.right-r}}return e||null}},function(t,e){t.exports=function(t,e){var n=this.getStyle(t,"height",e);return"auto"===n&&(n=t.offsetHeight),parseFloat(n)}},function(t,e){t.exports=function(t,e){var n=this.getHeight(t,e),i=parseFloat(this.getStyle(t,"borderTopWidth"))||0,r=parseFloat(this.getStyle(t,"paddingTop"))||0,o=parseFloat(this.getStyle(t,"paddingBottom"))||0;return n+i+(parseFloat(this.getStyle(t,"borderBottomWidth"))||0)+r+o}},function(t,e){t.exports=function(t,e){var n=this.getWidth(t,e),i=parseFloat(this.getStyle(t,"borderLeftWidth"))||0,r=parseFloat(this.getStyle(t,"paddingLeft"))||0,o=parseFloat(this.getStyle(t,"paddingRight"))||0;return n+i+(parseFloat(this.getStyle(t,"borderRightWidth"))||0)+r+o}},function(t,e){t.exports=function(){return window.devicePixelRatio?window.devicePixelRatio:2}},function(t,e,n){var i=n(5);t.exports=function(t,e,n){try{return window.getComputedStyle?window.getComputedStyle(t,null)[e]:t.currentStyle[e]}catch(t){return i(n)?null:n}}},function(t,e){t.exports=function(t,e){var n=this.getStyle(t,"width",e);return"auto"===n&&(n=t.offsetWidth),parseFloat(n)}},function(t,e){t.exports=function(t,e){if(t)for(var n in e)e.hasOwnProperty(n)&&(t.style[n]=e[n]);return t}},function(t,e){t.exports=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}},function(t,e,n){t.exports={contains:n(9),difference:n(54),find:n(55),firstValue:n(56),flatten:n(57),flattenDeep:n(58),getRange:n(59),merge:n(60),pull:n(61),pullAt:n(19),reduce:n(62),remove:n(63),sortBy:n(64),union:n(65),uniq:n(20),valuesOfKey:n(66)}},function(t,e,n){var i=n(12),r=n(9);t.exports=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i(t,(function(t){return!r(e,t)}))}},function(t,e,n){var i=n(3),r=n(7),o=n(17);t.exports=function(t,e){var n=void 0;if(i(e)&&(n=e),r(e)&&(n=function(t){return o(t,e)}),n)for(var a=0;a<t.length;a+=1)if(n(t[a]))return t[a];return null}},function(t,e,n){var i=n(5),r=n(1);t.exports=function(t,e){for(var n=null,o=0;o<t.length;o++){var a=t[o][e];if(!i(a)){n=r(a)?a[0]:a;break}}return n}},function(t,e,n){var i=n(1),r=n(0);t.exports=function(t){if(!i(t))return t;var e=[];return r(t,(function(t){i(t)?r(t,(function(t){e.push(t)})):e.push(t)})),e}},function(t,e,n){var i=n(1);t.exports=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(i(e))for(var r=0;r<e.length;r+=1)t(e[r],n);else n.push(e);return n}},function(t,e,n){var i=n(12),r=n(1);t.exports=function(t){if(!(t=i(t,(function(t){return!isNaN(t)}))).length)return{min:0,max:0};if(r(t[0])){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);t=e}var o=Math.max.apply(null,t);return{min:Math.min.apply(null,t),max:o}}},function(t,e){t.exports=function(t){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e}},function(t,e){var n=Array.prototype,i=n.splice,r=n.indexOf,o=n.slice;t.exports=function(t){for(var e=o.call(arguments,1),n=0;n<e.length;n++)for(var a=e[n],s=-1;(s=r.call(t,a))>-1;)i.call(t,s,1);return t}},function(t,e,n){var i=n(1),r=n(7),o=n(0);t.exports=function(t,e,n){if(!i(t)&&!r(t))return t;var a=n;return o(t,(function(t,n){a=e(a,t,n)})),a}},function(t,e,n){var i=n(4),r=n(19);t.exports=function(t,e){var n=[];if(!i(t))return n;for(var o=-1,a=[],s=t.length;++o<s;){var u=t[o];e(u,o,t)&&(n.push(u),a.push(o))}return r(t,a),n}},function(t,e,n){var i=n(10),r=n(3),o=n(1);t.exports=function(t,e){var n=void 0;if(r(e))n=function(t,n){return e(t)-e(n)};else{var a=[];i(e)?a.push(e):o(e)&&(a=e),n=function(t,e){for(var n=0;n<a.length;n+=1){var i=a[n];if(t[i]>e[i])return 1;if(t[i]<e[i])return-1}return 0}}return t.sort(n),t}},function(t,e,n){var i=n(0),r=n(14),o=n(20);t.exports=function(){var t=[],e=r(arguments);return i(e,(function(e){t=t.concat(e)})),o(t)}},function(t,e,n){var i=n(5),r=n(1),o=n(0);t.exports=function(t,e){for(var n=[],a={},s=0;s<t.length;s++){var u=t[s][e];i(u)||(r(u)||(u=[u]),o(u,(function(t){a[t]||(n.push(t),a[t]=!0)})))}return n}},function(t,e,n){t.exports={getWrapBehavior:n(68),wrapBehavior:n(69)}},function(t,e){t.exports=function(t,e){return t["_wrap_"+e]}},function(t,e){t.exports=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}},function(t,e,n){var i=n(71);t.exports={number2color:i,numberToColor:i,parsePath:n(72),parseRadius:n(73)}},function(t,e){var n={};t.exports=function(t){var e=n[t];if(!e){for(var i=t.toString(16),r=i.length;r<6;r++)i="0"+i;e="#"+i,n[t]=e}return e}},function(t,e,n){var i=n(1),r=n(10),o=n(0),a=/[MLHVQTCSAZ]([^MLHVQTCSAZ]*)/gi,s=/[^\s\,]+/gi;t.exports=function(t){return i(t=t||[])?t:r(t)?(t=t.match(a),o(t,(function(e,n){if((e=e.match(s))[0].length>1){var i=e[0].charAt(0);e.splice(1,0,e[0].substr(1)),e[0]=i}o(e,(function(t,n){isNaN(t)||(e[n]=+t)})),t[n]=e})),t):void 0}},function(t,e,n){var i=n(1);t.exports=function(t){var e=0,n=0,r=0,o=0;return i(t)?1===t.length?e=n=r=o=t[0]:2===t.length?(e=r=t[0],n=o=t[1]):3===t.length?(e=t[0],n=o=t[1],r=t[2]):(e=t[0],n=t[1],r=t[2],o=t[3]):e=n=r=o=t,{r1:e,r2:n,r3:r,r4:o}}},function(t,e,n){var i=n(75);t.exports={clamp:n(21),fixedBase:n(76),isDecimal:n(77),isEven:n(78),isInteger:n(79),isNegative:n(80),isNumberEqual:i,isOdd:n(81),isPositive:n(82),maxBy:n(83),minBy:n(84),mod:n(85),snapEqual:i,toDegree:n(86),toInt:n(22),toInteger:n(22),toRadian:n(87)}},function(t,e){t.exports=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e-5;return Math.abs(t-e)<n}},function(t,e){t.exports=function(t,e){var n=e.toString(),i=n.indexOf(".");if(-1===i)return Math.round(t);var r=n.substr(i+1).length;return r>20&&(r=20),parseFloat(t.toFixed(r))}},function(t,e,n){var i=n(6);t.exports=function(t){return i(t)&&t%1!=0}},function(t,e,n){var i=n(6);t.exports=function(t){return i(t)&&t%2==0}},function(t,e,n){var i=n(6),r=Number.isInteger?Number.isInteger:function(t){return i(t)&&t%1==0};t.exports=r},function(t,e,n){var i=n(6);t.exports=function(t){return i(t)&&t<0}},function(t,e,n){var i=n(6);t.exports=function(t){return i(t)&&t%2!=0}},function(t,e,n){var i=n(6);t.exports=function(t){return i(t)&&t>0}},function(t,e,n){var i=n(1),r=n(3),o=n(0);t.exports=function(t,e){if(i(t)){var n=t[0],a=void 0;a=r(e)?e(t[0]):t[0][e];var s=void 0;return o(t,(function(t){(s=r(e)?e(t):t[e])>a&&(n=t,a=s)})),n}}},function(t,e,n){var i=n(1),r=n(3),o=n(0);t.exports=function(t,e){if(i(t)){var n=t[0],a=void 0;a=r(e)?e(t[0]):t[0][e];var s=void 0;return o(t,(function(t){(s=r(e)?e(t):t[e])<a&&(n=t,a=s)})),n}}},function(t,e){t.exports=function(t,e){return(t%e+e)%e}},function(t,e){var n=180/Math.PI;t.exports=function(t){return n*t}},function(t,e){var n=Math.PI/180;t.exports=function(t){return n*t}},function(t,e,n){t.exports={mat3:n(23),vec2:n(90),vec3:n(92),transform:n(94)}},function(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.sub=e.mul=void 0,e.create=function(){var t=new i.ARRAY_TYPE(9);return i.ARRAY_TYPE!=Float32Array&&(t[1]=0,t[2]=0,t[3]=0,t[5]=0,t[6]=0,t[7]=0),t[0]=1,t[4]=1,t[8]=1,t},e.fromMat4=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t},e.clone=function(t){var e=new i.ARRAY_TYPE(9);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e[6]=t[6],e[7]=t[7],e[8]=t[8],e},e.copy=function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},e.fromValues=function(t,e,n,r,o,a,s,u,l){var c=new i.ARRAY_TYPE(9);return c[0]=t,c[1]=e,c[2]=n,c[3]=r,c[4]=o,c[5]=a,c[6]=s,c[7]=u,c[8]=l,c},e.set=function(t,e,n,i,r,o,a,s,u,l){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=a,t[6]=s,t[7]=u,t[8]=l,t},e.identity=function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},e.transpose=function(t,e){if(t===e){var n=e[1],i=e[2],r=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=i,t[7]=r}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t},e.invert=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],u=e[6],l=e[7],c=e[8],h=c*a-s*l,p=-c*o+s*u,f=l*o-a*u,d=n*h+i*p+r*f;return d?(d=1/d,t[0]=h*d,t[1]=(-c*i+r*l)*d,t[2]=(s*i-r*a)*d,t[3]=p*d,t[4]=(c*n-r*u)*d,t[5]=(-s*n+r*o)*d,t[6]=f*d,t[7]=(-l*n+i*u)*d,t[8]=(a*n-i*o)*d,t):null},e.adjoint=function(t,e){var n=e[0],i=e[1],r=e[2],o=e[3],a=e[4],s=e[5],u=e[6],l=e[7],c=e[8];return t[0]=a*c-s*l,t[1]=r*l-i*c,t[2]=i*s-r*a,t[3]=s*u-o*c,t[4]=n*c-r*u,t[5]=r*o-n*s,t[6]=o*l-a*u,t[7]=i*u-n*l,t[8]=n*a-i*o,t},e.determinant=function(t){var e=t[0],n=t[1],i=t[2],r=t[3],o=t[4],a=t[5],s=t[6],u=t[7],l=t[8];return e*(l*o-a*u)+n*(-l*r+a*s)+i*(u*r-o*s)},e.multiply=r,e.translate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],u=e[5],l=e[6],c=e[7],h=e[8],p=n[0],f=n[1];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=u,t[6]=p*i+f*a+l,t[7]=p*r+f*s+c,t[8]=p*o+f*u+h,t},e.rotate=function(t,e,n){var i=e[0],r=e[1],o=e[2],a=e[3],s=e[4],u=e[5],l=e[6],c=e[7],h=e[8],p=Math.sin(n),f=Math.cos(n);return t[0]=f*i+p*a,t[1]=f*r+p*s,t[2]=f*o+p*u,t[3]=f*a-p*i,t[4]=f*s-p*r,t[5]=f*u-p*o,t[6]=l,t[7]=c,t[8]=h,t},e.scale=function(t,e,n){var i=n[0],r=n[1];return t[0]=i*e[0],t[1]=i*e[1],t[2]=i*e[2],t[3]=r*e[3],t[4]=r*e[4],t[5]=r*e[5],t[6]=e[