(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d5f54"],{7104:function(t,n,e){(function(n,e){t.exports=e()})(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="./src/index.ts")}({"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js": /*!********************************************************************************!*\ !*** ./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js ***! \********************************************************************************/ /*! no static exports found */function(t,n,e){(function(n,e){t.exports=e()})("undefined"!==typeof self&&self,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=31)}([function(t,n,e){"use strict";var r=e(4);n["a"]=function(t){return Array.isArray?Array.isArray(t):Object(r["a"])(t,"Array")}},function(t,n,e){"use strict";var r=function(t){return null!==t&&"function"!==typeof t&&isFinite(t.length)};n["a"]=r},function(t,n,e){"use strict";var r=e(0),o=e(13);function i(t,n){var e;if(t)if(Object(r["a"])(t)){for(var i=0,a=t.length;i-1};n["a"]=o},function(t,n,e){"use strict";n["a"]=function(t){var n=typeof t;return null!==t&&"object"===n||"function"===n}},function(t,n,e){"use strict";var r=e(2),o=e(1),i=function(t,n){if(!Object(o["a"])(t))return t;var e=[];return Object(r["a"])(t,(function(t,r){n(t,r)&&e.push(t)})),e};n["a"]=i},function(t,n,e){"use strict";var r=function(t){return"object"===typeof t&&null!==t};n["a"]=r},function(t,n,e){"use strict";function r(t,n){for(var e in n)n.hasOwnProperty(e)&&"constructor"!==e&&void 0!==n[e]&&(t[e]=n[e])}function o(t,n,e,o){return n&&r(t,n),e&&r(t,e),o&&r(t,o),t}n["a"]=o},function(t,n,e){var r=e(30),o=["LR","RL","TB","BT","H","V"],i=["LR","RL","H"],a=function(t){return i.indexOf(t)>-1},u=o[0];t.exports=function(t,n,e){var i=n.direction||u;if(n.isHorizontal=a(i),i&&-1===o.indexOf(i))throw new TypeError("Invalid direction: "+i);if(i===o[0])e(t,n);else if(i===o[1])e(t,n),t.right2left();else if(i===o[2])e(t,n);else if(i===o[3])e(t,n),t.bottom2top();else if(i===o[4]||i===o[5]){var s=r(t,n),l=s.left,c=s.right;e(l,n),e(c,n),n.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();n.isHorizontal?d.top<0&&t.translate(0,-d.top):d.left<0&&t.translate(-d.left,0)}var f=n.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,n,e){var r=e(7),o=18,i=2*o,a=o,u={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 n=t.label||" ";return t.width||n.split("").length*o}};function s(t,n){var e=this;if(e.vgap=e.hgap=0,t instanceof s)return t;e.data=t;var r=n.getHGap(t),o=n.getVGap(t);return e.width=n.getWidth(t),e.height=n.getHeight(t),e.id=n.getId(t),e.x=e.y=0,e.depth=0,e.children||(e.children=[]),e.addGap(r,o),e}function l(t,n,e){void 0===n&&(n={}),n=r.assign({},u,n);var o,i=new s(t,n),a=[i];if(!e&&!t.collapsed)while(o=a.shift())if(!o.data.collapsed){var l=n.getChildren(o.data),c=l?l.length:0;if(o.children=new Array(c),l&&c)for(var d=0;d-1)o.call(t,u,1)}return t};n["a"]=a},function(t,n,e){"use strict";var r=e(2),o=e(0),i=e(9),a=function(t,n,e){if(!Object(o["a"])(t)&&!Object(i["a"])(t))return t;var a=e;return Object(r["a"])(t,(function(t,e){a=n(a,t,e)})),a};n["a"]=a},function(t,n,e){"use strict";var r=e(1),o=e(21),i=function(t,n){var e=[];if(!Object(r["a"])(t))return e;var i=-1,a=[],u=t.length;while(++in[r])return 1;if(t[r]e?e:t};n["a"]=r},function(t,n,e){"use strict";var r=function(t,n){var e=n.toString(),r=e.indexOf(".");if(-1===r)return Math.round(t);var o=e.substr(r+1).length;return o>20&&(o=20),parseFloat(t.toFixed(o))};n["a"]=r},function(t,n,e){"use strict";var r=e(5),o=function(t){return Object(r["a"])(t)&&t%1!==0};n["a"]=o},function(t,n,e){"use strict";var r=e(5),o=function(t){return Object(r["a"])(t)&&t%2===0};n["a"]=o},function(t,n,e){"use strict";var r=e(5),o=Number.isInteger?Number.isInteger:function(t){return Object(r["a"])(t)&&t%1===0};n["a"]=o},function(t,n,e){"use strict";var r=e(5),o=function(t){return Object(r["a"])(t)&&t<0};n["a"]=o},function(t,n,e){"use strict";n["a"]=o;var r=1e-5;function o(t,n,e){return void 0===e&&(e=r),Math.abs(t-n)0};n["a"]=o},function(t,n,e){"use strict";var r=e(2),o=e(0),i=e(3);n["a"]=function(t,n){if(Object(o["a"])(t)){var e,a,u=t[0];return e=Object(i["a"])(n)?n(t[0]):t[0][n],Object(r["a"])(t,(function(t){a=Object(i["a"])(n)?n(t):t[n],a>e&&(u=t,e=a)})),u}}},function(t,n,e){"use strict";var r=e(2),o=e(0),i=e(3);n["a"]=function(t,n){if(Object(o["a"])(t)){var e,a,u=t[0];return e=Object(i["a"])(n)?n(t[0]):t[0][n],Object(r["a"])(t,(function(t){a=Object(i["a"])(n)?n(t):t[n],an?(r&&(clearTimeout(r),r=null),u=l,a=t.apply(o,i),r||(o=i=null)):r||!1===e.trailing||(r=setTimeout(s,c)),a};return l.cancel=function(){clearTimeout(r),u=0,r=o=i=null},l}},function(t,n,e){"use strict";var r=e(1);n["a"]=function(t){return Object(r["a"])(t)?Array.prototype.slice.call(t):[]}},function(t,n,e){"use strict";var r={};n["a"]=function(t){return t=t||"g",r[t]?r[t]+=1:r[t]=1,t+r[t]}},function(t,n,e){"use strict";n["a"]=function(){}},function(t,n,e){"use strict";n["a"]=function(t){return t}},function(t,n,e){"use strict";n["a"]=i;var r=e(6),o=e(1);function i(t){return Object(r["a"])(t)?0:Object(o["a"])(t)?t.length:Object.keys(t).length}},function(t,n,e){"use strict";var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,n){var e=this.map[t];return void 0===e?n:e},t.prototype.set=function(t,n){this.map[t]=n},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();n["a"]=r},function(t,n){function e(t,n,e,r){void 0===r&&(r=[]);var o=this;o.w=t||0,o.h=n||0,o.y=e||0,o.x=0,o.c=r||[],o.cs=r.length,o.prelim=0,o.mod=0,o.shift=0,o.change=0,o.tl=null,o.tr=null,o.el=null,o.er=null,o.msel=0,o.mser=0}function r(t,n,e){e?t.y+=n:t.x+=n,t.children.forEach((function(t){r(t,n,e)}))}function o(t,n){var e=n?t.y:t.x;return t.children.forEach((function(t){e=Math.min(o(t,n),e)})),e}function i(t,n){var e=o(t,n);r(t,-e,n)}function a(t,n,e){e?n.y=t.x:n.x=t.x,t.c.forEach((function(t,r){a(t,n.children[r],e)}))}function u(t,n,e){void 0===e&&(e=0),n?(t.x=e,e+=t.width):(t.y=e,e+=t.height),t.children.forEach((function(t){u(t,n,e)}))}e.fromNode=function(t,n){if(!t)return null;var r=[];return t.children.forEach((function(t){r.push(e.fromNode(t,n))})),n?new e(t.height,t.width,t.x,r):new e(t.width,t.height,t.y,r)},t.exports=function(t,n){void 0===n&&(n={});var r=n.isHorizontal;function o(t){if(0!==t.cs){o(t.c[0]);for(var n=b(h(t.c[0].el),0,null),e=1;ee.low&&(e=e.nxt);var u=o+r.prelim+r.w-(a+i.prelim);u>0&&(a+=u,c(t,n,e.index,u));var s=h(r),l=h(i);s<=l&&(r=f(r),null!==r&&(o+=r.mod)),s>=l&&(i=d(i),null!==i&&(a+=i.mod))}!r&&i?_(t,n,i,a):r&&!i&&v(t,n,r,o)}function c(t,n,e,r){t.c[n].mod+=r,t.c[n].msel+=r,t.c[n].mser+=r,m(t,n,e,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,n,e,r){var o=t.c[0].el;o.tl=e;var i=r-e.mod-t.c[0].msel;o.mod+=i,o.prelim-=i,t.c[0].el=t.c[n].el,t.c[0].msel=t.c[n].msel}function v(t,n,e,r){var o=t.c[n].er;o.tr=e;var i=r-e.mod-t.c[n].mser;o.mod+=i,o.prelim-=i,t.c[n].er=t.c[n-1].er,t.c[n].mser=t.c[n-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,n){n+=t.mod,t.x=t.prelim+n,y(t);for(var e=0;e=e.low)e=e.nxt;return{low:t,index:n,nxt:e}}u(t,r);var j=e.fromNode(t,r);return o(j),g(j,0),a(j,t,r),i(t,r),t}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var o=e(11),i=e(115),a=e(17),u=e(7),s=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this;return t.rootNode.width=0,a(t.rootNode,t.options,i)},n}(o),l={};function c(t,n){return n=u.assign({},l,n),new s(t,n).execute()}t.exports=c},function(t,n,e){var r=e(7);function o(t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var e=this;e.x=e.y=0,e.leftChild=e.rightChild=null,e.height=0,e.children=n}var i={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function a(t,n,e){e?(n.x=t.x,n.y=t.y):(n.x=t.y,n.y=t.x),t.children.forEach((function(t,r){a(t,n.children[r],e)}))}t.exports=function(t,n){void 0===n&&(n={}),n=r.assign({},i,n);var e,u=0;function s(t){if(!t)return null;t.width=0,t.depth&&t.depth>u&&(u=t.depth);var n=t.children,e=n.length,r=new o(t.height,[]);return n.forEach((function(t,n){var o=s(t);r.children.push(o),0===n&&(r.leftChild=o),n===e-1&&(r.rightChild=o)})),r.originNode=t,r.isLeaf=t.isLeaf(),r}function l(t){if(t.isLeaf||0===t.children.length)t.drawingDepth=u;else{var n=t.children.map((function(t){return l(t)})),e=Math.min.apply(null,n);t.drawingDepth=e-1}return t.drawingDepth}function c(t){t.x=t.drawingDepth*n.rankSep,t.isLeaf?(t.y=0,e&&(t.y=e.y+e.height+n.nodeSep,t.originNode.parent!==e.originNode.parent&&(t.y+=n.subTreeSep)),e=t):(t.children.forEach((function(t){c(t)})),t.y=(t.leftChild.y+t.rightChild.y)/2)}var d=s(t);return l(d),c(d),a(d,t,n.isHorizontal),t}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var o=e(11),i=e(117),a=e(30),u=e(7),s=["LR","RL","H"],l=s[0],c=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this,n=t.options,e=t.rootNode;n.isHorizontal=!0;var r=n.indent,o=void 0===r?20:r,u=n.dropCap,c=void 0===u||u,d=n.direction||l;if(d&&-1===s.indexOf(d))throw new TypeError("Invalid direction: "+d);if(d===s[0])i(e,o,c);else if(d===s[1])i(e,o,c),e.right2left();else if(d===s[2]){var f=a(e,n),h=f.left,_=f.right;i(h,o,c),h.right2left(),i(_,o,c);var v=h.getBoundingBox();_.translate(v.width,0),e.x=_.x-e.width/2}return e},n}(o),d={};function f(t,n){return n=u.assign({},d,n),new c(t,n).execute()}t.exports=f},function(t,n){function e(t,n,e,r){if(!r)try{if(t.id===t.parent.children[0].id)return t.x+=e*t.depth,void(t.y=n?n.y:0)}catch(o){}t.x+=e*t.depth,t.y=n?n.y+n.height:0}t.exports=function(t,n,r){var o=null;t.eachNode((function(t){e(t,o,n,r),o=t}))}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var o=e(11),i=e(119),a=e(17),u=e(7),s=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this;return a(t.rootNode,t.options,i)},n}(o),l={};function c(t,n){return n=u.assign({},l,n),new s(t,n).execute()}t.exports=c},function(t,n,e){var r=e(7);function o(t,n){var e=0;return t.children.length?t.children.forEach((function(t){e+=o(t,n)})):e=t.height,t._subTreeSep=n.getSubTreeSep(t.data),t.totalHeight=Math.max(t.height,e)+2*t._subTreeSep,t.totalHeight}function i(t){var n=t.children,e=n.length;if(e){n.forEach((function(t){i(t)}));var r=n[0],o=n[e-1],a=o.y-r.y+o.height,u=0;if(n.forEach((function(t){u+=t.totalHeight})),a>t.height)t.y=r.y+a/2-t.height/2;else if(1!==n.length||t.height>u){var s=t.y+(t.height-a)/2-r.y;n.forEach((function(t){t.translate(0,s)}))}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,n){void 0===n&&(n={}),n=r.assign({},a,n),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,n),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode((function(t){var n=t.children,e=n.length;if(e){var r=n[0];if(r.startY=t.startY+t._subTreeSep,1===e)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;oe?e:t};n.default=r},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clear-animation-frame.js": /*!*********************************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/clear-animation-frame.js ***! \*********************************************************************************/ /*! no static exports found */function(t,n,e){"use strict";function r(t){var n=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout;n(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/clone.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/clone.js ***! \*****************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),o=function(t){if("object"!==typeof t||null===t)return t;var n;if(r.default(t)){n=[];for(var e=0,i=t.length;e-1};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/debounce.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/debounce.js ***! \********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";function r(t,n,e){var r;return function(){var o=this,i=arguments,a=function(){r=null,e||t.apply(o,i)},u=e&&!r;clearTimeout(r),r=setTimeout(a,n),u&&t.apply(o,i)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/deep-mix.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/deep-mix.js ***! \********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),o=e(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js"),i=5;function a(t,n,e,u){for(var s in e=e||0,u=u||i,n)if(n.hasOwnProperty(s)){var l=n[s];null!==l&&o.default(l)?(o.default(t[s])||(t[s]={}),e20&&(o=20),parseFloat(t.toFixed(o))};n.default=r},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten-deep.js": /*!************************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/flatten-deep.js ***! \************************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),o=function(t,n){if(void 0===n&&(n=[]),r.default(t))for(var e=0;e0};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-prototype.js": /*!************************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-prototype.js ***! \************************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Object.prototype,o=function(t){var n=t&&t.constructor,e="function"===typeof n&&n.prototype||r;return t===e};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-reg-exp.js": /*!**********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-reg-exp.js ***! \**********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js"),o=function(t){return r.default(t,"RegExp")};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-string.js ***! \*********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-type */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js");n.default=function(t){return r.default(t,"String")}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-type.js ***! \*******************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={}.toString,o=function(t,n){return r.call(t)==="[object "+n+"]"};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-undefined.js": /*!************************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-undefined.js ***! \************************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(t){return void 0===t};n.default=r},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/keys.js": /*!****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/keys.js ***! \****************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),o=e(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js"),i=Object.keys?function(t){return Object.keys(t)}:function(t){var n=[];return r.default(t,(function(e,r){o.default(t)&&"prototype"===r||n.push(r)})),n};n.default=i},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/last.js": /*!****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/last.js ***! \****************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");function o(t){if(r.default(t)){var n=t;return n[n.length-1]}}n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-case.js": /*!**********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-case.js ***! \**********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js"),o=function(t){return r.default(t).toLowerCase()};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-first.js": /*!***********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/lower-first.js ***! \***********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./to-string */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js"),o=function(t){var n=r.default(t);return n.charAt(0).toLowerCase()+n.substring(1)};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/map-values.js": /*!**********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/map-values.js ***! \**********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js"),o=e(/*! ./is-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-object.js"),i=function(t){return t};n.default=function(t,n){void 0===n&&(n=i);var e={};return o.default(t)&&!r.default(t)&&Object.keys(t).forEach((function(r){e[r]=n(t[r],r)})),e}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/map.js": /*!***************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/map.js ***! \***************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js"),o=function(t,n){if(!r.default(t))return t;for(var e=[],o=0;oe&&(u=t,e=a)})),u}}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/memoize.js": /*!*******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/memoize.js ***! \*******************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-function */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-function.js");n.default=function(t,n){if(!r.default(t))throw new TypeError("Expected a function");var e=function(){for(var r=[],o=0;o-1)o.call(t,u,1)}return t};n.default=a},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/reduce.js": /*!******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/reduce.js ***! \******************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./each */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/each.js"),o=e(/*! ./is-array */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array.js"),i=e(/*! ./is-plain-object */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-plain-object.js"),a=function(t,n,e){if(!o.default(t)&&!i.default(t))return t;var a=e;return r.default(t,(function(t,e){a=n(a,t,e)})),a};n.default=a},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/remove.js": /*!******************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/remove.js ***! \******************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js"),o=e(/*! ./pull-at */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/pull-at.js"),i=function(t,n){var e=[];if(!r.default(t))return e;var i=-1,a=[],u=t.length;while(++in[r])return 1;if(t[r]n?(r&&(clearTimeout(r),r=null),u=l,a=t.apply(o,i),r||(o=i=null)):r||!1===e.trailing||(r=setTimeout(s,c)),a};return l.cancel=function(){clearTimeout(r),u=0,r=o=i=null},l}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-array.js": /*!********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-array.js ***! \********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-array-like */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-array-like.js");n.default=function(t){return r.default(t)?Array.prototype.slice.call(t):[]}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-degree.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-degree.js ***! \*********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=180/Math.PI,o=function(t){return r*t};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-integer.js": /*!**********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-integer.js ***! \**********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=parseInt},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-radian.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-radian.js ***! \*********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=Math.PI/180,o=function(t){return r*t};n.default=o},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js": /*!*********************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/to-string.js ***! \*********************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./is-nil */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/is-nil.js");n.default=function(t){return r.default(t)?"":t.toString()}},"./node_modules/_@antv_util@2.0.10@@antv/util/lib/union.js": /*!*****************************************************************!*\ !*** ./node_modules/_@antv_util@2.0.10@@antv/util/lib/union.js ***! \*****************************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ./uniq */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/uniq.js"),o=function(){for(var t=[],n=0;nn?1:t>=n?0:NaN}function e(t){return 1===t.length&&(t=r(t)),{left:function(n,e,r,o){null==r&&(r=0),null==o&&(o=n.length);while(r>>1;t(n[i],e)<0?r=i+1:o=i}return r},right:function(n,e,r,o){null==r&&(r=0),null==o&&(o=n.length);while(r>>1;t(n[i],e)>0?o=i:r=i+1}return r}}}function r(t){return function(e,r){return n(t(e),r)}}var o=e(n),i=o.right,a=o.left;function u(t,n){null==n&&(n=s);var e=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);while(et?1:n>=t?0:NaN}function d(t){return null===t?NaN:+t}function f(t,n){var e,r,o=t.length,i=0,a=-1,u=0,s=0;if(null==n)while(++a1)return s/(i-1)}function h(t,n){var e=f(t,n);return e?Math.sqrt(e):e}function _(t,n){var e,r,o,i=t.length,a=-1;if(null==n){while(++a=e){r=o=e;while(++ae&&(r=e),o=e){r=o=e;while(++ae&&(r=e),o0)return[t];if((r=n0){t=Math.ceil(t/a),n=Math.floor(n/a),i=new Array(o=Math.ceil(n-t+1));while(++u=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,n,e){var r=Math.abs(n-t)/Math.max(0,e),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),nd)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+e(t[r-1],r-1,t);var r,o=(r-1)*n,i=Math.floor(o),a=+e(t[i],i,t),u=+e(t[i+1],i+1,t);return a+(u-a)*(o-i)}}function k(t,e,r){return t=g.call(t,d).sort(n),Math.ceil((r-e)/(2*(T(t,.75)-T(t,.25))*Math.pow(t.length,-1/3)))}function A(t,n,e){return Math.ceil((e-n)/(3.5*h(t)*Math.pow(t.length,-1/3)))}function C(t,n){var e,r,o=t.length,i=-1;if(null==n){while(++i=e){r=e;while(++ir&&(r=e)}}else while(++i=e){r=e;while(++ir&&(r=e)}return r}function N(t,n){var e,r=t.length,o=r,i=-1,a=0;if(null==n)while(++i=0){r=t[o],n=r.length;while(--n>=0)e[--a]=r[n]}return e}function D(t,n){var e,r,o=t.length,i=-1;if(null==n){while(++i=e){r=e;while(++ie&&(r=e)}}else while(++i=e){r=e;while(++ie&&(r=e)}return r}function q(t,n){var e=n.length,r=new Array(e);while(e--)r[e]=t[n[e]];return r}function L(t,e){if(r=t.length){var r,o,i=0,a=0,u=t[a];null==e&&(e=n);while(++in?1:t>=n?0:NaN}function e(t){var n=t,e=t;function r(t,n,r,o){null==r&&(r=0),null==o&&(o=t.length);while(r>>1;e(t[i],n)<0?r=i+1:o=i}return r}function i(t,n,r,o){null==r&&(r=0),null==o&&(o=t.length);while(r>>1;e(t[i],n)>0?o=i:r=i+1}return r}function a(t,e,o,i){null==o&&(o=0),null==i&&(i=t.length);var a=r(t,e,o,i-1);return a>o&&n(t[a-1],e)>-n(t[a],e)?a-1:a}return 1===t.length&&(n=function(n,e){return t(n)-e},e=o(t)),{left:r,center:a,right:i}}function o(t){return function(e,r){return n(t(e),r)}}function i(t){return null===t?NaN:+t}function a(t,n){var e,o,i,a,u,s,l,c,d,f,h,_;return r.__generator(this,(function(v){switch(v.label){case 0:if(void 0!==n)return[3,9];v.label=1;case 1:v.trys.push([1,6,7,8]),e=r.__values(t),o=e.next(),v.label=2;case 2:return o.done?[3,5]:(l=o.value,null!=l&&(l=+l)>=l?[4,l]:[3,4]);case 3:v.sent(),v.label=4;case 4:return o=e.next(),[3,2];case 5:return[3,8];case 6:return i=v.sent(),d={error:i},[3,8];case 7:try{o&&!o.done&&(f=e.return)&&f.call(e)}finally{if(d)throw d.error}return[7];case 8:return[3,17];case 9:a=-1,v.label=10;case 10:v.trys.push([10,15,16,17]),u=r.__values(t),s=u.next(),v.label=11;case 11:return s.done?[3,14]:(l=s.value,null!=(l=n(l,++a,t))&&(l=+l)>=l?[4,l]:[3,13]);case 12:v.sent(),v.label=13;case 13:return s=u.next(),[3,11];case 14:return[3,17];case 15:return c=v.sent(),h={error:c},[3,17];case 16:try{s&&!s.done&&(_=u.return)&&_.call(u)}finally{if(h)throw h.error}return[7];case 17:return[2]}}))}var u=e(n),s=u.right,l=u.left,c=e(i).center;function d(t,n){var e,o,i,a,u=0;if(void 0===n)try{for(var s=r.__values(t),l=s.next();!l.done;l=s.next()){var c=l.value;null!=c&&(c=+c)>=c&&++u}}catch(_){e={error:_}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}else{var d=-1;try{for(var f=r.__values(t),h=f.next();!h.done;h=f.next()){c=h.value;null!=(c=n(c,++d,t))&&(c=+c)>=c&&++u}}catch(v){i={error:v}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}}return u}function f(t){return 0|t.length}function h(t){return!(t>0)}function _(t){return"object"!==typeof t||"length"in t?t:Array.from(t)}function v(t){return function(n){return t.apply(void 0,r.__spread(n))}}function p(){for(var t=[],n=0;nt?1:n>=t?0:NaN}function y(t,n){var e,o,i,a,u,s=0,l=0,c=0;if(void 0===n)try{for(var d=r.__values(t),f=d.next();!f.done;f=d.next()){var h=f.value;null!=h&&(h=+h)>=h&&(u=h-l,l+=u/++s,c+=u*(h-l))}}catch(g){e={error:g}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(e)throw e.error}}else{var _=-1;try{for(var v=r.__values(t),p=v.next();!p.done;p=v.next()){h=p.value;null!=(h=n(h,++_,t))&&(h=+h)>=h&&(u=h-l,l+=u/++s,c+=u*(h-l))}}catch(m){i={error:m}}finally{try{p&&!p.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}}if(s>1)return c/(s-1)}function b(t,n){var e=y(t,n);return e?Math.sqrt(e):e}function j(t,n){var e,o,i,a,u,s;if(void 0===n)try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next()){var d=c.value;null!=d&&(void 0===u?d>=d&&(u=s=d):(u>d&&(u=d),s=d&&(u=s=d):(u>d&&(u=d),s0){i=r[--o];while(o>0)if(t=i,n=r[--o],i=t+n,e=n-(i-t),e)break;o>0&&(e<0&&r[o-1]<0||e>0&&r[o-1]>0)&&(n=2*e,t=i+n,n==t-i&&(i=t))}return i},t}();function x(t,n){var e,o,i,a,u=new w;if(void 0===n)try{for(var s=r.__values(t),l=s.next();!l.done;l=s.next()){var c=l.value;(c=+c)&&u.add(c)}}catch(_){e={error:_}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}else{var d=-1;try{for(var f=r.__values(t),h=f.next();!h.done;h=f.next()){c=h.value;(c=+n(c,++d,t))&&u.add(c)}}catch(v){i={error:v}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}}return+u}var E=function(t){function n(n,e){var o,i;void 0===n&&(n=[]),void 0===e&&(e=T);var a=t.call(this)||this;Object.defineProperties(a,{_intern:{value:new Map},_key:{value:e}});try{for(var u=r.__values(n),s=u.next();!s.done;s=u.next()){var l=r.__read(s.value,2),c=l[0],d=l[1];a.set(c,d)}}catch(f){o={error:f}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}return r.__extends(n,t),n.prototype.get=function(n){return t.prototype.get.call(this,S(this,n))},n.prototype.has=function(n){return t.prototype.has.call(this,S(this,n))},n.prototype.set=function(n,e){return t.prototype.set.call(this,O(this,n),e)},n.prototype.delete=function(n){return t.prototype.delete.call(this,P(this,n))},n}(Map),M=function(t){function n(n,e){var o,i;void 0===n&&(n=[]),void 0===e&&(e=T);var a=t.call(this)||this;Object.defineProperties(a,{_intern:{value:new Map},_key:{value:e}});try{for(var u=r.__values(n),s=u.next();!s.done;s=u.next()){var l=s.value;a.add(l)}}catch(c){o={error:c}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(o)throw o.error}}return a}return r.__extends(n,t),n.prototype.has=function(n){return t.prototype.has.call(this,S(this,n))},n.prototype.add=function(n){return t.prototype.add.call(this,O(this,n))},n.prototype.delete=function(n){return t.prototype.delete.call(this,P(this,n))},n}(Set);function S(t,n){var e=t._intern,r=t._key,o=r(n);return e.has(o)?e.get(o):n}function O(t,n){var e=t._intern,r=t._key,o=r(n);return e.has(o)?e.get(o):(e.set(o,n),n)}function P(t,n){var e=t._intern,r=t._key,o=r(n);return e.has(o)&&(n=e.get(n),e.delete(o)),n}function T(t){return null!==t&&"object"===typeof t?t.valueOf():t}function k(t){return t}function A(t){for(var n=[],e=1;e=o.length)return e(i);var d=new E,f=o[a++],h=-1;try{for(var _=r.__values(i),v=_.next();!v.done;v=_.next()){var p=v.value,g=f(p,++h,i),m=d.get(g);m?m.push(p):d.set(g,[p])}}catch(x){u={error:x}}finally{try{v&&!v.done&&(s=_.return)&&s.call(_)}finally{if(u)throw u.error}}try{for(var y=r.__values(d),b=y.next();!b.done;b=y.next()){var j=r.__read(b.value,2),w=(g=j[0],j[1]);d.set(g,t(w,a))}}catch(M){l={error:M}}finally{try{b&&!b.done&&(c=y.return)&&c.call(y)}finally{if(l)throw l.error}}return n(d)}(t,0)}function z(t,n){return Array.from(n,(function(n){return t[n]}))}function B(t){for(var e=[],o=1;o1){var s=Uint32Array.from(t,(function(t,n){return n}));return e.length>1?(e=e.map((function(n){return t.map(n)})),s.sort((function(t,o){var i,a;try{for(var u=r.__values(e),s=u.next();!s.done;s=u.next()){var l=s.value,c=n(l[t],l[o]);if(c)return c}}catch(d){i={error:d}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}))):(u=t.map(u),s.sort((function(t,e){return n(u[t],u[e])}))),z(t,s)}return t.sort(u)}function F(t,e,o){return(1===e.length?B(N(t,e,o),(function(t,e){var o=r.__read(t,2),i=o[0],a=o[1],u=r.__read(e,2),s=u[0],l=u[1];return n(a,l)||n(i,s)})):B(A(t,o),(function(t,o){var i=r.__read(t,2),a=i[0],u=i[1],s=r.__read(o,2),l=s[0],c=s[1];return e(u,c)||n(a,l)}))).map((function(t){var n=r.__read(t,1),e=n[0];return e}))}var G=Array.prototype,V=G.slice;function H(t){return function(){return t}}var U=Math.sqrt(50),W=Math.sqrt(10),K=Math.sqrt(2);function Y(t,n,e){var r,o,i,a,u=-1;if(n=+n,t=+t,e=+e,t===n&&e>0)return[t];if((r=n0){t=Math.ceil(t/a),n=Math.floor(n/a),i=new Array(o=Math.ceil(n-t+1));while(++u=0?(i>=U?10:i>=W?5:i>=K?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=U?10:i>=W?5:i>=K?2:1)}function J(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=U?o*=10:i>=W?o*=5:i>=K&&(o*=2),n0?(t=Math.floor(t/o)*o,n=Math.ceil(n/o)*o):o<0&&(t=Math.ceil(t*o)/o,n=Math.floor(n*o)/o),r=o}}function Z(t){return Math.ceil(Math.log(d(t))/Math.LN2)+1}function Q(){var t=k,n=j,e=Z;function o(o){var i;Array.isArray(o)||(o=Array.from(o));var a,u,l=o.length,c=new Array(l);for(a=0;a=h)if(v>=h&&n===j){var g=X(f,h,p);isFinite(g)&&(g>0?h=(Math.floor(h/g)+1)*g:g<0&&(h=(Math.ceil(h*-g)+1)/-g))}else _.pop()}var m=_.length;while(_[0]<=f)_.shift(),--m;while(_[m-1]>h)_.pop(),--m;var y,b=new Array(m+1);for(a=0;a<=m;++a)y=b[a]=[],y.x0=a>0?_[a-1]:f,y.x1=a=c)&&(u=c)}}catch(_){e={error:_}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}else{var d=-1;try{for(var f=r.__values(t),h=f.next();!h.done;h=f.next()){c=h.value;null!=(c=n(c,++d,t))&&(u=c)&&(u=c)}}catch(v){i={error:v}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}}return u}function nt(t,n){var e,o,i,a,u;if(void 0===n)try{for(var s=r.__values(t),l=s.next();!l.done;l=s.next()){var c=l.value;null!=c&&(u>c||void 0===u&&c>=c)&&(u=c)}}catch(_){e={error:_}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}else{var d=-1;try{for(var f=r.__values(t),h=f.next();!h.done;h=f.next()){c=h.value;null!=(c=n(c,++d,t))&&(u>c||void 0===u&&c>=c)&&(u=c)}}catch(v){i={error:v}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}}return u}function et(t,e,r,o,i){void 0===r&&(r=0),void 0===o&&(o=t.length-1),void 0===i&&(i=n);while(o>r){if(o-r>600){var a=o-r+1,u=e-r+1,s=Math.log(a),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(a-l)/a)*(u-a/2<0?-1:1),d=Math.max(r,Math.floor(e-u*l/a+c)),f=Math.min(o,Math.floor(e+(a-u)*l/a+c));et(t,e,d,f,i)}var h=t[e],_=r,v=o;rt(t,r,e),i(t[o],h)>0&&rt(t,r,o);while(_0)--v}0===i(t[r],h)?rt(t,r,v):(++v,rt(t,v,o)),v<=e&&(r=v+1),e<=v&&(o=v-1)}return t}function rt(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function ot(t,n,e){if(t=Float64Array.from(a(t,e)),r=t.length){if((n=+n)<=0||r<2)return nt(t);if(n>=1)return tt(t);var r,o=(r-1)*n,i=Math.floor(o),u=tt(et(t,i).subarray(0,i+1)),s=nt(t.subarray(i+1));return u+(s-u)*(o-i)}}function it(t,n,e){if(void 0===e&&(e=i),r=t.length){if((n=+n)<=0||r<2)return+e(t[0],0,t);if(n>=1)return+e(t[r-1],r-1,t);var r,o=(r-1)*n,a=Math.floor(o),u=+e(t[a],a,t),s=+e(t[a+1],a+1,t);return u+(s-u)*(o-a)}}function at(t,n,e){return Math.ceil((e-n)/(2*(ot(t,.75)-ot(t,.25))*Math.pow(d(t),-1/3)))}function ut(t,n,e){return Math.ceil((e-n)/(3.5*b(t)*Math.pow(d(t),-1/3)))}function st(t,n){var e,o,i,a,u,s=-1,l=-1;if(void 0===n)try{for(var c=r.__values(t),d=c.next();!d.done;d=c.next()){var f=d.value;++l,null!=f&&(u=f)&&(u=f,s=l)}}catch(v){e={error:v}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(e)throw e.error}}else try{for(var h=r.__values(t),_=h.next();!_.done;_=h.next()){f=_.value;null!=(f=n(f,++l,t))&&(u=f)&&(u=f,s=l)}}catch(p){i={error:p}}finally{try{_&&!_.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}return s}function lt(t,n){var e,o,i,a,u=0,s=0;if(void 0===n)try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next()){var d=c.value;null!=d&&(d=+d)>=d&&(++u,s+=d)}}catch(v){e={error:v}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(e)throw e.error}}else{var f=-1;try{for(var h=r.__values(t),_=h.next();!_.done;_=h.next()){d=_.value;null!=(d=n(d,++f,t))&&(d=+d)>=d&&(++u,s+=d)}}catch(p){i={error:p}}finally{try{_&&!_.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}}if(u)return s/u}function ct(t,n){return ot(t,.5,n)}function dt(t){var n,e,o,i,a,u;return r.__generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,5,6,7]),n=r.__values(t),e=n.next(),s.label=1;case 1:return e.done?[3,4]:(o=e.value,[5,r.__values(o)]);case 2:s.sent(),s.label=3;case 3:return e=n.next(),[3,1];case 4:return[3,7];case 5:return i=s.sent(),a={error:i},[3,7];case 6:try{e&&!e.done&&(u=n.return)&&u.call(n)}finally{if(a)throw a.error}return[7];case 7:return[2]}}))}function ft(t){return Array.from(dt(t))}function ht(t,n){var e,o,i,a,u,s=-1,l=-1;if(void 0===n)try{for(var c=r.__values(t),d=c.next();!d.done;d=c.next()){var f=d.value;++l,null!=f&&(u>f||void 0===u&&f>=f)&&(u=f,s=l)}}catch(v){e={error:v}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(e)throw e.error}}else try{for(var h=r.__values(t),_=h.next();!_.done;_=h.next()){f=_.value;null!=(f=n(f,++l,t))&&(u>f||void 0===u&&f>=f)&&(u=f,s=l)}}catch(p){i={error:p}}finally{try{_&&!_.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}return s}function _t(t,n){var e,o;void 0===n&&(n=vt);var i,a=[],u=!1;try{for(var s=r.__values(t),l=s.next();!l.done;l=s.next()){var c=l.value;u&&a.push(n(i,c)),i=c,u=!0}}catch(d){e={error:d}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}return a}function vt(t,n){return[t,n]}function pt(t,n,e){t=+t,n=+n,e=(o=arguments.length)<2?(n=t,t=0,1):o<3?1:+e;var r=-1,o=0|Math.max(0,Math.ceil((n-t)/e)),i=new Array(o);while(++r0:0===n(_,_))&&(s=h,c=_,l=!0)}}catch(g){o={error:g}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}else try{for(var v=r.__values(t),p=v.next();!p.done;p=v.next()){_=p.value;(l?e(_,s)>0:0===e(_,_))&&(s=_,l=!0)}}catch(m){a={error:m}}finally{try{p&&!p.done&&(u=v.return)&&u.call(v)}finally{if(a)throw a.error}}return s}function bt(t,e){var o,i,a;if(void 0===e&&(e=n),1===e.length)return st(t,e);var u=-1,s=-1;try{for(var l=r.__values(t),c=l.next();!c.done;c=l.next()){var d=c.value;++s,(u<0?0===e(d,d):e(d,a)>0)&&(a=d,u=s)}}catch(f){o={error:f}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(o)throw o.error}}return u}function jt(t,n){var e=mt(t,n);return e<0?void 0:e}var wt=xt(Math.random);function xt(t){return function(n,e,r){void 0===e&&(e=0),void 0===r&&(r=n.length);var o=r-(e=+e);while(o){var i=t()*o--|0,a=n[o+e];n[o+e]=n[i+e],n[i+e]=a}return n}}function Et(t,n){var e,o,i,a,u=0;if(void 0===n)try{for(var s=r.__values(t),l=s.next();!l.done;l=s.next()){var c=l.value;(c=+c)&&(u+=c)}}catch(_){e={error:_}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}else{var d=-1;try{for(var f=r.__values(t),h=f.next();!h.done;h=f.next()){c=h.value;(c=+n(c,++d,t))&&(u+=c)}}catch(v){i={error:v}}finally{try{h&&!h.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}}return u}function Mt(t){if(!(o=t.length))return[];for(var n=-1,e=nt(t,St),r=new Array(e);++n=o.length)return null!=t&&e.sort(t),null!=n?n(e):e;var s,l,d,f=-1,h=e.length,_=o[i++],v=r(),p=a();while(++fo.length)return t;var r,i=l[e-1];return null!=n&&e>=o.length?r=t.entries():(r=[],t.each((function(t,n){r.push({key:n,values:d(t,e)})}))),null!=i?r.sort((function(t,n){return i(t.key,n.key)})):r}return e={object:function(t){return c(t,0,i,a)},map:function(t){return c(t,0,u,s)},entries:function(t){return d(c(t,0,u,s),0)},key:function(t){return o.push(t),e},sortKeys:function(t){return l[o.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}function i(){return{}}function a(t,n,e){t[n]=e}function u(){return r()}function s(t,n,e){t.set(n,e)}function l(){}e.prototype=r.prototype={constructor:e,has:function(t){return n+t in this},get:function(t){return this[n+t]},set:function(t,e){return this[n+t]=e,this},remove:function(t){var e=n+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===n&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===n&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===n&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===n&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===n&&++t;return t},empty:function(){for(var t in this)if(t[0]===n)return!1;return!0},each:function(t){for(var e in this)e[0]===n&&t(this[e],e.slice(1),this)}};var c=r.prototype;function d(t,n){var e=new l;if(t instanceof l)t.each((function(t){e.add(t)}));else if(t){var r=-1,o=t.length;if(null==n)while(++rs&&(s=t),nl&&(l=n)}function f(t,e,r){var o=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=a&&t.clipExtent(null),n.geoStream(r,t.stream(c));var u=c.result(),s=Math.min(o/(u[1][0]-u[0][0]),i/(u[1][1]-u[0][1])),l=+e[0][0]+(o-s*(u[1][0]+u[0][0]))/2,d=+e[0][1]+(i-s*(u[1][1]+u[0][1]))/2;return null!=a&&t.clipExtent(a),t.scale(150*s).translate([l,d])}function h(t,n,e){return f(t,[[0,0],n],e)}function _(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=.12&&o<.234&&r>=-.425&&r<-.214?c:o>=.166&&o<.234&&r>=-.214&&r<-.115?d:l).invert(t)},p.stream=function(n){return t&&r===n?t:t=_([l.stream(r=n),c.stream(n),d.stream(n)])},p.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),d.precision(t),g()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),c.scale(.35*t),d.scale(t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),e=+t[0],r=+t[1];return i=l.translate(t).clipExtent([[e-.455*n,r-.238*n],[e+.455*n,r+.238*n]]).stream(v),a=c.translate([e-.307*n,r+.201*n]).clipExtent([[e-.425*n+o,r+.12*n+o],[e-.214*n-o,r+.234*n-o]]).stream(v),u=d.translate([e-.205*n,r+.212*n]).clipExtent([[e-.214*n+o,r+.166*n+o],[e-.115*n-o,r+.234*n-o]]).stream(v),g()},p.fitExtent=function(t,n){return f(p,t,n)},p.fitSize=function(t,n){return h(p,t,n)},p.drawCompositionBorders=function(t){var n=l([-102.91,26.3]),e=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]),u=l([-114.3,30.6]),s=l([-119.3,30.1]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[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(u[0],u[1]),t.lineTo(s[0],s[1])},p.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},p.scale(1070)}function p(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=.12&&o<.234&&r>=-.425&&r<-.214?v: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(n){return t&&r===n?t:t=p([_.stream(r=n),v.stream(n),g.stream(n),m.stream(n),y.stream(n),b.stream(n)])},w.precision=function(t){return arguments.length?(_.precision(t),v.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),v.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 n=_.scale(),e=+t[0],r=+t[1];return i=_.translate(t).clipExtent([[e-.455*n,r-.238*n],[e+.455*n,r+.238*n]]).stream(j),a=v.translate([e-.307*n,r+.201*n]).clipExtent([[e-.425*n+o,r+.12*n+o],[e-.214*n-o,r+.233*n-o]]).stream(j),u=g.translate([e-.205*n,r+.212*n]).clipExtent([[e-.214*n+o,r+.166*n+o],[e-.115*n-o,r+.233*n-o]]).stream(j),s=m.translate([e+.35*n,r+.224*n]).clipExtent([[e+.312*n+o,r+.2064*n+o],[e+.385*n-o,r+.233*n-o]]).stream(j),l=y.translate([e-.492*n,r+.09*n]).clipExtent([[e-.4243*n+o,r+.0903*n+o],[e-.3233*n-o,r+.1197*n-o]]).stream(j),c=b.translate([e-.408*n,r+.018*n]).clipExtent([[e-.4244*n+o,r-.0519*n+o],[e-.3824*n-o,r+.0895*n-o]]).stream(j),x()},w.fitExtent=function(t,n){return f(w,t,n)},w.fitSize=function(t,n){return h(w,t,n)},w.drawCompositionBorders=function(t){var n=_([-110.4641,28.2805]),e=_([-104.0597,28.9528]),r=_([-103.7049,25.1031]),o=_([-109.8337,24.4531]),i=_([-124.4745,28.1407]),a=_([-110.931,30.8844]),u=_([-109.8337,24.4531]),s=_([-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(n[0],n[1]),t.lineTo(e[0],e[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(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(s[0],s[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=e.path();return this.drawCompositionBorders(t),t.toString()},w.scale(1070)}function m(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=.05346&&o<.0897&&r>=-.13388&&r<-.0322?l:s).invert(t)},d.stream=function(n){return t&&r===n?t:t=m([s.stream(r=n),l.stream(n)])},d.precision=function(t){return arguments.length?(s.precision(t),l.precision(t),_()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],r=+t[1];return i=s.translate(t).clipExtent([[e-.06857*n,r-.1288*n],[e+.13249*n,r+.06*n]]).stream(c),a=l.translate([e+.1*n,r-.094*n]).clipExtent([[e-.1331*n+o,r+.053457*n+o],[e-.0354*n-o,r+.08969*n-o]]).stream(c),_()},d.fitExtent=function(t,n){return f(d,t,n)},d.fitSize=function(t,n){return h(d,t,n)},d.drawCompositionBorders=function(t){var n=s([-14.034675,34.965007]),e=s([-7.4208899,35.536988]),r=s([-7.3148275,33.54359]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1])},d.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},d.scale(2700)}function b(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=.0093&&o<.03678&&r>=-.03875&&r<-.0116?c:o>=-.0412&&o<.0091&&r>=-.07782&&r<-.01166?d:l).invert(t)},v.stream=function(n){return t&&r===n?t:t=b([l.stream(r=n),c.stream(n),d.stream(n)])},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),d.precision(t),p()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(t),d.scale(.6*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),e=+t[0],r=+t[1];return i=l.translate(t).clipExtent([[e-.0115*n,r-.1138*n],[e+.2105*n,r+.0673*n]]).stream(_),a=c.translate([e-.0265*n,r+.025*n]).clipExtent([[e-.0388*n+o,r+.0093*n+o],[e-.0116*n-o,r+.0368*n-o]]).stream(_),u=d.translate([e-.045*n,r+-.02*n]).clipExtent([[e-.0778*n+o,r-.0413*n+o],[e-.0117*n-o,r+.0091*n-o]]).stream(_),p()},v.fitExtent=function(t,n){return f(v,t,n)},v.fitSize=function(t,n){return h(v,t,n)},v.drawCompositionBorders=function(t){var n=l([-12.8351,38.7113]),e=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]),u=l([-10.8557,38.7747]),s=l([-15.6728,38.5505]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[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(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(s[0],s[1]),t.closePath()},v.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},v.scale(4200)}function w(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=-.0676&&o<-.026&&r>=-.0857&&r<-.0263?l:s).invert(t)},d.stream=function(n){return t&&r===n?t:t=w([s.stream(r=n),l.stream(n)])},d.precision=function(t){return arguments.length?(s.precision(t),l.precision(t),_()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],r=+t[1];return i=s.translate(t).clipExtent([[e-.0262*n,r-.0734*n],[e+.1741*n,r+.079*n]]).stream(c),a=l.translate([e-.06*n,r-.04*n]).clipExtent([[e-.0857*n+o,r-.0676*n+o],[e-.0263*n-o,r-.026*n-o]]).stream(c),_()},d.fitExtent=function(t,n){return f(d,t,n)},d.fitSize=function(t,n){return h(d,t,n)},d.drawCompositionBorders=function(t){var n=s([-84.9032,2.3757]),e=s([-81.5047,2.3708]),r=s([-81.5063,-.01]),o=s([-84.9086,-.005]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},d.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},d.scale(3500)}function E(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=.2582&&o<.32&&r>=-.1036&&r<-.087?d:o>=-.01298&&o<.0133&&r>=-.11396&&r<-.05944?_:o>=.01539&&o<.03911&&r>=-.089&&r<-.0588?v:c).invert(t)},g.stream=function(n){return t&&r===n?t:t=E([c.stream(r=n),d.stream(n),_.stream(n),v.stream(n)])},g.precision=function(t){return arguments.length?(c.precision(t),d.precision(t),_.precision(t),v.precision(t),m()):c.precision()},g.scale=function(t){return arguments.length?(c.scale(t),d.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 n=c.scale(),e=+t[0],r=+t[1];return i=c.translate(t).clipExtent([[e-.059*n,r-.3835*n],[e+.4498*n,r+.3375*n]]).stream(p),a=d.translate([e-.087*n,r+.17*n]).clipExtent([[e-.1166*n+o,r+.2582*n+o],[e-.06*n-o,r+.32*n-o]]).stream(p),u=_.translate([e-.092*n,r-0*n]).clipExtent([[e-.114*n+o,r-.013*n+o],[e-.0594*n-o,r+.0133*n-o]]).stream(p),s=v.translate([e-.089*n,r-.0265*n]).clipExtent([[e-.089*n+o,r+.0154*n+o],[e-.0588*n-o,r+.0391*n-o]]).stream(p),m()},g.fitExtent=function(t,n){return f(g,t,n)},g.fitSize=function(t,n){return h(g,t,n)},g.drawCompositionBorders=function(t){var n=c([-82.6999,-51.3043]),e=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]),u=c([-76.2994,-37.6839]),s=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(n[0],n[1]),t.lineTo(e[0],e[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(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(s[0],s[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=e.path();return this.drawCompositionBorders(t),t.toString()},g.scale(700)}function S(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=-.10925&&o<-.02701&&r>=-.135&&r<-.0397?c:o>=.04713&&o<.11138&&r>=-.03986&&r<.051?d:l).invert(t)},v.stream=function(n){return t&&r===n?t:t=S([l.stream(r=n),c.stream(n),d.stream(n)])},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),d.precision(t),p()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(t),d.scale(.7*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),e=+t[0],r=+t[1];return i=l.translate(t).clipExtent([[e-.1352*n,r-.1091*n],[e+.117*n,r+.098*n]]).stream(_),a=c.translate([e-.0425*n,r-.005*n]).clipExtent([[e-.135*n+o,r-.1093*n+o],[e-.0397*n-o,r-.027*n-o]]).stream(_),u=d.translate(t).clipExtent([[e-.0399*n+o,r+.0471*n+o],[e+.051*n-o,r+.1114*n-o]]).stream(_),p()},v.fitExtent=function(t,n){return f(v,t,n)},v.fitSize=function(t,n){return h(v,t,n)},v.drawCompositionBorders=function(t){var n=l([126.01320483689143,41.621090310215585]),e=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]),u=l([139.3,33.2]),s=l([139.16,30.5]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[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(u[0],u[1]),t.lineTo(s[0],s[1])},v.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},v.scale(2200)}function P(t){var n=t.length;return{point:function(e,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?O:o>=-.02&&o<.012&&r>=.0967&&r<.1371?T:o>=.012&&o<.033&&r>=.0967&&r<.1371?k:o>=.033&&o<.0864&&r>=.0967&&r<.1371?A:b).invert(t)},I.stream=function(n){return t&&r===n?t:t=P([b.stream(r=n),j.stream(n),w.stream(n),x.stream(n),E.stream(n),M.stream(n),S.stream(n),O.stream(n),T.stream(n),k.stream(n),A.stream(n),C.stream(n)])},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),O.precision(t),T.precision(t),k.precision(t),A.precision(t),C.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),O.scale(1.2*t),T.scale(.3*t),k.scale(2.7*t),A.scale(.5*t),C.scale(.06*t),I.translate(b.translate())):b.scale()},I.translate=function(t){if(!arguments.length)return b.translate();var n=b.scale(),e=+t[0],r=+t[1];return i=b.translate(t).clipExtent([[e-.0996*n,r-.0908*n],[e+.0967*n,r+.0864*n]]).stream(N),a=j.translate([e-.12*n,r+.0575*n]).clipExtent([[e-.14*n+o,r+.029*n+o],[e-.0996*n-o,r+.0864*n-o]]).stream(N),u=w.translate([e-.12*n,r+.013*n]).clipExtent([[e-.14*n+o,r+0*n+o],[e-.0996*n-o,r+.029*n-o]]).stream(N),s=x.translate([e-.12*n,r-.014*n]).clipExtent([[e-.14*n+o,r-.032*n+o],[e-.0996*n-o,r+0*n-o]]).stream(N),l=E.translate([e-.12*n,r-.044*n]).clipExtent([[e-.14*n+o,r-.052*n+o],[e-.0996*n-o,r-.032*n-o]]).stream(N),c=M.translate([e-.12*n,r-.065*n]).clipExtent([[e-.14*n+o,r-.076*n+o],[e-.0996*n-o,r-.052*n-o]]).stream(N),d=S.translate([e+.117*n,r-.064*n]).clipExtent([[e+.0967*n+o,r-.076*n+o],[e+.1371*n-o,r-.052*n-o]]).stream(N),_=O.translate([e+.116*n,r-.0355*n]).clipExtent([[e+.0967*n+o,r-.052*n+o],[e+.1371*n-o,r-.02*n-o]]).stream(N),v=T.translate([e+.116*n,r-.0048*n]).clipExtent([[e+.0967*n+o,r-.02*n+o],[e+.1371*n-o,r+.012*n-o]]).stream(N),p=k.translate([e+.116*n,r+.022*n]).clipExtent([[e+.0967*n+o,r+.012*n+o],[e+.1371*n-o,r+.033*n-o]]).stream(N),m=C.translate([e+.11*n,r+.045*n]).clipExtent([[e+.0967*n+o,r+.033*n+o],[e+.1371*n-o,r+.06*n-o]]).stream(N),g=A.translate([e+.115*n,r+.075*n]).clipExtent([[e+.0967*n+o,r+.06*n+o],[e+.1371*n-o,r+.0864*n-o]]).stream(N),R()},I.fitExtent=function(t,n){return f(I,t,n)},I.fitSize=function(t,n){return h(I,t,n)},I.drawCompositionBorders=function(t){var n,e,r,o;n=b([-7.938886725111036,43.7219460918835]),e=b([-4.832080896458295,44.12930268549372]),r=b([-4.205299743793263,40.98096346967365]),o=b([-7.071796453126152,40.610037319181444]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([-8.42751373617692,45.32889452553031]),e=b([-5.18599305777107,45.7566442062976]),r=b([-4.832080905154431,44.129302726751426]),o=b([-7.938886737126192,43.72194613263854]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([-9.012656899657046,47.127733821030176]),e=b([-5.6105244772793155,47.579777861410626]),r=b([-5.185993067168585,45.756644248170346]),o=b([-8.427513749141811,45.32889456686326]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([-9.405747558985553,48.26506375557457]),e=b([-5.896175018439575,48.733352850851624]),r=b([-5.610524487556043,47.57977790393761]),o=b([-9.012656913808351,47.127733862971255]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([-9.908436061346974,49.642448789505856]),e=b([-6.262026716233124,50.131426841787174]),r=b([-5.896175029331232,48.73335289377258]),o=b([-9.40574757396393,48.26506379787767]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([11.996907706504462,50.16039028163579]),e=b([15.649907879773343,49.68279246765253]),r=b([15.156712840526632,48.30371557625831]),o=b([11.64122661754411,48.761078240546816]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([11.641226606955788,48.7610781975889]),e=b([15.156712825832164,48.30371553390465]),r=b([14.549932166241172,46.4866532486199]),o=b([11.204443787952183,46.91899233914248]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([11.204443778297161,46.918992296823646]),e=b([14.549932152815039,46.486653206856396]),r=b([13.994409796764009,44.695833444323256]),o=b([10.805306599253848,45.105133870684924]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([10.805306590412085,45.10513382903308]),e=b([13.99440978444733,44.695833403183606]),r=b([13.654633799024392,43.53552468558152]),o=b([10.561516803980956,43.930671459798624]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([10.561516795617383,43.93067141859757]),e=b([13.654633787361952,43.5355246448671]),r=b([12.867691604239901,40.640701985019405]),o=b([9.997809515987688,41.00288343254471]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([10.8,42.4]),e=b([12.8,42.13]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1])},I.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},I.scale(2700)}function k(t){var n=t.length;return{point:function(e,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?O:o>=-.31&&o<-.24&&r>=.24&&r<.34?P:o>=-.24&&o<-.17&&r>=.24&&r<.34?T:o>=-.17&&o<-.1&&r>=.24&&r<.34?A:o>=-.1&&o<-.03&&r>=.24&&r<.34?C:b).invert(t)},I.stream=function(n){return t&&r===n?t:t=k([b.stream(r=n),w.stream(n),P.stream(n),j.stream(n),O.stream(n),S.stream(n),T.stream(n),A.stream(n),C.stream(n),x.stream(n),E.stream(n),M.stream(n)])},I.precision=function(t){return arguments.length?(b.precision(t),w.precision(t),P.precision(t),j.precision(t),O.precision(t),S.precision(t),T.precision(t),A.precision(t),C.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),P.scale(3.5*t),A.scale(2.7*t),x.scale(2*t),E.scale(2*t),M.scale(2*t),S.scale(3*t),O.scale(t),T.scale(5.5*t),C.scale(6*t),I.translate(b.translate())):b.scale()},I.translate=function(t){if(!arguments.length)return b.translate();var n=b.scale(),e=+t[0],r=+t[1];return i=b.translate([e-.08*n,r]).clipExtent([[e-.51*n,r-.33*n],[e+.5*n,r+.33*n]]).stream(N),a=j.translate([e+.19*n,r-.275*n]).clipExtent([[e+.14*n+o,r-.31*n+o],[e+.24*n-o,r-.24*n-o]]).stream(N),u=w.translate([e+.19*n,r-.205*n]).clipExtent([[e+.14*n+o,r-.24*n+o],[e+.24*n-o,r-.17*n-o]]).stream(N),s=x.translate([e+.19*n,r-.135*n]).clipExtent([[e+.14*n+o,r-.17*n+o],[e+.24*n-o,r-.1*n-o]]).stream(N),l=E.translate([e+.225*n,r-.147*n]).clipExtent([[e+.21*n+o,r-.17*n+o],[e+.24*n-o,r-.12*n-o]]).stream(N),c=M.translate([e+.153*n,r-.15*n]).clipExtent([[e+.14*n+o,r-.17*n+o],[e+.165*n-o,r-.14*n-o]]).stream(N),d=S.translate([e+.19*n,r-.065*n]).clipExtent([[e+.14*n+o,r-.1*n+o],[e+.24*n-o,r-.03*n-o]]).stream(N),_=O.translate([e+.19*n,r+.005*n]).clipExtent([[e+.14*n+o,r-.03*n+o],[e+.24*n-o,r+.04*n-o]]).stream(N),v=P.translate([e+.29*n,r-.275*n]).clipExtent([[e+.24*n+o,r-.31*n+o],[e+.34*n-o,r-.24*n-o]]).stream(N),p=T.translate([e+.29*n,r-.205*n]).clipExtent([[e+.24*n+o,r-.24*n+o],[e+.34*n-o,r-.17*n-o]]).stream(N),g=A.translate([e+.29*n,r-.135*n]).clipExtent([[e+.24*n+o,r-.17*n+o],[e+.34*n-o,r-.1*n-o]]).stream(N),m=C.translate([e+.29*n,r-.065*n]).clipExtent([[e+.24*n+o,r-.1*n+o],[e+.34*n-o,r-.03*n-o]]).stream(N),R()},I.fitExtent=function(t,n){return f(I,t,n)},I.fitSize=function(t,n){return h(I,t,n)},I.drawCompositionBorders=function(t){var n,e,r,o;n=b([42.45755610828648,63.343658547914934]),e=b([52.65837266667029,59.35045080290929]),r=b([47.19754502247785,56.12653496548117]),o=b([37.673034273363044,59.61638268506111]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([59.41110754003403,62.35069727399336]),e=b([66.75050228640794,57.11797303636038]),r=b([60.236065725110436,54.63331433818992]),o=b([52.65837313153311,59.350450804599355]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([48.81091130080243,66.93353402634641]),e=b([59.41110730654679,62.35069740653086]),r=b([52.6583728974441,59.3504509222445]),o=b([42.45755631675751,63.34365868805821]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([31.054198418446475,52.1080673766184]),e=b([39.09869284884117,49.400700047190554]),r=b([36.0580811499175,46.02944174908498]),o=b([28.690508588835726,48.433126979386415]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([33.977877745912025,55.849945501331]),e=b([42.75328432167726,52.78455122462353]),r=b([39.09869297540224,49.400700176148625]),o=b([31.05419851807008,52.10806751810923]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([52.658372900759296,59.35045068526415]),e=b([60.23606549583304,54.63331423800264]),r=b([54.6756370953122,51.892298789399455]),o=b([47.19754524788189,56.126534861222794]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([47.19754506082455,56.126534735591456]),e=b([54.675636900123514,51.892298681337095]),r=b([49.94448648951486,48.98775484983285]),o=b([42.75328468716108,52.78455126060818]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([42.75328453416769,52.78455113209101]),e=b([49.94448632339758,48.98775473706457]),r=b([45.912339990394315,45.99361784987003]),o=b([39.09869317356607,49.40070009378711]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([37.673034114296634,59.61638254183119]),e=b([47.197544835420544,56.126534839849846]),r=b([42.75328447467064,52.78455135314068]),o=b([33.977877870363905,55.849945644671145]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([44.56748486446032,57.26489367845818]),r=b([43.9335791193588,53.746540942601726]),o=b([43,56]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=b([37.673034114296634,59.61638254183119]),e=b([40.25902691953466,58.83002044222639]),r=b([38.458270492742024,57.26232178028002]),o=b([35.97754948030156,58.00266637992386]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},I.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},I.scale(750)}function C(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=-.0067&&o<.0015&&r>=-.0232&&r<-.0154?d:o>=-.022&&o<-.014&&r>=-.023&&r<-.014?_:c).invert(t)},p.stream=function(n){return t&&i===n?t:t=C([c.stream(i=n),d.stream(n),_.stream(n)])},p.precision=function(t){return arguments.length?(c.precision(t),d.precision(t),_.precision(t),g()):c.precision()},p.scale=function(t){return arguments.length?(c.scale(t),d.scale(t),_.scale(t),p.translate(c.translate())):c.scale()},p.translate=function(t){if(!arguments.length)return c.translate();var n=c.scale(),e=+t[0],r=+t[1];return a=c.translate(t).clipExtent([[e-.0245*n,r-.026*n],[e+.023*n,r+.026*n]]).stream(v),u=d.translate([e-.0186*n,r-.00325*n]).clipExtent([[e-.0232*n+o,r-.0067*n+o],[e-.0154*n-o,r+.0015*n-o]]).stream(v),s=_.translate([e-.0185*n,r-.017*n]).clipExtent([[e-.023*n+o,r-.022*n+o],[e-.014*n-o,r-.014*n-o]]).stream(v),g()},p.fitExtent=function(t,n){return f(p,t,n)},p.fitSize=function(t,n){return h(p,t,n)},p.drawCompositionBorders=function(t){var n=c([3.30573,52.5562]),e=c([4.043,52.572]),r=c([4.0646,52.1017]),o=c([3.3382,52.0861]),i=c([3.262,53.439]),a=c([4.1373,53.4571]),u=c([4.1574,52.9946]),s=c([3.2951,52.9768]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[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(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(s[0],s[1]),t.closePath()},p.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},p.scale(4200)}function I(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=-.0521&&o<.0229&&r>=-.0111&&r<.1?l:s).invert(t)},d.stream=function(n){return t&&r===n?t:t=I([s.stream(r=n),l.stream(n)])},d.precision=function(t){return arguments.length?(s.precision(t),l.precision(t),_()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),l.scale(.615*t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],r=+t[1];return i=s.translate(t).clipExtent([[e-.11*n,r-.0521*n],[e-.0111*n,r+.0521*n]]).stream(c),a=l.translate([e+.09*n,r-0*n]).clipExtent([[e-.0111*n+o,r-.0521*n+o],[e+.1*n-o,r+.024*n-o]]).stream(c),_()},d.fitExtent=function(t,n){return f(d,t,n)},d.fitSize=function(t,n){return h(d,t,n)},d.drawCompositionBorders=function(t){var n=s([106.3214,2.0228]),e=s([105.1843,2.3761]),r=s([104.2151,3.3618]),o=s([104.215,4.5651]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1])},d.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},d.scale(4800)}function D(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=-.02&&o<0&&r>=-.038&&r<-.005?c:o>=0&&o<.02&&r>=-.038&&r<-.005?d:l).invert(t)},v.stream=function(n){return t&&r===n?t:t=D([l.stream(r=n),c.stream(n),d.stream(n)])},v.precision=function(t){return arguments.length?(l.precision(t),c.precision(t),d.precision(t),p()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),c.scale(1.5*t),d.scale(4*t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),e=+t[0],r=+t[1];return i=l.translate(t).clipExtent([[e-.005*n,r-.02*n],[e+.038*n,r+.02*n]]).stream(_),a=c.translate([e-.025*n,r-.01*n]).clipExtent([[e-.038*n+o,r-.02*n+o],[e-.005*n-o,r+0*n-o]]).stream(_),u=d.translate([e-.025*n,r+.01*n]).clipExtent([[e-.038*n+o,r-0*n+o],[e-.005*n-o,r+.02*n-o]]).stream(_),p()},v.fitExtent=function(t,n){return f(v,t,n)},v.fitSize=function(t,n){return h(v,t,n)},v.drawCompositionBorders=function(t){var n,e,r,o;n=l([9.21327272751682,2.645820439454123]),e=l([11.679126293239872,2.644755519268689]),r=l([11.676845389029227,.35307824637606433]),o=l([9.213572917774014,.35414205204417754]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=l([7.320873711543669,2.64475551449975]),e=l([9.213272722738658,2.645820434679803]),r=l([9.213422896480349,1.4999812505283054]),o=l([7.322014760520787,1.4989168878985566]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),n=l([7.3220147605302905,1.4989168783492766]),e=l([9.213422896481598,1.499981240979021]),r=l([9.213572912999604,.354142056817247]),o=l([7.323154615739809,.353078251154504]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},v.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},v.scale(12e3)}function L(t){var n=t.length;return{point:function(e,r){var o=-1;while(++o=-.089&&o<.06&&r>=.029&&r<.046?l:s).invert(t)},d.stream=function(n){return t&&r===n?t:t=L([s.stream(r=n),l.stream(n)])},d.precision=function(t){return arguments.length?(s.precision(t),l.precision(t),_()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],r=+t[1];return i=s.translate(t).clipExtent([[e-.065*n,r-.089*n],[e+.075*n,r+.089*n]]).stream(c),a=l.translate([e+.01*n,r+.025*n]).clipExtent([[e+.029*n+o,r-.089*n+o],[e+.046*n-o,r-.06*n-o]]).stream(c),_()},d.fitExtent=function(t,n){return f(d,t,n)},d.fitSize=function(t,n){return h(d,t,n)},d.drawCompositionBorders=function(t){var n,e,r,o;n=s([-1.113205870242365,59.64920050773357]),e=s([.807899092399606,59.59085836472269]),r=s([.5778611961420386,57.93467822832577]),o=s([-1.25867782078448,57.99029450085142]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},d.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},d.scale(2800)}t.geoAlbersUk=z,t.geoAlbersUsa=v,t.geoAlbersUsaTerritories=g,t.geoConicConformalEurope=A,t.geoConicConformalFrance=T,t.geoConicConformalNetherlands=N,t.geoConicConformalPortugal=j,t.geoConicConformalSpain=y,t.geoConicEquidistantJapan=O,t.geoMercatorEcuador=x,t.geoMercatorEquatorialGuinea=q,t.geoMercatorMalaysia=R,t.geoTransverseMercatorChile=M,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,n,e){(function(t,e){e(n)})(0,(function(t){"use strict";var n={},e={},r=34,o=10,i=13;function a(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+'] || ""'})).join(",")+"}")}function u(t,n){var e=a(t);return function(r,o){return n(e(r),o,t)}}function s(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}function l(t,n){var e=t+"",r=e.length;return r9999?"+"+l(t,6):l(t,4)}function d(t){var n=t.getUTCHours(),e=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(n,2)+":"+l(e,2)+":"+l(r,2)+"."+l(o,3)+"Z":r?"T"+l(n,2)+":"+l(e,2)+":"+l(r,2)+"Z":e||n?"T"+l(n,2)+":"+l(e,2)+"Z":"")}function f(t){var l=new RegExp('["'+t+"\n\r]"),c=t.charCodeAt(0);function f(t,n){var e,r,o=h(t,(function(t,o){if(e)return e(t,o-1);r=t,e=n?u(t,n):a(t)}));return o.columns=r||[],o}function h(t,a){var u,s=[],l=t.length,d=0,f=0,h=l<=0,_=!1;function v(){if(h)return e;if(_)return _=!1,n;var a,u,s=d;if(t.charCodeAt(s)===r){while(d++=l?h=!0:(u=t.charCodeAt(d++))===o?_=!0:u===i&&(_=!0,t.charCodeAt(d)===o&&++d),t.slice(s+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=A(2),E=A(y),M=2*y,S=180/y,O=y/180;function P(t){return t?t/Math.sin(t):1}function T(t){return t>1?b:t<-1?-b:Math.asin(t)}function k(t){return t>1?0:t<-1?y:Math.acos(t)}function A(t){return t>0?Math.sqrt(t):0}function C(t){return t=u(2*t),(t-1)/(t+1)}function N(t){return(u(t)-u(-t))/2}function I(t){return(u(t)+u(-t))/2}function R(t){return l(t+A(t*t+1))}function D(t){return l(t+A(t*t-1))}function q(t){var n=p(t/2),e=2*l(a(t/2))/(n*n);function o(t,n){var r=a(t),o=a(n),i=v(n),u=o*r,s=-((1-u?l((1+u)/2)/(1-u):-.5)+e/(1+u));return[s*o*v(t),s*i]}return o.invert=function(n,o){var u,s=A(n*n+o*o),c=-t/2,d=50;if(!s)return[0,0];do{var f=c/2,h=a(f),_=v(f),m=p(f),y=l(1/h);c-=u=(2/m*y-e*m-s)/(-y/(_*_)+1-e/(2*h*h))}while(r(u)>g&&--d>0);var b=v(c);return[i(n*b,s*a(c)),T(o*b/s)]},o}var L=function(){var t=b,e=n.geoProjectionMutator(q),r=e(t);return r.radius=function(n){return arguments.length?e(t=n*O):t*S},r.scale(179.976).clipAngle(147)};function z(t,n){var e=a(n),r=P(k(e*a(t/=2)));return[2*e*v(t)*r,v(n)*r]}z.invert=function(t,n){if(!(t*t+4*n*n>y*y+g)){var e=t,o=n,i=25;do{var u,s=v(e),l=v(e/2),c=a(e/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?k(f*c)*A(u=1/b):u=0,w=2*j*f*l-t,x=j*d-n,E=u*(p*m+j*f*c*_),M=u*(.5*s*h-2*j*d*l),S=.25*u*(h*l-j*d*p*s),O=u*(_*c+j*m*f),P=M*S-O*E;if(!P)break;var T=(x*M-w*O)/P,C=(w*S-x*E)/P;e-=T,o-=C}while((r(T)>g||r(C)>g)&&--i>0);return[e,o]}};var B=function(){return n.geoProjection(z).scale(152.63)};function F(t){var n=v(t),e=a(t),o=t>=0?1:-1,u=p(o*t),s=(1+n-e)/2;function l(t,r){var l=a(r),c=a(t/=2);return[(1+l)*v(t),(o*r>-i(c,u)-.001?0:10*-o)+s+v(r)*e-(1+l)*n*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=s+m*e-y*n*h-l,w=y*h/2,x=-_*m,E=n*y*_/2,M=e*p+n*h*m,S=x*E-M*w,O=(j*x-b*M)/S/2,P=(b*E-j*w)/S;c-=O,d-=P}while((r(O)>g||r(P)>g)&&--f>0);return o*d>-i(a(c),u)-.001?[2*c,d]:null},l}var G=function(){var t=20*O,e=t>=0?1:-1,r=p(e*t),o=n.geoProjectionMutator(F),u=o(t),s=u.stream;return u.parallel=function(n){return arguments.length?(r=p((e=(t=n*O)>=0?1:-1)*t),o(t)):t*S},u.stream=function(n){var o=u.rotate(),l=s(n),c=(u.rotate([0,0]),s(n));return u.rotate(o),l.sphere=function(){c.polygonStart(),c.lineStart();for(var n=-180*e;e*n<180;n+=90*e)c.point(n,90*e);while(e*(n-=t)>=-180)c.point(n,e*-i(a(n*O/2),r)*S);c.lineEnd(),c.polygonEnd()},l},u.scale(218.695).center([0,28.0974])};function V(t,n){var e=p(n/2),r=A(1-e*e),o=1+r*a(t/=2),i=v(t)*r/o,u=e/o,s=i*i,l=u*u;return[4/3*i*(3+s-3*l),4/3*u*(3+3*s-l)]}V.invert=function(t,n){if(t*=3/8,n*=3/8,!t&&r(n)>1)return null;var e=t*t,o=n*n,u=1+e+o,s=A((u-A(u*u-4*n*n))/2),l=T(s)/3,c=s?D(r(n/s))/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*_(n)*i(f*v(l),.25+h)]};var H=function(){return n.geoProjection(V).scale(66.1603)},U=A(8),W=l(1+x);function K(t,n){var e=r(n);return em&&--c>0);return[t/(a(s)*(U-1/v(s))),_(n)*s]};var Y=function(){return n.geoProjection(K).scale(112.314)};function X(t){var e=2*y/t;function u(t,o){var u=n.geoAzimuthalEquidistantRaw(t,o);if(r(t)>b){var s=i(u[1],u[0]),l=A(u[0]*u[0]+u[1]*u[1]),c=e*h((s-b)/e)+b,d=i(v(s-=c),2-a(s));s=c+T(y/l*v(d))-d,u[0]=l*a(s),u[1]=l*v(s)}return u}return u.invert=function(t,r){var u=A(t*t+r*r);if(u>b){var s=i(r,t),l=e*h((s-b)/e)+b,c=s>l?-1:1,d=u*a(l-s),f=1/p(c*k((d-y)/A(y*(y-2*d)+u*u)));s=l+2*o((f+c*A(f*f-3))/3),t=u*a(s),r=u*v(s)}return n.geoAzimuthalEquidistantRaw.invert(t,r)},u}var J=function(){var t=5,e=n.geoProjectionMutator(X),r=e(t),o=r.stream,u=.01,s=-a(u*O),l=v(u*O);return r.lobes=function(n){return arguments.length?e(t=+n):t},r.stream=function(n){var e=r.rotate(),c=o(n),d=(r.rotate([0,0]),o(n));return r.rotate(e),c.sphere=function(){d.polygonStart(),d.lineStart();for(var n=0,e=360/t,r=2*y/t,o=90-180/t,c=b;ng&&--i>0);return n/2}function Z(t,n,e){function r(r,o){return[t*r*a(o=$(e,o)),n*v(o)]}return r.invert=function(r,o){return o=T(o/n),[r/(t*a(o)),T((2*o+v(2*o))/e)]},r}var Q=Z(x/b,x,y),tt=function(){return n.geoProjection(Q).scale(169.529)},nt=2.00276,et=1.11072;function rt(t,n){var e=$(y,n);return[nt*t/(1/a(n)+et/a(e)),(n+x*v(e))/nt]}rt.invert=function(t,n){var e,o,i=nt*n,u=n<0?-j:j,s=25;do{o=i-x*v(u),u-=e=(v(2*u)+2*u-y*v(o))/(2*a(2*u)+2+y*a(o)*x*a(u))}while(r(e)>g&&--s>0);return o=i-x*v(u),[t*(1/a(o)+et/a(u))/nt,o]};var ot=function(){return n.geoProjection(rt).scale(160.857)},it=function(t){var e=0,r=n.geoProjectionMutator(t),o=r(e);return o.parallel=function(t){return arguments.length?r(e=t*O):e*S},o};function at(t,n){return[t*a(n),n]}at.invert=function(t,n){return[t/a(n),n]};var ut=function(){return n.geoProjection(at).scale(152.63)};function st(t){if(!t)return at;var n=1/p(t);function e(e,r){var o=n+t-r,i=o?e*a(r)/o:o;return[o*v(i),n-o*a(i)]}return e.invert=function(e,r){var o=A(e*e+(r=n-r)*r),u=n+t-o;return[o/a(u)*i(e,r),u]},e}var lt=function(){return it(st).scale(123.082).center([0,26.1441]).parallel(45)};function ct(t){function n(n,e){var r=b-e,o=r?n*t*v(r)/r:r;return[r*v(o)/t,b-r*a(o)]}return n.invert=function(n,e){var r=n*t,o=b-e,a=A(r*r+o*o),u=i(r,o);return[(a?a/v(a):1)*u/t,b-a]},n}var dt=function(){var t=.5,e=n.geoProjectionMutator(ct),r=e(t);return r.fraction=function(n){return arguments.length?e(t=+n):t},r.scale(158.837)},ft=Z(1,4/y,y),ht=function(){return n.geoProjection(ft).scale(152.63)};function _t(t,n,e,o,u,s){var l,c=a(s);if(r(t)>1||r(s)>1)l=k(e*u+n*o*c);else{var d=v(t/2),f=v(s/2);l=2*T(A(d*d+n*o*f*f))}return r(l)>g?[l,i(o*v(s),n*u-e*o*c)]:[0,0]}function vt(t,n,e){return k((t*t+n*n-e*e)/(2*t*n))}function pt(t){return t-2*y*s((t+y)/(2*y))}function gt(t,n,e){for(var r,o=[[t[0],t[1],v(t[1]),a(t[1])],[n[0],n[1],v(n[1]),a(n[1])],[e[0],e[1],v(e[1]),a(e[1])]],i=o[2],u=0;u<3;++u,i=r)r=o[u],i.v=_t(r[1]-i[1],i[3],i[2],r[3],r[2],r[0]-i[0]),i.point=[0,0];var s=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-s;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(s),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*v(s))];function f(t,n){var e,r=v(n),i=a(n),u=new Array(3);for(e=0;e<3;++e){var s=o[e];if(u[e]=_t(n-s[1],s[3],s[2],i,r,t-s[0]),!u[e][0])return s.point;u[e][1]=pt(u[e][1]-s.v[1])}var f=d.slice();for(e=0;e<3;++e){var h=2==e?0:e+1,_=vt(o[e].v[0],u[e][0],u[h][0]);u[e][1]<0&&(_=-_),e?1==e?(_=l-_,f[0]-=u[e][0]*a(_),f[1]-=u[e][0]*v(_)):(_=c-_,f[0]+=u[e][0]*a(_),f[1]+=u[e][0]*v(_)):(f[0]+=u[e][0]*a(_),f[1]-=u[e][0]*v(_))}return f[0]/=3,f[1]/=3,f}return f}function mt(t){return t[0]*=O,t[1]*=O,t}function yt(){return bt([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function bt(t,e,r){var o=n.geoCentroid({type:"MultiPoint",coordinates:[t,e,r]}),i=[-o[0],-o[1]],a=n.geoRotation(i),u=n.geoProjection(gt(mt(a(t)),mt(a(e)),mt(a(r)))).rotate(i),s=u.center;return delete u.rotate,u.center=function(t){return arguments.length?s(a(t)):a.invert(s())},u.clipAngle(90)}function jt(t,n){var e=A(1-v(n));return[2/E*t*e,E*(1-e)]}jt.invert=function(t,n){var e=(e=n/E-1)*e;return[e>0?t*A(y/e)/2:0,T(1-e)]};var wt=function(){return n.geoProjection(jt).scale(95.6464).center([0,30])};function xt(t){var n=p(t);function e(t,e){return[t,(t?t/v(t):1)*(v(e)*a(t)-n*a(e))]}return e.invert=n?function(t,e){t&&(e*=v(t)/t);var r=a(t);return[t,2*i(A(r*r+n*n-e*e)-r,n-e)]}:function(t,n){return[t,T(t?n*p(t)/t:n)]},e}var Et=function(){return it(xt).scale(249.828).clipAngle(90)},Mt=A(3);function St(t,n){return[Mt*t*(2*a(2*n/3)-1)/E,Mt*E*v(n/3)]}St.invert=function(t,n){var e=3*T(n/(Mt*E));return[E*t/(Mt*(2*a(2*e/3)-1)),e]};var Ot=function(){return n.geoProjection(St).scale(156.19)};function Pt(t){var n=a(t);function e(t,e){return[t*n,v(e)/n]}return e.invert=function(t,e){return[t/n,T(e*n)]},e}var Tt=function(){return it(Pt).parallel(38.58).scale(195.044)};function kt(t){var n=a(t);function e(t,e){return[t*n,(1+n)*p(e/2)]}return e.invert=function(t,e){return[t/n,2*o(e/(1+n))]},e}var At=function(){return it(kt).scale(124.75)};function Ct(t,n){var e=A(8/(3*y));return[e*t*(1-r(n)/y),e*n]}Ct.invert=function(t,n){var e=A(8/(3*y)),o=n/e;return[t/(e*(1-r(o)/y)),o]};var Nt=function(){return n.geoProjection(Ct).scale(165.664)};function It(t,n){var e=A(4-3*v(r(n)));return[2/A(6*y)*t*e,_(n)*A(2*y/3)*(2-e)]}It.invert=function(t,n){var e=2-r(n)/A(2*y/3);return[t*A(6*y)/(2*e),_(n)*T((4-e*e)/3)]};var Rt=function(){return n.geoProjection(It).scale(165.664)};function Dt(t,n){var e=A(y*(4+y));return[2/e*t*(1+A(1-4*n*n/(y*y))),4/e*n]}Dt.invert=function(t,n){var e=A(y*(4+y))/2;return[t*e/(1+A(1-n*n*(4+y)/(4*y))),n*e/2]};var qt=function(){return n.geoProjection(Dt).scale(180.739)};function Lt(t,n){var e=(2+b)*v(n);n/=2;for(var o=0,i=1/0;o<10&&r(i)>g;o++){var u=a(n);n-=i=(n+v(n)*(u+2)-e)/(2*u*(1+u))}return[2/A(y*(4+y))*t*(1+a(n)),2*A(y/(4+y))*v(n)]}Lt.invert=function(t,n){var e=n*A((4+y)/y)/2,r=T(e),o=a(r);return[t/(2/A(y*(4+y))*(1+o)),T((r+e*(o+2))/(2+b))]};var zt=function(){return n.geoProjection(Lt).scale(180.739)};function Bt(t,n){return[t*(1+a(n))/A(2+y),2*n/A(2+y)]}Bt.invert=function(t,n){var e=A(2+y),r=n*e/2;return[e*t/(1+a(r)),r]};var Ft=function(){return n.geoProjection(Bt).scale(173.044)};function Gt(t,n){for(var e=(1+b)*v(n),o=0,i=1/0;o<10&&r(i)>g;o++)n-=i=(n+v(n)-e)/(1+a(n));return e=A(2+y),[t*(1+a(n))/e,2*n/e]}Gt.invert=function(t,n){var e=1+b,r=A(e/2);return[2*t*r/(1+a(n*=r)),T((n+v(n))/e)]};var Vt=function(){return n.geoProjection(Gt).scale(173.044)},Ht=3+2*x;function Ut(t,n){var e=v(t/=2),r=a(t),i=A(a(n)),u=a(n/=2),s=v(n)/(u+x*r*i),c=A(2/(1+s*s)),d=A((x*u+(r+e)*i)/(x*u+(r-e)*i));return[Ht*(c*(d-1/d)-2*l(d)),Ht*(c*s*(d+1/d)-2*o(s))]}Ut.invert=function(t,n){if(!(e=V.invert(t/1.2,1.065*n)))return null;var e,i=e[0],u=e[1],s=20;t/=Ht,n/=Ht;do{var f=i/2,h=u/2,_=v(f),p=a(f),m=v(h),y=a(h),j=a(u),E=A(j),M=m/(y+x*p*E),S=M*M,O=A(2/(1+S)),P=x*y+(p+_)*E,T=x*y+(p-_)*E,k=P/T,C=A(k),N=C-1/C,I=C+1/C,R=O*N-2*l(C)-t,D=O*M*I-2*o(M)-n,q=m&&w*E*_*S/m,L=(x*p*y+E)/(2*(y+x*p*E)*(y+x*p*E)*E),z=-.5*M*O*O*O,B=z*q,F=z*L,G=(G=2*y+x*E*(p-_))*G*C,H=(x*p*y*E+j)/G,U=-x*_*m/(E*G),W=N*B-2*H/C+O*(H+H/k),K=N*F-2*U/C+O*(U+U/k),Y=M*I*B-2*q/(1+S)+O*I*q+O*M*(H-H/k),X=M*I*F-2*L/(1+S)+O*I*L+O*M*(U-U/k),J=K*Y-X*W;if(!J)break;var $=(D*K-R*X)/J,Z=(R*Y-D*W)/J;i-=$,u=c(-b,d(b,u-Z))}while((r($)>g||r(Z)>g)&&--s>0);return r(r(u)-b)u){var _=A(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=en(j,x),M=(y-t)/rn(E,w,y);c=_;var S,O=50;do{c-=S=(t+rn(E,w,c)*M-_)/(E(c)*M)}while(r(S)>g&&--O>0);d=j*v(c),cu){var c=A(l),d=i(s,e),f=o*h(d/o),_=d-f;e=c*a(_),s=c*v(_);var p=e-b,g=v(e),j=s/g,w=eg||r(h)>g)&&--m>0);return[_,p]},c},un=an(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),sn=function(){return n.geoProjection(un).scale(149.995)},ln=an(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),cn=function(){return n.geoProjection(ln).scale(153.93)},dn=an(5/6*y,-.62636,-.0344,0,1.3493,-.05524,0,.045),fn=function(){return n.geoProjection(dn).scale(130.945)};function hn(t,n){var e=t*t,r=n*n;return[t*(1-.162388*r)*(.87-952426e-9*e*e),n*(1+r/12)]}hn.invert=function(t,n){var e,o=t,i=n,a=50;do{var u=i*i;i-=e=(i*(1+u/12)-n)/(1+u/4)}while(r(e)>g&&--a>0);a=50,t/=1-.162388*u;do{var s=(s=o*o)*s;o-=e=(o*(.87-952426e-9*s)-t)/(.87-.00476213*s)}while(r(e)>g&&--a>0);return[o,i]};var _n=function(){return n.geoProjection(hn).scale(131.747)},vn=an(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),pn=function(){return n.geoProjection(vn).scale(131.087)},gn=function(t){var n=t(b,0)[0]-t(-b,0)[0];function e(e,r){var o=e>0?-.5:.5,i=t(e+o*y,r);return i[0]-=o*n,i}return t.invert&&(e.invert=function(e,r){var o=e>0?-.5:.5,i=t.invert(e+o*n,r),a=i[0]-o*y;return a<-y?a+=2*y:a>y&&(a-=2*y),i[0]=a,i}),e};function mn(t,n){var e=_(t),o=_(n),u=a(n),s=a(t)*u,l=v(t)*u,c=v(o*n);t=r(i(l,c)),n=T(s),r(t-b)>g&&(t%=b);var d=yn(t>y/4?b-t:t,n);return t>y/4&&(c=d[0],d[0]=-d[1],d[1]=-c),d[0]*=e,d[1]*=-o,d}function yn(t,n){if(n===b)return[0,0];var e,o,i=v(n),u=i*i,s=u*u,l=1+s,c=1+3*s,d=1-s,f=T(1/A(l)),h=d+u*l*f,_=(1-i)/h,p=A(_),m=_*l,j=A(m),w=p*d;if(0===t)return[0,-(w+u*j)];var x,E=a(n),M=1/E,S=2*i*E,O=(-3*u+f*c)*S,P=(-h*E-(1-i)*O)/(h*h),k=.5*P/p,C=d*k-2*u*p*S,N=u*l*P+_*c*S,I=-M*S,R=-M*N,D=-2*M*C,q=4*t/y;if(t>.222*y||n.175*y){if(e=(w+u*A(m*(1+s)-w*w))/(1+s),t>y/4)return[e,e];var L=e,z=.5*e;e=.5*(z+L),o=50;do{var B=A(m-e*e),F=e*(D+I*B)+R*T(e/j)-q;if(!F)break;F<0?z=e:L=e,e=.5*(z+L)}while(r(L-z)>g&&--o>0)}else{e=g,o=25;do{var G=e*e,V=A(m-G),H=D+I*V,U=e*H+R*T(e/j)-q,W=H+(R-I*G)/V;e-=x=V?U/W:0}while(r(x)>g&&--o>0)}return[e,-w-u*A(m-e*e)]}function bn(t,n){var e=0,o=1,i=.5,u=50;while(1){var s=i*i,l=A(i),c=T(1/A(1+s)),d=1-s+i*(1+s)*c,f=(1-l)/d,h=A(f),_=f*(1+s),v=h*(1-s),p=_-t*t,g=A(p),b=n+v+i*g;if(r(o-e)0?e=i:o=i,i=.5*(e+o)}if(!u)return null;var j=T(l),w=a(j),x=1/w,E=2*l*w,M=(-3*i+c*(1+3*s))*E,S=(-d*w-(1-l)*M)/(d*d),O=.5*S/h,P=(1-s)*O-2*i*h*E,k=-2*x*P,C=-x*E,N=-x*(i*(1+s)*S+f*(1+3*s)*E);return[y/4*(t*(k+C*g)+N*T(t/A(_))),j]}mn.invert=function(t,n){r(t)>1&&(t=2*_(t)-t),r(n)>1&&(n=2*_(n)-n);var e=_(t),o=_(n),u=-e*t,s=-o*n,l=s/u<1,c=bn(l?s:u,l?u:s),d=c[0],f=c[1],h=a(f);return l&&(d=-b-d),[e*(i(v(d)*h,-v(f))+y),o*T(a(d)*h)]};var jn=function(){return n.geoProjection(gn(mn)).scale(239.75)};function wn(t,n,e){var r,o,i;return t?(r=xn(t,e),n?(o=xn(n,1-e),i=o[1]*o[1]+e*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,-e*r[0]*r[1]*o[0]/i]]):[[r[0],0],[r[1],0],[r[2],0]]):(o=xn(n,1-e),[[0,o[0]/o[1]],[1/o[1],0],[o[2]/o[1],0]])}function xn(t,n){var e,i,s,l,c;if(n=1-g)return e=(1-n)/4,i=I(t),l=C(t),s=1/i,c=i*N(t),[l+e*(c-t)/(i*i),s-e*l*s*(c-t),s+e*l*s*(c+t),2*o(u(t))-b+e*(c-t)/i];var d=[1,0,0,0,0,0,0,0,0],f=[A(n),0,0,0,0,0,0,0,0],h=0;i=A(1-n),c=1;while(r(f[h]/d[h])>g&&h<8)e=d[h++],f[h]=(e-i)/2,d[h]=(e+i)/2,i=A(e*i),c*=2;s=c*d[h]*t;do{l=f[h]*v(i=s)/d[h],s=(T(l)+s)/2}while(--h);return[v(s),l=a(s),l/a(s-i),s]}function En(t,n,e){var i=r(t),a=r(n),u=N(a);if(i){var s=1/v(i),l=1/(p(i)*p(i)),c=-(l+e*(u*u*s*s)-1+e),d=(e-1)*l,f=(-c+A(c*c-4*d))/2;return[Mn(o(1/A(f)),e)*_(t),Mn(o(A((f/l-1)/e)),1-e)*_(n)]}return[0,Mn(o(u),1-e)*_(n)]}function Mn(t,n){if(!n)return t;if(1===n)return l(p(t/2+j));for(var e=1,i=A(1-n),a=A(n),u=0;r(a)>g;u++){if(t%y){var s=o(i*p(t)/e);s<0&&(s+=y),t+=s+~~(t/y)*y}else t+=t;a=(e+i)/2,i=A(e*i),a=((e=a)-i)/2}return t/(f(2,u)*e)}function Sn(t,n){var e=(x-1)/(x+1),o=A(1-e*e),i=Mn(b,o*o),s=-1,c=l(p(y/4+r(n)/2)),d=u(s*c)/A(e),f=On(d*a(s*t),d*v(s*t)),h=En(f[0],f[1],o*o);return[-h[1],(n>=0?1:-1)*(.5*i-h[0])]}function On(t,n){var e=t*t,r=n+1,o=1-e-n*n;return[.5*((t>=0?b:-b)-i(o,2*t)),-.25*l(o*o+4*e)+.5*l(r*r+e)]}function Pn(t,n){var e=n[0]*n[0]+n[1]*n[1];return[(t[0]*n[0]+t[1]*n[1])/e,(t[1]*n[0]-t[0]*n[1])/e]}Sn.invert=function(t,n){var e=(x-1)/(x+1),r=A(1-e*e),a=Mn(b,r*r),s=-1,c=wn(.5*a-n,-t,r*r),d=Pn(c[0],c[1]),f=i(d[1],d[0])/s;return[f,2*o(u(.5/s*l(e*d[0]*d[0]+e*d[1]*d[1])))-b]};var Tn=function(){return n.geoProjection(gn(Sn)).scale(151.496)};function kn(t,e){if(arguments.length<2&&(e=t),1===e)return n.geoAzimuthalEqualAreaRaw;if(e===1/0)return An;function r(r,o){var i=n.geoAzimuthalEqualAreaRaw(r/e,o);return i[0]*=t,i}return r.invert=function(r,o){var i=n.geoAzimuthalEqualAreaRaw.invert(r/t,o);return i[0]*=e,i},r}function An(t,n){return[t*a(n)/a(n/=2),2*v(n)]}An.invert=function(t,n){var e=2*T(n/2);return[t*a(e/2)/a(e),e]};var Cn=function(){var t=2,e=n.geoProjectionMutator(kn),r=e(t);return r.coefficient=function(n){return arguments.length?e(t=+n):t},r.scale(169.529)};function Nn(t){var n=v(t),e=a(t),o=In(t);function u(t,i){var u=o(t,i);t=u[0],i=u[1];var s=v(i),l=a(i),c=a(t),d=k(n*s+e*l*c),f=v(d),h=r(f)>g?d/f:1;return[h*e*v(t),(r(t)>b?h:-h)*(n*l-e*s*c)]}return o.invert=In(-t),u.invert=function(t,e){var r=A(t*t+e*e),u=-v(r),s=a(r),l=r*s,c=-e*u,d=r*n,f=A(l*l+c*c-d*d),h=i(l*d+c*f,c*d-l*f),_=(r>b?-1:1)*i(t*u,r*a(h)*s+e*v(h)*u);return o.invert(_,h)},u}function In(t){var n=v(t),e=a(t);return function(t,r){var o=a(r),u=a(t)*o,s=v(t)*o,l=v(r);return[i(s,u*e-l*n),T(l*e+u*n)]}}var Rn=function(){var t=0,e=n.geoProjectionMutator(Nn),r=e(t),o=r.rotate,i=r.stream,a=n.geoCircle();return r.parallel=function(n){if(!arguments.length)return t*S;var o=r.rotate();return e(t=n*O).rotate(o)},r.rotate=function(n){return arguments.length?(o.call(r,[n[0],n[1]-t*S]),a.center([-n[0],-n[1]]),r):(n=o.call(r),n[1]+=t*S,n)},r.stream=function(t){return t=i(t),t.sphere=function(){t.polygonStart();var n,e=.01,r=a.radius(90-e)().coordinates[0],o=r.length-1,i=-1;t.lineStart();while(++i=0)t.point((n=r[i])[0],n[1]);t.lineEnd(),t.polygonEnd()},t},r.scale(79.4187).parallel(45).clipAngle(179.999)},Dn=41+48/36+37/3600,qn=Pt(0);function Ln(t){var n=Dn*O,e=jt(y,n)[0]-jt(-y,n)[0],o=qn(0,n)[1],i=jt(0,n)[1],a=E-i,u=M/t,l=4/M,f=o+a*a*4/M;function h(h,_){var v,p=r(_);if(p>n){var g=d(t-1,c(0,s((h+y)/u)));h+=y*(t-1)/t-g*u,v=jt(h,p),v[0]=v[0]*M/e-M*(t-1)/(2*t)+g*M/t,v[1]=o+4*(v[1]-i)*a/M,_<0&&(v[1]=-v[1])}else v=qn(h,_);return v[0]*=l,v[1]/=f,v}return h.invert=function(n,h){n/=l,h*=f;var _=r(h);if(_>o){var v=d(t-1,c(0,s((n+y)/u)));n=(n+y*(t-1)/t-v*u)*e/M;var p=jt.invert(n,.25*(_-o)*M/a+i);return p[0]-=y*(t-1)/t-v*u,h<0&&(p[1]=-p[1]),p}return qn.invert(n,h)},h}function zn(t){return{type:"Polygon",coordinates:[e.range(-180,180+t/2,t).map((function(t,n){return[t,1&n?89.999999:Dn]})).concat(e.range(180,-180-t/2,-t).map((function(t,n){return[t,1&n?-89.999999:-Dn]})))]}}var Bn=function(){var t=4,e=n.geoProjectionMutator(Ln),r=e(t),o=r.stream;return r.lobes=function(n){return arguments.length?e(t=+n):t},r.stream=function(e){var i=r.rotate(),a=o(e),u=(r.rotate([0,0]),o(e));return r.rotate(i),a.sphere=function(){n.geoStream(zn(180/t),u)},a},r.scale(239.75)};function Fn(t){var n,e=1+t,o=v(1/e),u=T(o),s=2*A(y/(n=y+4*u*e)),l=.5*s*(e+A(t*(2+t))),c=t*t,d=e*e;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=u+i(x,e-E),S=1+d-2*e*E;j-=g=(j-c*u-e*x+S*M-.5*p*n)/(2*e*x*M)}while(r(g)>m&&--w>0);h=s*A(S),_=o*M/y}else h=s*(t+p),_=o*u/y;return[h*v(_),l-h*a(_)]}return f.invert=function(t,r){var o=t*t+(r-=l)*r,a=(1+d-o/(s*s))/(2*e),f=k(a),h=v(f),_=u+i(h,e-a);return[T(t/A(o))*y/_,T(1-2*(f-c*u-e*h+(1+d-2*e*a)*_)/n)]},f}var Gn=function(){var t=1,e=n.geoProjectionMutator(Fn),r=e(t);return r.ratio=function(n){return arguments.length?e(t=+n):t},r.scale(167.774).center([0,18.67])},Vn=.7109889596207567,Hn=.0528035274542;function Un(t,n){return n>-Vn?(t=Q(t,n),t[1]+=Hn,t):at(t,n)}Un.invert=function(t,n){return n>-Vn?Q.invert(t,n-Hn):at.invert(t,n)};var Wn=function(){return n.geoProjection(Un).rotate([-20,-55]).scale(164.263).center([0,-5.4036])};function Kn(t,n){return r(n)>Vn?(t=Q(t,n),t[1]-=n>0?Hn:-Hn,t):at(t,n)}Kn.invert=function(t,n){return r(n)>Vn?Q.invert(t,n+(n>0?Hn:-Hn)):at.invert(t,n)};var Yn=function(){return n.geoProjection(Kn).scale(152.63)};function Xn(t,n){return r(t[0]-n[0])=0;--s)n=t[1][s],r=n[0][0],o=n[0][1],i=n[1][1],a=n[2][0],u=n[2][1],l.push(Jn([[a-g,u-g],[a-g,i+g],[r+g,i+g],[r+g,o-g]],30));return{type:"Polygon",coordinates:[e.merge(l)]}}var Zn=function(t,e){var r=$n(e);e=e.map((function(t){return t.map((function(t){return[[t[0][0]*O,t[0][1]*O],[t[1][0]*O,t[1][1]*O],[t[2][0]*O,t[2][1]*O]]}))}));var o=e.map((function(n){return n.map((function(n){var e,r=t(n[0][0],n[0][1])[0],o=t(n[2][0],n[2][1])[0],i=t(n[1][0],n[0][1])[1],a=t(n[1][0],n[1][1])[1];return i>a&&(e=i,i=a,a=e),[[r,i],[o,a]]}))}));function i(n,r){for(var o=r<0?-1:1,i=e[+(r<0)],a=0,u=i.length-1;ai[a][2][0];++a);var s=t(n-i[a][1][0],r);return s[0]+=t(i[a][1][0],o*r>o*i[a][0][1]?i[a][0][1]:r)[0],s}t.invert&&(i.invert=function(n,r){for(var a=o[+(r<0)],u=e[+(r<0)],s=0,l=a.length;s2)return null;n/=2,e/=2;var a=n*n,u=e*e,s=2*e/(1+a+u);return s=f((1+s)/(1-s),1/t),[i(2*n,1-a-u)/t,T((s-1)/(s+1))]},n}var _e=function(){var t=.5,e=n.geoProjectionMutator(he),r=e(t);return r.spacing=function(n){return arguments.length?e(t=+n):t},r.scale(124.75)},ve=y/x;function pe(t,n){return[t*(1+A(a(n)))/2,n/(a(n/2)*a(t/6))]}pe.invert=function(t,n){var e=r(t),o=r(n),i=g,u=b;og||r(b)>g)&&--i>0);return i&&[e,o]};var ye=function(){return n.geoProjection(me).scale(139.98)};function be(t,n){return[v(t)/a(n),p(n)*a(t)]}be.invert=function(t,n){var e=t*t,r=n*n,o=r+1,i=t?w*A((o-A(e*e+2*e*(r-1)+o*o))/e+1):1/A(o);return[T(t*i),_(n)*k(i)]};var je=function(){return n.geoProjection(be).scale(144.049).clipAngle(89.999)};function we(t){var n=a(t),e=p(j+t/2);function o(o,i){var a=i-t,u=r(a)=0)d=t[c],f=d[0]+s*(o=f)-l*h,h=d[1]+s*h+l*o;return f=s*(o=f)-l*h,h=s*h+l*o,[f,h]}return e.invert=function(e,u){var s=20,l=e,c=u;do{var d,f=n,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-e,p=l*p+c*d-u;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&&--s>0);if(s){var x=A(l*l+c*c),E=2*o(.5*x),M=v(E);return[i(l*M,x*a(E)),x?T(c*M/x):0]}},e}var Oe=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],Pe=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],Te=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],ke=[[.9245,0],[0,0],[.01943,0]],Ae=[[.721316,0],[0,0],[-.00881625,-.00617325]];function Ce(){return qe(Oe,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function Ne(){return qe(Pe,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function Ie(){return qe(Te,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function Re(){return qe(ke,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function De(){return qe(Ae,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function qe(t,e){var r=n.geoProjection(Se(t)).rotate(e).clipAngle(90),o=n.geoRotation(e),i=r.center;return delete r.rotate,r.center=function(t){return arguments.length?i(o(t)):o.invert(i())},r}var Le=A(6),ze=A(7);function Be(t,n){var e=T(7*v(n)/(3*Le));return[Le*t*(2*a(2*e/3)-1)/ze,9*v(e/3)/ze]}Be.invert=function(t,n){var e=3*T(n*ze/9);return[t*ze/(Le*(2*a(2*e/3)-1)),T(3*v(e)*Le/7)]};var Fe=function(){return n.geoProjection(Be).scale(164.859)};function Ge(t,n){for(var e,o=(1+w)*v(n),i=n,u=0;u<25;u++)if(i-=e=(v(i/2)+v(i)-o)/(.5*a(i/2)+a(i)),r(e)g&&--i>0);return[t/(.8707+(a=o*o)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),o]};var Ke=function(){return n.geoProjection(We).scale(175.295)};function Ye(t,n){var e=n*n,r=e*e,o=e*r;return[t*(.84719-.13063*e+o*o*(.05494*e-.04515-.02326*r+.00331*o)),n*(1.01183+r*r*(.01926*e-.02625-.00396*r))]}Ye.invert=function(t,n){var e,o,i,a,u=n,s=25;do{o=u*u,i=o*o,u-=e=(u*(1.01183+i*i*(.01926*o-.02625-.00396*i))-n)/(1.01183+i*i*(.21186*o-.23625+-.05148*i))}while(r(e)>m&&--s>0);return o=u*u,i=o*o,a=o*i,[t/(.84719-.13063*o+a*a*(.05494*o-.04515-.02326*i+.00331*a)),u]};var Xe=function(){return n.geoProjection(Ye).scale(175.295)};function Je(t,n){return[t*(1+a(n))/2,2*(n-p(n/2))]}Je.invert=function(t,n){for(var e=n/2,o=0,i=1/0;o<10&&r(i)>g;++o){var u=a(n/2);n-=i=(n-p(n/2)-e)/(1-.5/(u*u))}return[2*t/(1+a(n)),n]};var $e=function(){return n.geoProjection(Je).scale(152.63)},Ze=1.0148,Qe=.23185,tr=-.14499,nr=.02406,er=Ze,rr=5*Qe,or=7*tr,ir=9*nr,ar=1.790857183;function ur(t,n){var e=n*n;return[t,n*(Ze+e*e*(Qe+e*(tr+nr*e)))]}ur.invert=function(t,n){n>ar?n=ar:n<-ar&&(n=-ar);var e,o=n;do{var i=o*o;o-=e=(o*(Ze+i*i*(Qe+i*(tr+nr*i)))-n)/(er+i*i*(rr+i*(or+ir*i)))}while(r(e)>g);return[t,o]};var sr=function(){return n.geoProjection(ur).scale(139.319)};function lr(t,n){if(r(n)g&&--u>0);return s=p(i),[(r(n)=0;)if(r=n[u],e[0]===r[0]&&e[1]===r[1]){if(i)return[i,e];i=e}}}function jr(t){for(var n=t.length,e=[],r=t[n-1],o=0;o0?[-e[0],0]:[180-e[0],180])};var e=Er.map((function(n){return{face:n,project:t(n)}}));return[-1,0,0,1,0,1,4,5].forEach((function(t,n){var r=e[t];r&&(r.children||(r.children=[])).push(e[n])})),gr(e[0],(function(t,n){return e[t<-y/2?n<0?6:4:t<0?n<0?2:0:tr^h>r&&e<(f-l)*(r-c)/(h-c)+l&&(o=!o)}return o},qr=function(t,n){var e,r=n.stream;if(!r)throw new Error("invalid projection");switch(t&&t.type){case"Feature":e=zr;break;case"FeatureCollection":e=Lr;break;default:e=Fr;break}return e(t,r)};function Lr(t,n){return{type:"FeatureCollection",features:t.features.map((function(t){return zr(t,n)}))}}function zr(t,n){return{type:"Feature",id:t.id,properties:t.properties,geometry:Fr(t.geometry,n)}}function Br(t,n){return{type:"GeometryCollection",geometries:t.geometries.map((function(t){return Fr(t,n)}))}}function Fr(t,e){if(!t)return null;if("GeometryCollection"===t.type)return Br(t,e);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 n.geoStream(t,e(r)),r.result()}var Gr=[],Vr=[],Hr={point:function(t,n){Gr.push([t,n])},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,n){Gr.push([t,n])},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,n){Gr.push([t,n])},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=[],n=[];return Vr.forEach((function(e){Rr(e)?t.push([e]):n.push(e)})),n.forEach((function(n){var e=n[0];t.some((function(t){if(Dr(t[0],e))return t.push(n),!0}))||t.push([n])})),Vr=[],t.length?t.length>1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}},Kr=function(t){var e=t(b,0)[0]-t(-b,0)[0];function o(n,o){var i=r(n)0?n-y:n+y,o),u=(a[0]-a[1])*w,s=(a[0]+a[1])*w;if(i)return[u,s];var l=e*w,c=u>0^s>0?-1:1;return[c*u-_(s)*l,c*s-_(u)*l]}return t.invert&&(o.invert=function(n,o){var i=(n+o)*w,a=(o-n)*w,u=r(i)<.5*e&&r(a)<.5*e;if(!u){var s=e*w,l=i>0^a>0?-1:1,c=-l*n+(a>0?1:-1)*s,d=-l*o+(i>0?1:-1)*s;i=(-c-d)*w,a=(c-d)*w}var f=t.invert(i,a);return u||(f[0]+=i>0?y:-y),f}),n.geoProjection(o).rotate([-90,-90,45]).clipAngle(179.999)},Yr=function(){return Kr(mn).scale(176.423)},Xr=function(){return Kr(Sn).scale(111.48)},Jr=function(t,n){if(!(0<=(n=+n)&&n<=20))throw new Error("invalid digits");function e(t){var e=t.length,r=2,o=new Array(e);o[0]=+t[0].toFixed(n),o[1]=+t[1].toFixed(n);while(rg&&--c>0);var _=e*(d=p(l)),m=p(r(i)0?b:-b)*(f+a*(_-l)/2+a*a*(_-2*f+l)/2)]}Qr.forEach((function(t){t[1]*=1.0144})),to.invert=function(t,n){var e=n/b,o=90*e,i=d(18,r(o/5)),a=c(0,s(i));do{var u=Qr[a][1],l=Qr[a+1][1],f=Qr[d(19,a+2)][1],h=f-u,_=f-2*l+u,v=2*(r(e)-l)/h,p=_/h,g=v*(1-p*v*(1-2*p*v));if(g>=0||1===a){o=(n>=0?5:-5)*(g+i);var y,j=50;do{i=d(18,r(o)/5),a=s(i),g=i-a,u=Qr[a][1],l=Qr[a+1][1],f=Qr[d(19,a+2)][1],o-=(y=(n>=0?b:-b)*(l+g*(f-u)/2+g*g*(f-2*l+u)/2)-n)*S}while(r(y)>m&&--j>0);break}}while(--a>=0);var w=Qr[a][0],x=Qr[a+1][0],E=Qr[d(19,a+2)][0];return[t/(x+g*(E-w)/2+g*g*(E-2*x+w)/2),o*O]};var no=function(){return n.geoProjection(to).scale(152.63)};function eo(t){function n(n,e){var r=a(e),o=(t-1)/(t-r*a(n));return[o*r*v(n),o*v(e)]}return n.invert=function(n,e){var r=n*n+e*e,o=A(r),a=(t-A(1-r*(t+1)/(t-1)))/((t-1)/o+o/(t-1));return[i(n*a,o*A(1-a*a)),o?T(e*a/o):0]},n}function ro(t,n){var e=eo(t);if(!n)return e;var r=a(n),o=v(n);function i(n,i){var a=e(n,i),u=a[1],s=u*o/(t-1)+r;return[a[0]*r/s,u/s]}return i.invert=function(n,i){var a=(t-1)/(t-1-i*o);return e.invert(a*n,a*i*r)},i}var oo=function(){var t=2,e=0,r=n.geoProjectionMutator(ro),o=r(t,e);return o.distance=function(n){return arguments.length?r(t=+n,e):t},o.tilt=function(n){return arguments.length?r(t,e=n*O):e*S},o.scale(432.147).clipAngle(k(1/t)*S-1e-6)},io=1e-4,ao=1e4,uo=-180,so=uo+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]:[uo,go(t)]}function yo(t){var n=t[0],e=t[1],r=!1;return n<=so?(n=uo,r=!0):n>=co&&(n=lo,r=!0),e<=ho?(e=fo,r=!0):e>=vo&&(e=_o,r=!0),r?[n,e]:t}function bo(t){return t.map(yo)}function jo(t,n,e){for(var r=0,o=t.length;r=co||c<=ho||c>=vo){i[a]=yo(s);for(var d=a+1;dso&&hho&&_=u)break;e.push({index:-1,polygon:n,ring:i=i.slice(d-1)}),i[0]=mo(i[0][1]),a=-1,u=i.length}}}}function wo(t){var n,e,r,o,i,a,u=t.length,s={},l={};for(n=0;n0?y-s:s)*S],c=n.geoProjection(t(u)).rotate(l),d=n.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 To(t){var e=a(t);function r(t,r){var o=n.geoGnomonicRaw(t,r);return o[0]*=e,o}return r.invert=function(t,r){return n.geoGnomonicRaw.invert(t/e,r)},r}function ko(){return Ao([-158,21.5],[-77,39]).clipAngle(60).scale(400)}function Ao(t,n){return Po(To,t,n)}function Co(t){if(!(t*=2))return n.geoAzimuthalEquidistantRaw;var e=-t/2,r=-e,o=t*t,u=p(r),s=.5/v(r);function l(n,i){var u=k(a(i)*a(n-e)),s=k(a(i)*a(n-r)),l=i<0?-1:1;return u*=u,s*=s,[(u-s)/(2*t),l*A(4*o*s-(o-u+s)*(o-u+s))/(2*t)]}return l.invert=function(t,n){var o,l,c=n*n,d=a(A(c+(o=t+e)*o)),f=a(A(c+(o=t+r)*o));return[i(l=d-f,o=(d+f)*u),(n<0?-1:1)*k(A(o*o+l*l)*s)]},l}function No(){return Io([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)}function Io(t,n){return Po(Co,t,n)}function Ro(t,n){if(r(n)g&&--s>0);return[_(t)*(A(i*i+4)+i)*y/4,b*u]};var Go=function(){return n.geoProjection(Fo).scale(127.16)},Vo=4*y+3*A(3),Ho=2*A(2*y*A(3)/Vo),Uo=Z(Ho*A(3)/y,Ho,Vo/6),Wo=function(){return n.geoProjection(Uo).scale(176.84)};function Ko(t,n){return[t*A(1-3*n*n/(y*y)),n]}Ko.invert=function(t,n){return[t/A(1-3*n*n/(y*y)),n]};var Yo=function(){return n.geoProjection(Ko).scale(152.63)};function Xo(t,n){var e=.90631*v(n),r=A(1-e*e),o=A(2/(1+r*a(t/=3)));return[2.66723*r*o*v(t),1.24104*e*o]}Xo.invert=function(t,n){var e=t/2.66723,r=n/1.24104,o=A(e*e+r*r),a=2*T(o/2);return[3*i(t*p(a),2.66723*o),o&&T(n*v(a)/(1.24104*.90631*o))]};var Jo=function(){return n.geoProjection(Xo).scale(172.632)};function $o(t,n){var e=a(n),r=a(t)*e,o=1-r,u=a(t=i(v(t)*e,-v(n))),s=v(t);return e=A(1-r*r),[s*e-u*o,-u*e-s*o]}$o.invert=function(t,n){var e=(t*t+n*n)/-2,r=A(-e*(2+e)),o=n*e+t*r,a=t*e-n*r,u=A(a*a+o*o);return[i(r*o,u*(1+e)),u?-T(r*a/u):0]};var Zo=function(){return n.geoProjection($o).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)};function Qo(t,n){var e=z(t,n);return[(e[0]+t/b)/2,(e[1]+n)/2]}Qo.invert=function(t,n){var e=t,o=n,i=25;do{var u,s=a(o),l=v(o),c=v(2*o),d=l*l,f=s*s,h=v(e),_=a(e/2),p=v(e/2),m=p*p,y=1-f*_*_,j=y?k(s*_)*A(u=1/y):u=0,w=.5*(2*j*s*p+e/b)-t,x=.5*(j*l+o)-n,E=.5*u*(f*m+j*s*_*d)+.5/b,M=u*(h*c/4-j*l*p),S=.125*u*(c*p-j*l*f*h),O=.5*u*(d*_+j*m*s)+.5,P=M*S-O*E,T=(x*M-w*O)/P,C=(w*S-x*E)/P;e-=T,o-=C}while((r(T)>g||r(C)>g)&&--i>0);return[e,o]};var ti=function(){return n.geoProjection(Qo).scale(158.837)};t.geoAiry=L,t.geoAiryRaw=q,t.geoAitoff=B,t.geoAitoffRaw=z,t.geoArmadillo=G,t.geoArmadilloRaw=F,t.geoAugust=H,t.geoAugustRaw=V,t.geoBaker=Y,t.geoBakerRaw=K,t.geoBerghaus=J,t.geoBerghausRaw=X,t.geoBoggs=ot,t.geoBoggsRaw=rt,t.geoBonne=lt,t.geoBonneRaw=st,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=Ot,t.geoCrasterRaw=St,t.geoCylindricalEqualArea=Tt,t.geoCylindricalEqualAreaRaw=Pt,t.geoCylindricalStereographic=At,t.geoCylindricalStereographicRaw=kt,t.geoEckert1=Nt,t.geoEckert1Raw=Ct,t.geoEckert2=Rt,t.geoEckert2Raw=It,t.geoEckert3=qt,t.geoEckert3Raw=Dt,t.geoEckert4=zt,t.geoEckert4Raw=Lt,t.geoEckert5=Ft,t.geoEckert5Raw=Bt,t.geoEckert6=Vt,t.geoEckert6Raw=Gt,t.geoEisenlohr=Wt,t.geoEisenlohrRaw=Ut,t.geoFahey=Xt,t.geoFaheyRaw=Yt,t.geoFoucaut=$t,t.geoFoucautRaw=Jt,t.geoGilbert=tn,t.geoGingery=on,t.geoGingeryRaw=nn,t.geoGinzburg4=sn,t.geoGinzburg4Raw=un,t.geoGinzburg5=cn,t.geoGinzburg5Raw=ln,t.geoGinzburg6=fn,t.geoGinzburg6Raw=dn,t.geoGinzburg8=_n,t.geoGinzburg8Raw=hn,t.geoGinzburg9=pn,t.geoGinzburg9Raw=vn,t.geoGringorten=jn,t.geoGringortenRaw=mn,t.geoGuyou=Tn,t.geoGuyouRaw=Sn,t.geoHammer=Cn,t.geoHammerRaw=kn,t.geoHammerRetroazimuthal=Rn,t.geoHammerRetroazimuthalRaw=Nn,t.geoHealpix=Bn,t.geoHealpixRaw=Ln,t.geoHill=Gn,t.geoHillRaw=Fn,t.geoHomolosine=Yn,t.geoHomolosineRaw=Kn,t.geoInterrupt=Zn,t.geoInterruptedBoggs=te,t.geoInterruptedHomolosine=ee,t.geoInterruptedMollweide=oe,t.geoInterruptedMollweideHemispheres=ae,t.geoInterruptedSinuMollweide=se,t.geoInterruptedSinusoidal=ce,t.geoKavrayskiy7=fe,t.geoKavrayskiy7Raw=de,t.geoLagrange=_e,t.geoLagrangeRaw=he,t.geoLarrivee=ge,t.geoLarriveeRaw=pe,t.geoLaskowski=ye,t.geoLaskowskiRaw=me,t.geoLittrow=je,t.geoLittrowRaw=be,t.geoLoximuthal=xe,t.geoLoximuthalRaw=we,t.geoMiller=Me,t.geoMillerRaw=Ee,t.geoModifiedStereographic=qe,t.geoModifiedStereographicRaw=Se,t.geoModifiedStereographicAlaska=Ce,t.geoModifiedStereographicGs48=Ne,t.geoModifiedStereographicGs50=Ie,t.geoModifiedStereographicMiller=Re,t.geoModifiedStereographicLee=De,t.geoMollweide=tt,t.geoMollweideRaw=Q,t.geoMtFlatPolarParabolic=Fe,t.geoMtFlatPolarParabolicRaw=Be,t.geoMtFlatPolarQuartic=Ve,t.geoMtFlatPolarQuarticRaw=Ge,t.geoMtFlatPolarSinusoidal=Ue,t.geoMtFlatPolarSinusoidalRaw=He,t.geoNaturalEarth=Ke,t.geoNaturalEarthRaw=We,t.geoNaturalEarth2=Xe,t.geoNaturalEarth2Raw=Ye,t.geoNellHammer=$e,t.geoNellHammerRaw=Je,t.geoPatterson=sr,t.geoPattersonRaw=ur,t.geoPolyconic=cr,t.geoPolyconicRaw=lr,t.geoPolyhedral=gr,t.geoPolyhedralButterfly=Mr,t.geoPolyhedralCollignon=Pr,t.geoPolyhedralWaterman=Tr,t.geoProject=qr,t.geoGringortenQuincuncial=Yr,t.geoPeirceQuincuncial=Xr,t.geoPierceQuincuncial=Xr,t.geoQuantize=Jr,t.geoQuincuncial=Kr,t.geoRectangularPolyconic=Zr,t.geoRectangularPolyconicRaw=$r,t.geoRobinson=no,t.geoRobinsonRaw=to,t.geoSatellite=oo,t.geoSatelliteRaw=ro,t.geoSinuMollweide=Wn,t.geoSinuMollweideRaw=Un,t.geoSinusoidal=ut,t.geoSinusoidalRaw=at,t.geoStitch=Mo,t.geoTimes=Oo,t.geoTimesRaw=So,t.geoTwoPointAzimuthal=Ao,t.geoTwoPointAzimuthalRaw=To,t.geoTwoPointAzimuthalUsa=ko,t.geoTwoPointEquidistant=Io,t.geoTwoPointEquidistantRaw=Co,t.geoTwoPointEquidistantUsa=No,t.geoVanDerGrinten=Do,t.geoVanDerGrintenRaw=Ro,t.geoVanDerGrinten2=Lo,t.geoVanDerGrinten2Raw=qo,t.geoVanDerGrinten3=Bo,t.geoVanDerGrinten3Raw=zo,t.geoVanDerGrinten4=Go,t.geoVanDerGrinten4Raw=Fo,t.geoWagner4=Wo,t.geoWagner4Raw=Uo,t.geoWagner6=Yo,t.geoWagner6Raw=Ko,t.geoWagner7=Jo,t.geoWagner7Raw=Xo,t.geoWiechel=Zo,t.geoWiechelRaw=$o,t.geoWinkel3=ti,t.geoWinkel3Raw=Qo,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-geo@1.12.1@d3-geo/dist/d3-geo.js": /*!***********************************************************!*\ !*** ./node_modules/_d3-geo@1.12.1@d3-geo/dist/d3-geo.js ***! \***********************************************************/ /*! no static exports found */function(t,n,e){(function(t,r){r(n,e(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(t,n){"use strict";function e(){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,n,e){var r=t.s=n+e,o=r-n,i=r-o;t.t=n-i+(e-o)}var a=1e-6,u=1e-12,s=Math.PI,l=s/2,c=s/4,d=2*s,f=180/s,h=s/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?s:Math.acos(t)}function O(t){return t>1?l:t<-1?-l:Math.asin(t)}function P(t){return(t=w(t/2))*t}function T(){}function k(t,n){t&&C.hasOwnProperty(t.type)&&C[t.type](t,n)}var A={Feature:function(t,n){k(t.geometry,n)},FeatureCollection:function(t,n){var e=t.features,r=-1,o=e.length;while(++r=0?1:-1,o=r*e,i=g(n),a=w(n),u=B*a,s=z*i+u*g(o),l=u*r*w(o);F.add(p(l,s)),L=t,z=i,B=a}function Y(t){return G.reset(),R(t,V),2*G}function X(t){return[p(t[1],t[0]),O(t[2])]}function J(t){var n=t[0],e=t[1],r=g(e);return[r*g(n),r*w(n),w(e)]}function $(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Z(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function Q(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function tt(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function nt(t){var n=E(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var et,rt,ot,it,at,ut,st,lt,ct,dt,ft,ht,_t,vt,pt,gt,mt,yt,bt,jt,wt,xt,Et,Mt,St,Ot,Pt=e(),Tt={point:kt,lineStart:Ct,lineEnd:Nt,polygonStart:function(){Tt.point=It,Tt.lineStart=Rt,Tt.lineEnd=Dt,Pt.reset(),V.polygonStart()},polygonEnd:function(){V.polygonEnd(),Tt.point=kt,Tt.lineStart=Ct,Tt.lineEnd=Nt,F<0?(et=-(ot=180),rt=-(it=90)):Pt>a?it=90:Pt<-a&&(rt=-90),dt[0]=et,dt[1]=ot},sphere:function(){et=-(ot=180),rt=-(it=90)}};function kt(t,n){ct.push(dt=[et=t,ot=t]),nit&&(it=n)}function At(t,n){var e=J([t*h,n*h]);if(lt){var r=Z(lt,e),o=[r[1],-r[0],0],i=Z(o,r);nt(i),i=X(i);var a,u=t-at,s=u>0?1:-1,l=i[0]*f*s,c=_(u)>180;c^(s*atit&&(it=a)):(l=(l+360)%360-180,c^(s*atit&&(it=n))),c?tqt(et,ot)&&(ot=t):qt(t,ot)>qt(et,ot)&&(et=t):ot>=et?(tot&&(ot=t)):t>at?qt(et,t)>qt(et,ot)&&(ot=t):qt(t,ot)>qt(et,ot)&&(et=t)}else ct.push(dt=[et=t,ot=t]);nit&&(it=n),lt=e,at=t}function Ct(){Tt.point=At}function Nt(){dt[0]=et,dt[1]=ot,Tt.point=kt,lt=null}function It(t,n){if(lt){var e=t-at;Pt.add(_(e)>180?e+(e>0?360:-360):e)}else ut=t,st=n;V.point(t,n),At(t,n)}function Rt(){V.lineStart()}function Dt(){It(ut,st),V.lineEnd(),_(Pt)>a&&(et=-(ot=180)),dt[0]=et,dt[1]=ot,lt=null}function qt(t,n){return(n-=t)<0?n+360:n}function Lt(t,n){return t[0]-n[0]}function zt(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nqt(r[0],r[1])&&(r[1]=o[1]),qt(o[0],r[1])>qt(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,e=i.length-1,n=0,r=i[e];n<=e;r=o,++n)o=i[n],(u=qt(r[1],o[0]))>a&&(a=u,et=o[0],ot=r[1])}return ct=dt=null,et===1/0||rt===1/0?[[NaN,NaN],[NaN,NaN]]:[[et,rt],[ot,it]]}var Ft={sphere:T,point:Gt,lineStart:Ht,lineEnd:Kt,polygonStart:function(){Ft.lineStart=Yt,Ft.lineEnd=Xt},polygonEnd:function(){Ft.lineStart=Ht,Ft.lineEnd=Kt}};function Gt(t,n){t*=h,n*=h;var e=g(n);Vt(e*g(t),e*w(t),w(n))}function Vt(t,n,e){++ft,_t+=(t-_t)/ft,vt+=(n-vt)/ft,pt+=(e-pt)/ft}function Ht(){Ft.point=Ut}function Ut(t,n){t*=h,n*=h;var e=g(n);Mt=e*g(t),St=e*w(t),Ot=w(n),Ft.point=Wt,Vt(Mt,St,Ot)}function Wt(t,n){t*=h,n*=h;var e=g(n),r=e*g(t),o=e*w(t),i=w(n),a=p(E((a=St*i-Ot*o)*a+(a=Ot*r-Mt*i)*a+(a=Mt*o-St*r)*a),Mt*r+St*o+Ot*i);ht+=a,gt+=a*(Mt+(Mt=r)),mt+=a*(St+(St=o)),yt+=a*(Ot+(Ot=i)),Vt(Mt,St,Ot)}function Kt(){Ft.point=Gt}function Yt(){Ft.point=Jt}function Xt(){$t(xt,Et),Ft.point=Gt}function Jt(t,n){xt=t,Et=n,t*=h,n*=h,Ft.point=$t;var e=g(n);Mt=e*g(t),St=e*w(t),Ot=w(n),Vt(Mt,St,Ot)}function $t(t,n){t*=h,n*=h;var e=g(n),r=e*g(t),o=e*w(t),i=w(n),a=St*i-Ot*o,u=Ot*r-Mt*i,s=Mt*o-St*r,l=E(a*a+u*u+s*s),c=O(l),d=l&&-c/l;bt+=d*a,jt+=d*u,wt+=d*s,ht+=c,gt+=c*(Mt+(Mt=r)),mt+=c*(St+(St=o)),yt+=c*(Ot+(Ot=i)),Vt(Mt,St,Ot)}function Zt(t){ft=ht=_t=vt=pt=gt=mt=yt=bt=jt=wt=0,R(t,Ft);var n=bt,e=jt,r=wt,o=n*n+e*e+r*r;return os?t+Math.round(-t/d)*d:t,n]}function en(t,n,e){return(t%=d)?n||e?tn(on(t),an(n,e)):on(t):n||e?an(n,e):nn}function rn(t){return function(n,e){return n+=t,[n>s?n-d:n<-s?n+d:n,e]}}function on(t){var n=rn(t);return n.invert=rn(-t),n}function an(t,n){var e=g(t),r=w(t),o=g(n),i=w(n);function a(t,n){var a=g(n),u=g(t)*a,s=w(t)*a,l=w(n),c=l*e+u*r;return[p(s*o-c*i,u*e-l*r),O(c*o+s*i)]}return a.invert=function(t,n){var a=g(n),u=g(t)*a,s=w(t)*a,l=w(n),c=l*o-s*i;return[p(s*o+l*i,u*e+c*r),O(c*e-u*r)]},a}function un(t){function n(n){return n=t(n[0]*h,n[1]*h),n[0]*=f,n[1]*=f,n}return t=en(t[0]*h,t[1]*h,t.length>2?t[2]*h:0),n.invert=function(n){return n=t.invert(n[0]*h,n[1]*h),n[0]*=f,n[1]*=f,n},n}function sn(t,n,e,r,o,i){if(e){var a=g(n),u=w(n),s=r*e;null==o?(o=n+r*d,i=n-s/2):(o=ln(a,o),i=ln(a,i),(r>0?oi)&&(o+=r*d));for(var l,c=o;r>0?c>i:c1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function fn(t,n){return _(t[0]-n[0])=0;--i)o.point((d=c[i])[0],d[1]);else r(h.x,h.p.x,-1,o);h=h.p}h=h.o,c=h.z,_=!_}while(!h.v);o.lineEnd()}}}function vn(t){if(n=t.length){var n,e,r=0,o=t[0];while(++r=0?1:-1,I=N*C,R=I>s,D=x*k;if(pn.add(p(D*N*w(I),E*A+D*g(I))),u+=R?C+N*d:C,R^b>=e^P>=e){var q=Z(J(y),J(S));nt(q);var L=Z(i,q);nt(L);var z=(R^C>=0?-1:1)*O(L[2]);(r>z||r===z&&(q[0]||q[1]))&&(f+=R^C>=0?1:-1)}}return(u<-a||u0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t1&&2&o&&l.push(l.pop().concat(l.shift())),u.push(l.filter(bn))}return h}}function bn(t){return t.length>1}function jn(t,n){return((t=t.x)[0]<0?t[1]-l-a:l-t[1])-((n=n.x)[0]<0?n[1]-l-a:l-n[1])}var wn=yn((function(){return!0}),xn,Mn,[-s,-l]);function xn(t){var n,e=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(i,u){var c=i>0?s:-s,d=_(i-e);_(d-s)0?l:-l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(i,r),n=0):o!==c&&d>=s&&(_(e-o)a?v((w(n)*(i=g(r))*w(e)-w(r)*(o=g(n))*w(t))/(o*i*u)):(n+r)/2}function Mn(t,n,e,r){var o;if(null==t)o=e*l,r.point(-s,o),r.point(0,o),r.point(s,o),r.point(s,0),r.point(s,-o),r.point(0,-o),r.point(-s,-o),r.point(-s,0),r.point(-s,o);else if(_(t[0]-n[0])>a){var i=t[0]0,o=_(n)>a;function i(n,r,o,i){sn(i,t,e,o,n,r)}function u(t,e){return g(t)*g(e)>n}function l(t){var n,e,i,a,l;return{lineStart:function(){a=i=!1,l=1},point:function(f,h){var _,v=[f,h],p=u(f,h),g=r?p?0:d(f,h):p?d(f+(f<0?s:-s),h):0;if(!n&&(a=i=p)&&t.lineStart(),p!==i&&(_=c(n,v),(!_||fn(n,_)||fn(v,_))&&(v[2]=1)),p!==i)l=0,p?(t.lineStart(),_=c(v,n),t.point(_[0],_[1])):(_=c(n,v),t.point(_[0],_[1],2),t.lineEnd()),n=_;else if(o&&n&&r^p){var m;g&e||!(m=c(v,n,!0))||(l=0,r?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1],3)))}!p||n&&fn(n,v)||t.point(v[0],v[1]),n=v,i=p,e=g},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return l|(a&&i)<<1}}}function c(t,e,r){var o=J(t),i=J(e),u=[1,0,0],l=Z(o,i),c=$(l,l),d=l[0],f=c-d*d;if(!f)return!r&&t;var h=n*c/f,v=-n*d/f,p=Z(u,l),g=tt(u,h),m=tt(l,v);Q(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(Q(M,g),M=X(M),!r)return M;var S,O=t[0],P=e[0],T=t[1],k=e[1];P0^M[1]<(_(M[0]-O)s^(O<=M[0]&&M[0]<=P)){var I=tt(y,(-b+x)/j);return Q(I,g),[M,X(I)]}}}function d(n,e){var o=r?t:s-t,i=0;return n<-o?i|=1:n>o&&(i|=2),e<-o?i|=4:e>o&&(i|=8),i}return yn(u,l,i,r?[0,-t]:[-s,t-s])}function On(t,n,e,r,o,i){var a,u=t[0],s=t[1],l=n[0],c=n[1],d=0,f=1,h=l-u,_=c-s;if(a=e-u,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-u,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-s,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a0&&(t[0]=u+d*h,t[1]=s+d*_),f<1&&(n[0]=u+f*h,n[1]=s+f*_),!0}}}}}var Pn=1e9,Tn=-Pn;function kn(t,e,r,o){function i(n,i){return t<=n&&n<=r&&e<=i&&i<=o}function u(n,i,a,u){var l=0,d=0;if(null==n||(l=s(n,a))!==(d=s(i,a))||c(n,i)<0^a>0)do{u.point(0===l||3===l?t:r,l>1?o:e)}while((l=(l+a+4)%4)!==d);else u.point(i[0],i[1])}function s(n,o){return _(n[0]-t)0?0:3:_(n[0]-r)0?2:1:_(n[1]-e)0?1:0:o>0?3:2}function l(t,n){return c(t.x,n.x)}function c(t,n){var e=s(t,1),r=s(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var s,c,d,f,h,_,v,p,g,m,y,b=a,j=dn(),w={point:x,lineStart:O,lineEnd:P,polygonStart:M,polygonEnd:S};function x(t,n){i(t,n)&&b.point(t,n)}function E(){for(var n=0,e=0,r=c.length;eo&&(f-i)*(o-a)>(h-a)*(t-i)&&++n:h<=o&&(f-i)*(o-a)<(h-a)*(t-i)&&--n;return n}function M(){b=j,s=[],c=[],y=!0}function S(){var t=E(),e=y&&t,r=(s=n.merge(s)).length;(e||r)&&(a.polygonStart(),e&&(a.lineStart(),u(null,null,1,a),a.lineEnd()),r&&_n(s,l,t,u,a),a.polygonEnd()),b=a,s=c=d=null}function O(){w.point=T,c&&c.push(d=[]),m=!0,g=!1,v=p=NaN}function P(){s&&(T(f,h),_&&g&&j.rejoin(),s.push(j.result())),w.point=x,g&&b.lineEnd()}function T(n,a){var u=i(n,a);if(c&&d.push([n,a]),m)f=n,h=a,_=u,m=!1,u&&(b.lineStart(),b.point(n,a));else if(u&&g)b.point(n,a);else{var s=[v=Math.max(Tn,Math.min(Pn,v)),p=Math.max(Tn,Math.min(Pn,p))],l=[n=Math.max(Tn,Math.min(Pn,n)),a=Math.max(Tn,Math.min(Pn,a))];On(s,l,t,e,r,o)?(g||(b.lineStart(),b.point(s[0],s[1])),b.point(l[0],l[1]),u||b.lineEnd(),y=!1):u&&(b.lineStart(),b.point(n,a),y=!1)}v=n,p=a,g=u}return w}}function An(){var t,n,e,r=0,o=0,i=960,a=500;return e={stream:function(e){return t&&n===e?t:t=kn(r,o,i,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],t=n=null,e):[[r,o],[i,a]]}}}var Cn,Nn,In,Rn=e(),Dn={sphere:T,point:T,lineStart:qn,lineEnd:T,polygonStart:T,polygonEnd:T};function qn(){Dn.point=zn,Dn.lineEnd=Ln}function Ln(){Dn.point=Dn.lineEnd=T}function zn(t,n){t*=h,n*=h,Cn=t,Nn=w(n),In=g(n),Dn.point=Bn}function Bn(t,n){t*=h,n*=h;var e=w(n),r=g(n),o=_(t-Cn),i=g(o),a=w(o),u=r*a,s=In*e-Nn*r*i,l=Nn*e+In*r*i;Rn.add(p(E(u*u+s*s),l)),Cn=t,Nn=e,In=r}function Fn(t){return Rn.reset(),R(t,Dn),+Rn}var Gn=[null,null],Vn={type:"LineString",coordinates:Gn};function Hn(t,n){return Gn[0]=t,Gn[1]=n,Fn(Vn)}var Un={Feature:function(t,n){return Kn(t.geometry,n)},FeatureCollection:function(t,n){var e=t.features,r=-1,o=e.length;while(++r0&&(o=Hn(t[i],t[i-1]),o>0&&e<=o&&r<=o&&(e+r-o)*(1-Math.pow((e-r)/o,2))a})).map(c)).concat(n.range(m(u/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(s).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],s=+t[1][1],o>r&&(t=o,o=r,r=t),l>s&&(t=l,l=s,s=t),j.precision(b)):[[o,l],[r,s]]},j.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],u=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),u>i&&(n=u,u=i,i=n),j.precision(b)):[[e,u],[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(n){return arguments.length?(b=+n,c=te(u,i,90),d=ne(e,t,b),f=te(l,s,90),h=ne(o,r,b),j):b},j.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}function re(){return ee()()}function oe(t,n){var e=t[0]*h,r=t[1]*h,o=n[0]*h,i=n[1]*h,a=g(r),u=w(r),s=g(i),l=w(i),c=a*g(e),d=a*w(e),_=s*g(o),v=s*w(o),m=2*O(E(P(i-r)+a*s*P(o-e))),y=w(m),b=m?function(t){var n=w(t*=m)/y,e=w(m-t)/y,r=e*c+n*_,o=e*d+n*v,i=e*u+n*l;return[p(o,r)*f,p(i,E(r*r+o*o))*f]}:function(){return[e*f,r*f]};return b.distance=m,b}function ie(t){return t}var ae,ue,se,le,ce=e(),de=e(),fe={point:T,lineStart:T,lineEnd:T,polygonStart:function(){fe.lineStart=he,fe.lineEnd=pe},polygonEnd:function(){fe.lineStart=fe.lineEnd=fe.point=T,ce.add(_(de)),de.reset()},result:function(){var t=ce/2;return ce.reset(),t}};function he(){fe.point=_e}function _e(t,n){fe.point=ve,ae=se=t,ue=le=n}function ve(t,n){de.add(le*t-se*n),se=t,le=n}function pe(){ve(ae,ue)}var ge=1/0,me=ge,ye=-ge,be=ye,je={point:we,lineStart:T,lineEnd:T,polygonStart:T,polygonEnd:T,result:function(){var t=[[ge,me],[ye,be]];return ye=be=-(me=ge=1/0),t}};function we(t,n){tye&&(ye=t),nbe&&(be=n)}var xe,Ee,Me,Se,Oe=0,Pe=0,Te=0,ke=0,Ae=0,Ce=0,Ne=0,Ie=0,Re=0,De={point:qe,lineStart:Le,lineEnd:Fe,polygonStart:function(){De.lineStart=Ge,De.lineEnd=Ve},polygonEnd:function(){De.point=qe,De.lineStart=Le,De.lineEnd=Fe},result:function(){var t=Re?[Ne/Re,Ie/Re]:Ce?[ke/Ce,Ae/Ce]:Te?[Oe/Te,Pe/Te]:[NaN,NaN];return Oe=Pe=Te=ke=Ae=Ce=Ne=Ie=Re=0,t}};function qe(t,n){Oe+=t,Pe+=n,++Te}function Le(){De.point=ze}function ze(t,n){De.point=Be,qe(Me=t,Se=n)}function Be(t,n){var e=t-Me,r=n-Se,o=E(e*e+r*r);ke+=o*(Me+t)/2,Ae+=o*(Se+n)/2,Ce+=o,qe(Me=t,Se=n)}function Fe(){De.point=qe}function Ge(){De.point=He}function Ve(){Ue(xe,Ee)}function He(t,n){De.point=Ue,qe(xe=Me=t,Ee=Se=n)}function Ue(t,n){var e=t-Me,r=n-Se,o=E(e*e+r*r);ke+=o*(Me+t)/2,Ae+=o*(Se+n)/2,Ce+=o,o=Se*t-Me*n,Ne+=o*(Me+t),Ie+=o*(Se+n),Re+=3*o,qe(Me=t,Se=n)}function We(t){this._context=t}We.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,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,d);break}},result:T};var Ke,Ye,Xe,Je,$e,Ze=e(),Qe={point:T,lineStart:function(){Qe.point=tr},lineEnd:function(){Ke&&nr(Ye,Xe),Qe.point=T},polygonStart:function(){Ke=!0},polygonEnd:function(){Ke=null},result:function(){var t=+Ze;return Ze.reset(),t}};function tr(t,n){Qe.point=nr,Ye=Je=t,Xe=$e=n}function nr(t,n){Je-=t,$e-=n,Ze.add(E(Je*Je+$e*$e)),Je=t,$e=n}function er(){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,n){var e,r,o=4.5;function i(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),R(t,e(r))),r.result()}return i.area=function(t){return R(t,e(fe)),fe.result()},i.measure=function(t){return R(t,e(Qe)),Qe.result()},i.bounds=function(t){return R(t,e(je)),je.result()},i.centroid=function(t){return R(t,e(De)),De.result()},i.projection=function(n){return arguments.length?(e=null==n?(t=null,ie):(t=n).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(n=null,new er):new We(n=t),"function"!==typeof o&&r.pointRadius(o),i):n},i.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(n)}function ir(t){return{stream:ar(t)}}function ar(t){return function(n){var e=new ur;for(var r in t)e[r]=t[r];return e.stream=n,e}}function ur(){}function sr(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),R(e,t.stream(je)),n(je.result()),null!=r&&t.clipExtent(r),t}function lr(t,n,e){return sr(t,(function(e){var r=n[1][0]-n[0][0],o=n[1][1]-n[0][1],i=Math.min(r/(e[1][0]-e[0][0]),o/(e[1][1]-e[0][1])),a=+n[0][0]+(r-i*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(o-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([a,u])}),e)}function cr(t,n,e){return lr(t,[[0,0],n],e)}function dr(t,n,e){return sr(t,(function(e){var r=+n,o=r/(e[1][0]-e[0][0]),i=(r-o*(e[1][0]+e[0][0]))/2,a=-o*e[0][1];t.scale(150*o).translate([i,a])}),e)}function fr(t,n,e){return sr(t,(function(e){var r=+n,o=r/(e[1][1]-e[0][1]),i=-o*e[0][0],a=(r-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([i,a])}),e)}er.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,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=rr(this._radius)),this._string.push("M",t,",",n,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},ur.prototype={constructor:ur,point:function(t,n){this.stream.point(t,n)},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,n){return+n?gr(t,n):pr(t)}function pr(t){return ar({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function gr(t,n){function e(r,o,i,u,s,l,c,d,f,h,v,g,m,y){var b=c-r,j=d-o,w=b*b+j*j;if(w>4*n&&m--){var x=u+h,M=s+v,S=l+g,P=E(x*x+M*M+S*S),T=O(S/=P),k=_(_(S)-1)n||_((b*I+j*R)/w-.5)>.3||u*h+s*v+l*g<_r)&&(e(r,o,i,u,s,l,C,N,k,x/=P,M/=P,S,m,y),y.point(C,N),e(C,N,k,x,M,S,c,d,f,h,v,g,m,y))}}return function(n){var r,o,i,a,u,s,l,c,d,f,h,_,v={point:p,lineStart:g,lineEnd:y,polygonStart:function(){n.polygonStart(),v.lineStart=b},polygonEnd:function(){n.polygonEnd(),v.lineStart=g}};function p(e,r){e=t(e,r),n.point(e[0],e[1])}function g(){c=NaN,v.point=m,n.lineStart()}function m(r,o){var i=J([r,o]),a=t(r,o);e(c,d,l,f,h,_,c=a[0],d=a[1],l=r,f=i[0],h=i[1],_=i[2],hr,n),n.point(c,d)}function y(){v.point=p,n.lineEnd()}function b(){g(),v.point=j,v.lineEnd=w}function j(t,n){m(r=t,n),o=c,i=d,a=f,u=h,s=_,v.point=m}function w(){e(c,d,l,f,h,_,o,i,r,a,u,s,hr,n),v.lineEnd=y,y()}return v}}var mr=ar({point:function(t,n){this.stream.point(t*h,n*h)}});function yr(t){return ar({point:function(n,e){var r=t(n,e);return this.stream.point(r[0],r[1])}})}function br(t,n,e,r,o){function i(i,a){return i*=r,a*=o,[n+t*i,e-t*a]}return i.invert=function(i,a){return[(i-n)/t*r,(e-a)/t*o]},i}function jr(t,n,e,r,o,i){var a=g(i),u=w(i),s=a*t,l=u*t,c=a/t,d=u/t,f=(u*e-a*n)/t,h=(u*n+a*e)/t;function _(t,i){return t*=r,i*=o,[s*t-l*i+n,e-l*t-s*i]}return _.invert=function(t,n){return[r*(c*t-d*n+f),o*(h-d*t-c*n)]},_}function wr(t){return xr((function(){return t}))()}function xr(t){var n,e,r,o,i,a,u,s,l,c,d=150,_=480,v=250,p=0,g=0,m=0,y=0,b=0,j=0,w=1,x=1,M=null,S=wn,O=null,P=ie,T=.5;function k(t){return s(t[0]*h,t[1]*h)}function A(t){return t=s.invert(t[0],t[1]),t&&[t[0]*f,t[1]*f]}function C(){var t=jr(d,0,0,w,x,j).apply(null,n(p,g)),r=(j?jr:br)(d,_-t[0],v-t[1],w,x,j);return e=en(m,y,b),u=tn(n,r),s=tn(e,u),a=vr(u,T),N()}function N(){return l=c=null,k}return k.stream=function(t){return l&&c===t?l:l=mr(yr(e)(S(a(P(c=t)))))},k.preclip=function(t){return arguments.length?(S=t,M=void 0,N()):S},k.postclip=function(t){return arguments.length?(P=t,O=r=o=i=null,N()):P},k.clipAngle=function(t){return arguments.length?(S=+t?Sn(M=t*h):(M=null,wn),N()):M*f},k.clipExtent=function(t){return arguments.length?(P=null==t?(O=r=o=i=null,ie):kn(O=+t[0][0],r=+t[0][1],o=+t[1][0],i=+t[1][1]),N()):null==O?null:[[O,r],[o,i]]},k.scale=function(t){return arguments.length?(d=+t,C()):d},k.translate=function(t){return arguments.length?(_=+t[0],v=+t[1],C()):[_,v]},k.center=function(t){return arguments.length?(p=t[0]%360*h,g=t[1]%360*h,C()):[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,C()):[m*f,y*f,b*f]},k.angle=function(t){return arguments.length?(j=t%360*h,C()):j*f},k.reflectX=function(t){return arguments.length?(w=t?-1:1,C()):w<0},k.reflectY=function(t){return arguments.length?(x=t?-1:1,C()):x<0},k.precision=function(t){return arguments.length?(a=vr(u,T=t*t),N()):E(T)},k.fitExtent=function(t,n){return lr(k,t,n)},k.fitSize=function(t,n){return cr(k,t,n)},k.fitWidth=function(t,n){return dr(k,t,n)},k.fitHeight=function(t,n){return fr(k,t,n)},function(){return n=t.apply(this,arguments),k.invert=n.invert&&A,C()}}function Er(t){var n=0,e=s/3,r=xr(t),o=r(n,e);return o.parallels=function(t){return arguments.length?r(n=t[0]*h,e=t[1]*h):[n*f,e*f]},o}function Mr(t){var n=g(t);function e(t,e){return[t*n,w(e)/n]}return e.invert=function(t,e){return[t/n,O(e*n)]},e}function Sr(t,n){var e=w(t),r=(e+w(n))/2;if(_(r)=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:u).invert(t)},d.stream=function(e){return t&&n===e?t:t=Tr([u.stream(n=e),s.stream(e),l.stream(e)])},d.precision=function(t){return arguments.length?(u.precision(t),s.precision(t),l.precision(t),f()):u.precision()},d.scale=function(t){return arguments.length?(u.scale(t),s.scale(.35*t),l.scale(t),d.translate(u.translate())):u.scale()},d.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),i=+t[0],d=+t[1];return e=u.translate(t).clipExtent([[i-.455*n,d-.238*n],[i+.455*n,d+.238*n]]).stream(c),r=s.translate([i-.307*n,d+.201*n]).clipExtent([[i-.425*n+a,d+.12*n+a],[i-.214*n-a,d+.234*n-a]]).stream(c),o=l.translate([i-.205*n,d+.212*n]).clipExtent([[i-.214*n+a,d+.166*n+a],[i-.115*n-a,d+.234*n-a]]).stream(c),f()},d.fitExtent=function(t,n){return lr(d,t,n)},d.fitSize=function(t,n){return cr(d,t,n)},d.fitWidth=function(t,n){return dr(d,t,n)},d.fitHeight=function(t,n){return fr(d,t,n)},d.scale(1070)}function Ar(t){return function(n,e){var r=g(n),o=g(e),i=t(r*o);return[i*o*w(n),i*w(e)]}}function Cr(t){return function(n,e){var r=E(n*n+e*e),o=t(r),i=w(o),a=g(o);return[p(n*i,r*a),O(r&&e*i/r)]}}var Nr=Ar((function(t){return E(2/(1+t))}));function Ir(){return wr(Nr).scale(124.75).clipAngle(179.999)}Nr.invert=Cr((function(t){return 2*O(t/2)}));var Rr=Ar((function(t){return(t=S(t))&&t/w(t)}));function Dr(){return wr(Rr).scale(79.4188).clipAngle(179.999)}function qr(t,n){return[t,b(M((l+n)/2))]}function Lr(){return zr(qr).scale(961/d)}function zr(t){var n,e,r,o=wr(t),i=o.center,a=o.scale,u=o.translate,l=o.clipExtent,c=null;function d(){var i=s*a(),u=o(un(o.rotate()).invert([0,0]));return l(null==c?[[u[0]-i,u[1]-i],[u[0]+i,u[1]+i]]:t===qr?[[Math.max(u[0]-i,c),n],[Math.min(u[0]+i,e),r]]:[[c,Math.max(u[1]-i,n)],[e,Math.min(u[1]+i,r)]])}return o.scale=function(t){return arguments.length?(a(t),d()):a()},o.translate=function(t){return arguments.length?(u(t),d()):u()},o.center=function(t){return arguments.length?(i(t),d()):i()},o.clipExtent=function(t){return arguments.length?(null==t?c=n=e=r=null:(c=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,n],[e,r]]},d()}function Br(t){return M((l+t)/2)}function Fr(t,n){var e=g(t),r=t===n?w(t):b(e/g(n))/b(Br(n)/Br(t)),o=e*j(Br(t),r)/r;if(!r)return qr;function i(t,n){o>0?n<-l+a&&(n=-l+a):n>l-a&&(n=l-a);var e=o/j(Br(n),r);return[e*w(r*t),o-e*g(r*t)]}return i.invert=function(t,n){var e=o-n,i=x(r)*E(t*t+e*e),a=p(t,_(e))*x(e);return e*r<0&&(a-=s*x(t)*x(e)),[a/r,2*v(j(o/i,1/r))-l]},i}function Gr(){return Er(Fr).scale(109.5).parallels([30,30])}function Vr(t,n){return[t,n]}function Hr(){return wr(Vr).scale(152.63)}function Ur(t,n){var e=g(t),r=t===n?w(t):(e-g(n))/(n-t),o=e/r+t;if(_(r)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}Qr.invert=function(t,n){for(var e,r,o,i=n,a=i*i,s=a*a*a,l=0;la&&--o>0);return[t/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]},ao.invert=Cr(O),so.invert=Cr((function(t){return 2*v(t)})),co.invert=function(t,n){return[-n,2*v(y(t))-l]},t.geoAlbers=Pr,t.geoAlbersUsa=kr,t.geoArea=Y,t.geoAzimuthalEqualArea=Ir,t.geoAzimuthalEqualAreaRaw=Nr,t.geoAzimuthalEquidistant=Dr,t.geoAzimuthalEquidistantRaw=Rr,t.geoBounds=Bt,t.geoCentroid=Zt,t.geoCircle=cn,t.geoClipAntimeridian=wn,t.geoClipCircle=Sn,t.geoClipExtent=An,t.geoClipRectangle=kn,t.geoConicConformal=Gr,t.geoConicConformalRaw=Fr,t.geoConicEqualArea=Or,t.geoConicEqualAreaRaw=Sr,t.geoConicEquidistant=Wr,t.geoConicEquidistantRaw=Ur,t.geoContains=Qn,t.geoDistance=Hn,t.geoEqualEarth=to,t.geoEqualEarthRaw=Qr,t.geoEquirectangular=Hr,t.geoEquirectangularRaw=Vr,t.geoGnomonic=eo,t.geoGnomonicRaw=no,t.geoGraticule=ee,t.geoGraticule10=re,t.geoIdentity=ro,t.geoInterpolate=oe,t.geoLength=Fn,t.geoMercator=Lr,t.geoMercatorRaw=qr,t.geoNaturalEarth1=io,t.geoNaturalEarth1Raw=oo,t.geoOrthographic=uo,t.geoOrthographicRaw=ao,t.geoPath=or,t.geoProjection=wr,t.geoProjectionMutator=xr,t.geoRotation=un,t.geoStereographic=lo,t.geoStereographicRaw=so,t.geoStream=R,t.geoTransform=ir,t.geoTransverseMercator=fo,t.geoTransverseMercatorRaw=co,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,n,e){(function(t,r){r(n,e(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(t,n){"use strict";var e=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,n,e){var r=t.s=n+e,o=r-n,i=r-o;t.t=n-i+(e-o)}var a=1e-6,u=1e-12,s=Math.PI,l=s/2,c=s/4,d=2*s,f=180/s,h=s/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?s:Math.acos(t)}function O(t){return t>1?l:t<-1?-l:Math.asin(t)}function P(t){return(t=w(t/2))*t}function T(){}function k(t,n){t&&C.hasOwnProperty(t.type)&&C[t.type](t,n)}var A={Feature:function(t,n){k(t.geometry,n)},FeatureCollection:function(t,n){var e=t.features,r=-1,o=e.length;while(++r=0?1:-1,o=r*e,i=g(n),a=w(n),u=z*a,s=L*i+u*g(o),l=u*r*w(o);F.add(p(l,s)),q=t,L=i,z=a}var Y,X,J,$,Z,Q,tt,nt,et=function(t){return G.reset(),B(t,V),2*G};function rt(t){return[p(t[1],t[0]),O(t[2])]}function ot(t){var n=t[0],e=t[1],r=g(e);return[r*g(n),r*w(n),w(e)]}function it(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function at(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function ut(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function st(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function lt(t){var n=E(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var ct,dt,ft=e(),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=-(J=180),X=-($=90)):ft>a?$=90:ft<-a&&(X=-90),dt[0]=Y,dt[1]=J}};function _t(t,n){ct.push(dt=[Y=t,J=t]),n$&&($=n)}function vt(t,n){var e=ot([t*h,n*h]);if(nt){var r=at(nt,e),o=[r[1],-r[0],0],i=at(o,r);lt(i),i=rt(i);var a,u=t-Z,s=u>0?1:-1,l=i[0]*f*s,c=_(u)>180;c^(s*Z$&&($=a)):(l=(l+360)%360-180,c^(s*Z$&&($=n))),c?tjt(Y,J)&&(J=t):jt(t,J)>jt(Y,J)&&(Y=t):J>=Y?(tJ&&(J=t)):t>Z?jt(Y,t)>jt(Y,J)&&(J=t):jt(t,J)>jt(Y,J)&&(Y=t)}else ct.push(dt=[Y=t,J=t]);n$&&($=n),nt=e,Z=t}function pt(){ht.point=vt}function gt(){dt[0]=Y,dt[1]=J,ht.point=_t,nt=null}function mt(t,n){if(nt){var e=t-Z;ft.add(_(e)>180?e+(e>0?360:-360):e)}else Q=t,tt=n;V.point(t,n),vt(t,n)}function yt(){V.lineStart()}function bt(){mt(Q,tt),V.lineEnd(),_(ft)>a&&(Y=-(J=180)),dt[0]=Y,dt[1]=J,nt=null}function jt(t,n){return(n-=t)<0?n+360:n}function wt(t,n){return t[0]-n[0]}function xt(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:njt(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,e=i.length-1,n=0,r=i[e];n<=e;r=o,++n)o=i[n],(u=jt(r[1],o[0]))>a&&(a=u,Y=o[0],J=r[1])}return ct=dt=null,Y===1/0||X===1/0?[[NaN,NaN],[NaN,NaN]]:[[Y,X],[J,$]]},Ft={sphere:T,point:Gt,lineStart:Ht,lineEnd:Kt,polygonStart:function(){Ft.lineStart=Yt,Ft.lineEnd=Xt},polygonEnd:function(){Ft.lineStart=Ht,Ft.lineEnd=Kt}};function Gt(t,n){t*=h,n*=h;var e=g(n);Vt(e*g(t),e*w(t),w(n))}function Vt(t,n,e){++Et,St+=(t-St)/Et,Ot+=(n-Ot)/Et,Pt+=(e-Pt)/Et}function Ht(){Ft.point=Ut}function Ut(t,n){t*=h,n*=h;var e=g(n);qt=e*g(t),Lt=e*w(t),zt=w(n),Ft.point=Wt,Vt(qt,Lt,zt)}function Wt(t,n){t*=h,n*=h;var e=g(n),r=e*g(t),o=e*w(t),i=w(n),a=p(E((a=Lt*i-zt*o)*a+(a=zt*r-qt*i)*a+(a=qt*o-Lt*r)*a),qt*r+Lt*o+zt*i);Mt+=a,Tt+=a*(qt+(qt=r)),kt+=a*(Lt+(Lt=o)),At+=a*(zt+(zt=i)),Vt(qt,Lt,zt)}function Kt(){Ft.point=Gt}function Yt(){Ft.point=Jt}function Xt(){$t(Rt,Dt),Ft.point=Gt}function Jt(t,n){Rt=t,Dt=n,t*=h,n*=h,Ft.point=$t;var e=g(n);qt=e*g(t),Lt=e*w(t),zt=w(n),Vt(qt,Lt,zt)}function $t(t,n){t*=h,n*=h;var e=g(n),r=e*g(t),o=e*w(t),i=w(n),a=Lt*i-zt*o,u=zt*r-qt*i,s=qt*o-Lt*r,l=E(a*a+u*u+s*s),c=O(l),d=l&&-c/l;Ct+=d*a,Nt+=d*u,It+=d*s,Mt+=c,Tt+=c*(qt+(qt=r)),kt+=c*(Lt+(Lt=o)),At+=c*(zt+(zt=i)),Vt(qt,Lt,zt)}var Zt=function(t){Et=Mt=St=Ot=Pt=Tt=kt=At=Ct=Nt=It=0,B(t,Ft);var n=Ct,e=Nt,r=It,o=n*n+e*e+r*r;return os?t-d:t<-s?t+d:t,n]}function en(t,n,e){return(t%=d)?n||e?tn(on(t),an(n,e)):on(t):n||e?an(n,e):nn}function rn(t){return function(n,e){return n+=t,[n>s?n-d:n<-s?n+d:n,e]}}function on(t){var n=rn(t);return n.invert=rn(-t),n}function an(t,n){var e=g(t),r=w(t),o=g(n),i=w(n);function a(t,n){var a=g(n),u=g(t)*a,s=w(t)*a,l=w(n),c=l*e+u*r;return[p(s*o-c*i,u*e-l*r),O(c*o+s*i)]}return a.invert=function(t,n){var a=g(n),u=g(t)*a,s=w(t)*a,l=w(n),c=l*o-s*i;return[p(s*o+l*i,u*e+c*r),O(c*e-u*r)]},a}nn.invert=nn;var un=function(t){function n(n){return n=t(n[0]*h,n[1]*h),n[0]*=f,n[1]*=f,n}return t=en(t[0]*h,t[1]*h,t.length>2?t[2]*h:0),n.invert=function(n){return n=t.invert(n[0]*h,n[1]*h),n[0]*=f,n[1]*=f,n},n};function sn(t,n,e,r,o,i){if(e){var a=g(n),u=w(n),s=r*e;null==o?(o=n+r*d,i=n-s/2):(o=ln(a,o),i=ln(a,i),(r>0?oi)&&(o+=r*d));for(var l,c=o;r>0?c>i:c1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},fn=function(t,n,e,r,o,i){var a,u=t[0],s=t[1],l=n[0],c=n[1],d=0,f=1,h=l-u,_=c-s;if(a=e-u,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-u,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-s,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a0&&(t[0]=u+d*h,t[1]=s+d*_),f<1&&(n[0]=u+f*h,n[1]=s+f*_),!0}}}}},hn=function(t,n){return _(t[0]-n[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 pn(t){if(n=t.length){var n,e,r=0,o=t[0];while(++r0)do{u.point(0===l||3===l?t:r,l>1?o:e)}while((l=(l+a+4)%4)!==d);else u.point(i[0],i[1])}function s(n,o){return _(n[0]-t)0?0:3:_(n[0]-r)0?2:1:_(n[1]-e)0?1:0:o>0?3:2}function l(t,n){return c(t.x,n.x)}function c(t,n){var e=s(t,1),r=s(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(a){var s,c,d,f,h,_,v,p,g,m,y,b=a,j=dn(),w={point:x,lineStart:O,lineEnd:P,polygonStart:M,polygonEnd:S};function x(t,n){i(t,n)&&b.point(t,n)}function E(){for(var n=0,e=0,r=c.length;eo&&(f-i)*(o-a)>(h-a)*(t-i)&&++n:h<=o&&(f-i)*(o-a)<(h-a)*(t-i)&&--n;return n}function M(){b=j,s=[],c=[],y=!0}function S(){var t=E(),e=y&&t,r=(s=n.merge(s)).length;(e||r)&&(a.polygonStart(),e&&(a.lineStart(),u(null,null,1,a),a.lineEnd()),r&&vn(s,l,t,u,a),a.polygonEnd()),b=a,s=c=d=null}function O(){w.point=T,c&&c.push(d=[]),m=!0,g=!1,v=p=NaN}function P(){s&&(T(f,h),_&&g&&j.rejoin(),s.push(j.result())),w.point=x,g&&b.lineEnd()}function T(n,a){var u=i(n,a);if(c&&d.push([n,a]),m)f=n,h=a,_=u,m=!1,u&&(b.lineStart(),b.point(n,a));else if(u&&g)b.point(n,a);else{var s=[v=Math.max(mn,Math.min(gn,v)),p=Math.max(mn,Math.min(gn,p))],l=[n=Math.max(mn,Math.min(gn,n)),a=Math.max(mn,Math.min(gn,a))];fn(s,l,t,e,r,o)?(g||(b.lineStart(),b.point(s[0],s[1])),b.point(l[0],l[1]),u||b.lineEnd(),y=!1):u&&(b.lineStart(),b.point(n,a),y=!1)}v=n,p=a,g=u}return w}}var bn,jn,wn,xn=function(){var t,n,e,r=0,o=0,i=960,a=500;return e={stream:function(e){return t&&n===e?t:t=yn(r,o,i,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],t=n=null,e):[[r,o],[i,a]]}}},En=e(),Mn=function(t,n){var e=n[0],r=n[1],o=[w(e),-g(e),0],i=0,u=0;En.reset();for(var l=0,f=t.length;l=0?1:-1,C=A*k,N=C>s,I=b*P;if(En.add(p(I*A*w(C),j*T+I*g(C))),i+=N?k+A*d:k,N^m>=e^M>=e){var R=at(ot(v),ot(E));lt(R);var D=at(o,R);lt(D);var q=(N^k>=0?-1:1)*O(D[2]);(r>q||r===q&&(R[0]||R[1]))&&(u+=N^k>=0?1:-1)}}return(i<-a||ia})).map(c)).concat(n.range(m(u/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(s).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],s=+t[1][1],o>r&&(t=o,o=r,r=t),l>s&&(t=l,l=s,s=t),j.precision(b)):[[o,l],[r,s]]},j.extentMinor=function(n){return arguments.length?(e=+n[0][0],t=+n[1][0],u=+n[0][1],i=+n[1][1],e>t&&(n=e,e=t,t=n),u>i&&(n=u,u=i,i=n),j.precision(b)):[[e,u],[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(n){return arguments.length?(b=+n,c=Un(u,i,90),d=Wn(e,t,b),f=Un(l,s,90),h=Wn(o,r,b),j):b},j.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}function Yn(){return Kn()()}var Xn,Jn,$n,Zn,Qn=function(t,n){var e=t[0]*h,r=t[1]*h,o=n[0]*h,i=n[1]*h,a=g(r),u=w(r),s=g(i),l=w(i),c=a*g(e),d=a*w(e),_=s*g(o),v=s*w(o),m=2*O(E(P(i-r)+a*s*P(o-e))),y=w(m),b=m?function(t){var n=w(t*=m)/y,e=w(m-t)/y,r=e*c+n*_,o=e*d+n*v,i=e*u+n*l;return[p(o,r)*f,p(i,E(r*r+o*o))*f]}:function(){return[e*f,r*f]};return b.distance=m,b},te=function(t){return t},ne=e(),ee=e(),re={point:T,lineStart:T,lineEnd:T,polygonStart:function(){re.lineStart=oe,re.lineEnd=ue},polygonEnd:function(){re.lineStart=re.lineEnd=re.point=T,ne.add(_(ee)),ee.reset()},result:function(){var t=ne/2;return ne.reset(),t}};function oe(){re.point=ie}function ie(t,n){re.point=ae,Xn=$n=t,Jn=Zn=n}function ae(t,n){ee.add(Zn*t-$n*n),$n=t,Zn=n}function ue(){ae(Xn,Jn)}var se=1/0,le=se,ce=-se,de=ce,fe={point:he,lineStart:T,lineEnd:T,polygonStart:T,polygonEnd:T,result:function(){var t=[[se,le],[ce,de]];return ce=de=-(le=se=1/0),t}};function he(t,n){tce&&(ce=t),nde&&(de=n)}var _e,ve,pe,ge,me=0,ye=0,be=0,je=0,we=0,xe=0,Ee=0,Me=0,Se=0,Oe={point:Pe,lineStart:Te,lineEnd:Ce,polygonStart:function(){Oe.lineStart=Ne,Oe.lineEnd=Ie},polygonEnd:function(){Oe.point=Pe,Oe.lineStart=Te,Oe.lineEnd=Ce},result:function(){var t=Se?[Ee/Se,Me/Se]:xe?[je/xe,we/xe]:be?[me/be,ye/be]:[NaN,NaN];return me=ye=be=je=we=xe=Ee=Me=Se=0,t}};function Pe(t,n){me+=t,ye+=n,++be}function Te(){Oe.point=ke}function ke(t,n){Oe.point=Ae,Pe(pe=t,ge=n)}function Ae(t,n){var e=t-pe,r=n-ge,o=E(e*e+r*r);je+=o*(pe+t)/2,we+=o*(ge+n)/2,xe+=o,Pe(pe=t,ge=n)}function Ce(){Oe.point=Pe}function Ne(){Oe.point=Re}function Ie(){De(_e,ve)}function Re(t,n){Oe.point=De,Pe(_e=pe=t,ve=ge=n)}function De(t,n){var e=t-pe,r=n-ge,o=E(e*e+r*r);je+=o*(pe+t)/2,we+=o*(ge+n)/2,xe+=o,o=ge*t-pe*n,Ee+=o*(pe+t),Me+=o*(ge+n),Se+=3*o,Pe(pe=t,ge=n)}function qe(t){this._context=t}qe.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,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,d);break}},result:T};var Le,ze,Be,Fe,Ge,Ve=e(),He={point:T,lineStart:function(){He.point=Ue},lineEnd:function(){Le&&We(ze,Be),He.point=T},polygonStart:function(){Le=!0},polygonEnd:function(){Le=null},result:function(){var t=+Ve;return Ve.reset(),t}};function Ue(t,n){He.point=We,ze=Fe=t,Be=Ge=n}function We(t,n){Fe-=t,Ge-=n,Ve.add(E(Fe*Fe+Ge*Ge)),Fe=t,Ge=n}function Ke(){this._string=[]}function Ye(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Ke.prototype={_radius:4.5,_circle:Ye(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,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Ye(this._radius)),this._string.push("M",t,",",n,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Xe=function(t,n){var e,r,o=4.5;function i(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),B(t,e(r))),r.result()}return i.area=function(t){return B(t,e(re)),re.result()},i.measure=function(t){return B(t,e(He)),He.result()},i.bounds=function(t){return B(t,e(fe)),fe.result()},i.centroid=function(t){return B(t,e(Oe)),Oe.result()},i.projection=function(n){return arguments.length?(e=null==n?(t=null,te):(t=n).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(n=null,new Ke):new qe(n=t),"function"!==typeof o&&r.pointRadius(o),i):n},i.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(n)},Je=function(t,e,r,o){return function(i,a){var u,s,l,c=e(a),d=i.invert(o[0],o[1]),f=dn(),h=e(f),_=!1,v={point:p,lineStart:m,lineEnd:y,polygonStart:function(){v.point=b,v.lineStart=j,v.lineEnd=w,s=[],u=[]},polygonEnd:function(){v.point=p,v.lineStart=m,v.lineEnd=y,s=n.merge(s);var t=Mn(u,d);s.length?(_||(a.polygonStart(),_=!0),vn(s,Ze,t,r,a)):t&&(_||(a.polygonStart(),_=!0),a.lineStart(),r(null,null,1,a),a.lineEnd()),_&&(a.polygonEnd(),_=!1),s=u=null},sphere:function(){a.polygonStart(),a.lineStart(),r(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function p(n,e){var r=i(n,e);t(n=r[0],e=r[1])&&a.point(n,e)}function g(t,n){var e=i(t,n);c.point(e[0],e[1])}function m(){v.point=g,c.lineStart()}function y(){v.point=p,c.lineEnd()}function b(t,n){l.push([t,n]);var e=i(t,n);h.point(e[0],e[1])}function j(){h.lineStart(),l=[]}function w(){b(l[0][0],l[0][1]),h.lineEnd();var t,n,e,r,o=h.clean(),i=f.result(),c=i.length;if(l.pop(),u.push(l),l=null,c)if(1&o){if(e=i[0],(n=e.length-1)>0){for(_||(a.polygonStart(),_=!0),a.lineStart(),t=0;t1&&2&o&&i.push(i.pop().concat(i.shift())),s.push(i.filter($e))}return v}};function $e(t){return t.length>1}function Ze(t,n){return((t=t.x)[0]<0?t[1]-l-a:l-t[1])-((n=n.x)[0]<0?n[1]-l-a:l-n[1])}var Qe=Je((function(){return!0}),tr,er,[-s,-l]);function tr(t){var n,e=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(i,u){var c=i>0?s:-s,d=_(i-e);_(d-s)0?l:-l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(i,r),n=0):o!==c&&d>=s&&(_(e-o)a?v((w(n)*(i=g(r))*w(e)-w(r)*(o=g(n))*w(t))/(o*i*u)):(n+r)/2}function er(t,n,e,r){var o;if(null==t)o=e*l,r.point(-s,o),r.point(0,o),r.point(s,o),r.point(s,0),r.point(s,-o),r.point(0,-o),r.point(-s,-o),r.point(-s,0),r.point(-s,o);else if(_(t[0]-n[0])>a){var i=t[0]0,o=_(e)>a;function i(e,r,o,i){sn(i,t,n,o,e,r)}function u(t,n){return g(t)*g(n)>e}function l(t){var n,e,i,l,f;return{lineStart:function(){l=i=!1,f=1},point:function(h,_){var v,p=[h,_],g=u(h,_),m=r?g?0:d(h,_):g?d(h+(h<0?s:-s),_):0;if(!n&&(l=i=g)&&t.lineStart(),g!==i&&(v=c(n,p),(!v||hn(n,v)||hn(p,v))&&(p[0]+=a,p[1]+=a,g=u(p[0],p[1]))),g!==i)f=0,g?(t.lineStart(),v=c(p,n),t.point(v[0],v[1])):(v=c(n,p),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(o&&n&&r^g){var y;m&e||!(y=c(p,n,!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||n&&hn(n,p)||t.point(p[0],p[1]),n=p,i=g,e=m},lineEnd:function(){i&&t.lineEnd(),n=null},clean:function(){return f|(l&&i)<<1}}}function c(t,n,r){var o=ot(t),i=ot(n),u=[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=e*c/f,v=-e*d/f,p=at(u,l),g=st(u,h),m=st(l,v);ut(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=st(y,(-b-x)/j);if(ut(M,g),M=rt(M),!r)return M;var S,O=t[0],P=n[0],T=t[1],k=n[1];P0^M[1]<(_(M[0]-O)s^(O<=M[0]&&M[0]<=P)){var I=st(y,(-b+x)/j);return ut(I,g),[M,rt(I)]}}}function d(n,e){var o=r?t:s-t,i=0;return n<-o?i|=1:n>o&&(i|=2),e<-o?i|=4:e>o&&(i|=8),i}return Je(u,l,i,r?[0,-t]:[-s,t-s])},or=function(t){return{stream:ir(t)}};function ir(t){return function(n){var e=new ar;for(var r in t)e[r]=t[r];return e.stream=n,e}}function ar(){}function ur(t,n,e){var r=n[1][0]-n[0][0],o=n[1][1]-n[0][1],i=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=i&&t.clipExtent(null),B(e,t.stream(fe));var a=fe.result(),u=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),s=+n[0][0]+(r-u*(a[1][0]+a[0][0]))/2,l=+n[0][1]+(o-u*(a[1][1]+a[0][1]))/2;return null!=i&&t.clipExtent(i),t.scale(150*u).translate([s,l])}function sr(t,n,e){return ur(t,[[0,0],n],e)}ar.prototype={constructor:ar,point:function(t,n){this.stream.point(t,n)},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,n){return+n?hr(t,n):fr(t)};function fr(t){return ir({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function hr(t,n){function e(r,o,i,u,s,l,c,d,f,h,v,g,m,y){var b=c-r,j=d-o,w=b*b+j*j;if(w>4*n&&m--){var x=u+h,M=s+v,S=l+g,P=E(x*x+M*M+S*S),T=O(S/=P),k=_(_(S)-1)n||_((b*I+j*R)/w-.5)>.3||u*h+s*v+l*g2?t[2]%360*h:0,A()):[m*f,y*f,b*f]},P.precision=function(t){return arguments.length?(O=dr(k,S=t*t),C()):E(S)},P.fitExtent=function(t,n){return ur(P,t,n)},P.fitSize=function(t,n){return sr(P,t,n)},function(){return n=t.apply(this,arguments),P.invert=n.invert&&T,A()}}function gr(t){var n=0,e=s/3,r=pr(t),o=r(n,e);return o.parallels=function(t){return arguments.length?r(n=t[0]*h,e=t[1]*h):[n*f,e*f]},o}function mr(t){var n=g(t);function e(t,e){return[t*n,w(e)/n]}return e.invert=function(t,e){return[t/n,O(e*n)]},e}function yr(t,n){var e=w(t),r=(e+w(n))/2;if(_(r)=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:u).invert(t)},d.stream=function(e){return t&&n===e?t:t=wr([u.stream(n=e),s.stream(e),l.stream(e)])},d.precision=function(t){return arguments.length?(u.precision(t),s.precision(t),l.precision(t),f()):u.precision()},d.scale=function(t){return arguments.length?(u.scale(t),s.scale(.35*t),l.scale(t),d.translate(u.translate())):u.scale()},d.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),i=+t[0],d=+t[1];return e=u.translate(t).clipExtent([[i-.455*n,d-.238*n],[i+.455*n,d+.238*n]]).stream(c),r=s.translate([i-.307*n,d+.201*n]).clipExtent([[i-.425*n+a,d+.12*n+a],[i-.214*n-a,d+.234*n-a]]).stream(c),o=l.translate([i-.205*n,d+.212*n]).clipExtent([[i-.214*n+a,d+.166*n+a],[i-.115*n-a,d+.234*n-a]]).stream(c),f()},d.fitExtent=function(t,n){return ur(d,t,n)},d.fitSize=function(t,n){return sr(d,t,n)},d.scale(1070)};function Er(t){return function(n,e){var r=g(n),o=g(e),i=t(r*o);return[i*o*w(n),i*w(e)]}}function Mr(t){return function(n,e){var r=E(n*n+e*e),o=t(r),i=w(o),a=g(o);return[p(n*i,r*a),O(r&&e*i/r)]}}var Sr=Er((function(t){return E(2/(1+t))}));Sr.invert=Mr((function(t){return 2*O(t/2)}));var Or=function(){return vr(Sr).scale(124.75).clipAngle(179.999)},Pr=Er((function(t){return(t=S(t))&&t/w(t)}));Pr.invert=Mr((function(t){return t}));var Tr=function(){return vr(Pr).scale(79.4188).clipAngle(179.999)};function kr(t,n){return[t,b(M((l+n)/2))]}kr.invert=function(t,n){return[t,2*v(y(n))-l]};var Ar=function(){return Cr(kr).scale(961/d)};function Cr(t){var n,e,r,o=vr(t),i=o.center,a=o.scale,u=o.translate,l=o.clipExtent,c=null;function d(){var i=s*a(),u=o(un(o.rotate()).invert([0,0]));return l(null==c?[[u[0]-i,u[1]-i],[u[0]+i,u[1]+i]]:t===kr?[[Math.max(u[0]-i,c),n],[Math.min(u[0]+i,e),r]]:[[c,Math.max(u[1]-i,n)],[e,Math.min(u[1]+i,r)]])}return o.scale=function(t){return arguments.length?(a(t),d()):a()},o.translate=function(t){return arguments.length?(u(t),d()):u()},o.center=function(t){return arguments.length?(i(t),d()):i()},o.clipExtent=function(t){return arguments.length?(null==t?c=n=e=r=null:(c=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,n],[e,r]]},d()}function Nr(t){return M((l+t)/2)}function Ir(t,n){var e=g(t),r=t===n?w(t):b(e/g(n))/b(Nr(n)/Nr(t)),o=e*j(Nr(t),r)/r;if(!r)return kr;function i(t,n){o>0?n<-l+a&&(n=-l+a):n>l-a&&(n=l-a);var e=o/j(Nr(n),r);return[e*w(r*t),o-e*g(r*t)]}return i.invert=function(t,n){var e=o-n,i=x(r)*E(t*t+e*e);return[p(t,_(e))/r*x(e),2*v(j(o/i,1/r))-l]},i}var Rr=function(){return gr(Ir).scale(109.5).parallels([30,30])};function Dr(t,n){return[t,n]}Dr.invert=Dr;var qr=function(){return vr(Dr).scale(152.63)};function Lr(t,n){var e=g(t),r=t===n?w(t):(e-g(n))/(n-t),o=e/r+t;if(_(r)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)};t.geoArea=et,t.geoBounds=Bt,t.geoCentroid=Zt,t.geoCircle=cn,t.geoClipExtent=xn,t.geoContains=Hn,t.geoDistance=Rn,t.geoGraticule=Kn,t.geoGraticule10=Yn,t.geoInterpolate=Qn,t.geoLength=Cn,t.geoPath=Xe,t.geoAlbers=jr,t.geoAlbersUsa=xr,t.geoAzimuthalEqualArea=Or,t.geoAzimuthalEqualAreaRaw=Sr,t.geoAzimuthalEquidistant=Tr,t.geoAzimuthalEquidistantRaw=Pr,t.geoConicConformal=Rr,t.geoConicConformalRaw=Ir,t.geoConicEqualArea=br,t.geoConicEqualAreaRaw=yr,t.geoConicEquidistant=zr,t.geoConicEquidistantRaw=Lr,t.geoEquirectangular=qr,t.geoEquirectangularRaw=Dr,t.geoGnomonic=Fr,t.geoGnomonicRaw=Br,t.geoIdentity=Vr,t.geoProjection=vr,t.geoProjectionMutator=pr,t.geoMercator=Ar,t.geoMercatorRaw=kr,t.geoOrthographic=Ur,t.geoOrthographicRaw=Hr,t.geoStereographic=Kr,t.geoStereographicRaw=Wr,t.geoTransverseMercator=Xr,t.geoTransverseMercatorRaw=Yr,t.geoRotation=un,t.geoStream=B,t.geoTransform=or,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-geo@2.0.1@d3-geo/dist/d3-geo.js": /*!**********************************************************!*\ !*** ./node_modules/_d3-geo@2.0.1@d3-geo/dist/d3-geo.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){(function(t,r){r(n,e(/*! d3-array */"./node_modules/_d3-array@2.11.0@d3-array/dist/d3-array.js"))})(0,(function(t,n){"use strict";var e=1e-6,r=1e-12,o=Math.PI,i=o/2,a=o/4,u=2*o,s=180/o,l=o/180,c=Math.abs,d=Math.atan,f=Math.atan2,h=Math.cos,_=Math.ceil,v=Math.exp,p=Math.hypot,g=Math.log,m=Math.pow,y=Math.sin,b=Math.sign||function(t){return t>0?1:t<0?-1:0},j=Math.sqrt,w=Math.tan;function x(t){return t>1?0:t<-1?o:Math.acos(t)}function E(t){return t>1?i:t<-1?-i:Math.asin(t)}function M(t){return(t=y(t/2))*t}function S(){}function O(t,n){t&&T.hasOwnProperty(t.type)&&T[t.type](t,n)}var P={Feature:function(t,n){O(t.geometry,n)},FeatureCollection:function(t,n){var e=t.features,r=-1,o=e.length;while(++r=0?1:-1,o=r*e,i=h(n),u=y(n),s=q*u,c=D*i+s*h(o),d=s*r*y(o);X.add(f(d,c)),R=t,D=i,q=u}function et(t){return J=new n.Adder,C(t,$),2*J}function rt(t){return[f(t[1],t[0]),E(t[2])]}function ot(t){var n=t[0],e=t[1],r=h(e);return[r*h(n),r*y(n),y(e)]}function it(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function at(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function ut(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function st(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function lt(t){var n=j(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var ct,dt,ft,ht,_t,vt,pt,gt,mt,yt,bt,jt,wt,xt,Et,Mt,St={point:Ot,lineStart:Tt,lineEnd:kt,polygonStart:function(){St.point=At,St.lineStart=Ct,St.lineEnd=Nt,W=new n.Adder,$.polygonStart()},polygonEnd:function(){$.polygonEnd(),St.point=Ot,St.lineStart=Tt,St.lineEnd=kt,X<0?(L=-(B=180),z=-(F=90)):W>e?F=90:W<-e&&(z=-90),Y[0]=L,Y[1]=B},sphere:function(){L=-(B=180),z=-(F=90)}};function Ot(t,n){K.push(Y=[L=t,B=t]),nF&&(F=n)}function Pt(t,n){var e=ot([t*l,n*l]);if(U){var r=at(U,e),o=[r[1],-r[0],0],i=at(o,r);lt(i),i=rt(i);var a,u=t-G,d=u>0?1:-1,f=i[0]*s*d,h=c(u)>180;h^(d*GF&&(F=a)):(f=(f+360)%360-180,h^(d*GF&&(F=n))),h?tIt(L,B)&&(B=t):It(t,B)>It(L,B)&&(L=t):B>=L?(tB&&(B=t)):t>G?It(L,t)>It(L,B)&&(B=t):It(t,B)>It(L,B)&&(L=t)}else K.push(Y=[L=t,B=t]);nF&&(F=n),U=e,G=t}function Tt(){St.point=Pt}function kt(){Y[0]=L,Y[1]=B,St.point=Ot,U=null}function At(t,n){if(U){var e=t-G;W.add(c(e)>180?e+(e>0?360:-360):e)}else V=t,H=n;$.point(t,n),Pt(t,n)}function Ct(){$.lineStart()}function Nt(){At(V,H),$.lineEnd(),c(W)>e&&(L=-(B=180)),Y[0]=L,Y[1]=B,U=null}function It(t,n){return(n-=t)<0?n+360:n}function Rt(t,n){return t[0]-n[0]}function Dt(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nIt(r[0],r[1])&&(r[1]=o[1]),It(o[0],r[1])>It(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,e=i.length-1,n=0,r=i[e];n<=e;r=o,++n)o=i[n],(u=It(r[1],o[0]))>a&&(a=u,L=o[0],B=r[1])}return K=Y=null,L===1/0||z===1/0?[[NaN,NaN],[NaN,NaN]]:[[L,z],[B,F]]}var Lt={sphere:S,point:zt,lineStart:Ft,lineEnd:Ht,polygonStart:function(){Lt.lineStart=Ut,Lt.lineEnd=Wt},polygonEnd:function(){Lt.lineStart=Ft,Lt.lineEnd=Ht}};function zt(t,n){t*=l,n*=l;var e=h(n);Bt(e*h(t),e*y(t),y(n))}function Bt(t,n,e){++ct,ft+=(t-ft)/ct,ht+=(n-ht)/ct,_t+=(e-_t)/ct}function Ft(){Lt.point=Gt}function Gt(t,n){t*=l,n*=l;var e=h(n);xt=e*h(t),Et=e*y(t),Mt=y(n),Lt.point=Vt,Bt(xt,Et,Mt)}function Vt(t,n){t*=l,n*=l;var e=h(n),r=e*h(t),o=e*y(t),i=y(n),a=f(j((a=Et*i-Mt*o)*a+(a=Mt*r-xt*i)*a+(a=xt*o-Et*r)*a),xt*r+Et*o+Mt*i);dt+=a,vt+=a*(xt+(xt=r)),pt+=a*(Et+(Et=o)),gt+=a*(Mt+(Mt=i)),Bt(xt,Et,Mt)}function Ht(){Lt.point=zt}function Ut(){Lt.point=Kt}function Wt(){Yt(jt,wt),Lt.point=zt}function Kt(t,n){jt=t,wt=n,t*=l,n*=l,Lt.point=Yt;var e=h(n);xt=e*h(t),Et=e*y(t),Mt=y(n),Bt(xt,Et,Mt)}function Yt(t,n){t*=l,n*=l;var e=h(n),r=e*h(t),o=e*y(t),i=y(n),a=Et*i-Mt*o,u=Mt*r-xt*i,s=xt*o-Et*r,c=p(a,u,s),d=E(c),f=c&&-d/c;mt.add(f*a),yt.add(f*u),bt.add(f*s),dt+=d,vt+=d*(xt+(xt=r)),pt+=d*(Et+(Et=o)),gt+=d*(Mt+(Mt=i)),Bt(xt,Et,Mt)}function Xt(t){ct=dt=ft=ht=_t=vt=pt=gt=0,mt=new n.Adder,yt=new n.Adder,bt=new n.Adder,C(t,Lt);var o=+mt,i=+yt,a=+bt,u=p(o,i,a);return uo?t+Math.round(-t/u)*u:t,n]}function Qt(t,n,e){return(t%=u)?n||e?$t(nn(t),en(n,e)):nn(t):n||e?en(n,e):Zt}function tn(t){return function(n,e){return n+=t,[n>o?n-u:n<-o?n+u:n,e]}}function nn(t){var n=tn(t);return n.invert=tn(-t),n}function en(t,n){var e=h(t),r=y(t),o=h(n),i=y(n);function a(t,n){var a=h(n),u=h(t)*a,s=y(t)*a,l=y(n),c=l*e+u*r;return[f(s*o-c*i,u*e-l*r),E(c*o+s*i)]}return a.invert=function(t,n){var a=h(n),u=h(t)*a,s=y(t)*a,l=y(n),c=l*o-s*i;return[f(s*o+l*i,u*e+c*r),E(c*e-u*r)]},a}function rn(t){function n(n){return n=t(n[0]*l,n[1]*l),n[0]*=s,n[1]*=s,n}return t=Qt(t[0]*l,t[1]*l,t.length>2?t[2]*l:0),n.invert=function(n){return n=t.invert(n[0]*l,n[1]*l),n[0]*=s,n[1]*=s,n},n}function on(t,n,e,r,o,i){if(e){var a=h(n),s=y(n),l=r*e;null==o?(o=n+r*u,i=n-l/2):(o=an(a,o),i=an(a,i),(r>0?oi)&&(o+=r*u));for(var c,d=o;r>0?d>i:d1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}function ln(t,n){return c(t[0]-n[0])=0;--a)i.point((d=c[a])[0],d[1]);else o(h.x,h.p.x,-1,i);h=h.p}h=h.o,c=h.z,_=!_}while(!h.v);i.lineEnd()}}}function fn(t){if(n=t.length){var n,e,r=0,o=t[0];while(++r=0?1:-1,q=D*R,L=q>o,z=O*N;if(g.add(f(z*D*y(q),P*I+z*h(q))),v+=L?R+D*u:R,L^M>=l^A>=l){var B=at(ot(x),ot(k));lt(B);var F=at(_,B);lt(F);var G=(L^R>=0?-1:1)*E(F[2]);(c>G||c===G&&(B[0]||B[1]))&&(p+=L^R>=0?1:-1)}}return(v<-e||v0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t1&&2&o&&l.push(l.pop().concat(l.shift())),u.push(l.filter(pn))}return h}}function pn(t){return t.length>1}function gn(t,n){return((t=t.x)[0]<0?t[1]-i-e:i-t[1])-((n=n.x)[0]<0?n[1]-i-e:i-n[1])}Zt.invert=Zt;var mn=vn((function(){return!0}),yn,jn,[-o,-i]);function yn(t){var n,r=NaN,a=NaN,u=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(s,l){var d=s>0?o:-o,f=c(s-r);c(f-o)0?i:-i),t.point(u,a),t.lineEnd(),t.lineStart(),t.point(d,a),t.point(s,a),n=0):u!==d&&f>=o&&(c(r-u)e?d((y(n)*(a=h(o))*y(r)-y(o)*(i=h(n))*y(t))/(i*a*u)):(n+o)/2}function jn(t,n,r,a){var u;if(null==t)u=r*i,a.point(-o,u),a.point(0,u),a.point(o,u),a.point(o,0),a.point(o,-u),a.point(0,-u),a.point(-o,-u),a.point(-o,0),a.point(-o,u);else if(c(t[0]-n[0])>e){var s=t[0]0,a=c(n)>e;function u(n,e,o,i){on(i,t,r,o,n,e)}function s(t,e){return h(t)*h(e)>n}function d(t){var n,e,r,u,l;return{lineStart:function(){u=r=!1,l=1},point:function(c,d){var h,v=[c,d],p=s(c,d),g=i?p?0:_(c,d):p?_(c+(c<0?o:-o),d):0;if(!n&&(u=r=p)&&t.lineStart(),p!==r&&(h=f(n,v),(!h||ln(n,h)||ln(v,h))&&(v[2]=1)),p!==r)l=0,p?(t.lineStart(),h=f(v,n),t.point(h[0],h[1])):(h=f(n,v),t.point(h[0],h[1],2),t.lineEnd()),n=h;else if(a&&n&&i^p){var m;g&e||!(m=f(v,n,!0))||(l=0,i?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1],3)))}!p||n&&ln(n,v)||t.point(v[0],v[1]),n=v,r=p,e=g},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return l|(u&&r)<<1}}}function f(t,r,i){var a=ot(t),u=ot(r),s=[1,0,0],l=at(a,u),d=it(l,l),f=l[0],h=d-f*f;if(!h)return!i&&t;var _=n*d/h,v=-n*f/h,p=at(s,l),g=st(s,_),m=st(l,v);ut(g,m);var y=p,b=it(g,y),w=it(y,y),x=b*b-w*(it(g,g)-1);if(!(x<0)){var E=j(x),M=st(y,(-b-E)/w);if(ut(M,g),M=rt(M),!i)return M;var S,O=t[0],P=r[0],T=t[1],k=r[1];P0^M[1]<(c(M[0]-O)o^(O<=M[0]&&M[0]<=P)){var I=st(y,(-b+E)/w);return ut(I,g),[M,rt(I)]}}}function _(n,e){var r=i?t:o-t,a=0;return n<-r?a|=1:n>r&&(a|=2),e<-r?a|=4:e>r&&(a|=8),a}return vn(s,d,u,i?[0,-t]:[-o,t-o])}function xn(t,n,e,r,o,i){var a,u=t[0],s=t[1],l=n[0],c=n[1],d=0,f=1,h=l-u,_=c-s;if(a=e-u,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>f)return;a>d&&(d=a)}if(a=o-u,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-s,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a0&&(t[0]=u+d*h,t[1]=s+d*_),f<1&&(n[0]=u+f*h,n[1]=s+f*_),!0}}}}}var En,Mn,Sn,On,Pn=1e9,Tn=-Pn;function kn(t,r,o,i){function a(n,e){return t<=n&&n<=o&&r<=e&&e<=i}function u(n,e,a,u){var l=0,c=0;if(null==n||(l=s(n,a))!==(c=s(e,a))||d(n,e)<0^a>0)do{u.point(0===l||3===l?t:o,l>1?i:r)}while((l=(l+a+4)%4)!==c);else u.point(e[0],e[1])}function s(n,i){return c(n[0]-t)0?0:3:c(n[0]-o)0?2:1:c(n[1]-r)0?1:0:i>0?3:2}function l(t,n){return d(t.x,n.x)}function d(t,n){var e=s(t,1),r=s(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(e){var s,c,d,f,h,_,v,p,g,m,y,b=e,j=sn(),w={point:x,lineStart:O,lineEnd:P,polygonStart:M,polygonEnd:S};function x(t,n){a(t,n)&&b.point(t,n)}function E(){for(var n=0,e=0,r=c.length;ei&&(f-o)*(i-a)>(h-a)*(t-o)&&++n:h<=i&&(f-o)*(i-a)<(h-a)*(t-o)&&--n;return n}function M(){b=j,s=[],c=[],y=!0}function S(){var t=E(),r=y&&t,o=(s=n.merge(s)).length;(r||o)&&(e.polygonStart(),r&&(e.lineStart(),u(null,null,1,e),e.lineEnd()),o&&dn(s,l,t,u,e),e.polygonEnd()),b=e,s=c=d=null}function O(){w.point=T,c&&c.push(d=[]),m=!0,g=!1,v=p=NaN}function P(){s&&(T(f,h),_&&g&&j.rejoin(),s.push(j.result())),w.point=x,g&&b.lineEnd()}function T(n,e){var u=a(n,e);if(c&&d.push([n,e]),m)f=n,h=e,_=u,m=!1,u&&(b.lineStart(),b.point(n,e));else if(u&&g)b.point(n,e);else{var s=[v=Math.max(Tn,Math.min(Pn,v)),p=Math.max(Tn,Math.min(Pn,p))],l=[n=Math.max(Tn,Math.min(Pn,n)),e=Math.max(Tn,Math.min(Pn,e))];xn(s,l,t,r,o,i)?(g||(b.lineStart(),b.point(s[0],s[1])),b.point(l[0],l[1]),u||b.lineEnd(),y=!1):u&&(b.lineStart(),b.point(n,e),y=!1)}v=n,p=e,g=u}return w}}function An(){var t,n,e,r=0,o=0,i=960,a=500;return e={stream:function(e){return t&&n===e?t:t=kn(r,o,i,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],o=+u[0][1],i=+u[1][0],a=+u[1][1],t=n=null,e):[[r,o],[i,a]]}}}var Cn={sphere:S,point:S,lineStart:Nn,lineEnd:S,polygonStart:S,polygonEnd:S};function Nn(){Cn.point=Rn,Cn.lineEnd=In}function In(){Cn.point=Cn.lineEnd=S}function Rn(t,n){t*=l,n*=l,Mn=t,Sn=y(n),On=h(n),Cn.point=Dn}function Dn(t,n){t*=l,n*=l;var e=y(n),r=h(n),o=c(t-Mn),i=h(o),a=y(o),u=r*a,s=On*e-Sn*r*i,d=Sn*e+On*r*i;En.add(f(j(u*u+s*s),d)),Mn=t,Sn=e,On=r}function qn(t){return En=new n.Adder,C(t,Cn),+En}var Ln=[null,null],zn={type:"LineString",coordinates:Ln};function Bn(t,n){return Ln[0]=t,Ln[1]=n,qn(zn)}var Fn={Feature:function(t,n){return Vn(t.geometry,n)},FeatureCollection:function(t,n){var e=t.features,r=-1,o=e.length;while(++r0&&(i=Bn(t[a],t[a-1]),i>0&&e<=i&&o<=i&&(e+o-i)*(1-Math.pow((e-o)/i,2))e})).map(d)).concat(n.range(_(u/g)*g,a,g).filter((function(t){return c(t%y)>e})).map(f))}return j.lines=function(){return w().map((function(t){return{type:"LineString",coordinates:t}}))},j.outline=function(){return{type:"Polygon",coordinates:[h(i).concat(v(s).slice(1),h(o).reverse().slice(1),v(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?(i=+t[0][0],o=+t[1][0],l=+t[0][1],s=+t[1][1],i>o&&(t=i,i=o,o=t),l>s&&(t=l,l=s,s=t),j.precision(b)):[[i,l],[o,s]]},j.extentMinor=function(n){return arguments.length?(r=+n[0][0],t=+n[1][0],u=+n[0][1],a=+n[1][1],r>t&&(n=r,r=t,t=n),u>a&&(n=u,u=a,a=n),j.precision(b)):[[r,u],[t,a]]},j.step=function(t){return arguments.length?j.stepMajor(t).stepMinor(t):j.stepMinor()},j.stepMajor=function(t){return arguments.length?(m=+t[0],y=+t[1],j):[m,y]},j.stepMinor=function(t){return arguments.length?(p=+t[0],g=+t[1],j):[p,g]},j.precision=function(n){return arguments.length?(b=+n,d=Jn(u,a,90),f=$n(r,t,b),h=Jn(l,s,90),v=$n(i,o,b),j):b},j.extentMajor([[-180,-90+e],[180,90-e]]).extentMinor([[-180,-80-e],[180,80+e]])}function Qn(){return Zn()()}function te(t,n){var e=t[0]*l,r=t[1]*l,o=n[0]*l,i=n[1]*l,a=h(r),u=y(r),c=h(i),d=y(i),_=a*h(e),v=a*y(e),p=c*h(o),g=c*y(o),m=2*E(j(M(i-r)+a*c*M(o-e))),b=y(m),w=m?function(t){var n=y(t*=m)/b,e=y(m-t)/b,r=e*_+n*p,o=e*v+n*g,i=e*u+n*d;return[f(o,r)*s,f(i,j(r*r+o*o))*s]}:function(){return[e*s,r*s]};return w.distance=m,w}var ne,ee,re,oe,ie=function(t){return t},ae=new n.Adder,ue=new n.Adder,se={point:S,lineStart:S,lineEnd:S,polygonStart:function(){se.lineStart=le,se.lineEnd=fe},polygonEnd:function(){se.lineStart=se.lineEnd=se.point=S,ae.add(c(ue)),ue=new n.Adder},result:function(){var t=ae/2;return ae=new n.Adder,t}};function le(){se.point=ce}function ce(t,n){se.point=de,ne=re=t,ee=oe=n}function de(t,n){ue.add(oe*t-re*n),re=t,oe=n}function fe(){de(ne,ee)}var he=1/0,_e=he,ve=-he,pe=ve,ge={point:me,lineStart:S,lineEnd:S,polygonStart:S,polygonEnd:S,result:function(){var t=[[he,_e],[ve,pe]];return ve=pe=-(_e=he=1/0),t}};function me(t,n){tve&&(ve=t),n<_e&&(_e=n),n>pe&&(pe=n)}var ye,be,je,we,xe=0,Ee=0,Me=0,Se=0,Oe=0,Pe=0,Te=0,ke=0,Ae=0,Ce={point:Ne,lineStart:Ie,lineEnd:qe,polygonStart:function(){Ce.lineStart=Le,Ce.lineEnd=ze},polygonEnd:function(){Ce.point=Ne,Ce.lineStart=Ie,Ce.lineEnd=qe},result:function(){var t=Ae?[Te/Ae,ke/Ae]:Pe?[Se/Pe,Oe/Pe]:Me?[xe/Me,Ee/Me]:[NaN,NaN];return xe=Ee=Me=Se=Oe=Pe=Te=ke=Ae=0,t}};function Ne(t,n){xe+=t,Ee+=n,++Me}function Ie(){Ce.point=Re}function Re(t,n){Ce.point=De,Ne(je=t,we=n)}function De(t,n){var e=t-je,r=n-we,o=j(e*e+r*r);Se+=o*(je+t)/2,Oe+=o*(we+n)/2,Pe+=o,Ne(je=t,we=n)}function qe(){Ce.point=Ne}function Le(){Ce.point=Be}function ze(){Fe(ye,be)}function Be(t,n){Ce.point=Fe,Ne(ye=je=t,be=we=n)}function Fe(t,n){var e=t-je,r=n-we,o=j(e*e+r*r);Se+=o*(je+t)/2,Oe+=o*(we+n)/2,Pe+=o,o=we*t-je*n,Te+=o*(je+t),ke+=o*(we+n),Ae+=3*o,Ne(je=t,we=n)}function Ge(t){this._context=t}Ge.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,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,u);break}},result:S};var Ve,He,Ue,We,Ke,Ye=new n.Adder,Xe={point:S,lineStart:function(){Xe.point=Je},lineEnd:function(){Ve&&$e(He,Ue),Xe.point=S},polygonStart:function(){Ve=!0},polygonEnd:function(){Ve=null},result:function(){var t=+Ye;return Ye=new n.Adder,t}};function Je(t,n){Xe.point=$e,He=We=t,Ue=Ke=n}function $e(t,n){We-=t,Ke-=n,Ye.add(j(We*We+Ke*Ke)),We=t,Ke=n}function Ze(){this._string=[]}function Qe(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function tr(t,n){var e,r,o=4.5;function i(t){return t&&("function"===typeof o&&r.pointRadius(+o.apply(this,arguments)),C(t,e(r))),r.result()}return i.area=function(t){return C(t,e(se)),se.result()},i.measure=function(t){return C(t,e(Xe)),Xe.result()},i.bounds=function(t){return C(t,e(ge)),ge.result()},i.centroid=function(t){return C(t,e(Ce)),Ce.result()},i.projection=function(n){return arguments.length?(e=null==n?(t=null,ie):(t=n).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(n=null,new Ze):new Ge(n=t),"function"!==typeof o&&r.pointRadius(o),i):n},i.pointRadius=function(t){return arguments.length?(o="function"===typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(n)}function nr(t){return{stream:er(t)}}function er(t){return function(n){var e=new rr;for(var r in t)e[r]=t[r];return e.stream=n,e}}function rr(){}function or(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),C(e,t.stream(ge)),n(ge.result()),null!=r&&t.clipExtent(r),t}function ir(t,n,e){return or(t,(function(e){var r=n[1][0]-n[0][0],o=n[1][1]-n[0][1],i=Math.min(r/(e[1][0]-e[0][0]),o/(e[1][1]-e[0][1])),a=+n[0][0]+(r-i*(e[1][0]+e[0][0]))/2,u=+n[0][1]+(o-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([a,u])}),e)}function ar(t,n,e){return ir(t,[[0,0],n],e)}function ur(t,n,e){return or(t,(function(e){var r=+n,o=r/(e[1][0]-e[0][0]),i=(r-o*(e[1][0]+e[0][0]))/2,a=-o*e[0][1];t.scale(150*o).translate([i,a])}),e)}function sr(t,n,e){return or(t,(function(e){var r=+n,o=r/(e[1][1]-e[0][1]),i=-o*e[0][0],a=(r-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([i,a])}),e)}Ze.prototype={_radius:4.5,_circle:Qe(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,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=Qe(this._radius)),this._string.push("M",t,",",n,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},rr.prototype={constructor:rr,point:function(t,n){this.stream.point(t,n)},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=h(30*l);function dr(t,n){return+n?hr(t,n):fr(t)}function fr(t){return er({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function hr(t,n){function r(o,i,a,u,s,l,d,h,_,v,p,g,m,y){var b=d-o,w=h-i,x=b*b+w*w;if(x>4*n&&m--){var M=u+v,S=s+p,O=l+g,P=j(M*M+S*S+O*O),T=E(O/=P),k=c(c(O)-1)n||c((b*I+w*R)/x-.5)>.3||u*v+s*p+l*g2?t[2]%360*l:0,C()):[m*s,y*s,b*s]},k.angle=function(t){return arguments.length?(w=t%360*l,C()):w*s},k.reflectX=function(t){return arguments.length?(x=t?-1:1,C()):x<0},k.reflectY=function(t){return arguments.length?(E=t?-1:1,C()):E<0},k.precision=function(t){return arguments.length?(a=dr(u,T=t*t),N()):j(T)},k.fitExtent=function(t,n){return ir(k,t,n)},k.fitSize=function(t,n){return ar(k,t,n)},k.fitWidth=function(t,n){return ur(k,t,n)},k.fitHeight=function(t,n){return sr(k,t,n)},function(){return n=t.apply(this,arguments),k.invert=n.invert&&A,C()}}function br(t){var n=0,e=o/3,r=yr(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*l,e=t[1]*l):[n*s,e*s]},i}function jr(t){var n=h(t);function e(t,e){return[t*n,y(e)/n]}return e.invert=function(t,e){return[t/n,E(e*n)]},e}function wr(t,n){var r=y(t),i=(r+y(n))/2;if(c(i)=.12&&o<.234&&r>=-.425&&r<-.214?s:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:u).invert(t)},d.stream=function(e){return t&&n===e?t:t=Mr([u.stream(n=e),s.stream(e),l.stream(e)])},d.precision=function(t){return arguments.length?(u.precision(t),s.precision(t),l.precision(t),f()):u.precision()},d.scale=function(t){return arguments.length?(u.scale(t),s.scale(.35*t),l.scale(t),d.translate(u.translate())):u.scale()},d.translate=function(t){if(!arguments.length)return u.translate();var n=u.scale(),a=+t[0],d=+t[1];return r=u.translate(t).clipExtent([[a-.455*n,d-.238*n],[a+.455*n,d+.238*n]]).stream(c),o=s.translate([a-.307*n,d+.201*n]).clipExtent([[a-.425*n+e,d+.12*n+e],[a-.214*n-e,d+.234*n-e]]).stream(c),i=l.translate([a-.205*n,d+.212*n]).clipExtent([[a-.214*n+e,d+.166*n+e],[a-.115*n-e,d+.234*n-e]]).stream(c),f()},d.fitExtent=function(t,n){return ir(d,t,n)},d.fitSize=function(t,n){return ar(d,t,n)},d.fitWidth=function(t,n){return ur(d,t,n)},d.fitHeight=function(t,n){return sr(d,t,n)},d.scale(1070)}function Or(t){return function(n,e){var r=h(n),o=h(e),i=t(r*o);return i===1/0?[2,0]:[i*o*y(n),i*y(e)]}}function Pr(t){return function(n,e){var r=j(n*n+e*e),o=t(r),i=y(o),a=h(o);return[f(n*i,r*a),E(r&&e*i/r)]}}var Tr=Or((function(t){return j(2/(1+t))}));function kr(){return mr(Tr).scale(124.75).clipAngle(179.999)}Tr.invert=Pr((function(t){return 2*E(t/2)}));var Ar=Or((function(t){return(t=x(t))&&t/y(t)}));function Cr(){return mr(Ar).scale(79.4188).clipAngle(179.999)}function Nr(t,n){return[t,g(w((i+n)/2))]}function Ir(){return Rr(Nr).scale(961/u)}function Rr(t){var n,e,r,i=mr(t),a=i.center,u=i.scale,s=i.translate,l=i.clipExtent,c=null;function d(){var a=o*u(),s=i(rn(i.rotate()).invert([0,0]));return l(null==c?[[s[0]-a,s[1]-a],[s[0]+a,s[1]+a]]:t===Nr?[[Math.max(s[0]-a,c),n],[Math.min(s[0]+a,e),r]]:[[c,Math.max(s[1]-a,n)],[e,Math.min(s[1]+a,r)]])}return i.scale=function(t){return arguments.length?(u(t),d()):u()},i.translate=function(t){return arguments.length?(s(t),d()):s()},i.center=function(t){return arguments.length?(a(t),d()):a()},i.clipExtent=function(t){return arguments.length?(null==t?c=n=e=r=null:(c=+t[0][0],n=+t[0][1],e=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,n],[e,r]]},d()}function Dr(t){return w((i+t)/2)}function qr(t,n){var r=h(t),a=t===n?y(t):g(r/h(n))/g(Dr(n)/Dr(t)),u=r*m(Dr(t),a)/a;if(!a)return Nr;function s(t,n){u>0?n<-i+e&&(n=-i+e):n>i-e&&(n=i-e);var r=u/m(Dr(n),a);return[r*y(a*t),u-r*h(a*t)]}return s.invert=function(t,n){var e=u-n,r=b(a)*j(t*t+e*e),s=f(t,c(e))*b(e);return e*a<0&&(s-=o*b(t)*b(e)),[s/a,2*d(m(u/r,1/a))-i]},s}function Lr(){return br(qr).scale(109.5).parallels([30,30])}function zr(t,n){return[t,n]}function Br(){return mr(zr).scale(152.63)}function Fr(t,n){var r=h(t),i=t===n?y(t):(r-h(n))/(n-t),a=r/i+t;if(c(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}Xr.invert=function(t,n){for(var e,o,i,a=n,u=a*a,s=u*u*u,l=0;le&&--i>0);return[t/(.8707+(a=o*o)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),o]},eo.invert=Pr(E),oo.invert=Pr((function(t){return 2*d(t)})),ao.invert=function(t,n){return[-n,2*d(v(t))-i]},t.geoAlbers=Er,t.geoAlbersUsa=Sr,t.geoArea=et,t.geoAzimuthalEqualArea=kr,t.geoAzimuthalEqualAreaRaw=Tr,t.geoAzimuthalEquidistant=Cr,t.geoAzimuthalEquidistantRaw=Ar,t.geoBounds=qt,t.geoCentroid=Xt,t.geoCircle=un,t.geoClipAntimeridian=mn,t.geoClipCircle=wn,t.geoClipExtent=An,t.geoClipRectangle=kn,t.geoConicConformal=Lr,t.geoConicConformalRaw=qr,t.geoConicEqualArea=xr,t.geoConicEqualAreaRaw=wr,t.geoConicEquidistant=Gr,t.geoConicEquidistantRaw=Fr,t.geoContains=Xn,t.geoDistance=Bn,t.geoEqualEarth=Jr,t.geoEqualEarthRaw=Xr,t.geoEquirectangular=Br,t.geoEquirectangularRaw=zr,t.geoGnomonic=Zr,t.geoGnomonicRaw=$r,t.geoGraticule=Zn,t.geoGraticule10=Qn,t.geoIdentity=Qr,t.geoInterpolate=te,t.geoLength=qn,t.geoMercator=Ir,t.geoMercatorRaw=Nr,t.geoNaturalEarth1=no,t.geoNaturalEarth1Raw=to,t.geoOrthographic=ro,t.geoOrthographicRaw=eo,t.geoPath=tr,t.geoProjection=mr,t.geoProjectionMutator=yr,t.geoRotation=rn,t.geoStereographic=io,t.geoStereographicRaw=oo,t.geoStream=C,t.geoTransform=nr,t.geoTransverseMercator=uo,t.geoTransverseMercatorRaw=ao,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-hexjson@1.1.1@d3-hexjson/build/d3-hexjson.js": /*!***********************************************************************!*\ !*** ./node_modules/_d3-hexjson@1.1.1@d3-hexjson/build/d3-hexjson.js ***! \***********************************************************************/ /*! no static exports found */function(t,n,e){(function(t,r){r(n,e(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))})(0,(function(t,n){"use strict";function e(t,e,u){var s=t.layout,l=[],c=0;Object.keys(t.hexes).forEach((function(n){t.hexes[n].key=n,l.push(t.hexes[n])}));var d=n.max(l,(function(t){return+t.q})),f=n.min(l,(function(t){return+t.q})),h=n.max(l,(function(t){return+t.r})),_=n.min(l,(function(t){return+t.r})),v=d-f+1,p=h-_+1;c="odd-r"===s||"even-r"===s?n.min([e/((v+.5)*Math.sqrt(3)),u/(1.5*(p+1/3))]):n.min([u/((p+.5)*Math.sqrt(3)),e/(1.5*(v+1/3))]);var g=c*Math.sqrt(3),m=i(s,g,c),y=a(m);return l.forEach((function(t){t.qc=t.q-f,t.rc=h-t.r,t.x=r(t,s,g,c),t.y=o(t,s,g,c),t.vertices=m,t.points=y})),l}function r(t,n,e,r){var o=0,i=0;switch(n){case"odd-r":i=t.rc%2===1?e:e/2,o=t.qc*e+i;break;case"even-r":i=t.rc%2===0?e:e/2,o=t.qc*e+i;break;case"odd-q":case"even-q":o=t.qc*r*1.5+r;break}return o}function o(t,n,e,r){var o=0,i=0;switch(n){case"odd-r":case"even-r":o=t.rc*r*1.5+r;break;case"odd-q":i=t.qc%2===1?e:e/2,o=t.rc*e+i;break;case"even-q":i=t.qc%2===0?e:e/2,o=t.rc*e+i;break}return o}function i(t,n,e){var r=[];switch(t){case"odd-r":case"even-r":r.push({x:0,y:0-e}),r.push({x:0+.5*n,y:0-.5*e}),r.push({x:0+.5*n,y:0+.5*e}),r.push({x:0,y:0+e}),r.push({x:0-.5*n,y:0+.5*e}),r.push({x:0-.5*n,y:0-.5*e});break;case"odd-q":case"even-q":r.push({x:0-e,y:0}),r.push({x:0-.5*e,y:0-.5*n}),r.push({x:0+.5*e,y:0-.5*n}),r.push({x:0+e,y:0}),r.push({x:0+.5*e,y:0+.5*n}),r.push({x:0-.5*e,y:0+.5*n});break}return r}function a(t){var n="";return t.forEach((function(t){n+=t.x+","+t.y+" "})),n.substring(0,n.length-1)}function u(t){var e={};e.layout=t.layout,e.hexes={};var r=[];Object.keys(t.hexes).forEach((function(n){r.push(t.hexes[n])}));var o,i,a,u=n.max(r,(function(t){return+t.q})),s=n.min(r,(function(t){return+t.q})),l=n.max(r,(function(t){return+t.r})),c=n.min(r,(function(t){return+t.r}));for(o=s;o<=u;o++)for(i=c;i<=l;i++)a="Q"+o+"R"+i,e.hexes[a]={q:o,r:i};return e}function s(t,e,i,a){var u=[],s=t.layout;Object.keys(t.hexes).forEach((function(n){u.push(t.hexes[n])}));var l,c=n.max(u,(function(t){return+t.q})),d=n.min(u,(function(t){return+t.q})),f=n.max(u,(function(t){return+t.r})),h=n.min(u,(function(t){return+t.r})),_=c-d+1,v=f-h+1;l="odd-r"===s||"even-r"===s?n.min([e/((_+.5)*Math.sqrt(3)),i/(1.5*(v+1/3))]):n.min([i/((v+.5)*Math.sqrt(3)),e/(1.5*(_+1/3))]);var p=l*Math.sqrt(3),g=[],m=l*l*4,y=u.length;if(y>1){u.forEach((function(t){t.qc=t.q-d,t.rc=f-t.r,t.x=r(t,s,p,l),t.y=o(t,s,p,l)}));for(var b=0;b1){u.forEach((function(t){t.qc=t.q-d,t.rc=f-t.r,t.x=r(t,s,p,l),t.y=o(t,s,p,l)}));for(var b=0;b=0)n+=e[r].value;else n=1;t.value=n}function c(){return this.eachAfter(l)}function d(t){var n,e,r,o,i=this,a=[i];do{n=a.reverse(),a=[];while(i=n.pop())if(t(i),e=i.children,e)for(r=0,o=e.length;r=0;--e)o.push(n[e]);return this}function h(t){var n,e,r,o=this,i=[o],a=[];while(o=i.pop())if(a.push(o),n=o.children,n)for(e=0,r=n.length;e=0)e+=r[o].value;n.value=e}))}function v(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))}function p(t){var n=this,e=g(n,t),r=[n];while(n!==e)n=n.parent,r.push(n);var o=r.length;while(t!==e)r.splice(o,0,t),t=t.parent;return r}function g(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),o=null;t=e.pop(),n=r.pop();while(t===n)o=t,t=e.pop(),n=r.pop();return o}function m(){var t=this,n=[t];while(t=t.parent)n.push(t);return n}function y(){var t=[];return this.each((function(n){t.push(n)})),t}function b(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t}function j(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n}function w(t,n){var e,r,o,i,a,u=new O(t),s=+t.value&&(u.value=t.value),l=[u];null==n&&(n=E);while(e=l.pop())if(s&&(e.value=+e.data.value),(o=n(e.data))&&(a=o.length))for(e.children=new Array(a),i=a-1;i>=0;--i)l.push(r=e.children[i]=new O(o[i])),r.parent=e,r.depth=e.depth+1;return u.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 n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function O(t){this.data=t,this.depth=this.height=0,this.parent=null}O.prototype=w.prototype={constructor:O,count:c,each:d,eachAfter:h,eachBefore:f,sum:_,sort:v,path:p,ancestors:m,descendants:y,leaves:b,links:j,copy:x};var P=Array.prototype.slice;function T(t){var n,e,r=t.length;while(r)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}function k(t){var n,e,r=0,o=(t=T(P.call(t))).length,i=[];while(r0&&e*e>r*r+o*o}function I(t,n){for(var e=0;ea?(r=(l+a-o)/(2*l),i=Math.sqrt(Math.max(0,a/l-r*r)),e.x=t.x-r*u-i*s,e.y=t.y-r*s+i*u):(r=(l+o-a)/(2*l),i=Math.sqrt(Math.max(0,o/l-r*r)),e.x=n.x+r*u-i*s,e.y=n.y+r*s+i*u)):(e.x=n.x+e.r,e.y=n.y)}function B(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,o=n.y-t.y;return e>0&&e*e>r*r+o*o}function F(t){var n=t._,e=t.next._,r=n.r+e.r,o=(n.x*e.r+e.x*n.r)/r,i=(n.y*e.r+e.y*n.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 n,e,r,o,i,a,u,s,l,c,d;if(n=t[0],n.x=0,n.y=0,!(o>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(o>2))return n.r+e.r;z(e,n,r=t[2]),n=new G(n),e=new G(e),r=new G(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(u=3;u0)throw new Error("cycle");return i}return e.id=function(n){return arguments.length?(t=W(n),e):t},e.parentId=function(t){return arguments.length?(n=W(t),e):n},e}function lt(t,n){return t.parent===n.parent?1:2}function ct(t){var n=t.children;return n?n[0]:t.t}function dt(t){var n=t.children;return n?n[n.length-1]:t.t}function ft(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function ht(t){var n,e=0,r=0,o=t.children,i=o.length;while(--i>=0)n=o[i],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function _t(t,n,e){return t.a.parent===n.parent?t.a:e}function vt(t,n){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=n}function pt(t){var n,e,r,o,i,a=new vt(t,0),u=[a];while(n=u.pop())if(r=n._.children)for(n.children=new Array(i=r.length),o=i-1;o>=0;--o)u.push(e=n.children[o]=new vt(r[o],o)),e.parent=n;return(a.parent=new vt(null,0)).children=[a],a}function gt(){var t=lt,n=1,e=1,r=null;function o(o){var u=pt(o);if(u.eachAfter(i),u.parent.m=-u.z,u.eachBefore(a),r)o.eachBefore(s);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,_=n/(c.x+f+h),v=e/(d.depth||1);o.eachBefore((function(t){t.x=(t.x+h)*_,t.y=t.depth*v}))}return o}function i(n){var e=n.children,r=n.parent.children,o=n.i?r[n.i-1]:null;if(e){ht(n);var i=(e[0].z+e[e.length-1].z)/2;o?(n.z=o.z+t(n._,o._),n.m=n.z-i):n.z=i}else o&&(n.z=o.z+t(n._,o._));n.parent.A=u(n,o,n.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function u(n,e,r){if(e){var o,i=n,a=n,u=e,s=i.parent.children[0],l=i.m,c=a.m,d=u.m,f=s.m;while(u=dt(u),i=ct(i),u&&i)s=ct(s),a=dt(a),a.a=n,o=u.z+d-i.z-l+t(u._,i._),o>0&&(ft(_t(u,n,r),n,o),l+=o,c+=o),d+=u.m,l+=i.m,f+=s.m,c+=a.m;u&&!dt(a)&&(a.t=u,a.m+=d-c),i&&!ct(s)&&(s.t=i,s.m+=l-f,r=n)}return r}function s(t){t.x*=n,t.y=t.depth*e}return o.separation=function(n){return arguments.length?(t=n,o):t},o.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],o):r?null:[n,e]},o.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],o):r?[n,e]:null},o}function mt(t,n,e,r,o){var i,a=t.children,u=-1,s=a.length,l=t.value&&(o-e)/t.value;while(++uf&&(f=u),p=c*c*v,h=Math.max(f/p,p/d),h>_){c-=u;break}_=h}g.push(a={value:c,dice:s1?n:1)},e}(yt);function wt(){var t=jt,n=!1,e=1,r=1,o=[0],i=K,a=K,u=K,s=K,l=K;function c(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(d),o=[0],n&&t.eachBefore(tt),t}function d(n){var e=o[n.depth],r=n.x0+e,c=n.y0+e,d=n.x1-e,f=n.y1-e;d=n-1){var s=u[t];return s.x0=r,s.y0=o,s.x1=i,void(s.y1=a)}var d=l[t],f=e/2+d,h=t+1,_=n-1;while(h<_){var v=h+_>>>1;l[v]a-o){var m=(r*g+i*p)/e;c(t,h,p,r,o,m,a),c(h,n,g,m,o,i,a)}else{var y=(o*g+a*p)/e;c(t,h,p,r,o,i,y),c(h,n,g,r,y,i,a)}}c(0,s,t.value,n,e,r,o)}function Et(t,n,e,r,o){(1&t.depth?mt:nt)(t,n,e,r,o)}var Mt=function t(n){function e(t,e,r,o,i){if((a=t._squarify)&&a.ratio===n){var a,u,s,l,c,d=-1,f=a.length,h=t.value;while(++d1?n:1)},e}(yt);t.cluster=s,t.hierarchy=w,t.pack=J,t.packEnclose=k,t.packSiblings=H,t.partition=et,t.stratify=st,t.tree=gt,t.treemap=wt,t.treemapBinary=xt,t.treemapDice=nt,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,n,e){(function(t,e){e(n)})(0,(function(t){"use strict";var n=Math.PI,e=2*n,r=1e-6,o=e-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,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,o,i){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,e,o,i,a){t=+t,e=+e,o=+o,i=+i,a=+a;var u=this._x1,s=this._y1,l=o-t,c=i-e,d=u-t,f=s-e,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=e);else if(h>r)if(Math.abs(f*l-c*d)>r&&a){var _=o-u,v=i-s,p=l*l+c*c,g=_*_+v*v,m=Math.sqrt(p),y=Math.sqrt(h),b=a*Math.tan((n-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)+","+(e+j*f)),this._+="A"+a+","+a+",0,0,"+ +(f*_>d*v)+","+(this._x1=t+w*l)+","+(this._y1=e+w*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,i,a,u,s,l){t=+t,i=+i,a=+a,l=!!l;var c=a*Math.cos(u),d=a*Math.sin(u),f=t+c,h=i+d,_=1^l,v=l?u-s:s-u;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%e+e),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>=n)+","+_+","+(this._x1=t+a*Math.cos(s))+","+(this._y1=i+a*Math.sin(s))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},t.path=a,Object.defineProperty(t,"__esModule",{value:!0})}))},"./node_modules/_d3-path@2.0.0@d3-path/dist/d3-path.js": /*!*************************************************************!*\ !*** ./node_modules/_d3-path@2.0.0@d3-path/dist/d3-path.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){(function(t,e){e(n)})(0,(function(t){"use strict";var n=Math.PI,e=2*n,r=1e-6,o=e-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,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,o,i){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,e,o,i,a){t=+t,e=+e,o=+o,i=+i,a=+a;var u=this._x1,s=this._y1,l=o-t,c=i-e,d=u-t,f=s-e,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=e);else if(h>r)if(Math.abs(f*l-c*d)>r&&a){var _=o-u,v=i-s,p=l*l+c*c,g=_*_+v*v,m=Math.sqrt(p),y=Math.sqrt(h),b=a*Math.tan((n-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)+","+(e+j*f)),this._+="A"+a+","+a+",0,0,"+ +(f*_>d*v)+","+(this._x1=t+w*l)+","+(this._y1=e+w*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,i,a,u,s,l){t=+t,i=+i,a=+a,l=!!l;var c=a*Math.cos(u),d=a*Math.sin(u),f=t+c,h=i+d,_=1^l,v=l?u-s:s-u;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%e+e),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>=n)+","+_+","+(this._x1=t+a*Math.cos(s))+","+(this._y1=i+a*Math.sin(s))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"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,n,e){var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js");(function(t,r){r(n,e(/*! d3-array */"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"),e(/*! d3-collection */"./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js"),e(/*! d3-shape */"./node_modules/_d3-shape@1.3.7@d3-shape/dist/d3-shape.js"))})(0,(function(t,n,e,o){"use strict";function i(t){return t.target.depth}function a(t){return t.depth}function u(t,n){return n-1-t.height}function s(t,n){return t.sourceLinks.length?t.depth:n-1}function l(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?n.min(t.sourceLinks,i)-1:0}function c(t){return function(){return t}}function d(t,n){return h(t.source,n.source)||t.index-n.index}function f(t,n){return h(t.target,n.target)||t.index-n.index}function h(t,n){return t.y0-n.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,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function y(){var t,o=0,i=0,a=1,u=1,l=24,y=8,b=v,j=s,w=p,x=g,E=6;function M(){var t={nodes:w.apply(null,arguments),links:x.apply(null,arguments)};return S(t),O(t),P(t),T(t),k(t),t}function S(t){t.nodes.forEach((function(t,n){t.index=n,t.sourceLinks=[],t.targetLinks=[]}));var n=e.map(t.nodes,b);t.links.forEach((function(t,e){t.index=e;var r=t.source,o=t.target;"object"!==typeof r&&(r=t.source=m(n,r)),"object"!==typeof o&&(o=t.target=m(n,o)),r.sourceLinks.push(t),o.targetLinks.push(t)}))}function O(t){t.nodes.forEach((function(t){t.value=Math.max(n.sum(t.sourceLinks,_),n.sum(t.targetLinks,_))}))}function P(t){var n,e,r,i=t.nodes.length;for(n=t.nodes,e=[],r=0;n.length;++r,n=e,e=[]){if(r>i)throw new Error("circular link");n.forEach((function(t){t.depth=r,t.sourceLinks.forEach((function(t){e.indexOf(t.target)<0&&e.push(t.target)}))}))}for(n=t.nodes,e=[],r=0;n.length;++r,n=e,e=[]){if(r>i)throw new Error("circular link");n.forEach((function(t){t.height=r,t.targetLinks.forEach((function(t){e.indexOf(t.source)<0&&e.push(t.source)}))}))}var u=(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))))*u)+l}))}function T(o){var a=e.nest().key((function(t){return t.x0})).sortKeys(n.ascending).entries(o.nodes).map((function(t){return t.values}));c(),g();for(var s=.9,l=E;l>0;--l,s*=.9)p(s),g(),v(s),g();function c(){var e=n.min(a,(function(t){return(u-i-(t.length-1)*y)/n.sum(t,_)}));a.forEach((function(n){null!=t&&n.sort(t),n.forEach((function(t,n){t.y1=(t.y0=n)+t.value*e}))})),o.links.forEach((function(t){t.width=t.value*e}))}function v(t){a.forEach((function(n){n.forEach((function(n){var e,o,i,a,u=n.y0;try{for(var s=r.__values(n.sourceLinks.sort(f)),l=s.next();!l.done;l=s.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===n)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=(u-v-d.y0)*t*(_/Math.min(n.value,d.value)),d.y0+=v,d.y1+=v}u+=h+y/2}}catch(x){e={error:x}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}}))}))}function p(t){a.slice().reverse().forEach((function(n){n.forEach((function(n){var e,o,i,a,u=n.y0;try{for(var s=r.__values(n.targetLinks.sort(d)),l=s.next();!l.done;l=s.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===n)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=(u-v-f.y0)*t*(_/Math.min(n.value,f.value)),f.y0+=v,f.y1+=v}u+=h+y/2}}catch(x){e={error:x}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(e)throw e.error}}}))}))}function g(){a.forEach((function(n){var e,r,o,a=i,s=n.length;for(void 0===t&&n.sort(h),o=0;o0&&(e.y0+=r,e.y1+=r),a=e.y1+y;if(r=a-y-u,r>0)for(a=e.y0-=r,e.y1-=r,o=s-2;o>=0;--o)e=n[o],r=e.y1+y-a,r>0&&(e.y0-=r,e.y1-=r),a=e.y0}))}}function k(t){t.nodes.forEach((function(t){t.sourceLinks.sort(f),t.targetLinks.sort(d)})),t.nodes.forEach((function(t){var n=t.y0,e=n;t.sourceLinks.forEach((function(t){t.y0=n+t.width/2,n+=t.width})),t.targetLinks.forEach((function(t){t.y1=e+t.width/2,e+=t.width}))}))}return M.update=function(t){return k(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(n){return arguments.length?(t=n,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],u=+t[1],M):[a-o,u-i]},M.extent=function(t){return arguments.length?(o=+t[0][0],a=+t[1][0],i=+t[0][1],u=+t[1][1],M):[[o,i],[a,u]]},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=u,t.sankeyJustify=s,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,n,e){(function(t,r){r(n,e(/*! d3-path */"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js"))})(0,(function(t,n){"use strict";function e(t){return function(){return t}}var r=Math.abs,o=Math.atan2,i=Math.cos,a=Math.max,u=Math.min,s=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,n,e,r,o,i,a,u){var s=e-t,l=r-n,d=a-o,f=u-i,h=f*s-d*l;if(!(h*hC*C+N*N&&(S=P,O=T),{cx:S,cy:O,x01:-f,y01:-h,x11:S*(o/x-1),y11:O*(o/x-1)}}function x(){var t=p,a=g,x=e(0),E=null,M=m,S=y,O=b,P=null;function T(){var e,p,g=+t.apply(this,arguments),m=+a.apply(this,arguments),y=M.apply(this,arguments)-f,b=S.apply(this,arguments)-f,T=r(b-y),k=b>y;if(P||(P=e=n.path()),mc)if(T>h-c)P.moveTo(m*i(y),m*s(y)),P.arc(0,0,m,y,b,!k),g>c&&(P.moveTo(g*i(b),g*s(b)),P.arc(0,0,g,b,y,k));else{var A,C,N=y,I=b,R=y,D=b,q=T,L=T,z=O.apply(this,arguments)/2,B=z>c&&(E?+E.apply(this,arguments):l(g*g+m*m)),F=u(r(m-g)/2,+x.apply(this,arguments)),G=F,V=F;if(B>c){var H=v(B/g*s(z)),U=v(B/m*s(z));(q-=2*H)>c?(H*=k?1:-1,R+=H,D-=H):(q=0,R=D=(y+b)/2),(L-=2*U)>c?(U*=k?1:-1,N+=U,I-=U):(L=0,N=I=(y+b)/2)}var W=m*i(N),K=m*s(N),Y=g*i(D),X=g*s(D);if(F>c){var J,$=m*i(I),Z=m*s(I),Q=g*i(R),tt=g*s(R);if(Tc?V>c?(A=w(Q,tt,W,K,m,V,k),C=w($,Z,Y,X,m,V,k),P.moveTo(A.cx+A.x01,A.cy+A.y01),Vc&&q>c?G>c?(A=w(Y,X,$,Z,g,-G,k),C=w(W,K,Q,tt,g,-G,k),P.lineTo(A.cx+A.x01,A.cy+A.y01),G=d;--f)l.point(g[f],m[f]);l.lineEnd(),l.areaEnd()}p&&(g[c]=+t(h,c,e),m[c]=+o(h,c,e),l.point(r?+r(h,c,e):g[c],i?+i(h,c,e):m[c]))}if(_)return l=null,_+""||null}function d(){return P().defined(a).curve(s).context(u)}return c.x=function(n){return arguments.length?(t="function"===typeof n?n:e(+n),r=null,c):t},c.x0=function(n){return arguments.length?(t="function"===typeof n?n:e(+n),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"===typeof t?t:e(+t),c):r},c.y=function(t){return arguments.length?(o="function"===typeof t?t:e(+t),i=null,c):o},c.y0=function(t){return arguments.length?(o="function"===typeof t?t:e(+t),c):o},c.y1=function(t){return arguments.length?(i=null==t?null:"function"===typeof t?t:e(+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:e(!!t),c):a},c.curve=function(t){return arguments.length?(s=t,null!=u&&(l=s(u)),c):s},c.context=function(t){return arguments.length?(null==t?u=l=null:l=s(u=t),c):u},c}function k(t,n){return nt?1:n>=t?0:NaN}function A(t){return t}function C(){var t=A,n=k,r=null,o=e(0),i=e(h),a=e(0);function u(e){var u,s,l,c,d,f=e.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(u=0;u0&&(_+=d);for(null!=n?v.sort((function(t,e){return n(p[t],p[e])})):null!=r&&v.sort((function(t,n){return r(e[t],e[n])})),u=0,l=_?(m-f*b)/_:0;u0?d*l:0)+b,p[s]={data:e[s],index:u,value:d,startAngle:g,endAngle:c,padAngle:y};return p}return u.value=function(n){return arguments.length?(t="function"===typeof n?n:e(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,r=null,u):n},u.sort=function(t){return arguments.length?(r=t,n=null,u):r},u.startAngle=function(t){return arguments.length?(o="function"===typeof t?t:e(+t),u):o},u.endAngle=function(t){return arguments.length?(i="function"===typeof t?t:e(+t),u):i},u.padAngle=function(t){return arguments.length?(a="function"===typeof t?t:e(+t),u):a},u}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,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n);break}}};var N=R(M);function I(t){this._curve=t}function R(t){function n(n){return new I(t(n))}return n._curve=t,n}function D(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(R(t)):n()._curve},t}function q(){return D(P().curve(N))}function L(){var t=T().curve(N),n=t.curve,e=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(e())},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?n(R(t)):n()._curve},t}function z(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*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,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var B=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=O,u=null;function s(){var e,s=B.call(arguments),l=r.apply(this,s),c=o.apply(this,s);if(u||(u=e=n.path()),t(u,+i.apply(this,(s[0]=l,s)),+a.apply(this,s),+i.apply(this,(s[0]=c,s)),+a.apply(this,s)),e)return u=null,e+""||null}return s.source=function(t){return arguments.length?(r=t,s):r},s.target=function(t){return arguments.length?(o=t,s):o},s.x=function(t){return arguments.length?(i="function"===typeof t?t:e(+t),s):i},s.y=function(t){return arguments.length?(a="function"===typeof t?t:e(+t),s):a},s.context=function(t){return arguments.length?(u=null==t?null:t,s):u},s}function H(t,n,e,r,o){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,o,r,o)}function U(t,n,e,r,o){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+o)/2,r,e,r,o)}function W(t,n,e,r,o){var i=z(n,e),a=z(n,e=(e+o)/2),u=z(r,e),s=z(r,o);t.moveTo(i[0],i[1]),t.bezierCurveTo(a[0],a[1],u[0],u[1],s[0],s[1])}function K(){return V(H)}function Y(){return V(U)}function X(){var t=V(W);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var J={draw:function(t,n){var e=Math.sqrt(n/d);t.moveTo(e,0),t.arc(0,0,e,0,h)}},$={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}},Z=Math.sqrt(1/3),Q=2*Z,tt={draw:function(t,n){var e=Math.sqrt(n/Q),r=e*Z;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},nt=.8908130915292852,et=Math.sin(d/10)/Math.sin(7*d/10),rt=Math.sin(h/10)*et,ot=-Math.cos(h/10)*et,it={draw:function(t,n){var e=Math.sqrt(n*nt),r=rt*e,o=ot*e;t.moveTo(0,-e),t.lineTo(r,o);for(var i=1;i<5;++i){var a=h*i/5,u=Math.cos(a),s=Math.sin(a);t.lineTo(s*e,-u*e),t.lineTo(u*r-s*o,s*r+u*o)}t.closePath()}},at={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},ut=Math.sqrt(3),st={draw:function(t,n){var e=-Math.sqrt(n/(3*ut));t.moveTo(0,2*e),t.lineTo(-ut*e,-e),t.lineTo(ut*e,-e),t.closePath()}},lt=-.5,ct=Math.sqrt(3)/2,dt=1/Math.sqrt(12),ft=3*(dt/2+1),ht={draw:function(t,n){var e=Math.sqrt(n/ft),r=e/2,o=e*dt,i=r,a=e*dt+e,u=-i,s=a;t.moveTo(r,o),t.lineTo(i,a),t.lineTo(u,s),t.lineTo(lt*r-ct*o,ct*r+lt*o),t.lineTo(lt*i-ct*a,ct*i+lt*a),t.lineTo(lt*u-ct*s,ct*u+lt*s),t.lineTo(lt*r+ct*o,lt*o-ct*r),t.lineTo(lt*i+ct*a,lt*a-ct*i),t.lineTo(lt*u+ct*s,lt*s-ct*u),t.closePath()}},_t=[J,$,tt,at,it,st,ht];function vt(){var t=e(J),r=e(64),o=null;function i(){var e;if(o||(o=e=n.path()),t.apply(this,arguments).draw(o,+r.apply(this,arguments)),e)return o=null,e+""||null}return i.type=function(n){return arguments.length?(t="function"===typeof n?n:e(n),i):t},i.size=function(t){return arguments.length?(r="function"===typeof t?t:e(+t),i):r},i.context=function(t){return arguments.length?(o=null==t?null:t,i):o},i}function pt(){}function gt(t,n,e){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+n)/6,(t._y0+4*t._y1+e)/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,n){this._basis=new mt(t),this._beta=n}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,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);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,n);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},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,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:gt(this,t,n);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},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,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:gt(this,t,n);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}},Et.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0){var r,o=t[0],i=n[0],a=t[e]-o,u=n[e]-i,s=-1;while(++s<=e)r=s/e,this._basis.point(this._beta*t[s]+(1-this._beta)*(o+r*a),this._beta*n[s]+(1-this._beta)*(i+r*u))}this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Mt=function t(n){function e(t){return 1===n?new mt(t):new Et(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function St(t,n,e){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-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Ot(t,n){this._context=t,this._k=(1-n)/6}Ot.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,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:St(this,t,n);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Pt=function t(n){function e(t){return new Ot(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Tt(t,n){this._context=t,this._k=(1-n)/6}Tt.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,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:St(this,t,n);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var kt=function t(n){function e(t){return new Tt(t,n)}return e.tension=function(n){return t(+n)},e}(0);function At(t,n){this._context=t,this._k=(1-n)/6}At.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,n){switch(t=+t,n=+n,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,n);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ct=function t(n){function e(t){return new At(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Nt(t,n,e){var r=t._x1,o=t._y1,i=t._x2,a=t._y2;if(t._l01_a>c){var u=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*u-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*u-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}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-n*t._l12_2a)/d,a=(a*l+t._y1*t._l23_2a-e*t._l12_2a)/d}t._context.bezierCurveTo(r,o,i,a,t._x2,t._y2)}function It(t,n){this._context=t,this._alpha=n}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,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:Nt(this,t,n);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=n}};var Rt=function t(n){function e(t){return n?new It(t,n):new Ot(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Dt(t,n){this._context=t,this._alpha=n}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,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Nt(this,t,n);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=n}};var qt=function t(n){function e(t){return n?new Dt(t,n):new Tt(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Lt(t,n){this._context=t,this._alpha=n}Lt.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,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+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,n);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=n}};var zt=function t(n){function e(t){return n?new Lt(t,n):new At(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Bt(t){this._context=t}function Ft(t){return new Bt(t)}function Gt(t){return t<0?-1:1}function Vt(t,n,e){var r=t._x1-t._x0,o=n-t._x1,i=(t._y1-t._y0)/(r||o<0&&-0),a=(e-t._y1)/(o||r<0&&-0),u=(i*o+a*r)/(r+o);return(Gt(i)+Gt(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(u))||0}function Ht(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ut(t,n,e){var r=t._x0,o=t._y0,i=t._x1,a=t._y1,u=(i-r)/3;t._context.bezierCurveTo(r+u,o+u*n,i-u,a-u*e,i,a)}function Wt(t){this._context=t}function Kt(t){this._context=new Yt(t)}function Yt(t){this._context=t}function Xt(t){return new Wt(t)}function Jt(t){return new Kt(t)}function $t(t){this._context=t}function Zt(t){var n,e,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],n=1;n=0;--n)o[n]=(a[n]-o[n+1])/i[n];for(i[r-1]=(t[r]+o[r-1])/2,n=0;n1)for(var e,r,o,i=1,a=t[n[0]],u=a.length;i=0)e[n]=n;return e}function un(t,n){return t[n]}function sn(){var t=e([]),n=an,r=on,o=un;function i(e){var i,a,u=t.apply(this,arguments),s=e.length,l=u.length,c=new Array(l);for(i=0;i0){for(var e,r,o,i=0,a=t[0].length;i0)for(var e,r,o,i,a,u,s=0,l=t[n[0]].length;s0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)}function dn(t,n){if((e=t.length)>0){for(var e,r=0,o=t[n[0]],i=o.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,o,i=0,a=1;ai&&(i=n,r=e);return r}function vn(t){var n=t.map(pn);return an(t).sort((function(t,e){return n[t]-n[e]}))}function pn(t){var n,e=0,r=-1,o=t.length;while(++r=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}break}this._x=t,this._y=n}},t.arc=x,t.area=T,t.areaRadial=L,t.curveBasis=yt,t.curveBasisClosed=jt,t.curveBasisOpen=xt,t.curveBundle=Mt,t.curveCardinal=Pt,t.curveCardinalClosed=kt,t.curveCardinalOpen=Ct,t.curveCatmullRom=Rt,t.curveCatmullRomClosed=qt,t.curveCatmullRomOpen=zt,t.curveLinear=M,t.curveLinearClosed=Ft,t.curveMonotoneX=Xt,t.curveMonotoneY=Jt,t.curveNatural=Qt,t.curveStep=nn,t.curveStepAfter=rn,t.curveStepBefore=en,t.line=P,t.lineRadial=q,t.linkHorizontal=K,t.linkRadial=X,t.linkVertical=Y,t.pie=C,t.pointRadial=z,t.radialArea=L,t.radialLine=q,t.stack=sn,t.stackOffsetDiverging=cn,t.stackOffsetExpand=ln,t.stackOffsetNone=on,t.stackOffsetSilhouette=dn,t.stackOffsetWiggle=fn,t.stackOrderAppearance=hn,t.stackOrderAscending=vn,t.stackOrderDescending=gn,t.stackOrderInsideOut=mn,t.stackOrderNone=an,t.stackOrderReverse=yn,t.symbol=vt,t.symbolCircle=J,t.symbolCross=$,t.symbolDiamond=tt,t.symbolSquare=at,t.symbolStar=it,t.symbolTriangle=st,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,n,e){(function(t,e){e(n)})(0,(function(t){"use strict";function n(t){return function(){return t}}function e(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,n){var e=n,r=n.R,o=e.U;o?o.L===e?o.L=r:o.R=r:t._=r,r.U=o,e.U=r,e.R=r.L,e.R&&(e.R.U=e),r.L=e}function u(t,n){var e=n,r=n.L,o=e.U;o?o.L===e?o.L=r:o.R=r:t._=r,r.U=o,e.U=r,e.L=r.R,e.L&&(e.L.U=e),r.R=e}function s(t){while(t.L)t=t.L;return t}function l(t,n,e,r){var o=[null,null],i=q.push(o)-1;return o.left=t,o.right=n,e&&d(o,t,n,e),r&&d(o,n,t,r),R[t.index].halfedges.push(i),R[n.index].halfedges.push(i),o}function c(t,n,e){var r=[n,e];return r.left=t,r}function d(t,n,e,r){t[0]||t[1]?t.left===e?t[1]=r:t[0]=r:(t[0]=r,t.left=n,t.right=e)}function f(t,n,e,r,o){var i,a=t[0],u=t[1],s=a[0],l=a[1],c=u[0],d=u[1],f=0,h=1,_=c-s,v=d-l;if(i=n-s,_||!(i>0)){if(i/=_,_<0){if(i0){if(i>h)return;i>f&&(f=i)}if(i=r-s,_||!(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]=[s+f*_,l+f*v]),h<1&&(t[1]=[s+h*_,l+h*v]),!0)}}}}}function h(t,n,e,r,o){var i=t[1];if(i)return!0;var a,u,s=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(s){if(s[1]>=o)return}else s=[v,e];i=[v,o]}else{if(s){if(s[1]1)if(d>h){if(s){if(s[1]>=o)return}else s=[(e-u)/a,e];i=[(o-u)/a,o]}else{if(s){if(s[1]=r)return}else s=[n,a*n+u];i=[r,a*r+u]}else{if(s){if(s[0]L||Math.abs(o[0][1]-o[1][1])>L)||delete q[i]}function v(t){return R[t.index]={site:t,halfedges:[]}}function p(t,n){var e=t.site,r=n.left,o=n.right;return e===o&&(o=r,r=e),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(e===r?(r=n[1],o=n[0]):(r=n[0],o=n[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function g(t,n){return n[+(n.left!==t.site)]}function m(t,n){return n[+(n.left===t.site)]}function y(){for(var t,n,e,r,o=0,i=R.length;oL||Math.abs(p-h)>L)&&(s.splice(u,0,q.push(c(a,_,Math.abs(v-t)L?[t,Math.abs(f-t)L?[Math.abs(h-r)L?[e,Math.abs(f-e)L?[Math.abs(h-n)=-z)){var h=s*s+l*l,_=c*c+d*d,v=(d*h-l*_)/f,p=(s*_-c*h)/f,g=w.pop()||new x;g.arc=t,g.site=o,g.x=v+a,g.y=(g.cy=p+u)+Math.sqrt(v*v+p*p),t.circle=g;var m=null,y=D._;while(y)if(g.yL)u=u.L;else{if(o=i-N(u,a),!(o>L)){r>-L?(n=u.P,e=u):o>-L?(n=u,e=u.N):n=e=u;break}if(!u.R){n=u;break}u=u.R}v(t);var s=P(t);if(I.insert(n,s),n||e){if(n===e)return M(n),e=P(n.site),I.insert(s,e),s.edge=e.edge=l(n.site,s.site),E(n),void E(e);if(e){M(n),M(e);var c=n.site,f=c[0],h=c[1],_=t[0]-f,p=t[1]-h,g=e.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(e.edge,c,g,x),s.edge=l(c,t,null,x),e.edge=l(t,g,null,x),E(n),E(e)}else s.edge=l(n.site,s.site)}}function C(t,n){var e=t.site,r=e[0],o=e[1],i=o-n;if(!i)return r;var a=t.P;if(!a)return-1/0;e=a.site;var u=e[0],s=e[1],l=s-n;if(!l)return u;var c=u-r,d=1/i-1/l,f=c/l;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*l)-s+l/2+o-i/2)))/d+r:(r+u)/2}function N(t,n){var e=t.N;if(e)return C(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var I,R,D,q,L=1e-6,z=1e-12;function B(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function F(t,n){return n[1]-t[1]||n[0]-t[0]}function G(t,n){var e,r,i,a=t.sort(F).pop();q=[],R=new Array(t.length),I=new o,D=new o;while(1)if(i=j,a&&(!i||a[1]=u)return null;var s=t-o.site[0],l=n-o.site[1],c=s*s+l*l;do{o=i.cells[r=a],a=null,o.halfedges.forEach((function(e){var r=i.edges[e],u=r.left;if(u!==o.site&&u||(u=r.right)){var s=t-u[0],l=n-u[1],d=s*s+l*l;d0;--u)if(r=n[u].dequeue(),r){o=o.concat(l(t,n,e,r,!0));break}}return o}function l(t,n,e,o,i){var a=i?[]:void 0;return r.forEach(t.inEdges(o.v),(function(r){var o=t.edge(r),u=t.node(r.v);i&&a.push({v:r.v,w:r.w}),u.out-=o,d(n,e,u)})),r.forEach(t.outEdges(o.v),(function(r){var o=t.edge(r),i=r.w,a=t.node(i);a["in"]-=o,d(n,e,a)})),t.removeNode(o.v),a}function c(t,n){var e=new o,a=0,u=0;r.forEach(t.nodes(),(function(t){e.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=e.edge(t.v,t.w)||0,o=n(t),i=r+o;e.setEdge(t.v,t.w,i),u=Math.max(u,e.node(t.v).out+=o),a=Math.max(a,e.node(t.w)["in"]+=o)}));var s=r.range(u+a+3).map((function(){return new i})),l=a+1;return r.forEach(e.nodes(),(function(t){d(s,l,e.node(t))})),{graph:e,buckets:s,zeroIdx:l}}function d(t,n,e){e.out?e["in"]?t[e.out-e["in"]+n].enqueue(e):t[t.length-1].enqueue(e):t[0].enqueue(e)}},"./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,n,e){"use strict";var r=e(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ./acyclic */"./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js"),i=e(/*! ./normalize */"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js"),a=e(/*! ./rank */"./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js"),u=e(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").normalizeRanks,s=e(/*! ./parent-dummy-chains */"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js"),l=e(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js").removeEmptyRanks,c=e(/*! ./nesting-graph */"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js"),d=e(/*! ./add-border-segments */"./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js"),f=e(/*! ./coordinate-system */"./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js"),h=e(/*! ./order */"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js"),_=e(/*! ./position */"./node_modules/_dagre@0.8.5@dagre/lib/position/index.js"),v=e(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js"),p=e(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function g(t,n){var e=n&&n.debugTiming?v.time:v.notime;e("layout",(function(){var n=e(" buildLayoutGraph",(function(){return P(t)}));e(" runLayout",(function(){m(n,e)})),e(" updateInputGraph",(function(){y(t,n)}))}))}function m(t,n){n(" makeSpaceForEdgeLabels",(function(){T(t)})),n(" removeSelfEdges",(function(){L(t)})),n(" acyclic",(function(){o.run(t)})),n(" nestingGraph.run",(function(){c.run(t)})),n(" rank",(function(){a(v.asNonCompoundGraph(t))})),n(" injectEdgeLabelProxies",(function(){k(t)})),n(" removeEmptyRanks",(function(){l(t)})),n(" nestingGraph.cleanup",(function(){c.cleanup(t)})),n(" normalizeRanks",(function(){u(t)})),n(" assignRankMinMax",(function(){A(t)})),n(" removeEdgeLabelProxies",(function(){C(t)})),n(" normalize.run",(function(){i.run(t)})),n(" parentDummyChains",(function(){s(t)})),n(" addBorderSegments",(function(){d(t)})),n(" order",(function(){h(t)})),n(" insertSelfEdges",(function(){z(t)})),n(" adjustCoordinateSystem",(function(){f.adjust(t)})),n(" position",(function(){_(t)})),n(" positionSelfEdges",(function(){B(t)})),n(" removeBorderNodes",(function(){q(t)})),n(" normalize.undo",(function(){i.undo(t)})),n(" fixupEdgeLabelCoords",(function(){R(t)})),n(" undoCoordinateSystem",(function(){f.undo(t)})),n(" translateGraph",(function(){N(t)})),n(" assignNodeIntersects",(function(){I(t)})),n(" reversePoints",(function(){D(t)})),n(" acyclic.undo",(function(){o.undo(t)}))}function y(t,n){r.forEach(t.nodes(),(function(e){var r=t.node(e),o=n.node(e);r&&(r.x=o.x,r.y=o.y,n.children(e).length&&(r.width=o.width,r.height=o.height))})),r.forEach(t.edges(),(function(e){var o=t.edge(e),i=n.edge(e);o.points=i.points,r.has(i,"x")&&(o.x=i.x,o.y=i.y)})),t.graph().width=n.graph().width,t.graph().height=n.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"},O=["labelpos"];function P(t){var n=new p({multigraph:!0,compound:!0}),e=G(t.graph());return n.setGraph(r.merge({},j,F(e,b),r.pick(e,w))),r.forEach(t.nodes(),(function(e){var o=G(t.node(e));n.setNode(e,r.defaults(F(o,x),E)),n.setParent(e,t.parent(e))})),r.forEach(t.edges(),(function(e){var o=G(t.edge(e));n.setEdge(e,r.merge({},S,F(o,M),r.pick(o,O)))})),n}function T(t){var n=t.graph();n.ranksep/=2,r.forEach(t.edges(),(function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}function k(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.width&&e.height){var r=t.node(n.v),o=t.node(n.w),i={rank:(o.rank-r.rank)/2+r.rank,e:n};v.addDummyNode(t,"edge-proxy",i,"_ep")}}))}function A(t){var n=0;r.forEach(t.nodes(),(function(e){var o=t.node(e);o.borderTop&&(o.minRank=t.node(o.borderTop).rank,o.maxRank=t.node(o.borderBottom).rank,n=r.max(n,o.maxRank))})),t.graph().maxRank=n}function C(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);"edge-proxy"===e.dummy&&(t.edge(e.e).labelRank=e.rank,t.removeNode(n))}))}function N(t){var n=Number.POSITIVE_INFINITY,e=0,o=Number.POSITIVE_INFINITY,i=0,a=t.graph(),u=a.marginx||0,s=a.marginy||0;function l(t){var r=t.x,a=t.y,u=t.width,s=t.height;n=Math.min(n,r-u/2),e=Math.max(e,r+u/2),o=Math.min(o,a-s/2),i=Math.max(i,a+s/2)}r.forEach(t.nodes(),(function(n){l(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.has(e,"x")&&l(e)})),n-=u,o-=s,r.forEach(t.nodes(),(function(e){var r=t.node(e);r.x-=n,r.y-=o})),r.forEach(t.edges(),(function(e){var i=t.edge(e);r.forEach(i.points,(function(t){t.x-=n,t.y-=o})),r.has(i,"x")&&(i.x-=n),r.has(i,"y")&&(i.y-=o)})),a.width=e-n+u,a.height=i-o+s}function I(t){r.forEach(t.edges(),(function(n){var e,r,o=t.edge(n),i=t.node(n.v),a=t.node(n.w);o.points?(e=o.points[0],r=o.points[o.points.length-1]):(o.points=[],e=a,r=i),o.points.unshift(v.intersectRect(i,e)),o.points.push(v.intersectRect(a,r))}))}function R(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(r.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset;break}}))}function D(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);e.reversed&&e.points.reverse()}))}function q(t){r.forEach(t.nodes(),(function(n){if(t.children(n).length){var e=t.node(n),o=t.node(e.borderTop),i=t.node(e.borderBottom),a=t.node(r.last(e.borderLeft)),u=t.node(r.last(e.borderRight));e.width=Math.abs(u.x-a.x),e.height=Math.abs(i.y-o.y),e.x=a.x+e.width/2,e.y=o.y+e.height/2}})),r.forEach(t.nodes(),(function(n){"border"===t.node(n).dummy&&t.removeNode(n)}))}function L(t){r.forEach(t.edges(),(function(n){if(n.v===n.w){var e=t.node(n.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:n,label:t.edge(n)}),t.removeEdge(n)}}))}function z(t){var n=v.buildLayerMatrix(t);r.forEach(n,(function(n){var e=0;r.forEach(n,(function(n,o){var i=t.node(n);i.order=o+e,r.forEach(i.selfEdges,(function(n){v.addDummyNode(t,"selfedge",{width:n.label.width,height:n.label.height,rank:i.rank,order:o+ ++e,e:n.e,label:n.label},"_se")})),delete i.selfEdges}))}))}function B(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);if("selfedge"===e.dummy){var r=t.node(e.e.v),o=r.x+r.width/2,i=r.y,a=e.x-o,u=r.height/2;t.setEdge(e.e,e.label),t.removeNode(n),e.label.points=[{x:o+2*a/3,y:i-u},{x:o+5*a/6,y:i-u},{x:o+a,y:i},{x:o+5*a/6,y:i+u},{x:o+2*a/3,y:i+u}],e.label.x=e.x,e.label.y=e.y}}))}function F(t,n){return r.mapValues(r.pick(t,n),Number)}function G(t){var n={};return r.forEach(t,(function(t,e){n[e.toLowerCase()]=t})),n}},"./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,n,e){var r;try{r={cloneDeep:e(/*! lodash/cloneDeep */"./node_modules/_lodash@4.17.20@lodash/cloneDeep.js"),constant:e(/*! lodash/constant */"./node_modules/_lodash@4.17.20@lodash/constant.js"),defaults:e(/*! lodash/defaults */"./node_modules/_lodash@4.17.20@lodash/defaults.js"),each:e(/*! lodash/each */"./node_modules/_lodash@4.17.20@lodash/each.js"),filter:e(/*! lodash/filter */"./node_modules/_lodash@4.17.20@lodash/filter.js"),find:e(/*! lodash/find */"./node_modules/_lodash@4.17.20@lodash/find.js"),flatten:e(/*! lodash/flatten */"./node_modules/_lodash@4.17.20@lodash/flatten.js"),forEach:e(/*! lodash/forEach */"./node_modules/_lodash@4.17.20@lodash/forEach.js"),forIn:e(/*! lodash/forIn */"./node_modules/_lodash@4.17.20@lodash/forIn.js"),has:e(/*! lodash/has */"./node_modules/_lodash@4.17.20@lodash/has.js"),isUndefined:e(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.20@lodash/isUndefined.js"),last:e(/*! lodash/last */"./node_modules/_lodash@4.17.20@lodash/last.js"),map:e(/*! lodash/map */"./node_modules/_lodash@4.17.20@lodash/map.js"),mapValues:e(/*! lodash/mapValues */"./node_modules/_lodash@4.17.20@lodash/mapValues.js"),max:e(/*! lodash/max */"./node_modules/_lodash@4.17.20@lodash/max.js"),merge:e(/*! lodash/merge */"./node_modules/_lodash@4.17.20@lodash/merge.js"),min:e(/*! lodash/min */"./node_modules/_lodash@4.17.20@lodash/min.js"),minBy:e(/*! lodash/minBy */"./node_modules/_lodash@4.17.20@lodash/minBy.js"),now:e(/*! lodash/now */"./node_modules/_lodash@4.17.20@lodash/now.js"),pick:e(/*! lodash/pick */"./node_modules/_lodash@4.17.20@lodash/pick.js"),range:e(/*! lodash/range */"./node_modules/_lodash@4.17.20@lodash/range.js"),reduce:e(/*! lodash/reduce */"./node_modules/_lodash@4.17.20@lodash/reduce.js"),sortBy:e(/*! lodash/sortBy */"./node_modules/_lodash@4.17.20@lodash/sortBy.js"),uniqueId:e(/*! lodash/uniqueId */"./node_modules/_lodash@4.17.20@lodash/uniqueId.js"),values:e(/*! lodash/values */"./node_modules/_lodash@4.17.20@lodash/values.js"),zipObject:e(/*! lodash/zipObject */"./node_modules/_lodash@4.17.20@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,n,e){var r=e(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t){var n=o.addDummyNode(t,"root",{},"_root"),e=u(t),i=r.max(r.values(e))-1,l=2*i+1;t.graph().nestingRoot=n,r.forEach(t.edges(),(function(n){t.edge(n).minlen*=l}));var c=s(t)+1;r.forEach(t.children(),(function(r){a(t,n,l,c,i,e,r)})),t.graph().nodeRankFactor=l}function a(t,n,e,i,u,s,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,n,e,i,u,s,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:u-s[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(n,d,{weight:0,minlen:u+s[l]})}else l!==n&&t.setEdge(n,l,{weight:0,minlen:e})}function u(t){var n={};function e(o,i){var a=t.children(o);a&&a.length&&r.forEach(a,(function(t){e(t,i+1)})),n[o]=i}return r.forEach(t.children(),(function(t){e(t,1)})),n}function s(t){return r.reduce(t.edges(),(function(n,e){return n+t.edge(e).weight}),0)}function l(t){var n=t.graph();t.removeNode(n.nestingRoot),delete n.nestingRoot,r.forEach(t.edges(),(function(n){var e=t.edge(n);e.nestingEdge&&t.removeEdge(n)}))}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,n,e){"use strict";var r=e(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ./util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(n){a(t,n)}))}function a(t,n){var e=n.v,r=t.node(e).rank,i=n.w,a=t.node(i).rank,u=n.name,s=t.edge(n),l=s.labelRank;if(a!==r+1){var c,d,f;for(t.removeEdge(n),f=0,++r;r0)n%2&&(e+=s[n+1]),n=n-1>>1,s[n]+=t.weight;l+=t.weight*e}))),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,n,e){"use strict";var r=e(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ./init-order */"./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js"),i=e(/*! ./cross-count */"./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js"),a=e(/*! ./sort-subgraph */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js"),u=e(/*! ./build-layer-graph */"./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js"),s=e(/*! ./add-subgraph-constraints */"./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js"),l=e(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,c=e(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function d(t){var n=c.maxRank(t),e=f(t,r.range(1,n+1),"inEdges"),a=f(t,r.range(n-1,-1,-1),"outEdges"),u=o(t);_(t,u);for(var s,l=Number.POSITIVE_INFINITY,d=0,v=0;v<4;++d,++v){h(d%2?e:a,d%4>=2),u=c.buildLayerMatrix(t);var p=i(t,u);p=t.barycenter)&&a(t,n)}}function o(n){return function(e){e["in"].push(n),0===--e.indegree&&t.push(e)}}while(t.length){var i=t.pop();n.push(i),r.forEach(i["in"].reverse(),e(i)),r.forEach(i.out,o(i))}return r.map(r.filter(n,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}function a(t,n){var e=0,r=0;t.weight&&(e+=t.barycenter*t.weight,r+=t.weight),n.weight&&(e+=n.barycenter*n.weight,r+=n.weight),t.vs=n.vs.concat(t.vs),t.barycenter=e/r,t.weight=r,t.i=Math.min(n.i,t.i),n.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,n,e){var r=e(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ./barycenter */"./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js"),i=e(/*! ./resolve-conflicts */"./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js"),a=e(/*! ./sort */"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js");function u(t,n,e,c){var d=t.children(n),f=t.node(n),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(n){if(t.children(n.v).length){var o=u(t,n.v,e,c);v[n.v]=o,r.has(o,"barycenter")&&l(n,o)}}));var g=i(p,e);s(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 s(t,n){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return n[t]?n[t].vs:t})),!0)}))}function l(t,n){r.isUndefined(t.barycenter)?(t.barycenter=n.barycenter,t.weight=n.weight):(t.barycenter=(t.barycenter*t.weight+n.barycenter*n.weight)/(t.weight+n.weight),t.weight+=n.weight)}t.exports=u},"./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,n,e){var r=e(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t,n){var e=o.partition(t,(function(t){return r.has(t,"barycenter")})),i=e.lhs,s=r.sortBy(e.rhs,(function(t){return-t.i})),l=[],c=0,d=0,f=0;i.sort(u(!!n)),f=a(l,s,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,s,f)}));var h={vs:r.flatten(l,!0)};return d&&(h.barycenter=c/d,h.weight=d),h}function a(t,n,e){var o;while(n.length&&(o=r.last(n)).i<=e)n.pop(),t.push(o.vs),e++;return e}function u(t){return function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.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,n,e){var r=e(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(t){var n=a(t);r.forEach(t.graph().dummyChains,(function(e){var r=t.node(e),o=r.edgeObj,a=i(t,n,o.v,o.w),u=a.path,s=a.lca,l=0,c=u[l],d=!0;while(e!==o.w){if(r=t.node(e),d){while((c=u[l])!==s&&t.node(c).maxRanks||l>n[o].lim));i=o,o=r;while((o=t.parent(o))!==i)u.push(o);return{path:a.concat(u.reverse()),lca:i}}function a(t){var n={},e=0;function o(i){var a=e;r.forEach(t.children(i),o),n[i]={low:a,lim:e++}}return r.forEach(t.children(),o),n}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,n,e){"use strict";var r=e(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ../graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,i=e(/*! ../util */"./node_modules/_dagre@0.8.5@dagre/lib/util.js");function a(t,n){var e={};function o(n,o){var i=0,a=0,u=n.length,c=r.last(o);return r.forEach(o,(function(n,d){var f=s(t,n),h=f?t.node(f).order:u;(f||n===c)&&(r.forEach(o.slice(a,d+1),(function(n){r.forEach(t.predecessors(n),(function(r){var o=t.node(r),a=o.order;!(au)&&l(e,n,s)}))}))}function i(n,e){var i,a=-1,u=0;return r.forEach(e,(function(r,s){if("border"===t.node(r).dummy){var l=t.predecessors(r);l.length&&(i=t.node(l[0]).order,o(e,u,s,a,i),u=s,a=i)}o(e,u,e.length,i,n.length)})),e}return r.reduce(n,i),e}function s(t,n){if(t.node(n).dummy)return r.find(t.predecessors(n),(function(n){return t.node(n).dummy}))}function l(t,n,e){if(n>e){var r=n;n=e,e=r}var o=t[n];o||(t[n]=o={}),o[e]=!0}function c(t,n,e){if(n>e){var o=n;n=e,e=o}return r.has(t[n],e)}function d(t,n,e,o){var i={},a={},u={};return r.forEach(n,(function(t){r.forEach(t,(function(t,n){i[t]=t,a[t]=t,u[t]=n}))})),r.forEach(n,(function(t){var n=-1;r.forEach(t,(function(t){var s=o(t);if(s.length){s=r.sortBy(s,(function(t){return u[t]}));for(var l=(s.length-1)/2,d=Math.floor(l),f=Math.ceil(l);d<=f;++d){var h=s[d];a[t]===t&&ns.lim&&(l=s,c=!0);var d=r.filter(n.edges(),(function(n){return c===j(t,t.node(n.v),l)&&c!==j(t,t.node(n.w),l)}));return r.minBy(d,(function(t){return i(n,t)}))}function m(t,n,e,r){var o=e.v,i=e.w;t.removeEdge(o,i),t.setEdge(r.v,r.w,{}),_(t),d(t,n),y(t,n)}function y(t,n){var e=r.find(t.nodes(),(function(t){return!n.node(t).parent})),o=u(t,e);o=o.slice(1),r.forEach(o,(function(e){var r=t.node(e).parent,o=n.edge(e,r),i=!1;o||(o=n.edge(r,e),i=!0),n.node(e).rank=n.node(r).rank+(i?o.minlen:-o.minlen)}))}function b(t,n,e){return t.hasEdge(n,e)}function j(t,n,e){return e.low<=n.lim&&n.lim<=e.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,n,e){"use strict";var r=e(/*! ../lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(t){var n={};function e(o){var i=t.node(o);if(r.has(n,o))return i.rank;n[o]=!0;var a=r.min(r.map(t.outEdges(o),(function(n){return e(n.w)-t.edge(n).minlen})));return a!==Number.POSITIVE_INFINITY&&void 0!==a&&null!==a||(a=0),i.rank=a}r.forEach(t.sources(),e)}function i(t,n){return t.node(n.w).rank-t.node(n.v).rank-t.edge(n).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,n,e){"use strict";var r=e(/*! ./lodash */"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=e(/*! ./graphlib */"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function i(t,n,e,o){var i;do{i=r.uniqueId(o)}while(t.hasNode(i));return e.dummy=n,t.setNode(i,e),i}function a(t){var n=(new o).setGraph(t.graph());return r.forEach(t.nodes(),(function(e){n.setNode(e,t.node(e))})),r.forEach(t.edges(),(function(e){var r=n.edge(e.v,e.w)||{weight:0,minlen:1},o=t.edge(e);n.setEdge(e.v,e.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})})),n}function u(t){var n=new o({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),(function(e){t.children(e).length||n.setNode(e,t.node(e))})),r.forEach(t.edges(),(function(e){n.setEdge(e,t.edge(e))})),n}function s(t){var n=r.map(t.nodes(),(function(n){var e={};return r.forEach(t.outEdges(n),(function(n){e[n.w]=(e[n.w]||0)+t.edge(n).weight})),e}));return r.zipObject(t.nodes(),n)}function l(t){var n=r.map(t.nodes(),(function(n){var e={};return r.forEach(t.inEdges(n),(function(n){e[n.v]=(e[n.v]||0)+t.edge(n).weight})),e}));return r.zipObject(t.nodes(),n)}function c(t,n){var e,r,o=t.x,i=t.y,a=n.x-o,u=n.y-i,s=t.width/2,l=t.height/2;if(!a&&!u)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(u)*s>Math.abs(a)*l?(u<0&&(l=-l),e=l*a/u,r=l):(a<0&&(s=-s),e=s,r=s*u/a),{x:o+e,y:i+r}}function d(t){var n=r.map(r.range(v(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(e){var o=t.node(e),i=o.rank;r.isUndefined(i)||(n[i][o.order]=e)})),n}function f(t){var n=r.min(r.map(t.nodes(),(function(n){return t.node(n).rank})));r.forEach(t.nodes(),(function(e){var o=t.node(e);r.has(o,"rank")&&(o.rank-=n)}))}function h(t){var n=r.min(r.map(t.nodes(),(function(n){return t.node(n).rank}))),e=[];r.forEach(t.nodes(),(function(r){var o=t.node(r).rank-n;e[o]||(e[o]=[]),e[o].push(r)}));var o=0,i=t.graph().nodeRankFactor;r.forEach(e,(function(n,e){r.isUndefined(n)&&e%i!==0?--o:o&&r.forEach(n,(function(n){t.node(n).rank+=o}))}))}function _(t,n,e,r){var o={width:0,height:0};return arguments.length>=4&&(o.rank=e,o.order=r),i(t,"border",o,n)}function v(t){return r.max(r.map(t.nodes(),(function(n){var e=t.node(n).rank;if(!r.isUndefined(e))return e})))}function p(t,n){var e={lhs:[],rhs:[]};return r.forEach(t,(function(t){n(t)?e.lhs.push(t):e.rhs.push(t)})),e}function g(t,n){r.now();try{return n()}finally{}}function m(t,n){return n()}t.exports={addDummyNode:i,simplify:a,asNonCompoundGraph:u,successorWeights:s,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,n){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,n,e){var r=e(/*! ./lib */"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js");t.exports={Graph:r.Graph,json:e(/*! ./lib/json */"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js"),alg:e(/*! ./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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var n,e={},o=[];function i(o){r.has(e,o)||(e[o]=!0,n.push(o),r.each(t.successors(o),i),r.each(t.predecessors(o),i))}return r.each(t.nodes(),(function(t){n=[],i(t),n.length&&o.push(n)})),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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t,n,e){r.isArray(n)||(n=[n]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],u={};return r.each(n,(function(n){if(!t.hasNode(n))throw new Error("Graph does not have node: "+n);i(t,n,"post"===e,u,o,a)})),a}function i(t,n,e,o,a,u){r.has(o,n)||(o[n]=!0,e||u.push(n),r.each(a(n),(function(n){i(t,n,e,o,a,u)})),e&&u.push(n))}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,n,e){var r=e(/*! ./dijkstra */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),o=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function i(t,n,e){return o.transform(t.nodes(),(function(o,i){o[i]=r(t,i,n,e)}),{})}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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=e(/*! ../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,n,e,r){return u(t,String(n),e||i,r||function(n){return t.outEdges(n)})}function u(t,n,e,r){var i,a,u={},s=new o,l=function(t){var n=t.v!==i?t.v:t.w,r=u[n],o=e(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=s.removeMin(),a=u[i],a.distance===Number.POSITIVE_INFINITY)break;r(i).forEach(l)}return u}},"./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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=e(/*! ./tarjan */"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js");function i(t){return r.filter(o(t),(function(n){return n.length>1||1===n.length&&t.hasEdge(n[0],n[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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=i;var o=r.constant(1);function i(t,n,e){return a(t,n||o,e||function(n){return t.outEdges(n)})}function a(t,n,e){var r={},o=t.nodes();return o.forEach((function(t){r[t]={},r[t][t]={distance:0},o.forEach((function(n){t!==n&&(r[t][n]={distance:Number.POSITIVE_INFINITY})})),e(t).forEach((function(e){var o=e.v===t?e.w:e.v,i=n(e);r[t][o]={distance:i,predecessor:t}}))})),o.forEach((function(t){var n=r[t];o.forEach((function(e){var i=r[e];o.forEach((function(e){var r=i[t],o=n[e],a=i[e],u=r.distance+o.distance;u0){if(e=s.removeMin(),r.has(u,e))a.setEdge(e,u[e]);else{if(c)throw new Error("Input graph is not connected: "+t);c=!0}t.nodeEdges(e).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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var n=0,e=[],o={},i=[];function a(u){var s=o[u]={onStack:!0,lowlink:n,index:n++};if(e.push(u),t.successors(u).forEach((function(t){r.has(o,t)?o[t].onStack&&(s.lowlink=Math.min(s.lowlink,o[t].index)):(a(t),s.lowlink=Math.min(s.lowlink,o[t].lowlink))})),s.lowlink===s.index){var l,c=[];do{l=e.pop(),o[l].onStack=!1,c.push(l)}while(u!==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,n,e){var r=e(/*! ../lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var n={},e={},o=[];function a(u){if(r.has(e,u))throw new i;r.has(n,u)||(e[u]=!0,n[u]=!0,r.each(t.predecessors(u),a),delete e[u],o.push(u))}if(r.each(t.sinks(),a),r.size(n)!==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,n,e){var r=e(/*! ../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 n=this._keyIndices[t];if(void 0!==n)return this._arr[n].priority},o.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},o.prototype.add=function(t,n){var e=this._keyIndices;if(t=String(t),!r.has(e,t)){var o=this._arr,i=o.length;return e[t]=i,o.push({key:t,priority:n}),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,n){var e=this._keyIndices[t];if(n>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[e].priority+" New: "+n);this._arr[e].priority=n,this._decrease(e)},o.prototype._heapify=function(t){var n=this._arr,e=2*t,r=e+1,o=t;e>1,e[n].prioritys){var l=u;u=s,s=l}return u+a+s+a+(r.isUndefined(i)?o:i)}function d(t,n,e,r){var o=""+n,i=""+e;if(!t&&o>i){var a=o;o=i,i=a}var u={v:o,w:i};return r&&(u.name=r),u}function f(t,n){return c(t,n.v,n.w,n.name)}u.prototype._nodeCount=0,u.prototype._edgeCount=0,u.prototype.isDirected=function(){return this._isDirected},u.prototype.isMultigraph=function(){return this._isMultigraph},u.prototype.isCompound=function(){return this._isCompound},u.prototype.setGraph=function(t){return this._label=t,this},u.prototype.graph=function(){return this._label},u.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},u.prototype.nodeCount=function(){return this._nodeCount},u.prototype.nodes=function(){return r.keys(this._nodes)},u.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._in[n])}))},u.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._out[n])}))},u.prototype.setNodes=function(t,n){var e=arguments,o=this;return r.each(t,(function(t){e.length>1?o.setNode(t,n):o.setNode(t)})),this},u.prototype.setNode=function(t,n){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=n),this):(this._nodes[t]=arguments.length>1?n: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)},u.prototype.node=function(t){return this._nodes[t]},u.prototype.hasNode=function(t){return r.has(this._nodes,t)},u.prototype.removeNode=function(t){var n=this;if(r.has(this._nodes,t)){var e=function(t){n.removeEdge(n._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){n.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},u.prototype.setParent=function(t,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(n))n=i;else{n+="";for(var e=n;!r.isUndefined(e);e=this.parent(e))if(e===t)throw new Error("Setting "+n+" as parent of "+t+" would create a cycle");this.setNode(n)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=n,this._children[n][t]=!0,this},u.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},u.prototype.parent=function(t){if(this._isCompound){var n=this._parent[t];if(n!==i)return n}},u.prototype.children=function(t){if(r.isUndefined(t)&&(t=i),this._isCompound){var n=this._children[t];if(n)return r.keys(n)}else{if(t===i)return this.nodes();if(this.hasNode(t))return[]}},u.prototype.predecessors=function(t){var n=this._preds[t];if(n)return r.keys(n)},u.prototype.successors=function(t){var n=this._sucs[t];if(n)return r.keys(n)},u.prototype.neighbors=function(t){var n=this.predecessors(t);if(n)return r.union(n,this.successors(t))},u.prototype.isLeaf=function(t){var n;return n=this.isDirected()?this.successors(t):this.neighbors(t),0===n.length},u.prototype.filterNodes=function(t){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var e=this;r.each(this._nodes,(function(e,r){t(r)&&n.setNode(r,e)})),r.each(this._edgeObjs,(function(t){n.hasNode(t.v)&&n.hasNode(t.w)&&n.setEdge(t,e.edge(t))}));var o={};function i(t){var r=e.parent(t);return void 0===r||n.hasNode(r)?(o[t]=r,r):r in o?o[r]:i(r)}return this._isCompound&&r.each(n.nodes(),(function(t){n.setParent(t,i(t))})),n},u.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},u.prototype.edgeCount=function(){return this._edgeCount},u.prototype.edges=function(){return r.values(this._edgeObjs)},u.prototype.setPath=function(t,n){var e=this,o=arguments;return r.reduce(t,(function(t,r){return o.length>1?e.setEdge(t,r,n):e.setEdge(t,r),r})),this},u.prototype.setEdge=function(){var t,n,e,o,i=!1,a=arguments[0];"object"===typeof a&&null!==a&&"v"in a?(t=a.v,n=a.w,e=a.name,2===arguments.length&&(o=arguments[1],i=!0)):(t=a,n=arguments[1],e=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),t=""+t,n=""+n,r.isUndefined(e)||(e=""+e);var u=c(this._isDirected,t,n,e);if(r.has(this._edgeLabels,u))return i&&(this._edgeLabels[u]=o),this;if(!r.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(n),this._edgeLabels[u]=i?o:this._defaultEdgeLabelFn(t,n,e);var l=d(this._isDirected,t,n,e);return t=l.v,n=l.w,Object.freeze(l),this._edgeObjs[u]=l,s(this._preds[n],t),s(this._sucs[t],n),this._in[n][u]=l,this._out[t][u]=l,this._edgeCount++,this},u.prototype.edge=function(t,n,e){var r=1===arguments.length?f(this._isDirected,arguments[0]):c(this._isDirected,t,n,e);return this._edgeLabels[r]},u.prototype.hasEdge=function(t,n,e){var o=1===arguments.length?f(this._isDirected,arguments[0]):c(this._isDirected,t,n,e);return r.has(this._edgeLabels,o)},u.prototype.removeEdge=function(t,n,e){var r=1===arguments.length?f(this._isDirected,arguments[0]):c(this._isDirected,t,n,e),o=this._edgeObjs[r];return o&&(t=o.v,n=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],l(this._preds[n],t),l(this._sucs[t],n),delete this._in[n][r],delete this._out[t][r],this._edgeCount--),this},u.prototype.inEdges=function(t,n){var e=this._in[t];if(e){var o=r.values(e);return n?r.filter(o,(function(t){return t.v===n})):o}},u.prototype.outEdges=function(t,n){var e=this._out[t];if(e){var o=r.values(e);return n?r.filter(o,(function(t){return t.w===n})):o}},u.prototype.nodeEdges=function(t,n){var e=this.inEdges(t,n);if(e)return e.concat(this.outEdges(t,n))}},"./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,n,e){t.exports={Graph:e(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),version:e(/*! ./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,n,e){var r=e(/*! ./lodash */"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=e(/*! ./graph */"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js");function i(t){var n={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:a(t),edges:u(t)};return r.isUndefined(t.graph())||(n.value=r.clone(t.graph())),n}function a(t){return r.map(t.nodes(),(function(n){var e=t.node(n),o=t.parent(n),i={v:n};return r.isUndefined(e)||(i.value=e),r.isUndefined(o)||(i.parent=o),i}))}function u(t){return r.map(t.edges(),(function(n){var e=t.edge(n),o={v:n.v,w:n.w};return r.isUndefined(n.name)||(o.name=n.name),r.isUndefined(e)||(o.value=e),o}))}function s(t){var n=new o(t.options).setGraph(t.value);return r.each(t.nodes,(function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)})),r.each(t.edges,(function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),n}t.exports={write:i,read:s}},"./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,n,e){var r;try{r={clone:e(/*! lodash/clone */"./node_modules/_lodash@4.17.20@lodash/clone.js"),constant:e(/*! lodash/constant */"./node_modules/_lodash@4.17.20@lodash/constant.js"),each:e(/*! lodash/each */"./node_modules/_lodash@4.17.20@lodash/each.js"),filter:e(/*! lodash/filter */"./node_modules/_lodash@4.17.20@lodash/filter.js"),has:e(/*! lodash/has */"./node_modules/_lodash@4.17.20@lodash/has.js"),isArray:e(/*! lodash/isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),isEmpty:e(/*! lodash/isEmpty */"./node_modules/_lodash@4.17.20@lodash/isEmpty.js"),isFunction:e(/*! lodash/isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),isUndefined:e(/*! lodash/isUndefined */"./node_modules/_lodash@4.17.20@lodash/isUndefined.js"),keys:e(/*! lodash/keys */"./node_modules/_lodash@4.17.20@lodash/keys.js"),map:e(/*! lodash/map */"./node_modules/_lodash@4.17.20@lodash/map.js"),reduce:e(/*! lodash/reduce */"./node_modules/_lodash@4.17.20@lodash/reduce.js"),size:e(/*! lodash/size */"./node_modules/_lodash@4.17.20@lodash/size.js"),transform:e(/*! lodash/transform */"./node_modules/_lodash@4.17.20@lodash/transform.js"),union:e(/*! lodash/union */"./node_modules/_lodash@4.17.20@lodash/union.js"),values:e(/*! lodash/values */"./node_modules/_lodash@4.17.20@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,n){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,n){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},"./node_modules/_lodash@4.17.20@lodash/_DataView.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_DataView.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js"),o=e(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),i=r(o,"DataView");t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_Hash.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_Hash.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_hashClear */"./node_modules/_lodash@4.17.20@lodash/_hashClear.js"),o=e(/*! ./_hashDelete */"./node_modules/_lodash@4.17.20@lodash/_hashDelete.js"),i=e(/*! ./_hashGet */"./node_modules/_lodash@4.17.20@lodash/_hashGet.js"),a=e(/*! ./_hashHas */"./node_modules/_lodash@4.17.20@lodash/_hashHas.js"),u=e(/*! ./_hashSet */"./node_modules/_lodash@4.17.20@lodash/_hashSet.js");function s(t){var n=-1,e=null==t?0:t.length;this.clear();while(++n-1}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_arrayIncludesWith.js": /*!*******************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_arrayIncludesWith.js ***! \*******************************************************************/ /*! no static exports found */function(t,n){function e(t,n,e){var r=-1,o=null==t?0:t.length;while(++r0&&e(c)?n>1?i(c,n-1,e,a,u):r(u,c):a||(u[u.length]=c)}return u}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_baseFor.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseFor.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_createBaseFor */"./node_modules/_lodash@4.17.20@lodash/_createBaseFor.js"),o=r();t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js ***! \************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseFor */"./node_modules/_lodash@4.17.20@lodash/_baseFor.js"),o=e(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");function i(t,n){return t&&r(t,n,o)}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_baseGet.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseGet.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_castPath */"./node_modules/_lodash@4.17.20@lodash/_castPath.js"),o=e(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");function i(t,n){n=r(n,t);var e=0,i=n.length;while(null!=t&&en}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_baseHas.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseHas.js ***! \*********************************************************/ /*! no static exports found */function(t,n){var e=Object.prototype,r=e.hasOwnProperty;function o(t,n){return null!=t&&r.call(t,n)}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_baseHasIn.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseHasIn.js ***! \***********************************************************/ /*! no static exports found */function(t,n){function e(t,n){return null!=t&&n in Object(t)}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_baseIndexOf.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseIndexOf.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseFindIndex */"./node_modules/_lodash@4.17.20@lodash/_baseFindIndex.js"),o=e(/*! ./_baseIsNaN */"./node_modules/_lodash@4.17.20@lodash/_baseIsNaN.js"),i=e(/*! ./_strictIndexOf */"./node_modules/_lodash@4.17.20@lodash/_strictIndexOf.js");function a(t,n,e){return n===n?i(t,n,e):r(t,o,e)}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_baseIsArguments.js": /*!*****************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsArguments.js ***! \*****************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),o=e(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),i="[object Arguments]";function a(t){return o(t)&&r(t)==i}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseIsEqualDeep */"./node_modules/_lodash@4.17.20@lodash/_baseIsEqualDeep.js"),o=e(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js");function i(t,n,e,a,u){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,e,a,i,u))}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_baseIsEqualDeep.js": /*!*****************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsEqualDeep.js ***! \*****************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_Stack */"./node_modules/_lodash@4.17.20@lodash/_Stack.js"),o=e(/*! ./_equalArrays */"./node_modules/_lodash@4.17.20@lodash/_equalArrays.js"),i=e(/*! ./_equalByTag */"./node_modules/_lodash@4.17.20@lodash/_equalByTag.js"),a=e(/*! ./_equalObjects */"./node_modules/_lodash@4.17.20@lodash/_equalObjects.js"),u=e(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),s=e(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),l=e(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),c=e(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js"),d=1,f="[object Arguments]",h="[object Array]",_="[object Object]",v=Object.prototype,p=v.hasOwnProperty;function g(t,n,e,v,g,m){var y=s(t),b=s(n),j=y?h:u(t),w=b?h:u(n);j=j==f?_:j,w=w==f?_:w;var x=j==_,E=w==_,M=j==w;if(M&&l(t)){if(!l(n))return!1;y=!0,x=!1}if(M&&!x)return m||(m=new r),y||c(t)?o(t,n,e,v,g,m):i(t,n,j,e,v,g,m);if(!(e&d)){var S=x&&p.call(t,"__wrapped__"),O=E&&p.call(n,"__wrapped__");if(S||O){var P=S?t.value():t,T=O?n.value():n;return m||(m=new r),g(P,T,e,v,m)}}return!!M&&(m||(m=new r),a(t,n,e,v,g,m))}t.exports=g},"./node_modules/_lodash@4.17.20@lodash/_baseIsMap.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsMap.js ***! \***********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),o=e(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),i="[object Map]";function a(t){return o(t)&&r(t)==i}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_baseIsMatch.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_baseIsMatch.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_Stack */"./node_modules/_lodash@4.17.20@lodash/_Stack.js"),o=e(/*! ./_baseIsEqual */"./node_modules/_lodash@4.17.20@lodash/_baseIsEqual.js"),i=1,a=2;function u(t,n,e,u){var s=e.length,l=s,c=!u;if(null==t)return!l;t=Object(t);while(s--){var d=e[s];if(c&&d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}while(++s=l){var p=n?null:u(t);if(p)return s(p);h=!1,d=a,v=new r}else v=n?[]:_;t:while(++cn||a&&u&&l&&!s&&!c||o&&u&&l||!e&&l||!i)return 1;if(!o&&!a&&!c&&t=s)return l;var c=e[o];return l*("desc"==c?-1:1)}}return t.index-n.index}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_copyArray.js": /*!***********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_copyArray.js ***! \***********************************************************/ /*! no static exports found */function(t,n){function e(t,n){var e=-1,r=t.length;n||(n=Array(r));while(++e1?e[i-1]:void 0,u=i>2?e[2]:void 0;a=t.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(e[0],e[1],u)&&(a=i<3?void 0:a,i=1),n=Object(n);while(++r-1?u[s?n[l]:l]:void 0}}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/_createRange.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_createRange.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseRange */"./node_modules/_lodash@4.17.20@lodash/_baseRange.js"),o=e(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js"),i=e(/*! ./toFinite */"./node_modules/_lodash@4.17.20@lodash/toFinite.js");function a(t){return function(n,e,a){return a&&"number"!=typeof a&&o(n,e,a)&&(e=a=void 0),n=i(n),void 0===e?(e=n,n=0):e=i(e),a=void 0===a?nf))return!1;var _=c.get(t),v=c.get(n);if(_&&v)return _==n&&v==t;var p=-1,g=!0,m=e&u?new r:void 0;c.set(t,n),c.set(n,t);while(++p-1&&t%1==0&&t-1}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_listCacheSet.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_listCacheSet.js ***! \**************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_assocIndexOf */"./node_modules/_lodash@4.17.20@lodash/_assocIndexOf.js");function o(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_mapCacheClear.js": /*!***************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheClear.js ***! \***************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_Hash */"./node_modules/_lodash@4.17.20@lodash/_Hash.js"),o=e(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js"),i=e(/*! ./_Map */"./node_modules/_lodash@4.17.20@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.20@lodash/_mapCacheDelete.js": /*!****************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheDelete.js ***! \****************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");function o(t){var n=r(this,t)["delete"](t);return this.size-=n?1:0,n}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_mapCacheGet.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheGet.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");function o(t){return r(this,t).get(t)}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_mapCacheHas.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheHas.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");function o(t){return r(this,t).has(t)}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_mapCacheSet.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_mapCacheSet.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getMapData */"./node_modules/_lodash@4.17.20@lodash/_getMapData.js");function o(t,n){var e=r(this,t),o=e.size;return e.set(t,n),this.size+=e.size==o?0:1,this}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_mapToArray.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_mapToArray.js ***! \************************************************************/ /*! no static exports found */function(t,n){function e(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_matchesStrictComparable.js": /*!*************************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_matchesStrictComparable.js ***! \*************************************************************************/ /*! no static exports found */function(t,n){function e(t,n){return function(e){return null!=e&&(e[t]===n&&(void 0!==n||t in Object(e)))}}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_memoizeCapped.js": /*!***************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_memoizeCapped.js ***! \***************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./memoize */"./node_modules/_lodash@4.17.20@lodash/memoize.js"),o=500;function i(t){var n=r(t,(function(t){return e.size===o&&e.clear(),t})),e=n.cache;return n}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_nativeCreate.js ***! \**************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_getNative */"./node_modules/_lodash@4.17.20@lodash/_getNative.js"),o=r(Object,"create");t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_nativeKeys.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_nativeKeys.js ***! \************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_overArg */"./node_modules/_lodash@4.17.20@lodash/_overArg.js"),o=r(Object.keys,Object);t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_nativeKeysIn.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_nativeKeysIn.js ***! \**************************************************************/ /*! no static exports found */function(t,n){function e(t){var n=[];if(null!=t)for(var e in Object(t))n.push(e);return n}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){(function(t){var r=e(/*! ./_freeGlobal */"./node_modules/_lodash@4.17.20@lodash/_freeGlobal.js"),o=n&&!n.nodeType&&n,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o,u=a&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||u&&u.binding&&u.binding("util")}catch(n){}}();t.exports=s}).call(this,e(/*! ./../_webpack@4.46.0@webpack/buildin/module.js */"./node_modules/_webpack@4.46.0@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.20@lodash/_objectToString.js": /*!****************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_objectToString.js ***! \****************************************************************/ /*! no static exports found */function(t,n){var e=Object.prototype,r=e.toString;function o(t){return r.call(t)}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_overArg.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_overArg.js ***! \*********************************************************/ /*! no static exports found */function(t,n){function e(t,n){return function(e){return t(n(e))}}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_overRest.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_overRest.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_apply */"./node_modules/_lodash@4.17.20@lodash/_apply.js"),o=Math.max;function i(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){var i=arguments,a=-1,u=o(i.length-n,0),s=Array(u);while(++a0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/_stackClear.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_stackClear.js ***! \************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js");function o(){this.__data__=new r,this.size=0}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/_stackDelete.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_stackDelete.js ***! \*************************************************************/ /*! no static exports found */function(t,n){function e(t){var n=this.__data__,e=n["delete"](t);return this.size=n.size,e}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_stackGet.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_stackGet.js ***! \**********************************************************/ /*! no static exports found */function(t,n){function e(t){return this.__data__.get(t)}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_stackHas.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_stackHas.js ***! \**********************************************************/ /*! no static exports found */function(t,n){function e(t){return this.__data__.has(t)}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/_stackSet.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/_stackSet.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_ListCache */"./node_modules/_lodash@4.17.20@lodash/_ListCache.js"),o=e(/*! ./_Map */"./node_modules/_lodash@4.17.20@lodash/_Map.js"),i=e(/*! ./_MapCache */"./node_modules/_lodash@4.17.20@lodash/_MapCache.js"),a=200;function u(t,n){var e=this.__data__;if(e instanceof r){var u=e.__data__;if(!o||u.length2?n[2]:void 0;l&&i(n[0],n[1],l)&&(r=1);while(++e-1&&t%1==0&&t<=e}t.exports=r},"./node_modules/_lodash@4.17.20@lodash/isMap.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isMap.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseIsMap */"./node_modules/_lodash@4.17.20@lodash/_baseIsMap.js"),o=e(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),i=e(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js"),a=i&&i.isMap,u=a?o(a):r;t.exports=u},"./node_modules/_lodash@4.17.20@lodash/isObject.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isObject.js ***! \*********************************************************/ /*! no static exports found */function(t,n){function e(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isObjectLike.js ***! \*************************************************************/ /*! no static exports found */function(t,n){function e(t){return null!=t&&"object"==typeof t}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/isPlainObject.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isPlainObject.js ***! \**************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),o=e(/*! ./_getPrototype */"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js"),i=e(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),a="[object Object]",u=Function.prototype,s=Object.prototype,l=u.toString,c=s.hasOwnProperty,d=l.call(Object);function f(t){if(!i(t)||r(t)!=a)return!1;var n=o(t);if(null===n)return!0;var e=c.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&l.call(e)==d}t.exports=f},"./node_modules/_lodash@4.17.20@lodash/isSet.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isSet.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseIsSet */"./node_modules/_lodash@4.17.20@lodash/_baseIsSet.js"),o=e(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),i=e(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js"),a=i&&i.isSet,u=a?o(a):r;t.exports=u},"./node_modules/_lodash@4.17.20@lodash/isString.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isString.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),o=e(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),i=e(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@lodash/isObjectLike.js"),a="[object String]";function u(t){return"string"==typeof t||!o(t)&&i(t)&&r(t)==a}t.exports=u},"./node_modules/_lodash@4.17.20@lodash/isSymbol.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isSymbol.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseGetTag */"./node_modules/_lodash@4.17.20@lodash/_baseGetTag.js"),o=e(/*! ./isObjectLike */"./node_modules/_lodash@4.17.20@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.20@lodash/isTypedArray.js": /*!*************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isTypedArray.js ***! \*************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseIsTypedArray */"./node_modules/_lodash@4.17.20@lodash/_baseIsTypedArray.js"),o=e(/*! ./_baseUnary */"./node_modules/_lodash@4.17.20@lodash/_baseUnary.js"),i=e(/*! ./_nodeUtil */"./node_modules/_lodash@4.17.20@lodash/_nodeUtil.js"),a=i&&i.isTypedArray,u=a?o(a):r;t.exports=u},"./node_modules/_lodash@4.17.20@lodash/isUndefined.js": /*!************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/isUndefined.js ***! \************************************************************/ /*! no static exports found */function(t,n){function e(t){return void 0===t}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/keys.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/keys.js ***! \*****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.20@lodash/_arrayLikeKeys.js"),o=e(/*! ./_baseKeys */"./node_modules/_lodash@4.17.20@lodash/_baseKeys.js"),i=e(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js");function a(t){return i(t)?r(t):o(t)}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/keysIn.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/keysIn.js ***! \*******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_arrayLikeKeys */"./node_modules/_lodash@4.17.20@lodash/_arrayLikeKeys.js"),o=e(/*! ./_baseKeysIn */"./node_modules/_lodash@4.17.20@lodash/_baseKeysIn.js"),i=e(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js");function a(t){return i(t)?r(t,!0):o(t)}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/last.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/last.js ***! \*****************************************************/ /*! no static exports found */function(t,n){function e(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/map.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/map.js ***! \****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_arrayMap */"./node_modules/_lodash@4.17.20@lodash/_arrayMap.js"),o=e(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),i=e(/*! ./_baseMap */"./node_modules/_lodash@4.17.20@lodash/_baseMap.js"),a=e(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");function u(t,n){var e=a(t)?r:i;return e(t,o(n,3))}t.exports=u},"./node_modules/_lodash@4.17.20@lodash/mapValues.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/mapValues.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseAssignValue */"./node_modules/_lodash@4.17.20@lodash/_baseAssignValue.js"),o=e(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js"),i=e(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js");function a(t,n){var e={};return n=i(n,3),o(t,(function(t,o,i){r(e,o,n(t,o,i))})),e}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/max.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/max.js ***! \****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js"),o=e(/*! ./_baseGt */"./node_modules/_lodash@4.17.20@lodash/_baseGt.js"),i=e(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js");function a(t){return t&&t.length?r(t,i,o):void 0}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/memoize.js": /*!********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/memoize.js ***! \********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_MapCache */"./node_modules/_lodash@4.17.20@lodash/_MapCache.js"),o="Expected a function";function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError(o);var e=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=e.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return e.cache=i.set(o,a)||i,a};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},"./node_modules/_lodash@4.17.20@lodash/merge.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/merge.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseMerge */"./node_modules/_lodash@4.17.20@lodash/_baseMerge.js"),o=e(/*! ./_createAssigner */"./node_modules/_lodash@4.17.20@lodash/_createAssigner.js"),i=o((function(t,n,e){r(t,n,e)}));t.exports=i},"./node_modules/_lodash@4.17.20@lodash/min.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/min.js ***! \****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js"),o=e(/*! ./_baseLt */"./node_modules/_lodash@4.17.20@lodash/_baseLt.js"),i=e(/*! ./identity */"./node_modules/_lodash@4.17.20@lodash/identity.js");function a(t){return t&&t.length?r(t,i,o):void 0}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/minBy.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/minBy.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseExtremum */"./node_modules/_lodash@4.17.20@lodash/_baseExtremum.js"),o=e(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),i=e(/*! ./_baseLt */"./node_modules/_lodash@4.17.20@lodash/_baseLt.js");function a(t,n){return t&&t.length?r(t,o(n,2),i):void 0}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/noop.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/noop.js ***! \*****************************************************/ /*! no static exports found */function(t,n){function e(){}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/now.js": /*!****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/now.js ***! \****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_root */"./node_modules/_lodash@4.17.20@lodash/_root.js"),o=function(){return r.Date.now()};t.exports=o},"./node_modules/_lodash@4.17.20@lodash/pick.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/pick.js ***! \*****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_basePick */"./node_modules/_lodash@4.17.20@lodash/_basePick.js"),o=e(/*! ./_flatRest */"./node_modules/_lodash@4.17.20@lodash/_flatRest.js"),i=o((function(t,n){return null==t?{}:r(t,n)}));t.exports=i},"./node_modules/_lodash@4.17.20@lodash/property.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/property.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseProperty */"./node_modules/_lodash@4.17.20@lodash/_baseProperty.js"),o=e(/*! ./_basePropertyDeep */"./node_modules/_lodash@4.17.20@lodash/_basePropertyDeep.js"),i=e(/*! ./_isKey */"./node_modules/_lodash@4.17.20@lodash/_isKey.js"),a=e(/*! ./_toKey */"./node_modules/_lodash@4.17.20@lodash/_toKey.js");function u(t){return i(t)?r(a(t)):o(t)}t.exports=u},"./node_modules/_lodash@4.17.20@lodash/range.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/range.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_createRange */"./node_modules/_lodash@4.17.20@lodash/_createRange.js"),o=r();t.exports=o},"./node_modules/_lodash@4.17.20@lodash/reduce.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/reduce.js ***! \*******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_arrayReduce */"./node_modules/_lodash@4.17.20@lodash/_arrayReduce.js"),o=e(/*! ./_baseEach */"./node_modules/_lodash@4.17.20@lodash/_baseEach.js"),i=e(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),a=e(/*! ./_baseReduce */"./node_modules/_lodash@4.17.20@lodash/_baseReduce.js"),u=e(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js");function s(t,n,e){var s=u(t)?r:a,l=arguments.length<3;return s(t,i(n,4),e,l,o)}t.exports=s},"./node_modules/_lodash@4.17.20@lodash/size.js": /*!*****************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/size.js ***! \*****************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseKeys */"./node_modules/_lodash@4.17.20@lodash/_baseKeys.js"),o=e(/*! ./_getTag */"./node_modules/_lodash@4.17.20@lodash/_getTag.js"),i=e(/*! ./isArrayLike */"./node_modules/_lodash@4.17.20@lodash/isArrayLike.js"),a=e(/*! ./isString */"./node_modules/_lodash@4.17.20@lodash/isString.js"),u=e(/*! ./_stringSize */"./node_modules/_lodash@4.17.20@lodash/_stringSize.js"),s="[object Map]",l="[object Set]";function c(t){if(null==t)return 0;if(i(t))return a(t)?u(t):t.length;var n=o(t);return n==s||n==l?t.size:r(t).length}t.exports=c},"./node_modules/_lodash@4.17.20@lodash/sortBy.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/sortBy.js ***! \*******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js"),o=e(/*! ./_baseOrderBy */"./node_modules/_lodash@4.17.20@lodash/_baseOrderBy.js"),i=e(/*! ./_baseRest */"./node_modules/_lodash@4.17.20@lodash/_baseRest.js"),a=e(/*! ./_isIterateeCall */"./node_modules/_lodash@4.17.20@lodash/_isIterateeCall.js"),u=i((function(t,n){if(null==t)return[];var e=n.length;return e>1&&a(t,n[0],n[1])?n=[]:e>2&&a(n[0],n[1],n[2])&&(n=[n[0]]),o(t,r(n,1),[])}));t.exports=u},"./node_modules/_lodash@4.17.20@lodash/stubArray.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/stubArray.js ***! \**********************************************************/ /*! no static exports found */function(t,n){function e(){return[]}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/stubFalse.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/stubFalse.js ***! \**********************************************************/ /*! no static exports found */function(t,n){function e(){return!1}t.exports=e},"./node_modules/_lodash@4.17.20@lodash/toFinite.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/toFinite.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./toNumber */"./node_modules/_lodash@4.17.20@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 n=t<0?-1:1;return n*i}return t===t?t:0}t.exports=a},"./node_modules/_lodash@4.17.20@lodash/toInteger.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/toInteger.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./toFinite */"./node_modules/_lodash@4.17.20@lodash/toFinite.js");function o(t){var n=r(t),e=n%1;return n===n?e?n-e:n:0}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/toNumber.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/toNumber.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),o=e(/*! ./isSymbol */"./node_modules/_lodash@4.17.20@lodash/isSymbol.js"),i=NaN,a=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^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 n="function"==typeof t.valueOf?t.valueOf():t;t=r(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var e=s.test(t);return e||l.test(t)?c(t.slice(2),e?2:8):u.test(t)?i:+t}t.exports=d},"./node_modules/_lodash@4.17.20@lodash/toPlainObject.js": /*!**************************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/toPlainObject.js ***! \**************************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_copyObject */"./node_modules/_lodash@4.17.20@lodash/_copyObject.js"),o=e(/*! ./keysIn */"./node_modules/_lodash@4.17.20@lodash/keysIn.js");function i(t){return r(t,o(t))}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/toString.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/toString.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseToString */"./node_modules/_lodash@4.17.20@lodash/_baseToString.js");function o(t){return null==t?"":r(t)}t.exports=o},"./node_modules/_lodash@4.17.20@lodash/transform.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/transform.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_arrayEach */"./node_modules/_lodash@4.17.20@lodash/_arrayEach.js"),o=e(/*! ./_baseCreate */"./node_modules/_lodash@4.17.20@lodash/_baseCreate.js"),i=e(/*! ./_baseForOwn */"./node_modules/_lodash@4.17.20@lodash/_baseForOwn.js"),a=e(/*! ./_baseIteratee */"./node_modules/_lodash@4.17.20@lodash/_baseIteratee.js"),u=e(/*! ./_getPrototype */"./node_modules/_lodash@4.17.20@lodash/_getPrototype.js"),s=e(/*! ./isArray */"./node_modules/_lodash@4.17.20@lodash/isArray.js"),l=e(/*! ./isBuffer */"./node_modules/_lodash@4.17.20@lodash/isBuffer.js"),c=e(/*! ./isFunction */"./node_modules/_lodash@4.17.20@lodash/isFunction.js"),d=e(/*! ./isObject */"./node_modules/_lodash@4.17.20@lodash/isObject.js"),f=e(/*! ./isTypedArray */"./node_modules/_lodash@4.17.20@lodash/isTypedArray.js");function h(t,n,e){var h=s(t),_=h||l(t)||f(t);if(n=a(n,4),null==e){var v=t&&t.constructor;e=_?h?new v:[]:d(t)&&c(v)?o(u(t)):{}}return(_?r:i)(t,(function(t,r,o){return n(e,t,r,o)})),e}t.exports=h},"./node_modules/_lodash@4.17.20@lodash/union.js": /*!******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/union.js ***! \******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseFlatten */"./node_modules/_lodash@4.17.20@lodash/_baseFlatten.js"),o=e(/*! ./_baseRest */"./node_modules/_lodash@4.17.20@lodash/_baseRest.js"),i=e(/*! ./_baseUniq */"./node_modules/_lodash@4.17.20@lodash/_baseUniq.js"),a=e(/*! ./isArrayLikeObject */"./node_modules/_lodash@4.17.20@lodash/isArrayLikeObject.js"),u=o((function(t){return i(r(t,1,a,!0))}));t.exports=u},"./node_modules/_lodash@4.17.20@lodash/uniqueId.js": /*!*********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/uniqueId.js ***! \*********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./toString */"./node_modules/_lodash@4.17.20@lodash/toString.js"),o=0;function i(t){var n=++o;return r(t)+n}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/values.js": /*!*******************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/values.js ***! \*******************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_baseValues */"./node_modules/_lodash@4.17.20@lodash/_baseValues.js"),o=e(/*! ./keys */"./node_modules/_lodash@4.17.20@lodash/keys.js");function i(t){return null==t?[]:r(t,o(t))}t.exports=i},"./node_modules/_lodash@4.17.20@lodash/zipObject.js": /*!**********************************************************!*\ !*** ./node_modules/_lodash@4.17.20@lodash/zipObject.js ***! \**********************************************************/ /*! no static exports found */function(t,n,e){var r=e(/*! ./_assignValue */"./node_modules/_lodash@4.17.20@lodash/_assignValue.js"),o=e(/*! ./_baseZipObject */"./node_modules/_lodash@4.17.20@lodash/_baseZipObject.js");function i(t,n){return o(t||[],n||[],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,n){t.exports=o;var e={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 n=[];return t.replace(r,(function(t,r,o){var i=r.toLowerCase();o=a(o),"m"==i&&o.length>2&&(n.push([r].concat(o.splice(0,2))),i="l",r="m"==r?"l":"L");while(1){if(o.length==e[i])return o.unshift(r),n.push(o);if(o.length=t){var _=(i-t)/(i-r[2]),v=[e[0]*(1-_)+r[0]*_,e[1]*(1-_)+r[1]*_];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("Q"===s[0]){r[0]=o[0]=e[0],r[1]=o[1]=e[1],r[2]=i;for(l=100,c=0;c<=l;c++){d=c/l,f=m(s,d),h=y(s,d);if(i+=u(e[0],e[1],f,h),e[0]=f,e[1]=h,"number"===typeof t&&i>=t){_=(i-t)/(i-r[2]),v=[e[0]*(1-_)+r[0]*_,e[1]*(1-_)+r[1]*_];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("L"===s[0]){if(r[0]=e[0],r[1]=e[1],r[2]=i,i+=u(e[0],e[1],s[1],s[2]),e[0]=s[1],e[1]=s[2],"number"===typeof t&&i>=t){_=(i-t)/(i-r[2]),v=[e[0]*(1-_)+r[0]*_,e[1]*(1-_)+r[1]*_];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}return{length:i,pos:e};function p(t,n){return Math.pow(1-n,3)*o[0]+3*Math.pow(1-n,2)*n*t[1]+3*(1-n)*Math.pow(n,2)*t[3]+Math.pow(n,3)*t[5]}function g(t,n){return Math.pow(1-n,3)*o[1]+3*Math.pow(1-n,2)*n*t[2]+3*(1-n)*Math.pow(n,2)*t[4]+Math.pow(n,3)*t[6]}function m(t,n){return Math.pow(1-n,2)*o[0]+2*(1-n)*n*t[1]+Math.pow(n,2)*t[3]}function y(t,n){return Math.pow(1-n,2)*o[1]+2*(1-n)*n*t[2]+Math.pow(n,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,n,e){var r,o,i;(function(e,a){o=[t],r=a,i="function"===typeof r?r.apply(n,o):r,void 0===i||(t.exports=i)})(0,(function(t){"use strict";function n(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var e=Object.assign||function(t){for(var n=1;nMath.abs(e[i][a])&&(a=u);for(var s=i;s=i;d--)e[d][c]-=e[d][i]*e[i][c]/e[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:u(i(t,y),n.precision)}}};function l(){var t=function(t,r){return e({_round:u},t,n({},r,(function(t,n){return s[r](t,e({},o,n))})))};return Object.keys(s).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,n,e){!function(t,e){e(n)}(0,(function(t){"use strict";function n(t){if(0===t.length)return 0;for(var n,e=t[0],r=0,o=1;o=Math.abs(t[o])?r+=e-n+t[o]:r+=t[o]-n+e,e=n;return e+r}function e(t){if(0===t.length)throw new Error("mean requires at least one data point");return n(t)/t.length}function r(t,n){var r,o,i=e(t),a=0;if(2===n)for(o=0;on&&(n=t[e]);return n}function c(t,n){var e=t.length*n;if(0===t.length)throw new Error("quantile requires at least one data point.");if(n<0||1l&&f(t,e,r);cl;)h--}t[e]===l?f(t,e,h):f(t,++h,r),h<=n&&(e=h+1),n<=h&&(r=h-1)}}function f(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function h(t,n){var e=t.slice();if(Array.isArray(n)){!function(t,n){for(var e=[0],r=0;rt[t.length-1])return 1;var e=function(t,n){for(var e=0,r=0,o=t.length;r>>1]?o=e:r=-~e;return r}(t,n);if(t[e]!==n)return e/t.length;e++;var r=function(t,n){for(var e=0,r=0,o=t.length;r=t[e=r+o>>>1]?r=-~e:o=e;return r}(t,n);if(r===e)return e/t.length;var o=r-e+1;return o*(r+e)/2/o/t.length}function m(t){var n=h(t,.75),e=h(t,.25);if("number"==typeof n&&"number"==typeof e)return n-e}function y(t){return+h(t,.5)}function b(t){for(var n=y(t),e=[],r=0;r=r[e][u]);--h)(c=M(s,u,i,a)+r[e-1][s-1])e&&(e=t[r]),t[r]t.length)throw new Error("cannot generate more classes than there are data values");var e=u(t);if(1===x(e))return[e];var r=E(n,e.length),o=E(n,e.length);!function(t,n,e){for(var r,o=n[0].length,i=t[Math.floor(o/2)],a=[],u=[],s=0;s=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,n,e,r,o){if("function"!=typeof t)throw new TypeError("func must be a function");for(var i=0;ia&&(a=t[0]),t[1]u&&(u=t[1])}function l(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(l);break;case"Point":s(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(s);break}}for(n in t.arcs.forEach((function(t){var n,e=-1,s=t.length;while(++ea&&(a=n[0]),n[1]u&&(u=n[1])})),t.objects)l(t.objects[n]);return[o,i,a,u]}function o(t,n){var e,r=t.length,o=r-n;while(o<--r)e=t[o],t[o++]=t[r],t[r]=e}function i(t,n){return"string"===typeof n&&(n=t.objects[n]),"GeometryCollection"===n.type?{type:"FeatureCollection",features:n.geometries.map((function(n){return a(t,n)}))}:a(t,n)}function a(t,n){var e=n.id,r=n.bbox,o=null==n.properties?{}:n.properties,i=u(t,n);return null==e&&null==r?{type:"Feature",properties:o,geometry:i}:null==r?{type:"Feature",id:e,properties:o,geometry:i}:{type:"Feature",id:e,bbox:r,properties:o,geometry:i}}function u(t,n){var r=e(t.transform),i=t.arcs;function a(t,n){n.length&&n.pop();for(var e=i[t<0?~t:t],a=0,u=e.length;a1)r=d(t,n,e);else for(o=0,r=new Array(i=t.arcs.length);o1)for(var i,a,u=1,c=l(o[0]);uc&&(a=o[0],o[0]=o[u],o[u]=a,c=i);return o})).filter((function(t){return t.length>0}))}}function v(t,n){var e=0,r=t.length;while(e>>1;t[o]=2))throw new Error("n must be ≥2");s=t.bbox||r(t);var e,o=s[0],i=s[1],a=s[2],u=s[3];n={scale:[a-o?(a-o)/(e-1):1,u-i?(u-i)/(e-1):1],translate:[o,i]}}var s,l,c=g(n),d=t.objects,f={};function h(t){return c(t)}function _(t){var n;switch(t.type){case"GeometryCollection":n={type:"GeometryCollection",geometries:t.geometries.map(_)};break;case"Point":n={type:"Point",coordinates:h(t.coordinates)};break;case"MultiPoint":n={type:"MultiPoint",coordinates:t.coordinates.map(h)};break;default:return t}return null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),null!=t.properties&&(n.properties=t.properties),n}function v(t){var n,e=0,r=1,o=t.length,i=new Array(o);i[0]=c(t[0],0);while(++e=0;u--)(o=t[u])&&(a=(i<3?o(a):i>3?o(n,e,a):o(n,e))||a);return i>3&&a&&Object.defineProperty(n,e,a),a},l=function(t,n){return function(e,r){n(e,r,t)}},c=function(t,n){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,n)},d=function(t,n,e,r){function o(t){return t instanceof e?t:new e((function(n){n(t)}))}return new(e||(e=Promise))((function(e,i){function a(t){try{s(r.next(t))}catch(n){i(n)}}function u(t){try{s(r["throw"](t))}catch(n){i(n)}}function s(t){t.done?e(t.value):o(t.value).then(a,u)}s((r=r.apply(t,n||[])).next())}))},f=function(t,n){var e,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(t){return function(n){return s([t,n])}}function s(i){if(e)throw new TypeError("Generator is already executing.");while(a)try{if(e=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(n?"Object is not iterable.":"Symbol.iterator is not defined.")},v=function(t,n){var e="function"===typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),a=[];try{while((void 0===n||n-- >0)&&!(r=i.next()).done)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(e=i["return"])&&e.call(i)}finally{if(o)throw o.error}}return a},p=function(){for(var t=[],n=0;n1||u(t,n)}))})}function u(t,n){try{s(o[t](n))}catch(e){d(i[0][3],e)}}function s(t){t.value instanceof y?Promise.resolve(t.value.v).then(l,c):d(i[0][2],t)}function l(t){u("next",t)}function c(t){u("throw",t)}function d(t,n){t(n),i.shift(),i.length&&u(i[0][0],i[0][1])}},j=function(t){var n,e;return n={},r("next"),r("throw",(function(t){throw t})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=t[r]?function(n){return(e=!e)?{value:y(t[r](n)),done:"return"===r}:o?o(n):n}:o}},w=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,e=t[Symbol.asyncIterator];return e?e.call(t):(t="function"===typeof _?_(t):t[Symbol.iterator](),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(e){n[e]=t[e]&&function(n){return new Promise((function(r,i){n=t[e](n),o(r,i,n.done,n.value)}))}}function o(t,n,e,r){Promise.resolve(r).then((function(n){t({value:n,done:e})}),n)}},x=function(t,n){return Object.defineProperty?Object.defineProperty(t,"raw",{value:n}):t.raw=n,t};var e=Object.create?function(t,n){Object.defineProperty(t,"default",{enumerable:!0,value:n})}:function(t,n){t["default"]=n};E=function(t){if(t&&t.__esModule)return t;var n={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&P(n,t,r);return e(n,t),n},M=function(t){return t&&t.__esModule?t:{default:t}},S=function(t,n){if(!n.has(t))throw new TypeError("attempted to get private field on non-instance");return n.get(t)},O=function(t,n,e){if(!n.has(t))throw new TypeError("attempted to set private field on non-instance");return n.set(t,e),e},t("__extends",i),t("__assign",a),t("__rest",u),t("__decorate",s),t("__param",l),t("__metadata",c),t("__awaiter",d),t("__generator",f),t("__exportStar",h),t("__createBinding",P),t("__values",_),t("__read",v),t("__spread",p),t("__spreadArrays",g),t("__spreadArray",m),t("__await",y),t("__asyncGenerator",b),t("__asyncDelegator",j),t("__asyncValues",w),t("__makeTemplateObject",x),t("__importStar",E),t("__importDefault",M),t("__classPrivateFieldGet",S),t("__classPrivateFieldSet",O)}))}).call(this,e(/*! ./../_webpack@4.46.0@webpack/buildin/global.js */"./node_modules/_webpack@4.46.0@webpack/buildin/global.js"))},"./node_modules/_webpack@4.46.0@webpack/buildin/global.js": /*!***********************************!*\ !*** (webpack)/buildin/global.js ***! \***********************************/ /*! no static exports found */function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(r){"object"===typeof window&&(e=window)}t.exports=e},"./node_modules/_webpack@4.46.0@webpack/buildin/module.js": /*!***********************************!*\ !*** (webpack)/buildin/module.js ***! \***********************************/ /*! no static exports found */function(t,n){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,n,e){var r; /*! * EventEmitter v5.2.9 - git.io/ee * Unlicense - http://unlicense.org/ * Oliver Caldwell - https://oli.me.uk/ * @preserve */(function(n){"use strict";function o(){}var i=o.prototype,a=n.EventEmitter;function u(t,n){var e=t.length;while(e--)if(t[e].listener===n)return e;return-1}function s(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 n,e,r=this._getEvents();if(t instanceof RegExp)for(e in n={},r)r.hasOwnProperty(e)&&t.test(e)&&(n[e]=r[e]);else n=r[t]||(r[t]=[]);return n},i.flattenListeners=function(t){var n,e=[];for(n=0;nI&&(I=t.count)})),o.forIn(S,(function(t){var e=t.x,r=t.y,o=t.count,i={};i[k]=o,n.sizeByCount?(i[P]=C.map((function(n){return e+t.count/I*n[0]})),i[T]=C.map((function(n){return(r+t.count/I*n[1])/E}))):(i[P]=C.map((function(t){return e+t[0]})),i[T]=C.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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importDefault(e(/*! ../../util/partition */"./src/util/partition.ts")),a=e(/*! ../../data-set */"./src/data-set.ts"),u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["x","count"],bins:void 0,offset:0,groupBy:[]};function l(t,n,e){var r=t-e,o=Math.floor(r/n);return[o*n+e,(o+1)*n+e]}function c(t){return Math.ceil(Math.log(t)/Math.LN2)+1}function d(t,n){n=o.assign({},s,n);var e=u.getField(n);if(0!==t.rows.length){var a=t.range(e),d=a[1]-a[0],f=n.binWidth,h=n.bins;if(!f&&h){if(h<=0)throw new TypeError("Invalid bins: it must be a positive number!");f=d/h}if(!f&&!h){var _=c(t.rows.length);f=d/_}var v=n.offset%f,p=[],g=n.groupBy,m=i.default(t.rows,g);o.forIn(m,(function(t){var i={},a=t.map((function(t){return t[e]}));a.forEach((function(t){var n=r.__read(l(t,f,v),2),e=n[0],o=n[1],a=e+"-"+o;i[a]=i[a]||{x0:e,x1:o,count:0},i[a].count++}));var u=r.__read(n.as,2),s=u[0],c=u[1];if(!s||!c)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var d=o.pick(t[0],g);o.forIn(i,(function(t){var n=o.assign({},d);n[s]=[t.x0,t.x1],n[c]=t.count,p.push(n)}))})),t.rows=p}}a.DataSet.registerTransform("bin.histogram",d),a.DataSet.registerTransform("bin.dot",d)},"./src/transform/bin/quantile.ts": /*!***************************************!*\ !*** ./src/transform/bin/quantile.ts ***! \***************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=e(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(e(/*! ../../util/partition */"./src/util/partition.ts")),u=r.__importDefault(e(/*! ../../util/p-by-fraction */"./src/util/p-by-fraction.ts")),s=e(/*! ../../data-set */"./src/data-set.ts"),l=s.DataSet.registerTransform,c=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),d={as:"_bin",groupBy:[],fraction:4};function f(t,n){n=o.assign({},d,n);var e=c.getField(n),r=n.as;if(!o.isString(r))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var s=n.p,l=n.fraction;o.isArray(s)&&0!==s.length||(s=u.default(l));var f=t.rows,h=n.groupBy,_=a.default(f,h),v=[];o.forIn(_,(function(t){var n=t[0],o=t.map((function(t){return t[e]})),a=s.map((function(t){return i.quantile(o,t)}));n[r]=a,v.push(n)})),t.rows=v}l("bin.quantile",f)},"./src/transform/bin/rectangle.ts": /*!****************************************!*\ !*** ./src/transform/bin/rectangle.ts ***! \****************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=e(/*! ../../data-set */"./src/data-set.ts"),a=i.DataSet.registerTransform,u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};function l(t,n,e){var r=t-e,o=Math.floor(r/n);return[o*n+e,(o+1)*n+e]}function c(t,n){n=o.assign({},s,n);var e=r.__read(u.getFields(n),2),i=e[0],a=e[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],_=n.binWidth||[];if(2!==_.length){var v=r.__read(n.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(n.offset,2),j=b[0],w=b[1];m.forEach((function(t){var n=r.__read(l(t[0],_[0],j),2),e=n[0],o=n[1],i=r.__read(l(t[1],_[1],w),2),a=i[0],u=i[1],s=e+"-"+o+"-"+a+"-"+u;y[s]=y[s]||{x0:e,x1:o,y0:a,y1:u,count:0},y[s].count++}));var x=[],E=r.__read(n.as,3),M=E[0],S=E[1],O=E[2];if(!M||!S||!O)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(n.sizeByCount){var P=0;o.forIn(y,(function(t){t.count>P&&(P=t.count)})),o.forIn(y,(function(t){var n=t.x0,e=t.x1,o=t.y0,i=t.y1,a=t.count,u=a/P,s=r.__read([(n+e)/2,(o+i)/2],2),l=s[0],c=s[1],d=(e-n)*u/2,f=(i-o)*u/2,h=l-d,_=l+d,v=c-f,p=c+f,g={};g[M]=[h,_,_,h],g[S]=[v,v,p,p],g[O]=a,x.push(g)}))}else o.forIn(y,(function(t){var n={};n[M]=[t.x0,t.x1,t.x1,t.x0],n[S]=[t.y0,t.y0,t.y1,t.y1],n[O]=t.count,x.push(n)}));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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ../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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=e(/*! ../../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,n,e){return void 0===e&&(e={}),t.forEach((function(t){var r=n.edgeSource(t),o=n.edgeTarget(t);e[r]||(e[r]={id:r}),e[o]||(e[o]={id:o})})),r.values(e)}function u(t,n,e){r.forIn(t,(function(t,r){t.inEdges=n.filter((function(t){return""+e.target(t)===""+r})),t.outEdges=n.filter((function(t){return""+e.source(t)===""+r})),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach((function(n){t.value+=e.targetWeight(n)})),t.outEdges.forEach((function(n){t.value+=e.sourceWeight(n)}))}))}function s(t,n){var e={weight:function(t,n){return n.value-t.value},frequency:function(t,n){return n.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}},o=e[n.sortBy];!o&&r.isFunction(n.sortBy)&&(o=n.sortBy),o&&t.sort(o)}function l(t,n){var e=t.length;if(!e)throw new TypeError("Invalid nodes: it's empty!");if(n.weight){var r=n.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var o=r/(2*e),i=n.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(e,r){for(var a=0,u=r-1;u>=0;u--)a+=t[u].width+2*o;var s=e.minX=o+a,l=e.maxX=e.minX+e.width,c=e.minY=n.y-i/2,d=e.maxY=c+i;e.x=[s,l,l,s],e.y=[c,c,d,d]}))}else{var u=1/e;t.forEach((function(t,e){t.x=(e+.5)*u,t.y=n.y}))}}function c(t,n,e){if(e.weight){var o={};r.forIn(t,(function(t,n){o[n]=t.value})),n.forEach((function(n){var r=e.source(n),i=e.target(n),a=t[r],u=t[i];if(a&&u){var s=o[r],l=e.sourceWeight(n),c=a.minX+(a.value-s)/a.value*a.width,d=c+l/a.value*a.width;o[r]-=l;var f=o[i],h=e.targetWeight(n),_=u.minX+(u.value-f)/u.value*u.width,v=_+h/u.value*u.width;o[i]-=h;var p=e.y;n.x=[c,d,_,v],n.y=[p,p,p,p]}}))}else n.forEach((function(n){var r=t[e.source(n)],o=t[e.target(n)];r&&o&&(n.x=[r.x,o.x],n.y=[r.y,o.y])}))}function d(t,n){n=r.assign({},i,n);var e={},o=t.nodes,d=t.edges;r.isArray(o)&&0!==o.length||(o=a(d,n,e)),o.forEach((function(t){var r=n.id(t);e[r]=t})),u(e,d,n),s(o,n),l(o,n),c(e,d,n),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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importDefault(e(/*! dagre */"./node_modules/_dagre@0.8.5@dagre/index.js")),a=e(/*! ../../data-set */"./src/data-set.ts"),u={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(t){return t.source},target:function(t){return t.target}};function s(t,n){n=o.assign({},u,n);var e=new i.default.graphlib.Graph;e.setGraph({}),e.setDefaultEdgeLabel((function(){return{}})),t.nodes.forEach((function(t){var r=n.nodeId?n.nodeId(t):t.id;t.height||t.width||(t.height=t.width=n.edgesep),e.setNode(r,t)})),t.edges.forEach((function(t){e.setEdge(n.source(t),n.target(t))})),i.default.layout(e);var r=[],a=[];e.nodes().forEach((function(t){var n=e.node(t),o=n.x,i=n.y,a=n.height,u=n.width;n.x=[o-u/2,o+u/2,o+u/2,o-u/2],n.y=[i+a/2,i+a/2,i-a/2,i-a/2],r.push(n)})),e.edges().forEach((function(t){var n=e.edge(t).points,r={};r.x=n.map((function(t){return t.x})),r.y=n.map((function(t){return t.y})),a.push(r)})),t.nodes=r,t.edges=a}a.DataSet.registerTransform("diagram.dagre",s),a.DataSet.registerTransform("dagre",s)},"./src/transform/diagram/sankey.ts": /*!*****************************************!*\ !*** ./src/transform/diagram/sankey.ts ***! \*****************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=e(/*! d3-sankey */"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js"),i=e(/*! ../../data-set */"./src/data-set.ts"),a={sankeyLeft:o.sankeyLeft,sankeyRight:o.sankeyRight,sankeyCenter:o.sankeyCenter,sankeyJustify:o.sankeyJustify},u={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 s(t,n){n=r.assign({},u,n);var e=null;r.isString(n.nodeAlign)?e=a[n.nodeAlign]:r.isFunction(n.nodeAlign)&&(e=n.nodeAlign);var i=o.sankey().nodeSort(n.sort).links((function(t){return t.edges})).nodeWidth(n.nodeWidth).nodePadding(n.nodePadding).extent([[0,0],[1,1]]);r.isFunction(n.nodeId)&&i.nodeId(n.nodeId),e&&i.nodeAlign(e),i(t),t.nodes.forEach((function(t){var n=t.x0,e=t.x1,r=t.y0,o=t.y1;t.x=[n,e,e,n],t.y=[r,r,o,o]})),t.edges.forEach((function(t){var n=t.source,e=t.target,r=n.x1,o=e.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",s),i.DataSet.registerTransform("sankey",s)},"./src/transform/diagram/voronoi.ts": /*!******************************************!*\ !*** ./src/transform/diagram/voronoi.ts ***! \******************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importStar(e(/*! d3-voronoi */"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js")),i=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=e(/*! ../../data-set */"./src/data-set.ts"),u=a.DataSet.registerTransform,s=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l={as:["_x","_y"]};function c(t,n){n=i.assign({},l,n);var e=n.as;if(!i.isArray(e)||2!==e.length)throw new TypeError("Invalid as: must be an array with two strings!");var r=e[0],a=e[1],u=s.getFields(n);if(!i.isArray(u)||2!==u.length)throw new TypeError("Invalid fields: must be an array with two strings!");var c=u[0],d=u[1],f=t.rows,h=f.map((function(t){return[t[c],t[d]]})),_=o.voronoi();n.extend&&_.extent(n.extend),n.size&&_.size(n.size);var v=_(h).polygons();f.forEach((function(t,n){var e=v[n].filter((function(t){return!!t}));t[r]=e.map((function(t){return t[0]})),t[a]=e.map((function(t){return t[1]}))}))}u("diagram.voronoi",c),u("voronoi",c)},"./src/transform/fill-rows.ts": /*!************************************!*\ !*** ./src/transform/fill-rows.ts ***! \************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importDefault(e(/*! ../util/partition */"./src/util/partition.ts")),a=e(/*! ../data-set */"./src/data-set.ts"),u={fillBy:"group",groupBy:[],orderBy:[]};function s(t,n){var e=t.map((function(t){return t}));return n.forEach((function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)})),e}function l(t,n){n=o.assign({},u,n);var e=t.rows,r=n.groupBy,a=n.orderBy,l=i.default(e,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 n=a.map((function(n){return t[n]})).join("-");f.push(n),h[n]=t})),"order"===n.fillBy){var _=d[0],v=[],p={};e.forEach((function(t){var n=a.map((function(n){return t[n]})).join("-");-1===v.indexOf(n)&&(v.push(n),p[n]=t)}));var g=s(v,f);g.forEach((function(t){var n={};r.forEach((function(t){n[t]=_[t]})),a.forEach((function(e){n[e]=p[t][e]})),e.push(n),d.push(n),f.push(t),h[t]=n})),c=d.length}o.forIn(l,(function(t){if(t!==d&&t.length=c-t.length)return!0;var u=h[o],s={};return r.forEach((function(t){s[t]=n[t]})),a.forEach((function(t){s[t]=u[t]})),e.push(s),!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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! ../data-set */"./src/data-set.ts");function o(t){return!!t}r.DataSet.registerTransform("filter",(function(t,n){t.rows=t.rows.filter(n.callback||o)}))},"./src/transform/fold.ts": /*!*******************************!*\ !*** ./src/transform/fold.ts ***! \*******************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=e(/*! ../data-set */"./src/data-set.ts"),i=e(/*! ../util/option-parser */"./src/util/option-parser.ts"),a={fields:[],key:"key",retains:[],value:"value"};o.DataSet.registerTransform("fold",(function(t,n){var e=t.getColumnNames();n=r.assign({},a,n);var o=i.getFields(n);0===o.length&&(o=e);var u=n.key,s=n.value,l=n.retains;l&&0!==l.length||(l=r.difference(e,o));var c=[];t.rows.forEach((function(t){o.forEach((function(n){var e=r.pick(t,l);e[u]=n,e[s]=t[n],c.push(e)}))})),t.rows=c}))},"./src/transform/geo/centroid.ts": /*!***************************************!*\ !*** ./src/transform/geo/centroid.ts ***! \***************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=e(/*! ../../data-set */"./src/data-set.ts"),i=o.DataSet.registerTransform,a=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={as:["_centroid_x","_centroid_y"]};function s(t,n){n=r.assign({},u,n);var e=a.getField(n),o=n.geoView||n.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=n.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 s=i[0],l=i[1];t.rows.forEach((function(t){var n=o.geoFeatureByName(t[e]);n&&(o._projectedAs?(t[s]=n[o._projectedAs[2]],t[l]=n[o._projectedAs[3]]):(t[s]=n.centroidX,t[l]=n.centroidY))}))}i("geo.centroid",s)},"./src/transform/geo/projection.ts": /*!*****************************************!*\ !*** ./src/transform/geo/projection.ts ***! \*****************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=e(/*! d3-geo */"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=r.__importDefault(e(/*! point-at-length */"./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),u=e(/*! ../../data-set */"./src/data-set.ts"),s=u.DataSet.registerTransform,l=r.__importDefault(e(/*! ../../util/get-geo-projection */"./src/util/get-geo-projection.ts")),c={as:["_x","_y","_centroid_x","_centroid_y"]};function d(t,n){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");n=o.assign({},c,n);var e=n.projection;if(!e)throw new TypeError("Invalid projection!");e=l.default(e);var u=i.geoPath(e),s=n.as;if(!o.isArray(s)||4!==s.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=s;var d=r.__read(s,4),f=d[0],h=d[1],_=d[2],v=d[3];t.rows.forEach((function(t){t[f]=[],t[h]=[];var n=u(t);if(n){var e=a.default(n);e._path.forEach((function(n){t[f].push(n[1]),t[h].push(n[2])}));var r=u.centroid(t);t[_]=r[0],t[v]=r[1]}})),t.rows=t.rows.filter((function(t){return 0!==t[f].length}))}s("geo.projection",d)},"./src/transform/geo/region.ts": /*!*************************************!*\ !*** ./src/transform/geo/region.ts ***! \*************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),o=e(/*! ../../data-set */"./src/data-set.ts"),i=o.DataSet.registerTransform,a=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),u={as:["_x","_y"]};function s(t,n){n=r.assign({},u,n);var e=a.getField(n),o=n.geoView||n.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=n.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 s=i[0],l=i[1];t.rows.forEach((function(t){var n=o.geoFeatureByName(t[e]);n&&(o._projectedAs?(t[s]=n[o._projectedAs[0]],t[l]=n[o._projectedAs[1]]):(t[s]=n.longitude,t[l]=n.latitude))}))}i("geo.region",s)},"./src/transform/hierarchy/cluster.ts": /*!********************************************!*\ !*** ./src/transform/hierarchy/cluster.ts ***! \********************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importStar(e(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=e(/*! ../../data-set */"./src/data-set.ts"),u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function l(t,n){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY||!t.root)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root;n=i.assign({},s,n);var r=n.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=u.getField(n)}catch(h){}l&&e.sum((function(t){return t[l]}));var c=o.cluster();c.size(n.size),n.nodeSize&&c.nodeSize(n.nodeSize),n.separation&&c.separation(n.separation),c(e);var d=r[0],f=r[1];e.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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importDefault(e(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js")),i=e(/*! ../../data-set */"./src/data-set.ts"),a={};function u(t,n){var e=t.root;if(n=Object.assign({},a,n),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.default.compactBox(e,n)}i.DataSet.registerTransform("hierarchy.compact-box",u),i.DataSet.registerTransform("compact-box-tree",u),i.DataSet.registerTransform("non-layered-tidy-tree",u),i.DataSet.registerTransform("mindmap-logical",u)},"./src/transform/hierarchy/dendrogram.ts": /*!***********************************************!*\ !*** ./src/transform/hierarchy/dendrogram.ts ***! \***********************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importDefault(e(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js")),i=e(/*! ../../data-set */"./src/data-set.ts"),a={};function u(t,n){var e=t.root;if(n=Object.assign({},a,n),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.default.dendrogram(e,n)}i.DataSet.registerTransform("hierarchy.dendrogram",u),i.DataSet.registerTransform("dendrogram",u)},"./src/transform/hierarchy/indented.ts": /*!*********************************************!*\ !*** ./src/transform/hierarchy/indented.ts ***! \*********************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importDefault(e(/*! @antv/hierarchy */"./node_modules/_@antv_hierarchy@0.6.6@@antv/hierarchy/build/hierarchy.js")),i=e(/*! ../../data-set */"./src/data-set.ts"),a={};function u(t,n){var e=t.root;if(n=Object.assign({},a,n),t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=o.default.indented(e,n)}i.DataSet.registerTransform("hierarchy.indented",u),i.DataSet.registerTransform("indented-tree",u)},"./src/transform/hierarchy/pack.ts": /*!*****************************************!*\ !*** ./src/transform/hierarchy/pack.ts ***! \*****************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importStar(e(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),a=e(/*! ../../data-set */"./src/data-set.ts"),u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],padding:0,as:["x","y","r"]};function l(t,n){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root;n=o.assign({},s,n);var r,l=n.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=u.getField(n)}catch(_){}r&&e.sum((function(t){return t[r]})).sort((function(t,n){return n[r]-t[r]}));var c=i.pack();c.size(n.size),n.padding&&c.padding(n.padding),c(e);var d=l[0],f=l[1],h=l[2];e.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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importStar(e(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=e(/*! ../../data-set */"./src/data-set.ts"),u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function l(t,n){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root;n=i.assign({},s,n);var r,l=n.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=u.getField(n)}catch(h){}r&&e.sum((function(t){return t[r]}));var c=o.partition();c.size(n.size).round(n.round).padding(n.padding),c(e);var d=l[0],f=l[1];e.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(n){-1===l.indexOf(n)&&delete t[n]}))}))}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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importStar(e(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=e(/*! ../../data-set */"./src/data-set.ts"),u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function l(t,n){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root;n=i.assign({},s,n);var r,l=n.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=u.getField(n)}catch(h){}r&&e.sum((function(t){return t[r]}));var c=o.tree();c.size(n.size),n.nodeSize&&c.nodeSize(n.nodeSize),n.separation&&c.separation(n.separation),c(e);var d=l[0],f=l[1];e.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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importStar(e(/*! d3-hierarchy */"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),i=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),a=e(/*! ../../data-set */"./src/data-set.ts"),u=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),s={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,n){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root;n=i.assign({},s,n);var r,l=n.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=u.getField(n)}catch(h){}r&&e.sum((function(t){return t[r]}));var c=o.treemap();c.tile(o[n.tile]).size(n.size).round(n.round).padding(n.padding).paddingInner(n.paddingInner).paddingOuter(n.paddingOuter).paddingTop(n.paddingTop).paddingRight(n.paddingRight).paddingBottom(n.paddingBottom).paddingLeft(n.paddingLeft),c(e);var d=l[0],f=l[1];e.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(n){-1===l.indexOf(n)&&delete t[n]}))}))}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,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importStar(e(/*! simple-statistics */"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),a=r.__importDefault(e(/*! ../util/partition */"./src/util/partition.ts")),u=e(/*! ../data-set */"./src/data-set.ts"),s=e(/*! ../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,n){n=o.assign({},l,n);var e=s.getField(n),r=n.method;if(!r)throw new TypeError("Invalid method!");if("value"===r&&!o.has(n,"value"))throw new TypeError("Invalid value: it is nil.");var i=c(t.getColumn(e)),u=a.default(t.rows,n.groupBy);o.forIn(u,(function(t){var a=c(t.map((function(t){return t[e]})));0===a.length&&(a=i),t.forEach((function(i){if(o.isUndefined(i[e]))if(o.isFunction(r))i[e]=r(i,a,n.value,t);else{if(!o.isString(r))throw new TypeError("Invalid method: must be a function or one of "+d.join(", "));i[e]=f[r](i,a,n.value)}}))}))}d.forEach((function(t){f[t]=function(n,e){return i[t](e)}})),f.value=function(t,n,e){return e},u.DataSet.registerTransform("impute",h)},"./src/transform/kde.ts": /*!******************************!*\ !*** ./src/transform/kde.ts ***! \******************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importDefault(e(/*! ../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(e(/*! ../util/kernel */"./src/util/kernel.ts")),u=r.__importStar(e(/*! ../util/bandwidth */"./src/util/bandwidth.ts")),s=r.__importDefault(e(/*! ../util/partition */"./src/util/partition.ts")),l=e(/*! ../data-set */"./src/data-set.ts"),c=e(/*! ../util/option-parser */"./src/util/option-parser.ts"),d=e(/*! 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(u);function v(t,n){n=o.assign({},f,n);var e=c.getFields(n);if(!o.isArray(e)||e.length<1)throw new TypeError("invalid fields: must be an array of at least 1 strings!");var l=n.as;if(!o.isArray(l)||3!==l.length)throw new TypeError("invalid as: must be an array of 3 strings!");var _=n.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=n.extent;if(!o.isArray(v)||0===v.length){var p=[];o.each(e,(function(n){var e=t.range(n);p=p.concat(e)})),v=[Math.min.apply(Math,r.__spread(p)),Math.max.apply(Math,r.__spread(p))]}var g=n.bandwidth;o.isString(g)&&u[g]?g=u[g](t.getColumn(e[0])):o.isFunction(g)?g=g(t.getColumn(e[0])):(!o.isNumber(g)||g<=0)&&(g=u.nrd(t.getColumn(e[0])));var m=i.default(v,n.step?n.step:g),y=[],b=n.groupBy,j=s.default(t.rows,b);o.forIn(j,(function(t){var i={};o.each(e,(function(e){var a=o.pick(t[0],b);i[e]=d.kernelDensityEstimation(t.map((function(t){return t[e]})),_,g);var u=r.__read(l,3),s=u[0],c=u[1],f=u[2];a[s]=e,a[c]=[],a[f]=[],o.each(m,(function(t){var r=i[e](t);r>=n.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),n.default={KERNEL_METHODS:h,BANDWIDTH_METHODS:_}},"./src/transform/kernel-smooth/density.ts": /*!************************************************!*\ !*** ./src/transform/kernel-smooth/density.ts ***! \************************************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js"),i=r.__importDefault(e(/*! ../../util/get-series-values */"./src/util/get-series-values.ts")),a=r.__importDefault(e(/*! ../../util/kernel */"./src/util/kernel.ts")),u=e(/*! ../../data-set */"./src/data-set.ts"),s=e(/*! ../../util/option-parser */"./src/util/option-parser.ts"),l=e(/*! ../../util/bandwidth */"./src/util/bandwidth.ts"),c={as:["x","y","z"],method:"gaussian"},d=o.keys(a.default);function f(t,n){var e,u;n=o.assign({},c,n);var f=s.getFields(n);if(!o.isArray(f)||2!==f.length)throw new TypeError("invalid fields: must be an array of 2 strings!");var h,_=r.__read(n.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(n.method)){if(-1===d.indexOf(n.method))throw new TypeError("invalid method: "+n.method+". Must be one of "+d.join(", "));h=a.default[n.method]}var m,y,b,j,w=r.__read(f,2),x=w[0],E=w[1],M=n.extent,S=n.bandwidth;M&&Array.isArray(M)&&Array.isArray(M[0])&&Array.isArray(M[1])?(e=r.__read(M,2),m=e[0],y=e[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}))?(u=r.__read(S,2),b=u[0],j=u[1]):(b=l.silverman(t.getColumn(x)),j=l.silverman(t.getColumn(E)));for(var O=i.default(m,b),P=i.default(y,j),T=t.rows.length,k=[],A=0;Aj&&(O=j/n,e=Math.ceil(n*O/E)),T=y/e})),o.forIn(p,(function(t){var n=[P*x,(P+1)*x],e=n[1]-n[0],r=e*(1-M)/E,i=0,a=0;o.each(t,(function(t){for(var e=t[d],u=Math.round(e*O),s=0;se[o])return 1}return 0}:r.isString(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}n.default=o},"./src/util/tag-cloud.ts": /*!*******************************!*\ !*** ./src/util/tag-cloud.ts ***! \*******************************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=Math.PI/180,i=64,a=2048;function u(t){return t.text}function s(){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,n,e,r){if(!n.sprite){var u=t.context,s=t.ratio;u.clearRect(0,0,(i<<5)/s,a/s);var l=0,c=0,d=0,f=e.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;u.translate((l+(h>>1))/s,(c+(_>>1))/s),n.rotate&&u.rotate(n.rotate*o),u.fillText(n.text,0,0),n.padding&&(u.lineWidth=2*n.padding,u.strokeText(n.text,0,0)),u.restore(),n.width=h,n.height=_,n.xoff=l,n.yoff=c,n.x1=h>>1,n.y1=_>>1,n.x0=-n.x1,n.y0=-n.y1,n.hasText=!0,l+=h}var j=u.getImageData(0,0,(i<<5)/s,a/s).data,w=[];while(--r>=0)if(n=e[r],n.hasText){h=n.width;for(var x=h>>5,E=(_=n.y1-n.y0,0);E<_*x;E++)w[E]=0;if(l=n.xoff,null==l)return;c=n.yoff;for(var M=0,S=-1,O=0;O<_;O++){for(E=0;E>5),T=j[(c+O)*(i<<5)+(l+E)<<2]?1<<31-E%32:0;w[P]|=T,M|=T}M?S=O:(n.y0++,_--,O--,c++)}n.y1=n.y0+S,n.sprite=w.slice(0,(n.y1-n.y0)*x)}}}function _(t,n,e){e>>=5;for(var r,o=t.sprite,i=t.width>>5,a=t.x-(i<<4),u=127&a,s=32-u,l=t.y1-t.y0,c=(t.y+t.y0)*e+(a>>5),d=0;d>>u:0))&n[c+f])return!0;c+=e}return!1}function v(t,n){var e=t[0],r=t[1];n.x+n.x0r.x&&(r.x=n.x+n.x1),n.y+n.y1>r.y&&(r.y=n.y+n.y1)}function p(t,n){return t.x+t.x1>n[0].x&&t.x+t.x0n[0].y&&t.y+t.y0>2);t.width=(i<<5)/n,t.height=a/n;var e=t.getContext("2d");return e.fillStyle=e.strokeStyle="red",e.textAlign="center",{context:e,ratio:n}}function N(n,e,r){var o,i,a,u=e.x,s=e.y,l=Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=S(t),d=T()<.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(e.x=u+i,e.y=s+a,!(e.x+e.x0<0||e.y+e.y0<0||e.x+e.x1>t[0]||e.y+e.y1>t[1])&&(!r||!_(e,n,t[0]))&&(!r||p(e,r))){for(var h=e.sprite,v=e.width>>5,g=t[0]>>5,m=e.x-(v<<4),y=127&m,b=32-y,j=e.y1-e.y0,w=void 0,x=(e.y+e.y0)*g+(m>>5),E=0;E>>y:0);x+=g}return delete e.sprite,!0}}return!1}return A.canvas=function(t){return arguments.length?(k=j(t),A):k},A.start=function(){var i=r.__read(t,2),a=i[0],u=i[1],s=C(k()),l=A.board?A.board:y((t[0]>>5)*t[1]),c=O.length,d=[],f=O.map((function(t,r){return t.text=n.call(this,t,r),t.font=e.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,n){return n.size-t.size})),_=-1,p=A.board?[{x:0,y:0},{x:a,y:u}]:null;function g(){var n=Date.now();while(Date.now()-n>1,e.y=u*(T()+.5)>>1,h(s,e,f,_),e.hasText&&N(l,e,p)&&(d.push(e),p?A.hasImage||v(p,e):p=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}A._tags=d,A._bounds=p}return g(),A},A.createMask=function(n){var e=document.createElement("canvas"),o=r.__read(t,2),i=o[0],a=o[1];if(i&&a){var u=i>>5,s=y((i>>5)*a);e.width=i,e.height=a;var l=e.getContext("2d");l.drawImage(n,0,0,n.width,n.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;s[h]|=p}A.board=s,A.hasImage=!0}},A.timeInterval=function(t){return arguments.length?(P=null==t?1/0:t,A):P},A.words=function(t){return arguments.length?(O=t,A):O},A.size=function(n){return arguments.length?(t=[+n[0],+n[1]],A):t},A.font=function(t){return arguments.length?(e=j(t),A):e},A.fontStyle=function(t){return arguments.length?(m=j(t),A):m},A.fontWeight=function(t){return arguments.length?(x=j(t),A):x},A.rotate=function(t){return arguments.length?(E=j(t),A):E},A.text=function(t){return arguments.length?(n=j(t),A):n},A.spiral=function(t){return arguments.length?(S=w[t]||t,A):S},A.fontSize=function(t){return arguments.length?(o=j(t),A):o},A.padding=function(t){return arguments.length?(M=j(t),A):M},A.random=function(t){return arguments.length?(T=t,A):T},A}n.default=x},"./src/view.ts": /*!*********************!*\ !*** ./src/view.ts ***! \*********************/ /*! no static exports found */function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.View=void 0;var r=e(/*! tslib */"./node_modules/_tslib@2.1.0@tslib/tslib.js"),o=r.__importDefault(e(/*! wolfy87-eventemitter */"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),i=e(/*! @antv/util */"./node_modules/_@antv_util@2.0.10@@antv/util/lib/index.js");function a(t){var n={};return i.forIn(t,(function(t,e){i.isObject(t)&&t.isView?n[e]=t:i.isArray(t)?n[e]=t.concat([]):i.isPlainObject(t)?n[e]=i.clone(t):n[e]=t})),n}var u=function(t){function n(n,e){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=[],n&&n.isDataSet?r.dataSet=n:(r.dataSet=null,e=n),r.loose=!r.dataSet,e&&(r.watchingStates=e.watchingStates),!r.loose){var o=r.watchingStates;n.on("statechange",(function(t){i.isArray(o)?o.indexOf(t)>-1&&r._reExecute():r._reExecute()}))}return r}return r.__extends(n,t),n.prototype._parseStateExpression=function(t){var n=this.dataSet;if(null!==n){var e=/^\$state\.(\w+)/.exec(t);return e?n.state[e[1]]:t}},n.prototype._preparseOptions=function(t){var n=this,e=a(t);return this.loose||i.forIn(e,(function(t,r){i.isString(t)&&/^\$state\./.test(t)&&(e[r]=n._parseStateExpression(t))})),e},n.prototype._prepareSource=function(t,e){if(this._source={source:t,options:e},e){r=this._preparseOptions(e);this.origin=n.DataSet.getConnector(r.type)(t,r,this)}else if(t instanceof n||i.isString(t))this.origin=n.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=n.DataSet.getConnector(r.type)(r,this)}return this.rows=i.deepMix([],this.origin),this},n.prototype.source=function(t,n){return this._prepareSource(t,n)._reExecuteTransforms(),this.trigger("change",[]),this},n.prototype.transform=function(t){return t&&t.type&&(this.transforms.push(t),this._executeTransform(t)),this},n.prototype._executeTransform=function(t){t=this._preparseOptions(t);var e=n.DataSet.getTransform(t.type);e(this,t)},n.prototype._reExecuteTransforms=function(){var t=this;this.transforms.forEach((function(n){t._executeTransform(n)}))},n.prototype.addRow=function(t){this.rows.push(t)},n.prototype.removeRow=function(t){this.rows.splice(t,1)},n.prototype.updateRow=function(t,n){i.assign(this.rows[t],n)},n.prototype.findRows=function(t){return this.rows.filter((function(n){return i.isMatch(n,t)}))},n.prototype.findRow=function(t){return i.find(this.rows,t)},n.prototype.getColumnNames=function(){var t=this.rows[0];return t?i.keys(t):[]},n.prototype.getColumnName=function(t){return this.getColumnNames()[t]},n.prototype.getColumnIndex=function(t){var n=this.getColumnNames();return n.indexOf(t)},n.prototype.getColumn=function(t){return this.rows.map((function(n){return n[t]}))},n.prototype.getColumnData=function(t){return this.getColumn(t)},n.prototype.getSubset=function(t,n,e){for(var r=[],o=t;o<=n;o++)r.push(i.pick(this.rows[o],e));return r},n.prototype.toString=function(t){return void 0===t&&(t=!1),t?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},n.prototype._reExecute=function(){var t=this._source,n=t.source,e=t.options;this._prepareSource(n,e),this._reExecuteTransforms(),this.trigger("change",[])},n}(o.default);n.View=u}})}))}}]);