(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d5f54"],{7104:function(t,e,n){(function(e,n){t.exports=n()})(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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="./src/index.ts")}({"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js": /*!********************************************************************************!*\ !*** ./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js ***! \********************************************************************************/ /*! no static exports found */function(t,e,n){(function(e,n){t.exports=n()})("undefined"!==typeof self&&self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.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){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=5)}([function(t,e,n){var r=n(7);t.exports={assign:r}},function(t,e,n){var r=n(3),o=function(){function t(t,e){void 0===e&&(e={});var n=this;n.options=e,n.rootNode=r(t,e)}var e=t.prototype;return e.execute=function(){throw new Error("please override this method")},t}();t.exports=o},function(t,e,n){var r=n(4),o=["LR","RL","TB","BT","H","V"],i=["LR","RL","H"],a=function(t){return i.indexOf(t)>-1},s=o[0];t.exports=function(t,e,n){var i=e.direction||s;if(e.isHorizontal=a(i),i&&-1===o.indexOf(i))throw new TypeError("Invalid direction: "+i);if(i===o[0])n(t,e);else if(i===o[1])n(t,e),t.right2left();else if(i===o[2])n(t,e);else if(i===o[3])n(t,e),t.bottom2top();else if(i===o[4]||i===o[5]){var u=r(t,e),l=u.left,c=u.right;n(l,e),n(c,e),e.isHorizontal?l.right2left():l.bottom2top(),c.translate(l.x-c.x,l.y-c.y),t.x=l.x,t.y=c.y;var d=t.getBoundingBox();e.isHorizontal?d.top<0&&t.translate(0,-d.top):d.left<0&&t.translate(-d.left,0)}var f=e.fixedRoot;return void 0===f&&(f=!0),f&&t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,e,n){var r=n(0),o=18,i=2*o,a=o,s={getId:function(t){return t.id||t.name},getHGap:function(t){return t.hgap||a},getVGap:function(t){return t.vgap||a},getChildren:function(t){return t.children},getHeight:function(t){return t.height||i},getWidth:function(t){var e=t.name||" ";return t.width||e.split("").length*o}};function u(t,e){var n=this;if(n.vgap=n.hgap=0,t instanceof u)return t;n.data=t;var r=e.getHGap(t),o=e.getVGap(t);return n.width=e.getWidth(t),n.height=e.getHeight(t),n.id=e.getId(t),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,o),n}function l(t,e,n){void 0===e&&(e={}),e=r.assign({},s,e);var o,i=new u(t,e),a=[i];if(!n&&!t.collapsed)while(o=a.pop())if(!o.data.collapsed){var l=e.getChildren(o.data),c=l?l.length:0;if(o.children=new Array(c),l&&c)for(var d=0;dn.low&&(n=n.nxt);var s=o+r.prelim+r.w-(a+i.prelim);s>0&&(a+=s,c(t,e,n.index,s));var u=h(r),l=h(i);u<=l&&(r=f(r),null!==r&&(o+=r.mod)),u>=l&&(i=d(i),null!==i&&(a+=i.mod))}!r&&i?_(t,e,i,a):r&&!i&&v(t,e,r,o)}function c(t,e,n,r){t.c[e].mod+=r,t.c[e].msel+=r,t.c[e].mser+=r,m(t,e,n,r)}function d(t){return 0===t.cs?t.tl:t.c[0]}function f(t){return 0===t.cs?t.tr:t.c[t.cs-1]}function h(t){return t.y+t.h}function _(t,e,n,r){var o=t.c[0].el;o.tl=n;var i=r-n.mod-t.c[0].msel;o.mod+=i,o.prelim-=i,t.c[0].el=t.c[e].el,t.c[0].msel=t.c[e].msel}function v(t,e,n,r){var o=t.c[e].er;o.tr=n;var i=r-n.mod-t.c[e].mser;o.mod+=i,o.prelim-=i,t.c[e].er=t.c[e-1].er,t.c[e].mser=t.c[e-1].mser}function p(t){t.prelim=(t.c[0].prelim+t.c[0].mod+t.c[t.cs-1].mod+t.c[t.cs-1].prelim+t.c[t.cs-1].w)/2-t.w/2}function g(t,e){e+=t.mod,t.x=t.prelim+e,y(t);for(var n=0;n=n.low)n=n.nxt;return{low:t,index:e,nxt:n}}s(t,r);var j=n.fromNode(t,r);return o(j),g(j,0),a(j,t,r),i(t,r),t}},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var o=n(1),i=n(10),a=n(2),s=n(0),u=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var n=e.prototype;return n.execute=function(){var t=this;return t.rootNode.width=0,a(t.rootNode,t.options,i)},e}(o),l={};function c(t,e){return e=s.assign({},l,e),new u(t,e).execute()}t.exports=c},function(t,e,n){var r=n(0);function o(t,e){void 0===t&&(t=0),void 0===e&&(e=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=e}var i={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function a(t,e,n){n?(e.x=t.x,e.y=t.y):(e.x=t.y,e.y=t.x),t.children.forEach((function(t,r){a(t,e.children[r],n)}))}t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},i,e);var n,s=0;function u(t){if(!t)return null;t.width=0,t.depth&&t.depth>s&&(s=t.depth);var e=t.children,n=e.length,r=new o(t.height,[]);return e.forEach((function(t,e){var o=u(t);r.children.push(o),0===e&&(r.leftChild=o),e===n-1&&(r.rightChild=o)})),r.originNode=t,r.isLeaf=t.isLeaf(),r}function l(t){if(t.isLeaf||0===t.children.length)t.drawingDepth=s;else{var e=t.children.map((function(t){return l(t)})),n=Math.min.apply(null,e);t.drawingDepth=n-1}return t.drawingDepth}function c(t){t.x=t.drawingDepth*e.rankSep,t.isLeaf?(t.y=0,n&&(t.y=n.y+n.height+e.nodeSep,t.originNode.parent!==n.originNode.parent&&(t.y+=e.subTreeSep)),n=t):(t.children.forEach((function(t){c(t)})),t.y=(t.leftChild.y+t.rightChild.y)/2)}var d=u(t);return l(d),c(d),a(d,t,e.isHorizontal),t}},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var o=n(1),i=n(12),a=n(4),s=n(0),u=["LR","RL","H"],l=u[0],c=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var n=e.prototype;return n.execute=function(){var t=this,e=t.options,n=t.rootNode;e.isHorizontal=!0;var r=e.indent,o=e.direction||l;if(o&&-1===u.indexOf(o))throw new TypeError("Invalid direction: "+o);if(o===u[0])i(n,r);else if(o===u[1])i(n,r),n.right2left();else if(o===u[2]){var s=a(n,e),c=s.left,d=s.right;i(c,r),c.right2left(),i(d,r);var f=c.getBoundingBox();d.translate(f.width,0),n.x=d.x-n.width/2}return n},e}(o),d={};function f(t,e){return e=s.assign({},d,e),new c(t,e).execute()}t.exports=f},function(t,e){var n=20;function r(t,e,n){t.x+=n*t.depth,t.y=e?e.y+e.height:0}t.exports=function(t,e){void 0===e&&(e=n);var o=null;t.eachNode((function(t){r(t,o,e),o=t}))}},function(t,e,n){function r(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var o=n(1),i=n(14),a=n(2),s=n(0),u=function(t){function e(){return t.apply(this,arguments)||this}r(e,t);var n=e.prototype;return n.execute=function(){var t=this;return a(t.rootNode,t.options,i)},e}(o),l={};function c(t,e){return e=s.assign({},l,e),new u(t,e).execute()}t.exports=c},function(t,e,n){var r=n(0);function o(t,e){var n=0;return t.children.length?t.children.forEach((function(t){n+=o(t,e)})):n=t.height,t._subTreeSep=e.getSubTreeSep(t.data),t.totalHeight=Math.max(t.height,n)+2*t._subTreeSep,t.totalHeight}function i(t){var e=t.children,n=e.length;if(n){e.forEach((function(t){i(t)}));var r=e[0],o=e[n-1],a=o.y-r.y+o.height,s=0;if(e.forEach((function(t){s+=t.totalHeight})),a>t.height)t.y=r.y+a/2-t.height/2;else if(1!==e.length||t.height>s){var u=t.y+(t.height-a)/2-r.y;e.forEach((function(t){t.translate(0,u)}))}else t.y=(r.y+r.height/2+o.y+o.height/2)/2-t.height/2}}var a={getSubTreeSep:function(){return 0}};t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},a,e),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse((function(t){t.x=t.parent.x+t.parent.width})),t.parent=null,o(t,e),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode((function(t){var e=t.children,n=e.length;if(n){var r=e[0];if(r.startY=t.startY+t._subTreeSep,1===n)r.y=t.y+t.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var o=1;on?n:t};e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clear-animation-frame.js": /*!********************************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/clear-animation-frame.js ***! \********************************************************************************/ /*! no static exports found */function(t,e,n){"use strict";function r(t){var e=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;e(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clone.js": /*!****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/clone.js ***! \****************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=function(t){if("object"!==typeof t||null===t)return t;var e;if(r.default(t)){e=[];for(var n=0,i=t.length;n-1};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/debounce.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/debounce.js ***! \*******************************************************************/ /*! no static exports found */function(t,e,n){"use strict";function r(t,e,n){var r;return function(){var o=this,i=arguments,a=function(){r=null,n||t.apply(o,i)},s=n&&!r;clearTimeout(r),r=setTimeout(a,e),s&&t.apply(o,i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/deep-mix.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/deep-mix.js ***! \*******************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js"),i=5;function a(t,e,n,s){for(var u in n=n||0,s=s||i,e)if(e.hasOwnProperty(u)){var l=e[u];null!==l&&o.default(l)?(o.default(t[u])||(t[u]={}),n20&&(o=20),parseFloat(t.toFixed(o))};e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js ***! \***********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=function(t,e){if(void 0===e&&(e=[]),r.default(t))for(var n=0;n0};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js ***! \***********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.prototype,o=function(t){var e=t&&t.constructor,n="function"===typeof e&&e.prototype||r;return t===n};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-reg-exp.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-reg-exp.js ***! \*********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js"),o=function(t){return r.default(t,"RegExp")};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js ***! \********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-type */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"String")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js": /*!******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js ***! \******************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={}.toString,o=function(t,e){return r.call(t)==="[object "+e+"]"};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-undefined.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-undefined.js ***! \***********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t){return void 0===t};e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js": /*!***************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js ***! \***************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),i=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return r.default(t,(function(n,r){o.default(t)&&"prototype"===r||e.push(r)})),e};e.default=i},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/last.js": /*!***************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/last.js ***! \***************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");function o(t){if(r.default(t)){var e=t;return e[e.length-1]}}e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-case.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-case.js ***! \*********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js"),o=function(t){return r.default(t).toLowerCase()};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-first.js": /*!**********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-first.js ***! \**********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./to-string */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js"),o=function(t){var e=r.default(t);return e.charAt(0).toLowerCase()+e.substring(1)};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/map-values.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/map-values.js ***! \*********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n(/*! ./is-object */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js"),i=function(t){return t};e.default=function(t,e){void 0===e&&(e=i);var n={};return o.default(t)&&!r.default(t)&&Object.keys(t).forEach((function(r){n[r]=e(t[r],r)})),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/map.js": /*!**************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/map.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),i=function(t,e){if(!o.default(t))return t;var n=[];return r.default(t,(function(t,r){n.push(e(t,r))})),n};e.default=i},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/max-by.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/max-by.js ***! \*****************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e){if(o.default(t)){var n,a,s=t[0];return n=i.default(e)?e(t[0]):t[0][e],r.default(t,(function(t){a=i.default(e)?e(t):t[e],a>n&&(s=t,n=a)})),s}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/memoize.js": /*!******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/memoize.js ***! \******************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-function */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e){if(!r.default(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],o=0;o-1)o.call(t,s,1)}return t};e.default=a},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/reduce.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/reduce.js ***! \*****************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./each */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n(/*! ./is-array */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js"),a=function(t,e,n){if(!o.default(t)&&!i.default(t))return t;var a=n;return r.default(t,(function(t,n){a=e(a,t,n)})),a};e.default=a},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/remove.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/remove.js ***! \*****************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),o=n(/*! ./pull-at */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull-at.js"),i=function(t,e){var n=[];if(!r.default(t))return n;var i=-1,a=[],s=t.length;while(++ie[r])return 1;if(t[r]e?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=o=i=null},l}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-array.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-array.js ***! \*******************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t){return r.default(t)?Array.prototype.slice.call(t):[]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-degree.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-degree.js ***! \********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=180/Math.PI,o=function(t){return r*t};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-integer.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-integer.js ***! \*********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=parseInt},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-radian.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-radian.js ***! \********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Math.PI/180,o=function(t){return r*t};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js ***! \********************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./is-nil */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js");e.default=function(t){return r.default(t)?"":t.toString()}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/union.js": /*!****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.7@@antv/util/lib/union.js ***! \****************************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ./uniq */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/uniq.js"),o=function(){for(var t=[],e=0;ee?1:t>=e?0:NaN}function n(t){return 1===t.length&&(t=r(t)),{left:function(e,n,r,o){null==r&&(r=0),null==o&&(o=e.length);while(r>>1;t(e[i],n)<0?r=i+1:o=i}return r},right:function(e,n,r,o){null==r&&(r=0),null==o&&(o=e.length);while(r>>1;t(e[i],n)>0?o=i:r=i+1}return r}}}function r(t){return function(n,r){return e(t(n),r)}}var o=n(e),i=o.right,a=o.left;function s(t,e){null==e&&(e=u);var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);while(nt?1:e>=t?0:NaN}function d(t){return null===t?NaN:+t}function f(t,e){var n,r,o=t.length,i=0,a=-1,s=0,u=0;if(null==e)while(++a1)return u/(i-1)}function h(t,e){var n=f(t,e);return n?Math.sqrt(n):n}function _(t,e){var n,r,o,i=t.length,a=-1;if(null==e){while(++a=n){r=o=n;while(++an&&(r=n),o=n){r=o=n;while(++an&&(r=n),o0)return[t];if((r=e0){t=Math.ceil(t/a),e=Math.floor(e/a),i=new Array(o=Math.ceil(e-t+1));while(++s=0?(i>=j?10:i>=w?5:i>=x?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=j?10:i>=w?5:i>=x?2:1)}function S(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=j?o*=10:i>=w?o*=5:i>=x&&(o*=2),ed)f.pop(),--h;var _,v=new Array(h+1);for(o=0;o<=h;++o)_=v[o]=[],_.x0=o>0?f[o-1]:c,_.x1=o=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,i=Math.floor(o),a=+n(t[i],i,t),s=+n(t[i+1],i+1,t);return a+(s-a)*(o-i)}}function O(t,n,r){return t=g.call(t,d).sort(e),Math.ceil((r-n)/(2*(P(t,.75)-P(t,.25))*Math.pow(t.length,-1/3)))}function C(t,e,n){return Math.ceil((n-e)/(3.5*h(t)*Math.pow(t.length,-1/3)))}function A(t,e){var n,r,o=t.length,i=-1;if(null==e){while(++i=n){r=n;while(++ir&&(r=n)}}else while(++i=n){r=n;while(++ir&&(r=n)}return r}function N(t,e){var n,r=t.length,o=r,i=-1,a=0;if(null==e)while(++i=0){r=t[o],e=r.length;while(--e>=0)n[--a]=r[e]}return n}function D(t,e){var n,r,o=t.length,i=-1;if(null==e){while(++i=n){r=n;while(++in&&(r=n)}}else while(++i=n){r=n;while(++in&&(r=n)}return r}function L(t,e){var n=e.length,r=new Array(n);while(n--)r[n]=t[e[n]];return r}function q(t,n){if(r=t.length){var r,o,i=0,a=0,s=t[a];null==n&&(n=e);while(++i=o.length)return null!=t&&n.sort(t),null!=e?e(n):n;var u,l,d,f=-1,h=n.length,_=o[i++],v=r(),p=a();while(++fo.length)return t;var r,i=l[n-1];return null!=e&&n>=o.length?r=t.entries():(r=[],t.each((function(t,e){r.push({key:e,values:d(t,n)})}))),null!=i?r.sort((function(t,e){return i(t.key,e.key)})):r}return n={object:function(t){return c(t,0,i,a)},map:function(t){return c(t,0,s,u)},entries:function(t){return d(c(t,0,s,u),0)},key:function(t){return o.push(t),n},sortKeys:function(t){return l[o.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}function i(){return{}}function a(t,e,n){t[e]=n}function s(){return r()}function u(t,e,n){t.set(e,n)}function l(){}n.prototype=r.prototype={constructor:n,has:function(t){return e+t in this},get:function(t){return this[e+t]},set:function(t,n){return this[e+t]=n,this},remove:function(t){var n=e+t;return n in this&&delete this[n]},clear:function(){for(var t in this)t[0]===e&&delete this[t]},keys:function(){var t=[];for(var n in this)n[0]===e&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)n[0]===e&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)n[0]===e&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)n[0]===e&&++t;return t},empty:function(){for(var t in this)if(t[0]===e)return!1;return!0},each:function(t){for(var n in this)n[0]===e&&t(this[n],n.slice(1),this)}};var c=r.prototype;function d(t,e){var n=new l;if(t instanceof l)t.each((function(t){n.add(t)}));else if(t){var r=-1,o=t.length;if(null==e)while(++rs&&(s=t),eu&&(u=e)}function d(t,n,r){var o=n[1][0]-n[0][0],i=n[1][1]-n[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=a&&t.clipExtent(null),e.geoStream(r,t.stream(l));var s=l.result(),u=Math.min(o/(s[1][0]-s[0][0]),i/(s[1][1]-s[0][1])),c=+n[0][0]+(o-u*(s[1][0]+s[0][0]))/2,d=+n[0][1]+(i-u*(s[1][1]+s[0][1]))/2;return null!=a&&t.clipExtent(a),t.scale(150*u).translate([c,d])}function f(t,e,n){return d(t,[[0,0],e],n)}function h(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=.12&&o<.234&&r>=-.425&&r<-.214?c:o>=.166&&o<.234&&r>=-.214&&r<-.115?_:l).invert(t)},p.stream=function(e){return t&&o===e?t:t=h([l.stream(o=e),c.stream(e),_.stream(e)])},p.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),_.precision(t),g()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),c.scale(.35*t),_.scale(t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.455*e,o-.238*e],[n+.455*e,o+.238*e]]).stream(v),a=c.translate([n-.307*e,o+.201*e]).clipExtent([[n-.425*e+r,o+.12*e+r],[n-.214*e-r,o+.234*e-r]]).stream(v),s=_.translate([n-.205*e,o+.212*e]).clipExtent([[n-.214*e+r,o+.166*e+r],[n-.115*e-r,o+.234*e-r]]).stream(v),g()},p.fitExtent=function(t,e){return d(p,t,e)},p.fitSize=function(t,e){return f(p,t,e)},p.drawCompositionBorders=function(t){var e=l([-102.91,26.3]),n=l([-104,27.5]),r=l([-108,29.1]),o=l([-110,29.1]),i=l([-110,26.7]),a=l([-112.8,27.6]),s=l([-114.3,30.6]),u=l([-119.3,30.1]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1])},p.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},p.scale(1070)}function v(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=.12&&o<.234&&r>=-.425&&r<-.214?p:o>=.166&&o<.234&&r>=-.214&&r<-.115?g:o>=.2064&&o<.2413&&r>=.312&&r<.385?m:o>=.09&&o<.1197&&r>=-.4243&&r<-.3232?y:o>=-.0518&&o<.0895&&r>=-.4243&&r<-.3824?b:_).invert(t)},w.stream=function(e){return t&&o===e?t:t=v([_.stream(o=e),p.stream(e),g.stream(e),m.stream(e),y.stream(e),b.stream(e)])},w.precision=function(t){return arguments.length?(_.precision(t),p.precision(t),g.precision(t),m.precision(t),y.precision(t),b.precision(t),x()):_.precision()},w.scale=function(t){return arguments.length?(_.scale(t),p.scale(.35*t),g.scale(t),m.scale(t),y.scale(2*t),b.scale(t),w.translate(_.translate())):_.scale()},w.translate=function(t){if(!arguments.length)return _.translate();var e=_.scale(),n=+t[0],o=+t[1];return i=_.translate(t).clipExtent([[n-.455*e,o-.238*e],[n+.455*e,o+.238*e]]).stream(j),a=p.translate([n-.307*e,o+.201*e]).clipExtent([[n-.425*e+r,o+.12*e+r],[n-.214*e-r,o+.233*e-r]]).stream(j),s=g.translate([n-.205*e,o+.212*e]).clipExtent([[n-.214*e+r,o+.166*e+r],[n-.115*e-r,o+.233*e-r]]).stream(j),u=m.translate([n+.35*e,o+.224*e]).clipExtent([[n+.312*e+r,o+.2064*e+r],[n+.385*e-r,o+.233*e-r]]).stream(j),l=y.translate([n-.492*e,o+.09*e]).clipExtent([[n-.4243*e+r,o+.0903*e+r],[n-.3233*e-r,o+.1197*e-r]]).stream(j),c=b.translate([n-.408*e,o+.018*e]).clipExtent([[n-.4244*e+r,o-.0519*e+r],[n-.3824*e-r,o+.0895*e-r]]).stream(j),x()},w.fitExtent=function(t,e){return d(w,t,e)},w.fitSize=function(t,e){return f(w,t,e)},w.drawCompositionBorders=function(t){var e=_([-110.4641,28.2805]),n=_([-104.0597,28.9528]),r=_([-103.7049,25.1031]),o=_([-109.8337,24.4531]),i=_([-124.4745,28.1407]),a=_([-110.931,30.8844]),s=_([-109.8337,24.4531]),u=_([-122.4628,21.8562]),l=_([-76.8579,25.1544]),c=_([-72.429,24.2097]),d=_([-72.8265,22.7056]),f=_([-77.1852,23.6392]),h=_([-125.0093,29.7791]),v=_([-118.5193,31.3262]),p=_([-118.064,29.6912]),g=_([-124.4369,28.169]),m=_([-128.1314,37.4582]),y=_([-125.2132,38.214]),b=_([-122.3616,30.5115]),j=_([-125.0315,29.8211]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath(),t.moveTo(l[0],l[1]),t.lineTo(c[0],c[1]),t.lineTo(d[0],d[1]),t.lineTo(d[0],d[1]),t.lineTo(f[0],f[1]),t.closePath(),t.moveTo(h[0],h[1]),t.lineTo(v[0],v[1]),t.lineTo(p[0],p[1]),t.lineTo(p[0],p[1]),t.lineTo(g[0],g[1]),t.closePath(),t.moveTo(m[0],m[1]),t.lineTo(y[0],y[1]),t.lineTo(b[0],b[1]),t.lineTo(b[0],b[1]),t.lineTo(j[0],j[1]),t.closePath()},w.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},w.scale(1070)}function g(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=.05346&&o<.0897&&r>=-.13388&&r<-.0322?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:t=g([u.stream(o=e),l.stream(e)])},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.06857*e,o-.1288*e],[n+.13249*e,o+.06*e]]).stream(c),a=l.translate([n+.1*e,o-.094*e]).clipExtent([[n-.1331*e+r,o+.053457*e+r],[n-.0354*e-r,o+.08969*e-r]]).stream(c),_()},h.fitExtent=function(t,e){return d(h,t,e)},h.fitSize=function(t,e){return f(h,t,e)},h.drawCompositionBorders=function(t){var e=u([-14.034675,34.965007]),n=u([-7.4208899,35.536988]),r=u([-7.3148275,33.54359]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1])},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(2700)}function y(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=.0093&&o<.03678&&r>=-.03875&&r<-.0116?c:o>=-.0412&&o<.0091&&r>=-.07782&&r<-.01166?h:l).invert(t)},v.stream=function(e){return t&&o===e?t:t=y([l.stream(o=e),c.stream(e),h.stream(e)])},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),p()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(t),h.scale(.6*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.0115*e,o-.1138*e],[n+.2105*e,o+.0673*e]]).stream(_),a=c.translate([n-.0265*e,o+.025*e]).clipExtent([[n-.0388*e+r,o+.0093*e+r],[n-.0116*e-r,o+.0368*e-r]]).stream(_),s=h.translate([n-.045*e,o+-.02*e]).clipExtent([[n-.0778*e+r,o-.0413*e+r],[n-.0117*e-r,o+.0091*e-r]]).stream(_),p()},v.fitExtent=function(t,e){return d(v,t,e)},v.fitSize=function(t,e){return f(v,t,e)},v.drawCompositionBorders=function(t){var e=l([-12.8351,38.7113]),n=l([-10.8482,38.7633]),r=l([-10.8181,37.2072]),o=l([-12.7345,37.1573]),i=l([-16.0753,41.4436]),a=l([-10.9168,41.6861]),s=l([-10.8557,38.7747]),u=l([-15.6728,38.5505]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath()},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(4200)}function j(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=-.0676&&o<-.026&&r>=-.0857&&r<-.0263?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:t=j([u.stream(o=e),l.stream(e)])},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.0262*e,o-.0734*e],[n+.1741*e,o+.079*e]]).stream(c),a=l.translate([n-.06*e,o-.04*e]).clipExtent([[n-.0857*e+r,o-.0676*e+r],[n-.0263*e-r,o-.026*e-r]]).stream(c),_()},h.fitExtent=function(t,e){return d(h,t,e)},h.fitSize=function(t,e){return f(h,t,e)},h.drawCompositionBorders=function(t){var e=u([-84.9032,2.3757]),n=u([-81.5047,2.3708]),r=u([-81.5063,-.01]),o=u([-84.9086,-.005]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(3500)}function x(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=.2582&&o<.32&&r>=-.1036&&r<-.087?h:o>=-.01298&&o<.0133&&r>=-.11396&&r<-.05944?_:o>=.01539&&o<.03911&&r>=-.089&&r<-.0588?v:c).invert(t)},g.stream=function(e){return t&&o===e?t:t=x([c.stream(o=e),h.stream(e),_.stream(e),v.stream(e)])},g.precision=function(t){return arguments.length?(c.precision(t),h.precision(t),_.precision(t),v.precision(t),m()):c.precision()},g.scale=function(t){return arguments.length?(c.scale(t),h.scale(.15*t),_.scale(1.5*t),v.scale(1.5*t),g.translate(c.translate())):c.scale()},g.translate=function(t){if(!arguments.length)return c.translate();var e=c.scale(),n=+t[0],o=+t[1];return i=c.translate(t).clipExtent([[n-.059*e,o-.3835*e],[n+.4498*e,o+.3375*e]]).stream(p),a=h.translate([n-.087*e,o+.17*e]).clipExtent([[n-.1166*e+r,o+.2582*e+r],[n-.06*e-r,o+.32*e-r]]).stream(p),s=_.translate([n-.092*e,o-0*e]).clipExtent([[n-.114*e+r,o-.013*e+r],[n-.0594*e-r,o+.0133*e-r]]).stream(p),u=v.translate([n-.089*e,o-.0265*e]).clipExtent([[n-.089*e+r,o+.0154*e+r],[n-.0588*e-r,o+.0391*e-r]]).stream(p),m()},g.fitExtent=function(t,e){return d(g,t,e)},g.fitSize=function(t,e){return f(g,t,e)},g.drawCompositionBorders=function(t){var e=c([-82.6999,-51.3043]),n=c([-77.5442,-51.6631]),r=c([-78.0254,-55.186]),o=c([-83.6106,-54.7785]),i=c([-80.0638,-35.984]),a=c([-76.2153,-36.1811]),s=c([-76.2994,-37.6839]),u=c([-80.2231,-37.4757]),l=c([-78.442,-37.706]),d=c([-76.263,-37.8054]),f=c([-76.344,-39.1595]),h=c([-78.5638,-39.0559]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath(),t.moveTo(l[0],l[1]),t.lineTo(d[0],d[1]),t.lineTo(f[0],f[1]),t.lineTo(f[0],f[1]),t.lineTo(h[0],h[1]),t.closePath()},g.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},g.scale(700)}function M(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=-.10925&&o<-.02701&&r>=-.135&&r<-.0397?c:o>=.04713&&o<.11138&&r>=-.03986&&r<.051?h:l).invert(t)},v.stream=function(e){return t&&o===e?t:t=M([l.stream(o=e),c.stream(e),h.stream(e)])},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),p()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(t),h.scale(.7*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.1352*e,o-.1091*e],[n+.117*e,o+.098*e]]).stream(_),a=c.translate([n-.0425*e,o-.005*e]).clipExtent([[n-.135*e+r,o-.1093*e+r],[n-.0397*e-r,o-.027*e-r]]).stream(_),s=h.translate(t).clipExtent([[n-.0399*e+r,o+.0471*e+r],[n+.051*e-r,o+.1114*e-r]]).stream(_),p()},v.fitExtent=function(t,e){return d(v,t,e)},v.fitSize=function(t,e){return f(v,t,e)},v.drawCompositionBorders=function(t){var e=l([126.01320483689143,41.621090310215585]),n=l([133.04304387025903,42.15087523707186]),r=l([133.3021766080688,37.43975444725098]),o=l([126.87889168628224,36.95488945159779]),i=l([132.9,29.8]),a=l([134,33]),s=l([139.3,33.2]),u=l([139.16,30.5]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1])},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(2200)}function T(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=.029&&o<.0864&&r>=-.14&&r<-.0996?j:o>=0&&o<.029&&r>=-.14&&r<-.0996?w:o>=-.032&&o<0&&r>=-.14&&r<-.0996?x:o>=-.052&&o<-.032&&r>=-.14&&r<-.0996?E:o>=-.076&&o<.052&&r>=-.14&&r<-.0996?M:o>=-.076&&o<-.052&&r>=.0967&&r<.1371?S:o>=-.052&&o<-.02&&r>=.0967&&r<.1371?k:o>=-.02&&o<.012&&r>=.0967&&r<.1371?P:o>=.012&&o<.033&&r>=.0967&&r<.1371?O:o>=.033&&o<.0864&&r>=.0967&&r<.1371?C:b).invert(t)},I.stream=function(e){return t&&o===e?t:t=T([b.stream(o=e),j.stream(e),w.stream(e),x.stream(e),E.stream(e),M.stream(e),S.stream(e),k.stream(e),P.stream(e),O.stream(e),C.stream(e),A.stream(e)])},I.precision=function(t){return arguments.length?(b.precision(t),j.precision(t),w.precision(t),x.precision(t),E.precision(t),M.precision(t),S.precision(t),k.precision(t),P.precision(t),O.precision(t),C.precision(t),A.precision(t),R()):b.precision()},I.scale=function(t){return arguments.length?(b.scale(t),j.scale(.6*t),w.scale(1.6*t),x.scale(1.4*t),E.scale(5*t),M.scale(1.3*t),S.scale(1.6*t),k.scale(1.2*t),P.scale(.3*t),O.scale(2.7*t),C.scale(.5*t),A.scale(.06*t),I.translate(b.translate())):b.scale()},I.translate=function(t){if(!arguments.length)return b.translate();var e=b.scale(),n=+t[0],o=+t[1];return i=b.translate(t).clipExtent([[n-.0996*e,o-.0908*e],[n+.0967*e,o+.0864*e]]).stream(N),a=j.translate([n-.12*e,o+.0575*e]).clipExtent([[n-.14*e+r,o+.029*e+r],[n-.0996*e-r,o+.0864*e-r]]).stream(N),s=w.translate([n-.12*e,o+.013*e]).clipExtent([[n-.14*e+r,o+0*e+r],[n-.0996*e-r,o+.029*e-r]]).stream(N),u=x.translate([n-.12*e,o-.014*e]).clipExtent([[n-.14*e+r,o-.032*e+r],[n-.0996*e-r,o+0*e-r]]).stream(N),l=E.translate([n-.12*e,o-.044*e]).clipExtent([[n-.14*e+r,o-.052*e+r],[n-.0996*e-r,o-.032*e-r]]).stream(N),c=M.translate([n-.12*e,o-.065*e]).clipExtent([[n-.14*e+r,o-.076*e+r],[n-.0996*e-r,o-.052*e-r]]).stream(N),h=S.translate([n+.117*e,o-.064*e]).clipExtent([[n+.0967*e+r,o-.076*e+r],[n+.1371*e-r,o-.052*e-r]]).stream(N),_=k.translate([n+.116*e,o-.0355*e]).clipExtent([[n+.0967*e+r,o-.052*e+r],[n+.1371*e-r,o-.02*e-r]]).stream(N),v=P.translate([n+.116*e,o-.0048*e]).clipExtent([[n+.0967*e+r,o-.02*e+r],[n+.1371*e-r,o+.012*e-r]]).stream(N),p=O.translate([n+.116*e,o+.022*e]).clipExtent([[n+.0967*e+r,o+.012*e+r],[n+.1371*e-r,o+.033*e-r]]).stream(N),m=A.translate([n+.11*e,o+.045*e]).clipExtent([[n+.0967*e+r,o+.033*e+r],[n+.1371*e-r,o+.06*e-r]]).stream(N),g=C.translate([n+.115*e,o+.075*e]).clipExtent([[n+.0967*e+r,o+.06*e+r],[n+.1371*e-r,o+.0864*e-r]]).stream(N),R()},I.fitExtent=function(t,e){return d(I,t,e)},I.fitSize=function(t,e){return f(I,t,e)},I.drawCompositionBorders=function(t){var e,n,r,o;e=b([-7.938886725111036,43.7219460918835]),n=b([-4.832080896458295,44.12930268549372]),r=b([-4.205299743793263,40.98096346967365]),o=b([-7.071796453126152,40.610037319181444]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-8.42751373617692,45.32889452553031]),n=b([-5.18599305777107,45.7566442062976]),r=b([-4.832080905154431,44.129302726751426]),o=b([-7.938886737126192,43.72194613263854]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-9.012656899657046,47.127733821030176]),n=b([-5.6105244772793155,47.579777861410626]),r=b([-5.185993067168585,45.756644248170346]),o=b([-8.427513749141811,45.32889456686326]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-9.405747558985553,48.26506375557457]),n=b([-5.896175018439575,48.733352850851624]),r=b([-5.610524487556043,47.57977790393761]),o=b([-9.012656913808351,47.127733862971255]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-9.908436061346974,49.642448789505856]),n=b([-6.262026716233124,50.131426841787174]),r=b([-5.896175029331232,48.73335289377258]),o=b([-9.40574757396393,48.26506379787767]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([11.996907706504462,50.16039028163579]),n=b([15.649907879773343,49.68279246765253]),r=b([15.156712840526632,48.30371557625831]),o=b([11.64122661754411,48.761078240546816]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([11.641226606955788,48.7610781975889]),n=b([15.156712825832164,48.30371553390465]),r=b([14.549932166241172,46.4866532486199]),o=b([11.204443787952183,46.91899233914248]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([11.204443778297161,46.918992296823646]),n=b([14.549932152815039,46.486653206856396]),r=b([13.994409796764009,44.695833444323256]),o=b([10.805306599253848,45.105133870684924]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([10.805306590412085,45.10513382903308]),n=b([13.99440978444733,44.695833403183606]),r=b([13.654633799024392,43.53552468558152]),o=b([10.561516803980956,43.930671459798624]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([10.561516795617383,43.93067141859757]),n=b([13.654633787361952,43.5355246448671]),r=b([12.867691604239901,40.640701985019405]),o=b([9.997809515987688,41.00288343254471]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([10.8,42.4]),n=b([12.8,42.13]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1])},I.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},I.scale(2700)}function P(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=-.31&&o<-.24&&r>=.14&&r<.24?j:o>=-.24&&o<-.17&&r>=.14&&r<.24?w:o>=-.17&&o<-.12&&r>=.21&&r<.24?E:o>=-.17&&o<-.14&&r>=.14&&r<.165?M:o>=-.17&&o<-.1&&r>=.14&&r<.24?x:o>=-.1&&o<-.03&&r>=.14&&r<.24?S:o>=-.03&&o<.04&&r>=.14&&r<.24?T:o>=-.31&&o<-.24&&r>=.24&&r<.34?k:o>=-.24&&o<-.17&&r>=.24&&r<.34?O:o>=-.17&&o<-.1&&r>=.24&&r<.34?C:o>=-.1&&o<-.03&&r>=.24&&r<.34?A:b).invert(t)},I.stream=function(e){return t&&o===e?t:t=P([b.stream(o=e),w.stream(e),k.stream(e),j.stream(e),T.stream(e),S.stream(e),O.stream(e),C.stream(e),A.stream(e),x.stream(e),E.stream(e),M.stream(e)])},I.precision=function(t){return arguments.length?(b.precision(t),w.precision(t),k.precision(t),j.precision(t),T.precision(t),S.precision(t),O.precision(t),C.precision(t),A.precision(t),x.precision(t),E.precision(t),M.precision(t),R()):b.precision()},I.scale=function(t){return arguments.length?(b.scale(t),j.scale(3*t),w.scale(.8*t),k.scale(3.5*t),C.scale(2.7*t),x.scale(2*t),E.scale(2*t),M.scale(2*t),S.scale(3*t),T.scale(t),O.scale(5.5*t),A.scale(6*t),I.translate(b.translate())):b.scale()},I.translate=function(t){if(!arguments.length)return b.translate();var e=b.scale(),n=+t[0],o=+t[1];return i=b.translate([n-.08*e,o]).clipExtent([[n-.51*e,o-.33*e],[n+.5*e,o+.33*e]]).stream(N),a=j.translate([n+.19*e,o-.275*e]).clipExtent([[n+.14*e+r,o-.31*e+r],[n+.24*e-r,o-.24*e-r]]).stream(N),s=w.translate([n+.19*e,o-.205*e]).clipExtent([[n+.14*e+r,o-.24*e+r],[n+.24*e-r,o-.17*e-r]]).stream(N),u=x.translate([n+.19*e,o-.135*e]).clipExtent([[n+.14*e+r,o-.17*e+r],[n+.24*e-r,o-.1*e-r]]).stream(N),l=E.translate([n+.225*e,o-.147*e]).clipExtent([[n+.21*e+r,o-.17*e+r],[n+.24*e-r,o-.12*e-r]]).stream(N),c=M.translate([n+.153*e,o-.15*e]).clipExtent([[n+.14*e+r,o-.17*e+r],[n+.165*e-r,o-.14*e-r]]).stream(N),h=S.translate([n+.19*e,o-.065*e]).clipExtent([[n+.14*e+r,o-.1*e+r],[n+.24*e-r,o-.03*e-r]]).stream(N),_=T.translate([n+.19*e,o+.005*e]).clipExtent([[n+.14*e+r,o-.03*e+r],[n+.24*e-r,o+.04*e-r]]).stream(N),v=k.translate([n+.29*e,o-.275*e]).clipExtent([[n+.24*e+r,o-.31*e+r],[n+.34*e-r,o-.24*e-r]]).stream(N),p=O.translate([n+.29*e,o-.205*e]).clipExtent([[n+.24*e+r,o-.24*e+r],[n+.34*e-r,o-.17*e-r]]).stream(N),g=C.translate([n+.29*e,o-.135*e]).clipExtent([[n+.24*e+r,o-.17*e+r],[n+.34*e-r,o-.1*e-r]]).stream(N),m=A.translate([n+.29*e,o-.065*e]).clipExtent([[n+.24*e+r,o-.1*e+r],[n+.34*e-r,o-.03*e-r]]).stream(N),R()},I.fitExtent=function(t,e){return d(I,t,e)},I.fitSize=function(t,e){return f(I,t,e)},I.drawCompositionBorders=function(t){var e,n,r,o;e=b([42.45755610828648,63.343658547914934]),n=b([52.65837266667029,59.35045080290929]),r=b([47.19754502247785,56.12653496548117]),o=b([37.673034273363044,59.61638268506111]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([59.41110754003403,62.35069727399336]),n=b([66.75050228640794,57.11797303636038]),r=b([60.236065725110436,54.63331433818992]),o=b([52.65837313153311,59.350450804599355]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([48.81091130080243,66.93353402634641]),n=b([59.41110730654679,62.35069740653086]),r=b([52.6583728974441,59.3504509222445]),o=b([42.45755631675751,63.34365868805821]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([31.054198418446475,52.1080673766184]),n=b([39.09869284884117,49.400700047190554]),r=b([36.0580811499175,46.02944174908498]),o=b([28.690508588835726,48.433126979386415]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([33.977877745912025,55.849945501331]),n=b([42.75328432167726,52.78455122462353]),r=b([39.09869297540224,49.400700176148625]),o=b([31.05419851807008,52.10806751810923]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([52.658372900759296,59.35045068526415]),n=b([60.23606549583304,54.63331423800264]),r=b([54.6756370953122,51.892298789399455]),o=b([47.19754524788189,56.126534861222794]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([47.19754506082455,56.126534735591456]),n=b([54.675636900123514,51.892298681337095]),r=b([49.94448648951486,48.98775484983285]),o=b([42.75328468716108,52.78455126060818]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([42.75328453416769,52.78455113209101]),n=b([49.94448632339758,48.98775473706457]),r=b([45.912339990394315,45.99361784987003]),o=b([39.09869317356607,49.40070009378711]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([37.673034114296634,59.61638254183119]),n=b([47.197544835420544,56.126534839849846]),r=b([42.75328447467064,52.78455135314068]),o=b([33.977877870363905,55.849945644671145]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([44.56748486446032,57.26489367845818]),r=b([43.9335791193588,53.746540942601726]),o=b([43,56]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([37.673034114296634,59.61638254183119]),n=b([40.25902691953466,58.83002044222639]),r=b([38.458270492742024,57.26232178028002]),o=b([35.97754948030156,58.00266637992386]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},I.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},I.scale(750)}function C(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=-.0521&&o<.0229&&r>=-.0111&&r<.1?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:t=C([u.stream(o=e),l.stream(e)])},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(.615*t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.11*e,o-.0521*e],[n-.0111*e,o+.0521*e]]).stream(c),a=l.translate([n+.09*e,o-0*e]).clipExtent([[n-.0111*e+r,o-.0521*e+r],[n+.1*e-r,o+.024*e-r]]).stream(c),_()},h.fitExtent=function(t,e){return d(h,t,e)},h.fitSize=function(t,e){return f(h,t,e)},h.drawCompositionBorders=function(t){var e=u([106.3214,2.0228]),n=u([105.1843,2.3761]),r=u([104.2151,3.3618]),o=u([104.215,4.5651]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1])},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(4800)}function N(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=-.02&&o<0&&r>=-.038&&r<-.005?c:o>=0&&o<.02&&r>=-.038&&r<-.005?h:l).invert(t)},v.stream=function(e){return t&&o===e?t:t=N([l.stream(o=e),c.stream(e),h.stream(e)])},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),h.precision(t),p()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(1.5*t),h.scale(4*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.005*e,o-.02*e],[n+.038*e,o+.02*e]]).stream(_),a=c.translate([n-.025*e,o-.01*e]).clipExtent([[n-.038*e+r,o-.02*e+r],[n-.005*e-r,o+0*e-r]]).stream(_),s=h.translate([n-.025*e,o+.01*e]).clipExtent([[n-.038*e+r,o-0*e+r],[n-.005*e-r,o+.02*e-r]]).stream(_),p()},v.fitExtent=function(t,e){return d(v,t,e)},v.fitSize=function(t,e){return f(v,t,e)},v.drawCompositionBorders=function(t){var e,n,r,o;e=l([9.21327272751682,2.645820439454123]),n=l([11.679126293239872,2.644755519268689]),r=l([11.676845389029227,.35307824637606433]),o=l([9.213572917774014,.35414205204417754]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=l([7.320873711543669,2.64475551449975]),n=l([9.213272722738658,2.645820434679803]),r=l([9.213422896480349,1.4999812505283054]),o=l([7.322014760520787,1.4989168878985566]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=l([7.3220147605302905,1.4989168783492766]),n=l([9.213422896481598,1.499981240979021]),r=l([9.213572912999604,.354142056817247]),o=l([7.323154615739809,.353078251154504]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},v.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},v.scale(12e3)}function R(t){var e=t.length;return{point:function(n,r){var o=-1;while(++o=-.089&&o<.06&&r>=.029&&r<.046?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:t=R([u.stream(o=e),l.stream(e)])},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.065*e,o-.089*e],[n+.075*e,o+.089*e]]).stream(c),a=l.translate([n+.01*e,o+.025*e]).clipExtent([[n+.029*e+r,o-.089*e+r],[n+.046*e-r,o-.06*e-r]]).stream(c),_()},h.fitExtent=function(t,e){return d(h,t,e)},h.fitSize=function(t,e){return f(h,t,e)},h.drawCompositionBorders=function(t){var e,n,r,o;e=u([-1.113205870242365,59.64920050773357]),n=u([.807899092399606,59.59085836472269]),r=u([.5778611961420386,57.93467822832577]),o=u([-1.25867782078448,57.99029450085142]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(2800)}t.geoAlbersUk=D,t.geoAlbersUsa=_,t.geoAlbersUsaTerritories=p,t.geoConicConformalEurope=O,t.geoConicConformalFrance=k,t.geoConicConformalPortugal=b,t.geoConicConformalSpain=m,t.geoConicEquidistantJapan=S,t.geoMercatorEcuador=w,t.geoMercatorEquatorialGuinea=I,t.geoMercatorMalaysia=A,t.geoTransverseMercatorChile=E,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js": /*!**********************************************************!*\ !*** ./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){(function(t,n){n(e)})(0,(function(t){"use strict";var e={},n={},r=34,o=10,i=13;function a(t){return new Function("d","return {"+t.map((function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'})).join(",")+"}")}function s(t,e){var n=a(t);return function(r,o){return e(n(r),o,t)}}function u(t){var e=Object.create(null),n=[];return t.forEach((function(t){for(var r in t)r in e||n.push(e[r]=r)})),n}function l(t,e){var n=t+"",r=n.length;return r9999?"+"+l(t,6):l(t,4)}function d(t){var e=t.getUTCHours(),n=t.getUTCMinutes(),r=t.getUTCSeconds(),o=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":c(t.getUTCFullYear())+"-"+l(t.getUTCMonth()+1,2)+"-"+l(t.getUTCDate(),2)+(o?"T"+l(e,2)+":"+l(n,2)+":"+l(r,2)+"."+l(o,3)+"Z":r?"T"+l(e,2)+":"+l(n,2)+":"+l(r,2)+"Z":n||e?"T"+l(e,2)+":"+l(n,2)+"Z":"")}function f(t){var l=new RegExp('["'+t+"\n\r]"),c=t.charCodeAt(0);function f(t,e){var n,r,o=h(t,(function(t,o){if(n)return n(t,o-1);r=t,n=e?s(t,e):a(t)}));return o.columns=r||[],o}function h(t,a){var s,u=[],l=t.length,d=0,f=0,h=l<=0,_=!1;function v(){if(h)return n;if(_)return _=!1,e;var a,s,u=d;if(t.charCodeAt(u)===r){while(d++=l?h=!0:(s=t.charCodeAt(d++))===o?_=!0:s===i&&(_=!0,t.charCodeAt(d)===o&&++d),t.slice(u+1,a-1).replace(/""/g,'"')}while(d0?1:t<0?-1:0},v=Math.sin,p=Math.tan,g=1e-6,m=1e-12,y=Math.PI,b=y/2,j=y/4,w=Math.SQRT1_2,x=C(2),E=C(y),M=2*y,S=180/y,T=y/180;function k(t){return t?t/Math.sin(t):1}function P(t){return t>1?b:t<-1?-b:Math.asin(t)}function O(t){return t>1?0:t<-1?y:Math.acos(t)}function C(t){return t>0?Math.sqrt(t):0}function A(t){return t=s(2*t),(t-1)/(t+1)}function N(t){return(s(t)-s(-t))/2}function I(t){return(s(t)+s(-t))/2}function R(t){return l(t+C(t*t+1))}function D(t){return l(t+C(t*t-1))}function L(t){var e=p(t/2),n=2*l(a(t/2))/(e*e);function o(t,e){var r=a(t),o=a(e),i=v(e),s=o*r,u=-((1-s?l((1+s)/2)/(1-s):-.5)+n/(1+s));return[u*o*v(t),u*i]}return o.invert=function(e,o){var s,u=C(e*e+o*o),c=-t/2,d=50;if(!u)return[0,0];do{var f=c/2,h=a(f),_=v(f),m=p(f),y=l(1/h);c-=s=(2/m*y-n*m-u)/(-y/(_*_)+1-n/(2*h*h))}while(r(s)>g&&--d>0);var b=v(c);return[i(e*b,u*a(c)),P(o*b/u)]},o}var q=function(){var t=b,n=e.geoProjectionMutator(L),r=n(t);return r.radius=function(e){return arguments.length?n(t=e*T):t*S},r.scale(179.976).clipAngle(147)};function B(t,e){var n=a(e),r=k(O(n*a(t/=2)));return[2*n*v(t)*r,v(e)*r]}B.invert=function(t,e){if(!(t*t+4*e*e>y*y+g)){var n=t,o=e,i=25;do{var s,u=v(n),l=v(n/2),c=a(n/2),d=v(o),f=a(o),h=v(2*o),_=d*d,p=f*f,m=l*l,b=1-p*c*c,j=b?O(f*c)*C(s=1/b):s=0,w=2*j*f*l-t,x=j*d-e,E=s*(p*m+j*f*c*_),M=s*(.5*u*h-2*j*d*l),S=.25*s*(h*l-j*d*p*u),T=s*(_*c+j*m*f),k=M*S-T*E;if(!k)break;var P=(x*M-w*T)/k,A=(w*S-x*E)/k;n-=P,o-=A}while((r(P)>g||r(A)>g)&&--i>0);return[n,o]}};var z=function(){return e.geoProjection(B).scale(152.63)};function F(t){var e=v(t),n=a(t),o=t>=0?1:-1,s=p(o*t),u=(1+e-n)/2;function l(t,r){var l=a(r),c=a(t/=2);return[(1+l)*v(t),(o*r>-i(c,s)-.001?0:10*-o)+u+v(r)*n-(1+l)*e*c]}return l.invert=function(t,l){var c=0,d=0,f=50;do{var h=a(c),_=v(c),p=a(d),m=v(d),y=1+p,b=y*_-t,j=u+m*n-y*e*h-l,w=y*h/2,x=-_*m,E=e*y*_/2,M=n*p+e*h*m,S=x*E-M*w,T=(j*x-b*M)/S/2,k=(b*E-j*w)/S;c-=T,d-=k}while((r(T)>g||r(k)>g)&&--f>0);return o*d>-i(a(c),s)-.001?[2*c,d]:null},l}var G=function(){var t=20*T,n=t>=0?1:-1,r=p(n*t),o=e.geoProjectionMutator(F),s=o(t),u=s.stream;return s.parallel=function(e){return arguments.length?(r=p((n=(t=e*T)>=0?1:-1)*t),o(t)):t*S},s.stream=function(e){var o=s.rotate(),l=u(e),c=(s.rotate([0,0]),u(e));return s.rotate(o),l.sphere=function(){c.polygonStart(),c.lineStart();for(var e=-180*n;n*e<180;e+=90*n)c.point(e,90*n);while(n*(e-=t)>=-180)c.point(e,n*-i(a(e*T/2),r)*S);c.lineEnd(),c.polygonEnd()},l},s.scale(218.695).center([0,28.0974])};function V(t,e){var n=p(e/2),r=C(1-n*n),o=1+r*a(t/=2),i=v(t)*r/o,s=n/o,u=i*i,l=s*s;return[4/3*i*(3+u-3*l),4/3*s*(3+3*u-l)]}V.invert=function(t,e){if(t*=3/8,e*=3/8,!t&&r(e)>1)return null;var n=t*t,o=e*e,s=1+n+o,u=C((s-C(s*s-4*e*e))/2),l=P(u)/3,c=u?D(r(e/u))/3:R(r(t))/3,d=a(l),f=I(c),h=f*f-d*d;return[2*_(t)*i(N(c)*d,.25-h),2*_(e)*i(f*v(l),.25+h)]};var H=function(){return e.geoProjection(V).scale(66.1603)},U=C(8),W=l(1+x);function K(t,e){var n=r(e);return nm&&--c>0);return[t/(a(u)*(U-1/v(u))),_(e)*u]};var Y=function(){return e.geoProjection(K).scale(112.314)};function J(t){var n=2*y/t;function s(t,o){var s=e.geoAzimuthalEquidistantRaw(t,o);if(r(t)>b){var u=i(s[1],s[0]),l=C(s[0]*s[0]+s[1]*s[1]),c=n*h((u-b)/n)+b,d=i(v(u-=c),2-a(u));u=c+P(y/l*v(d))-d,s[0]=l*a(u),s[1]=l*v(u)}return s}return s.invert=function(t,r){var s=C(t*t+r*r);if(s>b){var u=i(r,t),l=n*h((u-b)/n)+b,c=u>l?-1:1,d=s*a(l-u),f=1/p(c*O((d-y)/C(y*(y-2*d)+s*s)));u=l+2*o((f+c*C(f*f-3))/3),t=s*a(u),r=s*v(u)}return e.geoAzimuthalEquidistantRaw.invert(t,r)},s}var X=function(){var t=5,n=e.geoProjectionMutator(J),r=n(t),o=r.stream,s=.01,u=-a(s*T),l=v(s*T);return r.lobes=function(e){return arguments.length?n(t=+e):t},r.stream=function(e){var n=r.rotate(),c=o(e),d=(r.rotate([0,0]),o(e));return r.rotate(n),c.sphere=function(){d.polygonStart(),d.lineStart();for(var e=0,n=360/t,r=2*y/t,o=90-180/t,c=b;eg&&--i>0);return e/2}function Q(t,e,n){function r(r,o){return[t*r*a(o=$(n,o)),e*v(o)]}return r.invert=function(r,o){return o=P(o/e),[r/(t*a(o)),P((2*o+v(2*o))/n)]},r}var Z=Q(x/b,x,y),tt=function(){return e.geoProjection(Z).scale(169.529)},et=2.00276,nt=1.11072;function rt(t,e){var n=$(y,e);return[et*t/(1/a(e)+nt/a(n)),(e+x*v(n))/et]}rt.invert=function(t,e){var n,o,i=et*e,s=e<0?-j:j,u=25;do{o=i-x*v(s),s-=n=(v(2*s)+2*s-y*v(o))/(2*a(2*s)+2+y*a(o)*x*a(s))}while(r(n)>g&&--u>0);return o=i-x*v(s),[t*(1/a(o)+nt/a(s))/et,o]};var ot=function(){return e.geoProjection(rt).scale(160.857)},it=function(t){var n=0,r=e.geoProjectionMutator(t),o=r(n);return o.parallel=function(t){return arguments.length?r(n=t*T):n*S},o};function at(t,e){return[t*a(e),e]}at.invert=function(t,e){return[t/a(e),e]};var st=function(){return e.geoProjection(at).scale(152.63)};function ut(t){if(!t)return at;var e=1/p(t);function n(n,r){var o=e+t-r,i=o?n*a(r)/o:o;return[o*v(i),e-o*a(i)]}return n.invert=function(n,r){var o=C(n*n+(r=e-r)*r),s=e+t-o;return[o/a(s)*i(n,r),s]},n}var lt=function(){return it(ut).scale(123.082).center([0,26.1441]).parallel(45)};function ct(t){function e(e,n){var r=b-n,o=r?e*t*v(r)/r:r;return[r*v(o)/t,b-r*a(o)]}return e.invert=function(e,n){var r=e*t,o=b-n,a=C(r*r+o*o),s=i(r,o);return[(a?a/v(a):1)*s/t,b-a]},e}var dt=function(){var t=.5,n=e.geoProjectionMutator(ct),r=n(t);return r.fraction=function(e){return arguments.length?n(t=+e):t},r.scale(158.837)},ft=Q(1,4/y,y),ht=function(){return e.geoProjection(ft).scale(152.63)};function _t(t,e,n,o,s,u){var l,c=a(u);if(r(t)>1||r(u)>1)l=O(n*s+e*o*c);else{var d=v(t/2),f=v(u/2);l=2*P(C(d*d+e*o*f*f))}return r(l)>g?[l,i(o*v(u),e*s-n*o*c)]:[0,0]}function vt(t,e,n){return O((t*t+e*e-n*n)/(2*t*e))}function pt(t){return t-2*y*u((t+y)/(2*y))}function gt(t,e,n){for(var r,o=[[t[0],t[1],v(t[1]),a(t[1])],[e[0],e[1],v(e[1]),a(e[1])],[n[0],n[1],v(n[1]),a(n[1])]],i=o[2],s=0;s<3;++s,i=r)r=o[s],i.v=_t(r[1]-i[1],i[3],i[2],r[3],r[2],r[0]-i[0]),i.point=[0,0];var u=vt(o[0].v[0],o[2].v[0],o[1].v[0]),l=vt(o[0].v[0],o[1].v[0],o[2].v[0]),c=y-u;o[2].point[1]=0,o[0].point[0]=-(o[1].point[0]=o[0].v[0]/2);var d=[o[2].point[0]=o[0].point[0]+o[2].v[0]*a(u),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*v(u))];function f(t,e){var n,r=v(e),i=a(e),s=new Array(3);for(n=0;n<3;++n){var u=o[n];if(s[n]=_t(e-u[1],u[3],u[2],i,r,t-u[0]),!s[n][0])return u.point;s[n][1]=pt(s[n][1]-u.v[1])}var f=d.slice();for(n=0;n<3;++n){var h=2==n?0:n+1,_=vt(o[n].v[0],s[n][0],s[h][0]);s[n][1]<0&&(_=-_),n?1==n?(_=l-_,f[0]-=s[n][0]*a(_),f[1]-=s[n][0]*v(_)):(_=c-_,f[0]+=s[n][0]*a(_),f[1]+=s[n][0]*v(_)):(f[0]+=s[n][0]*a(_),f[1]-=s[n][0]*v(_))}return f[0]/=3,f[1]/=3,f}return f}function mt(t){return t[0]*=T,t[1]*=T,t}function yt(){return bt([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function bt(t,n,r){var o=e.geoCentroid({type:"MultiPoint",coordinates:[t,n,r]}),i=[-o[0],-o[1]],a=e.geoRotation(i),s=e.geoProjection(gt(mt(a(t)),mt(a(n)),mt(a(r)))).rotate(i),u=s.center;return delete s.rotate,s.center=function(t){return arguments.length?u(a(t)):a.invert(u())},s.clipAngle(90)}function jt(t,e){var n=C(1-v(e));return[2/E*t*n,E*(1-n)]}jt.invert=function(t,e){var n=(n=e/E-1)*n;return[n>0?t*C(y/n)/2:0,P(1-n)]};var wt=function(){return e.geoProjection(jt).scale(95.6464).center([0,30])};function xt(t){var e=p(t);function n(t,n){return[t,(t?t/v(t):1)*(v(n)*a(t)-e*a(n))]}return n.invert=e?function(t,n){t&&(n*=v(t)/t);var r=a(t);return[t,2*i(C(r*r+e*e-n*n)-r,e-n)]}:function(t,e){return[t,P(t?e*p(t)/t:e)]},n}var Et=function(){return it(xt).scale(249.828).clipAngle(90)},Mt=C(3);function St(t,e){return[Mt*t*(2*a(2*e/3)-1)/E,Mt*E*v(e/3)]}St.invert=function(t,e){var n=3*P(e/(Mt*E));return[E*t/(Mt*(2*a(2*n/3)-1)),n]};var Tt=function(){return e.geoProjection(St).scale(156.19)};function kt(t){var e=a(t);function n(t,n){return[t*e,v(n)/e]}return n.invert=function(t,n){return[t/e,P(n*e)]},n}var Pt=function(){return it(kt).parallel(38.58).scale(195.044)};function Ot(t){var e=a(t);function n(t,n){return[t*e,(1+e)*p(n/2)]}return n.invert=function(t,n){return[t/e,2*o(n/(1+e))]},n}var Ct=function(){return it(Ot).scale(124.75)};function At(t,e){var n=C(8/(3*y));return[n*t*(1-r(e)/y),n*e]}At.invert=function(t,e){var n=C(8/(3*y)),o=e/n;return[t/(n*(1-r(o)/y)),o]};var Nt=function(){return e.geoProjection(At).scale(165.664)};function It(t,e){var n=C(4-3*v(r(e)));return[2/C(6*y)*t*n,_(e)*C(2*y/3)*(2-n)]}It.invert=function(t,e){var n=2-r(e)/C(2*y/3);return[t*C(6*y)/(2*n),_(e)*P((4-n*n)/3)]};var Rt=function(){return e.geoProjection(It).scale(165.664)};function Dt(t,e){var n=C(y*(4+y));return[2/n*t*(1+C(1-4*e*e/(y*y))),4/n*e]}Dt.invert=function(t,e){var n=C(y*(4+y))/2;return[t*n/(1+C(1-e*e*(4+y)/(4*y))),e*n/2]};var Lt=function(){return e.geoProjection(Dt).scale(180.739)};function qt(t,e){var n=(2+b)*v(e);e/=2;for(var o=0,i=1/0;o<10&&r(i)>g;o++){var s=a(e);e-=i=(e+v(e)*(s+2)-n)/(2*s*(1+s))}return[2/C(y*(4+y))*t*(1+a(e)),2*C(y/(4+y))*v(e)]}qt.invert=function(t,e){var n=e*C((4+y)/y)/2,r=P(n),o=a(r);return[t/(2/C(y*(4+y))*(1+o)),P((r+n*(o+2))/(2+b))]};var Bt=function(){return e.geoProjection(qt).scale(180.739)};function zt(t,e){return[t*(1+a(e))/C(2+y),2*e/C(2+y)]}zt.invert=function(t,e){var n=C(2+y),r=e*n/2;return[n*t/(1+a(r)),r]};var Ft=function(){return e.geoProjection(zt).scale(173.044)};function Gt(t,e){for(var n=(1+b)*v(e),o=0,i=1/0;o<10&&r(i)>g;o++)e-=i=(e+v(e)-n)/(1+a(e));return n=C(2+y),[t*(1+a(e))/n,2*e/n]}Gt.invert=function(t,e){var n=1+b,r=C(n/2);return[2*t*r/(1+a(e*=r)),P((e+v(e))/n)]};var Vt=function(){return e.geoProjection(Gt).scale(173.044)},Ht=3+2*x;function Ut(t,e){var n=v(t/=2),r=a(t),i=C(a(e)),s=a(e/=2),u=v(e)/(s+x*r*i),c=C(2/(1+u*u)),d=C((x*s+(r+n)*i)/(x*s+(r-n)*i));return[Ht*(c*(d-1/d)-2*l(d)),Ht*(c*u*(d+1/d)-2*o(u))]}Ut.invert=function(t,e){if(!(n=V.invert(t/1.2,1.065*e)))return null;var n,i=n[0],s=n[1],u=20;t/=Ht,e/=Ht;do{var f=i/2,h=s/2,_=v(f),p=a(f),m=v(h),y=a(h),j=a(s),E=C(j),M=m/(y+x*p*E),S=M*M,T=C(2/(1+S)),k=x*y+(p+_)*E,P=x*y+(p-_)*E,O=k/P,A=C(O),N=A-1/A,I=A+1/A,R=T*N-2*l(A)-t,D=T*M*I-2*o(M)-e,L=m&&w*E*_*S/m,q=(x*p*y+E)/(2*(y+x*p*E)*(y+x*p*E)*E),B=-.5*M*T*T*T,z=B*L,F=B*q,G=(G=2*y+x*E*(p-_))*G*A,H=(x*p*y*E+j)/G,U=-x*_*m/(E*G),W=N*z-2*H/A+T*(H+H/O),K=N*F-2*U/A+T*(U+U/O),Y=M*I*z-2*L/(1+S)+T*I*L+T*M*(H-H/O),J=M*I*F-2*q/(1+S)+T*I*q+T*M*(U-U/O),X=K*Y-J*W;if(!X)break;var $=(D*K-R*J)/X,Q=(R*Y-D*W)/X;i-=$,s=c(-b,d(b,s-Q))}while((r($)>g||r(Q)>g)&&--u>0);return r(r(s)-b)s){var _=C(f),p=i(d,c),m=o*h(p/o),j=p-m,w=t*a(j),x=(t*v(j)-j*v(w))/(b-w),E=ne(j,x),M=(y-t)/re(E,w,y);c=_;var S,T=50;do{c-=S=(t+re(E,w,c)*M-_)/(E(c)*M)}while(r(S)>g&&--T>0);d=j*v(c),cs){var c=C(l),d=i(u,n),f=o*h(d/o),_=d-f;n=c*a(_),u=c*v(_);var p=n-b,g=v(n),j=u/g,w=ng||r(h)>g)&&--m>0);return[_,p]},c},ae=ie(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),se=function(){return e.geoProjection(ae).scale(149.995)},ue=ie(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),le=function(){return e.geoProjection(ue).scale(153.93)},ce=ie(5/6*y,-.62636,-.0344,0,1.3493,-.05524,0,.045),de=function(){return e.geoProjection(ce).scale(130.945)};function fe(t,e){var n=t*t,r=e*e;return[t*(1-.162388*r)*(.87-952426e-9*n*n),e*(1+r/12)]}fe.invert=function(t,e){var n,o=t,i=e,a=50;do{var s=i*i;i-=n=(i*(1+s/12)-e)/(1+s/4)}while(r(n)>g&&--a>0);a=50,t/=1-.162388*s;do{var u=(u=o*o)*u;o-=n=(o*(.87-952426e-9*u)-t)/(.87-.00476213*u)}while(r(n)>g&&--a>0);return[o,i]};var he=function(){return e.geoProjection(fe).scale(131.747)},_e=ie(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),ve=function(){return e.geoProjection(_e).scale(131.087)},pe=function(t){var e=t(b,0)[0]-t(-b,0)[0];function n(n,r){var o=n>0?-.5:.5,i=t(n+o*y,r);return i[0]-=o*e,i}return t.invert&&(n.invert=function(n,r){var o=n>0?-.5:.5,i=t.invert(n+o*e,r),a=i[0]-o*y;return a<-y?a+=2*y:a>y&&(a-=2*y),i[0]=a,i}),n};function ge(t,e){var n=_(t),o=_(e),s=a(e),u=a(t)*s,l=v(t)*s,c=v(o*e);t=r(i(l,c)),e=P(u),r(t-b)>g&&(t%=b);var d=me(t>y/4?b-t:t,e);return t>y/4&&(c=d[0],d[0]=-d[1],d[1]=-c),d[0]*=n,d[1]*=-o,d}function me(t,e){if(e===b)return[0,0];var n,o,i=v(e),s=i*i,u=s*s,l=1+u,c=1+3*u,d=1-u,f=P(1/C(l)),h=d+s*l*f,_=(1-i)/h,p=C(_),m=_*l,j=C(m),w=p*d;if(0===t)return[0,-(w+s*j)];var x,E=a(e),M=1/E,S=2*i*E,T=(-3*s+f*c)*S,k=(-h*E-(1-i)*T)/(h*h),O=.5*k/p,A=d*O-2*s*p*S,N=s*l*k+_*c*S,I=-M*S,R=-M*N,D=-2*M*A,L=4*t/y;if(t>.222*y||e.175*y){if(n=(w+s*C(m*(1+u)-w*w))/(1+u),t>y/4)return[n,n];var q=n,B=.5*n;n=.5*(B+q),o=50;do{var z=C(m-n*n),F=n*(D+I*z)+R*P(n/j)-L;if(!F)break;F<0?B=n:q=n,n=.5*(B+q)}while(r(q-B)>g&&--o>0)}else{n=g,o=25;do{var G=n*n,V=C(m-G),H=D+I*V,U=n*H+R*P(n/j)-L,W=H+(R-I*G)/V;n-=x=V?U/W:0}while(r(x)>g&&--o>0)}return[n,-w-s*C(m-n*n)]}function ye(t,e){var n=0,o=1,i=.5,s=50;while(1){var u=i*i,l=C(i),c=P(1/C(1+u)),d=1-u+i*(1+u)*c,f=(1-l)/d,h=C(f),_=f*(1+u),v=h*(1-u),p=_-t*t,g=C(p),b=e+v+i*g;if(r(o-n)0?n=i:o=i,i=.5*(n+o)}if(!s)return null;var j=P(l),w=a(j),x=1/w,E=2*l*w,M=(-3*i+c*(1+3*u))*E,S=(-d*w-(1-l)*M)/(d*d),T=.5*S/h,k=(1-u)*T-2*i*h*E,O=-2*x*k,A=-x*E,N=-x*(i*(1+u)*S+f*(1+3*u)*E);return[y/4*(t*(O+A*g)+N*P(t/C(_))),j]}ge.invert=function(t,e){r(t)>1&&(t=2*_(t)-t),r(e)>1&&(e=2*_(e)-e);var n=_(t),o=_(e),s=-n*t,u=-o*e,l=u/s<1,c=ye(l?u:s,l?s:u),d=c[0],f=c[1],h=a(f);return l&&(d=-b-d),[n*(i(v(d)*h,-v(f))+y),o*P(a(d)*h)]};var be=function(){return e.geoProjection(pe(ge)).scale(239.75)};function je(t,e,n){var r,o,i;return t?(r=we(t,n),e?(o=we(e,1-n),i=o[1]*o[1]+n*r[0]*r[0]*o[0]*o[0],[[r[0]*o[2]/i,r[1]*r[2]*o[0]*o[1]/i],[r[1]*o[1]/i,-r[0]*r[2]*o[0]*o[2]/i],[r[2]*o[1]*o[2]/i,-n*r[0]*r[1]*o[0]/i]]):[[r[0],0],[r[1],0],[r[2],0]]):(o=we(e,1-n),[[0,o[0]/o[1]],[1/o[1],0],[o[2]/o[1],0]])}function we(t,e){var n,i,u,l,c;if(e=1-g)return n=(1-e)/4,i=I(t),l=A(t),u=1/i,c=i*N(t),[l+n*(c-t)/(i*i),u-n*l*u*(c-t),u+n*l*u*(c+t),2*o(s(t))-b+n*(c-t)/i];var d=[1,0,0,0,0,0,0,0,0],f=[C(e),0,0,0,0,0,0,0,0],h=0;i=C(1-e),c=1;while(r(f[h]/d[h])>g&&h<8)n=d[h++],f[h]=(n-i)/2,d[h]=(n+i)/2,i=C(n*i),c*=2;u=c*d[h]*t;do{l=f[h]*v(i=u)/d[h],u=(P(l)+u)/2}while(--h);return[v(u),l=a(u),l/a(u-i),u]}function xe(t,e,n){var i=r(t),a=r(e),s=N(a);if(i){var u=1/v(i),l=1/(p(i)*p(i)),c=-(l+n*(s*s*u*u)-1+n),d=(n-1)*l,f=(-c+C(c*c-4*d))/2;return[Ee(o(1/C(f)),n)*_(t),Ee(o(C((f/l-1)/n)),1-n)*_(e)]}return[0,Ee(o(s),1-n)*_(e)]}function Ee(t,e){if(!e)return t;if(1===e)return l(p(t/2+j));for(var n=1,i=C(1-e),a=C(e),s=0;r(a)>g;s++){if(t%y){var u=o(i*p(t)/n);u<0&&(u+=y),t+=u+~~(t/y)*y}else t+=t;a=(n+i)/2,i=C(n*i),a=((n=a)-i)/2}return t/(f(2,s)*n)}function Me(t,e){var n=(x-1)/(x+1),o=C(1-n*n),i=Ee(b,o*o),u=-1,c=l(p(y/4+r(e)/2)),d=s(u*c)/C(n),f=Se(d*a(u*t),d*v(u*t)),h=xe(f[0],f[1],o*o);return[-h[1],(e>=0?1:-1)*(.5*i-h[0])]}function Se(t,e){var n=t*t,r=e+1,o=1-n-e*e;return[.5*((t>=0?b:-b)-i(o,2*t)),-.25*l(o*o+4*n)+.5*l(r*r+n)]}function Te(t,e){var n=e[0]*e[0]+e[1]*e[1];return[(t[0]*e[0]+t[1]*e[1])/n,(t[1]*e[0]-t[0]*e[1])/n]}Me.invert=function(t,e){var n=(x-1)/(x+1),r=C(1-n*n),a=Ee(b,r*r),u=-1,c=je(.5*a-e,-t,r*r),d=Te(c[0],c[1]),f=i(d[1],d[0])/u;return[f,2*o(s(.5/u*l(n*d[0]*d[0]+n*d[1]*d[1])))-b]};var ke=function(){return e.geoProjection(pe(Me)).scale(151.496)};function Pe(t,n){if(arguments.length<2&&(n=t),1===n)return e.geoAzimuthalEqualAreaRaw;if(n===1/0)return Oe;function r(r,o){var i=e.geoAzimuthalEqualAreaRaw(r/n,o);return i[0]*=t,i}return r.invert=function(r,o){var i=e.geoAzimuthalEqualAreaRaw.invert(r/t,o);return i[0]*=n,i},r}function Oe(t,e){return[t*a(e)/a(e/=2),2*v(e)]}Oe.invert=function(t,e){var n=2*P(e/2);return[t*a(n/2)/a(n),n]};var Ce=function(){var t=2,n=e.geoProjectionMutator(Pe),r=n(t);return r.coefficient=function(e){return arguments.length?n(t=+e):t},r.scale(169.529)};function Ae(t){var e=v(t),n=a(t),o=Ne(t);function s(t,i){var s=o(t,i);t=s[0],i=s[1];var u=v(i),l=a(i),c=a(t),d=O(e*u+n*l*c),f=v(d),h=r(f)>g?d/f:1;return[h*n*v(t),(r(t)>b?h:-h)*(e*l-n*u*c)]}return o.invert=Ne(-t),s.invert=function(t,n){var r=C(t*t+n*n),s=-v(r),u=a(r),l=r*u,c=-n*s,d=r*e,f=C(l*l+c*c-d*d),h=i(l*d+c*f,c*d-l*f),_=(r>b?-1:1)*i(t*s,r*a(h)*u+n*v(h)*s);return o.invert(_,h)},s}function Ne(t){var e=v(t),n=a(t);return function(t,r){var o=a(r),s=a(t)*o,u=v(t)*o,l=v(r);return[i(u,s*n-l*e),P(l*n+s*e)]}}var Ie=function(){var t=0,n=e.geoProjectionMutator(Ae),r=n(t),o=r.rotate,i=r.stream,a=e.geoCircle();return r.parallel=function(e){if(!arguments.length)return t*S;var o=r.rotate();return n(t=e*T).rotate(o)},r.rotate=function(e){return arguments.length?(o.call(r,[e[0],e[1]-t*S]),a.center([-e[0],-e[1]]),r):(e=o.call(r),e[1]+=t*S,e)},r.stream=function(t){return t=i(t),t.sphere=function(){t.polygonStart();var e,n=.01,r=a.radius(90-n)().coordinates[0],o=r.length-1,i=-1;t.lineStart();while(++i=0)t.point((e=r[i])[0],e[1]);t.lineEnd(),t.polygonEnd()},t},r.scale(79.4187).parallel(45).clipAngle(179.999)},Re=41+48/36+37/3600,De=kt(0);function Le(t){var e=Re*T,n=jt(y,e)[0]-jt(-y,e)[0],o=De(0,e)[1],i=jt(0,e)[1],a=E-i,s=M/t,l=4/M,f=o+a*a*4/M;function h(h,_){var v,p=r(_);if(p>e){var g=d(t-1,c(0,u((h+y)/s)));h+=y*(t-1)/t-g*s,v=jt(h,p),v[0]=v[0]*M/n-M*(t-1)/(2*t)+g*M/t,v[1]=o+4*(v[1]-i)*a/M,_<0&&(v[1]=-v[1])}else v=De(h,_);return v[0]*=l,v[1]/=f,v}return h.invert=function(e,h){e/=l,h*=f;var _=r(h);if(_>o){var v=d(t-1,c(0,u((e+y)/s)));e=(e+y*(t-1)/t-v*s)*n/M;var p=jt.invert(e,.25*(_-o)*M/a+i);return p[0]-=y*(t-1)/t-v*s,h<0&&(p[1]=-p[1]),p}return De.invert(e,h)},h}function qe(t){return{type:"Polygon",coordinates:[n.range(-180,180+t/2,t).map((function(t,e){return[t,1&e?89.999999:Re]})).concat(n.range(180,-180-t/2,-t).map((function(t,e){return[t,1&e?-89.999999:-Re]})))]}}var Be=function(){var t=4,n=e.geoProjectionMutator(Le),r=n(t),o=r.stream;return r.lobes=function(e){return arguments.length?n(t=+e):t},r.stream=function(n){var i=r.rotate(),a=o(n),s=(r.rotate([0,0]),o(n));return r.rotate(i),a.sphere=function(){e.geoStream(qe(180/t),s)},a},r.scale(239.75)};function ze(t){var e,n=1+t,o=v(1/n),s=P(o),u=2*C(y/(e=y+4*s*n)),l=.5*u*(n+C(t*(2+t))),c=t*t,d=n*n;function f(o,f){var h,_,p=1-v(f);if(p&&p<2){var g,j=b-f,w=25;do{var x=v(j),E=a(j),M=s+i(x,n-E),S=1+d-2*n*E;j-=g=(j-c*s-n*x+S*M-.5*p*e)/(2*n*x*M)}while(r(g)>m&&--w>0);h=u*C(S),_=o*M/y}else h=u*(t+p),_=o*s/y;return[h*v(_),l-h*a(_)]}return f.invert=function(t,r){var o=t*t+(r-=l)*r,a=(1+d-o/(u*u))/(2*n),f=O(a),h=v(f),_=s+i(h,n-a);return[P(t/C(o))*y/_,P(1-2*(f-c*s-n*h+(1+d-2*n*a)*_)/e)]},f}var Fe=function(){var t=1,n=e.geoProjectionMutator(ze),r=n(t);return r.ratio=function(e){return arguments.length?n(t=+e):t},r.scale(167.774).center([0,18.67])},Ge=.7109889596207567,Ve=.0528035274542;function He(t,e){return e>-Ge?(t=Z(t,e),t[1]+=Ve,t):at(t,e)}He.invert=function(t,e){return e>-Ge?Z.invert(t,e-Ve):at.invert(t,e)};var Ue=function(){return e.geoProjection(He).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function We(t,e){return r(e)>Ge?(t=Z(t,e),t[1]-=e>0?Ve:-Ve,t):at(t,e)}We.invert=function(t,e){return r(e)>Ge?Z.invert(t,e+(e>0?Ve:-Ve)):at.invert(t,e)};var Ke=function(){return e.geoProjection(We).scale(152.63)};function Ye(t,e){return r(t[0]-e[0])=0;--u)e=t[1][u],r=e[0][0],o=e[0][1],i=e[1][1],a=e[2][0],s=e[2][1],l.push(Je([[a-g,s-g],[a-g,i+g],[r+g,i+g],[r+g,o-g]],30));return{type:"Polygon",coordinates:[n.merge(l)]}}var $e=function(t,n){var r=Xe(n);n=n.map((function(t){return t.map((function(t){return[[t[0][0]*T,t[0][1]*T],[t[1][0]*T,t[1][1]*T],[t[2][0]*T,t[2][1]*T]]}))}));var o=n.map((function(e){return e.map((function(e){var n,r=t(e[0][0],e[0][1])[0],o=t(e[2][0],e[2][1])[0],i=t(e[1][0],e[0][1])[1],a=t(e[1][0],e[1][1])[1];return i>a&&(n=i,i=a,a=n),[[r,i],[o,a]]}))}));function i(e,r){for(var o=r<0?-1:1,i=n[+(r<0)],a=0,s=i.length-1;ai[a][2][0];++a);var u=t(e-i[a][1][0],r);return u[0]+=t(i[a][1][0],o*r>o*i[a][0][1]?i[a][0][1]:r)[0],u}t.invert&&(i.invert=function(e,r){for(var a=o[+(r<0)],s=n[+(r<0)],u=0,l=a.length;u2)return null;e/=2,n/=2;var a=e*e,s=n*n,u=2*n/(1+a+s);return u=f((1+u)/(1-u),1/t),[i(2*e,1-a-s)/t,P((u-1)/(u+1))]},e}var _n=function(){var t=.5,n=e.geoProjectionMutator(hn),r=n(t);return r.spacing=function(e){return arguments.length?n(t=+e):t},r.scale(124.75)},vn=y/x;function pn(t,e){return[t*(1+C(a(e)))/2,e/(a(e/2)*a(t/6))]}pn.invert=function(t,e){var n=r(t),o=r(e),i=g,s=b;og||r(b)>g)&&--i>0);return i&&[n,o]};var yn=function(){return e.geoProjection(mn).scale(139.98)};function bn(t,e){return[v(t)/a(e),p(e)*a(t)]}bn.invert=function(t,e){var n=t*t,r=e*e,o=r+1,i=t?w*C((o-C(n*n+2*n*(r-1)+o*o))/n+1):1/C(o);return[P(t*i),_(e)*O(i)]};var jn=function(){return e.geoProjection(bn).scale(144.049).clipAngle(89.999)};function wn(t){var e=a(t),n=p(j+t/2);function o(o,i){var a=i-t,s=r(a)=0)d=t[c],f=d[0]+u*(o=f)-l*h,h=d[1]+u*h+l*o;return f=u*(o=f)-l*h,h=u*h+l*o,[f,h]}return n.invert=function(n,s){var u=20,l=n,c=s;do{var d,f=e,h=t[f],_=h[0],p=h[1],m=0,y=0;while(--f>=0)h=t[f],m=_+l*(d=m)-c*y,y=p+l*y+c*d,_=h[0]+l*(d=_)-c*p,p=h[1]+l*p+c*d;m=_+l*(d=m)-c*y,y=p+l*y+c*d,_=l*(d=_)-c*p-n,p=l*p+c*d-s;var b,j,w=m*m+y*y;l-=b=(_*m+p*y)/w,c-=j=(p*m-_*y)/w}while(r(b)+r(j)>g*g&&--u>0);if(u){var x=C(l*l+c*c),E=2*o(.5*x),M=v(E);return[i(l*M,x*a(E)),x?P(c*M/x):0]}},n}var Tn=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],kn=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Pn=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],On=[[.9245,0],[0,0],[.01943,0]],Cn=[[.721316,0],[0,0],[-.00881625,-.00617325]];function An(){return Ln(Tn,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function Nn(){return Ln(kn,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function In(){return Ln(Pn,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Rn(){return Ln(On,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function Dn(){return Ln(Cn,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function Ln(t,n){var r=e.geoProjection(Sn(t)).rotate(n).clipAngle(90),o=e.geoRotation(n),i=r.center;return delete r.rotate,r.center=function(t){return arguments.length?i(o(t)):o.invert(i())},r}var qn=C(6),Bn=C(7);function zn(t,e){var n=P(7*v(e)/(3*qn));return[qn*t*(2*a(2*n/3)-1)/Bn,9*v(n/3)/Bn]}zn.invert=function(t,e){var n=3*P(e*Bn/9);return[t*Bn/(qn*(2*a(2*n/3)-1)),P(3*v(n)*qn/7)]};var Fn=function(){return e.geoProjection(zn).scale(164.859)};function Gn(t,e){for(var n,o=(1+w)*v(e),i=e,s=0;s<25;s++)if(i-=n=(v(i/2)+v(i)-o)/(.5*a(i/2)+a(i)),r(n)g&&--i>0);return[t/(.8707+(a=o*o)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),o]};var Kn=function(){return e.geoProjection(Wn).scale(175.295)};function Yn(t,e){var n=e*e,r=n*n,o=n*r;return[t*(.84719-.13063*n+o*o*(.05494*n-.04515-.02326*r+.00331*o)),e*(1.01183+r*r*(.01926*n-.02625-.00396*r))]}Yn.invert=function(t,e){var n,o,i,a,s=e,u=25;do{o=s*s,i=o*o,s-=n=(s*(1.01183+i*i*(.01926*o-.02625-.00396*i))-e)/(1.01183+i*i*(.21186*o-.23625+-.05148*i))}while(r(n)>m&&--u>0);return o=s*s,i=o*o,a=o*i,[t/(.84719-.13063*o+a*a*(.05494*o-.04515-.02326*i+.00331*a)),s]};var Jn=function(){return e.geoProjection(Yn).scale(175.295)};function Xn(t,e){return[t*(1+a(e))/2,2*(e-p(e/2))]}Xn.invert=function(t,e){for(var n=e/2,o=0,i=1/0;o<10&&r(i)>g;++o){var s=a(e/2);e-=i=(e-p(e/2)-n)/(1-.5/(s*s))}return[2*t/(1+a(e)),e]};var $n=function(){return e.geoProjection(Xn).scale(152.63)},Qn=1.0148,Zn=.23185,tr=-.14499,er=.02406,nr=Qn,rr=5*Zn,or=7*tr,ir=9*er,ar=1.790857183;function sr(t,e){var n=e*e;return[t,e*(Qn+n*n*(Zn+n*(tr+er*n)))]}sr.invert=function(t,e){e>ar?e=ar:e<-ar&&(e=-ar);var n,o=e;do{var i=o*o;o-=n=(o*(Qn+i*i*(Zn+i*(tr+er*i)))-e)/(nr+i*i*(rr+i*(or+ir*i)))}while(r(n)>g);return[t,o]};var ur=function(){return e.geoProjection(sr).scale(139.319)};function lr(t,e){if(r(e)g&&--s>0);return u=p(i),[(r(e)=0;)if(r=e[s],n[0]===r[0]&&n[1]===r[1]){if(i)return[i,n];i=n}}}function jr(t){for(var e=t.length,n=[],r=t[e-1],o=0;o0?[-n[0],0]:[180-n[0],180])};var n=Er.map((function(e){return{face:e,project:t(e)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])})),gr(n[0],(function(t,e){return n[t<-y/2?e<0?6:4:t<0?e<0?2:0:tr^h>r&&n<(f-l)*(r-c)/(h-c)+l&&(o=!o)}return o},Lr=function(t,e){var n,r=e.stream;if(!r)throw new Error("invalid projection");switch(t&&t.type){case"Feature":n=Br;break;case"FeatureCollection":n=qr;break;default:n=Fr;break}return n(t,r)};function qr(t,e){return{type:"FeatureCollection",features:t.features.map((function(t){return Br(t,e)}))}}function Br(t,e){return{type:"Feature",id:t.id,properties:t.properties,geometry:Fr(t.geometry,e)}}function zr(t,e){return{type:"GeometryCollection",geometries:t.geometries.map((function(t){return Fr(t,e)}))}}function Fr(t,n){if(!t)return null;if("GeometryCollection"===t.type)return zr(t,n);var r;switch(t.type){case"Point":r=Hr;break;case"MultiPoint":r=Hr;break;case"LineString":r=Ur;break;case"MultiLineString":r=Ur;break;case"Polygon":r=Wr;break;case"MultiPolygon":r=Wr;break;case"Sphere":r=Wr;break;default:return null}return e.geoStream(t,n(r)),r.result()}var Gr=[],Vr=[],Hr={point:function(t,e){Gr.push([t,e])},result:function(){var t=Gr.length?Gr.length<2?{type:"Point",coordinates:Gr[0]}:{type:"MultiPoint",coordinates:Gr}:null;return Gr=[],t}},Ur={lineStart:Ir,point:function(t,e){Gr.push([t,e])},lineEnd:function(){Gr.length&&(Vr.push(Gr),Gr=[])},result:function(){var t=Vr.length?Vr.length<2?{type:"LineString",coordinates:Vr[0]}:{type:"MultiLineString",coordinates:Vr}:null;return Vr=[],t}},Wr={polygonStart:Ir,lineStart:Ir,point:function(t,e){Gr.push([t,e])},lineEnd:function(){var t=Gr.length;if(t){do{Gr.push(Gr[0].slice())}while(++t<4);Vr.push(Gr),Gr=[]}},polygonEnd:Ir,result:function(){if(!Vr.length)return null;var t=[],e=[];return Vr.forEach((function(n){Rr(n)?t.push([n]):e.push(n)})),e.forEach((function(e){var n=e[0];t.some((function(t){if(Dr(t[0],n))return t.push(e),!0}))||t.push([e])})),Vr=[],t.length?t.length>1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}},Kr=function(t){var n=t(b,0)[0]-t(-b,0)[0];function o(e,o){var i=r(e)0?e-y:e+y,o),s=(a[0]-a[1])*w,u=(a[0]+a[1])*w;if(i)return[s,u];var l=n*w,c=s>0^u>0?-1:1;return[c*s-_(u)*l,c*u-_(s)*l]}return t.invert&&(o.invert=function(e,o){var i=(e+o)*w,a=(o-e)*w,s=r(i)<.5*n&&r(a)<.5*n;if(!s){var u=n*w,l=i>0^a>0?-1:1,c=-l*e+(a>0?1:-1)*u,d=-l*o+(i>0?1:-1)*u;i=(-c-d)*w,a=(c-d)*w}var f=t.invert(i,a);return s||(f[0]+=i>0?y:-y),f}),e.geoProjection(o).rotate([-90,-90,45]).clipAngle(179.999)},Yr=function(){return Kr(ge).scale(176.423)},Jr=function(){return Kr(Me).scale(111.48)},Xr=function(t,e){if(!(0<=(e=+e)&&e<=20))throw new Error("invalid digits");function n(t){var n=t.length,r=2,o=new Array(n);o[0]=+t[0].toFixed(e),o[1]=+t[1].toFixed(e);while(rg&&--c>0);var _=n*(d=p(l)),m=p(r(i)0?b:-b)*(f+a*(_-l)/2+a*a*(_-2*f+l)/2)]}Zr.forEach((function(t){t[1]*=1.0144})),to.invert=function(t,e){var n=e/b,o=90*n,i=d(18,r(o/5)),a=c(0,u(i));do{var s=Zr[a][1],l=Zr[a+1][1],f=Zr[d(19,a+2)][1],h=f-s,_=f-2*l+s,v=2*(r(n)-l)/h,p=_/h,g=v*(1-p*v*(1-2*p*v));if(g>=0||1===a){o=(e>=0?5:-5)*(g+i);var y,j=50;do{i=d(18,r(o)/5),a=u(i),g=i-a,s=Zr[a][1],l=Zr[a+1][1],f=Zr[d(19,a+2)][1],o-=(y=(e>=0?b:-b)*(l+g*(f-s)/2+g*g*(f-2*l+s)/2)-e)*S}while(r(y)>m&&--j>0);break}}while(--a>=0);var w=Zr[a][0],x=Zr[a+1][0],E=Zr[d(19,a+2)][0];return[t/(x+g*(E-w)/2+g*g*(E-2*x+w)/2),o*T]};var eo=function(){return e.geoProjection(to).scale(152.63)};function no(t){function e(e,n){var r=a(n),o=(t-1)/(t-r*a(e));return[o*r*v(e),o*v(n)]}return e.invert=function(e,n){var r=e*e+n*n,o=C(r),a=(t-C(1-r*(t+1)/(t-1)))/((t-1)/o+o/(t-1));return[i(e*a,o*C(1-a*a)),o?P(n*a/o):0]},e}function ro(t,e){var n=no(t);if(!e)return n;var r=a(e),o=v(e);function i(e,i){var a=n(e,i),s=a[1],u=s*o/(t-1)+r;return[a[0]*r/u,s/u]}return i.invert=function(e,i){var a=(t-1)/(t-1-i*o);return n.invert(a*e,a*i*r)},i}var oo=function(){var t=2,n=0,r=e.geoProjectionMutator(ro),o=r(t,n);return o.distance=function(e){return arguments.length?r(t=+e,n):t},o.tilt=function(e){return arguments.length?r(t,n=e*T):n*S},o.scale(432.147).clipAngle(O(1/t)*S-1e-6)},io=1e-4,ao=1e4,so=-180,uo=so+io,lo=180,co=lo-io,fo=-90,ho=fo+io,_o=90,vo=_o-io;function po(t){return t.length>0}function go(t){return Math.floor(t*ao)/ao}function mo(t){return t===fo||t===_o?[0,t]:[so,go(t)]}function yo(t){var e=t[0],n=t[1],r=!1;return e<=uo?(e=so,r=!0):e>=co&&(e=lo,r=!0),n<=ho?(n=fo,r=!0):n>=vo&&(n=_o,r=!0),r?[e,n]:t}function bo(t){return t.map(yo)}function jo(t,e,n){for(var r=0,o=t.length;r=co||c<=ho||c>=vo){i[a]=yo(u);for(var d=a+1;duo&&hho&&_=s)break;n.push({index:-1,polygon:e,ring:i=i.slice(d-1)}),i[0]=mo(i[0][1]),a=-1,s=i.length}}}}function wo(t){var e,n,r,o,i,a,s=t.length,u={},l={};for(e=0;e0?y-u:u)*S],c=e.geoProjection(t(s)).rotate(l),d=e.geoRotation(l),f=c.center;return delete c.rotate,c.center=function(t){return arguments.length?f(d(t)):d.invert(f())},c.clipAngle(90)};function Po(t){var n=a(t);function r(t,r){var o=e.geoGnomonicRaw(t,r);return o[0]*=n,o}return r.invert=function(t,r){return e.geoGnomonicRaw.invert(t/n,r)},r}function Oo(){return Co([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Co(t,e){return ko(Po,t,e)}function Ao(t){if(!(t*=2))return e.geoAzimuthalEquidistantRaw;var n=-t/2,r=-n,o=t*t,s=p(r),u=.5/v(r);function l(e,i){var s=O(a(i)*a(e-n)),u=O(a(i)*a(e-r)),l=i<0?-1:1;return s*=s,u*=u,[(s-u)/(2*t),l*C(4*o*u-(o-s+u)*(o-s+u))/(2*t)]}return l.invert=function(t,e){var o,l,c=e*e,d=a(C(c+(o=t+n)*o)),f=a(C(c+(o=t+r)*o));return[i(l=d-f,o=(d+f)*s),(e<0?-1:1)*O(C(o*o+l*l)*u)]},l}function No(){return Io([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Io(t,e){return ko(Ao,t,e)}function Ro(t,e){if(r(e)g&&--u>0);return[_(t)*(C(i*i+4)+i)*y/4,b*s]};var Go=function(){return e.geoProjection(Fo).scale(127.16)},Vo=4*y+3*C(3),Ho=2*C(2*y*C(3)/Vo),Uo=Q(Ho*C(3)/y,Ho,Vo/6),Wo=function(){return e.geoProjection(Uo).scale(176.84)};function Ko(t,e){return[t*C(1-3*e*e/(y*y)),e]}Ko.invert=function(t,e){return[t/C(1-3*e*e/(y*y)),e]};var Yo=function(){return e.geoProjection(Ko).scale(152.63)};function Jo(t,e){var n=.90631*v(e),r=C(1-n*n),o=C(2/(1+r*a(t/=3)));return[2.66723*r*o*v(t),1.24104*n*o]}Jo.invert=function(t,e){var n=t/2.66723,r=e/1.24104,o=C(n*n+r*r),a=2*P(o/2);return[3*i(t*p(a),2.66723*o),o&&P(e*v(a)/(1.24104*.90631*o))]};var Xo=function(){return e.geoProjection(Jo).scale(172.632)};function $o(t,e){var n=a(e),r=a(t)*n,o=1-r,s=a(t=i(v(t)*n,-v(e))),u=v(t);return n=C(1-r*r),[u*n-s*o,-s*n-u*o]}$o.invert=function(t,e){var n=(t*t+e*e)/-2,r=C(-n*(2+n)),o=e*n+t*r,a=t*n-e*r,s=C(a*a+o*o);return[i(r*o,s*(1+n)),s?-P(r*a/s):0]};var Qo=function(){return e.geoProjection($o).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function Zo(t,e){var n=B(t,e);return[(n[0]+t/b)/2,(n[1]+e)/2]}Zo.invert=function(t,e){var n=t,o=e,i=25;do{var s,u=a(o),l=v(o),c=v(2*o),d=l*l,f=u*u,h=v(n),_=a(n/2),p=v(n/2),m=p*p,y=1-f*_*_,j=y?O(u*_)*C(s=1/y):s=0,w=.5*(2*j*u*p+n/b)-t,x=.5*(j*l+o)-e,E=.5*s*(f*m+j*u*_*d)+.5/b,M=s*(h*c/4-j*l*p),S=.125*s*(c*p-j*l*f*h),T=.5*s*(d*_+j*m*u)+.5,k=M*S-T*E,P=(x*M-w*T)/k,A=(w*S-x*E)/k;n-=P,o-=A}while((r(P)>g||r(A)>g)&&--i>0);return[n,o]};var ti=function(){return e.geoProjection(Zo).scale(158.837)};t.geoAiry=q,t.geoAiryRaw=L,t.geoAitoff=z,t.geoAitoffRaw=B,t.geoArmadillo=G,t.geoArmadilloRaw=F,t.geoAugust=H,t.geoAugustRaw=V,t.geoBaker=Y,t.geoBakerRaw=K,t.geoBerghaus=X,t.geoBerghausRaw=J,t.geoBoggs=ot,t.geoBoggsRaw=rt,t.geoBonne=lt,t.geoBonneRaw=ut,t.geoBottomley=dt,t.geoBottomleyRaw=ct,t.geoBromley=ht,t.geoBromleyRaw=ft,t.geoChamberlin=bt,t.geoChamberlinRaw=gt,t.geoChamberlinAfrica=yt,t.geoCollignon=wt,t.geoCollignonRaw=jt,t.geoCraig=Et,t.geoCraigRaw=xt,t.geoCraster=Tt,t.geoCrasterRaw=St,t.geoCylindricalEqualArea=Pt,t.geoCylindricalEqualAreaRaw=kt,t.geoCylindricalStereographic=Ct,t.geoCylindricalStereographicRaw=Ot,t.geoEckert1=Nt,t.geoEckert1Raw=At,t.geoEckert2=Rt,t.geoEckert2Raw=It,t.geoEckert3=Lt,t.geoEckert3Raw=Dt,t.geoEckert4=Bt,t.geoEckert4Raw=qt,t.geoEckert5=Ft,t.geoEckert5Raw=zt,t.geoEckert6=Vt,t.geoEckert6Raw=Gt,t.geoEisenlohr=Wt,t.geoEisenlohrRaw=Ut,t.geoFahey=Jt,t.geoFaheyRaw=Yt,t.geoFoucaut=$t,t.geoFoucautRaw=Xt,t.geoGilbert=te,t.geoGingery=oe,t.geoGingeryRaw=ee,t.geoGinzburg4=se,t.geoGinzburg4Raw=ae,t.geoGinzburg5=le,t.geoGinzburg5Raw=ue,t.geoGinzburg6=de,t.geoGinzburg6Raw=ce,t.geoGinzburg8=he,t.geoGinzburg8Raw=fe,t.geoGinzburg9=ve,t.geoGinzburg9Raw=_e,t.geoGringorten=be,t.geoGringortenRaw=ge,t.geoGuyou=ke,t.geoGuyouRaw=Me,t.geoHammer=Ce,t.geoHammerRaw=Pe,t.geoHammerRetroazimuthal=Ie,t.geoHammerRetroazimuthalRaw=Ae,t.geoHealpix=Be,t.geoHealpixRaw=Le,t.geoHill=Fe,t.geoHillRaw=ze,t.geoHomolosine=Ke,t.geoHomolosineRaw=We,t.geoInterrupt=$e,t.geoInterruptedBoggs=Ze,t.geoInterruptedHomolosine=en,t.geoInterruptedMollweide=rn,t.geoInterruptedMollweideHemispheres=an,t.geoInterruptedSinuMollweide=un,t.geoInterruptedSinusoidal=cn,t.geoKavrayskiy7=fn,t.geoKavrayskiy7Raw=dn,t.geoLagrange=_n,t.geoLagrangeRaw=hn,t.geoLarrivee=gn,t.geoLarriveeRaw=pn,t.geoLaskowski=yn,t.geoLaskowskiRaw=mn,t.geoLittrow=jn,t.geoLittrowRaw=bn,t.geoLoximuthal=xn,t.geoLoximuthalRaw=wn,t.geoMiller=Mn,t.geoMillerRaw=En,t.geoModifiedStereographic=Ln,t.geoModifiedStereographicRaw=Sn,t.geoModifiedStereographicAlaska=An,t.geoModifiedStereographicGs48=Nn,t.geoModifiedStereographicGs50=In,t.geoModifiedStereographicMiller=Rn,t.geoModifiedStereographicLee=Dn,t.geoMollweide=tt,t.geoMollweideRaw=Z,t.geoMtFlatPolarParabolic=Fn,t.geoMtFlatPolarParabolicRaw=zn,t.geoMtFlatPolarQuartic=Vn,t.geoMtFlatPolarQuarticRaw=Gn,t.geoMtFlatPolarSinusoidal=Un,t.geoMtFlatPolarSinusoidalRaw=Hn,t.geoNaturalEarth=Kn,t.geoNaturalEarthRaw=Wn,t.geoNaturalEarth2=Jn,t.geoNaturalEarth2Raw=Yn,t.geoNellHammer=$n,t.geoNellHammerRaw=Xn,t.geoPatterson=ur,t.geoPattersonRaw=sr,t.geoPolyconic=cr,t.geoPolyconicRaw=lr,t.geoPolyhedral=gr,t.geoPolyhedralButterfly=Mr,t.geoPolyhedralCollignon=kr,t.geoPolyhedralWaterman=Pr,t.geoProject=Lr,t.geoGringortenQuincuncial=Yr,t.geoPeirceQuincuncial=Jr,t.geoPierceQuincuncial=Jr,t.geoQuantize=Xr,t.geoQuincuncial=Kr,t.geoRectangularPolyconic=Qr,t.geoRectangularPolyconicRaw=$r,t.geoRobinson=eo,t.geoRobinsonRaw=to,t.geoSatellite=oo,t.geoSatelliteRaw=ro,t.geoSinuMollweide=Ue,t.geoSinuMollweideRaw=He,t.geoSinusoidal=st,t.geoSinusoidalRaw=at,t.geoStitch=Mo,t.geoTimes=To,t.geoTimesRaw=So,t.geoTwoPointAzimuthal=Co,t.geoTwoPointAzimuthalRaw=Po,t.geoTwoPointAzimuthalUsa=Oo,t.geoTwoPointEquidistant=Io,t.geoTwoPointEquidistantRaw=Ao,t.geoTwoPointEquidistantUsa=No,t.geoVanDerGrinten=Do,t.geoVanDerGrintenRaw=Ro,t.geoVanDerGrinten2=qo,t.geoVanDerGrinten2Raw=Lo,t.geoVanDerGrinten3=zo,t.geoVanDerGrinten3Raw=Bo,t.geoVanDerGrinten4=Go,t.geoVanDerGrinten4Raw=Fo,t.geoWagner4=Wo,t.geoWagner4Raw=Uo,t.geoWagner6=Yo,t.geoWagner6Raw=Ko,t.geoWagner7=Xo,t.geoWagner7Raw=Jo,t.geoWiechel=Qo,t.geoWiechelRaw=$o,t.geoWinkel3=ti,t.geoWinkel3Raw=Zo,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js": /*!***********************************************************!*\ !*** ./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js ***! \***********************************************************/ /*! no static exports found */function(t,e,n){(function(t,r){r(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(t,e){"use strict";function n(){return new r}function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){i(o,t,this.t),i(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function i(t,e,n){var r=t.s=e+n,o=r-e,i=r-o;t.t=e-i+(n-o)}var a=1e-6,s=1e-12,u=Math.PI,l=u/2,c=u/4,d=2*u,f=180/u,h=u/180,_=Math.abs,v=Math.atan,p=Math.atan2,g=Math.cos,m=Math.ceil,y=Math.exp,b=Math.log,j=Math.pow,w=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},E=Math.sqrt,M=Math.tan;function S(t){return t>1?0:t<-1?u:Math.acos(t)}function T(t){return t>1?l:t<-1?-l:Math.asin(t)}function k(t){return(t=w(t/2))*t}function P(){}function O(t,e){t&&A.hasOwnProperty(t.type)&&A[t.type](t,e)}var C={Feature:function(t,e){O(t.geometry,e)},FeatureCollection:function(t,e){var n=t.features,r=-1,o=n.length;while(++r=0?1:-1,o=r*n,i=g(e),a=w(e),s=z*a,u=B*i+s*g(o),l=s*r*w(o);F.add(p(l,u)),q=t,B=i,z=a}function Y(t){return G.reset(),R(t,V),2*G}function J(t){return[p(t[1],t[0]),T(t[2])]}function X(t){var e=t[0],n=t[1],r=g(n);return[r*g(e),r*w(e),w(n)]}function $(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Q(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Z(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function tt(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function et(t){var e=E(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var nt,rt,ot,it,at,st,ut,lt,ct,dt,ft,ht,_t,vt,pt,gt,mt,yt,bt,jt,wt,xt,Et,Mt,St,Tt,kt=n(),Pt={point:Ot,lineStart:At,lineEnd:Nt,polygonStart:function(){Pt.point=It,Pt.lineStart=Rt,Pt.lineEnd=Dt,kt.reset(),V.polygonStart()},polygonEnd:function(){V.polygonEnd(),Pt.point=Ot,Pt.lineStart=At,Pt.lineEnd=Nt,F<0?(nt=-(ot=180),rt=-(it=90)):kt>a?it=90:kt<-a&&(rt=-90),dt[0]=nt,dt[1]=ot},sphere:function(){nt=-(ot=180),rt=-(it=90)}};function Ot(t,e){ct.push(dt=[nt=t,ot=t]),eit&&(it=e)}function Ct(t,e){var n=X([t*h,e*h]);if(lt){var r=Q(lt,n),o=[r[1],-r[0],0],i=Q(o,r);et(i),i=J(i);var a,s=t-at,u=s>0?1:-1,l=i[0]*f*u,c=_(s)>180;c^(u*atit&&(it=a)):(l=(l+360)%360-180,c^(u*atit&&(it=e))),c?tLt(nt,ot)&&(ot=t):Lt(t,ot)>Lt(nt,ot)&&(nt=t):ot>=nt?(tot&&(ot=t)):t>at?Lt(nt,t)>Lt(nt,ot)&&(ot=t):Lt(t,ot)>Lt(nt,ot)&&(nt=t)}else ct.push(dt=[nt=t,ot=t]);eit&&(it=e),lt=n,at=t}function At(){Pt.point=Ct}function Nt(){dt[0]=nt,dt[1]=ot,Pt.point=Ot,lt=null}function It(t,e){if(lt){var n=t-at;kt.add(_(n)>180?n+(n>0?360:-360):n)}else st=t,ut=e;V.point(t,e),Ct(t,e)}function Rt(){V.lineStart()}function Dt(){It(st,ut),V.lineEnd(),_(kt)>a&&(nt=-(ot=180)),dt[0]=nt,dt[1]=ot,lt=null}function Lt(t,e){return(e-=t)<0?e+360:e}function qt(t,e){return t[0]-e[0]}function Bt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eLt(r[0],r[1])&&(r[1]=o[1]),Lt(o[0],r[1])>Lt(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,e=0,r=i[n];e<=n;r=o,++e)o=i[e],(s=Lt(r[1],o[0]))>a&&(a=s,nt=o[0],ot=r[1])}return ct=dt=null,nt===1/0||rt===1/0?[[NaN,NaN],[NaN,NaN]]:[[nt,rt],[ot,it]]}var Ft={sphere:P,point:Gt,lineStart:Ht,lineEnd:Kt,polygonStart:function(){Ft.lineStart=Yt,Ft.lineEnd=Jt},polygonEnd:function(){Ft.lineStart=Ht,Ft.lineEnd=Kt}};function Gt(t,e){t*=h,e*=h;var n=g(e);Vt(n*g(t),n*w(t),w(e))}function Vt(t,e,n){++ft,_t+=(t-_t)/ft,vt+=(e-vt)/ft,pt+=(n-pt)/ft}function Ht(){Ft.point=Ut}function Ut(t,e){t*=h,e*=h;var n=g(e);Mt=n*g(t),St=n*w(t),Tt=w(e),Ft.point=Wt,Vt(Mt,St,Tt)}function Wt(t,e){t*=h,e*=h;var n=g(e),r=n*g(t),o=n*w(t),i=w(e),a=p(E((a=St*i-Tt*o)*a+(a=Tt*r-Mt*i)*a+(a=Mt*o-St*r)*a),Mt*r+St*o+Tt*i);ht+=a,gt+=a*(Mt+(Mt=r)),mt+=a*(St+(St=o)),yt+=a*(Tt+(Tt=i)),Vt(Mt,St,Tt)}function Kt(){Ft.point=Gt}function Yt(){Ft.point=Xt}function Jt(){$t(xt,Et),Ft.point=Gt}function Xt(t,e){xt=t,Et=e,t*=h,e*=h,Ft.point=$t;var n=g(e);Mt=n*g(t),St=n*w(t),Tt=w(e),Vt(Mt,St,Tt)}function $t(t,e){t*=h,e*=h;var n=g(e),r=n*g(t),o=n*w(t),i=w(e),a=St*i-Tt*o,s=Tt*r-Mt*i,u=Mt*o-St*r,l=E(a*a+s*s+u*u),c=T(l),d=l&&-c/l;bt+=d*a,jt+=d*s,wt+=d*u,ht+=c,gt+=c*(Mt+(Mt=r)),mt+=c*(St+(St=o)),yt+=c*(Tt+(Tt=i)),Vt(Mt,St,Tt)}function Qt(t){ft=ht=_t=vt=pt=gt=mt=yt=bt=jt=wt=0,R(t,Ft);var e=bt,n=jt,r=wt,o=e*e+n*n+r*r;return ou?t+Math.round(-t/d)*d:t,e]}function ne(t,e,n){return(t%=d)?e||n?te(oe(t),ie(e,n)):oe(t):e||n?ie(e,n):ee}function re(t){return function(e,n){return e+=t,[e>u?e-d:e<-u?e+d:e,n]}}function oe(t){var e=re(t);return e.invert=re(-t),e}function ie(t,e){var n=g(t),r=w(t),o=g(e),i=w(e);function a(t,e){var a=g(e),s=g(t)*a,u=w(t)*a,l=w(e),c=l*n+s*r;return[p(u*o-c*i,s*n-l*r),T(c*o+u*i)]}return a.invert=function(t,e){var a=g(e),s=g(t)*a,u=w(t)*a,l=w(e),c=l*o-u*i;return[p(u*o+l*i,s*n+c*r),T(c*n-s*r)]},a}function ae(t){function e(e){return e=t(e[0]*h,e[1]*h),e[0]*=f,e[1]*=f,e}return t=ne(t[0]*h,t[1]*h,t.length>2?t[2]*h:0),e.invert=function(e){return e=t.invert(e[0]*h,e[1]*h),e[0]*=f,e[1]*=f,e},e}function se(t,e,n,r,o,i){if(n){var a=g(e),s=w(e),u=r*n;null==o?(o=e+r*d,i=e-u/2):(o=ue(a,o),i=ue(a,i),(r>0?oi)&&(o+=r*d));for(var l,c=o;r>0?c>i:c1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function de(t,e){return _(t[0]-e[0])=0;--i)o.point((c=l[i])[0],c[1]);else r(f.x,f.p.x,-1,o);f=f.p}f=f.o,l=f.z,h=!h}while(!f.v);o.lineEnd()}}}function _e(t){if(e=t.length){var e,n,r=0,o=t[0];while(++r=0?1:-1,I=N*A,R=I>u,D=x*O;if(ve.add(p(D*N*w(I),E*C+D*g(I))),s+=R?A+N*d:A,R^b>=n^k>=n){var L=Q(X(y),X(S));et(L);var q=Q(i,L);et(q);var B=(R^A>=0?-1:1)*T(q[2]);(r>B||r===B&&(L[0]||L[1]))&&(f+=R^A>=0?1:-1)}}return(s<-a||s0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t1&&2&o&&l.push(l.pop().concat(l.shift())),s.push(l.filter(ye))}return h}}function ye(t){return t.length>1}function be(t,e){return((t=t.x)[0]<0?t[1]-l-a:l-t[1])-((e=e.x)[0]<0?e[1]-l-a:l-e[1])}var je=me((function(){return!0}),we,Ee,[-u,-l]);function we(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,s){var c=i>0?u:-u,d=_(i-n);_(d-u)0?l:-l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(i,r),e=0):o!==c&&d>=u&&(_(n-o)a?v((w(e)*(i=g(r))*w(n)-w(r)*(o=g(e))*w(t))/(o*i*s)):(e+r)/2}function Ee(t,e,n,r){var o;if(null==t)o=n*l,r.point(-u,o),r.point(0,o),r.point(u,o),r.point(u,0),r.point(u,-o),r.point(0,-o),r.point(-u,-o),r.point(-u,0),r.point(-u,o);else if(_(t[0]-e[0])>a){var i=t[0]0,o=_(e)>a;function i(e,r,o,i){se(i,t,n,o,e,r)}function s(t,n){return g(t)*g(n)>e}function l(t){var e,n,i,l,f;return{lineStart:function(){l=i=!1,f=1},point:function(h,_){var v,p=[h,_],g=s(h,_),m=r?g?0:d(h,_):g?d(h+(h<0?u:-u),_):0;if(!e&&(l=i=g)&&t.lineStart(),g!==i&&(v=c(e,p),(!v||de(e,v)||de(p,v))&&(p[0]+=a,p[1]+=a,g=s(p[0],p[1]))),g!==i)f=0,g?(t.lineStart(),v=c(p,e),t.point(v[0],v[1])):(v=c(e,p),t.point(v[0],v[1]),t.lineEnd()),e=v;else if(o&&e&&r^g){var y;m&n||!(y=c(p,e,!0))||(f=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||e&&de(e,p)||t.point(p[0],p[1]),e=p,i=g,n=m},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return f|(l&&i)<<1}}}function c(t,n,r){var o=X(t),i=X(n),s=[1,0,0],l=Q(o,i),c=$(l,l),d=l[0],f=c-d*d;if(!f)return!r&&t;var h=e*c/f,v=-e*d/f,p=Q(s,l),g=tt(s,h),m=tt(l,v);Z(g,m);var y=p,b=$(g,y),j=$(y,y),w=b*b-j*($(g,g)-1);if(!(w<0)){var x=E(w),M=tt(y,(-b-x)/j);if(Z(M,g),M=J(M),!r)return M;var S,T=t[0],k=n[0],P=t[1],O=n[1];k0^M[1]<(_(M[0]-T)u^(T<=M[0]&&M[0]<=k)){var I=tt(y,(-b+x)/j);return Z(I,g),[M,J(I)]}}}function d(e,n){var o=r?t:u-t,i=0;return e<-o?i|=1:e>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return me(s,l,i,r?[0,-t]:[-u,t-u])}function Se(t,e,n,r,o,i){var a,s=t[0],u=t[1],l=e[0],c=e[1],d=0,f=1,h=l-s,_=c-u;if(a=n-s,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-s,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>d&&(d=a)}else if(h>0){if(a0)){if(a/=_,_<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=i-u,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a0&&(t[0]=s+d*h,t[1]=u+d*_),f<1&&(e[0]=s+f*h,e[1]=u+f*_),!0}}}}}var Te=1e9,ke=-Te;function Pe(t,n,r,o){function i(e,i){return t<=e&&e<=r&&n<=i&&i<=o}function s(e,i,a,s){var l=0,d=0;if(null==e||(l=u(e,a))!==(d=u(i,a))||c(e,i)<0^a>0)do{s.point(0===l||3===l?t:r,l>1?o:n)}while((l=(l+a+4)%4)!==d);else s.point(i[0],i[1])}function u(e,o){return _(e[0]-t)0?0:3:_(e[0]-r)0?2:1:_(e[1]-n)0?1:0:o>0?3:2}function l(t,e){return c(t.x,e.x)}function c(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var u,c,d,f,h,_,v,p,g,m,y,b=a,j=ce(),w={point:x,lineStart:T,lineEnd:k,polygonStart:M,polygonEnd:S};function x(t,e){i(t,e)&&b.point(t,e)}function E(){for(var e=0,n=0,r=c.length;no&&(f-i)*(o-a)>(h-a)*(t-i)&&++e:h<=o&&(f-i)*(o-a)<(h-a)*(t-i)&&--e;return e}function M(){b=j,u=[],c=[],y=!0}function S(){var t=E(),n=y&&t,r=(u=e.merge(u)).length;(n||r)&&(a.polygonStart(),n&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),r&&he(u,l,t,s,a),a.polygonEnd()),b=a,u=c=d=null}function T(){w.point=P,c&&c.push(d=[]),m=!0,g=!1,v=p=NaN}function k(){u&&(P(f,h),_&&g&&j.rejoin(),u.push(j.result())),w.point=x,g&&b.lineEnd()}function P(e,a){var s=i(e,a);if(c&&d.push([e,a]),m)f=e,h=a,_=s,m=!1,s&&(b.lineStart(),b.point(e,a));else if(s&&g)b.point(e,a);else{var u=[v=Math.max(ke,Math.min(Te,v)),p=Math.max(ke,Math.min(Te,p))],l=[e=Math.max(ke,Math.min(Te,e)),a=Math.max(ke,Math.min(Te,a))];Se(u,l,t,n,r,o)?(g||(b.lineStart(),b.point(u[0],u[1])),b.point(l[0],l[1]),s||b.lineEnd(),y=!1):s&&(b.lineStart(),b.point(e,a),y=!1)}v=e,p=a,g=s}return w}}function Oe(){var t,e,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return t&&e===n?t:t=Pe(r,o,i,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],i=+s[1][0],a=+s[1][1],t=e=null,n):[[r,o],[i,a]]}}}var Ce,Ae,Ne,Ie=n(),Re={sphere:P,point:P,lineStart:De,lineEnd:P,polygonStart:P,polygonEnd:P};function De(){Re.point=qe,Re.lineEnd=Le}function Le(){Re.point=Re.lineEnd=P}function qe(t,e){t*=h,e*=h,Ce=t,Ae=w(e),Ne=g(e),Re.point=Be}function Be(t,e){t*=h,e*=h;var n=w(e),r=g(e),o=_(t-Ce),i=g(o),a=w(o),s=r*a,u=Ne*n-Ae*r*i,l=Ae*n+Ne*r*i;Ie.add(p(E(s*s+u*u),l)),Ce=t,Ae=n,Ne=r}function ze(t){return Ie.reset(),R(t,Re),+Ie}var Fe=[null,null],Ge={type:"LineString",coordinates:Fe};function Ve(t,e){return Fe[0]=t,Fe[1]=e,ze(Ge)}var He={Feature:function(t,e){return We(t.geometry,e)},FeatureCollection:function(t,e){var n=t.features,r=-1,o=n.length;while(++r0&&(o=Ve(t[i],t[i-1]),o>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))a})).map(c)).concat(e.range(m(s/p)*p,i,p).filter((function(t){return _(t%y)>a})).map(d))}return j.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},j.outline=function(){return{type:"Polygon",coordinates:[f(o).concat(h(u).slice(1),f(r).reverse().slice(1),h(l).reverse().slice(1))]}},j.extent=function(t){return arguments.length?j.extentMajor(t).extentMinor(t):j.extentMinor()},j.extentMajor=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],l=+t[0][1],u=+t[1][1],o>r&&(t=o,o=r,r=t),l>u&&(t=l,l=u,u=t),j.precision(b)):[[o,l],[r,u]]},j.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),s>i&&(e=s,s=i,i=e),j.precision(b)):[[n,s],[t,i]]},j.step=function(t){return arguments.length?j.stepMajor(t).stepMinor(t):j.stepMinor()},j.stepMajor=function(t){return arguments.length?(g=+t[0],y=+t[1],j):[g,y]},j.stepMinor=function(t){return arguments.length?(v=+t[0],p=+t[1],j):[v,p]},j.precision=function(e){return arguments.length?(b=+e,c=Ze(s,i,90),d=tn(n,t,b),f=Ze(l,u,90),h=tn(o,r,b),j):b},j.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}function nn(){return en()()}function rn(t,e){var n=t[0]*h,r=t[1]*h,o=e[0]*h,i=e[1]*h,a=g(r),s=w(r),u=g(i),l=w(i),c=a*g(n),d=a*w(n),_=u*g(o),v=u*w(o),m=2*T(E(k(i-r)+a*u*k(o-n))),y=w(m),b=m?function(t){var e=w(t*=m)/y,n=w(m-t)/y,r=n*c+e*_,o=n*d+e*v,i=n*s+e*l;return[p(o,r)*f,p(i,E(r*r+o*o))*f]}:function(){return[n*f,r*f]};return b.distance=m,b}function on(t){return t}var an,sn,un,ln,cn=n(),dn=n(),fn={point:P,lineStart:P,lineEnd:P,polygonStart:function(){fn.lineStart=hn,fn.lineEnd=pn},polygonEnd:function(){fn.lineStart=fn.lineEnd=fn.point=P,cn.add(_(dn)),dn.reset()},result:function(){var t=cn/2;return cn.reset(),t}};function hn(){fn.point=_n}function _n(t,e){fn.point=vn,an=un=t,sn=ln=e}function vn(t,e){dn.add(ln*t-un*e),un=t,ln=e}function pn(){vn(an,sn)}var gn=1/0,mn=gn,yn=-gn,bn=yn,jn={point:wn,lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P,result:function(){var t=[[gn,mn],[yn,bn]];return yn=bn=-(mn=gn=1/0),t}};function wn(t,e){tyn&&(yn=t),ebn&&(bn=e)}var xn,En,Mn,Sn,Tn=0,kn=0,Pn=0,On=0,Cn=0,An=0,Nn=0,In=0,Rn=0,Dn={point:Ln,lineStart:qn,lineEnd:Fn,polygonStart:function(){Dn.lineStart=Gn,Dn.lineEnd=Vn},polygonEnd:function(){Dn.point=Ln,Dn.lineStart=qn,Dn.lineEnd=Fn},result:function(){var t=Rn?[Nn/Rn,In/Rn]:An?[On/An,Cn/An]:Pn?[Tn/Pn,kn/Pn]:[NaN,NaN];return Tn=kn=Pn=On=Cn=An=Nn=In=Rn=0,t}};function Ln(t,e){Tn+=t,kn+=e,++Pn}function qn(){Dn.point=Bn}function Bn(t,e){Dn.point=zn,Ln(Mn=t,Sn=e)}function zn(t,e){var n=t-Mn,r=e-Sn,o=E(n*n+r*r);On+=o*(Mn+t)/2,Cn+=o*(Sn+e)/2,An+=o,Ln(Mn=t,Sn=e)}function Fn(){Dn.point=Ln}function Gn(){Dn.point=Hn}function Vn(){Un(xn,En)}function Hn(t,e){Dn.point=Un,Ln(xn=Mn=t,En=Sn=e)}function Un(t,e){var n=t-Mn,r=e-Sn,o=E(n*n+r*r);On+=o*(Mn+t)/2,Cn+=o*(Sn+e)/2,An+=o,o=Sn*t-Mn*e,Nn+=o*(Mn+t),In+=o*(Sn+e),Rn+=3*o,Ln(Mn=t,Sn=e)}function Wn(t){this._context=t}Wn.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,d);break}},result:P};var Kn,Yn,Jn,Xn,$n,Qn=n(),Zn={point:P,lineStart:function(){Zn.point=tr},lineEnd:function(){Kn&&er(Yn,Jn),Zn.point=P},polygonStart:function(){Kn=!0},polygonEnd:function(){Kn=null},result:function(){var t=+Qn;return Qn.reset(),t}};function tr(t,e){Zn.point=er,Yn=Xn=t,Jn=$n=e}function er(t,e){Xn-=t,$n-=e,Qn.add(E(Xn*Xn+$n*$n)),Xn=t,$n=e}function nr(){this._string=[]}function rr(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function or(t,e){var n,r,o=4.5;function i(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),R(t,n(r))),r.result()}return i.area=function(t){return R(t,n(fn)),fn.result()},i.measure=function(t){return R(t,n(Zn)),Zn.result()},i.bounds=function(t){return R(t,n(jn)),jn.result()},i.centroid=function(t){return R(t,n(Dn)),Dn.result()},i.projection=function(e){return arguments.length?(n=null==e?(t=null,on):(t=e).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(e=null,new nr):new Wn(e=t),"function"!==typeof o&&r.pointRadius(o),i):e},i.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(e)}function ir(t){return{stream:ar(t)}}function ar(t){return function(e){var n=new sr;for(var r in t)n[r]=t[r];return n.stream=e,n}}function sr(){}function ur(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),R(n,t.stream(jn)),e(jn.result()),null!=r&&t.clipExtent(r),t}function lr(t,e,n){return ur(t,(function(n){var r=e[1][0]-e[0][0],o=e[1][1]-e[0][1],i=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),a=+e[0][0]+(r-i*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(o-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,s])}),n)}function cr(t,e,n){return lr(t,[[0,0],e],n)}function dr(t,e,n){return ur(t,(function(n){var r=+e,o=r/(n[1][0]-n[0][0]),i=(r-o*(n[1][0]+n[0][0]))/2,a=-o*n[0][1];t.scale(150*o).translate([i,a])}),n)}function fr(t,e,n){return ur(t,(function(n){var r=+e,o=r/(n[1][1]-n[0][1]),i=-o*n[0][0],a=(r-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([i,a])}),n)}nr.prototype={_radius:4.5,_circle:rr(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=rr(this._radius)),this._string.push("M",t,",",e,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},sr.prototype={constructor:sr,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var hr=16,_r=g(30*h);function vr(t,e){return+e?gr(t,e):pr(t)}function pr(t){return ar({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function gr(t,e){function n(r,o,i,s,u,l,c,d,f,h,v,g,m,y){var b=c-r,j=d-o,w=b*b+j*j;if(w>4*e&&m--){var x=s+h,M=u+v,S=l+g,k=E(x*x+M*M+S*S),P=T(S/=k),O=_(_(S)-1)e||_((b*I+j*R)/w-.5)>.3||s*h+u*v+l*g<_r)&&(n(r,o,i,s,u,l,A,N,O,x/=k,M/=k,S,m,y),y.point(A,N),n(A,N,O,x,M,S,c,d,f,h,v,g,m,y))}}return function(e){var r,o,i,a,s,u,l,c,d,f,h,_,v={point:p,lineStart:g,lineEnd:y,polygonStart:function(){e.polygonStart(),v.lineStart=b},polygonEnd:function(){e.polygonEnd(),v.lineStart=g}};function p(n,r){n=t(n,r),e.point(n[0],n[1])}function g(){c=NaN,v.point=m,e.lineStart()}function m(r,o){var i=X([r,o]),a=t(r,o);n(c,d,l,f,h,_,c=a[0],d=a[1],l=r,f=i[0],h=i[1],_=i[2],hr,e),e.point(c,d)}function y(){v.point=p,e.lineEnd()}function b(){g(),v.point=j,v.lineEnd=w}function j(t,e){m(r=t,e),o=c,i=d,a=f,s=h,u=_,v.point=m}function w(){n(c,d,l,f,h,_,o,i,r,a,s,u,hr,e),v.lineEnd=y,y()}return v}}var mr=ar({point:function(t,e){this.stream.point(t*h,e*h)}});function yr(t){return ar({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}function br(t,e,n){function r(r,o){return[e+t*r,n-t*o]}return r.invert=function(r,o){return[(r-e)/t,(n-o)/t]},r}function jr(t,e,n,r){var o=g(r),i=w(r),a=o*t,s=i*t,u=o/t,l=i/t,c=(i*n-o*e)/t,d=(i*e+o*n)/t;function f(t,r){return[a*t-s*r+e,n-s*t-a*r]}return f.invert=function(t,e){return[u*t-l*e+c,d-l*t-u*e]},f}function wr(t){return xr((function(){return t}))()}function xr(t){var e,n,r,o,i,a,s,u,l,c,d=150,_=480,v=250,p=0,g=0,m=0,y=0,b=0,j=0,w=null,x=je,M=null,S=on,T=.5;function k(t){return u(t[0]*h,t[1]*h)}function P(t){return t=u.invert(t[0],t[1]),t&&[t[0]*f,t[1]*f]}function O(){var t=jr(d,0,0,j).apply(null,e(p,g)),r=(j?jr:br)(d,_-t[0],v-t[1],j);return n=ne(m,y,b),s=te(e,r),u=te(n,s),a=vr(s,T),C()}function C(){return l=c=null,k}return k.stream=function(t){return l&&c===t?l:l=mr(yr(n)(x(a(S(c=t)))))},k.preclip=function(t){return arguments.length?(x=t,w=void 0,C()):x},k.postclip=function(t){return arguments.length?(S=t,M=r=o=i=null,C()):S},k.clipAngle=function(t){return arguments.length?(x=+t?Me(w=t*h):(w=null,je),C()):w*f},k.clipExtent=function(t){return arguments.length?(S=null==t?(M=r=o=i=null,on):Pe(M=+t[0][0],r=+t[0][1],o=+t[1][0],i=+t[1][1]),C()):null==M?null:[[M,r],[o,i]]},k.scale=function(t){return arguments.length?(d=+t,O()):d},k.translate=function(t){return arguments.length?(_=+t[0],v=+t[1],O()):[_,v]},k.center=function(t){return arguments.length?(p=t[0]%360*h,g=t[1]%360*h,O()):[p*f,g*f]},k.rotate=function(t){return arguments.length?(m=t[0]%360*h,y=t[1]%360*h,b=t.length>2?t[2]%360*h:0,O()):[m*f,y*f,b*f]},k.angle=function(t){return arguments.length?(j=t%360*h,O()):j*f},k.precision=function(t){return arguments.length?(a=vr(s,T=t*t),C()):E(T)},k.fitExtent=function(t,e){return lr(k,t,e)},k.fitSize=function(t,e){return cr(k,t,e)},k.fitWidth=function(t,e){return dr(k,t,e)},k.fitHeight=function(t,e){return fr(k,t,e)},function(){return e=t.apply(this,arguments),k.invert=e.invert&&P,O()}}function Er(t){var e=0,n=u/3,r=xr(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*h,n=t[1]*h):[e*f,n*f]},o}function Mr(t){var e=g(t);function n(t,n){return[t*e,w(n)/e]}return n.invert=function(t,n){return[t/e,T(n*e)]},n}function Sr(t,e){var n=w(t),r=(n+w(e))/2;if(_(r)=.12&&o<.234&&r>=-.425&&r<-.214?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:s).invert(t)},d.stream=function(n){return t&&e===n?t:t=Pr([s.stream(e=n),u.stream(n),l.stream(n)])},d.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),f()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),i=+t[0],d=+t[1];return n=s.translate(t).clipExtent([[i-.455*e,d-.238*e],[i+.455*e,d+.238*e]]).stream(c),r=u.translate([i-.307*e,d+.201*e]).clipExtent([[i-.425*e+a,d+.12*e+a],[i-.214*e-a,d+.234*e-a]]).stream(c),o=l.translate([i-.205*e,d+.212*e]).clipExtent([[i-.214*e+a,d+.166*e+a],[i-.115*e-a,d+.234*e-a]]).stream(c),f()},d.fitExtent=function(t,e){return lr(d,t,e)},d.fitSize=function(t,e){return cr(d,t,e)},d.fitWidth=function(t,e){return dr(d,t,e)},d.fitHeight=function(t,e){return fr(d,t,e)},d.scale(1070)}function Cr(t){return function(e,n){var r=g(e),o=g(n),i=t(r*o);return[i*o*w(e),i*w(n)]}}function Ar(t){return function(e,n){var r=E(e*e+n*n),o=t(r),i=w(o),a=g(o);return[p(e*i,r*a),T(r&&n*i/r)]}}var Nr=Cr((function(t){return E(2/(1+t))}));function Ir(){return wr(Nr).scale(124.75).clipAngle(179.999)}Nr.invert=Ar((function(t){return 2*T(t/2)}));var Rr=Cr((function(t){return(t=S(t))&&t/w(t)}));function Dr(){return wr(Rr).scale(79.4188).clipAngle(179.999)}function Lr(t,e){return[t,b(M((l+e)/2))]}function qr(){return Br(Lr).scale(961/d)}function Br(t){var e,n,r,o=wr(t),i=o.center,a=o.scale,s=o.translate,l=o.clipExtent,c=null;function d(){var i=u*a(),s=o(ae(o.rotate()).invert([0,0]));return l(null==c?[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]:t===Lr?[[Math.max(s[0]-i,c),e],[Math.min(s[0]+i,n),r]]:[[c,Math.max(s[1]-i,e)],[n,Math.min(s[1]+i,r)]])}return o.scale=function(t){return arguments.length?(a(t),d()):a()},o.translate=function(t){return arguments.length?(s(t),d()):s()},o.center=function(t){return arguments.length?(i(t),d()):i()},o.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,e],[n,r]]},d()}function zr(t){return M((l+t)/2)}function Fr(t,e){var n=g(t),r=t===e?w(t):b(n/g(e))/b(zr(e)/zr(t)),o=n*j(zr(t),r)/r;if(!r)return Lr;function i(t,e){o>0?e<-l+a&&(e=-l+a):e>l-a&&(e=l-a);var n=o/j(zr(e),r);return[n*w(r*t),o-n*g(r*t)]}return i.invert=function(t,e){var n=o-e,i=x(r)*E(t*t+n*n);return[p(t,_(n))/r*x(n),2*v(j(o/i,1/r))-l]},i}function Gr(){return Er(Fr).scale(109.5).parallels([30,30])}function Vr(t,e){return[t,e]}function Hr(){return wr(Vr).scale(152.63)}function Ur(t,e){var n=g(t),r=t===e?w(t):(n-g(e))/(e-t),o=n/r+t;if(_(r)2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90]).scale(159.155)}Zr.invert=function(t,e){for(var n,r,o,i=e,a=i*i,u=a*a*a,l=0;la&&--o>0);return[t/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]},so.invert=Ar(T),lo.invert=Ar((function(t){return 2*v(t)})),fo.invert=function(t,e){return[-e,2*v(y(t))-l]},t.geoAlbers=kr,t.geoAlbersUsa=Or,t.geoArea=Y,t.geoAzimuthalEqualArea=Ir,t.geoAzimuthalEqualAreaRaw=Nr,t.geoAzimuthalEquidistant=Dr,t.geoAzimuthalEquidistantRaw=Rr,t.geoBounds=zt,t.geoCentroid=Qt,t.geoCircle=le,t.geoClipAntimeridian=je,t.geoClipCircle=Me,t.geoClipExtent=Oe,t.geoClipRectangle=Pe,t.geoConicConformal=Gr,t.geoConicConformalRaw=Fr,t.geoConicEqualArea=Tr,t.geoConicEqualAreaRaw=Sr,t.geoConicEquidistant=Wr,t.geoConicEquidistantRaw=Ur,t.geoContains=Qe,t.geoDistance=Ve,t.geoEqualEarth=to,t.geoEqualEarthRaw=Zr,t.geoEquirectangular=Hr,t.geoEquirectangularRaw=Vr,t.geoGnomonic=no,t.geoGnomonicRaw=eo,t.geoGraticule=en,t.geoGraticule10=nn,t.geoIdentity=oo,t.geoInterpolate=rn,t.geoLength=ze,t.geoMercator=qr,t.geoMercatorRaw=Lr,t.geoNaturalEarth1=ao,t.geoNaturalEarth1Raw=io,t.geoOrthographic=uo,t.geoOrthographicRaw=so,t.geoPath=or,t.geoProjection=wr,t.geoProjectionMutator=xr,t.geoRotation=ae,t.geoStereographic=co,t.geoStereographicRaw=lo,t.geoStream=R,t.geoTransform=ir,t.geoTransverseMercator=ho,t.geoTransverseMercatorRaw=fo,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js": /*!***********************************************************!*\ !*** ./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js ***! \***********************************************************/ /*! no static exports found */function(t,e,n){(function(t,r){r(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(t,e){"use strict";var n=function(){return new r};function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){i(o,t,this.t),i(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function i(t,e,n){var r=t.s=e+n,o=r-e,i=r-o;t.t=e-i+(n-o)}var a=1e-6,s=1e-12,u=Math.PI,l=u/2,c=u/4,d=2*u,f=180/u,h=u/180,_=Math.abs,v=Math.atan,p=Math.atan2,g=Math.cos,m=Math.ceil,y=Math.exp,b=Math.log,j=Math.pow,w=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},E=Math.sqrt,M=Math.tan;function S(t){return t>1?0:t<-1?u:Math.acos(t)}function T(t){return t>1?l:t<-1?-l:Math.asin(t)}function k(t){return(t=w(t/2))*t}function P(){}function O(t,e){t&&A.hasOwnProperty(t.type)&&A[t.type](t,e)}var C={Feature:function(t,e){O(t.geometry,e)},FeatureCollection:function(t,e){var n=t.features,r=-1,o=n.length;while(++r=0?1:-1,o=r*n,i=g(e),a=w(e),s=B*a,u=q*i+s*g(o),l=s*r*w(o);F.add(p(l,u)),L=t,q=i,B=a}var Y,J,X,$,Q,Z,tt,et,nt=function(t){return G.reset(),z(t,V),2*G};function rt(t){return[p(t[1],t[0]),T(t[2])]}function ot(t){var e=t[0],n=t[1],r=g(n);return[r*g(e),r*w(e),w(n)]}function it(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function at(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function st(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ut(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function lt(t){var e=E(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var ct,dt,ft=n(),ht={point:_t,lineStart:pt,lineEnd:gt,polygonStart:function(){ht.point=mt,ht.lineStart=yt,ht.lineEnd=bt,ft.reset(),V.polygonStart()},polygonEnd:function(){V.polygonEnd(),ht.point=_t,ht.lineStart=pt,ht.lineEnd=gt,F<0?(Y=-(X=180),J=-($=90)):ft>a?$=90:ft<-a&&(J=-90),dt[0]=Y,dt[1]=X}};function _t(t,e){ct.push(dt=[Y=t,X=t]),e$&&($=e)}function vt(t,e){var n=ot([t*h,e*h]);if(et){var r=at(et,n),o=[r[1],-r[0],0],i=at(o,r);lt(i),i=rt(i);var a,s=t-Q,u=s>0?1:-1,l=i[0]*f*u,c=_(s)>180;c^(u*Q$&&($=a)):(l=(l+360)%360-180,c^(u*Q$&&($=e))),c?tjt(Y,X)&&(X=t):jt(t,X)>jt(Y,X)&&(Y=t):X>=Y?(tX&&(X=t)):t>Q?jt(Y,t)>jt(Y,X)&&(X=t):jt(t,X)>jt(Y,X)&&(Y=t)}else ct.push(dt=[Y=t,X=t]);e$&&($=e),et=n,Q=t}function pt(){ht.point=vt}function gt(){dt[0]=Y,dt[1]=X,ht.point=_t,et=null}function mt(t,e){if(et){var n=t-Q;ft.add(_(n)>180?n+(n>0?360:-360):n)}else Z=t,tt=e;V.point(t,e),vt(t,e)}function yt(){V.lineStart()}function bt(){mt(Z,tt),V.lineEnd(),_(ft)>a&&(Y=-(X=180)),dt[0]=Y,dt[1]=X,et=null}function jt(t,e){return(e-=t)<0?e+360:e}function wt(t,e){return t[0]-e[0]}function xt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:ejt(r[0],r[1])&&(r[1]=o[1]),jt(o[0],r[1])>jt(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,e=0,r=i[n];e<=n;r=o,++e)o=i[e],(s=jt(r[1],o[0]))>a&&(a=s,Y=o[0],X=r[1])}return ct=dt=null,Y===1/0||J===1/0?[[NaN,NaN],[NaN,NaN]]:[[Y,J],[X,$]]},Ft={sphere:P,point:Gt,lineStart:Ht,lineEnd:Kt,polygonStart:function(){Ft.lineStart=Yt,Ft.lineEnd=Jt},polygonEnd:function(){Ft.lineStart=Ht,Ft.lineEnd=Kt}};function Gt(t,e){t*=h,e*=h;var n=g(e);Vt(n*g(t),n*w(t),w(e))}function Vt(t,e,n){++Et,St+=(t-St)/Et,Tt+=(e-Tt)/Et,kt+=(n-kt)/Et}function Ht(){Ft.point=Ut}function Ut(t,e){t*=h,e*=h;var n=g(e);Lt=n*g(t),qt=n*w(t),Bt=w(e),Ft.point=Wt,Vt(Lt,qt,Bt)}function Wt(t,e){t*=h,e*=h;var n=g(e),r=n*g(t),o=n*w(t),i=w(e),a=p(E((a=qt*i-Bt*o)*a+(a=Bt*r-Lt*i)*a+(a=Lt*o-qt*r)*a),Lt*r+qt*o+Bt*i);Mt+=a,Pt+=a*(Lt+(Lt=r)),Ot+=a*(qt+(qt=o)),Ct+=a*(Bt+(Bt=i)),Vt(Lt,qt,Bt)}function Kt(){Ft.point=Gt}function Yt(){Ft.point=Xt}function Jt(){$t(Rt,Dt),Ft.point=Gt}function Xt(t,e){Rt=t,Dt=e,t*=h,e*=h,Ft.point=$t;var n=g(e);Lt=n*g(t),qt=n*w(t),Bt=w(e),Vt(Lt,qt,Bt)}function $t(t,e){t*=h,e*=h;var n=g(e),r=n*g(t),o=n*w(t),i=w(e),a=qt*i-Bt*o,s=Bt*r-Lt*i,u=Lt*o-qt*r,l=E(a*a+s*s+u*u),c=T(l),d=l&&-c/l;At+=d*a,Nt+=d*s,It+=d*u,Mt+=c,Pt+=c*(Lt+(Lt=r)),Ot+=c*(qt+(qt=o)),Ct+=c*(Bt+(Bt=i)),Vt(Lt,qt,Bt)}var Qt=function(t){Et=Mt=St=Tt=kt=Pt=Ot=Ct=At=Nt=It=0,z(t,Ft);var e=At,n=Nt,r=It,o=e*e+n*n+r*r;return ou?t-d:t<-u?t+d:t,e]}function ne(t,e,n){return(t%=d)?e||n?te(oe(t),ie(e,n)):oe(t):e||n?ie(e,n):ee}function re(t){return function(e,n){return e+=t,[e>u?e-d:e<-u?e+d:e,n]}}function oe(t){var e=re(t);return e.invert=re(-t),e}function ie(t,e){var n=g(t),r=w(t),o=g(e),i=w(e);function a(t,e){var a=g(e),s=g(t)*a,u=w(t)*a,l=w(e),c=l*n+s*r;return[p(u*o-c*i,s*n-l*r),T(c*o+u*i)]}return a.invert=function(t,e){var a=g(e),s=g(t)*a,u=w(t)*a,l=w(e),c=l*o-u*i;return[p(u*o+l*i,s*n+c*r),T(c*n-s*r)]},a}ee.invert=ee;var ae=function(t){function e(e){return e=t(e[0]*h,e[1]*h),e[0]*=f,e[1]*=f,e}return t=ne(t[0]*h,t[1]*h,t.length>2?t[2]*h:0),e.invert=function(e){return e=t.invert(e[0]*h,e[1]*h),e[0]*=f,e[1]*=f,e},e};function se(t,e,n,r,o,i){if(n){var a=g(e),s=w(e),u=r*n;null==o?(o=e+r*d,i=e-u/2):(o=ue(a,o),i=ue(a,i),(r>0?oi)&&(o+=r*d));for(var l,c=o;r>0?c>i:c1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},de=function(t,e,n,r,o,i){var a,s=t[0],u=t[1],l=e[0],c=e[1],d=0,f=1,h=l-s,_=c-u;if(a=n-s,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-s,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>d&&(d=a)}else if(h>0){if(a0)){if(a/=_,_<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=i-u,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a0&&(t[0]=s+d*h,t[1]=u+d*_),f<1&&(e[0]=s+f*h,e[1]=u+f*_),!0}}}}},fe=function(t,e){return _(t[0]-e[0])=0;--i)o.point((c=l[i])[0],c[1]);else r(f.x,f.p.x,-1,o);f=f.p}f=f.o,l=f.z,h=!h}while(!f.v);o.lineEnd()}}};function ve(t){if(e=t.length){var e,n,r=0,o=t[0];while(++r0)do{s.point(0===l||3===l?t:r,l>1?o:n)}while((l=(l+a+4)%4)!==d);else s.point(i[0],i[1])}function u(e,o){return _(e[0]-t)0?0:3:_(e[0]-r)0?2:1:_(e[1]-n)0?1:0:o>0?3:2}function l(t,e){return c(t.x,e.x)}function c(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var u,c,d,f,h,_,v,p,g,m,y,b=a,j=ce(),w={point:x,lineStart:T,lineEnd:k,polygonStart:M,polygonEnd:S};function x(t,e){i(t,e)&&b.point(t,e)}function E(){for(var e=0,n=0,r=c.length;no&&(f-i)*(o-a)>(h-a)*(t-i)&&++e:h<=o&&(f-i)*(o-a)<(h-a)*(t-i)&&--e;return e}function M(){b=j,u=[],c=[],y=!0}function S(){var t=E(),n=y&&t,r=(u=e.merge(u)).length;(n||r)&&(a.polygonStart(),n&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),r&&_e(u,l,t,s,a),a.polygonEnd()),b=a,u=c=d=null}function T(){w.point=P,c&&c.push(d=[]),m=!0,g=!1,v=p=NaN}function k(){u&&(P(f,h),_&&g&&j.rejoin(),u.push(j.result())),w.point=x,g&&b.lineEnd()}function P(e,a){var s=i(e,a);if(c&&d.push([e,a]),m)f=e,h=a,_=s,m=!1,s&&(b.lineStart(),b.point(e,a));else if(s&&g)b.point(e,a);else{var u=[v=Math.max(ge,Math.min(pe,v)),p=Math.max(ge,Math.min(pe,p))],l=[e=Math.max(ge,Math.min(pe,e)),a=Math.max(ge,Math.min(pe,a))];de(u,l,t,n,r,o)?(g||(b.lineStart(),b.point(u[0],u[1])),b.point(l[0],l[1]),s||b.lineEnd(),y=!1):s&&(b.lineStart(),b.point(e,a),y=!1)}v=e,p=a,g=s}return w}}var ye,be,je,we=function(){var t,e,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return t&&e===n?t:t=me(r,o,i,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],i=+s[1][0],a=+s[1][1],t=e=null,n):[[r,o],[i,a]]}}},xe=n(),Ee=function(t,e){var n=e[0],r=e[1],o=[w(n),-g(n),0],i=0,s=0;xe.reset();for(var l=0,f=t.length;l=0?1:-1,A=C*O,N=A>u,I=b*k;if(xe.add(p(I*C*w(A),j*P+I*g(A))),i+=N?O+C*d:O,N^m>=n^M>=n){var R=at(ot(v),ot(E));lt(R);var D=at(o,R);lt(D);var L=(N^O>=0?-1:1)*T(D[2]);(r>L||r===L&&(R[0]||R[1]))&&(s+=N^O>=0?1:-1)}}return(i<-a||ia})).map(c)).concat(e.range(m(s/p)*p,i,p).filter((function(t){return _(t%y)>a})).map(d))}return j.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},j.outline=function(){return{type:"Polygon",coordinates:[f(o).concat(h(u).slice(1),f(r).reverse().slice(1),h(l).reverse().slice(1))]}},j.extent=function(t){return arguments.length?j.extentMajor(t).extentMinor(t):j.extentMinor()},j.extentMajor=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],l=+t[0][1],u=+t[1][1],o>r&&(t=o,o=r,r=t),l>u&&(t=l,l=u,u=t),j.precision(b)):[[o,l],[r,u]]},j.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),s>i&&(e=s,s=i,i=e),j.precision(b)):[[n,s],[t,i]]},j.step=function(t){return arguments.length?j.stepMajor(t).stepMinor(t):j.stepMinor()},j.stepMajor=function(t){return arguments.length?(g=+t[0],y=+t[1],j):[g,y]},j.stepMinor=function(t){return arguments.length?(v=+t[0],p=+t[1],j):[v,p]},j.precision=function(e){return arguments.length?(b=+e,c=He(s,i,90),d=Ue(n,t,b),f=He(l,u,90),h=Ue(o,r,b),j):b},j.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}function Ke(){return We()()}var Ye,Je,Xe,$e,Qe=function(t,e){var n=t[0]*h,r=t[1]*h,o=e[0]*h,i=e[1]*h,a=g(r),s=w(r),u=g(i),l=w(i),c=a*g(n),d=a*w(n),_=u*g(o),v=u*w(o),m=2*T(E(k(i-r)+a*u*k(o-n))),y=w(m),b=m?function(t){var e=w(t*=m)/y,n=w(m-t)/y,r=n*c+e*_,o=n*d+e*v,i=n*s+e*l;return[p(o,r)*f,p(i,E(r*r+o*o))*f]}:function(){return[n*f,r*f]};return b.distance=m,b},Ze=function(t){return t},tn=n(),en=n(),nn={point:P,lineStart:P,lineEnd:P,polygonStart:function(){nn.lineStart=rn,nn.lineEnd=sn},polygonEnd:function(){nn.lineStart=nn.lineEnd=nn.point=P,tn.add(_(en)),en.reset()},result:function(){var t=tn/2;return tn.reset(),t}};function rn(){nn.point=on}function on(t,e){nn.point=an,Ye=Xe=t,Je=$e=e}function an(t,e){en.add($e*t-Xe*e),Xe=t,$e=e}function sn(){an(Ye,Je)}var un=1/0,ln=un,cn=-un,dn=cn,fn={point:hn,lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P,result:function(){var t=[[un,ln],[cn,dn]];return cn=dn=-(ln=un=1/0),t}};function hn(t,e){tcn&&(cn=t),edn&&(dn=e)}var _n,vn,pn,gn,mn=0,yn=0,bn=0,jn=0,wn=0,xn=0,En=0,Mn=0,Sn=0,Tn={point:kn,lineStart:Pn,lineEnd:An,polygonStart:function(){Tn.lineStart=Nn,Tn.lineEnd=In},polygonEnd:function(){Tn.point=kn,Tn.lineStart=Pn,Tn.lineEnd=An},result:function(){var t=Sn?[En/Sn,Mn/Sn]:xn?[jn/xn,wn/xn]:bn?[mn/bn,yn/bn]:[NaN,NaN];return mn=yn=bn=jn=wn=xn=En=Mn=Sn=0,t}};function kn(t,e){mn+=t,yn+=e,++bn}function Pn(){Tn.point=On}function On(t,e){Tn.point=Cn,kn(pn=t,gn=e)}function Cn(t,e){var n=t-pn,r=e-gn,o=E(n*n+r*r);jn+=o*(pn+t)/2,wn+=o*(gn+e)/2,xn+=o,kn(pn=t,gn=e)}function An(){Tn.point=kn}function Nn(){Tn.point=Rn}function In(){Dn(_n,vn)}function Rn(t,e){Tn.point=Dn,kn(_n=pn=t,vn=gn=e)}function Dn(t,e){var n=t-pn,r=e-gn,o=E(n*n+r*r);jn+=o*(pn+t)/2,wn+=o*(gn+e)/2,xn+=o,o=gn*t-pn*e,En+=o*(pn+t),Mn+=o*(gn+e),Sn+=3*o,kn(pn=t,gn=e)}function Ln(t){this._context=t}Ln.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,d);break}},result:P};var qn,Bn,zn,Fn,Gn,Vn=n(),Hn={point:P,lineStart:function(){Hn.point=Un},lineEnd:function(){qn&&Wn(Bn,zn),Hn.point=P},polygonStart:function(){qn=!0},polygonEnd:function(){qn=null},result:function(){var t=+Vn;return Vn.reset(),t}};function Un(t,e){Hn.point=Wn,Bn=Fn=t,zn=Gn=e}function Wn(t,e){Fn-=t,Gn-=e,Vn.add(E(Fn*Fn+Gn*Gn)),Fn=t,Gn=e}function Kn(){this._string=[]}function Yn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Kn.prototype={_radius:4.5,_circle:Yn(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Yn(this._radius)),this._string.push("M",t,",",e,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Jn=function(t,e){var n,r,o=4.5;function i(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),z(t,n(r))),r.result()}return i.area=function(t){return z(t,n(nn)),nn.result()},i.measure=function(t){return z(t,n(Hn)),Hn.result()},i.bounds=function(t){return z(t,n(fn)),fn.result()},i.centroid=function(t){return z(t,n(Tn)),Tn.result()},i.projection=function(e){return arguments.length?(n=null==e?(t=null,Ze):(t=e).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(e=null,new Kn):new Ln(e=t),"function"!==typeof o&&r.pointRadius(o),i):e},i.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(e)},Xn=function(t,n,r,o){return function(i,a){var s,u,l,c=n(a),d=i.invert(o[0],o[1]),f=ce(),h=n(f),_=!1,v={point:p,lineStart:m,lineEnd:y,polygonStart:function(){v.point=b,v.lineStart=j,v.lineEnd=w,u=[],s=[]},polygonEnd:function(){v.point=p,v.lineStart=m,v.lineEnd=y,u=e.merge(u);var t=Ee(s,d);u.length?(_||(a.polygonStart(),_=!0),_e(u,Qn,t,r,a)):t&&(_||(a.polygonStart(),_=!0),a.lineStart(),r(null,null,1,a),a.lineEnd()),_&&(a.polygonEnd(),_=!1),u=s=null},sphere:function(){a.polygonStart(),a.lineStart(),r(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function p(e,n){var r=i(e,n);t(e=r[0],n=r[1])&&a.point(e,n)}function g(t,e){var n=i(t,e);c.point(n[0],n[1])}function m(){v.point=g,c.lineStart()}function y(){v.point=p,c.lineEnd()}function b(t,e){l.push([t,e]);var n=i(t,e);h.point(n[0],n[1])}function j(){h.lineStart(),l=[]}function w(){b(l[0][0],l[0][1]),h.lineEnd();var t,e,n,r,o=h.clean(),i=f.result(),c=i.length;if(l.pop(),s.push(l),l=null,c)if(1&o){if(n=i[0],(e=n.length-1)>0){for(_||(a.polygonStart(),_=!0),a.lineStart(),t=0;t1&&2&o&&i.push(i.pop().concat(i.shift())),u.push(i.filter($n))}return v}};function $n(t){return t.length>1}function Qn(t,e){return((t=t.x)[0]<0?t[1]-l-a:l-t[1])-((e=e.x)[0]<0?e[1]-l-a:l-e[1])}var Zn=Xn((function(){return!0}),tr,nr,[-u,-l]);function tr(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,s){var c=i>0?u:-u,d=_(i-n);_(d-u)0?l:-l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(i,r),e=0):o!==c&&d>=u&&(_(n-o)a?v((w(e)*(i=g(r))*w(n)-w(r)*(o=g(e))*w(t))/(o*i*s)):(e+r)/2}function nr(t,e,n,r){var o;if(null==t)o=n*l,r.point(-u,o),r.point(0,o),r.point(u,o),r.point(u,0),r.point(u,-o),r.point(0,-o),r.point(-u,-o),r.point(-u,0),r.point(-u,o);else if(_(t[0]-e[0])>a){var i=t[0]0,o=_(n)>a;function i(n,r,o,i){se(i,t,e,o,n,r)}function s(t,e){return g(t)*g(e)>n}function l(t){var e,n,i,l,f;return{lineStart:function(){l=i=!1,f=1},point:function(h,_){var v,p=[h,_],g=s(h,_),m=r?g?0:d(h,_):g?d(h+(h<0?u:-u),_):0;if(!e&&(l=i=g)&&t.lineStart(),g!==i&&(v=c(e,p),(!v||fe(e,v)||fe(p,v))&&(p[0]+=a,p[1]+=a,g=s(p[0],p[1]))),g!==i)f=0,g?(t.lineStart(),v=c(p,e),t.point(v[0],v[1])):(v=c(e,p),t.point(v[0],v[1]),t.lineEnd()),e=v;else if(o&&e&&r^g){var y;m&n||!(y=c(p,e,!0))||(f=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||e&&fe(e,p)||t.point(p[0],p[1]),e=p,i=g,n=m},lineEnd:function(){i&&t.lineEnd(),e=null},clean:function(){return f|(l&&i)<<1}}}function c(t,e,r){var o=ot(t),i=ot(e),s=[1,0,0],l=at(o,i),c=it(l,l),d=l[0],f=c-d*d;if(!f)return!r&&t;var h=n*c/f,v=-n*d/f,p=at(s,l),g=ut(s,h),m=ut(l,v);st(g,m);var y=p,b=it(g,y),j=it(y,y),w=b*b-j*(it(g,g)-1);if(!(w<0)){var x=E(w),M=ut(y,(-b-x)/j);if(st(M,g),M=rt(M),!r)return M;var S,T=t[0],k=e[0],P=t[1],O=e[1];k0^M[1]<(_(M[0]-T)u^(T<=M[0]&&M[0]<=k)){var I=ut(y,(-b+x)/j);return st(I,g),[M,rt(I)]}}}function d(e,n){var o=r?t:u-t,i=0;return e<-o?i|=1:e>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return Xn(s,l,i,r?[0,-t]:[-u,t-u])},or=function(t){return{stream:ir(t)}};function ir(t){return function(e){var n=new ar;for(var r in t)n[r]=t[r];return n.stream=e,n}}function ar(){}function sr(t,e,n){var r=e[1][0]-e[0][0],o=e[1][1]-e[0][1],i=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=i&&t.clipExtent(null),z(n,t.stream(fn));var a=fn.result(),s=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),u=+e[0][0]+(r-s*(a[1][0]+a[0][0]))/2,l=+e[0][1]+(o-s*(a[1][1]+a[0][1]))/2;return null!=i&&t.clipExtent(i),t.scale(150*s).translate([u,l])}function ur(t,e,n){return sr(t,[[0,0],e],n)}ar.prototype={constructor:ar,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var lr=16,cr=g(30*h),dr=function(t,e){return+e?hr(t,e):fr(t)};function fr(t){return ir({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}function hr(t,e){function n(r,o,i,s,u,l,c,d,f,h,v,g,m,y){var b=c-r,j=d-o,w=b*b+j*j;if(w>4*e&&m--){var x=s+h,M=u+v,S=l+g,k=E(x*x+M*M+S*S),P=T(S/=k),O=_(_(S)-1)e||_((b*I+j*R)/w-.5)>.3||s*h+u*v+l*g2?t[2]%360*h:0,C()):[m*f,y*f,b*f]},k.precision=function(t){return arguments.length?(T=dr(O,S=t*t),A()):E(S)},k.fitExtent=function(t,e){return sr(k,t,e)},k.fitSize=function(t,e){return ur(k,t,e)},function(){return e=t.apply(this,arguments),k.invert=e.invert&&P,C()}}function gr(t){var e=0,n=u/3,r=pr(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*h,n=t[1]*h):[e*f,n*f]},o}function mr(t){var e=g(t);function n(t,n){return[t*e,w(n)/e]}return n.invert=function(t,n){return[t/e,T(n*e)]},n}function yr(t,e){var n=w(t),r=(n+w(e))/2;if(_(r)=.12&&o<.234&&r>=-.425&&r<-.214?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:s).invert(t)},d.stream=function(n){return t&&e===n?t:t=wr([s.stream(e=n),u.stream(n),l.stream(n)])},d.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),f()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),i=+t[0],d=+t[1];return n=s.translate(t).clipExtent([[i-.455*e,d-.238*e],[i+.455*e,d+.238*e]]).stream(c),r=u.translate([i-.307*e,d+.201*e]).clipExtent([[i-.425*e+a,d+.12*e+a],[i-.214*e-a,d+.234*e-a]]).stream(c),o=l.translate([i-.205*e,d+.212*e]).clipExtent([[i-.214*e+a,d+.166*e+a],[i-.115*e-a,d+.234*e-a]]).stream(c),f()},d.fitExtent=function(t,e){return sr(d,t,e)},d.fitSize=function(t,e){return ur(d,t,e)},d.scale(1070)};function Er(t){return function(e,n){var r=g(e),o=g(n),i=t(r*o);return[i*o*w(e),i*w(n)]}}function Mr(t){return function(e,n){var r=E(e*e+n*n),o=t(r),i=w(o),a=g(o);return[p(e*i,r*a),T(r&&n*i/r)]}}var Sr=Er((function(t){return E(2/(1+t))}));Sr.invert=Mr((function(t){return 2*T(t/2)}));var Tr=function(){return vr(Sr).scale(124.75).clipAngle(179.999)},kr=Er((function(t){return(t=S(t))&&t/w(t)}));kr.invert=Mr((function(t){return t}));var Pr=function(){return vr(kr).scale(79.4188).clipAngle(179.999)};function Or(t,e){return[t,b(M((l+e)/2))]}Or.invert=function(t,e){return[t,2*v(y(e))-l]};var Cr=function(){return Ar(Or).scale(961/d)};function Ar(t){var e,n,r,o=vr(t),i=o.center,a=o.scale,s=o.translate,l=o.clipExtent,c=null;function d(){var i=u*a(),s=o(ae(o.rotate()).invert([0,0]));return l(null==c?[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]:t===Or?[[Math.max(s[0]-i,c),e],[Math.min(s[0]+i,n),r]]:[[c,Math.max(s[1]-i,e)],[n,Math.min(s[1]+i,r)]])}return o.scale=function(t){return arguments.length?(a(t),d()):a()},o.translate=function(t){return arguments.length?(s(t),d()):s()},o.center=function(t){return arguments.length?(i(t),d()):i()},o.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,e],[n,r]]},d()}function Nr(t){return M((l+t)/2)}function Ir(t,e){var n=g(t),r=t===e?w(t):b(n/g(e))/b(Nr(e)/Nr(t)),o=n*j(Nr(t),r)/r;if(!r)return Or;function i(t,e){o>0?e<-l+a&&(e=-l+a):e>l-a&&(e=l-a);var n=o/j(Nr(e),r);return[n*w(r*t),o-n*g(r*t)]}return i.invert=function(t,e){var n=o-e,i=x(r)*E(t*t+n*n);return[p(t,_(n))/r*x(n),2*v(j(o/i,1/r))-l]},i}var Rr=function(){return gr(Ir).scale(109.5).parallels([30,30])};function Dr(t,e){return[t,e]}Dr.invert=Dr;var Lr=function(){return vr(Dr).scale(152.63)};function qr(t,e){var n=g(t),r=t===e?w(t):(n-g(e))/(e-t),o=n/r+t;if(_(r)2?t[2]+90:90]):(t=n(),[t[0],t[1],t[2]-90])},n([0,0,90]).scale(159.155)};t.geoArea=nt,t.geoBounds=zt,t.geoCentroid=Qt,t.geoCircle=le,t.geoClipExtent=we,t.geoContains=Ve,t.geoDistance=Ie,t.geoGraticule=We,t.geoGraticule10=Ke,t.geoInterpolate=Qe,t.geoLength=Ce,t.geoPath=Jn,t.geoAlbers=jr,t.geoAlbersUsa=xr,t.geoAzimuthalEqualArea=Tr,t.geoAzimuthalEqualAreaRaw=Sr,t.geoAzimuthalEquidistant=Pr,t.geoAzimuthalEquidistantRaw=kr,t.geoConicConformal=Rr,t.geoConicConformalRaw=Ir,t.geoConicEqualArea=br,t.geoConicEqualAreaRaw=yr,t.geoConicEquidistant=Br,t.geoConicEquidistantRaw=qr,t.geoEquirectangular=Lr,t.geoEquirectangularRaw=Dr,t.geoGnomonic=Fr,t.geoGnomonicRaw=zr,t.geoIdentity=Vr,t.geoProjection=vr,t.geoProjectionMutator=pr,t.geoMercator=Cr,t.geoMercatorRaw=Or,t.geoOrthographic=Ur,t.geoOrthographicRaw=Hr,t.geoStereographic=Kr,t.geoStereographicRaw=Wr,t.geoTransverseMercator=Jr,t.geoTransverseMercatorRaw=Yr,t.geoRotation=ae,t.geoStream=z,t.geoTransform=or,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-hexjson@1.1.0@d3-hexjson/build/d3-hexjson.js": /*!***********************************************************************!*\ !*** ./node_modules/_d3-hexjson@1.1.0@d3-hexjson/build/d3-hexjson.js ***! \***********************************************************************/ /*! no static exports found */function(t,e,n){(function(t,r){r(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(t,e){"use strict";function n(t,n,s){var u=t.layout,l=[],c=0;Object.keys(t.hexes).forEach((function(e){t.hexes[e].key=e,l.push(t.hexes[e])}));var d=e.max(l,(function(t){return+t.q})),f=e.min(l,(function(t){return+t.q})),h=e.max(l,(function(t){return+t.r})),_=e.min(l,(function(t){return+t.r})),v=d-f+1,p=h-_+1;c="odd-r"===u||"even-r"===u?e.min([n/((v+.5)*Math.sqrt(3)),s/(1.5*(p+1/3))]):e.min([s/((p+.5)*Math.sqrt(3)),n/(1.5*(v+1/3))]);var g=c*Math.sqrt(3),m=i(u,g,c),y=a(m);return l.forEach((function(t){t.qc=t.q-f,t.rc=h-t.r,t.x=r(t,u,g,c),t.y=o(t,u,g,c),t.vertices=m,t.points=y})),l}function r(t,e,n,r){var o=0,i=0;switch(e){case"odd-r":i=t.rc%2===1?n:n/2,o=t.qc*n+i;break;case"even-r":i=t.rc%2===0?n:n/2,o=t.qc*n+i;break;case"odd-q":case"even-q":o=t.qc*r*1.5+r;break}return o}function o(t,e,n,r){var o=0,i=0;switch(e){case"odd-r":case"even-r":o=t.rc*r*1.5+r;break;case"odd-q":i=t.qc%2===1?n:n/2,o=t.rc*n+i;break;case"even-q":i=t.qc%2===0?n:n/2,o=t.rc*n+i;break}return o}function i(t,e,n){var r=[];switch(t){case"odd-r":case"even-r":r.push({x:0,y:0-n}),r.push({x:0+.5*e,y:0-.5*n}),r.push({x:0+.5*e,y:0+.5*n}),r.push({x:0,y:0+n}),r.push({x:0-.5*e,y:0+.5*n}),r.push({x:0-.5*e,y:0-.5*n});break;case"odd-q":case"even-q":r.push({x:0-n,y:0}),r.push({x:0-.5*n,y:0-.5*e}),r.push({x:0+.5*n,y:0-.5*e}),r.push({x:0+n,y:0}),r.push({x:0+.5*n,y:0+.5*e}),r.push({x:0-.5*n,y:0+.5*e});break}return r}function a(t){var e="";return t.forEach((function(t){e+=t.x+","+t.y+" "})),e.substring(0,e.length-1)}function s(t){var n={};n.layout=t.layout,n.hexes={};var r=[];Object.keys(t.hexes).forEach((function(e){r.push(t.hexes[e])}));var o,i,a,s=e.max(r,(function(t){return+t.q})),u=e.min(r,(function(t){return+t.q})),l=e.max(r,(function(t){return+t.r})),c=e.min(r,(function(t){return+t.r}));for(o=u;o<=s;o++)for(i=c;i<=l;i++)a="Q"+o+"R"+i,n.hexes[a]={q:o,r:i};return n}function u(t,n,i,a){var s=[],u=t.layout;Object.keys(t.hexes).forEach((function(e){s.push(t.hexes[e])}));var l,c=e.max(s,(function(t){return+t.q})),d=e.min(s,(function(t){return+t.q})),f=e.max(s,(function(t){return+t.r})),h=e.min(s,(function(t){return+t.r})),_=c-d+1,v=f-h+1;l="odd-r"===u||"even-r"===u?e.min([n/((_+.5)*Math.sqrt(3)),i/(1.5*(v+1/3))]):e.min([i/((v+.5)*Math.sqrt(3)),n/(1.5*(_+1/3))]);var p=l*Math.sqrt(3),g=[],m=l*l*4,y=s.length;if(y>1){s.forEach((function(t){t.qc=t.q-d,t.rc=f-t.r,t.x=r(t,u,p,l),t.y=o(t,u,p,l)}));for(var b=0;b1){s.forEach((function(t){t.qc=t.q-d,t.rc=f-t.r,t.x=r(t,u,p,l),t.y=o(t,u,p,l)}));for(var b=0;b=0)e+=n[r].value;else e=1;t.value=e}function c(){return this.eachAfter(l)}function d(t){var e,n,r,o,i=this,a=[i];do{e=a.reverse(),a=[];while(i=e.pop())if(t(i),n=i.children,n)for(r=0,o=n.length;r=0;--n)o.push(e[n]);return this}function h(t){var e,n,r,o=this,i=[o],a=[];while(o=i.pop())if(a.push(o),e=o.children,e)for(n=0,r=e.length;n=0)n+=r[o].value;e.value=n}))}function v(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))}function p(t){var e=this,n=g(e,t),r=[e];while(e!==n)e=e.parent,r.push(e);var o=r.length;while(t!==n)r.splice(o,0,t),t=t.parent;return r}function g(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),o=null;t=n.pop(),e=r.pop();while(t===e)o=t,t=n.pop(),e=r.pop();return o}function m(){var t=this,e=[t];while(t=t.parent)e.push(t);return e}function y(){var t=[];return this.each((function(e){t.push(e)})),t}function b(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t}function j(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e}function w(t,e){var n,r,o,i,a,s=new T(t),u=+t.value&&(s.value=t.value),l=[s];null==e&&(e=E);while(n=l.pop())if(u&&(n.value=+n.data.value),(o=e(n.data))&&(a=o.length))for(n.children=new Array(a),i=a-1;i>=0;--i)l.push(r=n.children[i]=new T(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(S)}function x(){return w(this).eachBefore(M)}function E(t){return t.children}function M(t){t.data=t.data.data}function S(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function T(t){this.data=t,this.depth=this.height=0,this.parent=null}T.prototype=w.prototype={constructor:T,count:c,each:d,eachAfter:h,eachBefore:f,sum:_,sort:v,path:p,ancestors:m,descendants:y,leaves:b,links:j,copy:x};var k=Array.prototype.slice;function P(t){var e,n,r=t.length;while(r)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}function O(t){var e,n,r=0,o=(t=P(k.call(t))).length,i=[];while(r0&&n*n>r*r+o*o}function I(t,e){for(var n=0;na?(r=(l+a-o)/(2*l),i=Math.sqrt(Math.max(0,a/l-r*r)),n.x=t.x-r*s-i*u,n.y=t.y-r*u+i*s):(r=(l+o-a)/(2*l),i=Math.sqrt(Math.max(0,o/l-r*r)),n.x=e.x+r*s-i*u,n.y=e.y+r*u+i*s)):(n.x=e.x+n.r,n.y=e.y)}function z(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,o=e.y-t.y;return n>0&&n*n>r*r+o*o}function F(t){var e=t._,n=t.next._,r=e.r+n.r,o=(e.x*n.r+n.x*e.r)/r,i=(e.y*n.r+n.y*e.r)/r;return o*o+i*i}function G(t){this._=t,this.next=null,this.previous=null}function V(t){if(!(o=t.length))return 0;var e,n,r,o,i,a,s,u,l,c,d;if(e=t[0],e.x=0,e.y=0,!(o>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(o>2))return e.r+n.r;B(n,e,r=t[2]),e=new G(e),n=new G(n),r=new G(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s0)throw new Error("cycle");return i}return n.id=function(e){return arguments.length?(t=W(e),n):t},n.parentId=function(t){return arguments.length?(e=W(t),n):e},n}function lt(t,e){return t.parent===e.parent?1:2}function ct(t){var e=t.children;return e?e[0]:t.t}function dt(t){var e=t.children;return e?e[e.length-1]:t.t}function ft(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function ht(t){var e,n=0,r=0,o=t.children,i=o.length;while(--i>=0)e=o[i],e.z+=n,e.m+=n,n+=e.s+(r+=e.c)}function _t(t,e,n){return t.a.parent===e.parent?t.a:n}function vt(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function pt(t){var e,n,r,o,i,a=new vt(t,0),s=[a];while(e=s.pop())if(r=e._.children)for(e.children=new Array(i=r.length),o=i-1;o>=0;--o)s.push(n=e.children[o]=new vt(r[o],o)),n.parent=e;return(a.parent=new vt(null,0)).children=[a],a}function gt(){var t=lt,e=1,n=1,r=null;function o(o){var s=pt(o);if(s.eachAfter(i),s.parent.m=-s.z,s.eachBefore(a),r)o.eachBefore(u);else{var l=o,c=o,d=o;o.eachBefore((function(t){t.xc.x&&(c=t),t.depth>d.depth&&(d=t)}));var f=l===c?1:t(l,c)/2,h=f-l.x,_=e/(c.x+f+h),v=n/(d.depth||1);o.eachBefore((function(t){t.x=(t.x+h)*_,t.y=t.depth*v}))}return o}function i(e){var n=e.children,r=e.parent.children,o=e.i?r[e.i-1]:null;if(n){ht(e);var i=(n[0].z+n[n.length-1].z)/2;o?(e.z=o.z+t(e._,o._),e.m=e.z-i):e.z=i}else o&&(e.z=o.z+t(e._,o._));e.parent.A=s(e,o,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(e,n,r){if(n){var o,i=e,a=e,s=n,u=i.parent.children[0],l=i.m,c=a.m,d=s.m,f=u.m;while(s=dt(s),i=ct(i),s&&i)u=ct(u),a=dt(a),a.a=e,o=s.z+d-i.z-l+t(s._,i._),o>0&&(ft(_t(s,e,r),e,o),l+=o,c+=o),d+=s.m,l+=i.m,f+=u.m,c+=a.m;s&&!dt(a)&&(a.t=s,a.m+=d-c),i&&!ct(u)&&(u.t=i,u.m+=l-f,r=e)}return r}function u(t){t.x*=e,t.y=t.depth*n}return o.separation=function(e){return arguments.length?(t=e,o):t},o.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],o):r?null:[e,n]},o.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],o):r?[e,n]:null},o}function mt(t,e,n,r,o){var i,a=t.children,s=-1,u=a.length,l=t.value&&(o-n)/t.value;while(++sf&&(f=s),p=c*c*v,h=Math.max(f/p,p/d),h>_){c-=s;break}_=h}g.push(a={value:c,dice:u1?e:1)},n}(yt);function wt(){var t=jt,e=!1,n=1,r=1,o=[0],i=K,a=K,s=K,u=K,l=K;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(d),o=[0],e&&t.eachBefore(tt),t}function d(e){var n=o[e.depth],r=e.x0+n,c=e.y0+n,d=e.x1-n,f=e.y1-n;d=e-1){var u=s[t];return u.x0=r,u.y0=o,u.x1=i,void(u.y1=a)}var d=l[t],f=n/2+d,h=t+1,_=e-1;while(h<_){var v=h+_>>>1;l[v]a-o){var m=(r*g+i*p)/n;c(t,h,p,r,o,m,a),c(h,e,g,m,o,i,a)}else{var y=(o*g+a*p)/n;c(t,h,p,r,o,i,y),c(h,e,g,r,y,i,a)}}c(0,u,t.value,e,n,r,o)}function Et(t,e,n,r,o){(1&t.depth?mt:et)(t,e,n,r,o)}var Mt=function t(e){function n(t,n,r,o,i){if((a=t._squarify)&&a.ratio===e){var a,s,u,l,c,d=-1,f=a.length,h=t.value;while(++d1?e:1)},n}(yt);t.cluster=u,t.hierarchy=w,t.pack=X,t.packEnclose=O,t.packSiblings=H,t.partition=nt,t.stratify=ut,t.tree=gt,t.treemap=wt,t.treemapBinary=xt,t.treemapDice=et,t.treemapResquarify=Mt,t.treemapSlice=mt,t.treemapSliceDice=Et,t.treemapSquarify=jt,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js": /*!*************************************************************!*\ !*** ./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){(function(t,n){n(e)})(0,(function(t){"use strict";var e=Math.PI,n=2*e,r=1e-6,o=n-r;function i(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function a(){return new i}i.prototype=a.prototype={constructor:i,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,o,i){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,n,o,i,a){t=+t,n=+n,o=+o,i=+i,a=+a;var s=this._x1,u=this._y1,l=o-t,c=i-n,d=s-t,f=u-n,h=d*d+f*f;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(h>r)if(Math.abs(f*l-c*d)>r&&a){var _=o-s,v=i-u,p=l*l+c*c,g=_*_+v*v,m=Math.sqrt(p),y=Math.sqrt(h),b=a*Math.tan((e-Math.acos((p+h-g)/(2*m*y)))/2),j=b/y,w=b/m;Math.abs(j-1)>r&&(this._+="L"+(t+j*d)+","+(n+j*f)),this._+="A"+a+","+a+",0,0,"+ +(f*_>d*v)+","+(this._x1=t+w*l)+","+(this._y1=n+w*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,i,a,s,u,l){t=+t,i=+i,a=+a,l=!!l;var c=a*Math.cos(s),d=a*Math.sin(s),f=t+c,h=i+d,_=1^l,v=l?s-u:u-s;if(a<0)throw new Error("negative radius: "+a);null===this._x1?this._+="M"+f+","+h:(Math.abs(this._x1-f)>r||Math.abs(this._y1-h)>r)&&(this._+="L"+f+","+h),a&&(v<0&&(v=v%n+n),v>o?this._+="A"+a+","+a+",0,1,"+_+","+(t-c)+","+(i-d)+"A"+a+","+a+",0,1,"+_+","+(this._x1=f)+","+(this._y1=h):v>r&&(this._+="A"+a+","+a+",0,"+ +(v>=e)+","+_+","+(this._x1=t+a*Math.cos(u))+","+(this._y1=i+a*Math.sin(u))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.path=a,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js": /*!*******************************************************************!*\ !*** ./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js ***! \*******************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js");(function(t,r){r(e,n(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"),n(/*! d3-collection */"./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js"),n(/*! d3-shape */"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js"))})(0,(function(t,e,n,o){"use strict";function i(t){return t.target.depth}function a(t){return t.depth}function s(t,e){return e-1-t.height}function u(t,e){return t.sourceLinks.length?t.depth:e-1}function l(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,i)-1:0}function c(t){return function(){return t}}function d(t,e){return h(t.source,e.source)||t.index-e.index}function f(t,e){return h(t.target,e.target)||t.index-e.index}function h(t,e){return t.y0-e.y0}function _(t){return t.value}function v(t){return t.index}function p(t){return t.nodes}function g(t){return t.links}function m(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function y(){var t,o=0,i=0,a=1,s=1,l=24,y=8,b=v,j=u,w=p,x=g,E=6;function M(){var t={nodes:w.apply(null,arguments),links:x.apply(null,arguments)};return S(t),T(t),k(t),P(t),O(t),t}function S(t){t.nodes.forEach((function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]}));var e=n.map(t.nodes,b);t.links.forEach((function(t,n){t.index=n;var r=t.source,o=t.target;"object"!==typeof r&&(r=t.source=m(e,r)),"object"!==typeof o&&(o=t.target=m(e,o)),r.sourceLinks.push(t),o.targetLinks.push(t)}))}function T(t){t.nodes.forEach((function(t){t.value=Math.max(e.sum(t.sourceLinks,_),e.sum(t.targetLinks,_))}))}function k(t){var e,n,r,i=t.nodes.length;for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[]){if(r>i)throw new Error("circular link");e.forEach((function(t){t.depth=r,t.sourceLinks.forEach((function(t){n.indexOf(t.target)<0&&n.push(t.target)}))}))}for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[]){if(r>i)throw new Error("circular link");e.forEach((function(t){t.height=r,t.targetLinks.forEach((function(t){n.indexOf(t.source)<0&&n.push(t.source)}))}))}var s=(a-o-l)/(r-1);t.nodes.forEach((function(t){t.x1=(t.x0=o+Math.max(0,Math.min(r-1,Math.floor(j.call(null,t,r))))*s)+l}))}function P(o){var a=n.nest().key((function(t){return t.x0})).sortKeys(e.ascending).entries(o.nodes).map((function(t){return t.values}));c(),g();for(var u=.9,l=E;l>0;--l,u*=.9)p(u),g(),v(u),g();function c(){var n=e.min(a,(function(t){return(s-i-(t.length-1)*y)/e.sum(t,_)}));a.forEach((function(e){null!=t&&e.sort(t),e.forEach((function(t,e){t.y1=(t.y0=e)+t.value*n}))})),o.links.forEach((function(t){t.width=t.value*n}))}function v(t){a.forEach((function(e){e.forEach((function(e){var n,o,i,a,s=e.y0;try{for(var u=r.__values(e.sourceLinks.sort(f)),l=u.next();!l.done;l=u.next()){var c=l.value,d=c.target,h=c.width,_=c.value;if(_>0){var v=0;try{for(var p=(i=void 0,r.__values(d.targetLinks)),g=p.next();!g.done;g=p.next()){var m=g.value,b=m.source,j=m.width;if(b===e)break;v+=j+y/2}}catch(w){i={error:w}}finally{try{g&&!g.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}v=(s-v-d.y0)*t*(_/Math.min(e.value,d.value)),d.y0+=v,d.y1+=v}s+=h+y/2}}catch(x){n={error:x}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}}))}))}function p(t){a.slice().reverse().forEach((function(e){e.forEach((function(e){var n,o,i,a,s=e.y0;try{for(var u=r.__values(e.targetLinks.sort(d)),l=u.next();!l.done;l=u.next()){var c=l.value,f=c.source,h=c.width,_=c.value;if(_>0){var v=0;try{for(var p=(i=void 0,r.__values(f.sourceLinks)),g=p.next();!g.done;g=p.next()){var m=g.value,b=m.target,j=m.width;if(b===e)break;v+=j+y/2}}catch(w){i={error:w}}finally{try{g&&!g.done&&(a=p.return)&&a.call(p)}finally{if(i)throw i.error}}v=(s-v-f.y0)*t*(_/Math.min(e.value,f.value)),f.y0+=v,f.y1+=v}s+=h+y/2}}catch(x){n={error:x}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}}))}))}function g(){a.forEach((function(e){var n,r,o,a=i,u=e.length;for(void 0===t&&e.sort(h),o=0;o0&&(n.y0+=r,n.y1+=r),a=n.y1+y;if(r=a-y-s,r>0)for(a=n.y0-=r,n.y1-=r,o=u-2;o>=0;--o)n=e[o],r=n.y1+y-a,r>0&&(n.y0-=r,n.y1-=r),a=n.y0}))}}function O(t){t.nodes.forEach((function(t){t.sourceLinks.sort(f),t.targetLinks.sort(d)})),t.nodes.forEach((function(t){var e=t.y0,n=e;t.sourceLinks.forEach((function(t){t.y0=e+t.width/2,e+=t.width})),t.targetLinks.forEach((function(t){t.y1=n+t.width/2,n+=t.width}))}))}return M.update=function(t){return O(t),t},M.nodeId=function(t){return arguments.length?(b="function"===typeof t?t:c(t),M):b},M.nodeAlign=function(t){return arguments.length?(j="function"===typeof t?t:c(t),M):j},M.nodeSort=function(e){return arguments.length?(t=e,M):t},M.nodeWidth=function(t){return arguments.length?(l=+t,M):l},M.nodePadding=function(t){return arguments.length?(y=+t,M):y},M.nodes=function(t){return arguments.length?(w="function"===typeof t?t:c(t),M):w},M.links=function(t){return arguments.length?(x="function"===typeof t?t:c(t),M):x},M.size=function(t){return arguments.length?(o=i=0,a=+t[0],s=+t[1],M):[a-o,s-i]},M.extent=function(t){return arguments.length?(o=+t[0][0],a=+t[1][0],i=+t[0][1],s=+t[1][1],M):[[o,i],[a,s]]},M.iterations=function(t){return arguments.length?(E=+t,M):E},M}function b(t){return[t.source.x1,t.y0]}function j(t){return[t.target.x0,t.y1]}function w(){return o.linkHorizontal().source(b).target(j)}t.sankey=y,t.sankeyCenter=l,t.sankeyLeft=a,t.sankeyRight=s,t.sankeyJustify=u,t.sankeyLinkHorizontal=w,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js": /*!****************************************************************!*\ !*** ./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js ***! \****************************************************************/ /*! no static exports found */function(t,e,n){(function(t,r){r(e,n(/*! d3-path */"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js"))})(0,(function(t,e){"use strict";function n(t){return function(){return t}}var r=Math.abs,o=Math.atan2,i=Math.cos,a=Math.max,s=Math.min,u=Math.sin,l=Math.sqrt,c=1e-12,d=Math.PI,f=d/2,h=2*d;function _(t){return t>1?0:t<-1?d:Math.acos(t)}function v(t){return t>=1?f:t<=-1?-f:Math.asin(t)}function p(t){return t.innerRadius}function g(t){return t.outerRadius}function m(t){return t.startAngle}function y(t){return t.endAngle}function b(t){return t&&t.padAngle}function j(t,e,n,r,o,i,a,s){var u=n-t,l=r-e,d=a-o,f=s-i,h=f*u-d*l;if(!(h*hA*A+N*N&&(S=k,T=P),{cx:S,cy:T,x01:-f,y01:-h,x11:S*(o/x-1),y11:T*(o/x-1)}}function x(){var t=p,a=g,x=n(0),E=null,M=m,S=y,T=b,k=null;function P(){var n,p,g=+t.apply(this,arguments),m=+a.apply(this,arguments),y=M.apply(this,arguments)-f,b=S.apply(this,arguments)-f,P=r(b-y),O=b>y;if(k||(k=n=e.path()),mc)if(P>h-c)k.moveTo(m*i(y),m*u(y)),k.arc(0,0,m,y,b,!O),g>c&&(k.moveTo(g*i(b),g*u(b)),k.arc(0,0,g,b,y,O));else{var C,A,N=y,I=b,R=y,D=b,L=P,q=P,B=T.apply(this,arguments)/2,z=B>c&&(E?+E.apply(this,arguments):l(g*g+m*m)),F=s(r(m-g)/2,+x.apply(this,arguments)),G=F,V=F;if(z>c){var H=v(z/g*u(B)),U=v(z/m*u(B));(L-=2*H)>c?(H*=O?1:-1,R+=H,D-=H):(L=0,R=D=(y+b)/2),(q-=2*U)>c?(U*=O?1:-1,N+=U,I-=U):(q=0,N=I=(y+b)/2)}var W=m*i(N),K=m*u(N),Y=g*i(D),J=g*u(D);if(F>c){var X,$=m*i(I),Q=m*u(I),Z=g*i(R),tt=g*u(R);if(Pc?V>c?(C=w(Z,tt,W,K,m,V,O),A=w($,Q,Y,J,m,V,O),k.moveTo(C.cx+C.x01,C.cy+C.y01),Vc&&L>c?G>c?(C=w(Y,J,$,Q,g,-G,O),A=w(W,K,Z,tt,g,-G,O),k.lineTo(C.cx+C.x01,C.cy+C.y01),G=d;--f)l.point(g[f],m[f]);l.lineEnd(),l.areaEnd()}p&&(g[c]=+t(h,c,n),m[c]=+o(h,c,n),l.point(r?+r(h,c,n):g[c],i?+i(h,c,n):m[c]))}if(_)return l=null,_+""||null}function d(){return k().defined(a).curve(u).context(s)}return c.x=function(e){return arguments.length?(t="function"===typeof e?e:n(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"===typeof e?e:n(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:n(+t),c):r},c.y=function(t){return arguments.length?(o="function"===typeof t?t:n(+t),i=null,c):o},c.y0=function(t){return arguments.length?(o="function"===typeof t?t:n(+t),c):o},c.y1=function(t){return arguments.length?(i=null==t?null:"function"===typeof t?t:n(+t),c):i},c.lineX0=c.lineY0=function(){return d().x(t).y(o)},c.lineY1=function(){return d().x(t).y(i)},c.lineX1=function(){return d().x(r).y(o)},c.defined=function(t){return arguments.length?(a="function"===typeof t?t:n(!!t),c):a},c.curve=function(t){return arguments.length?(u=t,null!=s&&(l=u(s)),c):u},c.context=function(t){return arguments.length?(null==t?s=l=null:l=u(s=t),c):s},c}function O(t,e){return et?1:e>=t?0:NaN}function C(t){return t}function A(){var t=C,e=O,r=null,o=n(0),i=n(h),a=n(0);function s(n){var s,u,l,c,d,f=n.length,_=0,v=new Array(f),p=new Array(f),g=+o.apply(this,arguments),m=Math.min(h,Math.max(-h,i.apply(this,arguments)-g)),y=Math.min(Math.abs(m)/f,a.apply(this,arguments)),b=y*(m<0?-1:1);for(s=0;s0&&(_+=d);for(null!=e?v.sort((function(t,n){return e(p[t],p[n])})):null!=r&&v.sort((function(t,e){return r(n[t],n[e])})),s=0,l=_?(m-f*b)/_:0;s0?d*l:0)+b,p[u]={data:n[u],index:s,value:d,startAngle:g,endAngle:c,padAngle:y};return p}return s.value=function(e){return arguments.length?(t="function"===typeof e?e:n(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,r=null,s):e},s.sort=function(t){return arguments.length?(r=t,e=null,s):r},s.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:n(+t),s):o},s.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:n(+t),s):i},s.padAngle=function(t){return arguments.length?(a="function"===typeof t?t:n(+t),s):a},s}E.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);break}}};var N=R(M);function I(t){this._curve=t}function R(t){function e(e){return new I(t(e))}return e._curve=t,e}function D(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(R(t)):e()._curve},t}function L(){return D(k().curve(N))}function q(){var t=P().curve(N),e=t.curve,n=t.lineX0,r=t.lineX1,o=t.lineY0,i=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return D(n())},delete t.lineX0,t.lineEndAngle=function(){return D(r())},delete t.lineX1,t.lineInnerRadius=function(){return D(o())},delete t.lineY0,t.lineOuterRadius=function(){return D(i())},delete t.lineY1,t.curve=function(t){return arguments.length?e(R(t)):e()._curve},t}function B(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}I.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var z=Array.prototype.slice;function F(t){return t.source}function G(t){return t.target}function V(t){var r=F,o=G,i=S,a=T,s=null;function u(){var n,u=z.call(arguments),l=r.apply(this,u),c=o.apply(this,u);if(s||(s=n=e.path()),t(s,+i.apply(this,(u[0]=l,u)),+a.apply(this,u),+i.apply(this,(u[0]=c,u)),+a.apply(this,u)),n)return s=null,n+""||null}return u.source=function(t){return arguments.length?(r=t,u):r},u.target=function(t){return arguments.length?(o=t,u):o},u.x=function(t){return arguments.length?(i="function"===typeof t?t:n(+t),u):i},u.y=function(t){return arguments.length?(a="function"===typeof t?t:n(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function H(t,e,n,r,o){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,o,r,o)}function U(t,e,n,r,o){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+o)/2,r,n,r,o)}function W(t,e,n,r,o){var i=B(e,n),a=B(e,n=(n+o)/2),s=B(r,n),u=B(r,o);t.moveTo(i[0],i[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],u[0],u[1])}function K(){return V(H)}function Y(){return V(U)}function J(){var t=V(W);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var X={draw:function(t,e){var n=Math.sqrt(e/d);t.moveTo(n,0),t.arc(0,0,n,0,h)}},$={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Q=Math.sqrt(1/3),Z=2*Q,tt={draw:function(t,e){var n=Math.sqrt(e/Z),r=n*Q;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},et=.8908130915292852,nt=Math.sin(d/10)/Math.sin(7*d/10),rt=Math.sin(h/10)*nt,ot=-Math.cos(h/10)*nt,it={draw:function(t,e){var n=Math.sqrt(e*et),r=rt*n,o=ot*n;t.moveTo(0,-n),t.lineTo(r,o);for(var i=1;i<5;++i){var a=h*i/5,s=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-s*n),t.lineTo(s*r-u*o,u*r+s*o)}t.closePath()}},at={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},st=Math.sqrt(3),ut={draw:function(t,e){var n=-Math.sqrt(e/(3*st));t.moveTo(0,2*n),t.lineTo(-st*n,-n),t.lineTo(st*n,-n),t.closePath()}},lt=-.5,ct=Math.sqrt(3)/2,dt=1/Math.sqrt(12),ft=3*(dt/2+1),ht={draw:function(t,e){var n=Math.sqrt(e/ft),r=n/2,o=n*dt,i=r,a=n*dt+n,s=-i,u=a;t.moveTo(r,o),t.lineTo(i,a),t.lineTo(s,u),t.lineTo(lt*r-ct*o,ct*r+lt*o),t.lineTo(lt*i-ct*a,ct*i+lt*a),t.lineTo(lt*s-ct*u,ct*s+lt*u),t.lineTo(lt*r+ct*o,lt*o-ct*r),t.lineTo(lt*i+ct*a,lt*a-ct*i),t.lineTo(lt*s+ct*u,lt*u-ct*s),t.closePath()}},_t=[X,$,tt,at,it,ut,ht];function vt(){var t=n(X),r=n(64),o=null;function i(){var n;if(o||(o=n=e.path()),t.apply(this,arguments).draw(o,+r.apply(this,arguments)),n)return o=null,n+""||null}return i.type=function(e){return arguments.length?(t="function"===typeof e?e:n(e),i):t},i.size=function(t){return arguments.length?(r="function"===typeof t?t:n(+t),i):r},i.context=function(t){return arguments.length?(o=null==t?null:t,i):o},i}function pt(){}function gt(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function mt(t){this._context=t}function yt(t){return new mt(t)}function bt(t){this._context=t}function jt(t){return new bt(t)}function wt(t){this._context=t}function xt(t){return new wt(t)}function Et(t,e){this._basis=new mt(t),this._beta=e}mt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:gt(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:gt(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},bt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:gt(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},wt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:gt(this,t,e);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},Et.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0){var r,o=t[0],i=e[0],a=t[n]-o,s=e[n]-i,u=-1;while(++u<=n)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(o+r*a),this._beta*e[u]+(1-this._beta)*(i+r*s))}this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Mt=function t(e){function n(t){return 1===e?new mt(t):new Et(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function St(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Tt(t,e){this._context=t,this._k=(1-e)/6}Tt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:St(this,this._x1,this._y1);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:St(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var kt=function t(e){function n(t){return new Tt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Pt(t,e){this._context=t,this._k=(1-e)/6}Pt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:St(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ot=function t(e){function n(t){return new Pt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ct(t,e){this._context=t,this._k=(1-e)/6}Ct.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:St(this,t,e);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var At=function t(e){function n(t){return new Ct(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Nt(t,e,n){var r=t._x1,o=t._y1,i=t._x2,a=t._y2;if(t._l01_a>c){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,o=(o*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>c){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,d=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*l+t._x1*t._l23_2a-e*t._l12_2a)/d,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/d}t._context.bezierCurveTo(r,o,i,a,t._x2,t._y2)}function It(t,e){this._context=t,this._alpha=e}It.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:Nt(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Rt=function t(e){function n(t){return e?new It(t,e):new Tt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Dt(t,e){this._context=t,this._alpha=e}Dt.prototype={areaStart:pt,areaEnd:pt,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Nt(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Lt=function t(e){function n(t){return e?new Dt(t,e):new Pt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function qt(t,e){this._context=t,this._alpha=e}qt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Nt(this,t,e);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Bt=function t(e){function n(t){return e?new qt(t,e):new Ct(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function zt(t){this._context=t}function Ft(t){return new zt(t)}function Gt(t){return t<0?-1:1}function Vt(t,e,n){var r=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(r||o<0&&-0),a=(n-t._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(Gt(i)+Gt(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function Ht(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ut(t,e,n){var r=t._x0,o=t._y0,i=t._x1,a=t._y1,s=(i-r)/3;t._context.bezierCurveTo(r+s,o+s*e,i-s,a-s*n,i,a)}function Wt(t){this._context=t}function Kt(t){this._context=new Yt(t)}function Yt(t){this._context=t}function Jt(t){return new Wt(t)}function Xt(t){return new Kt(t)}function $t(t){this._context=t}function Qt(t){var e,n,r=t.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[r-1]=(t[r]+o[r-1])/2,e=0;e1)for(var n,r,o,i=1,a=t[e[0]],s=a.length;i=0)n[e]=e;return n}function ae(t,e){return t[e]}function se(){var t=n([]),e=ie,r=oe,o=ae;function i(n){var i,a,s=t.apply(this,arguments),u=n.length,l=s.length,c=new Array(l);for(i=0;i0){for(var n,r,o,i=0,a=t[0].length;i0)for(var n,r,o,i,a,s,u=0,l=t[e[0]].length;u0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)}function ce(t,e){if((n=t.length)>0){for(var n,r=0,o=t[e[0]],i=o.length;r0&&(r=(n=t[e[0]]).length)>0){for(var n,r,o,i=0,a=1;ai&&(i=e,r=n);return r}function _e(t){var e=t.map(ve);return ie(t).sort((function(t,n){return e[t]-e[n]}))}function ve(t){var e,n=0,r=-1,o=t.length;while(++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}break}this._x=t,this._y=e}},t.arc=x,t.area=P,t.areaRadial=q,t.curveBasis=yt,t.curveBasisClosed=jt,t.curveBasisOpen=xt,t.curveBundle=Mt,t.curveCardinal=kt,t.curveCardinalClosed=Ot,t.curveCardinalOpen=At,t.curveCatmullRom=Rt,t.curveCatmullRomClosed=Lt,t.curveCatmullRomOpen=Bt,t.curveLinear=M,t.curveLinearClosed=Ft,t.curveMonotoneX=Jt,t.curveMonotoneY=Xt,t.curveNatural=Zt,t.curveStep=ee,t.curveStepAfter=re,t.curveStepBefore=ne,t.line=k,t.lineRadial=L,t.linkHorizontal=K,t.linkRadial=J,t.linkVertical=Y,t.pie=A,t.pointRadial=B,t.radialArea=q,t.radialLine=L,t.stack=se,t.stackOffsetDiverging=le,t.stackOffsetExpand=ue,t.stackOffsetNone=oe,t.stackOffsetSilhouette=ce,t.stackOffsetWiggle=de,t.stackOrderAppearance=fe,t.stackOrderAscending=_e,t.stackOrderDescending=pe,t.stackOrderInsideOut=ge,t.stackOrderNone=ie,t.stackOrderReverse=me,t.symbol=vt,t.symbolCircle=X,t.symbolCross=$,t.symbolDiamond=tt,t.symbolSquare=at,t.symbolStar=it,t.symbolTriangle=ut,t.symbolWye=ht,t.symbols=_t,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js": /*!**********************************************************************!*\ !*** ./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js ***! \**********************************************************************/ /*! no static exports found */function(t,e,n){(function(t,n){n(e)})(0,(function(t){"use strict";function e(t){return function(){return t}}function n(t){return t[0]}function r(t){return t[1]}function o(){this._=null}function i(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function a(t,e){var n=e,r=e.R,o=n.U;o?o.L===n?o.L=r:o.R=r:t._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function s(t,e){var n=e,r=e.L,o=n.U;o?o.L===n?o.L=r:o.R=r:t._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function u(t){while(t.L)t=t.L;return t}function l(t,e,n,r){var o=[null,null],i=L.push(o)-1;return o.left=t,o.right=e,n&&d(o,t,e,n),r&&d(o,e,t,r),R[t.index].halfedges.push(i),R[e.index].halfedges.push(i),o}function c(t,e,n){var r=[e,n];return r.left=t,r}function d(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function f(t,e,n,r,o){var i,a=t[0],s=t[1],u=a[0],l=a[1],c=s[0],d=s[1],f=0,h=1,_=c-u,v=d-l;if(i=e-u,_||!(i>0)){if(i/=_,_<0){if(i0){if(i>h)return;i>f&&(f=i)}if(i=r-u,_||!(i<0)){if(i/=_,_<0){if(i>h)return;i>f&&(f=i)}else if(_>0){if(i0)){if(i/=v,v<0){if(i0){if(i>h)return;i>f&&(f=i)}if(i=o-l,v||!(i<0)){if(i/=v,v<0){if(i>h)return;i>f&&(f=i)}else if(v>0){if(i0||h<1)||(f>0&&(t[0]=[u+f*_,l+f*v]),h<1&&(t[1]=[u+h*_,l+h*v]),!0)}}}}}function h(t,e,n,r,o){var i=t[1];if(i)return!0;var a,s,u=t[0],l=t.left,c=t.right,d=l[0],f=l[1],h=c[0],_=c[1],v=(d+h)/2,p=(f+_)/2;if(_===f){if(v=r)return;if(d>h){if(u){if(u[1]>=o)return}else u=[v,n];i=[v,o]}else{if(u){if(u[1]1)if(d>h){if(u){if(u[1]>=o)return}else u=[(n-s)/a,n];i=[(o-s)/a,o]}else{if(u){if(u[1]=r)return}else u=[e,a*e+s];i=[r,a*r+s]}else{if(u){if(u[0]q||Math.abs(o[0][1]-o[1][1])>q)||delete L[i]}function v(t){return R[t.index]={site:t,halfedges:[]}}function p(t,e){var n=t.site,r=e.left,o=e.right;return n===o&&(o=r,r=n),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(n===r?(r=e[1],o=e[0]):(r=e[0],o=e[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function g(t,e){return e[+(e.left!==t.site)]}function m(t,e){return e[+(e.left===t.site)]}function y(){for(var t,e,n,r,o=0,i=R.length;oq||Math.abs(p-h)>q)&&(u.splice(s,0,L.push(c(a,_,Math.abs(v-t)q?[t,Math.abs(f-t)q?[Math.abs(h-r)q?[n,Math.abs(f-n)q?[Math.abs(h-e)=-B)){var h=u*u+l*l,_=c*c+d*d,v=(d*h-l*_)/f,p=(u*_-c*h)/f,g=w.pop()||new x;g.arc=t,g.site=o,g.x=v+a,g.y=(g.cy=p+s)+Math.sqrt(v*v+p*p),t.circle=g;var m=null,y=D._;while(y)if(g.yq)s=s.L;else{if(o=i-N(s,a),!(o>q)){r>-q?(e=s.P,n=s):o>-q?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}v(t);var u=k(t);if(I.insert(e,u),e||n){if(e===n)return M(e),n=k(e.site),I.insert(u,n),u.edge=n.edge=l(e.site,u.site),E(e),void E(n);if(n){M(e),M(n);var c=e.site,f=c[0],h=c[1],_=t[0]-f,p=t[1]-h,g=n.site,m=g[0]-f,y=g[1]-h,b=2*(_*y-p*m),j=_*_+p*p,w=m*m+y*y,x=[(y*j-p*w)/b+f,(_*w-m*j)/b+h];d(n.edge,c,g,x),u.edge=l(c,t,null,x),n.edge=l(t,g,null,x),E(e),E(n)}else u.edge=l(e.site,u.site)}}function A(t,e){var n=t.site,r=n[0],o=n[1],i=o-e;if(!i)return r;var a=t.P;if(!a)return-1/0;n=a.site;var s=n[0],u=n[1],l=u-e;if(!l)return s;var c=s-r,d=1/i-1/l,f=c/l;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*l)-u+l/2+o-i/2)))/d+r:(r+s)/2}function N(t,e){var n=t.N;if(n)return A(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var I,R,D,L,q=1e-6,B=1e-12;function z(t,e,n){return(t[0]-n[0])*(e[1]-t[1])-(t[0]-e[0])*(n[1]-t[1])}function F(t,e){return e[1]-t[1]||e[0]-t[0]}function G(t,e){var n,r,i,a=t.sort(F).pop();L=[],R=new Array(t.length),I=new o,D=new o;while(1)if(i=j,a&&(!i||a[1]=s)return null;var u=t-o.site[0],l=e-o.site[1],c=u*u+l*l;do{o=i.cells[r=a],a=null,o.halfedges.forEach((function(n){var r=i.edges[n],s=r.left;if(s!==o.site&&s||(s=r.right)){var u=t-s[0],l=e-s[1],d=u*u+l*l;d0;--s)if(r=e[s].dequeue(),r){o=o.concat(l(t,e,n,r,!0));break}}return o}function l(t,e,n,o,i){var a=i?[]:void 0;return r.forEach(t.inEdges(o.v),(function(r){var o=t.edge(r),s=t.node(r.v);i&&a.push({v:r.v,w:r.w}),s.out-=o,d(e,n,s)})),r.forEach(t.outEdges(o.v),(function(r){var o=t.edge(r),i=r.w,a=t.node(i);a["in"]-=o,d(e,n,a)})),t.removeNode(o.v),a}function c(t,e){var n=new o,a=0,s=0;r.forEach(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=n.edge(t.v,t.w)||0,o=e(t),i=r+o;n.setEdge(t.v,t.w,i),s=Math.max(s,n.node(t.v).out+=o),a=Math.max(a,n.node(t.w)["in"]+=o)}));var u=r.range(s+a+3).map((function(){return new i})),l=a+1;return r.forEach(n.nodes(),(function(t){d(u,l,n.node(t))})),{graph:n,buckets:u,zeroIdx:l}}function d(t,e,n){n.out?n["in"]?t[n.out-n["in"]+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},"./node_modules/_dagre@0.8.5@dagre/lib/layout.js": /*!*******************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/layout.js ***! \*******************************************************/ /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./acyclic */"./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js"),i=n(/*! ./normalize */"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js"),a=n(/*! ./rank */"./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js"),s=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").normalizeRanks,u=n(/*! ./parent-dummy-chains */"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js"),l=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").removeEmptyRanks,c=n(/*! ./nesting-graph */"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js"),d=n(/*! ./add-border-segments */"./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js"),f=n(/*! ./coordinate-system */"./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js"),h=n(/*! ./order */"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js"),_=n(/*! ./position */"./node_modules/_dagre@0.8.5@dagre/lib/position/index.js"),v=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js"),p=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function g(t,e){var n=e&&e.debugTiming?v.time:v.notime;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return k(t)}));n(" runLayout",(function(){m(e,n)})),n(" updateInputGraph",(function(){y(t,e)}))}))}function m(t,e){e(" makeSpaceForEdgeLabels",(function(){P(t)})),e(" removeSelfEdges",(function(){q(t)})),e(" acyclic",(function(){o.run(t)})),e(" nestingGraph.run",(function(){c.run(t)})),e(" rank",(function(){a(v.asNonCompoundGraph(t))})),e(" injectEdgeLabelProxies",(function(){O(t)})),e(" removeEmptyRanks",(function(){l(t)})),e(" nestingGraph.cleanup",(function(){c.cleanup(t)})),e(" normalizeRanks",(function(){s(t)})),e(" assignRankMinMax",(function(){C(t)})),e(" removeEdgeLabelProxies",(function(){A(t)})),e(" normalize.run",(function(){i.run(t)})),e(" parentDummyChains",(function(){u(t)})),e(" addBorderSegments",(function(){d(t)})),e(" order",(function(){h(t)})),e(" insertSelfEdges",(function(){B(t)})),e(" adjustCoordinateSystem",(function(){f.adjust(t)})),e(" position",(function(){_(t)})),e(" positionSelfEdges",(function(){z(t)})),e(" removeBorderNodes",(function(){L(t)})),e(" normalize.undo",(function(){i.undo(t)})),e(" fixupEdgeLabelCoords",(function(){R(t)})),e(" undoCoordinateSystem",(function(){f.undo(t)})),e(" translateGraph",(function(){N(t)})),e(" assignNodeIntersects",(function(){I(t)})),e(" reversePoints",(function(){D(t)})),e(" acyclic.undo",(function(){o.undo(t)}))}function y(t,e){r.forEach(t.nodes(),(function(n){var r=t.node(n),o=e.node(n);r&&(r.x=o.x,r.y=o.y,e.children(n).length&&(r.width=o.width,r.height=o.height))})),r.forEach(t.edges(),(function(n){var o=t.edge(n),i=e.edge(n);o.points=i.points,r.has(i,"x")&&(o.x=i.x,o.y=i.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}t.exports=g;var b=["nodesep","edgesep","ranksep","marginx","marginy"],j={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},w=["acyclicer","ranker","rankdir","align"],x=["width","height"],E={width:0,height:0},M=["minlen","weight","width","height","labeloffset"],S={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},T=["labelpos"];function k(t){var e=new p({multigraph:!0,compound:!0}),n=G(t.graph());return e.setGraph(r.merge({},j,F(n,b),r.pick(n,w))),r.forEach(t.nodes(),(function(n){var o=G(t.node(n));e.setNode(n,r.defaults(F(o,x),E)),e.setParent(n,t.parent(n))})),r.forEach(t.edges(),(function(n){var o=G(t.edge(n));e.setEdge(n,r.merge({},S,F(o,M),r.pick(o,T)))})),e}function P(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),(function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}function O(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),o=t.node(e.w),i={rank:(o.rank-r.rank)/2+r.rank,e:e};v.addDummyNode(t,"edge-proxy",i,"_ep")}}))}function C(t){var e=0;r.forEach(t.nodes(),(function(n){var o=t.node(n);o.borderTop&&(o.minRank=t.node(o.borderTop).rank,o.maxRank=t.node(o.borderBottom).rank,e=r.max(e,o.maxRank))})),t.graph().maxRank=e}function A(t){r.forEach(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}function N(t){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,i=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function l(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),o=Math.min(o,a-u/2),i=Math.max(i,a+u/2)}r.forEach(t.nodes(),(function(e){l(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.has(n,"x")&&l(n)})),e-=s,o-=u,r.forEach(t.nodes(),(function(n){var r=t.node(n);r.x-=e,r.y-=o})),r.forEach(t.edges(),(function(n){var i=t.edge(n);r.forEach(i.points,(function(t){t.x-=e,t.y-=o})),r.has(i,"x")&&(i.x-=e),r.has(i,"y")&&(i.y-=o)})),a.width=n-e+s,a.height=i-o+u}function I(t){r.forEach(t.edges(),(function(e){var n,r,o=t.edge(e),i=t.node(e.v),a=t.node(e.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=a,r=i),o.points.unshift(v.intersectRect(i,n)),o.points.push(v.intersectRect(a,r))}))}function R(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;break}}))}function D(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}function L(t){r.forEach(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),o=t.node(n.borderTop),i=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(i.y-o.y),n.x=a.x+n.width/2,n.y=o.y+n.height/2}})),r.forEach(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}function q(t){r.forEach(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}}))}function B(t){var e=v.buildLayerMatrix(t);r.forEach(e,(function(e){var n=0;r.forEach(e,(function(e,o){var i=t.node(e);i.order=o+n,r.forEach(i.selfEdges,(function(e){v.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:i.rank,order:o+ ++n,e:e.e,label:e.label},"_se")})),delete i.selfEdges}))}))}function z(t){r.forEach(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),o=r.x+r.width/2,i=r.y,a=n.x-o,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:o+2*a/3,y:i-s},{x:o+5*a/6,y:i-s},{x:o+a,y:i},{x:o+5*a/6,y:i+s},{x:o+2*a/3,y:i+s}],n.label.x=n.x,n.label.y=n.y}}))}function F(t,e){return r.mapValues(r.pick(t,e),Number)}function G(t){var e={};return r.forEach(t,(function(t,n){e[n.toLowerCase()]=t})),e}},"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js": /*!*******************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/lodash.js ***! \*******************************************************/ /*! no static exports found */function(t,e,n){var r;try{r={cloneDeep:n(/*! lodash/cloneDeep */"./node_modules/_lodash@4.17.15@lodash/cloneDeep.js"),constant:n(/*! lodash/constant */"./node_modules/_lodash@4.17.15@lodash/constant.js"),defaults:n(/*! lodash/defaults */"./node_modules/_lodash@4.17.15@lodash/defaults.js"),each:n(/*! lodash/each */"./node_modules/_lodash@4.17.15@lodash/each.js"),filter:n(/*! lodash/filter */"./node_modules/_lodash@4.17.15@lodash/filter.js"),find:n(/*! lodash/find */"./node_modules/_lodash@4.17.15@lodash/find.js"),flatten:n(/*! lodash/flatten */"./node_modules/_lodash@4.17.15@lodash/flatten.js"),forEach:n(/*! lodash/forEach */"./node_modules/_lodash@4.17.15@lodash/forEach.js"),forIn:n(/*! lodash/forIn */"./node_modules/_lodash@4.17.15@lodash/forIn.js"),has:n(/*! lodash/has */"./node_modules/_lodash@4.17.15@lodash/has.js"),isUndefined:n(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.15@lodash/isUndefined.js"),last:n(/*! lodash/last */"./node_modules/_lodash@4.17.15@lodash/last.js"),map:n(/*! lodash/map */"./node_modules/_lodash@4.17.15@lodash/map.js"),mapValues:n(/*! lodash/mapValues */"./node_modules/_lodash@4.17.15@lodash/mapValues.js"),max:n(/*! lodash/max */"./node_modules/_lodash@4.17.15@lodash/max.js"),merge:n(/*! lodash/merge */"./node_modules/_lodash@4.17.15@lodash/merge.js"),min:n(/*! lodash/min */"./node_modules/_lodash@4.17.15@lodash/min.js"),minBy:n(/*! lodash/minBy */"./node_modules/_lodash@4.17.15@lodash/minBy.js"),now:n(/*! lodash/now */"./node_modules/_lodash@4.17.15@lodash/now.js"),pick:n(/*! lodash/pick */"./node_modules/_lodash@4.17.15@lodash/pick.js"),range:n(/*! lodash/range */"./node_modules/_lodash@4.17.15@lodash/range.js"),reduce:n(/*! lodash/reduce */"./node_modules/_lodash@4.17.15@lodash/reduce.js"),sortBy:n(/*! lodash/sortBy */"./node_modules/_lodash@4.17.15@lodash/sortBy.js"),uniqueId:n(/*! lodash/uniqueId */"./node_modules/_lodash@4.17.15@lodash/uniqueId.js"),values:n(/*! lodash/values */"./node_modules/_lodash@4.17.15@lodash/values.js"),zipObject:n(/*! lodash/zipObject */"./node_modules/_lodash@4.17.15@lodash/zipObject.js")}}catch(o){}r||(r=window._),t.exports=r},"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js": /*!**************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t){var e=o.addDummyNode(t,"root",{},"_root"),n=s(t),i=r.max(r.values(n))-1,l=2*i+1;t.graph().nestingRoot=e,r.forEach(t.edges(),(function(e){t.edge(e).minlen*=l}));var c=u(t)+1;r.forEach(t.children(),(function(r){a(t,e,l,c,i,n,r)})),t.graph().nodeRankFactor=l}function a(t,e,n,i,s,u,l){var c=t.children(l);if(c.length){var d=o.addBorderNode(t,"_bt"),f=o.addBorderNode(t,"_bb"),h=t.node(l);t.setParent(d,l),h.borderTop=d,t.setParent(f,l),h.borderBottom=f,r.forEach(c,(function(r){a(t,e,n,i,s,u,r);var o=t.node(r),c=o.borderTop?o.borderTop:r,h=o.borderBottom?o.borderBottom:r,_=o.borderTop?i:2*i,v=c!==h?1:s-u[l]+1;t.setEdge(d,c,{weight:_,minlen:v,nestingEdge:!0}),t.setEdge(h,f,{weight:_,minlen:v,nestingEdge:!0})})),t.parent(l)||t.setEdge(e,d,{weight:0,minlen:s+u[l]})}else l!==e&&t.setEdge(e,l,{weight:0,minlen:n})}function s(t){var e={};function n(o,i){var a=t.children(o);a&&a.length&&r.forEach(a,(function(t){n(t,i+1)})),e[o]=i}return r.forEach(t.children(),(function(t){n(t,1)})),e}function u(t){return r.reduce(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}function l(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),(function(e){var n=t.edge(e);n.nestingEdge&&t.removeEdge(e)}))}t.exports={run:i,cleanup:l}},"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js": /*!**********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/normalize.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(e){a(t,e)}))}function a(t,e){var n=e.v,r=t.node(n).rank,i=e.w,a=t.node(i).rank,s=e.name,u=t.edge(e),l=u.labelRank;if(a!==r+1){var c,d,f;for(t.removeEdge(e),f=0,++r;r0)e%2&&(n+=u[e+1]),e=e-1>>1,u[e]+=t.weight;l+=t.weight*n}))),l}t.exports=o},"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js": /*!************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/index.js ***! \************************************************************/ /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./init-order */"./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js"),i=n(/*! ./cross-count */"./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js"),a=n(/*! ./sort-subgraph */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js"),s=n(/*! ./build-layer-graph */"./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js"),u=n(/*! ./add-subgraph-constraints */"./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js"),l=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,c=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function d(t){var e=c.maxRank(t),n=f(t,r.range(1,e+1),"inEdges"),a=f(t,r.range(e-1,-1,-1),"outEdges"),s=o(t);_(t,s);for(var u,l=Number.POSITIVE_INFINITY,d=0,v=0;v<4;++d,++v){h(d%2?n:a,d%4>=2),s=c.buildLayerMatrix(t);var p=i(t,s);p=t.barycenter)&&a(t,e)}}function o(e){return function(n){n["in"].push(e),0===--n.indegree&&t.push(n)}}while(t.length){var i=t.pop();e.push(i),r.forEach(i["in"].reverse(),n(i)),r.forEach(i.out,o(i))}return r.map(r.filter(e,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}function a(t,e){var n=0,r=0;t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/r,t.weight=r,t.i=Math.min(e.i,t.i),e.merged=!0}t.exports=o},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js": /*!********************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js ***! \********************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./barycenter */"./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js"),i=n(/*! ./resolve-conflicts */"./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js"),a=n(/*! ./sort */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js");function s(t,e,n,c){var d=t.children(e),f=t.node(e),h=f?f.borderLeft:void 0,_=f?f.borderRight:void 0,v={};h&&(d=r.filter(d,(function(t){return t!==h&&t!==_})));var p=o(t,d);r.forEach(p,(function(e){if(t.children(e.v).length){var o=s(t,e.v,n,c);v[e.v]=o,r.has(o,"barycenter")&&l(e,o)}}));var g=i(p,n);u(g,v);var m=a(g,c);if(h&&(m.vs=r.flatten([h,m.vs,_],!0),t.predecessors(h).length)){var y=t.node(t.predecessors(h)[0]),b=t.node(t.predecessors(_)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+y.order+b.order)/(m.weight+2),m.weight+=2}return m}function u(t,e){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return e[t]?e[t].vs:t})),!0)}))}function l(t,e){r.isUndefined(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight)}t.exports=s},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js": /*!***********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js ***! \***********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t,e){var n=o.partition(t,(function(t){return r.has(t,"barycenter")})),i=n.lhs,u=r.sortBy(n.rhs,(function(t){return-t.i})),l=[],c=0,d=0,f=0;i.sort(s(!!e)),f=a(l,u,f),r.forEach(i,(function(t){f+=t.vs.length,l.push(t.vs),c+=t.barycenter*t.weight,d+=t.weight,f=a(l,u,f)}));var h={vs:r.flatten(l,!0)};return d&&(h.barycenter=c/d,h.weight=d),h}function a(t,e,n){var o;while(e.length&&(o=r.last(e)).i<=n)e.pop(),t.push(o.vs),n++;return n}function s(t){return function(e,n){return e.barycentern.barycenter?1:t?n.i-e.i:e.i-n.i}}t.exports=i},"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js": /*!********************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js ***! \********************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(t){var e=a(t);r.forEach(t.graph().dummyChains,(function(n){var r=t.node(n),o=r.edgeObj,a=i(t,e,o.v,o.w),s=a.path,u=a.lca,l=0,c=s[l],d=!0;while(n!==o.w){if(r=t.node(n),d){while((c=s[l])!==u&&t.node(c).maxRanku||l>e[o].lim));i=o,o=r;while((o=t.parent(o))!==i)s.push(o);return{path:a.concat(s.reverse()),lca:i}}function a(t){var e={},n=0;function o(i){var a=n;r.forEach(t.children(i),o),e[i]={low:a,lim:n++}}return r.forEach(t.children(),o),e}t.exports=o},"./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js": /*!************************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js ***! \************************************************************/ /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,i=n(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function a(t,e){var n={};function o(e,o){var i=0,a=0,s=e.length,c=r.last(o);return r.forEach(o,(function(e,d){var f=u(t,e),h=f?t.node(f).order:s;(f||e===c)&&(r.forEach(o.slice(a,d+1),(function(e){r.forEach(t.predecessors(e),(function(r){var o=t.node(r),a=o.order;!(as)&&l(n,e,u)}))}))}function i(e,n){var i,a=-1,s=0;return r.forEach(n,(function(r,u){if("border"===t.node(r).dummy){var l=t.predecessors(r);l.length&&(i=t.node(l[0]).order,o(n,s,u,a,i),s=u,a=i)}o(n,s,n.length,i,e.length)})),n}return r.reduce(e,i),n}function u(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}function l(t,e,n){if(e>n){var r=e;e=n,n=r}var o=t[e];o||(t[e]=o={}),o[n]=!0}function c(t,e,n){if(e>n){var o=e;e=n,n=o}return r.has(t[e],n)}function d(t,e,n,o){var i={},a={},s={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){i[t]=t,a[t]=t,s[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var u=o(t);if(u.length){u=r.sortBy(u,(function(t){return s[t]}));for(var l=(u.length-1)/2,d=Math.floor(l),f=Math.ceil(l);d<=f;++d){var h=u[d];a[t]===t&&eu.lim&&(l=u,c=!0);var d=r.filter(e.edges(),(function(e){return c===j(t,t.node(e.v),l)&&c!==j(t,t.node(e.w),l)}));return r.minBy(d,(function(t){return i(e,t)}))}function m(t,e,n,r){var o=n.v,i=n.w;t.removeEdge(o,i),t.setEdge(r.v,r.w,{}),_(t),d(t,e),y(t,e)}function y(t,e){var n=r.find(t.nodes(),(function(t){return!e.node(t).parent})),o=s(t,n);o=o.slice(1),r.forEach(o,(function(n){var r=t.node(n).parent,o=e.edge(n,r),i=!1;o||(o=e.edge(r,n),i=!0),e.node(n).rank=e.node(r).rank+(i?o.minlen:-o.minlen)}))}function b(t,e,n){return t.hasEdge(e,n)}function j(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=c,c.initLowLimValues=_,c.initCutValues=d,c.calcCutValue=h,c.leaveEdge=p,c.enterEdge=g,c.exchangeEdges=m},"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js": /*!**********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(t){var e={};function n(o){var i=t.node(o);if(r.has(e,o))return i.rank;e[o]=!0;var a=r.min(r.map(t.outEdges(o),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&void 0!==a&&null!==a||(a=0),i.rank=a}r.forEach(t.sources(),n)}function i(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}t.exports={longestPath:o,slack:i}},"./node_modules/_dagre@0.8.5@dagre/lib/util.js": /*!*****************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/util.js ***! \*****************************************************/ /*! no static exports found */function(t,e,n){"use strict";var r=n(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function i(t,e,n,o){var i;do{i=r.uniqueId(o)}while(t.hasNode(i));return n.dummy=e,t.setNode(i,n),i}function a(t){var e=(new o).setGraph(t.graph());return r.forEach(t.nodes(),(function(n){e.setNode(n,t.node(n))})),r.forEach(t.edges(),(function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},o=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),e}function s(t){var e=new o({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),r.forEach(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function u(t){var e=r.map(t.nodes(),(function(e){var n={};return r.forEach(t.outEdges(e),(function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight})),n}));return r.zipObject(t.nodes(),e)}function l(t){var e=r.map(t.nodes(),(function(e){var n={};return r.forEach(t.inEdges(e),(function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight})),n}));return r.zipObject(t.nodes(),e)}function c(t,e){var n,r,o=t.x,i=t.y,a=e.x-o,s=e.y-i,u=t.width/2,l=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*u>Math.abs(a)*l?(s<0&&(l=-l),n=l*a/s,r=l):(a<0&&(u=-u),n=u,r=u*s/a),{x:o+n,y:i+r}}function d(t){var e=r.map(r.range(v(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(n){var o=t.node(n),i=o.rank;r.isUndefined(i)||(e[i][o.order]=n)})),e}function f(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank})));r.forEach(t.nodes(),(function(n){var o=t.node(n);r.has(o,"rank")&&(o.rank-=e)}))}function h(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank}))),n=[];r.forEach(t.nodes(),(function(r){var o=t.node(r).rank-e;n[o]||(n[o]=[]),n[o].push(r)}));var o=0,i=t.graph().nodeRankFactor;r.forEach(n,(function(e,n){r.isUndefined(e)&&n%i!==0?--o:o&&r.forEach(e,(function(e){t.node(e).rank+=o}))}))}function _(t,e,n,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=n,o.order=r),i(t,"border",o,e)}function v(t){return r.max(r.map(t.nodes(),(function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n})))}function p(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}function g(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}}function m(t,e){return e()}t.exports={addDummyNode:i,simplify:a,asNonCompoundGraph:s,successorWeights:u,predecessorWeights:l,intersectRect:c,buildLayerMatrix:d,normalizeRanks:f,removeEmptyRanks:h,addBorderNode:_,maxRank:v,partition:p,time:g,notime:m}},"./node_modules/_dagre@0.8.5@dagre/lib/version.js": /*!********************************************************!*\ !*** ./node_modules/_dagre@0.8.5@dagre/lib/version.js ***! \********************************************************/ /*! no static exports found */function(t,e){t.exports="0.8.5"},"./node_modules/_graphlib@2.1.8@graphlib/index.js": /*!********************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/index.js ***! \********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./lib */"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js");t.exports={Graph:r.Graph,json:n(/*! ./lib/json */"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js"),alg:n(/*! ./lib/alg */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/index.js"),version:r.version}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js": /*!*********************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js ***! \*********************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var e,n={},o=[];function i(o){r.has(n,o)||(n[o]=!0,e.push(o),r.each(t.successors(o),i),r.each(t.predecessors(o),i))}return r.each(t.nodes(),(function(t){e=[],i(t),e.length&&o.push(e)})),o}t.exports=o},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js": /*!**************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t,e,n){r.isArray(e)||(e=[e]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],s={};return r.each(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);i(t,e,"post"===n,s,o,a)})),a}function i(t,e,n,o,a,s){r.has(o,e)||(o[e]=!0,n||s.push(e),r.each(a(e),(function(e){i(t,e,n,o,a,s)})),n&&s.push(e))}t.exports=o},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js": /*!***********************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js ***! \***********************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./dijkstra */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),o=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function i(t,e,n){return o.transform(t.nodes(),(function(o,i){o[i]=r(t,i,e,n)}),{})}t.exports=i},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js": /*!*******************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js ***! \*******************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n(/*! ../data/priority-queue */"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js");t.exports=a;var i=r.constant(1);function a(t,e,n,r){return s(t,String(e),n||i,r||function(e){return t.outEdges(e)})}function s(t,e,n,r){var i,a,s={},u=new o,l=function(t){var e=t.v!==i?t.v:t.w,r=s[e],o=n(t),l=a.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+o);l0){if(i=u.removeMin(),a=s[i],a.distance===Number.POSITIVE_INFINITY)break;r(i).forEach(l)}return s}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js": /*!**********************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js ***! \**********************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n(/*! ./tarjan */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js");function i(t){return r.filter(o(t),(function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])}))}t.exports=i},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js": /*!*************************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js ***! \*************************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=i;var o=r.constant(1);function i(t,e,n){return a(t,e||o,n||function(e){return t.outEdges(e)})}function a(t,e,n){var r={},o=t.nodes();return o.forEach((function(t){r[t]={},r[t][t]={distance:0},o.forEach((function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})})),n(t).forEach((function(n){var o=n.v===t?n.w:n.v,i=e(n);r[t][o]={distance:i,predecessor:t}}))})),o.forEach((function(t){var e=r[t];o.forEach((function(n){var i=r[n];o.forEach((function(n){var r=i[t],o=e[n],a=i[n],s=r.distance+o.distance;s0){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(c)throw new Error("Input graph is not connected: "+t);c=!0}t.nodeEdges(n).forEach(l)}return a}t.exports=a},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js": /*!*****************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js ***! \*****************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var e=0,n=[],o={},i=[];function a(s){var u=o[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach((function(t){r.has(o,t)?o[t].onStack&&(u.lowlink=Math.min(u.lowlink,o[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,o[t].lowlink))})),u.lowlink===u.index){var l,c=[];do{l=n.pop(),o[l].onStack=!1,c.push(l)}while(s!==l);i.push(c)}}return t.nodes().forEach((function(t){r.has(o,t)||a(t)})),i}t.exports=o},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js": /*!******************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js ***! \******************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var e={},n={},o=[];function a(s){if(r.has(n,s))throw new i;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],o.push(s))}if(r.each(t.sinks(),a),r.size(e)!==t.nodeCount())throw new i;return o}function i(){}t.exports=o,o.CycleException=i,i.prototype=new Error},"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js": /*!**************************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js ***! \**************************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(){this._arr=[],this._keyIndices={}}t.exports=o,o.prototype.size=function(){return this._arr.length},o.prototype.keys=function(){return this._arr.map((function(t){return t.key}))},o.prototype.has=function(t){return r.has(this._keyIndices,t)},o.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},o.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},o.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var o=this._arr,i=o.length;return n[t]=i,o.push({key:t,priority:e}),this._decrease(i),!0}return!1},o.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},o.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},o.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,o=t;n>1,n[e].priorityu){var l=s;s=u,u=l}return s+a+u+a+(r.isUndefined(i)?o:i)}function d(t,e,n,r){var o=""+e,i=""+n;if(!t&&o>i){var a=o;o=i,i=a}var s={v:o,w:i};return r&&(s.name=r),s}function f(t,e){return c(t,e.v,e.w,e.name)}s.prototype._nodeCount=0,s.prototype._edgeCount=0,s.prototype.isDirected=function(){return this._isDirected},s.prototype.isMultigraph=function(){return this._isMultigraph},s.prototype.isCompound=function(){return this._isCompound},s.prototype.setGraph=function(t){return this._label=t,this},s.prototype.graph=function(){return this._label},s.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},s.prototype.nodeCount=function(){return this._nodeCount},s.prototype.nodes=function(){return r.keys(this._nodes)},s.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._in[e])}))},s.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._out[e])}))},s.prototype.setNodes=function(t,e){var n=arguments,o=this;return r.each(t,(function(t){n.length>1?o.setNode(t,e):o.setNode(t)})),this},s.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=i,this._children[t]={},this._children[i][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},s.prototype.node=function(t){return this._nodes[t]},s.prototype.hasNode=function(t){return r.has(this._nodes,t)},s.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},s.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e=i;else{e+="";for(var n=e;!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},s.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},s.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if(e!==i)return e}},s.prototype.children=function(t){if(r.isUndefined(t)&&(t=i),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if(t===i)return this.nodes();if(this.hasNode(t))return[]}},s.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},s.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},s.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},s.prototype.isLeaf=function(t){var e;return e=this.isDirected()?this.successors(t):this.neighbors(t),0===e.length},s.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),r.each(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var o={};function i(t){var r=n.parent(t);return void 0===r||e.hasNode(r)?(o[t]=r,r):r in o?o[r]:i(r)}return this._isCompound&&r.each(e.nodes(),(function(t){e.setParent(t,i(t))})),e},s.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},s.prototype.edgeCount=function(){return this._edgeCount},s.prototype.edges=function(){return r.values(this._edgeObjs)},s.prototype.setPath=function(t,e){var n=this,o=arguments;return r.reduce(t,(function(t,r){return o.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this},s.prototype.setEdge=function(){var t,e,n,o,i=!1,a=arguments[0];"object"===typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(o=arguments[1],i=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var s=c(this._isDirected,t,e,n);if(r.has(this._edgeLabels,s))return i&&(this._edgeLabels[s]=o),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=i?o:this._defaultEdgeLabelFn(t,e,n);var l=d(this._isDirected,t,e,n);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[s]=l,u(this._preds[e],t),u(this._sucs[t],e),this._in[e][s]=l,this._out[t][s]=l,this._edgeCount++,this},s.prototype.edge=function(t,e,n){var r=1===arguments.length?f(this._isDirected,arguments[0]):c(this._isDirected,t,e,n);return this._edgeLabels[r]},s.prototype.hasEdge=function(t,e,n){var o=1===arguments.length?f(this._isDirected,arguments[0]):c(this._isDirected,t,e,n);return r.has(this._edgeLabels,o)},s.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?f(this._isDirected,arguments[0]):c(this._isDirected,t,e,n),o=this._edgeObjs[r];return o&&(t=o.v,e=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],l(this._preds[e],t),l(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},s.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var o=r.values(n);return e?r.filter(o,(function(t){return t.v===e})):o}},s.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var o=r.values(n);return e?r.filter(o,(function(t){return t.w===e})):o}},s.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js": /*!************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/index.js ***! \************************************************************/ /*! no static exports found */function(t,e,n){t.exports={Graph:n(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),version:n(/*! ./version */"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js": /*!***********************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/json.js ***! \***********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js");function i(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:a(t),edges:s(t)};return r.isUndefined(t.graph())||(e.value=r.clone(t.graph())),e}function a(t){return r.map(t.nodes(),(function(e){var n=t.node(e),o=t.parent(e),i={v:e};return r.isUndefined(n)||(i.value=n),r.isUndefined(o)||(i.parent=o),i}))}function s(t){return r.map(t.edges(),(function(e){var n=t.edge(e),o={v:e.v,w:e.w};return r.isUndefined(e.name)||(o.name=e.name),r.isUndefined(n)||(o.value=n),o}))}function u(t){var e=new o(t.options).setGraph(t.value);return r.each(t.nodes,(function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)})),r.each(t.edges,(function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),e}t.exports={write:i,read:u}},"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js": /*!*************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r;try{r={clone:n(/*! lodash/clone */"./node_modules/_lodash@4.17.15@lodash/clone.js"),constant:n(/*! lodash/constant */"./node_modules/_lodash@4.17.15@lodash/constant.js"),each:n(/*! lodash/each */"./node_modules/_lodash@4.17.15@lodash/each.js"),filter:n(/*! lodash/filter */"./node_modules/_lodash@4.17.15@lodash/filter.js"),has:n(/*! lodash/has */"./node_modules/_lodash@4.17.15@lodash/has.js"),isArray:n(/*! lodash/isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),isEmpty:n(/*! lodash/isEmpty */"./node_modules/_lodash@4.17.15@lodash/isEmpty.js"),isFunction:n(/*! lodash/isFunction */"./node_modules/_lodash@4.17.15@lodash/isFunction.js"),isUndefined:n(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.15@lodash/isUndefined.js"),keys:n(/*! lodash/keys */"./node_modules/_lodash@4.17.15@lodash/keys.js"),map:n(/*! lodash/map */"./node_modules/_lodash@4.17.15@lodash/map.js"),reduce:n(/*! lodash/reduce */"./node_modules/_lodash@4.17.15@lodash/reduce.js"),size:n(/*! lodash/size */"./node_modules/_lodash@4.17.15@lodash/size.js"),transform:n(/*! lodash/transform */"./node_modules/_lodash@4.17.15@lodash/transform.js"),union:n(/*! lodash/union */"./node_modules/_lodash@4.17.15@lodash/union.js"),values:n(/*! lodash/values */"./node_modules/_lodash@4.17.15@lodash/values.js")}}catch(o){}r||(r=window._),t.exports=r},"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js": /*!**************************************************************!*\ !*** ./node_modules/_graphlib@2.1.8@graphlib/lib/version.js ***! \**************************************************************/ /*! no static exports found */function(t,e){t.exports="2.1.8"},"./node_modules/_isarray@0.0.1@isarray/index.js": /*!******************************************************!*\ !*** ./node_modules/_isarray@0.0.1@isarray/index.js ***! \******************************************************/ /*! no static exports found */function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},"./node_modules/_lodash@4.17.15@lodash/_DataView.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_DataView.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.15@lodash/_getNative.js"),o=n(/*! ./_root */"./node_modules/_lodash@4.17.15@lodash/_root.js"),i=r(o,"DataView");t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_Hash.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_Hash.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_hashClear */"./node_modules/_lodash@4.17.15@lodash/_hashClear.js"),o=n(/*! ./_hashDelete */"./node_modules/_lodash@4.17.15@lodash/_hashDelete.js"),i=n(/*! ./_hashGet */"./node_modules/_lodash@4.17.15@lodash/_hashGet.js"),a=n(/*! ./_hashHas */"./node_modules/_lodash@4.17.15@lodash/_hashHas.js"),s=n(/*! ./_hashSet */"./node_modules/_lodash@4.17.15@lodash/_hashSet.js");function u(t){var e=-1,n=null==t?0:t.length;this.clear();while(++e-1}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_arrayIncludesWith.js": /*!*******************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_arrayIncludesWith.js ***! \*******************************************************************/ /*! no static exports found */function(t,e){function n(t,e,n){var r=-1,o=null==t?0:t.length;while(++r0&&n(c)?e>1?i(c,e-1,n,a,s):r(s,c):a||(s[s.length]=c)}return s}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseFor.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseFor.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_createBaseFor */"./node_modules/_lodash@4.17.15@lodash/_createBaseFor.js"),o=r();t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js ***! \************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFor */"./node_modules/_lodash@4.17.15@lodash/_baseFor.js"),o=n(/*! ./keys */"./node_modules/_lodash@4.17.15@lodash/keys.js");function i(t,e){return t&&r(t,e,o)}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseGet.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseGet.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_castPath */"./node_modules/_lodash@4.17.15@lodash/_castPath.js"),o=n(/*! ./_toKey */"./node_modules/_lodash@4.17.15@lodash/_toKey.js");function i(t,e){e=r(e,t);var n=0,i=e.length;while(null!=t&&ne}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_baseHas.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseHas.js ***! \*********************************************************/ /*! no static exports found */function(t,e){var n=Object.prototype,r=n.hasOwnProperty;function o(t,e){return null!=t&&r.call(t,e)}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_baseHasIn.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseHasIn.js ***! \***********************************************************/ /*! no static exports found */function(t,e){function n(t,e){return null!=t&&e in Object(t)}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_baseIndexOf.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIndexOf.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFindIndex */"./node_modules/_lodash@4.17.15@lodash/_baseFindIndex.js"),o=n(/*! ./_baseIsNaN */"./node_modules/_lodash@4.17.15@lodash/_baseIsNaN.js"),i=n(/*! ./_strictIndexOf */"./node_modules/_lodash@4.17.15@lodash/_strictIndexOf.js");function a(t,e,n){return e===e?i(t,e,n):r(t,o,n)}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_baseIsArguments.js": /*!*****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsArguments.js ***! \*****************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Arguments]";function a(t){return o(t)&&r(t)==i}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsEqualDeep */"./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js");function i(t,e,n,a,s){return t===e||(null==t||null==e||!o(t)&&!o(e)?t!==t&&e!==e:r(t,e,n,a,i,s))}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js": /*!*****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js ***! \*****************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n(/*! ./_equalArrays */"./node_modules/_lodash@4.17.15@lodash/_equalArrays.js"),i=n(/*! ./_equalByTag */"./node_modules/_lodash@4.17.15@lodash/_equalByTag.js"),a=n(/*! ./_equalObjects */"./node_modules/_lodash@4.17.15@lodash/_equalObjects.js"),s=n(/*! ./_getTag */"./node_modules/_lodash@4.17.15@lodash/_getTag.js"),u=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),l=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),c=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js"),d=1,f="[object Arguments]",h="[object Array]",_="[object Object]",v=Object.prototype,p=v.hasOwnProperty;function g(t,e,n,v,g,m){var y=u(t),b=u(e),j=y?h:s(t),w=b?h:s(e);j=j==f?_:j,w=w==f?_:w;var x=j==_,E=w==_,M=j==w;if(M&&l(t)){if(!l(e))return!1;y=!0,x=!1}if(M&&!x)return m||(m=new r),y||c(t)?o(t,e,n,v,g,m):i(t,e,j,n,v,g,m);if(!(n&d)){var S=x&&p.call(t,"__wrapped__"),T=E&&p.call(e,"__wrapped__");if(S||T){var k=S?t.value():t,P=T?e.value():e;return m||(m=new r),g(k,P,n,v,m)}}return!!M&&(m||(m=new r),a(t,e,n,v,g,m))}t.exports=g},"./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js ***! \***********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getTag */"./node_modules/_lodash@4.17.15@lodash/_getTag.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Map]";function a(t){return o(t)&&r(t)==i}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_baseIsMatch.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_baseIsMatch.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_Stack */"./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n(/*! ./_baseIsEqual */"./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js"),i=1,a=2;function s(t,e,n,s){var u=n.length,l=u,c=!s;if(null==t)return!l;t=Object(t);while(u--){var d=n[u];if(c&&d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}while(++u=l){var p=e?null:s(t);if(p)return u(p);h=!1,d=a,v=new r}else v=e?[]:_;t:while(++ce||a&&s&&l&&!u&&!c||o&&s&&l||!n&&l||!i)return 1;if(!o&&!a&&!c&&t=u)return l;var c=n[o];return l*("desc"==c?-1:1)}}return t.index-e.index}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_copyArray.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_copyArray.js ***! \***********************************************************/ /*! no static exports found */function(t,e){function n(t,e){var n=-1,r=t.length;e||(e=Array(r));while(++n1?n[i-1]:void 0,s=i>2?n[2]:void 0;a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);while(++r-1?s[u?e[l]:l]:void 0}}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_createRange.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_createRange.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseRange */"./node_modules/_lodash@4.17.15@lodash/_baseRange.js"),o=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),i=n(/*! ./toFinite */"./node_modules/_lodash@4.17.15@lodash/toFinite.js");function a(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?ef))return!1;var _=c.get(t);if(_&&c.get(e))return _==e;var v=-1,p=!0,g=n&s?new r:void 0;c.set(t,e),c.set(e,t);while(++v-1&&t%1==0&&t-1}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_listCacheSet.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_listCacheSet.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js");function o(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheClear.js": /*!***************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheClear.js ***! \***************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_Hash */"./node_modules/_lodash@4.17.15@lodash/_Hash.js"),o=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),i=n(/*! ./_Map */"./node_modules/_lodash@4.17.15@lodash/_Map.js");function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_mapCacheDelete.js": /*!****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheDelete.js ***! \****************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(t){var e=r(this,t)["delete"](t);return this.size-=e?1:0,e}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheGet.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheGet.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(t){return r(this,t).get(t)}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheHas.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheHas.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(t){return r(this,t).has(t)}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapCacheSet.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapCacheSet.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getMapData */"./node_modules/_lodash@4.17.15@lodash/_getMapData.js");function o(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_mapToArray.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_mapToArray.js ***! \************************************************************/ /*! no static exports found */function(t,e){function n(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js": /*!*************************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js ***! \*************************************************************************/ /*! no static exports found */function(t,e){function n(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_memoizeCapped.js": /*!***************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_memoizeCapped.js ***! \***************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./memoize */"./node_modules/_lodash@4.17.15@lodash/memoize.js"),o=500;function i(t){var e=r(t,(function(t){return n.size===o&&n.clear(),t})),n=e.cache;return e}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_getNative */"./node_modules/_lodash@4.17.15@lodash/_getNative.js"),o=r(Object,"create");t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_nativeKeys.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nativeKeys.js ***! \************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_overArg */"./node_modules/_lodash@4.17.15@lodash/_overArg.js"),o=r(Object.keys,Object);t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_nativeKeysIn.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nativeKeysIn.js ***! \**************************************************************/ /*! no static exports found */function(t,e){function n(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){(function(t){var r=n(/*! ./_freeGlobal */"./node_modules/_lodash@4.17.15@lodash/_freeGlobal.js"),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,s=a&&r.process,u=function(){try{var t=i&&i.require&&i.require("util").types;return t||s&&s.binding&&s.binding("util")}catch(e){}}();t.exports=u}).call(this,n(/*! ./../_webpack@4.42.1@webpack/buildin/module.js */"./node_modules/_webpack@4.42.1@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.15@lodash/_objectToString.js": /*!****************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_objectToString.js ***! \****************************************************************/ /*! no static exports found */function(t,e){var n=Object.prototype,r=n.toString;function o(t){return r.call(t)}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_overArg.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_overArg.js ***! \*********************************************************/ /*! no static exports found */function(t,e){function n(t,e){return function(n){return t(e(n))}}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_overRest.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_overRest.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_apply */"./node_modules/_lodash@4.17.15@lodash/_apply.js"),o=Math.max;function i(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){var i=arguments,a=-1,s=o(i.length-e,0),u=Array(s);while(++a0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_stackClear.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackClear.js ***! \************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.15@lodash/_ListCache.js");function o(){this.__data__=new r,this.size=0}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_stackDelete.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackDelete.js ***! \*************************************************************/ /*! no static exports found */function(t,e){function n(t){var e=this.__data__,n=e["delete"](t);return this.size=e.size,n}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_stackGet.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackGet.js ***! \**********************************************************/ /*! no static exports found */function(t,e){function n(t){return this.__data__.get(t)}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_stackHas.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackHas.js ***! \**********************************************************/ /*! no static exports found */function(t,e){function n(t){return this.__data__.has(t)}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/_stackSet.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/_stackSet.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_ListCache */"./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),o=n(/*! ./_Map */"./node_modules/_lodash@4.17.15@lodash/_Map.js"),i=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),a=200;function s(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length2?e[2]:void 0;l&&i(e[0],e[1],l)&&(r=1);while(++n-1&&t%1==0&&t<=n}t.exports=r},"./node_modules/_lodash@4.17.15@lodash/isMap.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isMap.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsMap */"./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js"),o=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),i=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),a=i&&i.isMap,s=a?o(a):r;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isObject.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isObject.js ***! \*********************************************************/ /*! no static exports found */function(t,e){function n(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isObjectLike.js ***! \*************************************************************/ /*! no static exports found */function(t,e){function n(t){return null!=t&&"object"==typeof t}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/isPlainObject.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isPlainObject.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object);function f(t){if(!i(t)||r(t)!=a)return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==d}t.exports=f},"./node_modules/_lodash@4.17.15@lodash/isSet.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isSet.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsSet */"./node_modules/_lodash@4.17.15@lodash/_baseIsSet.js"),o=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),i=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),a=i&&i.isSet,s=a?o(a):r;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isString.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isString.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),i=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),a="[object String]";function s(t){return"string"==typeof t||!o(t)&&i(t)&&r(t)==a}t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isSymbol.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isSymbol.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n(/*! ./isObjectLike */"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Symbol]";function a(t){return"symbol"==typeof t||o(t)&&r(t)==i}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isTypedArray.js ***! \*************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseIsTypedArray */"./node_modules/_lodash@4.17.15@lodash/_baseIsTypedArray.js"),o=n(/*! ./_baseUnary */"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),i=n(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isUndefined.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/isUndefined.js ***! \************************************************************/ /*! no static exports found */function(t,e){function n(t){return void 0===t}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/keys.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/keys.js ***! \*****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js"),o=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),i=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");function a(t){return i(t)?r(t):o(t)}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/keysIn.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/keysIn.js ***! \*******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js"),o=n(/*! ./_baseKeysIn */"./node_modules/_lodash@4.17.15@lodash/_baseKeysIn.js"),i=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");function a(t){return i(t)?r(t,!0):o(t)}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/last.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/last.js ***! \*****************************************************/ /*! no static exports found */function(t,e){function n(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/map.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/map.js ***! \****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayMap */"./node_modules/_lodash@4.17.15@lodash/_arrayMap.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n(/*! ./_baseMap */"./node_modules/_lodash@4.17.15@lodash/_baseMap.js"),a=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js");function s(t,e){var n=a(t)?r:i;return n(t,o(e,3))}t.exports=s},"./node_modules/_lodash@4.17.15@lodash/mapValues.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/mapValues.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js"),o=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),i=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js");function a(t,e){var n={};return e=i(e,3),o(t,(function(t,o,i){r(n,o,e(t,o,i))})),n}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/max.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/max.js ***! \****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n(/*! ./_baseGt */"./node_modules/_lodash@4.17.15@lodash/_baseGt.js"),i=n(/*! ./identity */"./node_modules/_lodash@4.17.15@lodash/identity.js");function a(t){return t&&t.length?r(t,i,o):void 0}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/memoize.js": /*!********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/memoize.js ***! \********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_MapCache */"./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},"./node_modules/_lodash@4.17.15@lodash/merge.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/merge.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseMerge */"./node_modules/_lodash@4.17.15@lodash/_baseMerge.js"),o=n(/*! ./_createAssigner */"./node_modules/_lodash@4.17.15@lodash/_createAssigner.js"),i=o((function(t,e,n){r(t,e,n)}));t.exports=i},"./node_modules/_lodash@4.17.15@lodash/min.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/min.js ***! \****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n(/*! ./_baseLt */"./node_modules/_lodash@4.17.15@lodash/_baseLt.js"),i=n(/*! ./identity */"./node_modules/_lodash@4.17.15@lodash/identity.js");function a(t){return t&&t.length?r(t,i,o):void 0}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/minBy.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/minBy.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n(/*! ./_baseLt */"./node_modules/_lodash@4.17.15@lodash/_baseLt.js");function a(t,e){return t&&t.length?r(t,o(e,2),i):void 0}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/noop.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/noop.js ***! \*****************************************************/ /*! no static exports found */function(t,e){function n(){}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/now.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/now.js ***! \****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_root */"./node_modules/_lodash@4.17.15@lodash/_root.js"),o=function(){return r.Date.now()};t.exports=o},"./node_modules/_lodash@4.17.15@lodash/pick.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/pick.js ***! \*****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_basePick */"./node_modules/_lodash@4.17.15@lodash/_basePick.js"),o=n(/*! ./_flatRest */"./node_modules/_lodash@4.17.15@lodash/_flatRest.js"),i=o((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},"./node_modules/_lodash@4.17.15@lodash/property.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/property.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseProperty */"./node_modules/_lodash@4.17.15@lodash/_baseProperty.js"),o=n(/*! ./_basePropertyDeep */"./node_modules/_lodash@4.17.15@lodash/_basePropertyDeep.js"),i=n(/*! ./_isKey */"./node_modules/_lodash@4.17.15@lodash/_isKey.js"),a=n(/*! ./_toKey */"./node_modules/_lodash@4.17.15@lodash/_toKey.js");function s(t){return i(t)?r(a(t)):o(t)}t.exports=s},"./node_modules/_lodash@4.17.15@lodash/range.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/range.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_createRange */"./node_modules/_lodash@4.17.15@lodash/_createRange.js"),o=r();t.exports=o},"./node_modules/_lodash@4.17.15@lodash/reduce.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/reduce.js ***! \*******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayReduce */"./node_modules/_lodash@4.17.15@lodash/_arrayReduce.js"),o=n(/*! ./_baseEach */"./node_modules/_lodash@4.17.15@lodash/_baseEach.js"),i=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),a=n(/*! ./_baseReduce */"./node_modules/_lodash@4.17.15@lodash/_baseReduce.js"),s=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js");function u(t,e,n){var u=s(t)?r:a,l=arguments.length<3;return u(t,i(e,4),n,l,o)}t.exports=u},"./node_modules/_lodash@4.17.15@lodash/size.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/size.js ***! \*****************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseKeys */"./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),o=n(/*! ./_getTag */"./node_modules/_lodash@4.17.15@lodash/_getTag.js"),i=n(/*! ./isArrayLike */"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),a=n(/*! ./isString */"./node_modules/_lodash@4.17.15@lodash/isString.js"),s=n(/*! ./_stringSize */"./node_modules/_lodash@4.17.15@lodash/_stringSize.js"),u="[object Map]",l="[object Set]";function c(t){if(null==t)return 0;if(i(t))return a(t)?s(t):t.length;var e=o(t);return e==u||e==l?t.size:r(t).length}t.exports=c},"./node_modules/_lodash@4.17.15@lodash/sortBy.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/sortBy.js ***! \*******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js"),o=n(/*! ./_baseOrderBy */"./node_modules/_lodash@4.17.15@lodash/_baseOrderBy.js"),i=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),a=n(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),s=i((function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,r(e,1),[])}));t.exports=s},"./node_modules/_lodash@4.17.15@lodash/stubArray.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/stubArray.js ***! \**********************************************************/ /*! no static exports found */function(t,e){function n(){return[]}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/stubFalse.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/stubFalse.js ***! \**********************************************************/ /*! no static exports found */function(t,e){function n(){return!1}t.exports=n},"./node_modules/_lodash@4.17.15@lodash/toFinite.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toFinite.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./toNumber */"./node_modules/_lodash@4.17.15@lodash/toNumber.js"),o=1/0,i=17976931348623157e292;function a(t){if(!t)return 0===t?t:0;if(t=r(t),t===o||t===-o){var e=t<0?-1:1;return e*i}return t===t?t:0}t.exports=a},"./node_modules/_lodash@4.17.15@lodash/toInteger.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toInteger.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./toFinite */"./node_modules/_lodash@4.17.15@lodash/toFinite.js");function o(t){var e=r(t),n=e%1;return e===e?n?e-n:e:0}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/toNumber.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toNumber.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./isObject */"./node_modules/_lodash@4.17.15@lodash/isObject.js"),o=n(/*! ./isSymbol */"./node_modules/_lodash@4.17.15@lodash/isSymbol.js"),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;function d(t){if("number"==typeof t)return t;if(o(t))return i;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=u.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):s.test(t)?i:+t}t.exports=d},"./node_modules/_lodash@4.17.15@lodash/toPlainObject.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toPlainObject.js ***! \**************************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_copyObject */"./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n(/*! ./keysIn */"./node_modules/_lodash@4.17.15@lodash/keysIn.js");function i(t){return r(t,o(t))}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/toString.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/toString.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseToString */"./node_modules/_lodash@4.17.15@lodash/_baseToString.js");function o(t){return null==t?"":r(t)}t.exports=o},"./node_modules/_lodash@4.17.15@lodash/transform.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/transform.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_arrayEach */"./node_modules/_lodash@4.17.15@lodash/_arrayEach.js"),o=n(/*! ./_baseCreate */"./node_modules/_lodash@4.17.15@lodash/_baseCreate.js"),i=n(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),a=n(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),s=n(/*! ./_getPrototype */"./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),u=n(/*! ./isArray */"./node_modules/_lodash@4.17.15@lodash/isArray.js"),l=n(/*! ./isBuffer */"./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),c=n(/*! ./isFunction */"./node_modules/_lodash@4.17.15@lodash/isFunction.js"),d=n(/*! ./isObject */"./node_modules/_lodash@4.17.15@lodash/isObject.js"),f=n(/*! ./isTypedArray */"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js");function h(t,e,n){var h=u(t),_=h||l(t)||f(t);if(e=a(e,4),null==n){var v=t&&t.constructor;n=_?h?new v:[]:d(t)&&c(v)?o(s(t)):{}}return(_?r:i)(t,(function(t,r,o){return e(n,t,r,o)})),n}t.exports=h},"./node_modules/_lodash@4.17.15@lodash/union.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/union.js ***! \******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js"),o=n(/*! ./_baseRest */"./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),i=n(/*! ./_baseUniq */"./node_modules/_lodash@4.17.15@lodash/_baseUniq.js"),a=n(/*! ./isArrayLikeObject */"./node_modules/_lodash@4.17.15@lodash/isArrayLikeObject.js"),s=o((function(t){return i(r(t,1,a,!0))}));t.exports=s},"./node_modules/_lodash@4.17.15@lodash/uniqueId.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/uniqueId.js ***! \*********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./toString */"./node_modules/_lodash@4.17.15@lodash/toString.js"),o=0;function i(t){var e=++o;return r(t)+e}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/values.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/values.js ***! \*******************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_baseValues */"./node_modules/_lodash@4.17.15@lodash/_baseValues.js"),o=n(/*! ./keys */"./node_modules/_lodash@4.17.15@lodash/keys.js");function i(t){return null==t?[]:r(t,o(t))}t.exports=i},"./node_modules/_lodash@4.17.15@lodash/zipObject.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.15@lodash/zipObject.js ***! \**********************************************************/ /*! no static exports found */function(t,e,n){var r=n(/*! ./_assignValue */"./node_modules/_lodash@4.17.15@lodash/_assignValue.js"),o=n(/*! ./_baseZipObject */"./node_modules/_lodash@4.17.15@lodash/_baseZipObject.js");function i(t,e){return o(t||[],e||[],r)}t.exports=i},"./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js": /*!********************************************************************!*\ !*** ./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js ***! \********************************************************************/ /*! no static exports found */function(t,e){t.exports=o;var n={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=/([astvzqmhlc])([^astvzqmhlc]*)/gi;function o(t){var e=[];return t.replace(r,(function(t,r,o){var i=r.toLowerCase();o=a(o),"m"==i&&o.length>2&&(e.push([r].concat(o.splice(0,2))),i="l",r="m"==r?"l":"L");while(1){if(o.length==n[i])return o.unshift(r),e.push(o);if(o.length=t){var _=(i-t)/(i-r[2]),v=[n[0]*(1-_)+r[0]*_,n[1]*(1-_)+r[1]*_];return{length:i,pos:v}}r[0]=n[0],r[1]=n[1],r[2]=i}}else if("Q"===u[0]){r[0]=o[0]=n[0],r[1]=o[1]=n[1],r[2]=i;for(l=100,c=0;c<=l;c++){d=c/l,f=m(u,d),h=y(u,d);if(i+=s(n[0],n[1],f,h),n[0]=f,n[1]=h,"number"===typeof t&&i>=t){_=(i-t)/(i-r[2]),v=[n[0]*(1-_)+r[0]*_,n[1]*(1-_)+r[1]*_];return{length:i,pos:v}}r[0]=n[0],r[1]=n[1],r[2]=i}}else if("L"===u[0]){if(r[0]=n[0],r[1]=n[1],r[2]=i,i+=s(n[0],n[1],u[1],u[2]),n[0]=u[1],n[1]=u[2],"number"===typeof t&&i>=t){_=(i-t)/(i-r[2]),v=[n[0]*(1-_)+r[0]*_,n[1]*(1-_)+r[1]*_];return{length:i,pos:v}}r[0]=n[0],r[1]=n[1],r[2]=i}}return{length:i,pos:n};function p(t,e){return Math.pow(1-e,3)*o[0]+3*Math.pow(1-e,2)*e*t[1]+3*(1-e)*Math.pow(e,2)*t[3]+Math.pow(e,3)*t[5]}function g(t,e){return Math.pow(1-e,3)*o[1]+3*Math.pow(1-e,2)*e*t[2]+3*(1-e)*Math.pow(e,2)*t[4]+Math.pow(e,3)*t[6]}function m(t,e){return Math.pow(1-e,2)*o[0]+2*(1-e)*e*t[1]+Math.pow(e,2)*t[3]}function y(t,e){return Math.pow(1-e,2)*o[1]+2*(1-e)*e*t[2]+Math.pow(e,2)*t[4]}}},"./node_modules/_regression@2.0.1@regression/dist/regression.js": /*!**********************************************************************!*\ !*** ./node_modules/_regression@2.0.1@regression/dist/regression.js ***! \**********************************************************************/ /*! no static exports found */function(t,e,n){var r,o,i;(function(n,a){o=[t],r=a,i="function"===typeof r?r.apply(e,o):r,void 0===i||(t.exports=i)})(0,(function(t){"use strict";function e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var n=Object.assign||function(t){for(var e=1;eMath.abs(n[i][a])&&(a=s);for(var u=i;u=i;d--)n[d][c]-=n[d][i]*n[i][c]/n[i][i]}for(var f=r-1;f>=0;f--){for(var h=0,_=f+1;_=0;j--)b+=j>1?g[j]+"x^"+j+" + ":1===j?g[j]+"x + ":g[j];return{string:b,points:y,predict:m,equation:[].concat(r(g)).reverse(),r2:s(i(t,y),e.precision)}}};function l(){var t=function(t,r){return n({_round:s},t,e({},r,(function(t,e){return u[r](t,n({},o,e))})))};return Object.keys(u).reduce(t,{})}t.exports=l()}))},"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js": /*!***********************************************************************************************!*\ !*** ./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js ***! \***********************************************************************************************/ /*! no static exports found */function(t,e,n){!function(t,n){n(e)}(0,(function(t){"use strict";function e(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,o=1;o=Math.abs(t[o])?r+=n-e+t[o]:r+=t[o]-e+n,n=e;return n+r}function n(t){if(0===t.length)throw new Error("mean requires at least one data point");return e(t)/t.length}function r(t,e){var r,o,i=n(t),a=0;if(2===e)for(o=0;oe&&(e=t[n]);return e}function c(t,e){var n=t.length*e;if(0===t.length)throw new Error("quantile requires at least one data point.");if(e<0||1l&&f(t,n,r);cl;)h--}t[n]===l?f(t,n,h):f(t,++h,r),h<=e&&(n=h+1),e<=h&&(r=h-1)}}function f(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function h(t,e){var n=t.slice();if(Array.isArray(e)){!function(t,e){for(var n=[0],r=0;rt[t.length-1])return 1;var n=function(t,e){for(var n=0,r=0,o=t.length;r>>1]?o=n:r=-~n;return r}(t,e);if(t[n]!==e)return n/t.length;n++;var r=function(t,e){for(var n=0,r=0,o=t.length;r=t[n=r+o>>>1]?r=-~n:o=n;return r}(t,e);if(r===n)return n/t.length;var o=r-n+1;return o*(r+n)/2/o/t.length}function m(t){var e=h(t,.75),n=h(t,.25);if("number"==typeof e&&"number"==typeof n)return e-n}function y(t){return+h(t,.5)}function b(t){for(var e=y(t),n=[],r=0;r=r[n][s]);--h)(c=M(u,s,i,a)+r[n-1][u-1])n&&(n=t[r]),t[r]t.length)throw new Error("cannot generate more classes than there are data values");var n=s(t);if(1===x(n))return[n];var r=E(e,n.length),o=E(e,n.length);!function(t,e,n){for(var r,o=e[0].length,i=t[Math.floor(o/2)],a=[],s=[],u=0;u=Math.abs(i)&&(h+=1);else if("greater"===r)for(l=0;l<=o;l++)a[l]>=i&&(h+=1);else for(l=0;l<=o;l++)a[l]<=i&&(h+=1);return h/o},t.bisect=function(t,e,n,r,o){if("function"!=typeof t)throw new TypeError("func must be a function");for(var i=0;ia&&(a=t[0]),t[1]s&&(s=t[1])}function l(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(l);break;case"Point":u(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(u);break}}for(e in t.arcs.forEach((function(t){var e,n=-1,u=t.length;while(++na&&(a=e[0]),e[1]s&&(s=e[1])})),t.objects)l(t.objects[e]);return[o,i,a,s]}function o(t,e){var n,r=t.length,o=r-e;while(o<--r)n=t[o],t[o++]=t[r],t[r]=n}function i(t,e){return"string"===typeof e&&(e=t.objects[e]),"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map((function(e){return a(t,e)}))}:a(t,e)}function a(t,e){var n=e.id,r=e.bbox,o=null==e.properties?{}:e.properties,i=s(t,e);return null==n&&null==r?{type:"Feature",properties:o,geometry:i}:null==r?{type:"Feature",id:n,properties:o,geometry:i}:{type:"Feature",id:n,bbox:r,properties:o,geometry:i}}function s(t,e){var r=n(t.transform),i=t.arcs;function a(t,e){e.length&&e.pop();for(var n=i[t<0?~t:t],a=0,s=n.length;a1)r=d(t,e,n);else for(o=0,r=new Array(i=t.arcs.length);o1)for(var i,a,s=1,c=l(o[0]);sc&&(a=o[0],o[0]=o[s],o[s]=a,c=i);return o})).filter((function(t){return t.length>0}))}}function v(t,e){var n=0,r=t.length;while(n>>1;t[o]=2))throw new Error("n must be ≥2");u=t.bbox||r(t);var n,o=u[0],i=u[1],a=u[2],s=u[3];e={scale:[a-o?(a-o)/(n-1):1,s-i?(s-i)/(n-1):1],translate:[o,i]}}var u,l,c=g(e),d=t.objects,f={};function h(t){return c(t)}function _(t){var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(_)};break;case"Point":e={type:"Point",coordinates:h(t.coordinates)};break;case"MultiPoint":e={type:"MultiPoint",coordinates:t.coordinates.map(h)};break;default:return t}return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}function v(t){var e,n=0,r=1,o=t.length,i=new Array(o);i[0]=c(t[0],0);while(++n=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},l=function(t,e){return function(n,r){e(n,r,t)}},c=function(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)},d=function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function a(t){try{u(r.next(t))}catch(e){i(e)}}function s(t){try{u(r["throw"](t))}catch(e){i(e)}}function u(t){t.done?n(t.value):o(t.value).then(a,s)}u((r=r.apply(t,e||[])).next())}))},f=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,r&&(o=2&i[0]?r["return"]:i[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!(o=o.length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{while((void 0===e||e-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i["return"])&&n.call(i)}finally{if(o)throw o.error}}return a},p=function(){for(var t=[],e=0;e1||s(t,e)}))})}function s(t,e){try{u(o[t](e))}catch(n){d(i[0][3],n)}}function u(t){t.value instanceof m?Promise.resolve(t.value.v).then(l,c):d(i[0][2],t)}function l(t){s("next",t)}function c(t){s("throw",t)}function d(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}},b=function(t){var e,n;return e={},r("next"),r("throw",(function(t){throw t})),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:m(t[r](e)),done:"return"===r}:o?o(e):e}:o}},j=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t="function"===typeof _?_(t):t[Symbol.iterator](),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,i){e=t[n](e),o(r,i,e.done,e.value)}))}}function o(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n})}),e)}},w=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},x=function(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},E=function(t){return t&&t.__esModule?t:{default:t}},M=function(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)},S=function(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n},t("__extends",i),t("__assign",a),t("__rest",s),t("__decorate",u),t("__param",l),t("__metadata",c),t("__awaiter",d),t("__generator",f),t("__exportStar",h),t("__values",_),t("__read",v),t("__spread",p),t("__spreadArrays",g),t("__await",m),t("__asyncGenerator",y),t("__asyncDelegator",b),t("__asyncValues",j),t("__makeTemplateObject",w),t("__importStar",x),t("__importDefault",E),t("__classPrivateFieldGet",M),t("__classPrivateFieldSet",S)}))}).call(this,n(/*! ./../_webpack@4.42.1@webpack/buildin/global.js */"./node_modules/_webpack@4.42.1@webpack/buildin/global.js"))},"./node_modules/_webpack@4.42.1@webpack/buildin/global.js": /*!***********************************!*\ !*** (webpack)/buildin/global.js ***! \***********************************/ /*! no static exports found */function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},"./node_modules/_webpack@4.42.1@webpack/buildin/module.js": /*!***********************************!*\ !*** (webpack)/buildin/module.js ***! \***********************************/ /*! no static exports found */function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js": /*!***************************************************************************************!*\ !*** ./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js ***! \***************************************************************************************/ /*! no static exports found */function(t,e,n){var r; /*! * EventEmitter v5.2.9 - git.io/ee * Unlicense - http://unlicense.org/ * Oliver Caldwell - https://oli.me.uk/ * @preserve */(function(e){"use strict";function o(){}var i=o.prototype,a=e.EventEmitter;function s(t,e){var n=t.length;while(n--)if(t[n].listener===e)return n;return-1}function u(t){return function(){return this[t].apply(this,arguments)}}function l(t){return"function"===typeof t||t instanceof RegExp||!(!t||"object"!==typeof t)&&l(t.listener)}i.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},i.flattenListeners=function(t){var e,n=[];for(e=0;eI&&(I=t.count)})),o.forIn(S,(function(t){var n=t.x,r=t.y,o=t.count,i={};i[O]=o,e.sizeByCount?(i[k]=A.map((function(e){return n+t.count/I*e[0]})),i[P]=A.map((function(e){return(r+t.count/I*e[1])/E}))):(i[k]=A.map((function(t){return n+t[0]})),i[P]=A.map((function(t){return(r+t[1])/E}))),N.push(i)})),t.rows=N}i.DataSet.registerTransform("bin.hexagon",_),i.DataSet.registerTransform("bin.hex",_),i.DataSet.registerTransform("hexbin",_)},"./src/transform/bin/histogram.ts": /*!****************************************!*\ !*** ./src/transform/bin/histogram.ts ***! \****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n(/*! ../../util/partition */"./src/util/partition.ts")),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={as:["x","count"],bins:30,offset:0,groupBy:[]};function l(t,e,n){var r=t-n,o=Math.floor(r/e);return[o*e+n,(o+1)*e+n]}function c(t,e){e=o.assign({},u,e);var n=s.getField(e);if(0!==t.rows.length){var a=t.range(n),c=a[1]-a[0],d=e.binWidth;if(!d){var f=e.bins;if(f<=0)throw new TypeError("Invalid bins: it must be a positive number!");d=c/f}var h=e.offset%d,_=[],v=e.groupBy,p=i.default(t.rows,v);o.forIn(p,(function(t){var i={},a=t.map((function(t){return t[n]}));a.forEach((function(t){var e=r.__read(l(t,d,h),2),n=e[0],o=e[1],a=n+"-"+o;i[a]=i[a]||{x0:n,x1:o,count:0},i[a].count++}));var s=r.__read(e.as,2),u=s[0],c=s[1];if(!u||!c)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var f=o.pick(t[0],v);o.forIn(i,(function(t){var e=o.assign({},f);e[u]=[t.x0,t.x1],e[c]=t.count,_.push(e)}))})),t.rows=_}}a.DataSet.registerTransform("bin.histogram",c),a.DataSet.registerTransform("bin.dot",c)},"./src/transform/bin/quantile.ts": /*!***************************************!*\ !*** ./src/transform/bin/quantile.ts ***! \***************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n(/*! ../../util/partition */"./src/util/partition.ts")),s=r.__importDefault(n(/*! ../../util/p-by-fraction */"./src/util/p-by-fraction.ts")),u=n(/*! ../../data-set */"./src/data-set.ts"),l=u.DataSet.registerTransform,c=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),d={as:"_bin",groupBy:[],fraction:4};function f(t,e){e=o.assign({},d,e);var n=c.getField(e),r=e.as;if(!o.isString(r))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var u=e.p,l=e.fraction;o.isArray(u)&&0!==u.length||(u=s.default(l));var f=t.rows,h=e.groupBy,_=a.default(f,h),v=[];o.forIn(_,(function(t){var e=t[0],o=t.map((function(t){return t[n]})),a=u.map((function(t){return i.quantile(o,t)}));e[r]=a,v.push(e)})),t.rows=v}l("bin.quantile",f)},"./src/transform/bin/rectangle.ts": /*!****************************************!*\ !*** ./src/transform/bin/rectangle.ts ***! \****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a=i.DataSet.registerTransform,s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};function l(t,e,n){var r=t-n,o=Math.floor(r/e);return[o*e+n,(o+1)*e+n]}function c(t,e){e=o.assign({},u,e);var n=r.__read(s.getFields(e),2),i=n[0],a=n[1];if(!i||!a)throw new TypeError("Invalid fields: must be an array with 2 strings!");var c=t.range(i),d=t.range(a),f=c[1]-c[0],h=d[1]-d[0],_=e.binWidth||[];if(2!==_.length){var v=r.__read(e.bins,2),p=v[0],g=v[1];if(p<=0||g<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");_=[f/p,h/g]}var m=t.rows.map((function(t){return[t[i],t[a]]})),y={},b=r.__read(e.offset,2),j=b[0],w=b[1];m.forEach((function(t){var e=r.__read(l(t[0],_[0],j),2),n=e[0],o=e[1],i=r.__read(l(t[1],_[1],w),2),a=i[0],s=i[1],u=n+"-"+o+"-"+a+"-"+s;y[u]=y[u]||{x0:n,x1:o,y0:a,y1:s,count:0},y[u].count++}));var x=[],E=r.__read(e.as,3),M=E[0],S=E[1],T=E[2];if(!M||!S||!T)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(e.sizeByCount){var k=0;o.forIn(y,(function(t){t.count>k&&(k=t.count)})),o.forIn(y,(function(t){var e=t.x0,n=t.x1,o=t.y0,i=t.y1,a=t.count,s=a/k,u=r.__read([(e+n)/2,(o+i)/2],2),l=u[0],c=u[1],d=(n-e)*s/2,f=(i-o)*s/2,h=l-d,_=l+d,v=c-f,p=c+f,g={};g[M]=[h,_,_,h],g[S]=[v,v,p,p],g[T]=a,x.push(g)}))}else o.forIn(y,(function(t){var e={};e[M]=[t.x0,t.x1,t.x1,t.x0],e[S]=[t.y0,t.y0,t.y1,t.y1],e[T]=t.count,x.push(e)}));t.rows=x}a("bin.rectangle",c),a("bin.rect",c)},"./src/transform/default.ts": /*!**********************************!*\ !*** ./src/transform/default.ts ***! \**********************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ../data-set */"./src/data-set.ts");r.DataSet.registerTransform("default",(function(t){return t}))},"./src/transform/diagram/arc.ts": /*!**************************************!*\ !*** ./src/transform/diagram/arc.ts ***! \**************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),i={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t,e,n){return void 0===n&&(n={}),t.forEach((function(t){var r=e.edgeSource(t),o=e.edgeTarget(t);n[r]||(n[r]={id:r}),n[o]||(n[o]={id:o})})),r.values(n)}function s(t,e,n){r.forIn(t,(function(t,r){t.inEdges=e.filter((function(t){return""+n.target(t)===""+r})),t.outEdges=e.filter((function(t){return""+n.source(t)===""+r})),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach((function(e){t.value+=n.targetWeight(e)})),t.outEdges.forEach((function(e){t.value+=n.sourceWeight(e)}))}))}function u(t,e){var n={weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,n){return(""+e.id(t)).localeCompare(""+e.id(n))}},o=n[e.sortBy];!o&&r.isFunction(e.sortBy)&&(o=e.sortBy),o&&t.sort(o)}function l(t,e){var n=t.length;if(!n)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var o=r/(2*n),i=e.thickness;if(i<=0||i>=1)throw new TypeError("Invalid thickness: it must be in range (0, 1)!");var a=0;t.forEach((function(t){a+=t.value})),t.forEach((function(t){t.weight=t.value/a,t.width=t.weight*(1-r),t.height=i})),t.forEach((function(n,r){for(var a=0,s=r-1;s>=0;s--)a+=t[s].width+2*o;var u=n.minX=o+a,l=n.maxX=n.minX+n.width,c=n.minY=e.y-i/2,d=n.maxY=c+i;n.x=[u,l,l,u],n.y=[c,c,d,d]}))}else{var s=1/n;t.forEach((function(t,n){t.x=(n+.5)*s,t.y=e.y}))}}function c(t,e,n){if(n.weight){var o={};r.forIn(t,(function(t,e){o[e]=t.value})),e.forEach((function(e){var r=n.source(e),i=n.target(e),a=t[r],s=t[i];if(a&&s){var u=o[r],l=n.sourceWeight(e),c=a.minX+(a.value-u)/a.value*a.width,d=c+l/a.value*a.width;o[r]-=l;var f=o[i],h=n.targetWeight(e),_=s.minX+(s.value-f)/s.value*s.width,v=_+h/s.value*s.width;o[i]-=h;var p=n.y;e.x=[c,d,_,v],e.y=[p,p,p,p]}}))}else e.forEach((function(e){var r=t[n.source(e)],o=t[n.target(e)];r&&o&&(e.x=[r.x,o.x],e.y=[r.y,o.y])}))}function d(t,e){e=r.assign({},i,e);var n={},o=t.nodes,d=t.edges;r.isArray(o)&&0!==o.length||(o=a(d,e,n)),o.forEach((function(t){var r=e.id(t);n[r]=t})),s(n,d,e),u(o,e),l(o,e),c(n,d,e),t.nodes=o,t.edges=d}o.DataSet.registerTransform("diagram.arc",d),o.DataSet.registerTransform("arc",d)},"./src/transform/diagram/dagre.ts": /*!****************************************!*\ !*** ./src/transform/diagram/dagre.ts ***! \****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n(/*! dagre */"./node_modules/_dagre@0.8.5@dagre/index.js")),a=n(/*! ../../data-set */"./src/data-set.ts"),s={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(t){return t.source},target:function(t){return t.target}};function u(t,e){e=o.assign({},s,e);var n=new i.default.graphlib.Graph;n.setGraph({}),n.setDefaultEdgeLabel((function(){return{}})),t.nodes.forEach((function(t){var r=e.nodeId?e.nodeId(t):t.id;t.height||t.width||(t.height=t.width=e.edgesep),n.setNode(r,t)})),t.edges.forEach((function(t){n.setEdge(e.source(t),e.target(t))})),i.default.layout(n);var r=[],a=[];n.nodes().forEach((function(t){var e=n.node(t),o=e.x,i=e.y,a=e.height,s=e.width;e.x=[o-s/2,o+s/2,o+s/2,o-s/2],e.y=[i+a/2,i+a/2,i-a/2,i-a/2],r.push(e)})),n.edges().forEach((function(t){var e=n.edge(t).points,r={};r.x=e.map((function(t){return t.x})),r.y=e.map((function(t){return t.y})),a.push(r)})),t.nodes=r,t.edges=a}a.DataSet.registerTransform("diagram.dagre",u),a.DataSet.registerTransform("dagre",u)},"./src/transform/diagram/sankey.ts": /*!*****************************************!*\ !*** ./src/transform/diagram/sankey.ts ***! \*****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! d3-sankey */"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js"),i=n(/*! ../../data-set */"./src/data-set.ts"),a={sankeyLeft:o.sankeyLeft,sankeyRight:o.sankeyRight,sankeyCenter:o.sankeyCenter,sankeyJustify:o.sankeyJustify},s={value:function(t){return t.value},source:function(t){return t.source},target:function(t){return t.target},nodeAlign:"sankeyJustify",nodeWidth:.02,nodePadding:.02,sort:void 0};function u(t,e){e=r.assign({},s,e);var n=null;r.isString(e.nodeAlign)?n=a[e.nodeAlign]:r.isFunction(e.nodeAlign)&&(n=e.nodeAlign);var i=o.sankey().nodeSort(e.sort).links((function(t){return t.edges})).nodeWidth(e.nodeWidth).nodePadding(e.nodePadding).extent([[0,0],[1,1]]);r.isFunction(e.nodeId)&&i.nodeId(e.nodeId),n&&i.nodeAlign(n),i(t),t.nodes.forEach((function(t){var e=t.x0,n=t.x1,r=t.y0,o=t.y1;t.x=[e,n,n,e],t.y=[r,r,o,o]})),t.edges.forEach((function(t){var e=t.source,n=t.target,r=e.x1,o=n.x0;t.x=[r,r,o,o];var i=t.width/2;t.y=[t.y0+i,t.y0-i,t.y1+i,t.y1-i]}))}i.DataSet.registerTransform("diagram.sankey",u),i.DataSet.registerTransform("sankey",u)},"./src/transform/diagram/voronoi.ts": /*!******************************************!*\ !*** ./src/transform/diagram/voronoi.ts ***! \******************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-voronoi */"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=n(/*! ../../data-set */"./src/data-set.ts"),s=a.DataSet.registerTransform,u=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={as:["_x","_y"]};function c(t,e){e=i.assign({},l,e);var n=e.as;if(!i.isArray(n)||2!==n.length)throw new TypeError("Invalid as: must be an array with two strings!");var r=n[0],a=n[1],s=u.getFields(e);if(!i.isArray(s)||2!==s.length)throw new TypeError("Invalid fields: must be an array with two strings!");var c=s[0],d=s[1],f=t.rows,h=f.map((function(t){return[t[c],t[d]]})),_=o.voronoi();e.extend&&_.extent(e.extend),e.size&&_.size(e.size);var v=_(h).polygons();f.forEach((function(t,e){var n=v[e].filter((function(t){return!!t}));t[r]=n.map((function(t){return t[0]})),t[a]=n.map((function(t){return t[1]}))}))}s("diagram.voronoi",c),s("voronoi",c)},"./src/transform/fill-rows.ts": /*!************************************!*\ !*** ./src/transform/fill-rows.ts ***! \************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),a=n(/*! ../data-set */"./src/data-set.ts"),s={fillBy:"group",groupBy:[],orderBy:[]};function u(t,e){var n=t.map((function(t){return t}));return e.forEach((function(t){var e=n.indexOf(t);e>-1&&n.splice(e,1)})),n}function l(t,e){e=o.assign({},s,e);var n=t.rows,r=e.groupBy,a=e.orderBy,l=i.default(n,r,a),c=0,d=[];o.forIn(l,(function(t){t.length>c&&(c=t.length,d=t)}));var f=[],h={};if(d.forEach((function(t){var e=a.map((function(e){return t[e]})).join("-");f.push(e),h[e]=t})),"order"===e.fillBy){var _=d[0],v=[],p={};n.forEach((function(t){var e=a.map((function(e){return t[e]})).join("-");-1===v.indexOf(e)&&(v.push(e),p[e]=t)}));var g=u(v,f);g.forEach((function(t){var e={};r.forEach((function(t){e[t]=_[t]})),a.forEach((function(n){e[n]=p[t][n]})),n.push(e),d.push(e),f.push(t),h[t]=e})),c=d.length}o.forIn(l,(function(t){if(t!==d&&t.length=c-t.length)return!0;var s=h[o],u={};return r.forEach((function(t){u[t]=e[t]})),a.forEach((function(t){u[t]=s[t]})),n.push(u),!1}))}}))}a.DataSet.registerTransform("fill-rows",l),a.DataSet.registerTransform("fillRows",l)},"./src/transform/filter.ts": /*!*********************************!*\ !*** ./src/transform/filter.ts ***! \*********************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! ../data-set */"./src/data-set.ts");function o(t){return!!t}r.DataSet.registerTransform("filter",(function(t,e){t.rows=t.rows.filter(e.callback||o)}))},"./src/transform/fold.ts": /*!*******************************!*\ !*** ./src/transform/fold.ts ***! \*******************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../data-set */"./src/data-set.ts"),i=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),a={fields:[],key:"key",retains:[],value:"value"};o.DataSet.registerTransform("fold",(function(t,e){var n=t.getColumnNames();e=r.assign({},a,e);var o=i.getFields(e);0===o.length&&(console.warn("warning: option fields is not specified, will fold all columns."),o=n);var s=e.key,u=e.value,l=e.retains;l&&0!==l.length||(l=r.difference(n,o));var c=[];t.rows.forEach((function(t){o.forEach((function(e){var n=r.pick(t,l);n[s]=e,n[u]=t[e],c.push(n)}))})),t.rows=c}))},"./src/transform/geo/centroid.ts": /*!***************************************!*\ !*** ./src/transform/geo/centroid.ts ***! \***************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),i=o.DataSet.registerTransform,a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["_centroid_x","_centroid_y"]};function u(t,e){e=r.assign({},s,e);var n=a.getField(e),o=e.geoView||e.geoDataView;if(r.isString(o)&&t.dataSet&&(o=t.dataSet.getView(o)),!o||"geo"!==o.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var i=e.as;if(!r.isArray(i)||2!==i.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var u=i[0],l=i[1];t.rows.forEach((function(t){var e=o.geoFeatureByName(t[n]);e&&(o._projectedAs?(t[u]=e[o._projectedAs[2]],t[l]=e[o._projectedAs[3]]):(t[u]=e.centroidX,t[l]=e.centroidY))}))}i("geo.centroid",u)},"./src/transform/geo/projection.ts": /*!*****************************************!*\ !*** ./src/transform/geo/projection.ts ***! \*****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=r.__importDefault(n(/*! point-at-length */"./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),s=n(/*! ../../data-set */"./src/data-set.ts"),u=s.DataSet.registerTransform,l=r.__importDefault(n(/*! ../../util/get-geo-projection */"./src/util/get-geo-projection.ts")),c={as:["_x","_y","_centroid_x","_centroid_y"]};function d(t,e){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");e=o.assign({},c,e);var n=e.projection;if(!n)throw new TypeError("Invalid projection!");n=l.default(n);var s=i.geoPath(n),u=e.as;if(!o.isArray(u)||4!==u.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=u;var d=r.__read(u,4),f=d[0],h=d[1],_=d[2],v=d[3];t.rows.forEach((function(t){t[f]=[],t[h]=[];var e=s(t);if(e){var n=a.default(e);n._path.forEach((function(e){t[f].push(e[1]),t[h].push(e[2])}));var r=s.centroid(t);t[_]=r[0],t[v]=r[1]}})),t.rows=t.rows.filter((function(t){return 0!==t[f].length}))}u("geo.projection",d)},"./src/transform/geo/region.ts": /*!*************************************!*\ !*** ./src/transform/geo/region.ts ***! \*************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n(/*! ../../data-set */"./src/data-set.ts"),i=o.DataSet.registerTransform,a=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["_x","_y"]};function u(t,e){e=r.assign({},s,e);var n=a.getField(e),o=e.geoView||e.geoDataView;if(r.isString(o)&&(o=t.dataSet.getView(o)),!o||"geo"!==o.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var i=e.as;if(!r.isArray(i)||2!==i.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=i[0],l=i[1];t.rows.forEach((function(t){var e=o.geoFeatureByName(t[n]);e&&(o._projectedAs?(t[u]=e[o._projectedAs[0]],t[l]=e[o._projectedAs[1]]):(t[u]=e.longitude,t[l]=e.latitude))}))}i("geo.region",u)},"./src/transform/hierarchy/cluster.ts": /*!********************************************!*\ !*** ./src/transform/hierarchy/cluster.ts ***! \********************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY||!t.root)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root;e=i.assign({},u,e);var r=e.as;if(!i.isArray(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var l=void 0;try{l=s.getField(e)}catch(h){console.warn(h)}l&&n.sum((function(t){return t[l]}));var c=o.cluster();c.size(e.size),e.nodeSize&&c.nodeSize(e.nodeSize),e.separation&&c.separation(e.separation),c(n);var d=r[0],f=r[1];n.each((function(t){t[d]=t.x,t[f]=t.y}))}a.DataSet.registerTransform("hierarchy.cluster",l),a.DataSet.registerTransform("dendrogram",l)},"./src/transform/hierarchy/compact-box.ts": /*!************************************************!*\ !*** ./src/transform/hierarchy/compact-box.ts ***! \************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),a={};function s(t,e){var n=t.root;if(e=Object.assign({},a,e),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.default.compactBox(n,e)}i.DataSet.registerTransform("hierarchy.compact-box",s),i.DataSet.registerTransform("compact-box-tree",s),i.DataSet.registerTransform("non-layered-tidy-tree",s),i.DataSet.registerTransform("mindmap-logical",s)},"./src/transform/hierarchy/dendrogram.ts": /*!***********************************************!*\ !*** ./src/transform/hierarchy/dendrogram.ts ***! \***********************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),a={};function s(t,e){var n=t.root;if(e=Object.assign({},a,e),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.default.dendrogram(n,e)}i.DataSet.registerTransform("hierarchy.dendrogram",s),i.DataSet.registerTransform("dendrogram",s)},"./src/transform/hierarchy/indented.ts": /*!*********************************************!*\ !*** ./src/transform/hierarchy/indented.ts ***! \*********************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),i=n(/*! ../../data-set */"./src/data-set.ts"),a={};function s(t,e){var n=t.root;if(e=Object.assign({},a,e),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.default.indented(n,e)}i.DataSet.registerTransform("hierarchy.indented",s),i.DataSet.registerTransform("indented-tree",s)},"./src/transform/hierarchy/pack.ts": /*!*****************************************!*\ !*** ./src/transform/hierarchy/pack.ts ***! \*****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={field:"value",size:[1,1],padding:0,as:["x","y","r"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root;e=o.assign({},u,e);var r,l=e.as;if(!o.isArray(l)||3!==l.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{r=s.getField(e)}catch(_){console.warn(_)}r&&n.sum((function(t){return t[r]})).sort((function(t,e){return e[r]-t[r]}));var c=i.pack();c.size(e.size),e.padding&&c.padding(e.padding),c(n);var d=l[0],f=l[1],h=l[2];n.each((function(t){t[d]=t.x,t[f]=t.y,t[h]=t.r}))}a.DataSet.registerTransform("hierarchy.pack",l),a.DataSet.registerTransform("hierarchy.circle-packing",l),a.DataSet.registerTransform("circle-packing",l)},"./src/transform/hierarchy/partition.ts": /*!**********************************************!*\ !*** ./src/transform/hierarchy/partition.ts ***! \**********************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root;e=i.assign({},u,e);var r,l=e.as;if(!i.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=s.getField(e)}catch(h){console.warn(h)}r&&n.sum((function(t){return t[r]}));var c=o.partition();c.size(e.size).round(e.round).padding(e.padding),c(n);var d=l[0],f=l[1];n.each((function(t){t[d]=[t.x0,t.x1,t.x1,t.x0],t[f]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===l.indexOf(e)&&delete t[e]}))}))}a.DataSet.registerTransform("hierarchy.partition",l),a.DataSet.registerTransform("adjacency",l)},"./src/transform/hierarchy/tree.ts": /*!*****************************************!*\ !*** ./src/transform/hierarchy/tree.ts ***! \*****************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root;e=i.assign({},u,e);var r,l=e.as;if(!i.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=s.getField(e)}catch(h){console.warn(h)}r&&n.sum((function(t){return t[r]}));var c=o.tree();c.size(e.size),e.nodeSize&&c.nodeSize(e.nodeSize),e.separation&&c.separation(e.separation),c(n);var d=l[0],f=l[1];n.each((function(t){t[d]=t.x,t[f]=t.y}))}a.DataSet.registerTransform("hierarchy.tree",l),a.DataSet.registerTransform("tree",l)},"./src/transform/hierarchy/treemap.ts": /*!********************************************!*\ !*** ./src/transform/hierarchy/treemap.ts ***! \********************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=n(/*! ../../data-set */"./src/data-set.ts"),s=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root;e=i.assign({},u,e);var r,l=e.as;if(!i.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{r=s.getField(e)}catch(h){console.warn(h)}r&&n.sum((function(t){return t[r]}));var c=o.treemap();c.tile(o[e.tile]).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft),c(n);var d=l[0],f=l[1];n.each((function(t){t[d]=[t.x0,t.x1,t.x1,t.x0],t[f]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach((function(e){-1===l.indexOf(e)&&delete t[e]}))}))}a.DataSet.registerTransform("hierarchy.treemap",l),a.DataSet.registerTransform("treemap",l)},"./src/transform/impute.ts": /*!*********************************!*\ !*** ./src/transform/impute.ts ***! \*********************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importStar(n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),a=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),s=n(/*! ../data-set */"./src/data-set.ts"),u=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),l={groupBy:[]};function c(t){return t.filter((function(t){return!o.isUndefined(t)}))}var d=["mean","median","max","min"],f={};function h(t,e){e=o.assign({},l,e);var n=u.getField(e),r=e.method;if(!r)throw new TypeError("Invalid method!");if("value"===r&&!o.has(e,"value"))throw new TypeError("Invalid value: it is nil.");var i=c(t.getColumn(n)),s=a.default(t.rows,e.groupBy);o.forIn(s,(function(t){var a=c(t.map((function(t){return t[n]})));0===a.length&&(a=i),t.forEach((function(i){if(o.isUndefined(i[n]))if(o.isFunction(r))i[n]=r(i,a,e.value,t);else{if(!o.isString(r))throw new TypeError("Invalid method: must be a function or one of "+d.join(", "));i[n]=f[r](i,a,e.value)}}))}))}d.forEach((function(t){f[t]=function(e,n){return i[t](n)}})),f.value=function(t,e,n){return n},s.DataSet.registerTransform("impute",h)},"./src/transform/kde.ts": /*!******************************!*\ !*** ./src/transform/kde.ts ***! \******************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n(/*! ../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(n(/*! ../util/kernel */"./src/util/kernel.ts")),s=r.__importStar(n(/*! ../util/bandwidth */"./src/util/bandwidth.ts")),u=r.__importDefault(n(/*! ../util/partition */"./src/util/partition.ts")),l=n(/*! ../data-set */"./src/data-set.ts"),c=n(/*! ../util/option-parser */"./src/util/option-parser.ts"),d=n(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),f={minSize:.01,as:["key","y","size"],extent:[],method:"gaussian",bandwidth:"nrd",step:0,groupBy:[]},h=o.keys(a.default),_=o.keys(s);function v(t,e){e=o.assign({},f,e);var n=c.getFields(e);if(!o.isArray(n)||n.length<1)throw new TypeError("invalid fields: must be an array of at least 1 strings!");var l=e.as;if(!o.isArray(l)||3!==l.length)throw new TypeError("invalid as: must be an array of 3 strings!");var _=e.method;if(o.isString(_)){if(-1===h.indexOf(_))throw new TypeError("invalid method: "+_+". Must be one of "+h.join(", "));_=a.default[_]}if(!o.isFunction(_))throw new TypeError("invalid method: kernel method must be a function!");var v=e.extent;if(!o.isArray(v)||0===v.length){var p=[];o.each(n,(function(e){var n=t.range(e);p=p.concat(n)})),v=[Math.min.apply(Math,r.__spread(p)),Math.max.apply(Math,r.__spread(p))]}var g=e.bandwidth;o.isString(g)&&s[g]?g=s[g](t.getColumn(n[0])):o.isFunction(g)?g=g(t.getColumn(n[0])):(!o.isNumber(g)||g<=0)&&(g=s.nrd(t.getColumn(n[0])));var m=i.default(v,e.step?e.step:g),y=[],b=e.groupBy,j=u.default(t.rows,b);o.forIn(j,(function(t){var i={};o.each(n,(function(n){var a=o.pick(t[0],b);i[n]=d.kernelDensityEstimation(t.map((function(t){return t[n]})),_,g);var s=r.__read(l,3),u=s[0],c=s[1],f=s[2];a[u]=n,a[c]=[],a[f]=[],o.each(m,(function(t){var r=i[n](t);r>=e.minSize&&(a[c].push(t),a[f].push(r))})),y.push(a)}))})),t.rows=y}l.DataSet.registerTransform("kernel-density-estimation",v),l.DataSet.registerTransform("kde",v),l.DataSet.registerTransform("KDE",v),e.default={KERNEL_METHODS:h,BANDWIDTH_METHODS:_}},"./src/transform/kernel-smooth/density.ts": /*!************************************************!*\ !*** ./src/transform/kernel-smooth/density.ts ***! \************************************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n(/*! ../../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(n(/*! ../../util/kernel */"./src/util/kernel.ts")),s=n(/*! ../../data-set */"./src/data-set.ts"),u=n(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l=n(/*! ../../util/bandwidth */"./src/util/bandwidth.ts"),c={as:["x","y","z"],method:"gaussian"},d=o.keys(a.default);function f(t,e){var n,s;e=o.assign({},c,e);var f=u.getFields(e);if(!o.isArray(f)||2!==f.length)throw new TypeError("invalid fields: must be an array of 2 strings!");var h,_=r.__read(e.as,3),v=_[0],p=_[1],g=_[2];if(!o.isString(v)||!o.isString(p)||!o.isString(g))throw new TypeError("invalid as: must be an array of 3 strings!");if(o.isString(e.method)){if(-1===d.indexOf(e.method))throw new TypeError("invalid method: "+e.method+". Must be one of "+d.join(", "));h=a.default[e.method]}var m,y,b,j,w=r.__read(f,2),x=w[0],E=w[1],M=e.extent,S=e.bandwidth;M&&Array.isArray(M)&&Array.isArray(M[0])&&Array.isArray(M[1])?(n=r.__read(M,2),m=n[0],y=n[1]):(m=t.range(x),y=t.range(E)),S&&Array.isArray(S)&&S.slice(0,2).every(o.isNumber)&&S.slice(0,2).every((function(t){return t>0}))?(s=r.__read(S,2),b=s[0],j=s[1]):(b=l.silverman(t.getColumn(x)),j=l.silverman(t.getColumn(E)));for(var T=i.default(m,b),k=i.default(y,j),P=t.rows.length,O=[],C=0;Cj&&(T=j/e,n=Math.ceil(e*T/E)),P=y/n})),o.forIn(p,(function(t){var e=[k*x,(k+1)*x],n=e[1]-e[0],r=n*(1-M)/E,i=0,a=0;o.each(t,(function(t){for(var n=t[d],s=Math.round(n*T),u=0;un[o])return 1}return 0}:r.isString(e)&&(n=function(t,n){return t[e]n[e]?1:0}),t.sort(n)}e.default=o},"./src/util/tag-cloud.ts": /*!*******************************!*\ !*** ./src/util/tag-cloud.ts ***! \*******************************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=Math.PI/180,i=64,a=2048;function s(t){return t.text}function u(){return"serif"}function l(){return"normal"}function c(t){return t.value}function d(){return 90*~~(2*Math.random())}function f(){return 1}function h(t,e,n,r){if(!e.sprite){var s=t.context,u=t.ratio;s.clearRect(0,0,(i<<5)/u,a/u);var l=0,c=0,d=0,f=n.length;--r;while(++r>5<<5,_=~~Math.max(Math.abs(m+y),Math.abs(m-y))}else h=h+31>>5<<5;if(_>d&&(d=_),l+h>=i<<5&&(l=0,c+=d,d=0),c+_>=a)break;s.translate((l+(h>>1))/u,(c+(_>>1))/u),e.rotate&&s.rotate(e.rotate*o),s.fillText(e.text,0,0),e.padding&&(s.lineWidth=2*e.padding,s.strokeText(e.text,0,0)),s.restore(),e.width=h,e.height=_,e.xoff=l,e.yoff=c,e.x1=h>>1,e.y1=_>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,l+=h}var j=s.getImageData(0,0,(i<<5)/u,a/u).data,w=[];while(--r>=0)if(e=n[r],e.hasText){h=e.width;for(var x=h>>5,E=(_=e.y1-e.y0,0);E<_*x;E++)w[E]=0;if(l=e.xoff,null==l)return;c=e.yoff;for(var M=0,S=-1,T=0;T<_;T++){for(E=0;E>5),P=j[(c+T)*(i<<5)+(l+E)<<2]?1<<31-E%32:0;w[k]|=P,M|=P}M?S=T:(e.y0++,_--,T--,c++)}e.y1=e.y0+S,e.sprite=w.slice(0,(e.y1-e.y0)*x)}}}function _(t,e,n){n>>=5;for(var r,o=t.sprite,i=t.width>>5,a=t.x-(i<<4),s=127&a,u=32-s,l=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),d=0;d>>s:0))&e[c+f])return!0;c+=n}return!1}function v(t,e){var n=t[0],r=t[1];e.x+e.x0r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function p(t,e){return t.x+t.x1>e[0].x&&t.x+t.x0e[0].y&&t.y+t.y0>2);t.width=(i<<5)/e,t.height=a/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}function N(e,n,r){var o,i,a,s=n.x,u=n.y,l=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=S(t),d=P()<.5?1:-1,f=-d;while(o=c(f+=d)){if(i=~~o[0],a=~~o[1],Math.min(Math.abs(i),Math.abs(a))>=l)break;if(n.x=s+i,n.y=u+a,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1])&&(!r||!_(n,e,t[0]))&&(!r||p(n,r))){for(var h=n.sprite,v=n.width>>5,g=t[0]>>5,m=n.x-(v<<4),y=127&m,b=32-y,j=n.y1-n.y0,w=void 0,x=(n.y+n.y0)*g+(m>>5),E=0;E>>y:0);x+=g}return delete n.sprite,!0}}return!1}return C.canvas=function(t){return arguments.length?(O=j(t),C):O},C.start=function(){var i=r.__read(t,2),a=i[0],s=i[1],u=A(O()),l=C.board?C.board:y((t[0]>>5)*t[1]),c=T.length,d=[],f=T.map((function(t,r){return t.text=e.call(this,t,r),t.font=n.call(this,t,r),t.style=m.call(this,t,r),t.weight=x.call(this,t,r),t.rotate=E.call(this,t,r),t.size=~~o.call(this,t,r),t.padding=M.call(this,t,r),t})).sort((function(t,e){return e.size-t.size})),_=-1,p=C.board?[{x:0,y:0},{x:a,y:s}]:null;function g(){var e=Date.now();while(Date.now()-e>1,n.y=s*(P()+.5)>>1,h(u,n,f,_),n.hasText&&N(l,n,p)&&(d.push(n),p?C.hasImage||v(p,n):p=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}C._tags=d,C._bounds=p}return g(),C},C.createMask=function(e){var n=document.createElement("canvas"),o=r.__read(t,2),i=o[0],a=o[1],s=i>>5,u=y((i>>5)*a);n.width=i,n.height=a;var l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,i,a);for(var c=l.getImageData(0,0,i,a).data,d=0;d>5),_=d*i+f<<2,v=c[_]>=250&&c[_+1]>=250&&c[_+2]>=250,p=v?1<<31-f%32:0;u[h]|=p}C.board=u,C.hasImage=!0},C.timeInterval=function(t){return arguments.length?(k=null==t?1/0:t,C):k},C.words=function(t){return arguments.length?(T=t,C):T},C.size=function(e){return arguments.length?(t=[+e[0],+e[1]],C):t},C.font=function(t){return arguments.length?(n=j(t),C):n},C.fontStyle=function(t){return arguments.length?(m=j(t),C):m},C.fontWeight=function(t){return arguments.length?(x=j(t),C):x},C.rotate=function(t){return arguments.length?(E=j(t),C):E},C.text=function(t){return arguments.length?(e=j(t),C):e},C.spiral=function(t){return arguments.length?(S=w[t]||t,C):S},C.fontSize=function(t){return arguments.length?(o=j(t),C):o},C.padding=function(t){return arguments.length?(M=j(t),C):M},C.random=function(t){return arguments.length?(P=t,C):P},C}e.default=x},"./src/view.ts": /*!*********************!*\ !*** ./src/view.ts ***! \*********************/ /*! no static exports found */function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(/*! tslib */"./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n(/*! wolfy87-eventemitter */"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),i=n(/*! @antv/util */"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js");function a(t){var e={};return i.forIn(t,(function(t,n){i.isObject(t)&&t.isView?e[n]=t:i.isArray(t)?e[n]=t.concat([]):i.isPlainObject(t)?e[n]=i.clone(t):e[n]=t})),e}var s=function(t){function e(e,n){var r=t.call(this)||this;if(r.isView=!0,r.isDataView=!0,r.watchingStates=null,r.dataType="table",r.transforms=[],r.origin=[],r.rows=[],e&&e.isDataSet?r.dataSet=e:(r.dataSet=null,n=e),r.loose=!r.dataSet,n&&(r.watchingStates=n.watchingStates),!r.loose){var o=r.watchingStates;e.on("statechange",(function(t){i.isArray(o)?o.indexOf(t)>-1&&r._reExecute():r._reExecute()}))}return r}return r.__extends(e,t),e.prototype._parseStateExpression=function(t){var e=this.dataSet;if(null!==e){var n=/^\$state\.(\w+)/.exec(t);return n?e.state[n[1]]:t}},e.prototype._preparseOptions=function(t){var e=this,n=a(t);return this.loose||i.forIn(n,(function(t,r){i.isString(t)&&/^\$state\./.test(t)&&(n[r]=e._parseStateExpression(t))})),n},e.prototype._prepareSource=function(t,n){if(this._source={source:t,options:n},n){r=this._preparseOptions(n);this.origin=e.DataSet.getConnector(r.type)(t,r,this)}else if(t instanceof e||i.isString(t))this.origin=e.DataSet.getConnector("default")(t,this.dataSet);else if(i.isArray(t))this.origin=t;else{if(!i.isObject(t)||!t.type)throw new TypeError("Invalid source");var r=this._preparseOptions(t);this.origin=e.DataSet.getConnector(r.type)(r,this)}return this.rows=i.deepMix([],this.origin),this},e.prototype.source=function(t,e){return this._prepareSource(t,e)._reExecuteTransforms(),this.trigger("change",[]),this},e.prototype.transform=function(t){return t&&t.type&&(this.transforms.push(t),this._executeTransform(t)),this},e.prototype._executeTransform=function(t){t=this._preparseOptions(t);var n=e.DataSet.getTransform(t.type);n(this,t)},e.prototype._reExecuteTransforms=function(){var t=this;this.transforms.forEach((function(e){t._executeTransform(e)}))},e.prototype.addRow=function(t){this.rows.push(t)},e.prototype.removeRow=function(t){this.rows.splice(t,1)},e.prototype.updateRow=function(t,e){i.assign(this.rows[t],e)},e.prototype.findRows=function(t){return this.rows.filter((function(e){return i.isMatch(e,t)}))},e.prototype.findRow=function(t){return i.find(this.rows,t)},e.prototype.getColumnNames=function(){var t=this.rows[0];return t?i.keys(t):[]},e.prototype.getColumnName=function(t){return this.getColumnNames()[t]},e.prototype.getColumnIndex=function(t){var e=this.getColumnNames();return e.indexOf(t)},e.prototype.getColumn=function(t){return this.rows.map((function(e){return e[t]}))},e.prototype.getColumnData=function(t){return this.getColumn(t)},e.prototype.getSubset=function(t,e,n){for(var r=[],o=t;o<=e;o++)r.push(i.pick(this.rows[o],n));return r},e.prototype.toString=function(t){return void 0===t&&(t=!1),t?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},e.prototype._reExecute=function(){var t=this._source,e=t.source,n=t.options;this._prepareSource(e,n),this._reExecuteTransforms(),this.trigger("change",[])},e}(o.default);e.View=s}})}))}}]);