middle-admin-ant/public/js/data-set.min.js

8 lines
524 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* Minified by jsDelivr using Terser v3.14.1.
* Original file: /npm/@antv/data-set@0.11.4/build/data-set.js
*
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.DataSet=e():t.DataSet=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="./src/index.ts")}({"./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js":function(t,e,n){var r;"undefined"!=typeof self&&self,r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=5)}([function(t,e,n){var r=n(7);t.exports={assign:r}},function(t,e,n){var r=n(3),o=function(){function t(t,e){void 0===e&&(e={});this.options=e,this.rootNode=r(t,e)}return t.prototype.execute=function(){throw new Error("please override this method")},t}();t.exports=o},function(t,e,n){var r=n(4),o=["LR","RL","TB","BT","H","V"],i=["LR","RL","H"],a=o[0];t.exports=function(t,e,n){var s=e.direction||a;if(e.isHorizontal=function(t){return i.indexOf(t)>-1}(s),s&&-1===o.indexOf(s))throw new TypeError("Invalid direction: "+s);if(s===o[0])n(t,e);else if(s===o[1])n(t,e),t.right2left();else if(s===o[2])n(t,e);else if(s===o[3])n(t,e),t.bottom2top();else if(s===o[4]||s===o[5]){var u=r(t,e),l=u.left,c=u.right;n(l,e),n(c,e),e.isHorizontal?l.right2left():l.bottom2top(),c.translate(l.x-c.x,l.y-c.y),t.x=l.x,t.y=c.y;var d=t.getBoundingBox();e.isHorizontal?d.top<0&&t.translate(0,-d.top):d.left<0&&t.translate(-d.left,0)}var f=e.fixedRoot;return void 0===f&&(f=!0),f&&t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,e,n){var r=n(0),o={getId:function(t){return t.id||t.name},getHGap:function(t){return t.hgap||18},getVGap:function(t){return t.vgap||18},getChildren:function(t){return t.children},getHeight:function(t){return t.height||36},getWidth:function(t){var e=t.name||" ";return t.width||18*e.split("").length}};function i(t,e){var n=this;if(n.vgap=n.hgap=0,t instanceof i)return t;n.data=t;var r=e.getHGap(t),o=e.getVGap(t);return n.width=e.getWidth(t),n.height=e.getHeight(t),n.id=e.getId(t),n.x=n.y=0,n.depth=0,n.children||(n.children=[]),n.addGap(r,o),n}r.assign(i.prototype,{isRoot:function(){return 0===this.depth},isLeaf:function(){return 0===this.children.length},addGap:function(t,e){this.hgap+=t,this.vgap+=e,this.width+=2*t,this.height+=2*e},eachNode:function(t){for(var e,n=[this];e=n.pop();)t(e),n=n.concat(e.children)},DFTraverse:function(t){this.eachNode(t)},BFTraverse:function(t){for(var e,n=[this];e=n.shift();)t(e),n=n.concat(e.children)},getBoundingBox:function(){var t={left:Number.MAX_VALUE,top:Number.MAX_VALUE,width:0,height:0};return this.eachNode(function(e){t.left=Math.min(t.left,e.x),t.top=Math.min(t.top,e.y),t.width=Math.max(t.width,e.x+e.width),t.height=Math.max(t.height,e.y+e.height)}),t},translate:function(t,e){void 0===t&&(t=0),void 0===e&&(e=0),this.eachNode(function(n){n.x+=t,n.y+=e})},right2left:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.x=e.x-2*(e.x-t.left)-e.width}),this.translate(t.width,0)},bottom2top:function(){var t=this.getBoundingBox();this.eachNode(function(e){e.y=e.y-2*(e.y-t.top)-e.height}),this.translate(0,t.height)}}),t.exports=function(t,e,n){void 0===e&&(e={});var a,s=new i(t,e=r.assign({},o,e)),u=[s];if(!n&&!t.collapsed)for(;a=u.pop();)if(!a.data.collapsed){var l=e.getChildren(a.data),c=l?l.length:0;if(a.children=new Array(c),l&&c)for(var d=0;d<c;d++){var f=new i(l[d],e);a.children[d]=f,u.push(f),f.parent=a,f.depth=a.depth+1}}return s}},function(t,e,n){var r=n(3);t.exports=function(t,e){for(var n=r(t.data,e,!0),o=r(t.data,e,!0),i=t.children.length,a=Math.round(i/2),s=e.getSide||function(t,e){return e<a?"right":"left"},u=0;u<i;u++){var l=t.children[u];"right"===s(l,u)?o.children.push(l):n.children.push(l)}return n.eachNode(function(t){t.isRoot()||(t.side="left")}),o.eachNode(function(t){t.isRoot()||(t.side="right")}),{left:n,right:o}}},function(t,e,n){var r={compactBox:n(6),dendrogram:n(9),indented:n(11),mindmap:n(13)};t.exports=r},function(t,e,n){var r=n(1),o=n(8),i=n(2),a=n(0),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){return i(this.rootNode,this.options,o)},r}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e){function n(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}t.exports=function(t,e,r,o){return e&&n(t,e),r&&n(t,r),o&&n(t,o),t}},function(t,e){function n(t,e,n,r){void 0===r&&(r=[]);var o=this;o.w=t||0,o.h=e||0,o.y=n||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,e){var n=function t(e,n){var r=n?e.y:e.x;return e.children.forEach(function(e){r=Math.min(t(e,n),r)}),r}(t,e);!function t(e,n,r){r?e.y+=n:e.x+=n,e.children.forEach(function(e){t(e,n,r)})}(t,-n,e)}n.fromNode=function(t,e){if(!t)return null;var r=[];return t.children.forEach(function(t){r.push(n.fromNode(t,e))}),e?new n(t.height,t.width,t.x,r):new n(t.width,t.height,t.y,r)},t.exports=function(t,e){void 0===e&&(e={});var o=e.isHorizontal;function i(t){0===t.cs?(t.el=t,t.er=t,t.msel=t.mser=0):(t.el=t.c[0].el,t.msel=t.c[0].msel,t.er=t.c[t.cs-1].er,t.mser=t.c[t.cs-1].mser)}function a(t,e,n){for(var r=t.c[e-1],o=r.mod,i=t.c[e],a=i.mod;null!==r&&null!==i;){c(r)>n.low&&(n=n.nxt);var d=o+r.prelim+r.w-(a+i.prelim);d>0&&(a+=d,s(t,e,n.index,d));var f=c(r),h=c(i);f<=h&&null!==(r=l(r))&&(o+=r.mod),f>=h&&null!==(i=u(i))&&(a+=i.mod)}!r&&i?function(t,e,n,r){var o=t.c[0].el;o.tl=n;var i=r-n.mod-t.c[0].msel;o.mod+=i,o.prelim-=i,t.c[0].el=t.c[e].el,t.c[0].msel=t.c[e].msel}(t,e,i,a):r&&!i&&function(t,e,n,r){var o=t.c[e].er;o.tr=n;var i=r-n.mod-t.c[e].mser;o.mod+=i,o.prelim-=i,t.c[e].er=t.c[e-1].er,t.c[e].mser=t.c[e-1].mser}(t,e,r,o)}function s(t,e,n,r){t.c[e].mod+=r,t.c[e].msel+=r,t.c[e].mser+=r,function(t,e,n,r){if(n!==e-1){var o=e-n;t.c[n+1].shift+=r/o,t.c[e].shift-=r/o,t.c[e].change-=r-r/o}}(t,e,n,r)}function u(t){return 0===t.cs?t.tl:t.c[0]}function l(t){return 0===t.cs?t.tr:t.c[t.cs-1]}function c(t){return t.y+t.h}function d(t,e,n){for(;null!==n&&t>=n.low;)n=n.nxt;return{low:t,index:e,nxt:n}}!function t(e,n,r){void 0===r&&(r=0),n?(e.x=r,r+=e.width):(e.y=r,r+=e.height),e.children.forEach(function(e){t(e,n,r)})}(t,o);var f=n.fromNode(t,o);return function t(e){if(0!==e.cs){t(e.c[0]);for(var n=d(c(e.c[0].el),0,null),r=1;r<e.cs;++r){t(e.c[r]);var o=c(e.c[r].er);a(e,r,n),n=d(o,r,n)}!function(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}(e),i(e)}else i(e)}(f),function t(e,n){n+=e.mod,e.x=e.prelim+n,function(t){for(var e=0,n=0,r=0;r<t.cs;r++)e+=t.c[r].shift,n+=e+t.c[r].change,t.c[r].mod+=n}(e);for(var r=0;r<e.cs;r++)t(e.c[r],n)}(f,0),function t(e,n,r){r?n.y=e.x:n.x=e.x,e.c.forEach(function(e,o){t(e,n.children[o],r)})}(f,t,o),r(t,o),t}},function(t,e,n){var r=n(1),o=n(10),i=n(2),a=n(0),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){return this.rootNode.width=0,i(this.rootNode,this.options,o)},r}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e,n){var r=n(0);function o(t,e){void 0===t&&(t=0),void 0===e&&(e=[]);var n=this;n.x=n.y=0,n.leftChild=n.rightChild=null,n.height=0,n.children=e}var i={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},i,e);var n,a=0;var s=function t(e){if(!e)return null;e.width=0,e.depth&&e.depth>a&&(a=e.depth);var n=e.children,r=n.length,i=new o(e.height,[]);return n.forEach(function(e,n){var o=t(e);i.children.push(o),0===n&&(i.leftChild=o),n===r-1&&(i.rightChild=o)}),i.originNode=e,i.isLeaf=e.isLeaf(),i}(t);return function t(e){if(e.isLeaf||0===e.children.length)e.drawingDepth=a;else{var n=e.children.map(function(e){return t(e)}),r=Math.min.apply(null,n);e.drawingDepth=r-1}return e.drawingDepth}(s),function t(r){r.x=r.drawingDepth*e.rankSep,r.isLeaf?(r.y=0,n&&(r.y=n.y+n.height+e.nodeSep,r.originNode.parent!==n.originNode.parent&&(r.y+=e.subTreeSep)),n=r):(r.children.forEach(function(e){t(e)}),r.y=(r.leftChild.y+r.rightChild.y)/2)}(s),function t(e,n,r){r?(n.x=e.x,n.y=e.y):(n.x=e.y,n.y=e.x),e.children.forEach(function(e,o){t(e,n.children[o],r)})}(s,t,e.isHorizontal),t}},function(t,e,n){var r=n(1),o=n(12),i=n(4),a=n(0),s=["LR","RL","H"],u=s[0],l=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){var t=this.options,e=this.rootNode;t.isHorizontal=!0;var n=t.indent,r=t.direction||u;if(r&&-1===s.indexOf(r))throw new TypeError("Invalid direction: "+r);if(r===s[0])o(e,n);else if(r===s[1])o(e,n),e.right2left();else if(r===s[2]){var a=i(e,t),l=a.left,c=a.right;o(l,n),l.right2left(),o(c,n);var d=l.getBoundingBox();c.translate(d.width,0),e.x=c.x-e.width/2}return e},r}(r),c={};t.exports=function(t,e){return e=a.assign({},c,e),new l(t,e).execute()}},function(t,e){t.exports=function(t,e){void 0===e&&(e=20);var n=null;t.eachNode(function(t){!function(t,e,n){t.x+=n*t.depth,t.y=e?e.y+e.height:0}(t,n,e),n=t})}},function(t,e,n){var r=n(1),o=n(14),i=n(2),a=n(0),s=function(t){var e,n;function r(){return t.apply(this,arguments)||this}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r.prototype.execute=function(){return i(this.rootNode,this.options,o)},r}(r),u={};t.exports=function(t,e){return e=a.assign({},u,e),new s(t,e).execute()}},function(t,e,n){var r=n(0);var o={getSubTreeSep:function(){return 0}};t.exports=function(t,e){void 0===e&&(e={}),e=r.assign({},o,e),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse(function(t){t.x=t.parent.x+t.parent.width}),t.parent=null,function t(e,n){var r=0;return e.children.length?e.children.forEach(function(e){r+=t(e,n)}):r=e.height,e._subTreeSep=n.getSubTreeSep(e.data),e.totalHeight=Math.max(e.height,r)+2*e._subTreeSep,e.totalHeight}(t,e),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode(function(t){var e=t.children,n=e.length;if(n){var r=e[0];if(r.startY=t.startY+t._subTreeSep,1===n)r.y=t.y+t.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var o=1;o<n;o++){var i=e[o];i.startY=e[o-1].startY+e[o-1].totalHeight,i.y=i.startY+i.totalHeight/2-i.height/2}}}}),function t(e){var n=e.children,r=n.length;if(r){n.forEach(function(e){t(e)});var o=n[0],i=n[r-1],a=i.y-o.y+i.height,s=0;if(n.forEach(function(t){s+=t.totalHeight}),a>e.height)e.y=o.y+a/2-e.height/2;else if(1!==n.length||e.height>s){var u=e.y+(e.height-a)/2-o.y;n.forEach(function(t){t.translate(0,u)})}else e.y=(o.y+o.height/2+i.y+i.height/2)/2-e.height/2}}(t)}}])},t.exports=r()},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/augment.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/mix.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=t[0],i=1;i<t.length;i++){var a=t[i];o.default(a)&&(a=a.prototype),r.default(n.prototype,a)}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/cache.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.map={}}return t.prototype.has=function(t){return void 0!==this.map[t]},t.prototype.get=function(t,e){var n=this.map[t];return void 0===n?e:n},t.prototype.set=function(t,e){this.map[t]=e},t.prototype.clear=function(){this.map={}},t.prototype.delete=function(t){delete this.map[t]},t.prototype.size=function(){return Object.keys(this.map).length},t}();e.default=r},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clamp.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e,n){return t<e?e:t>n?n:t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clear-animation-frame.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout)(t)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/clone.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=function(t){if("object"!=typeof t||null===t)return t;var e;if(r.default(t)){e=[];for(var n=0,i=t.length;n<i;n++)"object"==typeof t[n]&&null!=t[n]?e[n]=o(t[n]):e[n]=t[n]}else for(var a in e={},t)"object"==typeof t[a]&&null!=t[a]?e[a]=o(t[a]):e[a]=t[a];return e};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/contains.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t,e){return!!r.default(t)&&t.indexOf(e)>-1}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/debounce.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r;return function(){var o=this,i=arguments,a=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(o,i)},e),a&&t.apply(o,i)}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/deep-mix.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js"),i=5;function a(t,e,n,s){for(var u in n=n||0,s=s||i,e)if(e.hasOwnProperty(u)){var l=e[u];null!==l&&o.default(l)?(o.default(t[u])||(t[u]={}),n<s?a(t[u],l,n+1,s):t[u]=e[u]):r.default(l)?(t[u]=[],t[u]=t[u].concat(l)):void 0!==l&&(t[u]=l)}}e.default=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r+=1)a(t,e[r]);return t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/difference.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/filter.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/contains.js");e.default=function(t,e){return void 0===e&&(e=[]),r.default(t,function(t){return!o.default(e,t)})}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js");e.default=function(t,e){if(t)if(r.default(t))for(var n=0,i=t.length;n<i&&!1!==e(t[n],n);n++);else if(o.default(t))for(var a in t)if(t.hasOwnProperty(a)&&!1===e(t[a],a))break}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/ends-with.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js");e.default=function(t,e){return!(!r.default(t)&&!o.default(t))&&t[t.length-1]===e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/every.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){for(var n=0;n<t.length;n++)if(!e(t[n],n))return!1;return!0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/extend.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/mix.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e,n,i){o.default(e)||(n=e,e=t,t=function(){});var a=Object.create?function(t,e){return Object.create(t,{constructor:{value:e}})}:function(t,e){function n(){}n.prototype=t;var r=new n;return r.constructor=e,r},s=a(e.prototype,t);return t.prototype=r.default(s,t.prototype),t.superclass=a(e.prototype,e),r.default(s,n),r.default(t,i),t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/filter.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t,e){if(!o.default(t))return t;var n=[];return r.default(t,function(t,r){e(t,r)&&n.push(t)}),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/find-index.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){void 0===n&&(n=0);for(var r=n;r<t.length;r++)if(e(t[r],r))return r;return-1}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/find.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-match.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),a=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js");e.default=function(t,e){if(!i.default(t))return null;var n;if(r.default(e)&&(n=e),a.default(e)&&(n=function(t){return o.default(t,e)}),n)for(var s=0;s<t.length;s+=1)if(n(t[s]))return t[s];return null}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/first-value.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js");e.default=function(t,e){for(var n=null,i=0;i<t.length;i++){var a=t[i][e];if(!r.default(a)){n=o.default(a)?a[0]:a;break}}return n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/fixed-base.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){var n=e.toString(),r=n.indexOf(".");if(-1===r)return Math.round(t);var o=n.substr(r+1).length;return o>20&&(o=20),parseFloat(t.toFixed(o))}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=function(t,e){if(void 0===e&&(e=[]),r.default(t))for(var n=0;n<t.length;n+=1)o(t[n],e);else e.push(t);return e};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js");e.default=function(t){if(!r.default(t))return[];for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);return e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/for-in.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js");e.default=r.default},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-range.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/filter.js");e.default=function(t){if(!(t=o.default(t,function(t){return!isNaN(t)})).length)return{min:0,max:0};if(r.default(t[0])){for(var e=[],n=0;n<t.length;n++)e=e.concat(t[n]);t=e}var i=Math.max.apply(null,t);return{min:Math.min.apply(null,t),max:i}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-type.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={}.toString;e.default=function(t){return r.call(t).replace(/^\[object /,"").replace(/]$/,"")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-wrap-behavior.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t["_wrap_"+e]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/get.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js");e.default=function(t,e,n){for(var o=0,i=r.default(e)?e.split("."):e;t&&o<i.length;)t=t[i[o++]];return void 0===t||o<i.length?n:t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/group-by.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),a=Object.prototype.hasOwnProperty;e.default=function(t,e){if(!e||!o.default(t))return{};var n,s={},u=i.default(e)?e:function(t){return t[e]};return r.default(t,function(t){n=u(t),a.call(s,n)?s[n].push(t):s[n]=[t]}),s}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/group-to-map.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/group-by.js");e.default=function(t,e){if(!e)return{0:t};if(!o.default(e)){var n=r.default(e)?e:e.replace(/\s+/g,"").split("*");e=function(t){for(var e="_",r=0,o=n.length;r<o;r++)e+=t[n[r]]&&t[n[r]].toString();return e}}return i.default(t,e)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/group.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/group-to-map.js");e.default=function(t,e){if(!e)return[t];var n=r.default(t,e),o=[];for(var i in n)o.push(n[i]);return o}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/has-key.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/has.js");e.default=r.default},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/has-value.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/contains.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/values.js");e.default=function(t,e){return r.default(o.default(t),e)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/has.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.hasOwnProperty(e)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/head.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t){if(r.default(t))return t[0]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/identity.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index-of.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t,e){if(!r.default(t))return-1;var n=Array.prototype.indexOf;if(n)return n.call(t,e);for(var o=-1,i=0;i<t.length;i++)if(t[i]===e){o=i;break}return o}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/contains.js");e.contains=r.default,e.includes=r.default;var o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/difference.js");e.difference=o.default;var i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/find.js");e.find=i.default;var a=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/find-index.js");e.findIndex=a.default;var s=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/first-value.js");e.firstValue=s.default;var u=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten.js");e.flatten=u.default;var l=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/flatten-deep.js");e.flattenDeep=l.default;var c=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-range.js");e.getRange=c.default;var d=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull.js");e.pull=d.default;var f=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull-at.js");e.pullAt=f.default;var h=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/reduce.js");e.reduce=h.default;var _=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/remove.js");e.remove=_.default;var p=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/sort-by.js");e.sortBy=p.default;var v=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/union.js");e.union=v.default;var g=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/uniq.js");e.uniq=g.default;var m=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/values-of-key.js");e.valuesOfKey=m.default;var y=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/head.js");e.head=y.default;var b=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/last.js");e.last=b.default;var j=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/starts-with.js");e.startsWith=j.default;var x=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/ends-with.js");e.endsWith=x.default;var w=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/filter.js");e.filter=w.default;var E=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/every.js");e.every=E.default;var M=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/some.js");e.some=M.default;var S=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/group.js");e.group=S.default;var T=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/group-by.js");e.groupBy=T.default;var P=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/group-to-map.js");e.groupToMap=P.default;var k=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-wrap-behavior.js");e.getWrapBehavior=k.default;var O=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/wrap-behavior.js");e.wrapBehavior=O.default;var C=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/number2color.js");e.number2color=C.default;var A=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/parse-radius.js");e.parseRadius=A.default;var N=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/clamp.js");e.clamp=N.default;var I=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/fixed-base.js");e.fixedBase=I.default;var R=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-decimal.js");e.isDecimal=R.default;var D=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-even.js");e.isEven=D.default;var L=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-integer.js");e.isInteger=L.default;var q=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-negative.js");e.isNegative=q.default;var B=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number-equal.js");e.isNumberEqual=B.default;var z=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-odd.js");e.isOdd=z.default;var F=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-positive.js");e.isPositive=F.default;var G=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/max-by.js");e.maxBy=G.default;var V=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/min-by.js");e.minBy=V.default;var H=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/mod.js");e.mod=H.default;var U=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-degree.js");e.toDegree=U.default;var W=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-integer.js");e.toInteger=W.default;var K=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-radian.js");e.toRadian=K.default;var Y=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/for-in.js");e.forIn=Y.default;var $=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/has.js");e.has=$.default;var X=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/has-key.js");e.hasKey=X.default;var J=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/has-value.js");e.hasValue=J.default;var Q=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js");e.keys=Q.default;var Z=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-match.js");e.isMatch=Z.default;var tt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/values.js");e.values=tt.default;var et=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-case.js");e.lowerCase=et.default;var nt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-first.js");e.lowerFirst=nt.default;var rt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/substitute.js");e.substitute=rt.default;var ot=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/upper-case.js");e.upperCase=ot.default;var it=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/upper-first.js");e.upperFirst=it.default;var at=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-type.js");e.getType=at.default;var st=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-arguments.js");e.isArguments=st.default;var ut=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js");e.isArray=ut.default;var lt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.isArrayLike=lt.default;var ct=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-boolean.js");e.isBoolean=ct.default;var dt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-date.js");e.isDate=dt.default;var ft=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-error.js");e.isError=ft.default;var ht=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.isFunction=ht.default;var _t=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-finite.js");e.isFinite=_t.default;var pt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js");e.isNil=pt.default;var vt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-null.js");e.isNull=vt.default;var gt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.isNumber=gt.default;var mt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js");e.isObject=mt.default;var yt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object-like.js");e.isObjectLike=yt.default;var bt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js");e.isPlainObject=bt.default;var jt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js");e.isPrototype=jt.default;var xt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-reg-exp.js");e.isRegExp=xt.default;var wt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js");e.isString=wt.default;var Et=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.isType=Et.default;var Mt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-undefined.js");e.isUndefined=Mt.default;var St=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-element.js");e.isElement=St.default;var Tt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/request-animation-frame.js");e.requestAnimationFrame=Tt.default;var Pt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/clear-animation-frame.js");e.clearAnimationFrame=Pt.default;var kt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/augment.js");e.augment=kt.default;var Ot=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/clone.js");e.clone=Ot.default;var Ct=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/debounce.js");e.debounce=Ct.default;var At=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/memoize.js");e.memoize=At.default;var Nt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/deep-mix.js");e.deepMix=Nt.default;var It=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js");e.each=It.default;var Rt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/extend.js");e.extend=Rt.default;var Dt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index-of.js");e.indexOf=Dt.default;var Lt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-empty.js");e.isEmpty=Lt.default;var qt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-equal.js");e.isEqual=qt.default;var Bt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-equal-with.js");e.isEqualWith=Bt.default;var zt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/map.js");e.map=zt.default;var Ft=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/map-values.js");e.mapValues=Ft.default;var Gt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/mix.js");e.mix=Gt.default,e.assign=Gt.default;var Vt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/get.js");e.get=Vt.default;var Ht=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/set.js");e.set=Ht.default;var Ut=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/pick.js");e.pick=Ut.default;var Wt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/throttle.js");e.throttle=Wt.default;var Kt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-array.js");e.toArray=Kt.default;var Yt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js");e.toString=Yt.default;var $t=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/unique-id.js");e.uniqueId=$t.default;var Xt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/noop.js");e.noop=Xt.default;var Jt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/identity.js");e.identity=Jt.default;var Qt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/size.js");e.size=Qt.default;var Zt=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/cache.js");e.Cache=Zt.default},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-arguments.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Arguments")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return null!==t&&"function"!=typeof t&&isFinite(t.length)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return Array.isArray?Array.isArray(t):r.default(t,"Array")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-boolean.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Boolean")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-date.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Date")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-decimal.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t%1!=0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-element.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return t instanceof Element||t instanceof HTMLDocument}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-empty.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/get-type.js"),a=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js"),s=Object.prototype.hasOwnProperty;e.default=function(t){if(r.default(t))return!0;if(o.default(t))return!t.length;var e=i.default(t);if("Map"===e||"Set"===e)return!t.size;if(a.default(t))return!Object.keys(t).length;for(var n in t)if(s.call(t,n))return!1;return!0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-equal-with.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-equal.js");e.default=function(t,e,n){return r.default(n)?!!n(t,e):o.default(t,e)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-equal.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object-like.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js"),a=function(t,e){if(t===e)return!0;if(!t||!e)return!1;if(i.default(t)||i.default(e))return!1;if(o.default(t)||o.default(e)){if(t.length!==e.length)return!1;for(var n=!0,s=0;s<t.length&&(n=a(t[s],e[s]));s++);return n}if(r.default(t)||r.default(e)){var u=Object.keys(t),l=Object.keys(e);if(u.length!==l.length)return!1;for(n=!0,s=0;s<u.length&&(n=a(t[u[s]],e[u[s]]));s++);return n}return!1};e.default=a},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-error.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Error")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-even.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t%2==0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-finite.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&isFinite(t)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Function")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-integer.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js"),o=Number.isInteger?Number.isInteger:function(t){return r.default(t)&&t%1==0};e.default=o},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-match.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js");e.default=function(t,e){var n=o.default(e),i=n.length;if(r.default(t))return!i;for(var a=0;a<i;a+=1){var s=n[a];if(e[s]!==t[s]||!(s in t))return!1}return!0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-negative.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t<0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return null==t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-null.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return null===t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number-equal.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=1e-5;e.default=function(t,e,n){return void 0===n&&(n=r),Math.abs(t-e)<n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"Number")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object-like.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return"object"==typeof t&&null!==t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=typeof t;return null!==t&&"object"===e||"function"===e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-odd.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t%2!=0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object-like.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){if(!r.default(t)||!o.default(t,"Object"))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-positive.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t){return r.default(t)&&t>0}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-prototype.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.prototype;e.default=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-reg-exp.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"RegExp")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js");e.default=function(t){return r.default(t,"String")}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-type.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={}.toString;e.default=function(t,e){return r.call(t)==="[object "+e+"]"}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-undefined.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t){return void 0===t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/keys.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),i=Object.keys?function(t){return Object.keys(t)}:function(t){var e=[];return r.default(t,function(n,r){o.default(t)&&"prototype"===r||e.push(r)}),e};e.default=i},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/last.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t){if(r.default(t))return t[t.length-1]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-case.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js");e.default=function(t){return r.default(t).toLowerCase()}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/lower-first.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js");e.default=function(t){var e=r.default(t);return e.charAt(0).toLowerCase()+e.substring(1)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/map-values.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js"),i=function(t){return t};e.default=function(t,e){void 0===e&&(e=i);var n={};return o.default(t)&&!r.default(t)&&Object.keys(t).forEach(function(r){n[r]=e(t[r],r)}),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/map.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t,e){if(!o.default(t))return t;var n=[];return r.default(t,function(t,r){n.push(e(t,r))}),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/max-by.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e){if(o.default(t)){var n,a,s=t[0];return n=i.default(e)?e(t[0]):t[0][e],r.default(t,function(t){(a=i.default(e)?e(t):t[e])>n&&(s=t,n=a)}),s}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/memoize.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e){if(!r.default(t))throw new TypeError("Expected a function");var n=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=t.apply(this,r);return a.set(i,s),s};return n.cache=new Map,n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/min-by.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e){if(o.default(t)){var n,a,s=t[0];return n=i.default(e)?e(t[0]):t[0][e],r.default(t,function(t){(a=i.default(e)?e(t):t[e])<n&&(s=t,n=a)}),s}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/mix.js":function(t,e,n){"use strict";function r(t,e){for(var n in e)e.hasOwnProperty(n)&&"constructor"!==n&&void 0!==e[n]&&(t[n]=e[n])}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n,o){return e&&r(t,e),n&&r(t,n),o&&r(t,o),t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/mod.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){return(t%e+e)%e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/noop.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/number2color.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.default=function(t){var e=r[t];if(!e){for(var n=t.toString(16),o=n.length;o<6;o++)n="0"+n;e="#"+n,r[t]=e}return e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/parse-radius.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js");e.default=function(t){var e=0,n=0,o=0,i=0;return r.default(t)?1===t.length?e=n=o=i=t[0]:2===t.length?(e=o=t[0],n=i=t[1]):3===t.length?(e=t[0],n=i=t[1],o=t[2]):(e=t[0],n=t[1],o=t[2],i=t[3]):e=n=o=i=t,{r1:e,r2:n,r3:o,r4:i}}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/pick.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js"),i=Object.prototype.hasOwnProperty;e.default=function(t,e){if(null===t||!o.default(t))return{};var n={};return r.default(e,function(e){i.call(t,e)&&(n[e]=t[e])}),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull-at.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),o=Array.prototype.splice;e.default=function(t,e){if(!r.default(t))return[];for(var n=t?e.length:0,i=n-1;n--;){var a=void 0,s=e[n];n!==i&&s===a||(a=s,o.call(t,s,1))}return t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Array.prototype,o=r.splice,i=r.indexOf;e.default=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=0;r<e.length;r++)for(var a=e[r],s=-1;(s=i.call(t,a))>-1;)o.call(t,s,1);return t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/reduce.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-plain-object.js");e.default=function(t,e,n){if(!o.default(t)&&!i.default(t))return t;var a=n;return r.default(t,function(t,n){a=e(a,t,n)}),a}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/remove.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/pull-at.js");e.default=function(t,e){var n=[];if(!r.default(t))return n;for(var i=-1,a=[],s=t.length;++i<s;){var u=t[i];e(u,i,t)&&(n.push(u),a.push(i))}return o.default(t,a),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/request-animation-frame.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return setTimeout(t,16)})(t)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/set.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-object.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-number.js");e.default=function(t,e,n){var a=t,s=o.default(e)?e.split("."):e;return s.forEach(function(t,e){e<s.length-1?(r.default(a[t])||(a[t]=i.default(s[e+1])?[]:{}),a=a[t]):a[t]=n}),t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/size.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t){return r.default(t)?0:o.default(t)?t.length:Object.keys(t).length}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/some.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(t,e){for(var n=0;n<t.length;n++)if(e(t[n],n))return!0;return!1}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/sort-by.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js");e.default=function(t,e){var n;if(i.default(e))n=function(t,n){return e(t)-e(n)};else{var a=[];o.default(e)?a.push(e):r.default(e)&&(a=e),n=function(t,e){for(var n=0;n<a.length;n+=1){var r=a[n];if(t[r]>e[r])return 1;if(t[r]<e[r])return-1}return 0}}return t.sort(n),t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/starts-with.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-string.js");e.default=function(t,e){return!(!r.default(t)&&!o.default(t))&&t[0]===e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/substitute.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t&&e?t.replace(/\\?\{([^{}]+)\}/g,function(t,n){return"\\"===t.charAt(0)?t.slice(1):void 0===e[n]?"":e[n]}):t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/throttle.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var r,o,i,a,s=0;n||(n={});var u=function(){s=!1===n.leading?0:Date.now(),r=null,a=t.apply(o,i),r||(o=i=null)},l=function(){var l=Date.now();s||!1!==n.leading||(s=l);var c=e-(l-s);return o=this,i=arguments,c<=0||c>e?(r&&(clearTimeout(r),r=null),s=l,a=t.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(u,c)),a};return l.cancel=function(){clearTimeout(r),s=0,r=o=i=null},l}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-array.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array-like.js");e.default=function(t){return r.default(t)?Array.prototype.slice.call(t):[]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-degree.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=180/Math.PI;e.default=function(t){return r*t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-integer.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=parseInt},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-radian.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Math.PI/180;e.default=function(t){return r*t}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js");e.default=function(t){return r.default(t)?"":t.toString()}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/union.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/uniq.js");e.default=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return r.default([].concat.apply([],t))}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/uniq.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/contains.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js");e.default=function(t){var e=[];return o.default(t,function(t){r.default(e,t)||e.push(t)}),e}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/unique-id.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={};e.default=function(t){return r[t=t||"g"]?r[t]+=1:r[t]=1,t+r[t]}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/upper-case.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js");e.default=function(t){return r.default(t).toUpperCase()}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/upper-first.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/to-string.js");e.default=function(t){var e=r.default(t);return e.charAt(0).toUpperCase()+e.substring(1)}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/values-of-key.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-array.js"),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-nil.js");e.default=function(t,e){var n=[],a={};return t.forEach(function(t){var s=t[e];i.default(s)||(o.default(s)||(s=[s]),r.default(s,function(t){a[t]||(n.push(t),a[t]=!0)}))}),n}},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/values.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/each.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/is-function.js"),i=Object.values?function(t){return Object.values(t)}:function(t){var e=[];return r.default(t,function(n,r){o.default(t)&&"prototype"===r||e.push(n)}),e};e.default=i},"./node_modules/_@antv_util@2.0.7@@antv/util/lib/wrap-behavior.js":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){if(t["_wrap_"+e])return t["_wrap_"+e];var n=function(n){t[e](n)};return t["_wrap_"+e]=n,n}},"./node_modules/_abs-svg-path@0.1.1@abs-svg-path/index.js":function(t,e){t.exports=function(t){var e=0,n=0,r=0,o=0;return t.map(function(t){var i=(t=t.slice())[0],a=i.toUpperCase();if(i!=a)switch(t[0]=a,i){case"a":t[6]+=r,t[7]+=o;break;case"v":t[1]+=o;break;case"h":t[1]+=r;break;default:for(var s=1;s<t.length;)t[s++]+=r,t[s++]+=o}switch(a){case"Z":r=e,o=n;break;case"H":r=t[1];break;case"V":o=t[1];break;case"M":r=e=t[1],o=n=t[2];break;default:r=t[t.length-2],o=t[t.length-1]}return t})}},"./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js":function(t,e,n){!function(t){"use strict";function e(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function n(t){var n;return 1===t.length&&(n=t,t=function(t,r){return e(n(t),r)}),{left:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;t(e[i],n)<0?r=i+1:o=i}return r},right:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){var i=r+o>>>1;t(e[i],n)>0?o=i:r=i+1}return r}}}var r=n(e),o=r.right,i=r.left;function a(t,e){return[t,e]}function s(t){return null===t?NaN:+t}function u(t,e){var n,r,o=t.length,i=0,a=-1,u=0,l=0;if(null==e)for(;++a<o;)isNaN(n=s(t[a]))||(u+=(r=n-u)/++i,l+=r*(n-u));else for(;++a<o;)isNaN(n=s(e(t[a],a,t)))||(u+=(r=n-u)/++i,l+=r*(n-u));if(i>1)return l/(i-1)}function l(t,e){var n=u(t,e);return n?Math.sqrt(n):n}function c(t,e){var n,r,o,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=o=n;++a<i;)null!=(n=t[a])&&(r>n&&(r=n),o<n&&(o=n))}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=o=n;++a<i;)null!=(n=e(t[a],a,t))&&(r>n&&(r=n),o<n&&(o=n));return[r,o]}var d=Array.prototype,f=d.slice,h=d.map;function _(t){return function(){return t}}function p(t){return t}function v(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((e-t)/n)),i=new Array(o);++r<o;)i[r]=t+r*n;return i}var g=Math.sqrt(50),m=Math.sqrt(10),y=Math.sqrt(2);function b(t,e,n){var r=(e-t)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=g?10:i>=m?5:i>=y?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=g?10:i>=m?5:i>=y?2:1)}function j(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=g?o*=10:i>=m?o*=5:i>=y&&(o*=2),e<t?-o:o}function x(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function w(t,e,n){if(null==n&&(n=s),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,o=(r-1)*e,i=Math.floor(o),a=+n(t[i],i,t),u=+n(t[i+1],i+1,t);return a+(u-a)*(o-i)}}function E(t,e){var n,r,o=t.length,i=-1;if(null==e){for(;++i<o;)if(null!=(n=t[i])&&n>=n)for(r=n;++i<o;)null!=(n=t[i])&&r>n&&(r=n)}else for(;++i<o;)if(null!=(n=e(t[i],i,t))&&n>=n)for(r=n;++i<o;)null!=(n=e(t[i],i,t))&&r>n&&(r=n);return r}function M(t){if(!(o=t.length))return[];for(var e=-1,n=E(t,S),r=new Array(n);++e<n;)for(var o,i=-1,a=r[e]=new Array(o);++i<o;)a[i]=t[i][e];return r}function S(t){return t.length}t.bisect=o,t.bisectRight=o,t.bisectLeft=i,t.ascending=e,t.bisector=n,t.cross=function(t,e,n){var r,o,i,s,u=t.length,l=e.length,c=new Array(u*l);for(null==n&&(n=a),r=i=0;r<u;++r)for(s=t[r],o=0;o<l;++o,++i)c[i]=n(s,e[o]);return c},t.descending=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},t.deviation=l,t.extent=c,t.histogram=function(){var t=p,e=c,n=x;function r(r){var i,a,s=r.length,u=new Array(s);for(i=0;i<s;++i)u[i]=t(r[i],i,r);var l=e(u),c=l[0],d=l[1],f=n(u,c,d);Array.isArray(f)||(f=j(c,d,f),f=v(Math.ceil(c/f)*f,d,f));for(var h=f.length;f[0]<=c;)f.shift(),--h;for(;f[h-1]>d;)f.pop(),--h;var _,p=new Array(h+1);for(i=0;i<=h;++i)(_=p[i]=[]).x0=i>0?f[i-1]:c,_.x1=i<h?f[i]:d;for(i=0;i<s;++i)a=u[i],c<=a&&a<=d&&p[o(f,a,0,h)].push(r[i]);return p}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:_(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:_([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?_(f.call(t)):_(t),r):n},r},t.thresholdFreedmanDiaconis=function(t,n,r){return t=h.call(t,s).sort(e),Math.ceil((r-n)/(2*(w(t,.75)-w(t,.25))*Math.pow(t.length,-1/3)))},t.thresholdScott=function(t,e,n){return Math.ceil((n-e)/(3.5*l(t)*Math.pow(t.length,-1/3)))},t.thresholdSturges=x,t.max=function(t,e){var n,r,o=t.length,i=-1;if(null==e){for(;++i<o;)if(null!=(n=t[i])&&n>=n)for(r=n;++i<o;)null!=(n=t[i])&&n>r&&(r=n)}else for(;++i<o;)if(null!=(n=e(t[i],i,t))&&n>=n)for(r=n;++i<o;)null!=(n=e(t[i],i,t))&&n>r&&(r=n);return r},t.mean=function(t,e){var n,r=t.length,o=r,i=-1,a=0;if(null==e)for(;++i<r;)isNaN(n=s(t[i]))?--o:a+=n;else for(;++i<r;)isNaN(n=s(e(t[i],i,t)))?--o:a+=n;if(o)return a/o},t.median=function(t,n){var r,o=t.length,i=-1,a=[];if(null==n)for(;++i<o;)isNaN(r=s(t[i]))||a.push(r);else for(;++i<o;)isNaN(r=s(n(t[i],i,t)))||a.push(r);return w(a.sort(e),.5)},t.merge=function(t){for(var e,n,r,o=t.length,i=-1,a=0;++i<o;)a+=t[i].length;for(n=new Array(a);--o>=0;)for(r=t[o],e=r.length;--e>=0;)n[--a]=r[e];return n},t.min=E,t.pairs=function(t,e){null==e&&(e=a);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return i},t.permute=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},t.quantile=w,t.range=v,t.scan=function(t,n){if(r=t.length){var r,o,i=0,a=0,s=t[a];for(null==n&&(n=e);++i<r;)(n(o=t[i],s)<0||0!==n(s,s))&&(s=o,a=i);return 0===n(s,s)?a:void 0}},t.shuffle=function(t,e,n){for(var r,o,i=(null==n?t.length:n)-(e=null==e?0:+e);i;)o=Math.random()*i--|0,r=t[i+e],t[i+e]=t[o+e],t[o+e]=r;return t},t.sum=function(t,e){var n,r=t.length,o=-1,i=0;if(null==e)for(;++o<r;)(n=+t[o])&&(i+=n);else for(;++o<r;)(n=+e(t[o],o,t))&&(i+=n);return i},t.ticks=function(t,e,n){var r,o,i,a,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return[t];if((r=e<t)&&(o=t,t=e,e=o),0===(a=b(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),i=new Array(o=Math.ceil(e-t+1));++s<o;)i[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),i=new Array(o=Math.ceil(t-e+1));++s<o;)i[s]=(t-s)/a;return r&&i.reverse(),i},t.tickIncrement=b,t.tickStep=j,t.transpose=M,t.variance=u,t.zip=function(){return M(arguments)},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js":function(t,e,n){!function(t){"use strict";function e(){}function n(t,n){var r=new e;if(t instanceof e)t.each(function(t,e){r.set(e,t)});else if(Array.isArray(t)){var o,i=-1,a=t.length;if(null==n)for(;++i<a;)r.set(i,t[i]);else for(;++i<a;)r.set(n(o=t[i],i,t),o)}else if(t)for(var s in t)r.set(s,t[s]);return r}function r(){return{}}function o(t,e,n){t[e]=n}function i(){return n()}function a(t,e,n){t.set(e,n)}function s(){}e.prototype=n.prototype={constructor:e,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var u=n.prototype;function l(t,e){var n=new s;if(t instanceof s)t.each(function(t){n.add(t)});else if(t){var r=-1,o=t.length;if(null==e)for(;++r<o;)n.add(t[r]);else for(;++r<o;)n.add(e(t[r],r,t))}return n}s.prototype=l.prototype={constructor:s,has:u.has,add:function(t){return this["$"+(t+="")]=t,this},remove:u.remove,clear:u.clear,values:u.keys,size:u.size,empty:u.empty,each:u.each},t.nest=function(){var t,e,s,u=[],l=[];function c(r,o,i,a){if(o>=u.length)return null!=t&&r.sort(t),null!=e?e(r):r;for(var s,l,d,f=-1,h=r.length,_=u[o++],p=n(),v=i();++f<h;)(d=p.get(s=_(l=r[f])+""))?d.push(l):p.set(s,[l]);return p.each(function(t,e){a(v,e,c(t,o,i,a))}),v}return s={object:function(t){return c(t,0,r,o)},map:function(t){return c(t,0,i,a)},entries:function(t){return function t(n,r){if(++r>u.length)return n;var o,i=l[r-1];return null!=e&&r>=u.length?o=n.entries():(o=[],n.each(function(e,n){o.push({key:n,values:t(e,r)})})),null!=i?o.sort(function(t,e){return i(t.key,e.key)}):o}(c(t,0,i,a),0)},key:function(t){return u.push(t),s},sortKeys:function(t){return l[u.length-1]=t,s},sortValues:function(e){return t=e,s},rollup:function(t){return e=t,s}}},t.set=l,t.map=n,t.keys=function(t){var e=[];for(var n in t)e.push(n);return e},t.values=function(t){var e=[];for(var n in t)e.push(t[n]);return e},t.entries=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-composite-projections@1.3.2@d3-composite-projections/d3-composite-projections.js":function(t,e,n){!function(t,e,n){"use strict";var r=1e-6;function o(){}var i=1/0,a=i,s=-i,u=s,l={point:function(t,e){t<i&&(i=t),t>s&&(s=t),e<a&&(a=e),e>u&&(u=e)},lineStart:o,lineEnd:o,polygonStart:o,polygonEnd:o,result:function(){var t=[[i,a],[s,u]];return s=u=-(a=i=1/0),t}};function c(t,n,r){var o=n[1][0]-n[0][0],i=n[1][1]-n[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=a&&t.clipExtent(null),e.geoStream(r,t.stream(l));var s=l.result(),u=Math.min(o/(s[1][0]-s[0][0]),i/(s[1][1]-s[0][1])),c=+n[0][0]+(o-u*(s[1][0]+s[0][0]))/2,d=+n[0][1]+(i-u*(s[1][1]+s[0][1]))/2;return null!=a&&t.clipExtent(a),t.scale(150*u).translate([c,d])}function d(t,e,n){return c(t,[[0,0],e],n)}t.geoAlbersUk=function(){var t,o,i,a,s,u=e.geoAlbers().rotate([4.4,.8]).center([0,55.4]).parallels([50,60]),l=e.geoAlbers().rotate([4.4,.8]).center([0,55.4]).parallels([50,60]),f={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,i.point(e,n),s||(a.point(e,n),s)}function _(){return t=o=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=-.089&&o<.06&&r>=.029&&r<.046?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:(n=[u.stream(o=e),l.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.065*e,o-.089*e],[n+.075*e,o+.089*e]]).stream(f),a=l.translate([n+.01*e,o+.025*e]).clipExtent([[n+.029*e+r,o-.089*e+r],[n+.046*e-r,o-.06*e-r]]).stream(f),_()},h.fitExtent=function(t,e){return c(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e,n,r,o;e=u([-1.113205870242365,59.64920050773357]),n=u([.807899092399606,59.59085836472269]),r=u([.5778611961420386,57.93467822832577]),o=u([-1.25867782078448,57.99029450085142]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(2800)},t.geoAlbersUsa=function(){var t,o,i,a,s,u,l=e.geoAlbers(),f=e.geoConicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),h=e.geoConicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),_={point:function(t,e){u=[t,e]}};function p(t){var e=t[0],n=t[1];return u=null,i.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function v(){return t=o=null,p}return p.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?f:o>=.166&&o<.234&&r>=-.214&&r<-.115?h:l).invert(t)},p.stream=function(e){return t&&o===e?t:(n=[l.stream(o=e),f.stream(e),h.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},p.precision=function(t){return arguments.length?(l.precision(t),f.precision(t),h.precision(t),v()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),f.scale(.35*t),h.scale(t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.455*e,o-.238*e],[n+.455*e,o+.238*e]]).stream(_),a=f.translate([n-.307*e,o+.201*e]).clipExtent([[n-.425*e+r,o+.12*e+r],[n-.214*e-r,o+.234*e-r]]).stream(_),s=h.translate([n-.205*e,o+.212*e]).clipExtent([[n-.214*e+r,o+.166*e+r],[n-.115*e-r,o+.234*e-r]]).stream(_),v()},p.fitExtent=function(t,e){return c(p,t,e)},p.fitSize=function(t,e){return d(p,t,e)},p.drawCompositionBorders=function(t){var e=l([-102.91,26.3]),n=l([-104,27.5]),r=l([-108,29.1]),o=l([-110,29.1]),i=l([-110,26.7]),a=l([-112.8,27.6]),s=l([-114.3,30.6]),u=l([-119.3,30.1]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1])},p.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},p.scale(1070)},t.geoAlbersUsaTerritories=function(){var t,o,i,a,s,u,l,f,h,_=e.geoAlbers(),p=e.geoConicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),v=e.geoConicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),g=e.geoConicEqualArea().rotate([66,0]).center([0,18]).parallels([8,18]),m=e.geoEquirectangular().rotate([173,14]),y=e.geoEquirectangular().rotate([-145,-16.8]),b={point:function(t,e){h=[t,e]}};function j(t){var e=t[0],n=t[1];return h=null,i.point(e,n),h||(a.point(e,n),h)||(s.point(e,n),h)||(u.point(e,n),h)||(l.point(e,n),h)||(f.point(e,n),h)}function x(){return t=o=null,j}return j.invert=function(t){var e=_.scale(),n=_.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?p:o>=.166&&o<.234&&r>=-.214&&r<-.115?v:o>=.2064&&o<.2413&&r>=.312&&r<.385?g:o>=.09&&o<.1197&&r>=-.4243&&r<-.3232?m:o>=-.0518&&o<.0895&&r>=-.4243&&r<-.3824?y:_).invert(t)},j.stream=function(e){return t&&o===e?t:(n=[_.stream(o=e),p.stream(e),v.stream(e),g.stream(e),m.stream(e),y.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},j.precision=function(t){return arguments.length?(_.precision(t),p.precision(t),v.precision(t),g.precision(t),m.precision(t),y.precision(t),x()):_.precision()},j.scale=function(t){return arguments.length?(_.scale(t),p.scale(.35*t),v.scale(t),g.scale(t),m.scale(2*t),y.scale(t),j.translate(_.translate())):_.scale()},j.translate=function(t){if(!arguments.length)return _.translate();var e=_.scale(),n=+t[0],o=+t[1];return i=_.translate(t).clipExtent([[n-.455*e,o-.238*e],[n+.455*e,o+.238*e]]).stream(b),a=p.translate([n-.307*e,o+.201*e]).clipExtent([[n-.425*e+r,o+.12*e+r],[n-.214*e-r,o+.233*e-r]]).stream(b),s=v.translate([n-.205*e,o+.212*e]).clipExtent([[n-.214*e+r,o+.166*e+r],[n-.115*e-r,o+.233*e-r]]).stream(b),u=g.translate([n+.35*e,o+.224*e]).clipExtent([[n+.312*e+r,o+.2064*e+r],[n+.385*e-r,o+.233*e-r]]).stream(b),l=m.translate([n-.492*e,o+.09*e]).clipExtent([[n-.4243*e+r,o+.0903*e+r],[n-.3233*e-r,o+.1197*e-r]]).stream(b),f=y.translate([n-.408*e,o+.018*e]).clipExtent([[n-.4244*e+r,o-.0519*e+r],[n-.3824*e-r,o+.0895*e-r]]).stream(b),x()},j.fitExtent=function(t,e){return c(j,t,e)},j.fitSize=function(t,e){return d(j,t,e)},j.drawCompositionBorders=function(t){var e=_([-110.4641,28.2805]),n=_([-104.0597,28.9528]),r=_([-103.7049,25.1031]),o=_([-109.8337,24.4531]),i=_([-124.4745,28.1407]),a=_([-110.931,30.8844]),s=_([-109.8337,24.4531]),u=_([-122.4628,21.8562]),l=_([-76.8579,25.1544]),c=_([-72.429,24.2097]),d=_([-72.8265,22.7056]),f=_([-77.1852,23.6392]),h=_([-125.0093,29.7791]),p=_([-118.5193,31.3262]),v=_([-118.064,29.6912]),g=_([-124.4369,28.169]),m=_([-128.1314,37.4582]),y=_([-125.2132,38.214]),b=_([-122.3616,30.5115]),j=_([-125.0315,29.8211]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath(),t.moveTo(l[0],l[1]),t.lineTo(c[0],c[1]),t.lineTo(d[0],d[1]),t.lineTo(d[0],d[1]),t.lineTo(f[0],f[1]),t.closePath(),t.moveTo(h[0],h[1]),t.lineTo(p[0],p[1]),t.lineTo(v[0],v[1]),t.lineTo(v[0],v[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()},j.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},j.scale(1070)},t.geoConicConformalEurope=function(){var t,o,i,a,s,u,l,f,h,_,p,v,g,m,y,b=e.geoConicConformal().rotate([-10,-53]).parallels([0,60]),j=e.geoMercator().center([-61.46,16.14]),x=e.geoMercator().center([-53.2,3.9]),w=e.geoConicConformal().rotate([27.8,-38.9]).parallels([0,60]),E=e.geoConicConformal().rotate([25.43,-37.398]).parallels([0,60]),M=e.geoConicConformal().rotate([31.17,-39.539]).parallels([0,60]),S=e.geoConicConformal().rotate([17,-32.7]).parallels([0,60]),T=e.geoConicConformal().rotate([16,-28.5]).parallels([0,60]),P=e.geoMercator().center([-61.03,14.67]),k=e.geoMercator().center([45.16,-12.8]),O=e.geoMercator().center([55.52,-21.13]),C=e.geoConicConformal().rotate([-14.4,-35.95]).parallels([0,60]),A={point:function(t,e){y=[t,e]}};function N(t){var e=t[0],n=t[1];return y=null,i.point(e,n),y||(s.point(e,n),y)||(p.point(e,n),y)||(a.point(e,n),y)||(_.point(e,n),y)||(h.point(e,n),y)||(v.point(e,n),y)||(g.point(e,n),y)||(m.point(e,n),y)||(u.point(e,n),y)||(l.point(e,n),y)||(f.point(e,n),y)}function I(){return t=o=null,N}return N.invert=function(t){var e=b.scale(),n=b.translate(),r=(t[0]-(n[0]+.08*e))/e,o=(t[1]-n[1])/e;return(o>=-.31&&o<-.24&&r>=.14&&r<.24?j:o>=-.24&&o<-.17&&r>=.14&&r<.24?x: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?w:o>=-.1&&o<-.03&&r>=.14&&r<.24?S:o>=-.03&&o<.04&&r>=.14&&r<.24?T:o>=-.31&&o<-.24&&r>=.24&&r<.34?P:o>=-.24&&o<-.17&&r>=.24&&r<.34?k:o>=-.17&&o<-.1&&r>=.24&&r<.34?O:o>=-.1&&o<-.03&&r>=.24&&r<.34?C:b).invert(t)},N.stream=function(e){return t&&o===e?t:(n=[b.stream(o=e),x.stream(e),P.stream(e),j.stream(e),T.stream(e),S.stream(e),k.stream(e),O.stream(e),C.stream(e),w.stream(e),E.stream(e),M.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},N.precision=function(t){return arguments.length?(b.precision(t),x.precision(t),P.precision(t),j.precision(t),T.precision(t),S.precision(t),k.precision(t),O.precision(t),C.precision(t),w.precision(t),E.precision(t),M.precision(t),I()):b.precision()},N.scale=function(t){return arguments.length?(b.scale(t),j.scale(3*t),x.scale(.8*t),P.scale(3.5*t),O.scale(2.7*t),w.scale(2*t),E.scale(2*t),M.scale(2*t),S.scale(3*t),T.scale(t),k.scale(5.5*t),C.scale(6*t),N.translate(b.translate())):b.scale()},N.translate=function(t){if(!arguments.length)return b.translate();var e=b.scale(),n=+t[0],o=+t[1];return i=b.translate([n-.08*e,o]).clipExtent([[n-.51*e,o-.33*e],[n+.5*e,o+.33*e]]).stream(A),a=j.translate([n+.19*e,o-.275*e]).clipExtent([[n+.14*e+r,o-.31*e+r],[n+.24*e-r,o-.24*e-r]]).stream(A),s=x.translate([n+.19*e,o-.205*e]).clipExtent([[n+.14*e+r,o-.24*e+r],[n+.24*e-r,o-.17*e-r]]).stream(A),u=w.translate([n+.19*e,o-.135*e]).clipExtent([[n+.14*e+r,o-.17*e+r],[n+.24*e-r,o-.1*e-r]]).stream(A),l=E.translate([n+.225*e,o-.147*e]).clipExtent([[n+.21*e+r,o-.17*e+r],[n+.24*e-r,o-.12*e-r]]).stream(A),f=M.translate([n+.153*e,o-.15*e]).clipExtent([[n+.14*e+r,o-.17*e+r],[n+.165*e-r,o-.14*e-r]]).stream(A),h=S.translate([n+.19*e,o-.065*e]).clipExtent([[n+.14*e+r,o-.1*e+r],[n+.24*e-r,o-.03*e-r]]).stream(A),_=T.translate([n+.19*e,o+.005*e]).clipExtent([[n+.14*e+r,o-.03*e+r],[n+.24*e-r,o+.04*e-r]]).stream(A),p=P.translate([n+.29*e,o-.275*e]).clipExtent([[n+.24*e+r,o-.31*e+r],[n+.34*e-r,o-.24*e-r]]).stream(A),v=k.translate([n+.29*e,o-.205*e]).clipExtent([[n+.24*e+r,o-.24*e+r],[n+.34*e-r,o-.17*e-r]]).stream(A),g=O.translate([n+.29*e,o-.135*e]).clipExtent([[n+.24*e+r,o-.17*e+r],[n+.34*e-r,o-.1*e-r]]).stream(A),m=C.translate([n+.29*e,o-.065*e]).clipExtent([[n+.24*e+r,o-.1*e+r],[n+.34*e-r,o-.03*e-r]]).stream(A),I()},N.fitExtent=function(t,e){return c(N,t,e)},N.fitSize=function(t,e){return d(N,t,e)},N.drawCompositionBorders=function(t){var e,n,r,o;e=b([42.45755610828648,63.343658547914934]),n=b([52.65837266667029,59.35045080290929]),r=b([47.19754502247785,56.12653496548117]),o=b([37.673034273363044,59.61638268506111]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([59.41110754003403,62.35069727399336]),n=b([66.75050228640794,57.11797303636038]),r=b([60.236065725110436,54.63331433818992]),o=b([52.65837313153311,59.350450804599355]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([48.81091130080243,66.93353402634641]),n=b([59.41110730654679,62.35069740653086]),r=b([52.6583728974441,59.3504509222445]),o=b([42.45755631675751,63.34365868805821]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([31.054198418446475,52.1080673766184]),n=b([39.09869284884117,49.400700047190554]),r=b([36.0580811499175,46.02944174908498]),o=b([28.690508588835726,48.433126979386415]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([33.977877745912025,55.849945501331]),n=b([42.75328432167726,52.78455122462353]),r=b([39.09869297540224,49.400700176148625]),o=b([31.05419851807008,52.10806751810923]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([52.658372900759296,59.35045068526415]),n=b([60.23606549583304,54.63331423800264]),r=b([54.6756370953122,51.892298789399455]),o=b([47.19754524788189,56.126534861222794]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([47.19754506082455,56.126534735591456]),n=b([54.675636900123514,51.892298681337095]),r=b([49.94448648951486,48.98775484983285]),o=b([42.75328468716108,52.78455126060818]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([42.75328453416769,52.78455113209101]),n=b([49.94448632339758,48.98775473706457]),r=b([45.912339990394315,45.99361784987003]),o=b([39.09869317356607,49.40070009378711]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([37.673034114296634,59.61638254183119]),n=b([47.197544835420544,56.126534839849846]),r=b([42.75328447467064,52.78455135314068]),o=b([33.977877870363905,55.849945644671145]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([44.56748486446032,57.26489367845818]),r=b([43.9335791193588,53.746540942601726]),o=b([43,56]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([37.673034114296634,59.61638254183119]),n=b([40.25902691953466,58.83002044222639]),r=b([38.458270492742024,57.26232178028002]),o=b([35.97754948030156,58.00266637992386]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},N.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},N.scale(750)},t.geoConicConformalFrance=function(){var t,o,i,a,s,u,l,f,h,_,p,v,g,m,y,b=e.geoConicConformal().rotate([-3,-46.2]).parallels([0,60]),j=e.geoMercator().center([-53.2,3.9]),x=e.geoMercator().center([-61.03,14.67]),w=e.geoMercator().center([-61.46,16.14]),E=e.geoMercator().center([-62.85,17.92]),M=e.geoMercator().center([-56.23,46.93]),S=e.geoMercator().center([45.16,-12.8]),T=e.geoMercator().center([55.52,-21.13]),P=e.geoMercator().center([165.8,-21.07]),k=e.geoMercator().center([-178.1,-14.3]),O=e.geoMercator().center([-150.55,-17.11]),C=e.geoMercator().center([-150.55,-17.11]),A={point:function(t,e){y=[t,e]}};function N(t){var e=t[0],n=t[1];return y=null,i.point(e,n),y||(a.point(e,n),y)||(s.point(e,n),y)||(u.point(e,n),y)||(l.point(e,n),y)||(f.point(e,n),y)||(h.point(e,n),y)||(_.point(e,n),y)||(p.point(e,n),y)||(v.point(e,n),y)||(g.point(e,n),y)||(m.point(e,n),y)}function I(){return t=o=null,N}return N.invert=function(t){var e=b.scale(),n=b.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.029&&o<.0864&&r>=-.14&&r<-.0996?j:o>=0&&o<.029&&r>=-.14&&r<-.0996?x:o>=-.032&&o<0&&r>=-.14&&r<-.0996?w: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?T:o>=-.02&&o<.012&&r>=.0967&&r<.1371?P:o>=.012&&o<.033&&r>=.0967&&r<.1371?k:o>=.033&&o<.0864&&r>=.0967&&r<.1371?O:b).invert(t)},N.stream=function(e){return t&&o===e?t:(n=[b.stream(o=e),j.stream(e),x.stream(e),w.stream(e),E.stream(e),M.stream(e),S.stream(e),T.stream(e),P.stream(e),k.stream(e),O.stream(e),C.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},N.precision=function(t){return arguments.length?(b.precision(t),j.precision(t),x.precision(t),w.precision(t),E.precision(t),M.precision(t),S.precision(t),T.precision(t),P.precision(t),k.precision(t),O.precision(t),C.precision(t),I()):b.precision()},N.scale=function(t){return arguments.length?(b.scale(t),j.scale(.6*t),x.scale(1.6*t),w.scale(1.4*t),E.scale(5*t),M.scale(1.3*t),S.scale(1.6*t),T.scale(1.2*t),P.scale(.3*t),k.scale(2.7*t),O.scale(.5*t),C.scale(.06*t),N.translate(b.translate())):b.scale()},N.translate=function(t){if(!arguments.length)return b.translate();var e=b.scale(),n=+t[0],o=+t[1];return i=b.translate(t).clipExtent([[n-.0996*e,o-.0908*e],[n+.0967*e,o+.0864*e]]).stream(A),a=j.translate([n-.12*e,o+.0575*e]).clipExtent([[n-.14*e+r,o+.029*e+r],[n-.0996*e-r,o+.0864*e-r]]).stream(A),s=x.translate([n-.12*e,o+.013*e]).clipExtent([[n-.14*e+r,o+0*e+r],[n-.0996*e-r,o+.029*e-r]]).stream(A),u=w.translate([n-.12*e,o-.014*e]).clipExtent([[n-.14*e+r,o-.032*e+r],[n-.0996*e-r,o+0*e-r]]).stream(A),l=E.translate([n-.12*e,o-.044*e]).clipExtent([[n-.14*e+r,o-.052*e+r],[n-.0996*e-r,o-.032*e-r]]).stream(A),f=M.translate([n-.12*e,o-.065*e]).clipExtent([[n-.14*e+r,o-.076*e+r],[n-.0996*e-r,o-.052*e-r]]).stream(A),h=S.translate([n+.117*e,o-.064*e]).clipExtent([[n+.0967*e+r,o-.076*e+r],[n+.1371*e-r,o-.052*e-r]]).stream(A),_=T.translate([n+.116*e,o-.0355*e]).clipExtent([[n+.0967*e+r,o-.052*e+r],[n+.1371*e-r,o-.02*e-r]]).stream(A),p=P.translate([n+.116*e,o-.0048*e]).clipExtent([[n+.0967*e+r,o-.02*e+r],[n+.1371*e-r,o+.012*e-r]]).stream(A),v=k.translate([n+.116*e,o+.022*e]).clipExtent([[n+.0967*e+r,o+.012*e+r],[n+.1371*e-r,o+.033*e-r]]).stream(A),m=C.translate([n+.11*e,o+.045*e]).clipExtent([[n+.0967*e+r,o+.033*e+r],[n+.1371*e-r,o+.06*e-r]]).stream(A),g=O.translate([n+.115*e,o+.075*e]).clipExtent([[n+.0967*e+r,o+.06*e+r],[n+.1371*e-r,o+.0864*e-r]]).stream(A),I()},N.fitExtent=function(t,e){return c(N,t,e)},N.fitSize=function(t,e){return d(N,t,e)},N.drawCompositionBorders=function(t){var e,n,r,o;e=b([-7.938886725111036,43.7219460918835]),n=b([-4.832080896458295,44.12930268549372]),r=b([-4.205299743793263,40.98096346967365]),o=b([-7.071796453126152,40.610037319181444]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-8.42751373617692,45.32889452553031]),n=b([-5.18599305777107,45.7566442062976]),r=b([-4.832080905154431,44.129302726751426]),o=b([-7.938886737126192,43.72194613263854]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-9.012656899657046,47.127733821030176]),n=b([-5.6105244772793155,47.579777861410626]),r=b([-5.185993067168585,45.756644248170346]),o=b([-8.427513749141811,45.32889456686326]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-9.405747558985553,48.26506375557457]),n=b([-5.896175018439575,48.733352850851624]),r=b([-5.610524487556043,47.57977790393761]),o=b([-9.012656913808351,47.127733862971255]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([-9.908436061346974,49.642448789505856]),n=b([-6.262026716233124,50.131426841787174]),r=b([-5.896175029331232,48.73335289377258]),o=b([-9.40574757396393,48.26506379787767]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([11.996907706504462,50.16039028163579]),n=b([15.649907879773343,49.68279246765253]),r=b([15.156712840526632,48.30371557625831]),o=b([11.64122661754411,48.761078240546816]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([11.641226606955788,48.7610781975889]),n=b([15.156712825832164,48.30371553390465]),r=b([14.549932166241172,46.4866532486199]),o=b([11.204443787952183,46.91899233914248]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([11.204443778297161,46.918992296823646]),n=b([14.549932152815039,46.486653206856396]),r=b([13.994409796764009,44.695833444323256]),o=b([10.805306599253848,45.105133870684924]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([10.805306590412085,45.10513382903308]),n=b([13.99440978444733,44.695833403183606]),r=b([13.654633799024392,43.53552468558152]),o=b([10.561516803980956,43.930671459798624]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([10.561516795617383,43.93067141859757]),n=b([13.654633787361952,43.5355246448671]),r=b([12.867691604239901,40.640701985019405]),o=b([9.997809515987688,41.00288343254471]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=b([10.8,42.4]),n=b([12.8,42.13]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1])},N.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},N.scale(2700)},t.geoConicConformalPortugal=function(){var t,o,i,a,s,u,l=e.geoConicConformal().rotate([10,-39.3]).parallels([0,60]),f=e.geoConicConformal().rotate([17,-32.7]).parallels([0,60]),h=e.geoConicConformal().rotate([27.8,-38.6]).parallels([0,60]),_={point:function(t,e){u=[t,e]}};function p(t){var e=t[0],n=t[1];return u=null,i.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function v(){return t=o=null,p}return p.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.0093&&o<.03678&&r>=-.03875&&r<-.0116?f:o>=-.0412&&o<.0091&&r>=-.07782&&r<-.01166?h:l).invert(t)},p.stream=function(e){return t&&o===e?t:(n=[l.stream(o=e),f.stream(e),h.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},p.precision=function(t){return arguments.length?(l.precision(t),f.precision(t),h.precision(t),v()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),f.scale(t),h.scale(.6*t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.0115*e,o-.1138*e],[n+.2105*e,o+.0673*e]]).stream(_),a=f.translate([n-.0265*e,o+.025*e]).clipExtent([[n-.0388*e+r,o+.0093*e+r],[n-.0116*e-r,o+.0368*e-r]]).stream(_),s=h.translate([n-.045*e,o+-.02*e]).clipExtent([[n-.0778*e+r,o-.0413*e+r],[n-.0117*e-r,o+.0091*e-r]]).stream(_),v()},p.fitExtent=function(t,e){return c(p,t,e)},p.fitSize=function(t,e){return d(p,t,e)},p.drawCompositionBorders=function(t){var e=l([-12.8351,38.7113]),n=l([-10.8482,38.7633]),r=l([-10.8181,37.2072]),o=l([-12.7345,37.1573]),i=l([-16.0753,41.4436]),a=l([-10.9168,41.6861]),s=l([-10.8557,38.7747]),u=l([-15.6728,38.5505]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath()},p.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},p.scale(4200)},t.geoConicConformalSpain=function(){var t,o,i,a,s,u=e.geoConicConformal().rotate([5,-38.6]).parallels([0,60]),l=e.geoConicConformal().rotate([5,-38.6]).parallels([0,60]),f={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,i.point(e,n),s||(a.point(e,n),s)}function _(){return t=o=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.05346&&o<.0897&&r>=-.13388&&r<-.0322?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:(n=[u.stream(o=e),l.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.06857*e,o-.1288*e],[n+.13249*e,o+.06*e]]).stream(f),a=l.translate([n+.1*e,o-.094*e]).clipExtent([[n-.1331*e+r,o+.053457*e+r],[n-.0354*e-r,o+.08969*e-r]]).stream(f),_()},h.fitExtent=function(t,e){return c(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e=u([-14.034675,34.965007]),n=u([-7.4208899,35.536988]),r=u([-7.3148275,33.54359]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1])},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(2700)},t.geoConicEquidistantJapan=function(){var t,o,i,a,s,u,l=e.geoConicEquidistant().rotate([-136,-22]).parallels([40,34]),f=e.geoConicEquidistant().rotate([-146,-26]).parallels([40,34]),h=e.geoConicEquidistant().rotate([-126,-19]).parallels([40,34]),_={point:function(t,e){u=[t,e]}};function p(t){var e=t[0],n=t[1];return u=null,i.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function v(){return t=o=null,p}return p.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=-.10925&&o<-.02701&&r>=-.135&&r<-.0397?f:o>=.04713&&o<.11138&&r>=-.03986&&r<.051?h:l).invert(t)},p.stream=function(e){return t&&o===e?t:(n=[l.stream(o=e),f.stream(e),h.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},p.precision=function(t){return arguments.length?(l.precision(t),f.precision(t),h.precision(t),v()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),f.scale(t),h.scale(.7*t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.1352*e,o-.1091*e],[n+.117*e,o+.098*e]]).stream(_),a=f.translate([n-.0425*e,o-.005*e]).clipExtent([[n-.135*e+r,o-.1093*e+r],[n-.0397*e-r,o-.027*e-r]]).stream(_),s=h.translate(t).clipExtent([[n-.0399*e+r,o+.0471*e+r],[n+.051*e-r,o+.1114*e-r]]).stream(_),v()},p.fitExtent=function(t,e){return c(p,t,e)},p.fitSize=function(t,e){return d(p,t,e)},p.drawCompositionBorders=function(t){var e=l([126.01320483689143,41.621090310215585]),n=l([133.04304387025903,42.15087523707186]),r=l([133.3021766080688,37.43975444725098]),o=l([126.87889168628224,36.95488945159779]),i=l([132.9,29.8]),a=l([134,33]),s=l([139.3,33.2]),u=l([139.16,30.5]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1])},p.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},p.scale(2200)},t.geoMercatorEcuador=function(){var t,o,i,a,s,u=e.geoMercator().rotate([80,1.5]),l=e.geoMercator().rotate([90.73,1]),f={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,i.point(e,n),s||(a.point(e,n),s)}function _(){return t=o=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=-.0676&&o<-.026&&r>=-.0857&&r<-.0263?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:(n=[u.stream(o=e),l.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.0262*e,o-.0734*e],[n+.1741*e,o+.079*e]]).stream(f),a=l.translate([n-.06*e,o-.04*e]).clipExtent([[n-.0857*e+r,o-.0676*e+r],[n-.0263*e-r,o-.026*e-r]]).stream(f),_()},h.fitExtent=function(t,e){return c(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e=u([-84.9032,2.3757]),n=u([-81.5047,2.3708]),r=u([-81.5063,-.01]),o=u([-84.9086,-.005]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(3500)},t.geoMercatorEquatorialGuinea=function(){var t,o,i,a,s,u,l=e.geoMercator().rotate([-9.5,-1.5]),f=e.geoMercator().rotate([-8.6,-3.5]),h=e.geoMercator().rotate([-5.6,1.45]),_={point:function(t,e){u=[t,e]}};function p(t){var e=t[0],n=t[1];return u=null,i.point(e,n),u||(a.point(e,n),u)||(s.point(e,n),u)}function v(){return t=o=null,p}return p.invert=function(t){var e=l.scale(),n=l.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=-.02&&o<0&&r>=-.038&&r<-.005?f:o>=0&&o<.02&&r>=-.038&&r<-.005?h:l).invert(t)},p.stream=function(e){return t&&o===e?t:(n=[l.stream(o=e),f.stream(e),h.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},p.precision=function(t){return arguments.length?(l.precision(t),f.precision(t),h.precision(t),v()):l.precision()},p.scale=function(t){return arguments.length?(l.scale(t),f.scale(1.5*t),h.scale(4*t),p.translate(l.translate())):l.scale()},p.translate=function(t){if(!arguments.length)return l.translate();var e=l.scale(),n=+t[0],o=+t[1];return i=l.translate(t).clipExtent([[n-.005*e,o-.02*e],[n+.038*e,o+.02*e]]).stream(_),a=f.translate([n-.025*e,o-.01*e]).clipExtent([[n-.038*e+r,o-.02*e+r],[n-.005*e-r,o+0*e-r]]).stream(_),s=h.translate([n-.025*e,o+.01*e]).clipExtent([[n-.038*e+r,o-0*e+r],[n-.005*e-r,o+.02*e-r]]).stream(_),v()},p.fitExtent=function(t,e){return c(p,t,e)},p.fitSize=function(t,e){return d(p,t,e)},p.drawCompositionBorders=function(t){var e,n,r,o;e=l([9.21327272751682,2.645820439454123]),n=l([11.679126293239872,2.644755519268689]),r=l([11.676845389029227,.35307824637606433]),o=l([9.213572917774014,.35414205204417754]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=l([7.320873711543669,2.64475551449975]),n=l([9.213272722738658,2.645820434679803]),r=l([9.213422896480349,1.4999812505283054]),o=l([7.322014760520787,1.4989168878985566]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),e=l([7.3220147605302905,1.4989168783492766]),n=l([9.213422896481598,1.499981240979021]),r=l([9.213572912999604,.354142056817247]),o=l([7.323154615739809,.353078251154504]),t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath()},p.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},p.scale(12e3)},t.geoMercatorMalaysia=function(){var t,o,i,a,s,u=e.geoMercator().center([105.25,4]),l=e.geoMercator().center([118.65,2.86]),f={point:function(t,e){s=[t,e]}};function h(t){var e=t[0],n=t[1];return s=null,i.point(e,n),s||(a.point(e,n),s)}function _(){return t=o=null,h}return h.invert=function(t){var e=u.scale(),n=u.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=-.0521&&o<.0229&&r>=-.0111&&r<.1?l:u).invert(t)},h.stream=function(e){return t&&o===e?t:(n=[u.stream(o=e),l.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},h.precision=function(t){return arguments.length?(u.precision(t),l.precision(t),_()):u.precision()},h.scale=function(t){return arguments.length?(u.scale(t),l.scale(.615*t),h.translate(u.translate())):u.scale()},h.translate=function(t){if(!arguments.length)return u.translate();var e=u.scale(),n=+t[0],o=+t[1];return i=u.translate(t).clipExtent([[n-.11*e,o-.0521*e],[n-.0111*e,o+.0521*e]]).stream(f),a=l.translate([n+.09*e,o-0*e]).clipExtent([[n-.0111*e+r,o-.0521*e+r],[n+.1*e-r,o+.024*e-r]]).stream(f),_()},h.fitExtent=function(t,e){return c(h,t,e)},h.fitSize=function(t,e){return d(h,t,e)},h.drawCompositionBorders=function(t){var e=u([106.3214,2.0228]),n=u([105.1843,2.3761]),r=u([104.2151,3.3618]),o=u([104.215,4.5651]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1])},h.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},h.scale(4800)},t.geoTransverseMercatorChile=function(){var t,o,i,a,s,u,l,f=e.geoTransverseMercator().rotate([72,37]),h=e.geoStereographic().rotate([72,0]),_=e.geoMercator().rotate([80,33.5]),p=e.geoMercator().rotate([110,25]),v={point:function(t,e){l=[t,e]}};function g(t){var e=t[0],n=t[1];return l=null,i.point(e,n),l||(a.point(e,n),l)||(s.point(e,n),l)||(u.point(e,n),l)}function m(){return t=o=null,g}return g.invert=function(t){var e=f.scale(),n=f.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.2582&&o<.32&&r>=-.1036&&r<-.087?h:o>=-.01298&&o<.0133&&r>=-.11396&&r<-.05944?_:o>=.01539&&o<.03911&&r>=-.089&&r<-.0588?p:f).invert(t)},g.stream=function(e){return t&&o===e?t:(n=[f.stream(o=e),h.stream(e),_.stream(e),p.stream(e)],r=n.length,t={point:function(t,e){for(var o=-1;++o<r;)n[o].point(t,e)},sphere:function(){for(var t=-1;++t<r;)n[t].sphere()},lineStart:function(){for(var t=-1;++t<r;)n[t].lineStart()},lineEnd:function(){for(var t=-1;++t<r;)n[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<r;)n[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<r;)n[t].polygonEnd()}});var n,r},g.precision=function(t){return arguments.length?(f.precision(t),h.precision(t),_.precision(t),p.precision(t),m()):f.precision()},g.scale=function(t){return arguments.length?(f.scale(t),h.scale(.15*t),_.scale(1.5*t),p.scale(1.5*t),g.translate(f.translate())):f.scale()},g.translate=function(t){if(!arguments.length)return f.translate();var e=f.scale(),n=+t[0],o=+t[1];return i=f.translate(t).clipExtent([[n-.059*e,o-.3835*e],[n+.4498*e,o+.3375*e]]).stream(v),a=h.translate([n-.087*e,o+.17*e]).clipExtent([[n-.1166*e+r,o+.2582*e+r],[n-.06*e-r,o+.32*e-r]]).stream(v),s=_.translate([n-.092*e,o-0*e]).clipExtent([[n-.114*e+r,o-.013*e+r],[n-.0594*e-r,o+.0133*e-r]]).stream(v),u=p.translate([n-.089*e,o-.0265*e]).clipExtent([[n-.089*e+r,o+.0154*e+r],[n-.0588*e-r,o+.0391*e-r]]).stream(v),m()},g.fitExtent=function(t,e){return c(g,t,e)},g.fitSize=function(t,e){return d(g,t,e)},g.drawCompositionBorders=function(t){var e=f([-82.6999,-51.3043]),n=f([-77.5442,-51.6631]),r=f([-78.0254,-55.186]),o=f([-83.6106,-54.7785]),i=f([-80.0638,-35.984]),a=f([-76.2153,-36.1811]),s=f([-76.2994,-37.6839]),u=f([-80.2231,-37.4757]),l=f([-78.442,-37.706]),c=f([-76.263,-37.8054]),d=f([-76.344,-39.1595]),h=f([-78.5638,-39.0559]);t.moveTo(e[0],e[1]),t.lineTo(n[0],n[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(o[0],o[1]),t.closePath(),t.moveTo(i[0],i[1]),t.lineTo(a[0],a[1]),t.lineTo(s[0],s[1]),t.lineTo(s[0],s[1]),t.lineTo(u[0],u[1]),t.closePath(),t.moveTo(l[0],l[1]),t.lineTo(c[0],c[1]),t.lineTo(d[0],d[1]),t.lineTo(d[0],d[1]),t.lineTo(h[0],h[1]),t.closePath()},g.getCompositionBorders=function(){var t=n.path();return this.drawCompositionBorders(t),t.toString()},g.scale(700)},Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js"),n("./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js"))},"./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js":function(t,e,n){!function(t){"use strict";var e={},n={},r=34,o=10,i=13;function a(t){return new Function("d","return {"+t.map(function(t,e){return JSON.stringify(t)+": d["+e+'] || ""'}).join(",")+"}")}function s(t){var e=Object.create(null),n=[];return t.forEach(function(t){for(var r in t)r in e||n.push(e[r]=r)}),n}function u(t,e){var n=t+"",r=n.length;return r<e?new Array(e-r+1).join(0)+n:n}function l(t){var e,n=t.getUTCHours(),r=t.getUTCMinutes(),o=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((e=t.getUTCFullYear())<0?"-"+u(-e,6):e>9999?"+"+u(e,6):u(e,4))+"-"+u(t.getUTCMonth()+1,2)+"-"+u(t.getUTCDate(),2)+(i?"T"+u(n,2)+":"+u(r,2)+":"+u(o,2)+"."+u(i,3)+"Z":o?"T"+u(n,2)+":"+u(r,2)+":"+u(o,2)+"Z":r||n?"T"+u(n,2)+":"+u(r,2)+"Z":"")}function c(t){var u=new RegExp('["'+t+"\n\r]"),c=t.charCodeAt(0);function d(t,a){var s,u=[],l=t.length,d=0,f=0,h=l<=0,_=!1;function p(){if(h)return n;if(_)return _=!1,e;var a,s,u=d;if(t.charCodeAt(u)===r){for(;d++<l&&t.charCodeAt(d)!==r||t.charCodeAt(++d)===r;);return(a=d)>=l?h=!0:(s=t.charCodeAt(d++))===o?_=!0:s===i&&(_=!0,t.charCodeAt(d)===o&&++d),t.slice(u+1,a-1).replace(/""/g,'"')}for(;d<l;){if((s=t.charCodeAt(a=d++))===o)_=!0;else if(s===i)_=!0,t.charCodeAt(d)===o&&++d;else if(s!==c)continue;return t.slice(u,a)}return h=!0,t.slice(u,l)}for(t.charCodeAt(l-1)===o&&--l,t.charCodeAt(l-1)===i&&--l;(s=p())!==n;){for(var v=[];s!==e&&s!==n;)v.push(s),s=p();a&&null==(v=a(v,f++))||u.push(v)}return u}function f(e,n){return e.map(function(e){return n.map(function(t){return _(e[t])}).join(t)})}function h(e){return e.map(_).join(t)}function _(t){return null==t?"":t instanceof Date?l(t):u.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,r,o=d(t,function(t,o){if(n)return n(t,o-1);r=t,n=e?function(t,e){var n=a(t);return function(r,o){return e(n(r),o,t)}}(t,e):a(t)});return o.columns=r||[],o},parseRows:d,format:function(e,n){return null==n&&(n=s(e)),[n.map(_).join(t)].concat(f(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=s(t)),f(t,e).join("\n")},formatRows:function(t){return t.map(h).join("\n")},formatRow:h,formatValue:_}}var d=c(","),f=d.parse,h=d.parseRows,_=d.format,p=d.formatBody,v=d.formatRows,g=d.formatRow,m=d.formatValue,y=c("\t"),b=y.parse,j=y.parseRows,x=y.format,w=y.formatBody,E=y.formatRows,M=y.formatRow,S=y.formatValue,T=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();t.autoType=function(t){for(var e in t){var n,r,o=t[e].trim();if(o)if("true"===o)o=!0;else if("false"===o)o=!1;else if("NaN"===o)o=NaN;else if(isNaN(n=+o)){if(!(r=o.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;T&&r[4]&&!r[7]&&(o=o.replace(/-/g,"/").replace(/T/," ")),o=new Date(o)}else o=n;else o=null;t[e]=o}return t},t.csvFormat=_,t.csvFormatBody=p,t.csvFormatRow=g,t.csvFormatRows=v,t.csvFormatValue=m,t.csvParse=f,t.csvParseRows=h,t.dsvFormat=c,t.tsvFormat=x,t.tsvFormatBody=w,t.tsvFormatRow=M,t.tsvFormatRows=E,t.tsvFormatValue=S,t.tsvParse=b,t.tsvParseRows=j,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js":function(t,e,n){!function(t,e,n){"use strict";var r=Math.abs,o=Math.atan,i=Math.atan2,a=Math.cos,s=Math.exp,u=Math.floor,l=Math.log,c=Math.max,d=Math.min,f=Math.pow,h=Math.round,_=Math.sign||function(t){return t>0?1:t<0?-1:0},p=Math.sin,v=Math.tan,g=1e-6,m=1e-12,y=Math.PI,b=y/2,j=y/4,x=Math.SQRT1_2,w=O(2),E=O(y),M=2*y,S=180/y,T=y/180;function P(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 O(t){return t>0?Math.sqrt(t):0}function C(t){return(s(t)-s(-t))/2}function A(t){return(s(t)+s(-t))/2}function N(t){var e=v(t/2),n=2*l(a(t/2))/(e*e);function o(t,e){var r=a(t),o=a(e),i=p(e),s=o*r,u=-((1-s?l((1+s)/2)/(1-s):-.5)+n/(1+s));return[u*o*p(t),u*i]}return o.invert=function(e,o){var s,u=O(e*e+o*o),c=-t/2,d=50;if(!u)return[0,0];do{var f=c/2,h=a(f),_=p(f),m=v(f),y=l(1/h);c-=s=(2/m*y-n*m-u)/(-y/(_*_)+1-n/(2*h*h))}while(r(s)>g&&--d>0);var b=p(c);return[i(e*b,u*a(c)),P(o*b/u)]},o}function I(t,e){var n=a(e),r=function(t){return t?t/Math.sin(t):1}(k(n*a(t/=2)));return[2*n*p(t)*r,p(e)*r]}function R(t){var e=p(t),n=a(t),o=t>=0?1:-1,s=v(o*t),u=(1+e-n)/2;function l(t,r){var l=a(r),c=a(t/=2);return[(1+l)*p(t),(o*r>-i(c,s)-.001?0:10*-o)+u+p(r)*n-(1+l)*e*c]}return l.invert=function(t,l){var c=0,d=0,f=50;do{var h=a(c),_=p(c),v=a(d),m=p(d),y=1+v,b=y*_-t,j=u+m*n-y*e*h-l,x=y*h/2,w=-_*m,E=e*y*_/2,M=n*v+e*h*m,S=w*E-M*x,T=(j*w-b*M)/S/2,P=(b*E-j*x)/S;c-=T,d-=P}while((r(T)>g||r(P)>g)&&--f>0);return o*d>-i(a(c),s)-.001?[2*c,d]:null},l}function D(t,e){var n=v(e/2),r=O(1-n*n),o=1+r*a(t/=2),i=p(t)*r/o,s=n/o,u=i*i,l=s*s;return[4/3*i*(3+u-3*l),4/3*s*(3+3*u-l)]}I.invert=function(t,e){if(!(t*t+4*e*e>y*y+g)){var n=t,o=e,i=25;do{var s,u=p(n),l=p(n/2),c=a(n/2),d=p(o),f=a(o),h=p(2*o),_=d*d,v=f*f,m=l*l,b=1-v*c*c,j=b?k(f*c)*O(s=1/b):s=0,x=2*j*f*l-t,w=j*d-e,E=s*(v*m+j*f*c*_),M=s*(.5*u*h-2*j*d*l),S=.25*s*(h*l-j*d*v*u),T=s*(_*c+j*m*f),P=M*S-T*E;if(!P)break;var C=(w*M-x*T)/P,A=(x*S-w*E)/P;n-=C,o-=A}while((r(C)>g||r(A)>g)&&--i>0);return[n,o]}},D.invert=function(t,e){if(e*=3/8,!(t*=3/8)&&r(e)>1)return null;var n=t*t,o=e*e,s=1+n+o,u=O((s-O(s*s-4*e*e))/2),c=P(u)/3,d=u?function(t){return l(t+O(t*t-1))}(r(e/u))/3:function(t){return l(t+O(t*t+1))}(r(t))/3,f=a(c),h=A(d),v=h*h-f*f;return[2*_(t)*i(C(d)*f,.25-v),2*_(e)*i(h*p(c),.25+v)]};var L=O(8),q=l(1+w);function B(t,e){var n=r(e);return n<j?[t,l(v(j+e/2))]:[t*a(n)*(2*w-1/p(n)),_(e)*(2*w*(n-j)-l(v(n/2)))]}function z(t){var n=2*y/t;function s(t,o){var s=e.geoAzimuthalEquidistantRaw(t,o);if(r(t)>b){var u=i(s[1],s[0]),l=O(s[0]*s[0]+s[1]*s[1]),c=n*h((u-b)/n)+b,d=i(p(u-=c),2-a(u));u=c+P(y/l*p(d))-d,s[0]=l*a(u),s[1]=l*p(u)}return s}return s.invert=function(t,r){var s=O(t*t+r*r);if(s>b){var u=i(r,t),l=n*h((u-b)/n)+b,c=u>l?-1:1,d=s*a(l-u),f=1/v(c*k((d-y)/O(y*(y-2*d)+s*s)));u=l+2*o((f+c*O(f*f-3))/3),t=s*a(u),r=s*p(u)}return e.geoAzimuthalEquidistantRaw.invert(t,r)},s}function F(t,e){var n,o=t*p(e),i=30;do{e-=n=(e+p(e)-o)/(1+a(e))}while(r(n)>g&&--i>0);return e/2}function G(t,e,n){function r(r,o){return[t*r*a(o=F(n,o)),e*p(o)]}return r.invert=function(r,o){return o=P(o/e),[r/(t*a(o)),P((2*o+p(2*o))/n)]},r}B.invert=function(t,e){if((i=r(e))<q)return[t,2*o(s(e))-b];var n,i,u=j,c=25;do{var d=a(u/2),f=v(u/2);u-=n=(L*(u-j)-l(f)-i)/(L-d*d/(2*f))}while(r(n)>m&&--c>0);return[t/(a(u)*(L-1/p(u))),_(e)*u]};var V=G(w/b,w,y),H=2.00276,U=1.11072;function W(t,e){var n=F(y,e);return[H*t/(1/a(e)+U/a(n)),(e+w*p(n))/H]}W.invert=function(t,e){var n,o,i=H*e,s=e<0?-j:j,u=25;do{o=i-w*p(s),s-=n=(p(2*s)+2*s-y*p(o))/(2*a(2*s)+2+y*a(o)*w*a(s))}while(r(n)>g&&--u>0);return o=i-w*p(s),[t*(1/a(o)+U/a(s))/H,o]};var K=function(t){var n=0,r=e.geoProjectionMutator(t),o=r(n);return o.parallel=function(t){return arguments.length?r(n=t*T):n*S},o};function Y(t,e){return[t*a(e),e]}function $(t){if(!t)return Y;var e=1/v(t);function n(n,r){var o=e+t-r,i=o?n*a(r)/o:o;return[o*p(i),e-o*a(i)]}return n.invert=function(n,r){var o=O(n*n+(r=e-r)*r),s=e+t-o;return[o/a(s)*i(n,r),s]},n}function X(t){function e(e,n){var r=b-n,o=r?e*t*p(r)/r:r;return[r*p(o)/t,b-r*a(o)]}return e.invert=function(e,n){var r=e*t,o=b-n,a=O(r*r+o*o),s=i(r,o);return[(a?a/p(a):1)*s/t,b-a]},e}Y.invert=function(t,e){return[t/a(e),e]};var J=G(1,4/y,y);function Q(t,e,n,o,s,u){var l,c=a(u);if(r(t)>1||r(u)>1)l=k(n*s+e*o*c);else{var d=p(t/2),f=p(u/2);l=2*P(O(d*d+e*o*f*f))}return r(l)>g?[l,i(o*p(u),e*s-n*o*c)]:[0,0]}function Z(t,e,n){return k((t*t+e*e-n*n)/(2*t*e))}function tt(t){return t-2*y*u((t+y)/(2*y))}function et(t,e,n){for(var r,o=[[t[0],t[1],p(t[1]),a(t[1])],[e[0],e[1],p(e[1]),a(e[1])],[n[0],n[1],p(n[1]),a(n[1])]],i=o[2],s=0;s<3;++s,i=r)r=o[s],i.v=Q(r[1]-i[1],i[3],i[2],r[3],r[2],r[0]-i[0]),i.point=[0,0];var u=Z(o[0].v[0],o[2].v[0],o[1].v[0]),l=Z(o[0].v[0],o[1].v[0],o[2].v[0]),c=y-u;o[2].point[1]=0,o[0].point[0]=-(o[1].point[0]=o[0].v[0]/2);var d=[o[2].point[0]=o[0].point[0]+o[2].v[0]*a(u),2*(o[0].point[1]=o[1].point[1]=o[2].v[0]*p(u))];return function(t,e){var n,r=p(e),i=a(e),s=new Array(3);for(n=0;n<3;++n){var u=o[n];if(s[n]=Q(e-u[1],u[3],u[2],i,r,t-u[0]),!s[n][0])return u.point;s[n][1]=tt(s[n][1]-u.v[1])}var f=d.slice();for(n=0;n<3;++n){var h=2==n?0:n+1,_=Z(o[n].v[0],s[n][0],s[h][0]);s[n][1]<0&&(_=-_),n?1==n?(_=l-_,f[0]-=s[n][0]*a(_),f[1]-=s[n][0]*p(_)):(_=c-_,f[0]+=s[n][0]*a(_),f[1]+=s[n][0]*p(_)):(f[0]+=s[n][0]*a(_),f[1]-=s[n][0]*p(_))}return f[0]/=3,f[1]/=3,f}}function nt(t){return t[0]*=T,t[1]*=T,t}function rt(t,n,r){var o=e.geoCentroid({type:"MultiPoint",coordinates:[t,n,r]}),i=[-o[0],-o[1]],a=e.geoRotation(i),s=e.geoProjection(et(nt(a(t)),nt(a(n)),nt(a(r)))).rotate(i),u=s.center;return delete s.rotate,s.center=function(t){return arguments.length?u(a(t)):a.invert(u())},s.clipAngle(90)}function ot(t,e){var n=O(1-p(e));return[2/E*t*n,E*(1-n)]}function it(t){var e=v(t);function n(t,n){return[t,(t?t/p(t):1)*(p(n)*a(t)-e*a(n))]}return n.invert=e?function(t,n){t&&(n*=p(t)/t);var r=a(t);return[t,2*i(O(r*r+e*e-n*n)-r,e-n)]}:function(t,e){return[t,P(t?e*v(t)/t:e)]},n}ot.invert=function(t,e){var n=(n=e/E-1)*n;return[n>0?t*O(y/n)/2:0,P(1-n)]};var at=O(3);function st(t,e){return[at*t*(2*a(2*e/3)-1)/E,at*E*p(e/3)]}function ut(t){var e=a(t);function n(t,n){return[t*e,p(n)/e]}return n.invert=function(t,n){return[t/e,P(n*e)]},n}function lt(t){var e=a(t);function n(t,n){return[t*e,(1+e)*v(n/2)]}return n.invert=function(t,n){return[t/e,2*o(n/(1+e))]},n}function ct(t,e){var n=O(8/(3*y));return[n*t*(1-r(e)/y),n*e]}function dt(t,e){var n=O(4-3*p(r(e)));return[2/O(6*y)*t*n,_(e)*O(2*y/3)*(2-n)]}function ft(t,e){var n=O(y*(4+y));return[2/n*t*(1+O(1-4*e*e/(y*y))),4/n*e]}function ht(t,e){var n=(2+b)*p(e);e/=2;for(var o=0,i=1/0;o<10&&r(i)>g;o++){var s=a(e);e-=i=(e+p(e)*(s+2)-n)/(2*s*(1+s))}return[2/O(y*(4+y))*t*(1+a(e)),2*O(y/(4+y))*p(e)]}function _t(t,e){return[t*(1+a(e))/O(2+y),2*e/O(2+y)]}function pt(t,e){for(var n=(1+b)*p(e),o=0,i=1/0;o<10&&r(i)>g;o++)e-=i=(e+p(e)-n)/(1+a(e));return n=O(2+y),[t*(1+a(e))/n,2*e/n]}st.invert=function(t,e){var n=3*P(e/(at*E));return[E*t/(at*(2*a(2*n/3)-1)),n]},ct.invert=function(t,e){var n=O(8/(3*y)),o=e/n;return[t/(n*(1-r(o)/y)),o]},dt.invert=function(t,e){var n=2-r(e)/O(2*y/3);return[t*O(6*y)/(2*n),_(e)*P((4-n*n)/3)]},ft.invert=function(t,e){var n=O(y*(4+y))/2;return[t*n/(1+O(1-e*e*(4+y)/(4*y))),e*n/2]},ht.invert=function(t,e){var n=e*O((4+y)/y)/2,r=P(n),o=a(r);return[t/(2/O(y*(4+y))*(1+o)),P((r+n*(o+2))/(2+b))]},_t.invert=function(t,e){var n=O(2+y),r=e*n/2;return[n*t/(1+a(r)),r]},pt.invert=function(t,e){var n=1+b,r=O(n/2);return[2*t*r/(1+a(e*=r)),P((e+p(e))/n)]};var vt=3+2*w;function gt(t,e){var n=p(t/=2),r=a(t),i=O(a(e)),s=a(e/=2),u=p(e)/(s+w*r*i),c=O(2/(1+u*u)),d=O((w*s+(r+n)*i)/(w*s+(r-n)*i));return[vt*(c*(d-1/d)-2*l(d)),vt*(c*u*(d+1/d)-2*o(u))]}gt.invert=function(t,e){if(!(n=D.invert(t/1.2,1.065*e)))return null;var n,i=n[0],s=n[1],u=20;t/=vt,e/=vt;do{var f=i/2,h=s/2,_=p(f),v=a(f),m=p(h),y=a(h),j=a(s),E=O(j),M=m/(y+w*v*E),S=M*M,T=O(2/(1+S)),P=w*y+(v+_)*E,k=w*y+(v-_)*E,C=P/k,A=O(C),N=A-1/A,I=A+1/A,R=T*N-2*l(A)-t,L=T*M*I-2*o(M)-e,q=m&&x*E*_*S/m,B=(w*v*y+E)/(2*(y+w*v*E)*(y+w*v*E)*E),z=-.5*M*T*T*T,F=z*q,G=z*B,V=(V=2*y+w*E*(v-_))*V*A,H=(w*v*y*E+j)/V,U=-w*_*m/(E*V),W=N*F-2*H/A+T*(H+H/C),K=N*G-2*U/A+T*(U+U/C),Y=M*I*F-2*q/(1+S)+T*I*q+T*M*(H-H/C),$=M*I*G-2*B/(1+S)+T*I*B+T*M*(U-U/C),X=K*Y-$*W;if(!X)break;var J=(L*K-R*$)/X,Q=(R*Y-L*W)/X;i-=J,s=c(-b,d(b,s-Q))}while((r(J)>g||r(Q)>g)&&--u>0);return r(r(s)-b)<g?[0,s]:u&&[i,s]};var mt=a(35*T);function yt(t,e){var n=v(e/2);return[t*mt*O(1-n*n),(1+mt)*n]}function bt(t,e){var n=e/2,r=a(n);return[2*t/E*a(e)*r*r,E*v(n)]}function jt(t){return[t[0]/2,P(v(t[1]/2*T))*S]}function xt(t){return[2*t[0],2*o(p(t[1]*T))*S]}function wt(t,n){var o=2*y/n,s=t*t;function u(n,u){var l=e.geoAzimuthalEquidistantRaw(n,u),c=l[0],d=l[1],f=c*c+d*d;if(f>s){var _=O(f),v=i(d,c),m=o*h(v/o),j=v-m,x=t*a(j),w=(t*p(j)-j*p(x))/(b-x),E=Et(j,w),M=(y-t)/Mt(E,x,y);c=_;var S,T=50;do{c-=S=(t+Mt(E,x,c)*M-_)/(E(c)*M)}while(r(S)>g&&--T>0);d=j*p(c),c<b&&(d-=w*(c-b));var P=p(m),k=a(m);l[0]=c*k-d*P,l[1]=c*P+d*k}return l}return u.invert=function(n,u){var l=n*n+u*u;if(l>s){var c=O(l),d=i(u,n),f=o*h(d/o),_=d-f;n=c*a(_),u=c*p(_);for(var v=n-b,g=p(n),j=u/g,x=n<b?1/0:0,w=10;;){var E=t*p(j),M=t*a(j),S=p(M),T=b-M,P=(E-j*S)/T,k=Et(j,P);if(r(x)<m||!--w)break;j-=x=(j*g-P*v-u)/(g-2*v*(T*(M+j*E*a(M)-S)-E*(E-j*S))/(T*T))}c=t+Mt(k,M,n)*(y-t)/Mt(k,M,y),n=c*a(d=f+j),u=c*p(d)}return e.geoAzimuthalEquidistantRaw.invert(n,u)},u}function Et(t,e){return function(n){var r=t*a(n);return n<b&&(r-=e),O(1+r*r)}}function Mt(t,e,n){for(var r=(n-e)/50,o=t(e)+t(n),i=1,a=e;i<50;++i)o+=2*t(a+=r);return.5*o*r}yt.invert=function(t,e){var n=e/(1+mt);return[t&&t/(mt*O(1-n*n)),2*o(n)]},bt.invert=function(t,e){var n=o(e/E),r=a(n),i=2*n;return[t*E/2/(a(i)*r*r),i]};var St=function(t,e,n,o,i,s,u,l){function c(r,c){if(!c)return[t*r/y,0];var d=c*c,f=t+d*(e+d*(n+d*o)),h=c*(i-1+d*(s-l+d*u)),_=(f*f+h*h)/(2*h),v=r*P(f/_)/y;return[_*p(v),c*(1+d*l)+_*(1-a(v))]}return arguments.length<8&&(l=0),c.invert=function(c,d){var f,h,_=y*c/t,v=d,m=50;do{var b=v*v,j=t+b*(e+b*(n+b*o)),x=v*(i-1+b*(s-l+b*u)),w=j*j+x*x,E=2*x,M=w/E,S=M*M,T=P(j/M)/y,k=_*T,C=j*j,A=(2*e+b*(4*n+6*b*o))*v,N=i+b*(3*s+5*b*u),I=2*(j*A+x*(N-1)),R=2*(N-1),D=(I*E-w*R)/(E*E),L=a(k),q=p(k),B=M*L,z=M*q,F=_/y*(1/O(1-C/S))*(A*M-j*D)/S,G=z-c,V=v*(1+b*l)+M-B-d,H=D*q+B*F,U=B*T,W=1+D-(D*L-z*F),K=z*T,Y=H*K-W*U;if(!Y)break;_-=f=(V*H-G*W)/Y,v-=h=(G*K-V*U)/Y}while((r(f)>g||r(h)>g)&&--m>0);return[_,v]},c},Tt=St(2.8284,-1.6988,.75432,-.18071,1.76003,-.38914,.042555),Pt=St(2.583819,-.835827,.170354,-.038094,1.543313,-.411435,.082742),kt=St(5/6*y,-.62636,-.0344,0,1.3493,-.05524,0,.045);function Ot(t,e){var n=t*t,r=e*e;return[t*(1-.162388*r)*(.87-952426e-9*n*n),e*(1+r/12)]}Ot.invert=function(t,e){var n,o=t,i=e,a=50;do{var s=i*i;i-=n=(i*(1+s/12)-e)/(1+s/4)}while(r(n)>g&&--a>0);a=50,t/=1-.162388*s;do{var u=(u=o*o)*u;o-=n=(o*(.87-952426e-9*u)-t)/(.87-.00476213*u)}while(r(n)>g&&--a>0);return[o,i]};var Ct=St(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762),At=function(t){var e=t(b,0)[0]-t(-b,0)[0];function n(n,r){var o=n>0?-.5:.5,i=t(n+o*y,r);return i[0]-=o*e,i}return t.invert&&(n.invert=function(n,r){var o=n>0?-.5:.5,i=t.invert(n+o*e,r),a=i[0]-o*y;return a<-y?a+=2*y:a>y&&(a-=2*y),i[0]=a,i}),n};function Nt(t,e){var n=_(t),o=_(e),s=a(e),u=a(t)*s,l=p(t)*s,c=p(o*e);t=r(i(l,c)),e=P(u),r(t-b)>g&&(t%=b);var d=function(t,e){if(e===b)return[0,0];var n,o,i=p(e),s=i*i,u=s*s,l=1+u,c=1+3*u,d=1-u,f=P(1/O(l)),h=d+s*l*f,_=(1-i)/h,v=O(_),m=_*l,j=O(m),x=v*d;if(0===t)return[0,-(x+s*j)];var w,E=a(e),M=1/E,S=2*i*E,T=(-h*E-(-3*s+f*c)*S*(1-i))/(h*h),k=-M*S,C=-M*(s*l*T+_*c*S),A=-2*M*(d*(.5*T/v)-2*s*v*S),N=4*t/y;if(t>.222*y||e<y/4&&t>.175*y){if(n=(x+s*O(m*(1+u)-x*x))/(1+u),t>y/4)return[n,n];var I=n,R=.5*n;n=.5*(R+I),o=50;do{var D=O(m-n*n),L=n*(A+k*D)+C*P(n/j)-N;if(!L)break;L<0?R=n:I=n,n=.5*(R+I)}while(r(I-R)>g&&--o>0)}else{n=g,o=25;do{var q=n*n,B=O(m-q),z=A+k*B,F=n*z+C*P(n/j)-N,G=z+(C-k*q)/B;n-=w=B?F/G:0}while(r(w)>g&&--o>0)}return[n,-x-s*O(m-n*n)]}(t>y/4?b-t:t,e);return t>y/4&&(c=d[0],d[0]=-d[1],d[1]=-c),d[0]*=n,d[1]*=-o,d}function It(t,e){var n,i,u,l,c,d;if(e<g)return l=p(t),i=a(t),[l-(n=e*(t-l*i)/4)*i,i+n*l,1-e*l*l/2,t-n];if(e>=1-g)return n=(1-e)/4,i=A(t),l=((d=s(2*(d=t)))-1)/(d+1),u=1/i,c=i*C(t),[l+n*(c-t)/(i*i),u-n*l*u*(c-t),u+n*l*u*(c+t),2*o(s(t))-b+n*(c-t)/i];var f=[1,0,0,0,0,0,0,0,0],h=[O(e),0,0,0,0,0,0,0,0],_=0;for(i=O(1-e),c=1;r(h[_]/f[_])>g&&_<8;)n=f[_++],h[_]=(n-i)/2,f[_]=(n+i)/2,i=O(n*i),c*=2;u=c*f[_]*t;do{l=h[_]*p(i=u)/f[_],u=(P(l)+u)/2}while(--_);return[p(u),l=a(u),l/a(u-i),u]}function Rt(t,e){if(!e)return t;if(1===e)return l(v(t/2+j));for(var n=1,i=O(1-e),a=O(e),s=0;r(a)>g;s++){if(t%y){var u=o(i*v(t)/n);u<0&&(u+=y),t+=u+~~(t/y)*y}else t+=t;a=(n+i)/2,i=O(n*i),a=((n=a)-i)/2}return t/(f(2,s)*n)}function Dt(t,e){var n=(w-1)/(w+1),u=O(1-n*n),c=Rt(b,u*u),d=l(v(y/4+r(e)/2)),f=s(-1*d)/O(n),h=function(t,e){var n=t*t,r=e+1,o=1-n-e*e;return[.5*((t>=0?b:-b)-i(o,2*t)),-.25*l(o*o+4*n)+.5*l(r*r+n)]}(f*a(-1*t),f*p(-1*t)),g=function(t,e,n){var i=r(t),a=C(r(e));if(i){var s=1/p(i),u=1/(v(i)*v(i)),l=-(u+n*(a*a*s*s)-1+n),c=(n-1)*u,d=(-l+O(l*l-4*c))/2;return[Rt(o(1/O(d)),n)*_(t),Rt(o(O((d/u-1)/n)),1-n)*_(e)]}return[0,Rt(o(a),1-n)*_(e)]}(h[0],h[1],u*u);return[-g[1],(e>=0?1:-1)*(.5*c-g[0])]}function Lt(t,n){if(arguments.length<2&&(n=t),1===n)return e.geoAzimuthalEqualAreaRaw;if(n===1/0)return qt;function r(r,o){var i=e.geoAzimuthalEqualAreaRaw(r/n,o);return i[0]*=t,i}return r.invert=function(r,o){var i=e.geoAzimuthalEqualAreaRaw.invert(r/t,o);return i[0]*=n,i},r}function qt(t,e){return[t*a(e)/a(e/=2),2*p(e)]}function Bt(t){var e=p(t),n=a(t),o=zt(t);function s(t,i){var s=o(t,i);t=s[0],i=s[1];var u=p(i),l=a(i),c=a(t),d=k(e*u+n*l*c),f=p(d),h=r(f)>g?d/f:1;return[h*n*p(t),(r(t)>b?h:-h)*(e*l-n*u*c)]}return o.invert=zt(-t),s.invert=function(t,n){var r=O(t*t+n*n),s=-p(r),u=a(r),l=r*u,c=-n*s,d=r*e,f=O(l*l+c*c-d*d),h=i(l*d+c*f,c*d-l*f),_=(r>b?-1:1)*i(t*s,r*a(h)*u+n*p(h)*s);return o.invert(_,h)},s}function zt(t){var e=p(t),n=a(t);return function(t,r){var o=a(r),s=a(t)*o,u=p(t)*o,l=p(r);return[i(u,s*n-l*e),P(l*n+s*e)]}}Nt.invert=function(t,e){r(t)>1&&(t=2*_(t)-t),r(e)>1&&(e=2*_(e)-e);var n=_(t),o=_(e),s=-n*t,u=-o*e,l=u/s<1,c=function(t,e){for(var n=0,o=1,i=.5,s=50;;){var u=i*i,l=O(i),c=P(1/O(1+u)),d=1-u+i*(1+u)*c,f=(1-l)/d,h=O(f),_=f*(1+u),p=h*(1-u),v=_-t*t,g=O(v),b=e+p+i*g;if(r(o-n)<m||0==--s||0===b)break;b>0?n=i:o=i,i=.5*(n+o)}if(!s)return null;var j=P(l),x=a(j),w=1/x,E=2*l*x,M=(-d*x-(-3*i+c*(1+3*u))*E*(1-l))/(d*d);return[y/4*(t*(-2*w*(.5*M/h*(1-u)-2*i*h*E)+-w*E*g)+-w*(i*(1+u)*M+f*(1+3*u)*E)*P(t/O(_))),j]}(l?u:s,l?s:u),d=c[0],f=c[1],h=a(f);return l&&(d=-b-d),[n*(i(p(d)*h,-p(f))+y),o*P(a(d)*h)]},Dt.invert=function(t,e){var n,r,a,u=(w-1)/(w+1),c=O(1-u*u),d=Rt(b,c*c),f=function(t,e,n){var r,o,i;return t?(r=It(t,n),e?(o=It(e,1-n),i=o[1]*o[1]+n*r[0]*r[0]*o[0]*o[0],[[r[0]*o[2]/i,r[1]*r[2]*o[0]*o[1]/i],[r[1]*o[1]/i,-r[0]*r[2]*o[0]*o[2]/i],[r[2]*o[1]*o[2]/i,-n*r[0]*r[1]*o[0]/i]]):[[r[0],0],[r[1],0],[r[2],0]]):[[0,(o=It(e,1-n))[0]/o[1]],[1/o[1],0],[o[2]/o[1],0]]}(.5*d-e,-t,c*c),h=(n=f[0],r=f[1],a=r[0]*r[0]+r[1]*r[1],[(n[0]*r[0]+n[1]*r[1])/a,(n[1]*r[0]-n[0]*r[1])/a]),_=i(h[1],h[0])/-1;return[_,2*o(s(-.5*l(u*h[0]*h[0]+u*h[1]*h[1])))-b]},qt.invert=function(t,e){var n=2*P(e/2);return[t*a(n/2)/a(n),n]};var Ft=41+48/36+37/3600,Gt=ut(0);function Vt(t){var e=Ft*T,n=ot(y,e)[0]-ot(-y,e)[0],o=Gt(0,e)[1],i=ot(0,e)[1],a=E-i,s=M/t,l=4/M,f=o+a*a*4/M;function h(h,_){var p,v=r(_);if(v>e){var g=d(t-1,c(0,u((h+y)/s)));(p=ot(h+=y*(t-1)/t-g*s,v))[0]=p[0]*M/n-M*(t-1)/(2*t)+g*M/t,p[1]=o+4*(p[1]-i)*a/M,_<0&&(p[1]=-p[1])}else p=Gt(h,_);return p[0]*=l,p[1]/=f,p}return h.invert=function(e,h){e/=l;var _=r(h*=f);if(_>o){var p=d(t-1,c(0,u((e+y)/s)));e=(e+y*(t-1)/t-p*s)*n/M;var v=ot.invert(e,.25*(_-o)*M/a+i);return v[0]-=y*(t-1)/t-p*s,h<0&&(v[1]=-v[1]),v}return Gt.invert(e,h)},h}function Ht(t){var e,n=1+t,o=p(1/n),s=P(o),u=2*O(y/(e=y+4*s*n)),l=.5*u*(n+O(t*(2+t))),c=t*t,d=n*n;function f(o,f){var h,_,v=1-p(f);if(v&&v<2){var g,j=b-f,x=25;do{var w=p(j),E=a(j),M=s+i(w,n-E),S=1+d-2*n*E;j-=g=(j-c*s-n*w+S*M-.5*v*e)/(2*n*w*M)}while(r(g)>m&&--x>0);h=u*O(S),_=o*M/y}else h=u*(t+v),_=o*s/y;return[h*p(_),l-h*a(_)]}return f.invert=function(t,r){var o=t*t+(r-=l)*r,a=(1+d-o/(u*u))/(2*n),f=k(a),h=p(f),_=s+i(h,n-a);return[P(t/O(o))*y/_,P(1-2*(f-c*s-n*h+(1+d-2*n*a)*_)/e)]},f}var Ut=.7109889596207567,Wt=.0528035274542;function Kt(t,e){return e>-Ut?((t=V(t,e))[1]+=Wt,t):Y(t,e)}function Yt(t,e){return r(e)>Ut?((t=V(t,e))[1]-=e>0?Wt:-Wt,t):Y(t,e)}function $t(t,e){return r(t[0]-e[0])<g&&r(t[1]-e[1])<g}function Xt(t,e){for(var n,r,o,i=-1,a=t.length,s=t[0],u=[];++i<a;){n=t[i],r=(n[0]-s[0])/e,o=(n[1]-s[1])/e;for(var l=0;l<e;++l)u.push([s[0]+l*r,s[1]+l*o]);s=n}return u.push(n),u}Kt.invert=function(t,e){return e>-Ut?V.invert(t,e-Wt):Y.invert(t,e)},Yt.invert=function(t,e){return r(e)>Ut?V.invert(t,e+(e>0?Wt:-Wt)):Y.invert(t,e)};var Jt=function(t,r){var o=function(t){var e,r,o,i,a,s,u,l=[],c=t[0].length;for(u=0;u<c;++u)e=t[0][u],r=e[0][0],o=e[0][1],i=e[1][1],a=e[2][0],s=e[2][1],l.push(Xt([[r+g,o+g],[r+g,i-g],[a-g,i-g],[a-g,s+g]],30));for(u=t[1].length-1;u>=0;--u)e=t[1][u],r=e[0][0],o=e[0][1],i=e[1][1],a=e[2][0],s=e[2][1],l.push(Xt([[a-g,s-g],[a-g,i+g],[r+g,i+g],[r+g,o-g]],30));return{type:"Polygon",coordinates:[n.merge(l)]}}(r),i=(r=r.map(function(t){return t.map(function(t){return[[t[0][0]*T,t[0][1]*T],[t[1][0]*T,t[1][1]*T],[t[2][0]*T,t[2][1]*T]]})})).map(function(e){return e.map(function(e){var n,r=t(e[0][0],e[0][1])[0],o=t(e[2][0],e[2][1])[0],i=t(e[1][0],e[0][1])[1],a=t(e[1][0],e[1][1])[1];return i>a&&(n=i,i=a,a=n),[[r,i],[o,a]]})});function a(e,n){for(var o=n<0?-1:1,i=r[+(n<0)],a=0,s=i.length-1;a<s&&e>i[a][2][0];++a);var u=t(e-i[a][1][0],n);return u[0]+=t(i[a][1][0],o*n>o*i[a][0][1]?i[a][0][1]:n)[0],u}t.invert&&(a.invert=function(e,n){for(var o=i[+(n<0)],s=r[+(n<0)],u=0,l=o.length;u<l;++u){var c=o[u];if(c[0][0]<=e&&e<c[1][0]&&c[0][1]<=n&&n<c[1][1]){var d=t.invert(e-t(s[u][1][0],0)[0],n);return d[0]+=s[u][1][0],$t(a(d[0],d[1]),[e,n])?d:null}}});var s=e.geoProjection(a),u=s.stream;return s.stream=function(t){var n=s.rotate(),r=u(t),i=(s.rotate([0,0]),u(t));return s.rotate(n),r.sphere=function(){e.geoStream(o,i)},r},s},Qt=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],Zt=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],te=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]],ee=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]],ne=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]],re=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];function oe(t,e){return[3/M*t*O(y*y/3-e*e),e]}function ie(t){function e(e,n){if(r(r(n)-b)<g)return[0,n<0?-2:2];var o=p(n),i=f((1+o)/(1-o),t/2),s=.5*(i+1/i)+a(e*=t);return[2*p(e)/s,(i-1/i)/s]}return e.invert=function(e,n){var o=r(n);if(r(o-2)<g)return e?null:[0,_(n)*b];if(o>2)return null;var a=(e/=2)*e,s=(n/=2)*n,u=2*n/(1+a+s);return u=f((1+u)/(1-u),1/t),[i(2*e,1-a-s)/t,P((u-1)/(u+1))]},e}oe.invert=function(t,e){return[M/3*t/O(y*y/3-e*e),e]};var ae=y/w;function se(t,e){return[t*(1+O(a(e)))/2,e/(a(e/2)*a(t/6))]}function ue(t,e){var n=t*t,r=e*e;return[t*(.975534+r*(-.0143059*n-.119161+-.0547009*r)),e*(1.00384+n*(.0802894+-.02855*r+199025e-9*n)+r*(.0998909+-.0491032*r))]}function le(t,e){return[p(t)/a(e),v(e)*a(t)]}function ce(t){var e=a(t),n=v(j+t/2);function o(o,i){var a=i-t,s=r(a)<g?o*e:r(s=j+i/2)<g||r(r(s)-b)<g?0:o*a/l(v(s)/n);return[s,a]}return o.invert=function(o,i){var a,s=i+t;return[r(i)<g?o/e:r(a=j+s/2)<g||r(r(a)-b)<g?0:o*l(v(a)/n)/i,s]},o}function de(t,e){return[t,1.25*l(v(j+.4*e))]}function fe(t){var e=t.length-1;function n(n,r){for(var o,i=a(r),s=2/(1+i*a(n)),u=s*i*p(n),l=s*p(r),c=e,d=t[c],f=d[0],h=d[1];--c>=0;)d=t[c],f=d[0]+u*(o=f)-l*h,h=d[1]+u*h+l*o;return[f=u*(o=f)-l*h,h=u*h+l*o]}return n.invert=function(n,s){var u=20,l=n,c=s;do{for(var d,f=e,h=t[f],_=h[0],v=h[1],m=0,y=0;--f>=0;)h=t[f],m=_+l*(d=m)-c*y,y=v+l*y+c*d,_=h[0]+l*(d=_)-c*v,v=h[1]+l*v+c*d;m=_+l*(d=m)-c*y,y=v+l*y+c*d,_=l*(d=_)-c*v-n;var b,j,x=m*m+y*y;l-=b=(_*m+(v=l*v+c*d-s)*y)/x,c-=j=(v*m-_*y)/x}while(r(b)+r(j)>g*g&&--u>0);if(u){var w=O(l*l+c*c),E=2*o(.5*w),M=p(E);return[i(l*M,w*a(E)),w?P(c*M/w):0]}},n}se.invert=function(t,e){var n=r(t),o=r(e),i=g,s=b;o<ae?s*=o/ae:i+=6*k(ae/o);for(var u=0;u<25;u++){var l=p(s),c=O(a(s)),d=p(s/2),f=a(s/2),h=p(i/6),_=a(i/6),v=.5*i*(1+c)-n,m=s/(f*_)-o,y=c?-.25*i*l/c:0,j=.5*(1+c),x=(1+.5*s*d/f)/(f*_),w=s/f*(h/6)/(_*_),E=y*w-x*j,M=(v*w-m*j)/E,S=(m*y-v*x)/E;if(s-=M,i-=S,r(M)<g&&r(S)<g)break}return[t<0?-i:i,e<0?-s:s]},ue.invert=function(t,e){var n=_(t)*y,o=e/2,i=50;do{var a=n*n,s=o*o,u=n*o,l=n*(.975534+s*(-.0143059*a-.119161+-.0547009*s))-t,c=o*(1.00384+a*(.0802894+-.02855*s+199025e-9*a)+s*(.0998909+-.0491032*s))-e,d=.975534-s*(.119161+3*a*.0143059+.0547009*s),f=-u*(.238322+.2188036*s+.0286118*a),h=u*(.1605788+7961e-7*a+-.0571*s),p=1.00384+a*(.0802894+199025e-9*a)+s*(3*(.0998909-.02855*a)-.245516*s),v=f*h-p*d,m=(c*f-l*p)/v,b=(l*h-c*d)/v;n-=m,o-=b}while((r(m)>g||r(b)>g)&&--i>0);return i&&[n,o]},le.invert=function(t,e){var n=t*t,r=e*e,o=r+1,i=t?x*O((o-O(n*n+2*n*(r-1)+o*o))/n+1):1/O(o);return[P(t*i),_(e)*k(i)]},de.invert=function(t,e){return[t,2.5*o(s(.8*e))-.625*y]};var he=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],_e=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],pe=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],ve=[[.9245,0],[0,0],[.01943,0]],ge=[[.721316,0],[0,0],[-.00881625,-.00617325]];function me(t,n){var r=e.geoProjection(fe(t)).rotate(n).clipAngle(90),o=e.geoRotation(n),i=r.center;return delete r.rotate,r.center=function(t){return arguments.length?i(o(t)):o.invert(i())},r}var ye=O(6),be=O(7);function je(t,e){var n=P(7*p(e)/(3*ye));return[ye*t*(2*a(2*n/3)-1)/be,9*p(n/3)/be]}function xe(t,e){for(var n,o=(1+x)*p(e),i=e,s=0;s<25&&(i-=n=(p(i/2)+p(i)-o)/(.5*a(i/2)+a(i)),!(r(n)<g));s++);return[t*(1+2*a(i)/a(i/2))/(3*w),2*O(3)*p(i/2)/O(2+w)]}function we(t,e){for(var n,o=O(6/(4+y)),i=(1+y/4)*p(e),s=e/2,u=0;u<25&&(s-=n=(s/2+p(s)-i)/(.5+a(s)),!(r(n)<g));u++);return[o*(.5+a(s))*t/1.5,o*s]}function Ee(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function Me(t,e){var n=e*e,r=n*n,o=n*r;return[t*(.84719-.13063*n+o*o*(.05494*n-.04515-.02326*r+.00331*o)),e*(1.01183+r*r*(.01926*n-.02625-.00396*r))]}function Se(t,e){return[t*(1+a(e))/2,2*(e-v(e/2))]}je.invert=function(t,e){var n=3*P(e*be/9);return[t*be/(ye*(2*a(2*n/3)-1)),P(3*p(n)*ye/7)]},xe.invert=function(t,e){var n=e*O(2+w)/(2*O(3)),r=2*P(n);return[3*w*t/(1+2*a(r)/a(r/2)),P((n+p(r))/(1+x))]},we.invert=function(t,e){var n=O(6/(4+y)),o=e/n;return r(r(o)-b)<g&&(o=o<0?-b:b),[1.5*t/(n*(.5+a(o))),P((o/2+p(o))/(1+y/4))]},Ee.invert=function(t,e){var n,o=e,i=25;do{var a=o*o,s=a*a;o-=n=(o*(1.007226+a*(.015085+s*(.028874*a-.044475-.005916*s)))-e)/(1.007226+a*(.045255+s*(.259866*a-.311325-.005916*11*s)))}while(r(n)>g&&--i>0);return[t/(.8707+(a=o*o)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),o]},Me.invert=function(t,e){var n,o,i,a,s=e,u=25;do{s-=n=(s*(1.01183+(i=(o=s*s)*o)*i*(.01926*o-.02625-.00396*i))-e)/(1.01183+i*i*(.21186*o-.23625+-.05148*i))}while(r(n)>m&&--u>0);return[t/(.84719-.13063*(o=s*s)+(a=o*(i=o*o))*a*(.05494*o-.04515-.02326*i+.00331*a)),s]},Se.invert=function(t,e){for(var n=e/2,o=0,i=1/0;o<10&&r(i)>g;++o){var s=a(e/2);e-=i=(e-v(e/2)-n)/(1-.5/(s*s))}return[2*t/(1+a(e)),e]};var Te=1.0148,Pe=.23185,ke=-.14499,Oe=.02406,Ce=Te,Ae=5*Pe,Ne=7*ke,Ie=9*Oe;function Re(t,e){var n=e*e;return[t,e*(Te+n*n*(Pe+n*(ke+Oe*n)))]}function De(t,e){if(r(e)<g)return[t,0];var n=v(e),o=t*p(e);return[p(o)/n,e+(1-a(o))/n]}Re.invert=function(t,e){e>1.790857183?e=1.790857183:e<-1.790857183&&(e=-1.790857183);var n,o=e;do{var i=o*o;o-=n=(o*(Te+i*i*(Pe+i*(ke+Oe*i)))-e)/(Ce+i*i*(Ae+i*(Ne+Ie*i)))}while(r(n)>g);return[t,o]},De.invert=function(t,e){if(r(e)<g)return[t,0];var n,o=t*t+e*e,i=.5*e,s=10;do{var u=v(i),l=1/a(i),c=o-2*e*i+i*i;i-=n=(u*c+2*(i-e))/(2+c*l*l+2*(i-e)*u)}while(r(n)>g&&--s>0);return u=v(i),[(r(e)<r(i+1/u)?P(t*u):_(t)*(k(r(t*u))+b))/p(i),i]};var Le=function(t,e){var n=Be(t[1],t[0]),r=Be(e[1],e[0]),o=function(t,e){return i(t[0]*e[1]-t[1]*e[0],t[0]*e[0]+t[1]*e[1])}(n,r),s=ze(n)/ze(r);return qe([1,0,t[0][0],0,1,t[0][1]],qe([s,0,0,0,s,0],qe([a(o),p(o),0,-p(o),a(o),0],[1,0,-e[0][0],0,1,-e[0][1]])))};function qe(t,e){return[t[0]*e[0]+t[1]*e[3],t[0]*e[1]+t[1]*e[4],t[0]*e[2]+t[1]*e[5]+t[2],t[3]*e[0]+t[4]*e[3],t[3]*e[1]+t[4]*e[4],t[3]*e[2]+t[4]*e[5]+t[5]]}function Be(t,e){return[t[0]-e[0],t[1]-e[1]]}function ze(t){return O(t[0]*t[0]+t[1]*t[1])}var Fe=function(t,n,o){function i(t,e){var r,o=n(t,e),i=o.project([t*S,e*S]);return(r=o.transform)?[r[0]*i[0]+r[1]*i[1]+r[2],-(r[3]*i[0]+r[4]*i[1]+r[5])]:(i[1]=-i[1],i)}(function t(e,n){if(e.edges=function(t){for(var e=t.length,n=[],r=t[e-1],o=0;o<e;++o)n.push([r,r=t[o]]);return n}(e.face),n.face){var r=e.shared=function(t,e){for(var n,r,o=t.length,i=null,a=0;a<o;++a){n=t[a];for(var s=e.length;--s>=0;)if(r=e[s],n[0]===r[0]&&n[1]===r[1]){if(i)return[i,n];i=n}}}(e.face,n.face),o=Le(r.map(n.project),r.map(e.project));e.transform=n.transform?qe(n.transform,o):o;for(var i=n.edges,a=0,s=i.length;a<s;++a)Ge(r[0],i[a][1])&&Ge(r[1],i[a][0])&&(i[a]=e),Ge(r[0],i[a][0])&&Ge(r[1],i[a][1])&&(i[a]=e);for(i=e.edges,a=0,s=i.length;a<s;++a)Ge(r[0],i[a][0])&&Ge(r[1],i[a][1])&&(i[a]=n),Ge(r[0],i[a][1])&&Ge(r[1],i[a][0])&&(i[a]=n)}else e.transform=n.transform;return e.children&&e.children.forEach(function(n){t(n,e)}),e})(t,{transform:[a(o=null==o?-y/6:o),p(o),0,-p(o),a(o),0]}),Ve(t)&&(i.invert=function(e,r){var o=function t(e,r){var o,i,a=e.project.invert,s=e.transform,u=r;if(s&&(i=1/((o=s)[0]*o[4]-o[1]*o[3]),s=[i*o[4],-i*o[1],i*(o[1]*o[5]-o[2]*o[4]),-i*o[3],i*o[0],i*(o[2]*o[3]-o[0]*o[5])],u=[s[0]*u[0]+s[1]*u[1]+s[2],s[3]*u[0]+s[4]*u[1]+s[5]]),a&&e===function(t){return n(t[0]*T,t[1]*T)}(l=a(u)))return l;for(var l,c=e.children,d=0,f=c&&c.length;d<f;++d)if(l=t(c[d],r))return l}(t,[e,-r]);return o&&(o[0]*=T,o[1]*=T,o)});var s=e.geoProjection(i),u=s.stream;return s.stream=function(n){var o=s.rotate(),i=u(n),a=(s.rotate([0,0]),u(n));return s.rotate(o),i.sphere=function(){a.polygonStart(),a.lineStart(),function t(n,o,i){var a,s,u=o.edges,l=u.length,c={type:"MultiPoint",coordinates:o.face},d=o.face.filter(function(t){return 90!==r(t[1])}),f=e.geoBounds({type:"MultiPoint",coordinates:d}),h=!1,_=-1,p=f[1][0]-f[0][0],v=180===p||360===p?[(f[0][0]+f[1][0])/2,(f[0][1]+f[1][1])/2]:e.geoCentroid(c);if(i)for(;++_<l&&u[_]!==i;);++_;for(var m=0;m<l;++m)s=u[(m+_)%l],Array.isArray(s)?(h||(n.point((a=e.geoInterpolate(s[0],v)(g))[0],a[1]),h=!0),n.point((a=e.geoInterpolate(s[1],v)(g))[0],a[1])):(h=!1,s!==i&&t(n,s,o))}(a,t),a.lineEnd(),a.polygonEnd()},i},s};function Ge(t,e){return t&&e&&t[0]===e[0]&&t[1]===e[1]}function Ve(t){return t.project.invert||t.children&&t.children.some(Ve)}var He=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]],Ue=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(t){return t.map(function(t){return He[t]})}),We=2/O(3);function Ke(t,e){var n=ot(t,e);return[n[0]*We,n[1]]}function Ye(t,e){for(var n=0,r=t.length,o=0;n<r;++n)o+=t[n]*e[n];return o}function $e(t){return[i(t[1],t[0])*S,P(c(-1,d(1,t[2])))*S]}function Xe(t){var e=t[0]*T,n=t[1]*T,r=a(n);return[r*a(e),r*p(e),p(n)]}Ke.invert=function(t,e){return ot.invert(t/We,e)};var Je=function(){};function Qe(t,e){return{type:"FeatureCollection",features:t.features.map(function(t){return Ze(t,e)})}}function Ze(t,e){return{type:"Feature",id:t.id,properties:t.properties,geometry:tn(t.geometry,e)}}function tn(t,n){if(!t)return null;if("GeometryCollection"===t.type)return function(t,e){return{type:"GeometryCollection",geometries:t.geometries.map(function(t){return tn(t,e)})}}(t,n);var r;switch(t.type){case"Point":case"MultiPoint":r=rn;break;case"LineString":case"MultiLineString":r=on;break;case"Polygon":case"MultiPolygon":case"Sphere":r=an;break;default:return null}return e.geoStream(t,n(r)),r.result()}var en=[],nn=[],rn={point:function(t,e){en.push([t,e])},result:function(){var t=en.length?en.length<2?{type:"Point",coordinates:en[0]}:{type:"MultiPoint",coordinates:en}:null;return en=[],t}},on={lineStart:Je,point:function(t,e){en.push([t,e])},lineEnd:function(){en.length&&(nn.push(en),en=[])},result:function(){var t=nn.length?nn.length<2?{type:"LineString",coordinates:nn[0]}:{type:"MultiLineString",coordinates:nn}:null;return nn=[],t}},an={polygonStart:Je,lineStart:Je,point:function(t,e){en.push([t,e])},lineEnd:function(){var t=en.length;if(t){do{en.push(en[0].slice())}while(++t<4);nn.push(en),en=[]}},polygonEnd:Je,result:function(){if(!nn.length)return null;var t=[],e=[];return nn.forEach(function(n){!function(t){if((e=t.length)<4)return!1;for(var e,n=0,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n<e;)r+=t[n-1][1]*t[n][0]-t[n-1][0]*t[n][1];return r<=0}(n)?e.push(n):t.push([n])}),e.forEach(function(e){var n=e[0];t.some(function(t){if(function(t,e){for(var n=e[0],r=e[1],o=!1,i=0,a=t.length,s=a-1;i<a;s=i++){var u=t[i],l=u[0],c=u[1],d=t[s],f=d[0],h=d[1];c>r^h>r&&n<(f-l)*(r-c)/(h-c)+l&&(o=!o)}return o}(t[0],n))return t.push(e),!0})||t.push([e])}),nn=[],t.length?t.length>1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}},sn=function(t){var n=t(b,0)[0]-t(-b,0)[0];function o(e,o){var i=r(e)<b,a=t(i?e:e>0?e-y:e+y,o),s=(a[0]-a[1])*x,u=(a[0]+a[1])*x;if(i)return[s,u];var l=n*x,c=s>0^u>0?-1:1;return[c*s-_(u)*l,c*u-_(s)*l]}return t.invert&&(o.invert=function(e,o){var i=(e+o)*x,a=(o-e)*x,s=r(i)<.5*n&&r(a)<.5*n;if(!s){var u=n*x,l=i>0^a>0?-1:1,c=-l*e+(a>0?1:-1)*u,d=-l*o+(i>0?1:-1)*u;i=(-c-d)*x,a=(c-d)*x}var f=t.invert(i,a);return s||(f[0]+=i>0?y:-y),f}),e.geoProjection(o).rotate([-90,-90,45]).clipAngle(179.999)},un=function(){return sn(Dt).scale(111.48)};function ln(t){var e=p(t);function n(n,r){var i=e?v(n*e/2)/e:n/2;if(!r)return[2*i,-t];var s=2*o(i*p(r)),u=1/v(r);return[p(s)*u,r+(1-a(s))*u-t]}return n.invert=function(n,i){if(r(i+=t)<g)return[e?2*o(e*n/2)/e:n,0];var s,u=n*n+i*i,l=0,c=10;do{var d=v(l),f=1/a(l),h=u-2*i*l+l*l;l-=s=(d*h+2*(l-i))/(2+h*f*f+2*(l-i)*d)}while(r(s)>g&&--c>0);var _=n*(d=v(l)),m=v(r(i)<r(l+1/d)?.5*P(_):.5*k(_)+y/4)/p(l);return[e?2*o(e*m)/e:2*m,l]},n}var cn=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];function dn(t,e){var n,o=d(18,36*r(e)/y),i=u(o),a=o-i,s=(n=cn[i])[0],l=n[1],c=(n=cn[++i])[0],f=n[1],h=(n=cn[d(19,++i)])[0],_=n[1];return[t*(c+a*(h-s)/2+a*a*(h-2*c+s)/2),(e>0?b:-b)*(f+a*(_-l)/2+a*a*(_-2*f+l)/2)]}function fn(t,e){var n=function(t){function e(e,n){var r=a(n),o=(t-1)/(t-r*a(e));return[o*r*p(e),o*p(n)]}return e.invert=function(e,n){var r=e*e+n*n,o=O(r),a=(t-O(1-r*(t+1)/(t-1)))/((t-1)/o+o/(t-1));return[i(e*a,o*O(1-a*a)),o?P(n*a/o):0]},e}(t);if(!e)return n;var r=a(e),o=p(e);function s(e,i){var a=n(e,i),s=a[1],u=s*o/(t-1)+r;return[a[0]*r/u,s/u]}return s.invert=function(e,i){var a=(t-1)/(t-1-i*o);return n.invert(a*e,a*i*r)},s}cn.forEach(function(t){t[1]*=1.0144}),dn.invert=function(t,e){var n=e/b,o=90*n,i=d(18,r(o/5)),a=c(0,u(i));do{var s=cn[a][1],l=cn[a+1][1],f=cn[d(19,a+2)][1],h=f-s,_=f-2*l+s,p=2*(r(n)-l)/h,v=_/h,g=p*(1-v*p*(1-2*v*p));if(g>=0||1===a){o=(e>=0?5:-5)*(g+i);var y,j=50;do{i=d(18,r(o)/5),a=u(i),g=i-a,s=cn[a][1],l=cn[a+1][1],f=cn[d(19,a+2)][1],o-=(y=(e>=0?b:-b)*(l+g*(f-s)/2+g*g*(f-2*l+s)/2)-e)*S}while(r(y)>m&&--j>0);break}}while(--a>=0);var x=cn[a][0],w=cn[a+1][0],E=cn[d(19,a+2)][0];return[t/(w+g*(E-x)/2+g*g*(E-2*w+x)/2),o*T]};var hn=1e4,_n=-180,pn=_n+1e-4,vn=180,gn=vn-1e-4,mn=-90,yn=mn+1e-4,bn=90,jn=bn-1e-4;function xn(t){return t.length>0}function wn(t){return t===mn||t===bn?[0,t]:[_n,(e=t,Math.floor(e*hn)/hn)];var e}function En(t){var e=t[0],n=t[1],r=!1;return e<=pn?(e=_n,r=!0):e>=gn&&(e=vn,r=!0),n<=yn?(n=mn,r=!0):n>=jn&&(n=bn,r=!0),r?[e,n]:t}function Mn(t){return t.map(En)}function Sn(t,e,n){for(var r=0,o=t.length;r<o;++r){var i=t[r].slice();n.push({index:-1,polygon:e,ring:i});for(var a=0,s=i.length;a<s;++a){var u=i[a],l=u[0],c=u[1];if(l<=pn||l>=gn||c<=yn||c>=jn){i[a]=En(u);for(var d=a+1;d<s;++d){var f=i[d],h=f[0],_=f[1];if(h>pn&&h<gn&&_>yn&&_<jn)break}if(d===a+1)continue;if(a){var p={index:-1,polygon:e,ring:i.slice(0,a+1)};p.ring[p.ring.length-1]=wn(c),n[n.length-1]=p}else n.pop();if(d>=s)break;n.push({index:-1,polygon:e,ring:i=i.slice(d-1)}),i[0]=wn(i[0][1]),a=-1,s=i.length}}}}function Tn(t){var e,n,r,o,i,a,s=t.length,u={},l={};for(e=0;e<s;++e)n=t[e],r=n.ring[0],i=n.ring[n.ring.length-1],r[0]!==i[0]||r[1]!==i[1]?(n.index=e,u[r]=l[i]=n):(n.polygon.push(n.ring),t[e]=null);for(e=0;e<s;++e)if(n=t[e]){if(r=n.ring[0],i=n.ring[n.ring.length-1],o=l[r],a=u[i],delete u[r],delete l[i],r[0]===i[0]&&r[1]===i[1]){n.polygon.push(n.ring);continue}o?(delete l[r],delete u[o.ring[0]],o.ring.pop(),t[o.index]=null,n={index:-1,polygon:o.polygon,ring:o.ring.concat(n.ring)},o===a?n.polygon.push(n.ring):(n.index=s++,t.push(u[n.ring[0]]=l[n.ring[n.ring.length-1]]=n))):a?(delete u[i],delete l[a.ring[a.ring.length-1]],n.ring.pop(),n={index:s++,polygon:a.polygon,ring:n.ring.concat(a.ring)},t[a.index]=null,t.push(u[n.ring[0]]=l[n.ring[n.ring.length-1]]=n)):(n.ring.push(n.ring[0]),n.polygon.push(n.ring))}}function Pn(t){var e={type:"Feature",geometry:kn(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}function kn(t){if(null==t)return t;var e,n,r,o;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(kn)};break;case"Point":e={type:"Point",coordinates:En(t.coordinates)};break;case"MultiPoint":case"LineString":e={type:t.type,coordinates:Mn(t.coordinates)};break;case"MultiLineString":e={type:"MultiLineString",coordinates:t.coordinates.map(Mn)};break;case"Polygon":var i=[];Sn(t.coordinates,i,n=[]),Tn(n),e={type:"Polygon",coordinates:i};break;case"MultiPolygon":n=[],r=-1,o=t.coordinates.length;for(var a=new Array(o);++r<o;)Sn(t.coordinates[r],a[r]=[],n);Tn(n),e={type:"MultiPolygon",coordinates:a.filter(xn)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function On(t,e){var n=v(e/2),r=p(j*n);return[t*(.74482-.34588*r*r),1.70711*n]}On.invert=function(t,e){var n=e/1.70711,r=p(j*n);return[t/(.74482-.34588*r*r),2*o(n)]};var Cn=function(t,n,r){var o=e.geoInterpolate(n,r),i=o(.5),a=e.geoRotation([-i[0],-i[1]])(n),s=o.distance/2,u=-P(p(a[1]*T)/p(s)),l=[-i[0],-i[1],-(a[0]>0?y-u:u)*S],c=e.geoProjection(t(s)).rotate(l),d=e.geoRotation(l),f=c.center;return delete c.rotate,c.center=function(t){return arguments.length?f(d(t)):d.invert(f())},c.clipAngle(90)};function An(t){var n=a(t);function r(t,r){var o=e.geoGnomonicRaw(t,r);return o[0]*=n,o}return r.invert=function(t,r){return e.geoGnomonicRaw.invert(t/n,r)},r}function Nn(t,e){return Cn(An,t,e)}function In(t){if(!(t*=2))return e.geoAzimuthalEquidistantRaw;var n=-t/2,r=-n,o=t*t,s=v(r),u=.5/p(r);function l(e,i){var s=k(a(i)*a(e-n)),u=k(a(i)*a(e-r)),l=i<0?-1:1;return[((s*=s)-(u*=u))/(2*t),l*O(4*o*u-(o-s+u)*(o-s+u))/(2*t)]}return l.invert=function(t,e){var o,l,c=e*e,d=a(O(c+(o=t+n)*o)),f=a(O(c+(o=t+r)*o));return[i(l=d-f,o=(d+f)*s),(e<0?-1:1)*k(O(o*o+l*l)*u)]},l}function Rn(t,e){return Cn(In,t,e)}function Dn(t,e){if(r(e)<g)return[t,0];var n=r(e/b),o=P(n);if(r(t)<g||r(r(e)-b)<g)return[0,_(e)*y*v(o/2)];var i=a(o),s=r(y/t-t/y)/2,u=s*s,l=i/(n+i-1),c=l*(2/n-1),d=c*c,f=d+u,h=l-d,p=u+l;return[_(t)*y*(s*h+O(u*h*h-f*(l*l-d)))/f,_(e)*y*(c*p-s*O((u+1)*f-p*p))/f]}function Ln(t,e){if(r(e)<g)return[t,0];var n=r(e/b),o=P(n);if(r(t)<g||r(r(e)-b)<g)return[0,_(e)*y*v(o/2)];var i=a(o),s=r(y/t-t/y)/2,u=s*s,l=i*(O(1+u)-s*i)/(1+u*n*n);return[_(t)*y*l,_(e)*y*O(1-l*(2*s+l))]}function qn(t,e){if(r(e)<g)return[t,0];var n=e/b,o=P(n);if(r(t)<g||r(r(e)-b)<g)return[0,y*v(o/2)];var i=(y/t-t/y)/2,s=n/(1+a(o));return[y*(_(t)*O(i*i+1-s*s)-i),y*s]}function Bn(t,e){if(!e)return[t,0];var n=r(e);if(!t||n===b)return[0,e];var o=n/b,i=o*o,a=(8*o-i*(i+2)-5)/(2*i*(o-1)),s=a*a,u=o*a,l=i+s+2*u,c=o+3*a,d=t/b,f=d+1/d,h=_(r(t)-b)*O(f*f-4),p=h*h,v=l*(i+s*p-1)+(1-i)*(i*(c*c+4*s)+12*u*s+4*s*s),g=(h*(l+s-1)+2*O(v))/(4*l+p);return[_(t)*b*g,_(e)*b*O(1+h*r(g)-g*g)]}Dn.invert=function(t,e){if(r(e)<g)return[t,0];if(r(t)<g)return[0,b*p(2*o(e/y))];var n=(t/=y)*t,i=(e/=y)*e,s=n+i,u=s*s,l=-r(e)*(1+s),c=l-2*i+n,d=-2*l+1+2*i+u,f=i/d+(2*c*c*c/(d*d*d)-9*l*c/(d*d))/27,h=(l-c*c/(3*d))/d,v=2*O(-h/3),m=k(3*f/(h*v))/3;return[y*(s-1+O(1+2*(n-i)+u))/(2*t),_(e)*y*(-v*a(m+y/3)-c/(3*d))]},Ln.invert=function(t,e){if(!t)return[0,b*p(2*o(e/y))];var n=r(t/y),a=(1-n*n-(e/=y)*e)/(2*n),s=a*a,u=O(s+1);return[_(t)*y*(u-a),_(e)*b*p(2*i(O((1-2*a*n)*(a+u)-n),O(u+a+n)))]},qn.invert=function(t,e){if(!e)return[t,0];var n=e/y,r=(y*y*(1-n*n)-t*t)/(2*y*t);return[t?y*(_(t)*O(r*r+1)-r):0,b*p(2*o(n))]},Bn.invert=function(t,e){var n;if(!t||!e)return[t,e];e/=y;var o=_(t)*t/b,i=(o*o-1+4*e*e)/r(o),a=i*i,s=2*e,u=50;do{var l=s*s,c=(8*s-l*(l+2)-5)/(2*l*(s-1)),d=(3*s-l*s-10)/(2*l*s),f=c*c,h=s*c,p=s+c,v=p*p,m=s+3*c,j=v*(l+f*a-1)+(1-l)*(l*(m*m+4*f)+f*(12*h+4*f)),x=-2*p*(4*h*f+(1-4*l+3*l*l)*(1+d)+f*(14*l-6-a+(8*l-8-2*a)*d)+h*(12*l-8+(10*l-10-a)*d)),w=O(j),E=i*(v+f-1)+2*w-o*(4*v+a),M=i*(2*c*d+2*p*(1+d))+x/w-8*p*(i*(-1+f+v)+2*w)*(1+d)/(a+4*v);s-=n=E/M}while(n>g&&--u>0);return[_(t)*(O(i*i+4)+i)*y/4,b*s]};var zn=4*y+3*O(3),Fn=2*O(2*y*O(3)/zn),Gn=G(Fn*O(3)/y,Fn,zn/6);function Vn(t,e){return[t*O(1-3*e*e/(y*y)),e]}function Hn(t,e){var n=.90631*p(e),r=O(1-n*n),o=O(2/(1+r*a(t/=3)));return[2.66723*r*o*p(t),1.24104*n*o]}function Un(t,e){var n=a(e),r=a(t)*n,o=1-r,s=a(t=i(p(t)*n,-p(e))),u=p(t);return n=O(1-r*r),[u*n-s*o,-s*n-u*o]}function Wn(t,e){var n=I(t,e);return[(n[0]+t/b)/2,(n[1]+e)/2]}Vn.invert=function(t,e){return[t/O(1-3*e*e/(y*y)),e]},Hn.invert=function(t,e){var n=t/2.66723,r=e/1.24104,o=O(n*n+r*r),a=2*P(o/2);return[3*i(t*v(a),2.66723*o),o&&P(e*p(a)/(1.24104*.90631*o))]},Un.invert=function(t,e){var n=(t*t+e*e)/-2,r=O(-n*(2+n)),o=e*n+t*r,a=t*n-e*r,s=O(a*a+o*o);return[i(r*o,s*(1+n)),s?-P(r*a/s):0]},Wn.invert=function(t,e){var n=t,o=e,i=25;do{var s,u=a(o),l=p(o),c=p(2*o),d=l*l,f=u*u,h=p(n),_=a(n/2),v=p(n/2),m=v*v,y=1-f*_*_,j=y?k(u*_)*O(s=1/y):s=0,x=.5*(2*j*u*v+n/b)-t,w=.5*(j*l+o)-e,E=.5*s*(f*m+j*u*_*d)+.5/b,M=s*(h*c/4-j*l*v),S=.125*s*(c*v-j*l*f*h),T=.5*s*(d*_+j*m*u)+.5,P=M*S-T*E,C=(w*M-x*T)/P,A=(x*S-w*E)/P;n-=C,o-=A}while((r(C)>g||r(A)>g)&&--i>0);return[n,o]},t.geoAiry=function(){var t=b,n=e.geoProjectionMutator(N),r=n(t);return r.radius=function(e){return arguments.length?n(t=e*T):t*S},r.scale(179.976).clipAngle(147)},t.geoAiryRaw=N,t.geoAitoff=function(){return e.geoProjection(I).scale(152.63)},t.geoAitoffRaw=I,t.geoArmadillo=function(){var t=20*T,n=t>=0?1:-1,r=v(n*t),o=e.geoProjectionMutator(R),s=o(t),u=s.stream;return s.parallel=function(e){return arguments.length?(r=v((n=(t=e*T)>=0?1:-1)*t),o(t)):t*S},s.stream=function(e){var o=s.rotate(),l=u(e),c=(s.rotate([0,0]),u(e));return s.rotate(o),l.sphere=function(){c.polygonStart(),c.lineStart();for(var e=-180*n;n*e<180;e+=90*n)c.point(e,90*n);for(;n*(e-=t)>=-180;)c.point(e,n*-i(a(e*T/2),r)*S);c.lineEnd(),c.polygonEnd()},l},s.scale(218.695).center([0,28.0974])},t.geoArmadilloRaw=R,t.geoAugust=function(){return e.geoProjection(D).scale(66.1603)},t.geoAugustRaw=D,t.geoBaker=function(){return e.geoProjection(B).scale(112.314)},t.geoBakerRaw=B,t.geoBerghaus=function(){var t=5,n=e.geoProjectionMutator(z),r=n(t),o=r.stream,s=-a(.01*T),u=p(.01*T);return r.lobes=function(e){return arguments.length?n(t=+e):t},r.stream=function(e){var n=r.rotate(),l=o(e),c=(r.rotate([0,0]),o(e));return r.rotate(n),l.sphere=function(){c.polygonStart(),c.lineStart();for(var e=0,n=360/t,r=2*y/t,o=90-180/t,l=b;e<t;++e,o-=n,l-=r)c.point(i(u*a(l),s)*S,P(u*p(l))*S),o<-90?(c.point(-90,-180-o-.01),c.point(-90,-180-o+.01)):(c.point(90,o+.01),c.point(90,o-.01));c.lineEnd(),c.polygonEnd()},l},r.scale(87.8076).center([0,17.1875]).clipAngle(179.999)},t.geoBerghausRaw=z,t.geoBoggs=function(){return e.geoProjection(W).scale(160.857)},t.geoBoggsRaw=W,t.geoBonne=function(){return K($).scale(123.082).center([0,26.1441]).parallel(45)},t.geoBonneRaw=$,t.geoBottomley=function(){var t=.5,n=e.geoProjectionMutator(X),r=n(t);return r.fraction=function(e){return arguments.length?n(t=+e):t},r.scale(158.837)},t.geoBottomleyRaw=X,t.geoBromley=function(){return e.geoProjection(J).scale(152.63)},t.geoBromleyRaw=J,t.geoChamberlin=rt,t.geoChamberlinRaw=et,t.geoChamberlinAfrica=function(){return rt([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])},t.geoCollignon=function(){return e.geoProjection(ot).scale(95.6464).center([0,30])},t.geoCollignonRaw=ot,t.geoCraig=function(){return K(it).scale(249.828).clipAngle(90)},t.geoCraigRaw=it,t.geoCraster=function(){return e.geoProjection(st).scale(156.19)},t.geoCrasterRaw=st,t.geoCylindricalEqualArea=function(){return K(ut).parallel(38.58).scale(195.044)},t.geoCylindricalEqualAreaRaw=ut,t.geoCylindricalStereographic=function(){return K(lt).scale(124.75)},t.geoCylindricalStereographicRaw=lt,t.geoEckert1=function(){return e.geoProjection(ct).scale(165.664)},t.geoEckert1Raw=ct,t.geoEckert2=function(){return e.geoProjection(dt).scale(165.664)},t.geoEckert2Raw=dt,t.geoEckert3=function(){return e.geoProjection(ft).scale(180.739)},t.geoEckert3Raw=ft,t.geoEckert4=function(){return e.geoProjection(ht).scale(180.739)},t.geoEckert4Raw=ht,t.geoEckert5=function(){return e.geoProjection(_t).scale(173.044)},t.geoEckert5Raw=_t,t.geoEckert6=function(){return e.geoProjection(pt).scale(173.044)},t.geoEckert6Raw=pt,t.geoEisenlohr=function(){return e.geoProjection(gt).scale(62.5271)},t.geoEisenlohrRaw=gt,t.geoFahey=function(){return e.geoProjection(yt).scale(137.152)},t.geoFaheyRaw=yt,t.geoFoucaut=function(){return e.geoProjection(bt).scale(135.264)},t.geoFoucautRaw=bt,t.geoGilbert=function(t){null==t&&(t=e.geoOrthographic);var n=t(),r=e.geoEquirectangular().scale(S).precision(0).clipAngle(null).translate([0,0]);function o(t){return n(jt(t))}function i(t){o[t]=function(e){return arguments.length?(n[t](e),o):n[t]()}}return n.invert&&(o.invert=function(t){return xt(n.invert(t))}),o.stream=function(t){var e=n.stream(t),o=r.stream({point:function(t,n){e.point(t/2,P(v(-n/2*T))*S)},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}});return o.sphere=e.sphere,o},o.rotate=function(t){return arguments.length?(r.rotate(t),o):r.rotate()},o.center=function(t){return arguments.length?(n.center(jt(t)),o):xt(n.center())},i("clipAngle"),i("clipExtent"),i("scale"),i("translate"),i("precision"),o.scale(249.5)},t.geoGingery=function(){var t=6,n=30*T,r=a(n),o=p(n),s=e.geoProjectionMutator(wt),u=s(n,t),l=u.stream,c=-a(.01*T),d=p(.01*T);return u.radius=function(e){return arguments.length?(r=a(n=e*T),o=p(n),s(n,t)):n*S},u.lobes=function(e){return arguments.length?s(n,t=+e):t},u.stream=function(e){var n=u.rotate(),s=l(e),f=(u.rotate([0,0]),l(e));return u.rotate(n),s.sphere=function(){f.polygonStart(),f.lineStart();for(var e=0,n=2*y/t,s=0;e<t;++e,s-=n)f.point(i(d*a(s),c)*S,P(d*p(s))*S),f.point(i(o*a(s-n/2),r)*S,P(o*p(s-n/2))*S);f.lineEnd(),f.polygonEnd()},s},u.rotate([90,-40]).scale(91.7095).clipAngle(179.999)},t.geoGingeryRaw=wt,t.geoGinzburg4=function(){return e.geoProjection(Tt).scale(149.995)},t.geoGinzburg4Raw=Tt,t.geoGinzburg5=function(){return e.geoProjection(Pt).scale(153.93)},t.geoGinzburg5Raw=Pt,t.geoGinzburg6=function(){return e.geoProjection(kt).scale(130.945)},t.geoGinzburg6Raw=kt,t.geoGinzburg8=function(){return e.geoProjection(Ot).scale(131.747)},t.geoGinzburg8Raw=Ot,t.geoGinzburg9=function(){return e.geoProjection(Ct).scale(131.087)},t.geoGinzburg9Raw=Ct,t.geoGringorten=function(){return e.geoProjection(At(Nt)).scale(239.75)},t.geoGringortenRaw=Nt,t.geoGuyou=function(){return e.geoProjection(At(Dt)).scale(151.496)},t.geoGuyouRaw=Dt,t.geoHammer=function(){var t=2,n=e.geoProjectionMutator(Lt),r=n(t);return r.coefficient=function(e){return arguments.length?n(t=+e):t},r.scale(169.529)},t.geoHammerRaw=Lt,t.geoHammerRetroazimuthal=function(){var t=0,n=e.geoProjectionMutator(Bt),r=n(t),o=r.rotate,i=r.stream,a=e.geoCircle();return r.parallel=function(e){if(!arguments.length)return t*S;var o=r.rotate();return n(t=e*T).rotate(o)},r.rotate=function(e){return arguments.length?(o.call(r,[e[0],e[1]-t*S]),a.center([-e[0],-e[1]]),r):((e=o.call(r))[1]+=t*S,e)},r.stream=function(t){return(t=i(t)).sphere=function(){t.polygonStart();var e,n=a.radius(89.99)().coordinates[0],r=n.length-1,o=-1;for(t.lineStart();++o<r;)t.point((e=n[o])[0],e[1]);for(t.lineEnd(),r=(n=a.radius(90.01)().coordinates[0]).length-1,t.lineStart();--o>=0;)t.point((e=n[o])[0],e[1]);t.lineEnd(),t.polygonEnd()},t},r.scale(79.4187).parallel(45).clipAngle(179.999)},t.geoHammerRetroazimuthalRaw=Bt,t.geoHealpix=function(){var t=4,r=e.geoProjectionMutator(Vt),o=r(t),i=o.stream;return o.lobes=function(e){return arguments.length?r(t=+e):t},o.stream=function(r){var a=o.rotate(),s=i(r),u=(o.rotate([0,0]),i(r));return o.rotate(a),s.sphere=function(){var r;e.geoStream((r=180/t,{type:"Polygon",coordinates:[n.range(-180,180+r/2,r).map(function(t,e){return[t,1&e?90-1e-6:Ft]}).concat(n.range(180,-180-r/2,-r).map(function(t,e){return[t,1&e?1e-6-90:-Ft]}))]}),u)},s},o.scale(239.75)},t.geoHealpixRaw=Vt,t.geoHill=function(){var t=1,n=e.geoProjectionMutator(Ht),r=n(t);return r.ratio=function(e){return arguments.length?n(t=+e):t},r.scale(167.774).center([0,18.67])},t.geoHillRaw=Ht,t.geoHomolosine=function(){return e.geoProjection(Yt).scale(152.63)},t.geoHomolosineRaw=Yt,t.geoInterrupt=Jt,t.geoInterruptedBoggs=function(){return Jt(W,Qt).scale(160.857)},t.geoInterruptedHomolosine=function(){return Jt(Yt,Zt).scale(152.63)},t.geoInterruptedMollweide=function(){return Jt(V,te).scale(169.529)},t.geoInterruptedMollweideHemispheres=function(){return Jt(V,ee).scale(169.529).rotate([20,0])},t.geoInterruptedSinuMollweide=function(){return Jt(Kt,ne).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},t.geoInterruptedSinusoidal=function(){return Jt(Y,re).scale(152.63).rotate([-20,0])},t.geoKavrayskiy7=function(){return e.geoProjection(oe).scale(158.837)},t.geoKavrayskiy7Raw=oe,t.geoLagrange=function(){var t=.5,n=e.geoProjectionMutator(ie),r=n(t);return r.spacing=function(e){return arguments.length?n(t=+e):t},r.scale(124.75)},t.geoLagrangeRaw=ie,t.geoLarrivee=function(){return e.geoProjection(se).scale(97.2672)},t.geoLarriveeRaw=se,t.geoLaskowski=function(){return e.geoProjection(ue).scale(139.98)},t.geoLaskowskiRaw=ue,t.geoLittrow=function(){return e.geoProjection(le).scale(144.049).clipAngle(89.999)},t.geoLittrowRaw=le,t.geoLoximuthal=function(){return K(ce).parallel(40).scale(158.837)},t.geoLoximuthalRaw=ce,t.geoMiller=function(){return e.geoProjection(de).scale(108.318)},t.geoMillerRaw=de,t.geoModifiedStereographic=me,t.geoModifiedStereographicRaw=fe,t.geoModifiedStereographicAlaska=function(){return me(he,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)},t.geoModifiedStereographicGs48=function(){return me(_e,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])},t.geoModifiedStereographicGs50=function(){return me(pe,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])},t.geoModifiedStereographicMiller=function(){return me(ve,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)},t.geoModifiedStereographicLee=function(){return me(ge,[165,10]).scale(250).clipAngle(130).center([-165,-10])},t.geoMollweide=function(){return e.geoProjection(V).scale(169.529)},t.geoMollweideRaw=V,t.geoMtFlatPolarParabolic=function(){return e.geoProjection(je).scale(164.859)},t.geoMtFlatPolarParabolicRaw=je,t.geoMtFlatPolarQuartic=function(){return e.geoProjection(xe).scale(188.209)},t.geoMtFlatPolarQuarticRaw=xe,t.geoMtFlatPolarSinusoidal=function(){return e.geoProjection(we).scale(166.518)},t.geoMtFlatPolarSinusoidalRaw=we,t.geoNaturalEarth=function(){return e.geoProjection(Ee).scale(175.295)},t.geoNaturalEarthRaw=Ee,t.geoNaturalEarth2=function(){return e.geoProjection(Me).scale(175.295)},t.geoNaturalEarth2Raw=Me,t.geoNellHammer=function(){return e.geoProjection(Se).scale(152.63)},t.geoNellHammerRaw=Se,t.geoPatterson=function(){return e.geoProjection(Re).scale(139.319)},t.geoPattersonRaw=Re,t.geoPolyconic=function(){return e.geoProjection(De).scale(103.74)},t.geoPolyconicRaw=De,t.geoPolyhedral=Fe,t.geoPolyhedralButterfly=function(t){t=t||function(t){var n=e.geoCentroid({type:"MultiPoint",coordinates:t});return e.geoGnomonic().scale(1).translate([0,0]).rotate([-n[0],-n[1]])};var n=Ue.map(function(e){return{face:e,project:t(e)}});return[-1,0,0,1,0,1,4,5].forEach(function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])}),Fe(n[0],function(t,e){return n[t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5]}).scale(101.858).center([0,45])},t.geoPolyhedralCollignon=function(t){t=t||function(t){var n=e.geoCentroid({type:"MultiPoint",coordinates:t});return e.geoProjection(Ke).translate([0,0]).scale(1).rotate(n[1]>0?[-n[0],0]:[180-n[0],180])};var n=Ue.map(function(e){return{face:e,project:t(e)}});return[-1,0,0,1,0,1,4,5].forEach(function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])}),Fe(n[0],function(t,e){return n[t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5]}).scale(121.906).center([0,48.5904])},t.geoPolyhedralWaterman=function(t){t=t||function(t){var n=6===t.length?e.geoCentroid({type:"MultiPoint",coordinates:t}):t[0];return e.geoGnomonic().scale(1).translate([0,0]).rotate([-n[0],-n[1]])};var n=Ue.map(function(t){for(var e,n=t.map(Xe),r=n.length,o=n[r-1],i=[],a=0;a<r;++a)e=n[a],i.push($e([.9486832980505138*o[0]+.31622776601683794*e[0],.9486832980505138*o[1]+.31622776601683794*e[1],.9486832980505138*o[2]+.31622776601683794*e[2]]),$e([.9486832980505138*e[0]+.31622776601683794*o[0],.9486832980505138*e[1]+.31622776601683794*o[1],.9486832980505138*e[2]+.31622776601683794*o[2]])),o=e;return i}),r=[],o=[-1,0,0,1,0,1,4,5];n.forEach(function(t,e){for(var i,a,s=Ue[e],u=s.length,l=r[e]=[],c=0;c<u;++c)n.push([s[c],t[(2*c+2)%(2*u)],t[(2*c+1)%(2*u)]]),o.push(e),l.push((i=Xe(t[(2*c+2)%(2*u)]),a=Xe(t[(2*c+1)%(2*u)]),[i[1]*a[2]-i[2]*a[1],i[2]*a[0]-i[0]*a[2],i[0]*a[1]-i[1]*a[0]]))});var i=n.map(function(e){return{project:t(e),face:e}});return o.forEach(function(t,e){var n=i[t];n&&(n.children||(n.children=[])).push(i[e])}),Fe(i[0],function(t,e){var n=a(e),o=[n*a(t),n*p(t),p(e)],s=t<-y/2?e<0?6:4:t<0?e<0?2:0:t<y/2?e<0?3:1:e<0?7:5,u=r[s];return i[Ye(u[0],o)<0?8+3*s:Ye(u[1],o)<0?8+3*s+1:Ye(u[2],o)<0?8+3*s+2:s]}).scale(110.625).center([0,45])},t.geoProject=function(t,e){var n,r=e.stream;if(!r)throw new Error("invalid projection");switch(t&&t.type){case"Feature":n=Ze;break;case"FeatureCollection":n=Qe;break;default:n=tn}return n(t,r)},t.geoGringortenQuincuncial=function(){return sn(Nt).scale(176.423)},t.geoPeirceQuincuncial=un,t.geoPierceQuincuncial=un,t.geoQuantize=function(t,e){if(!(0<=(e=+e)&&e<=20))throw new Error("invalid digits");function n(t){var n=t.length,r=2,o=new Array(n);for(o[0]=+t[0].toFixed(e),o[1]=+t[1].toFixed(e);r<n;)o[r]=t[r],++r;return o}function r(t){return t.map(n)}function o(t){return t.map(r)}function i(t){if(null==t)return t;var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(i)};break;case"Point":e={type:"Point",coordinates:n(t.coordinates)};break;case"MultiPoint":case"LineString":e={type:t.type,coordinates:r(t.coordinates)};break;case"MultiLineString":case"Polygon":e={type:t.type,coordinates:o(t.coordinates)};break;case"MultiPolygon":e={type:"MultiPolygon",coordinates:t.coordinates.map(o)};break;default:return t}return null!=t.bbox&&(e.bbox=t.bbox),e}function a(t){var e={type:"Feature",properties:t.properties,geometry:i(t.geometry)};return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),e}if(null!=t)switch(t.type){case"Feature":return a(t);case"FeatureCollection":var s={type:"FeatureCollection",features:t.features.map(a)};return null!=t.bbox&&(s.bbox=t.bbox),s;default:return i(t)}return t},t.geoQuincuncial=sn,t.geoRectangularPolyconic=function(){return K(ln).scale(131.215)},t.geoRectangularPolyconicRaw=ln,t.geoRobinson=function(){return e.geoProjection(dn).scale(152.63)},t.geoRobinsonRaw=dn,t.geoSatellite=function(){var t=2,n=0,r=e.geoProjectionMutator(fn),o=r(t,n);return o.distance=function(e){return arguments.length?r(t=+e,n):t},o.tilt=function(e){return arguments.length?r(t,n=e*T):n*S},o.scale(432.147).clipAngle(k(1/t)*S-1e-6)},t.geoSatelliteRaw=fn,t.geoSinuMollweide=function(){return e.geoProjection(Kt).rotate([-20,-55]).scale(164.263).center([0,-5.4036])},t.geoSinuMollweideRaw=Kt,t.geoSinusoidal=function(){return e.geoProjection(Y).scale(152.63)},t.geoSinusoidalRaw=Y,t.geoStitch=function(t){if(null==t)return t;switch(t.type){case"Feature":return Pn(t);case"FeatureCollection":var e={type:"FeatureCollection",features:t.features.map(Pn)};return null!=t.bbox&&(e.bbox=t.bbox),e;default:return kn(t)}},t.geoTimes=function(){return e.geoProjection(On).scale(146.153)},t.geoTimesRaw=On,t.geoTwoPointAzimuthal=Nn,t.geoTwoPointAzimuthalRaw=An,t.geoTwoPointAzimuthalUsa=function(){return Nn([-158,21.5],[-77,39]).clipAngle(60).scale(400)},t.geoTwoPointEquidistant=Rn,t.geoTwoPointEquidistantRaw=In,t.geoTwoPointEquidistantUsa=function(){return Rn([-158,21.5],[-77,39]).clipAngle(130).scale(122.571)},t.geoVanDerGrinten=function(){return e.geoProjection(Dn).scale(79.4183)},t.geoVanDerGrintenRaw=Dn,t.geoVanDerGrinten2=function(){return e.geoProjection(Ln).scale(79.4183)},t.geoVanDerGrinten2Raw=Ln,t.geoVanDerGrinten3=function(){return e.geoProjection(qn).scale(79.4183)},t.geoVanDerGrinten3Raw=qn,t.geoVanDerGrinten4=function(){return e.geoProjection(Bn).scale(127.16)},t.geoVanDerGrinten4Raw=Bn,t.geoWagner4=function(){return e.geoProjection(Gn).scale(176.84)},t.geoWagner4Raw=Gn,t.geoWagner6=function(){return e.geoProjection(Vn).scale(152.63)},t.geoWagner6Raw=Vn,t.geoWagner7=function(){return e.geoProjection(Hn).scale(172.632)},t.geoWagner7Raw=Hn,t.geoWiechel=function(){return e.geoProjection(Un).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)},t.geoWiechelRaw=Un,t.geoWinkel3=function(){return e.geoProjection(Wn).scale(158.837)},t.geoWinkel3Raw=Wn,Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js"),n("./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-geo@1.11.9@d3-geo/dist/d3-geo.js":function(t,e,n){!function(t,e){"use strict";function n(){return new r}function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){i(o,t,this.t),i(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function i(t,e,n){var r=t.s=e+n,o=r-e,i=r-o;t.t=e-i+(n-o)}var a=1e-6,s=1e-12,u=Math.PI,l=u/2,c=u/4,d=2*u,f=180/u,h=u/180,_=Math.abs,p=Math.atan,v=Math.atan2,g=Math.cos,m=Math.ceil,y=Math.exp,b=Math.log,j=Math.pow,x=Math.sin,w=Math.sign||function(t){return t>0?1:t<0?-1:0},E=Math.sqrt,M=Math.tan;function S(t){return t>1?0:t<-1?u:Math.acos(t)}function T(t){return t>1?l:t<-1?-l:Math.asin(t)}function P(t){return(t=x(t/2))*t}function k(){}function O(t,e){t&&A.hasOwnProperty(t.type)&&A[t.type](t,e)}var C={Feature:function(t,e){O(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r<o;)O(n[r].geometry,e)}},A={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){N(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)N(n[r],e,0)},Polygon:function(t,e){I(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)I(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,o=n.length;++r<o;)O(n[r],e)}};function N(t,e,n){var r,o=-1,i=t.length-n;for(e.lineStart();++o<i;)r=t[o],e.point(r[0],r[1],r[2]);e.lineEnd()}function I(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)N(t[n],e,1);e.polygonEnd()}function R(t,e){t&&C.hasOwnProperty(t.type)?C[t.type](t,e):O(t,e)}var D,L,q,B,z,F=n(),G=n(),V={point:k,lineStart:k,lineEnd:k,polygonStart:function(){F.reset(),V.lineStart=H,V.lineEnd=U},polygonEnd:function(){var t=+F;G.add(t<0?d+t:t),this.lineStart=this.lineEnd=this.point=k},sphere:function(){G.add(d)}};function H(){V.point=W}function U(){K(D,L)}function W(t,e){V.point=K,D=t,L=e,q=t*=h,B=g(e=(e*=h)/2+c),z=x(e)}function K(t,e){var n=(t*=h)-q,r=n>=0?1:-1,o=r*n,i=g(e=(e*=h)/2+c),a=x(e),s=z*a,u=B*i+s*g(o),l=s*r*x(o);F.add(v(l,u)),q=t,B=i,z=a}function Y(t){return[v(t[1],t[0]),T(t[2])]}function $(t){var e=t[0],n=t[1],r=g(n);return[r*g(e),r*x(e),x(n)]}function X(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function J(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function Q(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function Z(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function tt(t){var e=E(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var et,nt,rt,ot,it,at,st,ut,lt,ct,dt,ft,ht,_t,pt,vt,gt,mt,yt,bt,jt,xt,wt,Et,Mt,St,Tt=n(),Pt={point:kt,lineStart:Ct,lineEnd:At,polygonStart:function(){Pt.point=Nt,Pt.lineStart=It,Pt.lineEnd=Rt,Tt.reset(),V.polygonStart()},polygonEnd:function(){V.polygonEnd(),Pt.point=kt,Pt.lineStart=Ct,Pt.lineEnd=At,F<0?(et=-(rt=180),nt=-(ot=90)):Tt>a?ot=90:Tt<-a&&(nt=-90),ct[0]=et,ct[1]=rt},sphere:function(){et=-(rt=180),nt=-(ot=90)}};function kt(t,e){lt.push(ct=[et=t,rt=t]),e<nt&&(nt=e),e>ot&&(ot=e)}function Ot(t,e){var n=$([t*h,e*h]);if(ut){var r=J(ut,n),o=[r[1],-r[0],0],i=J(o,r);tt(i),i=Y(i);var a,s=t-it,u=s>0?1:-1,l=i[0]*f*u,c=_(s)>180;c^(u*it<l&&l<u*t)?(a=i[1]*f)>ot&&(ot=a):c^(u*it<(l=(l+360)%360-180)&&l<u*t)?(a=-i[1]*f)<nt&&(nt=a):(e<nt&&(nt=e),e>ot&&(ot=e)),c?t<it?Dt(et,t)>Dt(et,rt)&&(rt=t):Dt(t,rt)>Dt(et,rt)&&(et=t):rt>=et?(t<et&&(et=t),t>rt&&(rt=t)):t>it?Dt(et,t)>Dt(et,rt)&&(rt=t):Dt(t,rt)>Dt(et,rt)&&(et=t)}else lt.push(ct=[et=t,rt=t]);e<nt&&(nt=e),e>ot&&(ot=e),ut=n,it=t}function Ct(){Pt.point=Ot}function At(){ct[0]=et,ct[1]=rt,Pt.point=kt,ut=null}function Nt(t,e){if(ut){var n=t-it;Tt.add(_(n)>180?n+(n>0?360:-360):n)}else at=t,st=e;V.point(t,e),Ot(t,e)}function It(){V.lineStart()}function Rt(){Nt(at,st),V.lineEnd(),_(Tt)>a&&(et=-(rt=180)),ct[0]=et,ct[1]=rt,ut=null}function Dt(t,e){return(e-=t)<0?e+360:e}function Lt(t,e){return t[0]-e[0]}function qt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var Bt={sphere:k,point:zt,lineStart:Gt,lineEnd:Ut,polygonStart:function(){Bt.lineStart=Wt,Bt.lineEnd=Kt},polygonEnd:function(){Bt.lineStart=Gt,Bt.lineEnd=Ut}};function zt(t,e){t*=h;var n=g(e*=h);Ft(n*g(t),n*x(t),x(e))}function Ft(t,e,n){ht+=(t-ht)/++dt,_t+=(e-_t)/dt,pt+=(n-pt)/dt}function Gt(){Bt.point=Vt}function Vt(t,e){t*=h;var n=g(e*=h);Et=n*g(t),Mt=n*x(t),St=x(e),Bt.point=Ht,Ft(Et,Mt,St)}function Ht(t,e){t*=h;var n=g(e*=h),r=n*g(t),o=n*x(t),i=x(e),a=v(E((a=Mt*i-St*o)*a+(a=St*r-Et*i)*a+(a=Et*o-Mt*r)*a),Et*r+Mt*o+St*i);ft+=a,vt+=a*(Et+(Et=r)),gt+=a*(Mt+(Mt=o)),mt+=a*(St+(St=i)),Ft(Et,Mt,St)}function Ut(){Bt.point=zt}function Wt(){Bt.point=Yt}function Kt(){$t(xt,wt),Bt.point=zt}function Yt(t,e){xt=t,wt=e,t*=h,e*=h,Bt.point=$t;var n=g(e);Et=n*g(t),Mt=n*x(t),St=x(e),Ft(Et,Mt,St)}function $t(t,e){t*=h;var n=g(e*=h),r=n*g(t),o=n*x(t),i=x(e),a=Mt*i-St*o,s=St*r-Et*i,u=Et*o-Mt*r,l=E(a*a+s*s+u*u),c=T(l),d=l&&-c/l;yt+=d*a,bt+=d*s,jt+=d*u,ft+=c,vt+=c*(Et+(Et=r)),gt+=c*(Mt+(Mt=o)),mt+=c*(St+(St=i)),Ft(Et,Mt,St)}function Xt(t){return function(){return t}}function Jt(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n}function Qt(t,e){return[_(t)>u?t+Math.round(-t/d)*d:t,e]}function Zt(t,e,n){return(t%=d)?e||n?Jt(ee(t),ne(e,n)):ee(t):e||n?ne(e,n):Qt}function te(t){return function(e,n){return[(e+=t)>u?e-d:e<-u?e+d:e,n]}}function ee(t){var e=te(t);return e.invert=te(-t),e}function ne(t,e){var n=g(t),r=x(t),o=g(e),i=x(e);function a(t,e){var a=g(e),s=g(t)*a,u=x(t)*a,l=x(e),c=l*n+s*r;return[v(u*o-c*i,s*n-l*r),T(c*o+u*i)]}return a.invert=function(t,e){var a=g(e),s=g(t)*a,u=x(t)*a,l=x(e),c=l*o-u*i;return[v(u*o+l*i,s*n+c*r),T(c*n-s*r)]},a}function re(t){function e(e){return(e=t(e[0]*h,e[1]*h))[0]*=f,e[1]*=f,e}return t=Zt(t[0]*h,t[1]*h,t.length>2?t[2]*h:0),e.invert=function(e){return(e=t.invert(e[0]*h,e[1]*h))[0]*=f,e[1]*=f,e},e}function oe(t,e,n,r,o,i){if(n){var a=g(e),s=x(e),u=r*n;null==o?(o=e+r*d,i=e-u/2):(o=ie(a,o),i=ie(a,i),(r>0?o<i:o>i)&&(o+=r*d));for(var l,c=o;r>0?c>i:c<i;c-=u)l=Y([a,-s*g(c),-s*x(c)]),t.point(l[0],l[1])}}function ie(t,e){(e=$(e))[0]-=t,tt(e);var n=S(-e[1]);return((-e[2]<0?-n:n)+d-a)%d}function ae(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:k,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}}function se(t,e){return _(t[0]-e[0])<a&&_(t[1]-e[1])<a}function ue(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function le(t,e,n,r,o){var i,a,s=[],u=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(se(r,a)){for(o.lineStart(),i=0;i<e;++i)o.point((r=t[i])[0],r[1]);o.lineEnd()}else s.push(n=new ue(r,t,null,!0)),u.push(n.o=new ue(r,null,n,!1)),s.push(n=new ue(a,t,null,!1)),u.push(n.o=new ue(a,null,n,!0))}}),s.length){for(u.sort(e),ce(s),ce(u),i=0,a=u.length;i<a;++i)u[i].e=n=!n;for(var l,c,d=s[0];;){for(var f=d,h=!0;f.v;)if((f=f.n)===d)return;l=f.z,o.lineStart();do{if(f.v=f.o.v=!0,f.e){if(h)for(i=0,a=l.length;i<a;++i)o.point((c=l[i])[0],c[1]);else r(f.x,f.n.x,1,o);f=f.n}else{if(h)for(l=f.p.z,i=l.length-1;i>=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 ce(t){if(e=t.length){for(var e,n,r=0,o=t[0];++r<e;)o.n=n=t[r],n.p=o,o=n;o.n=n=t[0],n.p=o}}Qt.invert=Qt;var de=n();function fe(t){return _(t[0])<=u?t[0]:w(t[0])*((_(t[0])+u)%d-u)}function he(t,e){var n=fe(e),r=e[1],o=x(r),i=[x(n),-g(n),0],s=0,f=0;de.reset(),1===o?r=l+a:-1===o&&(r=-l-a);for(var h=0,_=t.length;h<_;++h)if(m=(p=t[h]).length)for(var p,m,y=p[m-1],b=fe(y),j=y[1]/2+c,w=x(j),E=g(j),M=0;M<m;++M,b=P,w=O,E=C,y=S){var S=p[M],P=fe(S),k=S[1]/2+c,O=x(k),C=g(k),A=P-b,N=A>=0?1:-1,I=N*A,R=I>u,D=w*O;if(de.add(v(D*N*x(I),E*C+D*g(I))),s+=R?A+N*d:A,R^b>=n^P>=n){var L=J($(y),$(S));tt(L);var q=J(i,L);tt(q);var B=(R^A>=0?-1:1)*T(q[2]);(r>B||r===B&&(L[0]||L[1]))&&(f+=R^A>=0?1:-1)}}return(s<-a||s<a&&de<-a)^1&f}function _e(t,n,r,o){return function(i){var a,s,u,l=n(i),c=ae(),d=n(c),f=!1,h={point:_,lineStart:v,lineEnd:g,polygonStart:function(){h.point=m,h.lineStart=y,h.lineEnd=b,s=[],a=[]},polygonEnd:function(){h.point=_,h.lineStart=v,h.lineEnd=g,s=e.merge(s);var t=he(a,o);s.length?(f||(i.polygonStart(),f=!0),le(s,ve,t,r,i)):t&&(f||(i.polygonStart(),f=!0),i.lineStart(),r(null,null,1,i),i.lineEnd()),f&&(i.polygonEnd(),f=!1),s=a=null},sphere:function(){i.polygonStart(),i.lineStart(),r(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function _(e,n){t(e,n)&&i.point(e,n)}function p(t,e){l.point(t,e)}function v(){h.point=p,l.lineStart()}function g(){h.point=_,l.lineEnd()}function m(t,e){u.push([t,e]),d.point(t,e)}function y(){d.lineStart(),u=[]}function b(){m(u[0][0],u[0][1]),d.lineEnd();var t,e,n,r,o=d.clean(),l=c.result(),h=l.length;if(u.pop(),a.push(u),u=null,h)if(1&o){if(n=l[0],(e=n.length-1)>0){for(f||(i.polygonStart(),f=!0),i.lineStart(),t=0;t<e;++t)i.point((r=n[t])[0],r[1]);i.lineEnd()}}else h>1&&2&o&&l.push(l.pop().concat(l.shift())),s.push(l.filter(pe))}return h}}function pe(t){return t.length>1}function ve(t,e){return((t=t.x)[0]<0?t[1]-l-a:l-t[1])-((e=e.x)[0]<0?e[1]-l-a:l-e[1])}var ge=_e(function(){return!0},function(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,s){var c=i>0?u:-u,d=_(i-n);_(d-u)<a?(t.point(n,r=(r+s)/2>0?l:-l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(i,r),e=0):o!==c&&d>=u&&(_(n-o)<a&&(n-=o*a),_(i-c)<a&&(i-=c*a),r=function(t,e,n,r){var o,i,s=x(t-n);return _(s)>a?p((x(e)*(i=g(r))*x(n)-x(r)*(o=g(e))*x(t))/(o*i*s)):(e+r)/2}(n,r,i,s),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),e=0),t.point(n=i,r=s),o=c},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var o;if(null==t)o=n*l,r.point(-u,o),r.point(0,o),r.point(u,o),r.point(u,0),r.point(u,-o),r.point(0,-o),r.point(-u,-o),r.point(-u,0),r.point(-u,o);else if(_(t[0]-e[0])>a){var i=t[0]<e[0]?u:-u;o=n*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(e[0],e[1])},[-u,-l]);function me(t){var e=g(t),n=6*h,r=e>0,o=_(e)>a;function i(t,n){return g(t)*g(n)>e}function s(t,n,r){var o=$(t),i=$(n),s=[1,0,0],l=J(o,i),c=X(l,l),d=l[0],f=c-d*d;if(!f)return!r&&t;var h=e*c/f,p=-e*d/f,v=J(s,l),g=Z(s,h),m=Z(l,p);Q(g,m);var y=v,b=X(g,y),j=X(y,y),x=b*b-j*(X(g,g)-1);if(!(x<0)){var w=E(x),M=Z(y,(-b-w)/j);if(Q(M,g),M=Y(M),!r)return M;var S,T=t[0],P=n[0],k=t[1],O=n[1];P<T&&(S=T,T=P,P=S);var C=P-T,A=_(C-u)<a,N=A||C<a;if(!A&&O<k&&(S=k,k=O,O=S),N?A?k+O>0^M[1]<(_(M[0]-T)<a?k:O):k<=M[1]&&M[1]<=O:C>u^(T<=M[0]&&M[0]<=P)){var I=Z(y,(-b+w)/j);return Q(I,g),[M,Y(I)]}}}function l(e,n){var o=r?t:u-t,i=0;return e<-o?i|=1:e>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return _e(i,function(t){var e,n,c,d,f;return{lineStart:function(){d=c=!1,f=1},point:function(h,_){var p,v=[h,_],g=i(h,_),m=r?g?0:l(h,_):g?l(h+(h<0?u:-u),_):0;if(!e&&(d=c=g)&&t.lineStart(),g!==c&&(!(p=s(e,v))||se(e,p)||se(v,p))&&(v[0]+=a,v[1]+=a,g=i(v[0],v[1])),g!==c)f=0,g?(t.lineStart(),p=s(v,e),t.point(p[0],p[1])):(p=s(e,v),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(o&&e&&r^g){var y;m&n||!(y=s(v,e,!0))||(f=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||e&&se(e,v)||t.point(v[0],v[1]),e=v,c=g,n=m},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return f|(d&&c)<<1}}},function(e,r,o,i){oe(i,t,n,o,e,r)},r?[0,-t]:[-u,t-u])}var ye=1e9,be=-ye;function je(t,n,r,o){function i(e,i){return t<=e&&e<=r&&n<=i&&i<=o}function s(e,i,a,s){var l=0,d=0;if(null==e||(l=u(e,a))!==(d=u(i,a))||c(e,i)<0^a>0)do{s.point(0===l||3===l?t:r,l>1?o:n)}while((l=(l+a+4)%4)!==d);else s.point(i[0],i[1])}function u(e,o){return _(e[0]-t)<a?o>0?0:3:_(e[0]-r)<a?o>0?2:1:_(e[1]-n)<a?o>0?1:0:o>0?3:2}function l(t,e){return c(t.x,e.x)}function c(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var u,c,d,f,h,_,p,v,g,m,y,b=a,j=ae(),x={point:w,lineStart:function(){x.point=E,c&&c.push(d=[]),m=!0,g=!1,p=v=NaN},lineEnd:function(){u&&(E(f,h),_&&g&&j.rejoin(),u.push(j.result())),x.point=w,g&&b.lineEnd()},polygonStart:function(){b=j,u=[],c=[],y=!0},polygonEnd:function(){var n=function(){for(var e=0,n=0,r=c.length;n<r;++n)for(var i,a,s=c[n],u=1,l=s.length,d=s[0],f=d[0],h=d[1];u<l;++u)i=f,a=h,d=s[u],f=d[0],h=d[1],a<=o?h>o&&(f-i)*(o-a)>(h-a)*(t-i)&&++e:h<=o&&(f-i)*(o-a)<(h-a)*(t-i)&&--e;return e}(),r=y&&n,i=(u=e.merge(u)).length;(r||i)&&(a.polygonStart(),r&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),i&&le(u,l,n,s,a),a.polygonEnd()),b=a,u=c=d=null}};function w(t,e){i(t,e)&&b.point(t,e)}function E(e,a){var s=i(e,a);if(c&&d.push([e,a]),m)f=e,h=a,_=s,m=!1,s&&(b.lineStart(),b.point(e,a));else if(s&&g)b.point(e,a);else{var u=[p=Math.max(be,Math.min(ye,p)),v=Math.max(be,Math.min(ye,v))],l=[e=Math.max(be,Math.min(ye,e)),a=Math.max(be,Math.min(ye,a))];!function(t,e,n,r,o,i){var a,s=t[0],u=t[1],l=e[0],c=e[1],d=0,f=1,h=l-s,_=c-u;if(a=n-s,h||!(a>0)){if(a/=h,h<0){if(a<d)return;a<f&&(f=a)}else if(h>0){if(a>f)return;a>d&&(d=a)}if(a=o-s,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>d&&(d=a)}else if(h>0){if(a<d)return;a<f&&(f=a)}if(a=r-u,_||!(a>0)){if(a/=_,_<0){if(a<d)return;a<f&&(f=a)}else if(_>0){if(a>f)return;a>d&&(d=a)}if(a=i-u,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a<d)return;a<f&&(f=a)}return d>0&&(t[0]=s+d*h,t[1]=u+d*_),f<1&&(e[0]=s+f*h,e[1]=u+f*_),!0}}}}}(u,l,t,n,r,o)?s&&(b.lineStart(),b.point(e,a),y=!1):(g||(b.lineStart(),b.point(u[0],u[1])),b.point(l[0],l[1]),s||b.lineEnd(),y=!1)}p=e,v=a,g=s}return x}}var xe,we,Ee,Me=n(),Se={sphere:k,point:k,lineStart:function(){Se.point=Pe,Se.lineEnd=Te},lineEnd:k,polygonStart:k,polygonEnd:k};function Te(){Se.point=Se.lineEnd=k}function Pe(t,e){xe=t*=h,we=x(e*=h),Ee=g(e),Se.point=ke}function ke(t,e){t*=h;var n=x(e*=h),r=g(e),o=_(t-xe),i=g(o),a=x(o),s=r*a,u=Ee*n-we*r*i,l=we*n+Ee*r*i;Me.add(v(E(s*s+u*u),l)),xe=t,we=n,Ee=r}function Oe(t){return Me.reset(),R(t,Se),+Me}var Ce=[null,null],Ae={type:"LineString",coordinates:Ce};function Ne(t,e){return Ce[0]=t,Ce[1]=e,Oe(Ae)}var Ie={Feature:function(t,e){return De(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r<o;)if(De(n[r].geometry,e))return!0;return!1}},Re={Sphere:function(){return!0},Point:function(t,e){return Le(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(Le(n[r],e))return!0;return!1},LineString:function(t,e){return qe(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(qe(n[r],e))return!0;return!1},Polygon:function(t,e){return Be(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(Be(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,o=n.length;++r<o;)if(De(n[r],e))return!0;return!1}};function De(t,e){return!(!t||!Re.hasOwnProperty(t.type))&&Re[t.type](t,e)}function Le(t,e){return 0===Ne(t,e)}function qe(t,e){for(var n,r,o,i=0,a=t.length;i<a;i++){if(0===(r=Ne(t[i],e)))return!0;if(i>0&&(o=Ne(t[i],t[i-1]))>0&&n<=o&&r<=o&&(n+r-o)*(1-Math.pow((n-r)/o,2))<s*o)return!0;n=r}return!1}function Be(t,e){return!!he(t.map(ze),Fe(e))}function ze(t){return(t=t.map(Fe)).pop(),t}function Fe(t){return[t[0]*h,t[1]*h]}function Ge(t,n,r){var o=e.range(t,n-a,r).concat(n);return function(t){return o.map(function(e){return[t,e]})}}function Ve(t,n,r){var o=e.range(t,n-a,r).concat(n);return function(t){return o.map(function(e){return[e,t]})}}function He(){var t,n,r,o,i,s,u,l,c,d,f,h,p=10,v=p,g=90,y=360,b=2.5;function j(){return{type:"MultiLineString",coordinates:x()}}function x(){return e.range(m(o/g)*g,r,g).map(f).concat(e.range(m(l/y)*y,u,y).map(h)).concat(e.range(m(n/p)*p,t,p).filter(function(t){return _(t%g)>a}).map(c)).concat(e.range(m(s/v)*v,i,v).filter(function(t){return _(t%y)>a}).map(d))}return j.lines=function(){return x().map(function(t){return{type:"LineString",coordinates:t}})},j.outline=function(){return{type:"Polygon",coordinates:[f(o).concat(h(u).slice(1),f(r).reverse().slice(1),h(l).reverse().slice(1))]}},j.extent=function(t){return arguments.length?j.extentMajor(t).extentMinor(t):j.extentMinor()},j.extentMajor=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],l=+t[0][1],u=+t[1][1],o>r&&(t=o,o=r,r=t),l>u&&(t=l,l=u,u=t),j.precision(b)):[[o,l],[r,u]]},j.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),s>i&&(e=s,s=i,i=e),j.precision(b)):[[n,s],[t,i]]},j.step=function(t){return arguments.length?j.stepMajor(t).stepMinor(t):j.stepMinor()},j.stepMajor=function(t){return arguments.length?(g=+t[0],y=+t[1],j):[g,y]},j.stepMinor=function(t){return arguments.length?(p=+t[0],v=+t[1],j):[p,v]},j.precision=function(e){return arguments.length?(b=+e,c=Ge(s,i,90),d=Ve(n,t,b),f=Ge(l,u,90),h=Ve(o,r,b),j):b},j.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}function Ue(t){return t}var We,Ke,Ye,$e,Xe=n(),Je=n(),Qe={point:k,lineStart:k,lineEnd:k,polygonStart:function(){Qe.lineStart=Ze,Qe.lineEnd=nn},polygonEnd:function(){Qe.lineStart=Qe.lineEnd=Qe.point=k,Xe.add(_(Je)),Je.reset()},result:function(){var t=Xe/2;return Xe.reset(),t}};function Ze(){Qe.point=tn}function tn(t,e){Qe.point=en,We=Ye=t,Ke=$e=e}function en(t,e){Je.add($e*t-Ye*e),Ye=t,$e=e}function nn(){en(We,Ke)}var rn,on,an,sn,un=1/0,ln=un,cn=-un,dn=cn,fn={point:function(t,e){t<un&&(un=t),t>cn&&(cn=t),e<ln&&(ln=e),e>dn&&(dn=e)},lineStart:k,lineEnd:k,polygonStart:k,polygonEnd:k,result:function(){var t=[[un,ln],[cn,dn]];return cn=dn=-(ln=un=1/0),t}},hn=0,_n=0,pn=0,vn=0,gn=0,mn=0,yn=0,bn=0,jn=0,xn={point:wn,lineStart:En,lineEnd:Tn,polygonStart:function(){xn.lineStart=Pn,xn.lineEnd=kn},polygonEnd:function(){xn.point=wn,xn.lineStart=En,xn.lineEnd=Tn},result:function(){var t=jn?[yn/jn,bn/jn]:mn?[vn/mn,gn/mn]:pn?[hn/pn,_n/pn]:[NaN,NaN];return hn=_n=pn=vn=gn=mn=yn=bn=jn=0,t}};function wn(t,e){hn+=t,_n+=e,++pn}function En(){xn.point=Mn}function Mn(t,e){xn.point=Sn,wn(an=t,sn=e)}function Sn(t,e){var n=t-an,r=e-sn,o=E(n*n+r*r);vn+=o*(an+t)/2,gn+=o*(sn+e)/2,mn+=o,wn(an=t,sn=e)}function Tn(){xn.point=wn}function Pn(){xn.point=On}function kn(){Cn(rn,on)}function On(t,e){xn.point=Cn,wn(rn=an=t,on=sn=e)}function Cn(t,e){var n=t-an,r=e-sn,o=E(n*n+r*r);vn+=o*(an+t)/2,gn+=o*(sn+e)/2,mn+=o,yn+=(o=sn*t-an*e)*(an+t),bn+=o*(sn+e),jn+=3*o,wn(an=t,sn=e)}function An(t){this._context=t}An.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,d)}},result:k};var Nn,In,Rn,Dn,Ln,qn=n(),Bn={point:k,lineStart:function(){Bn.point=zn},lineEnd:function(){Nn&&Fn(In,Rn),Bn.point=k},polygonStart:function(){Nn=!0},polygonEnd:function(){Nn=null},result:function(){var t=+qn;return qn.reset(),t}};function zn(t,e){Bn.point=Fn,In=Dn=t,Rn=Ln=e}function Fn(t,e){Dn-=t,Ln-=e,qn.add(E(Dn*Dn+Ln*Ln)),Dn=t,Ln=e}function Gn(){this._string=[]}function Vn(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}function Hn(t){return function(e){var n=new Un;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Un(){}function Wn(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),R(n,t.stream(fn)),e(fn.result()),null!=r&&t.clipExtent(r),t}function Kn(t,e,n){return Wn(t,function(n){var r=e[1][0]-e[0][0],o=e[1][1]-e[0][1],i=Math.min(r/(n[1][0]-n[0][0]),o/(n[1][1]-n[0][1])),a=+e[0][0]+(r-i*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(o-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,s])},n)}function Yn(t,e,n){return Kn(t,[[0,0],e],n)}function $n(t,e,n){return Wn(t,function(n){var r=+e,o=r/(n[1][0]-n[0][0]),i=(r-o*(n[1][0]+n[0][0]))/2,a=-o*n[0][1];t.scale(150*o).translate([i,a])},n)}function Xn(t,e,n){return Wn(t,function(n){var r=+e,o=r/(n[1][1]-n[0][1]),i=-o*n[0][0],a=(r-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([i,a])},n)}Gn.prototype={_radius:4.5,_circle:Vn(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Vn(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}},Un.prototype={constructor:Un,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Jn=16,Qn=g(30*h);function Zn(t,e){return+e?function(t,e){function n(r,o,i,s,u,l,c,d,f,h,p,g,m,y){var b=c-r,j=d-o,x=b*b+j*j;if(x>4*e&&m--){var w=s+h,M=u+p,S=l+g,P=E(w*w+M*M+S*S),k=T(S/=P),O=_(_(S)-1)<a||_(i-f)<a?(i+f)/2:v(M,w),C=t(O,k),A=C[0],N=C[1],I=A-r,R=N-o,D=j*I-b*R;(D*D/x>e||_((b*I+j*R)/x-.5)>.3||s*h+u*p+l*g<Qn)&&(n(r,o,i,s,u,l,A,N,O,w/=P,M/=P,S,m,y),y.point(A,N),n(A,N,O,w,M,S,c,d,f,h,p,g,m,y))}}return function(e){var r,o,i,a,s,u,l,c,d,f,h,_,p={point:v,lineStart:g,lineEnd:y,polygonStart:function(){e.polygonStart(),p.lineStart=b},polygonEnd:function(){e.polygonEnd(),p.lineStart=g}};function v(n,r){n=t(n,r),e.point(n[0],n[1])}function g(){c=NaN,p.point=m,e.lineStart()}function m(r,o){var i=$([r,o]),a=t(r,o);n(c,d,l,f,h,_,c=a[0],d=a[1],l=r,f=i[0],h=i[1],_=i[2],Jn,e),e.point(c,d)}function y(){p.point=v,e.lineEnd()}function b(){g(),p.point=j,p.lineEnd=x}function j(t,e){m(r=t,e),o=c,i=d,a=f,s=h,u=_,p.point=m}function x(){n(c,d,l,f,h,_,o,i,r,a,s,u,Jn,e),p.lineEnd=y,y()}return p}}(t,e):function(t){return Hn({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)}var tr=Hn({point:function(t,e){this.stream.point(t*h,e*h)}});function er(t,e,n,r){var o=g(r),i=x(r),a=o*t,s=i*t,u=o/t,l=i/t,c=(i*n-o*e)/t,d=(i*e+o*n)/t;function f(t,r){return[a*t-s*r+e,n-s*t-a*r]}return f.invert=function(t,e){return[u*t-l*e+c,d-l*t-u*e]},f}function nr(t){return rr(function(){return t})()}function rr(t){var e,n,r,o,i,a,s,u,l,c,d=150,_=480,p=250,v=0,g=0,m=0,y=0,b=0,j=0,x=null,w=ge,M=null,S=Ue,T=.5;function P(t){return u(t[0]*h,t[1]*h)}function k(t){return(t=u.invert(t[0],t[1]))&&[t[0]*f,t[1]*f]}function O(){var t=er(d,0,0,j).apply(null,e(v,g)),r=(j?er:function(t,e,n){function r(r,o){return[e+t*r,n-t*o]}return r.invert=function(r,o){return[(r-e)/t,(n-o)/t]},r})(d,_-t[0],p-t[1],j);return n=Zt(m,y,b),s=Jt(e,r),u=Jt(n,s),a=Zn(s,T),C()}function C(){return l=c=null,P}return P.stream=function(t){return l&&c===t?l:l=tr(function(t){return Hn({point:function(e,n){var r=t(e,n);return this.stream.point(r[0],r[1])}})}(n)(w(a(S(c=t)))))},P.preclip=function(t){return arguments.length?(w=t,x=void 0,C()):w},P.postclip=function(t){return arguments.length?(S=t,M=r=o=i=null,C()):S},P.clipAngle=function(t){return arguments.length?(w=+t?me(x=t*h):(x=null,ge),C()):x*f},P.clipExtent=function(t){return arguments.length?(S=null==t?(M=r=o=i=null,Ue):je(M=+t[0][0],r=+t[0][1],o=+t[1][0],i=+t[1][1]),C()):null==M?null:[[M,r],[o,i]]},P.scale=function(t){return arguments.length?(d=+t,O()):d},P.translate=function(t){return arguments.length?(_=+t[0],p=+t[1],O()):[_,p]},P.center=function(t){return arguments.length?(v=t[0]%360*h,g=t[1]%360*h,O()):[v*f,g*f]},P.rotate=function(t){return arguments.length?(m=t[0]%360*h,y=t[1]%360*h,b=t.length>2?t[2]%360*h:0,O()):[m*f,y*f,b*f]},P.angle=function(t){return arguments.length?(j=t%360*h,O()):j*f},P.precision=function(t){return arguments.length?(a=Zn(s,T=t*t),C()):E(T)},P.fitExtent=function(t,e){return Kn(P,t,e)},P.fitSize=function(t,e){return Yn(P,t,e)},P.fitWidth=function(t,e){return $n(P,t,e)},P.fitHeight=function(t,e){return Xn(P,t,e)},function(){return e=t.apply(this,arguments),P.invert=e.invert&&k,O()}}function or(t){var e=0,n=u/3,r=rr(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*h,n=t[1]*h):[e*f,n*f]},o}function ir(t,e){var n=x(t),r=(n+x(e))/2;if(_(r)<a)return function(t){var e=g(t);function n(t,n){return[t*e,x(n)/e]}return n.invert=function(t,n){return[t/e,T(n*e)]},n}(t);var o=1+n*(2*r-n),i=E(o)/r;function s(t,e){var n=E(o-2*r*x(e))/r;return[n*x(t*=r),i-n*g(t)]}return s.invert=function(t,e){var n=i-e;return[v(t,_(n))/r*w(n),T((o-(t*t+n*n)*r*r)/(2*r))]},s}function ar(){return or(ir).scale(155.424).center([0,33.6442])}function sr(){return ar().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}function ur(t){return function(e,n){var r=g(e),o=g(n),i=t(r*o);return[i*o*x(e),i*x(n)]}}function lr(t){return function(e,n){var r=E(e*e+n*n),o=t(r),i=x(o),a=g(o);return[v(e*i,r*a),T(r&&n*i/r)]}}var cr=ur(function(t){return E(2/(1+t))});cr.invert=lr(function(t){return 2*T(t/2)});var dr=ur(function(t){return(t=S(t))&&t/x(t)});function fr(t,e){return[t,b(M((l+e)/2))]}function hr(t){var e,n,r,o=nr(t),i=o.center,a=o.scale,s=o.translate,l=o.clipExtent,c=null;function d(){var i=u*a(),s=o(re(o.rotate()).invert([0,0]));return l(null==c?[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]:t===fr?[[Math.max(s[0]-i,c),e],[Math.min(s[0]+i,n),r]]:[[c,Math.max(s[1]-i,e)],[n,Math.min(s[1]+i,r)]])}return o.scale=function(t){return arguments.length?(a(t),d()):a()},o.translate=function(t){return arguments.length?(s(t),d()):s()},o.center=function(t){return arguments.length?(i(t),d()):i()},o.clipExtent=function(t){return arguments.length?(null==t?c=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,e],[n,r]]},d()}function _r(t){return M((l+t)/2)}function pr(t,e){var n=g(t),r=t===e?x(t):b(n/g(e))/b(_r(e)/_r(t)),o=n*j(_r(t),r)/r;if(!r)return fr;function i(t,e){o>0?e<-l+a&&(e=-l+a):e>l-a&&(e=l-a);var n=o/j(_r(e),r);return[n*x(r*t),o-n*g(r*t)]}return i.invert=function(t,e){var n=o-e,i=w(r)*E(t*t+n*n);return[v(t,_(n))/r*w(n),2*p(j(o/i,1/r))-l]},i}function vr(t,e){return[t,e]}function gr(t,e){var n=g(t),r=t===e?x(t):(n-g(e))/(e-t),o=n/r+t;if(_(r)<a)return vr;function i(t,e){var n=o-e,i=r*t;return[n*x(i),o-n*g(i)]}return i.invert=function(t,e){var n=o-e;return[v(t,_(n))/r*w(n),o-w(r)*E(t*t+n*n)]},i}dr.invert=lr(function(t){return t}),fr.invert=function(t,e){return[t,2*p(y(e))-l]},vr.invert=vr;var mr=1.340264,yr=-.081106,br=893e-6,jr=.003796,xr=E(3)/2;function wr(t,e){var n=T(xr*x(e)),r=n*n,o=r*r*r;return[t*g(n)/(xr*(mr+3*yr*r+o*(7*br+9*jr*r))),n*(mr+yr*r+o*(br+jr*r))]}function Er(t,e){var n=g(e),r=g(t)*n;return[n*x(t)/r,x(e)/r]}function Mr(t,e,n,r){return 1===t&&1===e&&0===n&&0===r?Ue:Hn({point:function(o,i){this.stream.point(o*t+n,i*e+r)}})}function Sr(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}function Tr(t,e){return[g(e)*x(t),x(e)]}function Pr(t,e){var n=g(e),r=1+g(t)*n;return[n*x(t)/r,x(e)/r]}function kr(t,e){return[b(M((l+e)/2)),-t]}wr.invert=function(t,e){for(var n,r=e,o=r*r,i=o*o*o,a=0;a<12&&(r-=n=(r*(mr+yr*o+i*(br+jr*o))-e)/(mr+3*yr*o+i*(7*br+9*jr*o)),i=(o=r*r)*o*o,!(_(n)<s));++a);return[xr*t*(mr+3*yr*o+i*(7*br+9*jr*o))/g(r),T(x(r)/xr)]},Er.invert=lr(p),Sr.invert=function(t,e){var n,r=e,o=25;do{var i=r*r,s=i*i;r-=n=(r*(1.007226+i*(.015085+s*(.028874*i-.044475-.005916*s)))-e)/(1.007226+i*(.045255+s*(.259866*i-.311325-.005916*11*s)))}while(_(n)>a&&--o>0);return[t/(.8707+(i=r*r)*(i*(i*i*i*(.003971-.001529*i)-.013791)-.131979)),r]},Tr.invert=lr(T),Pr.invert=lr(function(t){return 2*p(t)}),kr.invert=function(t,e){return[-e,2*p(y(t))-l]},t.geoAlbers=sr,t.geoAlbersUsa=function(){var t,e,n,r,o,i,s=sr(),u=ar().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=ar().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){i=[t,e]}};function d(t){var e=t[0],a=t[1];return i=null,n.point(e,a),i||(r.point(e,a),i)||(o.point(e,a),i)}function f(){return t=e=null,d}return d.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:s).invert(t)},d.stream=function(n){return t&&e===n?t:(r=[s.stream(e=n),u.stream(n),l.stream(n)],o=r.length,t={point:function(t,e){for(var n=-1;++n<o;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<o;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<o;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<o;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<o;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<o;)r[t].polygonEnd()}});var r,o},d.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),f()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),i=+t[0],d=+t[1];return n=s.translate(t).clipExtent([[i-.455*e,d-.238*e],[i+.455*e,d+.238*e]]).stream(c),r=u.translate([i-.307*e,d+.201*e]).clipExtent([[i-.425*e+a,d+.12*e+a],[i-.214*e-a,d+.234*e-a]]).stream(c),o=l.translate([i-.205*e,d+.212*e]).clipExtent([[i-.214*e+a,d+.166*e+a],[i-.115*e-a,d+.234*e-a]]).stream(c),f()},d.fitExtent=function(t,e){return Kn(d,t,e)},d.fitSize=function(t,e){return Yn(d,t,e)},d.fitWidth=function(t,e){return $n(d,t,e)},d.fitHeight=function(t,e){return Xn(d,t,e)},d.scale(1070)},t.geoArea=function(t){return G.reset(),R(t,V),2*G},t.geoAzimuthalEqualArea=function(){return nr(cr).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=cr,t.geoAzimuthalEquidistant=function(){return nr(dr).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=dr,t.geoBounds=function(t){var e,n,r,o,i,a,s;if(ot=rt=-(et=nt=1/0),lt=[],R(t,Pt),n=lt.length){for(lt.sort(Lt),e=1,r=lt[0],i=[r];e<n;++e)o=lt[e],qt(r,o[0])||qt(r,o[1])?(Dt(r[0],o[1])>Dt(r[0],r[1])&&(r[1]=o[1]),Dt(o[0],r[1])>Dt(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,e=0,r=i[n];e<=n;r=o,++e)o=i[e],(s=Dt(r[1],o[0]))>a&&(a=s,et=o[0],rt=r[1])}return lt=ct=null,et===1/0||nt===1/0?[[NaN,NaN],[NaN,NaN]]:[[et,nt],[rt,ot]]},t.geoCentroid=function(t){dt=ft=ht=_t=pt=vt=gt=mt=yt=bt=jt=0,R(t,Bt);var e=yt,n=bt,r=jt,o=e*e+n*n+r*r;return o<s&&(e=vt,n=gt,r=mt,ft<a&&(e=ht,n=_t,r=pt),(o=e*e+n*n+r*r)<s)?[NaN,NaN]:[v(n,e)*f,T(r/E(o))*f]},t.geoCircle=function(){var t,e,n=Xt([0,0]),r=Xt(90),o=Xt(6),i={point:function(n,r){t.push(n=e(n,r)),n[0]*=f,n[1]*=f}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*h,u=o.apply(this,arguments)*h;return t=[],e=Zt(-a[0]*h,-a[1]*h,0).invert,oe(i,s,u,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:Xt([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:Xt(+t),a):r},a.precision=function(t){return arguments.length?(o="function"==typeof t?t:Xt(+t),a):o},a},t.geoClipAntimeridian=ge,t.geoClipCircle=me,t.geoClipExtent=function(){var t,e,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return t&&e===n?t:t=je(r,o,i,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],i=+s[1][0],a=+s[1][1],t=e=null,n):[[r,o],[i,a]]}}},t.geoClipRectangle=je,t.geoConicConformal=function(){return or(pr).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=pr,t.geoConicEqualArea=ar,t.geoConicEqualAreaRaw=ir,t.geoConicEquidistant=function(){return or(gr).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=gr,t.geoContains=function(t,e){return(t&&Ie.hasOwnProperty(t.type)?Ie[t.type]:De)(t,e)},t.geoDistance=Ne,t.geoEqualEarth=function(){return nr(wr).scale(177.158)},t.geoEqualEarthRaw=wr,t.geoEquirectangular=function(){return nr(vr).scale(152.63)},t.geoEquirectangularRaw=vr,t.geoGnomonic=function(){return nr(Er).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=Er,t.geoGraticule=He,t.geoGraticule10=function(){return He()()},t.geoIdentity=function(){var t,e,n,r,o,i,a=1,s=0,u=0,l=1,c=1,d=Ue,f=null,h=Ue;function _(){return r=o=null,i}return i={stream:function(t){return r&&o===t?r:r=d(h(o=t))},postclip:function(r){return arguments.length?(h=r,f=t=e=n=null,_()):h},clipExtent:function(r){return arguments.length?(h=null==r?(f=t=e=n=null,Ue):je(f=+r[0][0],t=+r[0][1],e=+r[1][0],n=+r[1][1]),_()):null==f?null:[[f,t],[e,n]]},scale:function(t){return arguments.length?(d=Mr((a=+t)*l,a*c,s,u),_()):a},translate:function(t){return arguments.length?(d=Mr(a*l,a*c,s=+t[0],u=+t[1]),_()):[s,u]},reflectX:function(t){return arguments.length?(d=Mr(a*(l=t?-1:1),a*c,s,u),_()):l<0},reflectY:function(t){return arguments.length?(d=Mr(a*l,a*(c=t?-1:1),s,u),_()):c<0},fitExtent:function(t,e){return Kn(i,t,e)},fitSize:function(t,e){return Yn(i,t,e)},fitWidth:function(t,e){return $n(i,t,e)},fitHeight:function(t,e){return Xn(i,t,e)}}},t.geoInterpolate=function(t,e){var n=t[0]*h,r=t[1]*h,o=e[0]*h,i=e[1]*h,a=g(r),s=x(r),u=g(i),l=x(i),c=a*g(n),d=a*x(n),_=u*g(o),p=u*x(o),m=2*T(E(P(i-r)+a*u*P(o-n))),y=x(m),b=m?function(t){var e=x(t*=m)/y,n=x(m-t)/y,r=n*c+e*_,o=n*d+e*p,i=n*s+e*l;return[v(o,r)*f,v(i,E(r*r+o*o))*f]}:function(){return[n*f,r*f]};return b.distance=m,b},t.geoLength=Oe,t.geoMercator=function(){return hr(fr).scale(961/d)},t.geoMercatorRaw=fr,t.geoNaturalEarth1=function(){return nr(Sr).scale(175.295)},t.geoNaturalEarth1Raw=Sr,t.geoOrthographic=function(){return nr(Tr).scale(249.5).clipAngle(90+a)},t.geoOrthographicRaw=Tr,t.geoPath=function(t,e){var n,r,o=4.5;function i(t){return t&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),R(t,n(r))),r.result()}return i.area=function(t){return R(t,n(Qe)),Qe.result()},i.measure=function(t){return R(t,n(Bn)),Bn.result()},i.bounds=function(t){return R(t,n(fn)),fn.result()},i.centroid=function(t){return R(t,n(xn)),xn.result()},i.projection=function(e){return arguments.length?(n=null==e?(t=null,Ue):(t=e).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(e=null,new Gn):new An(e=t),"function"!=typeof o&&r.pointRadius(o),i):e},i.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(e)},t.geoProjection=nr,t.geoProjectionMutator=rr,t.geoRotation=re,t.geoStereographic=function(){return nr(Pr).scale(250).clipAngle(142)},t.geoStereographicRaw=Pr,t.geoStream=R,t.geoTransform=function(t){return{stream:Hn(t)}},t.geoTransverseMercator=function(){var t=hr(kr),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=kr,Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js":function(t,e,n){!function(t,e){"use strict";var n=function(){return new r};function r(){this.reset()}r.prototype={constructor:r,reset:function(){this.s=this.t=0},add:function(t){i(o,t,this.t),i(this,o.s,this.s),this.s?this.t+=o.t:this.s=o.t},valueOf:function(){return this.s}};var o=new r;function i(t,e,n){var r=t.s=e+n,o=r-e,i=r-o;t.t=e-i+(n-o)}var a=1e-6,s=Math.PI,u=s/2,l=s/4,c=2*s,d=180/s,f=s/180,h=Math.abs,_=Math.atan,p=Math.atan2,v=Math.cos,g=Math.ceil,m=Math.exp,y=Math.log,b=Math.pow,j=Math.sin,x=Math.sign||function(t){return t>0?1:t<0?-1:0},w=Math.sqrt,E=Math.tan;function M(t){return t>1?0:t<-1?s:Math.acos(t)}function S(t){return t>1?u:t<-1?-u:Math.asin(t)}function T(t){return(t=j(t/2))*t}function P(){}function k(t,e){t&&C.hasOwnProperty(t.type)&&C[t.type](t,e)}var O={Feature:function(t,e){k(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r<o;)k(n[r].geometry,e)}},C={Sphere:function(t,e){e.sphere()},Point:function(t,e){t=t.coordinates,e.point(t[0],t[1],t[2])},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)t=n[r],e.point(t[0],t[1],t[2])},LineString:function(t,e){A(t.coordinates,e,0)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)A(n[r],e,0)},Polygon:function(t,e){N(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)N(n[r],e)},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,o=n.length;++r<o;)k(n[r],e)}};function A(t,e,n){var r,o=-1,i=t.length-n;for(e.lineStart();++o<i;)r=t[o],e.point(r[0],r[1],r[2]);e.lineEnd()}function N(t,e){var n=-1,r=t.length;for(e.polygonStart();++n<r;)A(t[n],e,1);e.polygonEnd()}var I,R,D,L,q,B,z,F,G,V,H,U,W,K=function(t,e){t&&O.hasOwnProperty(t.type)?O[t.type](t,e):k(t,e)},Y=n(),$=n(),X={point:P,lineStart:P,lineEnd:P,polygonStart:function(){Y.reset(),X.lineStart=J,X.lineEnd=Q},polygonEnd:function(){var t=+Y;$.add(t<0?c+t:t),this.lineStart=this.lineEnd=this.point=P},sphere:function(){$.add(c)}};function J(){X.point=Z}function Q(){tt(I,R)}function Z(t,e){X.point=tt,I=t,R=e,D=t*=f,L=v(e=(e*=f)/2+l),q=j(e)}function tt(t,e){var n=(t*=f)-D,r=n>=0?1:-1,o=r*n,i=v(e=(e*=f)/2+l),a=j(e),s=q*a,u=L*i+s*v(o),c=s*r*j(o);Y.add(p(c,u)),D=t,L=i,q=a}function et(t){return[p(t[1],t[0]),S(t[2])]}function nt(t){var e=t[0],n=t[1],r=v(n);return[r*v(e),r*j(e),j(n)]}function rt(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function ot(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function it(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function at(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function st(t){var e=w(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var ut,lt,ct=n(),dt={point:ft,lineStart:_t,lineEnd:pt,polygonStart:function(){dt.point=vt,dt.lineStart=gt,dt.lineEnd=mt,ct.reset(),X.polygonStart()},polygonEnd:function(){X.polygonEnd(),dt.point=ft,dt.lineStart=_t,dt.lineEnd=pt,Y<0?(B=-(F=180),z=-(G=90)):ct>a?G=90:ct<-a&&(z=-90),lt[0]=B,lt[1]=F}};function ft(t,e){ut.push(lt=[B=t,F=t]),e<z&&(z=e),e>G&&(G=e)}function ht(t,e){var n=nt([t*f,e*f]);if(W){var r=ot(W,n),o=[r[1],-r[0],0],i=ot(o,r);st(i),i=et(i);var a,s=t-V,u=s>0?1:-1,l=i[0]*d*u,c=h(s)>180;c^(u*V<l&&l<u*t)?(a=i[1]*d)>G&&(G=a):c^(u*V<(l=(l+360)%360-180)&&l<u*t)?(a=-i[1]*d)<z&&(z=a):(e<z&&(z=e),e>G&&(G=e)),c?t<V?yt(B,t)>yt(B,F)&&(F=t):yt(t,F)>yt(B,F)&&(B=t):F>=B?(t<B&&(B=t),t>F&&(F=t)):t>V?yt(B,t)>yt(B,F)&&(F=t):yt(t,F)>yt(B,F)&&(B=t)}else ut.push(lt=[B=t,F=t]);e<z&&(z=e),e>G&&(G=e),W=n,V=t}function _t(){dt.point=ht}function pt(){lt[0]=B,lt[1]=F,dt.point=ft,W=null}function vt(t,e){if(W){var n=t-V;ct.add(h(n)>180?n+(n>0?360:-360):n)}else H=t,U=e;X.point(t,e),ht(t,e)}function gt(){X.lineStart()}function mt(){vt(H,U),X.lineEnd(),h(ct)>a&&(B=-(F=180)),lt[0]=B,lt[1]=F,W=null}function yt(t,e){return(e-=t)<0?e+360:e}function bt(t,e){return t[0]-e[0]}function jt(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:e<t[0]||t[1]<e}var xt,wt,Et,Mt,St,Tt,Pt,kt,Ot,Ct,At,Nt,It,Rt,Dt,Lt,qt={sphere:P,point:Bt,lineStart:Ft,lineEnd:Ht,polygonStart:function(){qt.lineStart=Ut,qt.lineEnd=Wt},polygonEnd:function(){qt.lineStart=Ft,qt.lineEnd=Ht}};function Bt(t,e){t*=f;var n=v(e*=f);zt(n*v(t),n*j(t),j(e))}function zt(t,e,n){Et+=(t-Et)/++xt,Mt+=(e-Mt)/xt,St+=(n-St)/xt}function Ft(){qt.point=Gt}function Gt(t,e){t*=f;var n=v(e*=f);Rt=n*v(t),Dt=n*j(t),Lt=j(e),qt.point=Vt,zt(Rt,Dt,Lt)}function Vt(t,e){t*=f;var n=v(e*=f),r=n*v(t),o=n*j(t),i=j(e),a=p(w((a=Dt*i-Lt*o)*a+(a=Lt*r-Rt*i)*a+(a=Rt*o-Dt*r)*a),Rt*r+Dt*o+Lt*i);wt+=a,Tt+=a*(Rt+(Rt=r)),Pt+=a*(Dt+(Dt=o)),kt+=a*(Lt+(Lt=i)),zt(Rt,Dt,Lt)}function Ht(){qt.point=Bt}function Ut(){qt.point=Kt}function Wt(){Yt(Nt,It),qt.point=Bt}function Kt(t,e){Nt=t,It=e,t*=f,e*=f,qt.point=Yt;var n=v(e);Rt=n*v(t),Dt=n*j(t),Lt=j(e),zt(Rt,Dt,Lt)}function Yt(t,e){t*=f;var n=v(e*=f),r=n*v(t),o=n*j(t),i=j(e),a=Dt*i-Lt*o,s=Lt*r-Rt*i,u=Rt*o-Dt*r,l=w(a*a+s*s+u*u),c=S(l),d=l&&-c/l;Ot+=d*a,Ct+=d*s,At+=d*u,wt+=c,Tt+=c*(Rt+(Rt=r)),Pt+=c*(Dt+(Dt=o)),kt+=c*(Lt+(Lt=i)),zt(Rt,Dt,Lt)}var $t=function(t){return function(){return t}},Xt=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function Jt(t,e){return[t>s?t-c:t<-s?t+c:t,e]}function Qt(t,e,n){return(t%=c)?e||n?Xt(te(t),ee(e,n)):te(t):e||n?ee(e,n):Jt}function Zt(t){return function(e,n){return[(e+=t)>s?e-c:e<-s?e+c:e,n]}}function te(t){var e=Zt(t);return e.invert=Zt(-t),e}function ee(t,e){var n=v(t),r=j(t),o=v(e),i=j(e);function a(t,e){var a=v(e),s=v(t)*a,u=j(t)*a,l=j(e),c=l*n+s*r;return[p(u*o-c*i,s*n-l*r),S(c*o+u*i)]}return a.invert=function(t,e){var a=v(e),s=v(t)*a,u=j(t)*a,l=j(e),c=l*o-u*i;return[p(u*o+l*i,s*n+c*r),S(c*n-s*r)]},a}Jt.invert=Jt;var ne=function(t){function e(e){return(e=t(e[0]*f,e[1]*f))[0]*=d,e[1]*=d,e}return t=Qt(t[0]*f,t[1]*f,t.length>2?t[2]*f:0),e.invert=function(e){return(e=t.invert(e[0]*f,e[1]*f))[0]*=d,e[1]*=d,e},e};function re(t,e,n,r,o,i){if(n){var a=v(e),s=j(e),u=r*n;null==o?(o=e+r*c,i=e-u/2):(o=oe(a,o),i=oe(a,i),(r>0?o<i:o>i)&&(o+=r*c));for(var l,d=o;r>0?d>i:d<i;d-=u)l=et([a,-s*v(d),-s*j(d)]),t.point(l[0],l[1])}}function oe(t,e){(e=nt(e))[0]-=t,st(e);var n=M(-e[1]);return((-e[2]<0?-n:n)+c-a)%c}var ie=function(){var t,e=[];return{point:function(e,n){t.push([e,n])},lineStart:function(){e.push(t=[])},lineEnd:P,rejoin:function(){e.length>1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},ae=function(t,e,n,r,o,i){var a,s=t[0],u=t[1],l=e[0],c=e[1],d=0,f=1,h=l-s,_=c-u;if(a=n-s,h||!(a>0)){if(a/=h,h<0){if(a<d)return;a<f&&(f=a)}else if(h>0){if(a>f)return;a>d&&(d=a)}if(a=o-s,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>d&&(d=a)}else if(h>0){if(a<d)return;a<f&&(f=a)}if(a=r-u,_||!(a>0)){if(a/=_,_<0){if(a<d)return;a<f&&(f=a)}else if(_>0){if(a>f)return;a>d&&(d=a)}if(a=i-u,_||!(a<0)){if(a/=_,_<0){if(a>f)return;a>d&&(d=a)}else if(_>0){if(a<d)return;a<f&&(f=a)}return d>0&&(t[0]=s+d*h,t[1]=u+d*_),f<1&&(e[0]=s+f*h,e[1]=u+f*_),!0}}}}},se=function(t,e){return h(t[0]-e[0])<a&&h(t[1]-e[1])<a};function ue(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var le=function(t,e,n,r,o){var i,a,s=[],u=[];if(t.forEach(function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(se(r,a)){for(o.lineStart(),i=0;i<e;++i)o.point((r=t[i])[0],r[1]);o.lineEnd()}else s.push(n=new ue(r,t,null,!0)),u.push(n.o=new ue(r,null,n,!1)),s.push(n=new ue(a,t,null,!1)),u.push(n.o=new ue(a,null,n,!0))}}),s.length){for(u.sort(e),ce(s),ce(u),i=0,a=u.length;i<a;++i)u[i].e=n=!n;for(var l,c,d=s[0];;){for(var f=d,h=!0;f.v;)if((f=f.n)===d)return;l=f.z,o.lineStart();do{if(f.v=f.o.v=!0,f.e){if(h)for(i=0,a=l.length;i<a;++i)o.point((c=l[i])[0],c[1]);else r(f.x,f.n.x,1,o);f=f.n}else{if(h)for(l=f.p.z,i=l.length-1;i>=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 ce(t){if(e=t.length){for(var e,n,r=0,o=t[0];++r<e;)o.n=n=t[r],n.p=o,o=n;o.n=n=t[0],n.p=o}}var de=1e9,fe=-de;function he(t,n,r,o){function i(e,i){return t<=e&&e<=r&&n<=i&&i<=o}function s(e,i,a,s){var l=0,d=0;if(null==e||(l=u(e,a))!==(d=u(i,a))||c(e,i)<0^a>0)do{s.point(0===l||3===l?t:r,l>1?o:n)}while((l=(l+a+4)%4)!==d);else s.point(i[0],i[1])}function u(e,o){return h(e[0]-t)<a?o>0?0:3:h(e[0]-r)<a?o>0?2:1:h(e[1]-n)<a?o>0?1:0:o>0?3:2}function l(t,e){return c(t.x,e.x)}function c(t,e){var n=u(t,1),r=u(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var u,c,d,f,h,_,p,v,g,m,y,b=a,j=ie(),x={point:w,lineStart:function(){x.point=E,c&&c.push(d=[]),m=!0,g=!1,p=v=NaN},lineEnd:function(){u&&(E(f,h),_&&g&&j.rejoin(),u.push(j.result())),x.point=w,g&&b.lineEnd()},polygonStart:function(){b=j,u=[],c=[],y=!0},polygonEnd:function(){var n=function(){for(var e=0,n=0,r=c.length;n<r;++n)for(var i,a,s=c[n],u=1,l=s.length,d=s[0],f=d[0],h=d[1];u<l;++u)i=f,a=h,d=s[u],f=d[0],h=d[1],a<=o?h>o&&(f-i)*(o-a)>(h-a)*(t-i)&&++e:h<=o&&(f-i)*(o-a)<(h-a)*(t-i)&&--e;return e}(),r=y&&n,i=(u=e.merge(u)).length;(r||i)&&(a.polygonStart(),r&&(a.lineStart(),s(null,null,1,a),a.lineEnd()),i&&le(u,l,n,s,a),a.polygonEnd()),b=a,u=c=d=null}};function w(t,e){i(t,e)&&b.point(t,e)}function E(e,a){var s=i(e,a);if(c&&d.push([e,a]),m)f=e,h=a,_=s,m=!1,s&&(b.lineStart(),b.point(e,a));else if(s&&g)b.point(e,a);else{var u=[p=Math.max(fe,Math.min(de,p)),v=Math.max(fe,Math.min(de,v))],l=[e=Math.max(fe,Math.min(de,e)),a=Math.max(fe,Math.min(de,a))];ae(u,l,t,n,r,o)?(g||(b.lineStart(),b.point(u[0],u[1])),b.point(l[0],l[1]),s||b.lineEnd(),y=!1):s&&(b.lineStart(),b.point(e,a),y=!1)}p=e,v=a,g=s}return x}}var _e,pe,ve,ge=n(),me=function(t,e){var n=e[0],r=e[1],o=[j(n),-v(n),0],i=0,u=0;ge.reset();for(var d=0,f=t.length;d<f;++d)if(_=(h=t[d]).length)for(var h,_,g=h[_-1],m=g[0],y=g[1]/2+l,b=j(y),x=v(y),w=0;w<_;++w,m=M,b=P,x=k,g=E){var E=h[w],M=E[0],T=E[1]/2+l,P=j(T),k=v(T),O=M-m,C=O>=0?1:-1,A=C*O,N=A>s,I=b*P;if(ge.add(p(I*C*j(A),x*k+I*v(A))),i+=N?O+C*c:O,N^m>=n^M>=n){var R=ot(nt(g),nt(E));st(R);var D=ot(o,R);st(D);var L=(N^O>=0?-1:1)*S(D[2]);(r>L||r===L&&(R[0]||R[1]))&&(u+=N^O>=0?1:-1)}}return(i<-a||i<a&&ge<-a)^1&u},ye=n(),be={sphere:P,point:P,lineStart:function(){be.point=xe,be.lineEnd=je},lineEnd:P,polygonStart:P,polygonEnd:P};function je(){be.point=be.lineEnd=P}function xe(t,e){_e=t*=f,pe=j(e*=f),ve=v(e),be.point=we}function we(t,e){t*=f;var n=j(e*=f),r=v(e),o=h(t-_e),i=v(o),a=j(o),s=r*a,u=ve*n-pe*r*i,l=pe*n+ve*r*i;ye.add(p(w(s*s+u*u),l)),_e=t,pe=n,ve=r}var Ee=function(t){return ye.reset(),K(t,be),+ye},Me=[null,null],Se={type:"LineString",coordinates:Me},Te=function(t,e){return Me[0]=t,Me[1]=e,Ee(Se)},Pe={Feature:function(t,e){return Oe(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,o=n.length;++r<o;)if(Oe(n[r].geometry,e))return!0;return!1}},ke={Sphere:function(){return!0},Point:function(t,e){return Ce(t.coordinates,e)},MultiPoint:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(Ce(n[r],e))return!0;return!1},LineString:function(t,e){return Ae(t.coordinates,e)},MultiLineString:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(Ae(n[r],e))return!0;return!1},Polygon:function(t,e){return Ne(t.coordinates,e)},MultiPolygon:function(t,e){for(var n=t.coordinates,r=-1,o=n.length;++r<o;)if(Ne(n[r],e))return!0;return!1},GeometryCollection:function(t,e){for(var n=t.geometries,r=-1,o=n.length;++r<o;)if(Oe(n[r],e))return!0;return!1}};function Oe(t,e){return!(!t||!ke.hasOwnProperty(t.type))&&ke[t.type](t,e)}function Ce(t,e){return 0===Te(t,e)}function Ae(t,e){var n=Te(t[0],t[1]),r=Te(t[0],e),o=Te(e,t[1]);return r+o<=n+a}function Ne(t,e){return!!me(t.map(Ie),Re(e))}function Ie(t){return(t=t.map(Re)).pop(),t}function Re(t){return[t[0]*f,t[1]*f]}function De(t,n,r){var o=e.range(t,n-a,r).concat(n);return function(t){return o.map(function(e){return[t,e]})}}function Le(t,n,r){var o=e.range(t,n-a,r).concat(n);return function(t){return o.map(function(e){return[e,t]})}}function qe(){var t,n,r,o,i,s,u,l,c,d,f,_,p=10,v=p,m=90,y=360,b=2.5;function j(){return{type:"MultiLineString",coordinates:x()}}function x(){return e.range(g(o/m)*m,r,m).map(f).concat(e.range(g(l/y)*y,u,y).map(_)).concat(e.range(g(n/p)*p,t,p).filter(function(t){return h(t%m)>a}).map(c)).concat(e.range(g(s/v)*v,i,v).filter(function(t){return h(t%y)>a}).map(d))}return j.lines=function(){return x().map(function(t){return{type:"LineString",coordinates:t}})},j.outline=function(){return{type:"Polygon",coordinates:[f(o).concat(_(u).slice(1),f(r).reverse().slice(1),_(l).reverse().slice(1))]}},j.extent=function(t){return arguments.length?j.extentMajor(t).extentMinor(t):j.extentMinor()},j.extentMajor=function(t){return arguments.length?(o=+t[0][0],r=+t[1][0],l=+t[0][1],u=+t[1][1],o>r&&(t=o,o=r,r=t),l>u&&(t=l,l=u,u=t),j.precision(b)):[[o,l],[r,u]]},j.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),s>i&&(e=s,s=i,i=e),j.precision(b)):[[n,s],[t,i]]},j.step=function(t){return arguments.length?j.stepMajor(t).stepMinor(t):j.stepMinor()},j.stepMajor=function(t){return arguments.length?(m=+t[0],y=+t[1],j):[m,y]},j.stepMinor=function(t){return arguments.length?(p=+t[0],v=+t[1],j):[p,v]},j.precision=function(e){return arguments.length?(b=+e,c=De(s,i,90),d=Le(n,t,b),f=De(l,u,90),_=Le(o,r,b),j):b},j.extentMajor([[-180,-90+a],[180,90-a]]).extentMinor([[-180,-80-a],[180,80+a]])}var Be,ze,Fe,Ge,Ve=function(t){return t},He=n(),Ue=n(),We={point:P,lineStart:P,lineEnd:P,polygonStart:function(){We.lineStart=Ke,We.lineEnd=Xe},polygonEnd:function(){We.lineStart=We.lineEnd=We.point=P,He.add(h(Ue)),Ue.reset()},result:function(){var t=He/2;return He.reset(),t}};function Ke(){We.point=Ye}function Ye(t,e){We.point=$e,Be=Fe=t,ze=Ge=e}function $e(t,e){Ue.add(Ge*t-Fe*e),Fe=t,Ge=e}function Xe(){$e(Be,ze)}var Je,Qe,Ze,tn,en=1/0,nn=en,rn=-en,on=rn,an={point:function(t,e){t<en&&(en=t),t>rn&&(rn=t),e<nn&&(nn=e),e>on&&(on=e)},lineStart:P,lineEnd:P,polygonStart:P,polygonEnd:P,result:function(){var t=[[en,nn],[rn,on]];return rn=on=-(nn=en=1/0),t}},sn=0,un=0,ln=0,cn=0,dn=0,fn=0,hn=0,_n=0,pn=0,vn={point:gn,lineStart:mn,lineEnd:jn,polygonStart:function(){vn.lineStart=xn,vn.lineEnd=wn},polygonEnd:function(){vn.point=gn,vn.lineStart=mn,vn.lineEnd=jn},result:function(){var t=pn?[hn/pn,_n/pn]:fn?[cn/fn,dn/fn]:ln?[sn/ln,un/ln]:[NaN,NaN];return sn=un=ln=cn=dn=fn=hn=_n=pn=0,t}};function gn(t,e){sn+=t,un+=e,++ln}function mn(){vn.point=yn}function yn(t,e){vn.point=bn,gn(Ze=t,tn=e)}function bn(t,e){var n=t-Ze,r=e-tn,o=w(n*n+r*r);cn+=o*(Ze+t)/2,dn+=o*(tn+e)/2,fn+=o,gn(Ze=t,tn=e)}function jn(){vn.point=gn}function xn(){vn.point=En}function wn(){Mn(Je,Qe)}function En(t,e){vn.point=Mn,gn(Je=Ze=t,Qe=tn=e)}function Mn(t,e){var n=t-Ze,r=e-tn,o=w(n*n+r*r);cn+=o*(Ze+t)/2,dn+=o*(tn+e)/2,fn+=o,hn+=(o=tn*t-Ze*e)*(Ze+t),_n+=o*(tn+e),pn+=3*o,gn(Ze=t,tn=e)}function Sn(t){this._context=t}Sn.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,c)}},result:P};var Tn,Pn,kn,On,Cn,An=n(),Nn={point:P,lineStart:function(){Nn.point=In},lineEnd:function(){Tn&&Rn(Pn,kn),Nn.point=P},polygonStart:function(){Tn=!0},polygonEnd:function(){Tn=null},result:function(){var t=+An;return An.reset(),t}};function In(t,e){Nn.point=Rn,Pn=On=t,kn=Cn=e}function Rn(t,e){On-=t,Cn-=e,An.add(w(On*On+Cn*Cn)),On=t,Cn=e}function Dn(){this._string=[]}function Ln(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Dn.prototype={_radius:4.5,_circle:Ln(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Ln(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var qn=function(t,n,r,o){return function(i,a){var s,u,l,c=n(a),d=i.invert(o[0],o[1]),f=ie(),h=n(f),_=!1,p={point:v,lineStart:m,lineEnd:y,polygonStart:function(){p.point=b,p.lineStart=j,p.lineEnd=x,u=[],s=[]},polygonEnd:function(){p.point=v,p.lineStart=m,p.lineEnd=y,u=e.merge(u);var t=me(s,d);u.length?(_||(a.polygonStart(),_=!0),le(u,zn,t,r,a)):t&&(_||(a.polygonStart(),_=!0),a.lineStart(),r(null,null,1,a),a.lineEnd()),_&&(a.polygonEnd(),_=!1),u=s=null},sphere:function(){a.polygonStart(),a.lineStart(),r(null,null,1,a),a.lineEnd(),a.polygonEnd()}};function v(e,n){var r=i(e,n);t(e=r[0],n=r[1])&&a.point(e,n)}function g(t,e){var n=i(t,e);c.point(n[0],n[1])}function m(){p.point=g,c.lineStart()}function y(){p.point=v,c.lineEnd()}function b(t,e){l.push([t,e]);var n=i(t,e);h.point(n[0],n[1])}function j(){h.lineStart(),l=[]}function x(){b(l[0][0],l[0][1]),h.lineEnd();var t,e,n,r,o=h.clean(),i=f.result(),c=i.length;if(l.pop(),s.push(l),l=null,c)if(1&o){if(n=i[0],(e=n.length-1)>0){for(_||(a.polygonStart(),_=!0),a.lineStart(),t=0;t<e;++t)a.point((r=n[t])[0],r[1]);a.lineEnd()}}else c>1&&2&o&&i.push(i.pop().concat(i.shift())),u.push(i.filter(Bn))}return p}};function Bn(t){return t.length>1}function zn(t,e){return((t=t.x)[0]<0?t[1]-u-a:u-t[1])-((e=e.x)[0]<0?e[1]-u-a:u-e[1])}var Fn=qn(function(){return!0},function(t){var e,n=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(i,l){var c=i>0?s:-s,d=h(i-n);h(d-s)<a?(t.point(n,r=(r+l)/2>0?u:-u),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),t.point(i,r),e=0):o!==c&&d>=s&&(h(n-o)<a&&(n-=o*a),h(i-c)<a&&(i-=c*a),r=function(t,e,n,r){var o,i,s=j(t-n);return h(s)>a?_((j(e)*(i=v(r))*j(n)-j(r)*(o=v(e))*j(t))/(o*i*s)):(e+r)/2}(n,r,i,l),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(c,r),e=0),t.point(n=i,r=l),o=c},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}},function(t,e,n,r){var o;if(null==t)o=n*u,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(h(t[0]-e[0])>a){var i=t[0]<e[0]?s:-s;o=n*i/2,r.point(-i,o),r.point(0,o),r.point(i,o)}else r.point(e[0],e[1])},[-s,-u]),Gn=function(t,e){var n=v(t),r=n>0,o=h(n)>a;function i(t,e){return v(t)*v(e)>n}function u(t,e,r){var o=nt(t),i=nt(e),u=[1,0,0],l=ot(o,i),c=rt(l,l),d=l[0],f=c-d*d;if(!f)return!r&&t;var _=n*c/f,p=-n*d/f,v=ot(u,l),g=at(u,_),m=at(l,p);it(g,m);var y=v,b=rt(g,y),j=rt(y,y),x=b*b-j*(rt(g,g)-1);if(!(x<0)){var E=w(x),M=at(y,(-b-E)/j);if(it(M,g),M=et(M),!r)return M;var S,T=t[0],P=e[0],k=t[1],O=e[1];P<T&&(S=T,T=P,P=S);var C=P-T,A=h(C-s)<a,N=A||C<a;if(!A&&O<k&&(S=k,k=O,O=S),N?A?k+O>0^M[1]<(h(M[0]-T)<a?k:O):k<=M[1]&&M[1]<=O:C>s^(T<=M[0]&&M[0]<=P)){var I=at(y,(-b+E)/j);return it(I,g),[M,et(I)]}}}function l(e,n){var o=r?t:s-t,i=0;return e<-o?i|=1:e>o&&(i|=2),n<-o?i|=4:n>o&&(i|=8),i}return qn(i,function(t){var e,n,c,d,f;return{lineStart:function(){d=c=!1,f=1},point:function(h,_){var p,v=[h,_],g=i(h,_),m=r?g?0:l(h,_):g?l(h+(h<0?s:-s),_):0;if(!e&&(d=c=g)&&t.lineStart(),g!==c&&(!(p=u(e,v))||se(e,p)||se(v,p))&&(v[0]+=a,v[1]+=a,g=i(v[0],v[1])),g!==c)f=0,g?(t.lineStart(),p=u(v,e),t.point(p[0],p[1])):(p=u(e,v),t.point(p[0],p[1]),t.lineEnd()),e=p;else if(o&&e&&r^g){var y;m&n||!(y=u(v,e,!0))||(f=0,r?(t.lineStart(),t.point(y[0][0],y[0][1]),t.point(y[1][0],y[1][1]),t.lineEnd()):(t.point(y[1][0],y[1][1]),t.lineEnd(),t.lineStart(),t.point(y[0][0],y[0][1])))}!g||e&&se(e,v)||t.point(v[0],v[1]),e=v,c=g,n=m},lineEnd:function(){c&&t.lineEnd(),e=null},clean:function(){return f|(d&&c)<<1}}},function(n,r,o,i){re(i,t,e,o,n,r)},r?[0,-t]:[-s,t-s])};function Vn(t){return function(e){var n=new Hn;for(var r in t)n[r]=t[r];return n.stream=e,n}}function Hn(){}function Un(t,e,n){var r=e[1][0]-e[0][0],o=e[1][1]-e[0][1],i=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=i&&t.clipExtent(null),K(n,t.stream(an));var a=an.result(),s=Math.min(r/(a[1][0]-a[0][0]),o/(a[1][1]-a[0][1])),u=+e[0][0]+(r-s*(a[1][0]+a[0][0]))/2,l=+e[0][1]+(o-s*(a[1][1]+a[0][1]))/2;return null!=i&&t.clipExtent(i),t.scale(150*s).translate([u,l])}function Wn(t,e,n){return Un(t,[[0,0],e],n)}Hn.prototype={constructor:Hn,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Kn=16,Yn=v(30*f),$n=function(t,e){return+e?function(t,e){function n(r,o,i,s,u,l,c,d,f,_,v,g,m,y){var b=c-r,j=d-o,x=b*b+j*j;if(x>4*e&&m--){var E=s+_,M=u+v,T=l+g,P=w(E*E+M*M+T*T),k=S(T/=P),O=h(h(T)-1)<a||h(i-f)<a?(i+f)/2:p(M,E),C=t(O,k),A=C[0],N=C[1],I=A-r,R=N-o,D=j*I-b*R;(D*D/x>e||h((b*I+j*R)/x-.5)>.3||s*_+u*v+l*g<Yn)&&(n(r,o,i,s,u,l,A,N,O,E/=P,M/=P,T,m,y),y.point(A,N),n(A,N,O,E,M,T,c,d,f,_,v,g,m,y))}}return function(e){var r,o,i,a,s,u,l,c,d,f,h,_,p={point:v,lineStart:g,lineEnd:y,polygonStart:function(){e.polygonStart(),p.lineStart=b},polygonEnd:function(){e.polygonEnd(),p.lineStart=g}};function v(n,r){n=t(n,r),e.point(n[0],n[1])}function g(){c=NaN,p.point=m,e.lineStart()}function m(r,o){var i=nt([r,o]),a=t(r,o);n(c,d,l,f,h,_,c=a[0],d=a[1],l=r,f=i[0],h=i[1],_=i[2],Kn,e),e.point(c,d)}function y(){p.point=v,e.lineEnd()}function b(){g(),p.point=j,p.lineEnd=x}function j(t,e){m(r=t,e),o=c,i=d,a=f,s=h,u=_,p.point=m}function x(){n(c,d,l,f,h,_,o,i,r,a,s,u,Kn,e),p.lineEnd=y,y()}return p}}(t,e):function(t){return Vn({point:function(e,n){e=t(e,n),this.stream.point(e[0],e[1])}})}(t)},Xn=Vn({point:function(t,e){this.stream.point(t*f,e*f)}});function Jn(t){return Qn(function(){return t})()}function Qn(t){var e,n,r,o,i,a,s,u,l,c,h=150,_=480,p=250,v=0,g=0,m=0,y=0,b=0,j=null,x=Fn,E=null,M=Ve,S=.5,T=$n(O,S);function P(t){return[(t=i(t[0]*f,t[1]*f))[0]*h+n,r-t[1]*h]}function k(t){return(t=i.invert((t[0]-n)/h,(r-t[1])/h))&&[t[0]*d,t[1]*d]}function O(t,o){return[(t=e(t,o))[0]*h+n,r-t[1]*h]}function C(){i=Xt(o=Qt(m,y,b),e);var t=e(v,g);return n=_-t[0]*h,r=p+t[1]*h,A()}function A(){return l=c=null,P}return P.stream=function(t){return l&&c===t?l:l=Xn(x(o,T(M(c=t))))},P.clipAngle=function(t){return arguments.length?(x=+t?Gn(j=t*f,6*f):(j=null,Fn),A()):j*d},P.clipExtent=function(t){return arguments.length?(M=null==t?(E=a=s=u=null,Ve):he(E=+t[0][0],a=+t[0][1],s=+t[1][0],u=+t[1][1]),A()):null==E?null:[[E,a],[s,u]]},P.scale=function(t){return arguments.length?(h=+t,C()):h},P.translate=function(t){return arguments.length?(_=+t[0],p=+t[1],C()):[_,p]},P.center=function(t){return arguments.length?(v=t[0]%360*f,g=t[1]%360*f,C()):[v*d,g*d]},P.rotate=function(t){return arguments.length?(m=t[0]%360*f,y=t[1]%360*f,b=t.length>2?t[2]%360*f:0,C()):[m*d,y*d,b*d]},P.precision=function(t){return arguments.length?(T=$n(O,S=t*t),A()):w(S)},P.fitExtent=function(t,e){return Un(P,t,e)},P.fitSize=function(t,e){return Wn(P,t,e)},function(){return e=t.apply(this,arguments),P.invert=e.invert&&k,C()}}function Zn(t){var e=0,n=s/3,r=Qn(t),o=r(e,n);return o.parallels=function(t){return arguments.length?r(e=t[0]*f,n=t[1]*f):[e*d,n*d]},o}function tr(t,e){var n=j(t),r=(n+j(e))/2;if(h(r)<a)return function(t){var e=v(t);function n(t,n){return[t*e,j(n)/e]}return n.invert=function(t,n){return[t/e,S(n*e)]},n}(t);var o=1+n*(2*r-n),i=w(o)/r;function s(t,e){var n=w(o-2*r*j(e))/r;return[n*j(t*=r),i-n*v(t)]}return s.invert=function(t,e){var n=i-e;return[p(t,h(n))/r*x(n),S((o-(t*t+n*n)*r*r)/(2*r))]},s}var er=function(){return Zn(tr).scale(155.424).center([0,33.6442])},nr=function(){return er().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};function rr(t){return function(e,n){var r=v(e),o=v(n),i=t(r*o);return[i*o*j(e),i*j(n)]}}function or(t){return function(e,n){var r=w(e*e+n*n),o=t(r),i=j(o),a=v(o);return[p(e*i,r*a),S(r&&n*i/r)]}}var ir=rr(function(t){return w(2/(1+t))});ir.invert=or(function(t){return 2*S(t/2)});var ar=rr(function(t){return(t=M(t))&&t/j(t)});function sr(t,e){return[t,y(E((u+e)/2))]}function ur(t){var e,n,r,o=Jn(t),i=o.center,a=o.scale,u=o.translate,l=o.clipExtent,c=null;function d(){var i=s*a(),u=o(ne(o.rotate()).invert([0,0]));return l(null==c?[[u[0]-i,u[1]-i],[u[0]+i,u[1]+i]]:t===sr?[[Math.max(u[0]-i,c),e],[Math.min(u[0]+i,n),r]]:[[c,Math.max(u[1]-i,e)],[n,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=e=n=r=null:(c=+t[0][0],e=+t[0][1],n=+t[1][0],r=+t[1][1]),d()):null==c?null:[[c,e],[n,r]]},d()}function lr(t){return E((u+t)/2)}function cr(t,e){var n=v(t),r=t===e?j(t):y(n/v(e))/y(lr(e)/lr(t)),o=n*b(lr(t),r)/r;if(!r)return sr;function i(t,e){o>0?e<-u+a&&(e=-u+a):e>u-a&&(e=u-a);var n=o/b(lr(e),r);return[n*j(r*t),o-n*v(r*t)]}return i.invert=function(t,e){var n=o-e,i=x(r)*w(t*t+n*n);return[p(t,h(n))/r*x(n),2*_(b(o/i,1/r))-u]},i}function dr(t,e){return[t,e]}function fr(t,e){var n=v(t),r=t===e?j(t):(n-v(e))/(e-t),o=n/r+t;if(h(r)<a)return dr;function i(t,e){var n=o-e,i=r*t;return[n*j(i),o-n*v(i)]}return i.invert=function(t,e){var n=o-e;return[p(t,h(n))/r*x(n),o-x(r)*w(t*t+n*n)]},i}function hr(t,e){var n=v(e),r=v(t)*n;return[n*j(t)/r,j(e)/r]}function _r(t,e,n,r){return 1===t&&1===e&&0===n&&0===r?Ve:Vn({point:function(o,i){this.stream.point(o*t+n,i*e+r)}})}function pr(t,e){return[v(e)*j(t),j(e)]}function vr(t,e){var n=v(e),r=1+v(t)*n;return[n*j(t)/r,j(e)/r]}function gr(t,e){return[y(E((u+e)/2)),-t]}ar.invert=or(function(t){return t}),sr.invert=function(t,e){return[t,2*_(m(e))-u]},dr.invert=dr,hr.invert=or(_),pr.invert=or(S),vr.invert=or(function(t){return 2*_(t)}),gr.invert=function(t,e){return[-e,2*_(m(t))-u]},t.geoArea=function(t){return $.reset(),K(t,X),2*$},t.geoBounds=function(t){var e,n,r,o,i,a,s;if(G=F=-(B=z=1/0),ut=[],K(t,dt),n=ut.length){for(ut.sort(bt),e=1,r=ut[0],i=[r];e<n;++e)o=ut[e],jt(r,o[0])||jt(r,o[1])?(yt(r[0],o[1])>yt(r[0],r[1])&&(r[1]=o[1]),yt(o[0],r[1])>yt(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(a=-1/0,n=i.length-1,e=0,r=i[n];e<=n;r=o,++e)o=i[e],(s=yt(r[1],o[0]))>a&&(a=s,B=o[0],F=r[1])}return ut=lt=null,B===1/0||z===1/0?[[NaN,NaN],[NaN,NaN]]:[[B,z],[F,G]]},t.geoCentroid=function(t){xt=wt=Et=Mt=St=Tt=Pt=kt=Ot=Ct=At=0,K(t,qt);var e=Ot,n=Ct,r=At,o=e*e+n*n+r*r;return o<1e-12&&(e=Tt,n=Pt,r=kt,wt<a&&(e=Et,n=Mt,r=St),(o=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[p(n,e)*d,S(r/w(o))*d]},t.geoCircle=function(){var t,e,n=$t([0,0]),r=$t(90),o=$t(6),i={point:function(n,r){t.push(n=e(n,r)),n[0]*=d,n[1]*=d}};function a(){var a=n.apply(this,arguments),s=r.apply(this,arguments)*f,u=o.apply(this,arguments)*f;return t=[],e=Qt(-a[0]*f,-a[1]*f,0).invert,re(i,s,u,1),a={type:"Polygon",coordinates:[t]},t=e=null,a}return a.center=function(t){return arguments.length?(n="function"==typeof t?t:$t([+t[0],+t[1]]),a):n},a.radius=function(t){return arguments.length?(r="function"==typeof t?t:$t(+t),a):r},a.precision=function(t){return arguments.length?(o="function"==typeof t?t:$t(+t),a):o},a},t.geoClipExtent=function(){var t,e,n,r=0,o=0,i=960,a=500;return n={stream:function(n){return t&&e===n?t:t=he(r,o,i,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],i=+s[1][0],a=+s[1][1],t=e=null,n):[[r,o],[i,a]]}}},t.geoContains=function(t,e){return(t&&Pe.hasOwnProperty(t.type)?Pe[t.type]:Oe)(t,e)},t.geoDistance=Te,t.geoGraticule=qe,t.geoGraticule10=function(){return qe()()},t.geoInterpolate=function(t,e){var n=t[0]*f,r=t[1]*f,o=e[0]*f,i=e[1]*f,a=v(r),s=j(r),u=v(i),l=j(i),c=a*v(n),h=a*j(n),_=u*v(o),g=u*j(o),m=2*S(w(T(i-r)+a*u*T(o-n))),y=j(m),b=m?function(t){var e=j(t*=m)/y,n=j(m-t)/y,r=n*c+e*_,o=n*h+e*g,i=n*s+e*l;return[p(o,r)*d,p(i,w(r*r+o*o))*d]}:function(){return[n*d,r*d]};return b.distance=m,b},t.geoLength=Ee,t.geoPath=function(t,e){var n,r,o=4.5;function i(t){return t&&("function"==typeof o&&r.pointRadius(+o.apply(this,arguments)),K(t,n(r))),r.result()}return i.area=function(t){return K(t,n(We)),We.result()},i.measure=function(t){return K(t,n(Nn)),Nn.result()},i.bounds=function(t){return K(t,n(an)),an.result()},i.centroid=function(t){return K(t,n(vn)),vn.result()},i.projection=function(e){return arguments.length?(n=null==e?(t=null,Ve):(t=e).stream,i):t},i.context=function(t){return arguments.length?(r=null==t?(e=null,new Dn):new Sn(e=t),"function"!=typeof o&&r.pointRadius(o),i):e},i.pointRadius=function(t){return arguments.length?(o="function"==typeof t?t:(r.pointRadius(+t),+t),i):o},i.projection(t).context(e)},t.geoAlbers=nr,t.geoAlbersUsa=function(){var t,e,n,r,o,i,s=nr(),u=er().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=er().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){i=[t,e]}};function d(t){var e=t[0],a=t[1];return i=null,n.point(e,a),i||(r.point(e,a),i)||(o.point(e,a),i)}function f(){return t=e=null,d}return d.invert=function(t){var e=s.scale(),n=s.translate(),r=(t[0]-n[0])/e,o=(t[1]-n[1])/e;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?l:s).invert(t)},d.stream=function(n){return t&&e===n?t:(r=[s.stream(e=n),u.stream(n),l.stream(n)],o=r.length,t={point:function(t,e){for(var n=-1;++n<o;)r[n].point(t,e)},sphere:function(){for(var t=-1;++t<o;)r[t].sphere()},lineStart:function(){for(var t=-1;++t<o;)r[t].lineStart()},lineEnd:function(){for(var t=-1;++t<o;)r[t].lineEnd()},polygonStart:function(){for(var t=-1;++t<o;)r[t].polygonStart()},polygonEnd:function(){for(var t=-1;++t<o;)r[t].polygonEnd()}});var r,o},d.precision=function(t){return arguments.length?(s.precision(t),u.precision(t),l.precision(t),f()):s.precision()},d.scale=function(t){return arguments.length?(s.scale(t),u.scale(.35*t),l.scale(t),d.translate(s.translate())):s.scale()},d.translate=function(t){if(!arguments.length)return s.translate();var e=s.scale(),i=+t[0],d=+t[1];return n=s.translate(t).clipExtent([[i-.455*e,d-.238*e],[i+.455*e,d+.238*e]]).stream(c),r=u.translate([i-.307*e,d+.201*e]).clipExtent([[i-.425*e+a,d+.12*e+a],[i-.214*e-a,d+.234*e-a]]).stream(c),o=l.translate([i-.205*e,d+.212*e]).clipExtent([[i-.214*e+a,d+.166*e+a],[i-.115*e-a,d+.234*e-a]]).stream(c),f()},d.fitExtent=function(t,e){return Un(d,t,e)},d.fitSize=function(t,e){return Wn(d,t,e)},d.scale(1070)},t.geoAzimuthalEqualArea=function(){return Jn(ir).scale(124.75).clipAngle(179.999)},t.geoAzimuthalEqualAreaRaw=ir,t.geoAzimuthalEquidistant=function(){return Jn(ar).scale(79.4188).clipAngle(179.999)},t.geoAzimuthalEquidistantRaw=ar,t.geoConicConformal=function(){return Zn(cr).scale(109.5).parallels([30,30])},t.geoConicConformalRaw=cr,t.geoConicEqualArea=er,t.geoConicEqualAreaRaw=tr,t.geoConicEquidistant=function(){return Zn(fr).scale(131.154).center([0,13.9389])},t.geoConicEquidistantRaw=fr,t.geoEquirectangular=function(){return Jn(dr).scale(152.63)},t.geoEquirectangularRaw=dr,t.geoGnomonic=function(){return Jn(hr).scale(144.049).clipAngle(60)},t.geoGnomonicRaw=hr,t.geoIdentity=function(){var t,e,n,r,o,i,a=1,s=0,u=0,l=1,c=1,d=Ve,f=null,h=Ve;function _(){return r=o=null,i}return i={stream:function(t){return r&&o===t?r:r=d(h(o=t))},clipExtent:function(r){return arguments.length?(h=null==r?(f=t=e=n=null,Ve):he(f=+r[0][0],t=+r[0][1],e=+r[1][0],n=+r[1][1]),_()):null==f?null:[[f,t],[e,n]]},scale:function(t){return arguments.length?(d=_r((a=+t)*l,a*c,s,u),_()):a},translate:function(t){return arguments.length?(d=_r(a*l,a*c,s=+t[0],u=+t[1]),_()):[s,u]},reflectX:function(t){return arguments.length?(d=_r(a*(l=t?-1:1),a*c,s,u),_()):l<0},reflectY:function(t){return arguments.length?(d=_r(a*l,a*(c=t?-1:1),s,u),_()):c<0},fitExtent:function(t,e){return Un(i,t,e)},fitSize:function(t,e){return Wn(i,t,e)}}},t.geoProjection=Jn,t.geoProjectionMutator=Qn,t.geoMercator=function(){return ur(sr).scale(961/c)},t.geoMercatorRaw=sr,t.geoOrthographic=function(){return Jn(pr).scale(249.5).clipAngle(90+a)},t.geoOrthographicRaw=pr,t.geoStereographic=function(){return Jn(vr).scale(250).clipAngle(142)},t.geoStereographicRaw=vr,t.geoTransverseMercator=function(){var t=ur(gr),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)},t.geoTransverseMercatorRaw=gr,t.geoRotation=ne,t.geoStream=K,t.geoTransform=function(t){return{stream:Vn(t)}},Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-hexjson@1.1.0@d3-hexjson/build/d3-hexjson.js":function(t,e,n){!function(t,e){"use strict";function n(t,e,n,r){var o=0,i=0;switch(e){case"odd-r":i=t.rc%2==1?n:n/2,o=t.qc*n+i;break;case"even-r":i=t.rc%2==0?n:n/2,o=t.qc*n+i;break;case"odd-q":case"even-q":o=t.qc*r*1.5+r}return o}function r(t,e,n,r){var o=0,i=0;switch(e){case"odd-r":case"even-r":o=t.rc*r*1.5+r;break;case"odd-q":i=t.qc%2==1?n:n/2,o=t.rc*n+i;break;case"even-q":i=t.qc%2==0?n:n/2,o=t.rc*n+i}return o}t.renderHexJSON=function(t,o,i){var a=t.layout,s=[],u=0;Object.keys(t.hexes).forEach(function(e){t.hexes[e].key=e,s.push(t.hexes[e])});var l=e.max(s,function(t){return+t.q}),c=e.min(s,function(t){return+t.q}),d=e.max(s,function(t){return+t.r}),f=e.min(s,function(t){return+t.r}),h=l-c+1,_=d-f+1,p=(u="odd-r"===a||"even-r"===a?e.min([o/((h+.5)*Math.sqrt(3)),i/(1.5*(_+1/3))]):e.min([i/((_+.5)*Math.sqrt(3)),o/(1.5*(h+1/3))]))*Math.sqrt(3),v=function(t,e,n){var r=[];switch(t){case"odd-r":case"even-r":r.push({x:0,y:0-n}),r.push({x:0+.5*e,y:0-.5*n}),r.push({x:0+.5*e,y:0+.5*n}),r.push({x:0,y:0+n}),r.push({x:0-.5*e,y:0+.5*n}),r.push({x:0-.5*e,y:0-.5*n});break;case"odd-q":case"even-q":r.push({x:0-n,y:0}),r.push({x:0-.5*n,y:0-.5*e}),r.push({x:0+.5*n,y:0-.5*e}),r.push({x:0+n,y:0}),r.push({x:0+.5*n,y:0+.5*e}),r.push({x:0-.5*n,y:0+.5*e})}return r}(a,p,u),g=function(t){var e="";return t.forEach(function(t){e+=t.x+","+t.y+" "}),e.substring(0,e.length-1)}(v);return s.forEach(function(t){t.qc=t.q-c,t.rc=d-t.r,t.x=n(t,a,p,u),t.y=r(t,a,p,u),t.vertices=v,t.points=g}),s},t.getGridForHexJSON=function(t){var n={};n.layout=t.layout,n.hexes={};var r=[];Object.keys(t.hexes).forEach(function(e){r.push(t.hexes[e])});var o,i,a,s=e.max(r,function(t){return+t.q}),u=e.min(r,function(t){return+t.q}),l=e.max(r,function(t){return+t.r}),c=e.min(r,function(t){return+t.r});for(o=u;o<=s;o++)for(i=c;i<=l;i++)a="Q"+o+"R"+i,n.hexes[a]={q:o,r:i};return n},t.getBoundaryDotsForHexJSON=function(t,o,i,a){var s=[],u=t.layout;Object.keys(t.hexes).forEach(function(e){s.push(t.hexes[e])});var l,c=e.max(s,function(t){return+t.q}),d=e.min(s,function(t){return+t.q}),f=e.max(s,function(t){return+t.r}),h=e.min(s,function(t){return+t.r}),_=c-d+1,p=f-h+1,v=(l="odd-r"===u||"even-r"===u?e.min([o/((_+.5)*Math.sqrt(3)),i/(1.5*(p+1/3))]):e.min([i/((p+.5)*Math.sqrt(3)),o/(1.5*(_+1/3))]))*Math.sqrt(3),g=[],m=l*l*4,y=s.length;if(y>1){s.forEach(function(t){t.qc=t.q-d,t.rc=f-t.r,t.x=n(t,u,v,l),t.y=r(t,u,v,l)});for(var b=0;b<y-1;b++)for(var j=b+1;j<y;j++){var x=s[b],w=s[j];if(x[a]!==w[a]&&Math.abs(x.q-w.q)<=1&&Math.abs(x.r-w.r)<=1&&(x.x-w.x)*(x.x-w.x)+(x.y-w.y)*(x.y-w.y)<m){var E={};E.x=w.x+(x.x-w.x)/2,E.y=w.y+(x.y-w.y)/2;var M={},S=4*Math.sqrt(3);M.dx=(x.y-w.y)/S,M.dy=-(x.x-w.x)/S,g.push({x:E.x-2*M.dx,y:E.y-2*M.dy}),g.push({x:E.x-M.dx,y:E.y-M.dy}),g.push({x:E.x,y:E.y}),g.push({x:E.x+M.dx,y:E.y+M.dy}),g.push({x:E.x+2*M.dx,y:E.y+2*M.dy})}}}return g},t.getBoundarySegmentsForHexJSON=function(t,o,i,a){var s=[],u=t.layout;Object.keys(t.hexes).forEach(function(e){s.push(t.hexes[e])});var l,c=e.max(s,function(t){return+t.q}),d=e.min(s,function(t){return+t.q}),f=e.max(s,function(t){return+t.r}),h=e.min(s,function(t){return+t.r}),_=c-d+1,p=f-h+1,v=(l="odd-r"===u||"even-r"===u?e.min([o/((_+.5)*Math.sqrt(3)),i/(1.5*(p+1/3))]):e.min([i/((p+.5)*Math.sqrt(3)),o/(1.5*(_+1/3))]))*Math.sqrt(3),g=[],m=l*l*4,y=s.length;if(y>1){s.forEach(function(t){t.qc=t.q-d,t.rc=f-t.r,t.x=n(t,u,v,l),t.y=r(t,u,v,l)});for(var b=0;b<y-1;b++)for(var j=b+1;j<y;j++){var x=s[b],w=s[j];if(x[a]!==w[a]&&Math.abs(x.q-w.q)<=1&&Math.abs(x.r-w.r)<=1&&(x.x-w.x)*(x.x-w.x)+(x.y-w.y)*(x.y-w.y)<m){var E={};E.x=w.x+(x.x-w.x)/2,E.y=w.y+(x.y-w.y)/2;var M={},S=1;x[a]<w[a]&&(S=-1);var T=2*Math.sqrt(3)*S;M.dx=(x.y-w.y)/T,M.dy=-(x.x-w.x)/T,g.push({x1:E.x-M.dx,y1:E.y-M.dy,x2:E.x+M.dx,y2:E.y+M.dy})}}}return g},Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"))},"./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js":function(t,e,n){!function(t){"use strict";function e(t,e){return t.parent===e.parent?1:2}function n(t,e){return t+e.x}function r(t,e){return Math.max(t,e.y)}function o(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function i(t,e){var n,r,o,i,s,c=new l(t),d=+t.value&&(c.value=t.value),f=[c];for(null==e&&(e=a);n=f.pop();)if(d&&(n.value=+n.data.value),(o=e(n.data))&&(s=o.length))for(n.children=new Array(s),i=s-1;i>=0;--i)f.push(r=n.children[i]=new l(o[i])),r.parent=n,r.depth=n.depth+1;return c.eachBefore(u)}function a(t){return t.children}function s(t){t.data=t.data.data}function u(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function l(t){this.data=t,this.depth=this.height=0,this.parent=null}l.prototype=i.prototype={constructor:l,count:function(){return this.eachAfter(o)},each:function(t){var e,n,r,o,i=this,a=[i];do{for(e=a.reverse(),a=[];i=e.pop();)if(t(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r])}while(a.length);return this},eachAfter:function(t){for(var e,n,r,o=this,i=[o],a=[];o=i.pop();)if(a.push(o),e=o.children)for(n=0,r=e.length;n<r;++n)i.push(e[n]);for(;o=a.pop();)t(o);return this},eachBefore:function(t){for(var e,n,r=this,o=[r];r=o.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)o.push(e[n]);return this},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,o=r&&r.length;--o>=0;)n+=r[o].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),o=null;for(t=n.pop(),e=r.pop();t===e;)o=t,t=n.pop(),e=r.pop();return o}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var o=r.length;t!==n;)r.splice(o,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each(function(e){t.push(e)}),t},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return i(this).eachBefore(s)}};var c=Array.prototype.slice;function d(t){for(var e,n,r=0,o=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(c.call(t))).length,i=[];r<o;)e=t[r],n&&_(n,e)?++r:(n=v(i=f(i,e)),r=0);return n}function f(t,e){var n,r;if(p(e,t))return[e];for(n=0;n<t.length;++n)if(h(e,t[n])&&p(g(t[n],e),t))return[t[n],e];for(n=0;n<t.length-1;++n)for(r=n+1;r<t.length;++r)if(h(g(t[n],t[r]),e)&&h(g(t[n],e),t[r])&&h(g(t[r],e),t[n])&&p(m(t[n],t[r],e),t))return[t[n],t[r],e];throw new Error}function h(t,e){var n=t.r-e.r,r=e.x-t.x,o=e.y-t.y;return n<0||n*n<r*r+o*o}function _(t,e){var n=t.r-e.r+1e-6,r=e.x-t.x,o=e.y-t.y;return n>0&&n*n>r*r+o*o}function p(t,e){for(var n=0;n<e.length;++n)if(!_(t,e[n]))return!1;return!0}function v(t){switch(t.length){case 1:return{x:(e=t[0]).x,y:e.y,r:e.r};case 2:return g(t[0],t[1]);case 3:return m(t[0],t[1],t[2])}var e}function g(t,e){var n=t.x,r=t.y,o=t.r,i=e.x,a=e.y,s=e.r,u=i-n,l=a-r,c=s-o,d=Math.sqrt(u*u+l*l);return{x:(n+i+u/d*c)/2,y:(r+a+l/d*c)/2,r:(d+o+s)/2}}function m(t,e,n){var r=t.x,o=t.y,i=t.r,a=e.x,s=e.y,u=e.r,l=n.x,c=n.y,d=n.r,f=r-a,h=r-l,_=o-s,p=o-c,v=u-i,g=d-i,m=r*r+o*o-i*i,y=m-a*a-s*s+u*u,b=m-l*l-c*c+d*d,j=h*_-f*p,x=(_*b-p*y)/(2*j)-r,w=(p*v-_*g)/j,E=(h*y-f*b)/(2*j)-o,M=(f*g-h*v)/j,S=w*w+M*M-1,T=2*(i+x*w+E*M),P=x*x+E*E-i*i,k=-(S?(T+Math.sqrt(T*T-4*S*P))/(2*S):P/T);return{x:r+x+w*k,y:o+E+M*k,r:k}}function y(t,e,n){var r,o,i,a,s=t.x-e.x,u=t.y-e.y,l=s*s+u*u;l?(o=e.r+n.r,o*=o,a=t.r+n.r,o>(a*=a)?(r=(l+a-o)/(2*l),i=Math.sqrt(Math.max(0,a/l-r*r)),n.x=t.x-r*s-i*u,n.y=t.y-r*u+i*s):(r=(l+o-a)/(2*l),i=Math.sqrt(Math.max(0,o/l-r*r)),n.x=e.x+r*s-i*u,n.y=e.y+r*u+i*s)):(n.x=e.x+n.r,n.y=e.y)}function b(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,o=e.y-t.y;return n>0&&n*n>r*r+o*o}function j(t){var e=t._,n=t.next._,r=e.r+n.r,o=(e.x*n.r+n.x*e.r)/r,i=(e.y*n.r+n.y*e.r)/r;return o*o+i*i}function x(t){this._=t,this.next=null,this.previous=null}function w(t){if(!(o=t.length))return 0;var e,n,r,o,i,a,s,u,l,c,f;if((e=t[0]).x=0,e.y=0,!(o>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(o>2))return e.r+n.r;y(n,e,r=t[2]),e=new x(e),n=new x(n),r=new x(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s<o;++s){y(e._,n._,r=t[s]),r=new x(r),u=n.next,l=e.previous,c=n._.r,f=e._.r;do{if(c<=f){if(b(u._,r._)){n=u,e.next=n,n.previous=e,--s;continue t}c+=u._.r,u=u.next}else{if(b(l._,r._)){(e=l).next=n,n.previous=e,--s;continue t}f+=l._.r,l=l.previous}}while(u!==l.next);for(r.previous=e,r.next=n,e.next=n.previous=n=r,i=j(e);(r=r.next)!==n;)(a=j(r))<i&&(e=r,i=a);n=e.next}for(e=[n._],r=n;(r=r.next)!==n;)e.push(r._);for(r=d(e),s=0;s<o;++s)(e=t[s]).x-=r.x,e.y-=r.y;return r.r}function E(t){if("function"!=typeof t)throw new Error;return t}function M(){return 0}function S(t){return function(){return t}}function T(t){return Math.sqrt(t.value)}function P(t){return function(e){e.children||(e.r=Math.max(0,+t(e)||0))}}function k(t,e){return function(n){if(r=n.children){var r,o,i,a=r.length,s=t(n)*e||0;if(s)for(o=0;o<a;++o)r[o].r+=s;if(i=w(r),s)for(o=0;o<a;++o)r[o].r-=s;n.r=i+s}}}function O(t){return function(e){var n=e.parent;e.r*=t,n&&(e.x=n.x+t*e.x,e.y=n.y+t*e.y)}}function C(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function A(t,e,n,r,o){for(var i,a=t.children,s=-1,u=a.length,l=t.value&&(r-e)/t.value;++s<u;)(i=a[s]).y0=n,i.y1=o,i.x0=e,i.x1=e+=i.value*l}var N="$",I={depth:-1},R={};function D(t){return t.id}function L(t){return t.parentId}function q(t,e){return t.parent===e.parent?1:2}function B(t){var e=t.children;return e?e[0]:t.t}function z(t){var e=t.children;return e?e[e.length-1]:t.t}function F(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function G(t,e,n){return t.a.parent===e.parent?t.a:n}function V(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}function H(t,e,n,r,o){for(var i,a=t.children,s=-1,u=a.length,l=t.value&&(o-n)/t.value;++s<u;)(i=a[s]).x0=e,i.x1=r,i.y0=n,i.y1=n+=i.value*l}V.prototype=Object.create(l.prototype);var U=(1+Math.sqrt(5))/2;function W(t,e,n,r,o,i){for(var a,s,u,l,c,d,f,h,_,p,v,g=[],m=e.children,y=0,b=0,j=m.length,x=e.value;y<j;){u=o-n,l=i-r;do{c=m[b++].value}while(!c&&b<j);for(d=f=c,p=Math.max(l/u,u/l)/(x*t),v=c*c*p,_=Math.max(f/v,v/d);b<j;++b){if(c+=s=m[b].value,s<d&&(d=s),s>f&&(f=s),v=c*c*p,(h=Math.max(f/v,v/d))>_){c-=s;break}_=h}g.push(a={value:c,dice:u<l,children:m.slice(y,b)}),a.dice?A(a,n,r,o,x?r+=l*c/x:i):H(a,n,r,x?n+=u*c/x:o,i),x-=c,y=b}return g}var K=function t(e){function n(t,n,r,o,i){W(e,t,n,r,o,i)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(U),Y=function t(e){function n(t,n,r,o,i){if((a=t._squarify)&&a.ratio===e)for(var a,s,u,l,c,d=-1,f=a.length,h=t.value;++d<f;){for(s=a[d],u=s.children,l=s.value=0,c=u.length;l<c;++l)s.value+=u[l].value;s.dice?A(s,n,r,o,r+=(i-r)*s.value/h):H(s,n,r,n+=(o-n)*s.value/h,i),h-=s.value}else t._squarify=a=W(e,t,n,r,o,i),a.ratio=e}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}(U);t.cluster=function(){var t=e,o=1,i=1,a=!1;function s(e){var s,u=0;e.eachAfter(function(e){var o=e.children;o?(e.x=function(t){return t.reduce(n,0)/t.length}(o),e.y=function(t){return 1+t.reduce(r,0)}(o)):(e.x=s?u+=t(e,s):0,e.y=0,s=e)});var l=function(t){for(var e;e=t.children;)t=e[0];return t}(e),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(e),d=l.x-t(l,c)/2,f=c.x+t(c,l)/2;return e.eachAfter(a?function(t){t.x=(t.x-e.x)*o,t.y=(e.y-t.y)*i}:function(t){t.x=(t.x-d)/(f-d)*o,t.y=(1-(e.y?t.y/e.y:1))*i})}return s.separation=function(e){return arguments.length?(t=e,s):t},s.size=function(t){return arguments.length?(a=!1,o=+t[0],i=+t[1],s):a?null:[o,i]},s.nodeSize=function(t){return arguments.length?(a=!0,o=+t[0],i=+t[1],s):a?[o,i]:null},s},t.hierarchy=i,t.pack=function(){var t=null,e=1,n=1,r=M;function o(o){return o.x=e/2,o.y=n/2,t?o.eachBefore(P(t)).eachAfter(k(r,.5)).eachBefore(O(1)):o.eachBefore(P(T)).eachAfter(k(M,1)).eachAfter(k(r,o.r/Math.min(e,n))).eachBefore(O(Math.min(e,n)/(2*o.r))),o}return o.radius=function(e){return arguments.length?(t=null==(n=e)?null:E(n),o):t;var n},o.size=function(t){return arguments.length?(e=+t[0],n=+t[1],o):[e,n]},o.padding=function(t){return arguments.length?(r="function"==typeof t?t:S(+t),o):r},o},t.packEnclose=d,t.packSiblings=function(t){return w(t),t},t.partition=function(){var t=1,e=1,n=0,r=!1;function o(o){var i=o.height+1;return o.x0=o.y0=n,o.x1=t,o.y1=e/i,o.eachBefore(function(t,e){return function(r){r.children&&A(r,r.x0,t*(r.depth+1)/e,r.x1,t*(r.depth+2)/e);var o=r.x0,i=r.y0,a=r.x1-n,s=r.y1-n;a<o&&(o=a=(o+a)/2),s<i&&(i=s=(i+s)/2),r.x0=o,r.y0=i,r.x1=a,r.y1=s}}(e,i)),r&&o.eachBefore(C),o}return o.round=function(t){return arguments.length?(r=!!t,o):r},o.size=function(n){return arguments.length?(t=+n[0],e=+n[1],o):[t,e]},o.padding=function(t){return arguments.length?(n=+t,o):n},o},t.stratify=function(){var t=D,e=L;function n(n){var r,o,i,a,s,c,d,f=n.length,h=new Array(f),_={};for(o=0;o<f;++o)r=n[o],s=h[o]=new l(r),null!=(c=t(r,o,n))&&(c+="")&&(d=N+(s.id=c),_[d]=d in _?R:s);for(o=0;o<f;++o)if(s=h[o],null!=(c=e(n[o],o,n))&&(c+="")){if(!(a=_[N+c]))throw new Error("missing: "+c);if(a===R)throw new Error("ambiguous: "+c);a.children?a.children.push(s):a.children=[s],s.parent=a}else{if(i)throw new Error("multiple roots");i=s}if(!i)throw new Error("no root");if(i.parent=I,i.eachBefore(function(t){t.depth=t.parent.depth+1,--f}).eachBefore(u),i.parent=null,f>0)throw new Error("cycle");return i}return n.id=function(e){return arguments.length?(t=E(e),n):t},n.parentId=function(t){return arguments.length?(e=E(t),n):e},n},t.tree=function(){var t=q,e=1,n=1,r=null;function o(o){var u=function(t){for(var e,n,r,o,i,a=new V(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(i=r.length),o=i-1;o>=0;--o)s.push(n=e.children[o]=new V(r[o],o)),n.parent=e;return(a.parent=new V(null,0)).children=[a],a}(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.x<l.x&&(l=t),t.x>c.x&&(c=t),t.depth>d.depth&&(d=t)});var f=l===c?1:t(l,c)/2,h=f-l.x,_=e/(c.x+f+h),p=n/(d.depth||1);o.eachBefore(function(t){t.x=(t.x+h)*_,t.y=t.depth*p})}return o}function i(e){var n=e.children,r=e.parent.children,o=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,o=t.children,i=o.length;--i>=0;)(e=o[i]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var i=(n[0].z+n[n.length-1].z)/2;o?(e.z=o.z+t(e._,o._),e.m=e.z-i):e.z=i}else o&&(e.z=o.z+t(e._,o._));e.parent.A=function(e,n,r){if(n){for(var o,i=e,a=e,s=n,u=i.parent.children[0],l=i.m,c=a.m,d=s.m,f=u.m;s=z(s),i=B(i),s&&i;)u=B(u),(a=z(a)).a=e,(o=s.z+d-i.z-l+t(s._,i._))>0&&(F(G(s,e,r),e,o),l+=o,c+=o),d+=s.m,l+=i.m,f+=u.m,c+=a.m;s&&!z(a)&&(a.t=s,a.m+=d-c),i&&!B(u)&&(u.t=i,u.m+=l-f,r=e)}return r}(e,o,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return o.separation=function(e){return arguments.length?(t=e,o):t},o.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],o):r?null:[e,n]},o.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],o):r?[e,n]:null},o},t.treemap=function(){var t=K,e=!1,n=1,r=1,o=[0],i=M,a=M,s=M,u=M,l=M;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(d),o=[0],e&&t.eachBefore(C),t}function d(e){var n=o[e.depth],r=e.x0+n,c=e.y0+n,d=e.x1-n,f=e.y1-n;d<r&&(r=d=(r+d)/2),f<c&&(c=f=(c+f)/2),e.x0=r,e.y0=c,e.x1=d,e.y1=f,e.children&&(n=o[e.depth+1]=i(e)/2,r+=l(e)-n,c+=a(e)-n,d-=s(e)-n,f-=u(e)-n,d<r&&(r=d=(r+d)/2),f<c&&(c=f=(c+f)/2),t(e,r,c,d,f))}return c.round=function(t){return arguments.length?(e=!!t,c):e},c.size=function(t){return arguments.length?(n=+t[0],r=+t[1],c):[n,r]},c.tile=function(e){return arguments.length?(t=E(e),c):t},c.padding=function(t){return arguments.length?c.paddingInner(t).paddingOuter(t):c.paddingInner()},c.paddingInner=function(t){return arguments.length?(i="function"==typeof t?t:S(+t),c):i},c.paddingOuter=function(t){return arguments.length?c.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):c.paddingTop()},c.paddingTop=function(t){return arguments.length?(a="function"==typeof t?t:S(+t),c):a},c.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:S(+t),c):s},c.paddingBottom=function(t){return arguments.length?(u="function"==typeof t?t:S(+t),c):u},c.paddingLeft=function(t){return arguments.length?(l="function"==typeof t?t:S(+t),c):l},c},t.treemapBinary=function(t,e,n,r,o){var i,a,s=t.children,u=s.length,l=new Array(u+1);for(l[0]=a=i=0;i<u;++i)l[i+1]=a+=s[i].value;!function t(e,n,r,o,i,a,u){if(e>=n-1){var c=s[e];return c.x0=o,c.y0=i,c.x1=a,void(c.y1=u)}for(var d=l[e],f=r/2+d,h=e+1,_=n-1;h<_;){var p=h+_>>>1;l[p]<f?h=p+1:_=p}f-l[h-1]<l[h]-f&&e+1<h&&--h;var v=l[h]-d,g=r-v;if(a-o>u-i){var m=(o*g+a*v)/r;t(e,h,v,o,i,m,u),t(h,n,g,m,i,a,u)}else{var y=(i*g+u*v)/r;t(e,h,v,o,i,a,y),t(h,n,g,o,y,a,u)}}(0,u,t.value,e,n,r,o)},t.treemapDice=A,t.treemapResquarify=Y,t.treemapSlice=H,t.treemapSliceDice=function(t,e,n,r,o){(1&t.depth?H:A)(t,e,n,r,o)},t.treemapSquarify=K,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js":function(t,e,n){!function(t){"use strict";var e=Math.PI,n=2*e,r=n-1e-6;function o(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function i(){return new o}o.prototype=i.prototype={constructor:o,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,o,i){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,n,r,o,i){t=+t,n=+n,r=+r,o=+o,i=+i;var a=this._x1,s=this._y1,u=r-t,l=o-n,c=a-t,d=s-n,f=c*c+d*d;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(f>1e-6)if(Math.abs(d*u-l*c)>1e-6&&i){var h=r-a,_=o-s,p=u*u+l*l,v=h*h+_*_,g=Math.sqrt(p),m=Math.sqrt(f),y=i*Math.tan((e-Math.acos((p+f-v)/(2*g*m)))/2),b=y/m,j=y/g;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(n+b*d)),this._+="A"+i+","+i+",0,0,"+ +(d*h>c*_)+","+(this._x1=t+j*u)+","+(this._y1=n+j*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,o,i,a,s,u){t=+t,o=+o,u=!!u;var l=(i=+i)*Math.cos(a),c=i*Math.sin(a),d=t+l,f=o+c,h=1^u,_=u?a-s:s-a;if(i<0)throw new Error("negative radius: "+i);null===this._x1?this._+="M"+d+","+f:(Math.abs(this._x1-d)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+d+","+f),i&&(_<0&&(_=_%n+n),_>r?this._+="A"+i+","+i+",0,1,"+h+","+(t-l)+","+(o-c)+"A"+i+","+i+",0,1,"+h+","+(this._x1=d)+","+(this._y1=f):_>1e-6&&(this._+="A"+i+","+i+",0,"+ +(_>=e)+","+h+","+(this._x1=t+i*Math.cos(s))+","+(this._y1=o+i*Math.sin(s))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.path=i,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js":function(t,e,n){var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js");!function(t,e,n,o){"use strict";function i(t){return t.target.depth}function a(t,e){return t.sourceLinks.length?t.depth:e-1}function s(t){return function(){return t}}function u(t,e){return c(t.source,e.source)||t.index-e.index}function l(t,e){return c(t.target,e.target)||t.index-e.index}function c(t,e){return t.y0-e.y0}function d(t){return t.value}function f(t){return t.index}function h(t){return t.nodes}function _(t){return t.links}function p(t,e){var n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function v(t){return[t.source.x1,t.y0]}function g(t){return[t.target.x0,t.y1]}t.sankey=function(){var t,o=0,i=0,v=1,g=1,m=24,y=8,b=f,j=a,x=h,w=_,E=6;function M(){var a={nodes:x.apply(null,arguments),links:w.apply(null,arguments)};return function(t){t.nodes.forEach(function(t,e){t.index=e,t.sourceLinks=[],t.targetLinks=[]});var e=n.map(t.nodes,b);t.links.forEach(function(t,n){t.index=n;var r=t.source,o=t.target;"object"!=typeof r&&(r=t.source=p(e,r)),"object"!=typeof o&&(o=t.target=p(e,o)),r.sourceLinks.push(t),o.targetLinks.push(t)})}(a),function(t){t.nodes.forEach(function(t){t.value=Math.max(e.sum(t.sourceLinks,d),e.sum(t.targetLinks,d))})}(a),function(t){var e,n,r,i=t.nodes.length;for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[]){if(r>i)throw new Error("circular link");e.forEach(function(t){t.depth=r,t.sourceLinks.forEach(function(t){n.indexOf(t.target)<0&&n.push(t.target)})})}for(e=t.nodes,n=[],r=0;e.length;++r,e=n,n=[]){if(r>i)throw new Error("circular link");e.forEach(function(t){t.height=r,t.targetLinks.forEach(function(t){n.indexOf(t.source)<0&&n.push(t.source)})})}var a=(v-o-m)/(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))))*a)+m})}(a),function(o){var a,s=n.nest().key(function(t){return t.x0}).sortKeys(e.ascending).entries(o.nodes).map(function(t){return t.values});a=e.min(s,function(t){return(g-i-(t.length-1)*y)/e.sum(t,d)}),s.forEach(function(e){null!=t&&e.sort(t),e.forEach(function(t,e){t.y1=(t.y0=e)+t.value*a})}),o.links.forEach(function(t){t.width=t.value*a}),v();for(var f=.9,h=E;h>0;--h,f*=.9)p(f),v(),_(f),v();function _(t){s.forEach(function(e){e.forEach(function(e){var n,o,i,a,s=e.y0;try{for(var u=r.__values(e.sourceLinks.sort(l)),c=u.next();!c.done;c=u.next()){var d=c.value,f=d.target,h=d.width,_=d.value;if(_>0){var p=0;try{for(var v=(i=void 0,r.__values(f.targetLinks)),g=v.next();!g.done;g=v.next()){var m=g.value,b=m.source,j=m.width;if(b===e)break;p+=j+y/2}}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}p=(s-p-f.y0)*t*(_/Math.min(e.value,f.value)),f.y0+=p,f.y1+=p}s+=h+y/2}}catch(t){n={error:t}}finally{try{c&&!c.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}})})}function p(t){s.slice().reverse().forEach(function(e){e.forEach(function(e){var n,o,i,a,s=e.y0;try{for(var l=r.__values(e.targetLinks.sort(u)),c=l.next();!c.done;c=l.next()){var d=c.value,f=d.source,h=d.width,_=d.value;if(_>0){var p=0;try{for(var v=(i=void 0,r.__values(f.sourceLinks)),g=v.next();!g.done;g=v.next()){var m=g.value,b=m.target,j=m.width;if(b===e)break;p+=j+y/2}}catch(t){i={error:t}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}p=(s-p-f.y0)*t*(_/Math.min(e.value,f.value)),f.y0+=p,f.y1+=p}s+=h+y/2}}catch(t){n={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}})})}function v(){s.forEach(function(e){var n,r,o,a=i,s=e.length;for(void 0===t&&e.sort(c),o=0;o<s;++o)n=e[o],(r=a-n.y0)>0&&(n.y0+=r,n.y1+=r),a=n.y1+y;if((r=a-y-g)>0)for(a=n.y0-=r,n.y1-=r,o=s-2;o>=0;--o)n=e[o],(r=n.y1+y-a)>0&&(n.y0-=r,n.y1-=r),a=n.y0})}}(a),S(a),a}function S(t){t.nodes.forEach(function(t){t.sourceLinks.sort(l),t.targetLinks.sort(u)}),t.nodes.forEach(function(t){var e=t.y0,n=e;t.sourceLinks.forEach(function(t){t.y0=e+t.width/2,e+=t.width}),t.targetLinks.forEach(function(t){t.y1=n+t.width/2,n+=t.width})})}return M.update=function(t){return S(t),t},M.nodeId=function(t){return arguments.length?(b="function"==typeof t?t:s(t),M):b},M.nodeAlign=function(t){return arguments.length?(j="function"==typeof t?t:s(t),M):j},M.nodeSort=function(e){return arguments.length?(t=e,M):t},M.nodeWidth=function(t){return arguments.length?(m=+t,M):m},M.nodePadding=function(t){return arguments.length?(y=+t,M):y},M.nodes=function(t){return arguments.length?(x="function"==typeof t?t:s(t),M):x},M.links=function(t){return arguments.length?(w="function"==typeof t?t:s(t),M):w},M.size=function(t){return arguments.length?(o=i=0,v=+t[0],g=+t[1],M):[v-o,g-i]},M.extent=function(t){return arguments.length?(o=+t[0][0],v=+t[1][0],i=+t[0][1],g=+t[1][1],M):[[o,i],[v,g]]},M.iterations=function(t){return arguments.length?(E=+t,M):E},M},t.sankeyCenter=function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?e.min(t.sourceLinks,i)-1:0},t.sankeyLeft=function(t){return t.depth},t.sankeyRight=function(t,e){return e-1-t.height},t.sankeyJustify=a,t.sankeyLinkHorizontal=function(){return o.linkHorizontal().source(v).target(g)},Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-array@1.2.4@d3-array/dist/d3-array.js"),n("./node_modules/_d3-collection@1.0.7@d3-collection/dist/d3-collection.js"),n("./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":function(t,e,n){!function(t,e){"use strict";function n(t){return function(){return t}}var r=Math.abs,o=Math.atan2,i=Math.cos,a=Math.max,s=Math.min,u=Math.sin,l=Math.sqrt,c=1e-12,d=Math.PI,f=d/2,h=2*d;function _(t){return t>=1?f:t<=-1?-f:Math.asin(t)}function p(t){return t.innerRadius}function v(t){return t.outerRadius}function g(t){return t.startAngle}function m(t){return t.endAngle}function y(t){return t&&t.padAngle}function b(t,e,n,r,o,i,s){var u=t-n,c=e-r,d=(s?i:-i)/l(u*u+c*c),f=d*c,h=-d*u,_=t+f,p=e+h,v=n+f,g=r+h,m=(_+v)/2,y=(p+g)/2,b=v-_,j=g-p,x=b*b+j*j,w=o-i,E=_*g-v*p,M=(j<0?-1:1)*l(a(0,w*w*x-E*E)),S=(E*j-b*M)/x,T=(-E*b-j*M)/x,P=(E*j+b*M)/x,k=(-E*b+j*M)/x,O=S-m,C=T-y,A=P-m,N=k-y;return O*O+C*C>A*A+N*N&&(S=P,T=k),{cx:S,cy:T,x01:-f,y01:-h,x11:S*(o/w-1),y11:T*(o/w-1)}}function j(t){this._context=t}function x(t){return new j(t)}function w(t){return t[0]}function E(t){return t[1]}function M(){var t=w,r=E,o=n(!0),i=null,a=x,s=null;function u(n){var u,l,c,d=n.length,f=!1;for(null==i&&(s=a(c=e.path())),u=0;u<=d;++u)!(u<d&&o(l=n[u],u,n))===f&&((f=!f)?s.lineStart():s.lineEnd()),f&&s.point(+t(l,u,n),+r(l,u,n));if(c)return s=null,c+""||null}return u.x=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),u):t},u.y=function(t){return arguments.length?(r="function"==typeof t?t:n(+t),u):r},u.defined=function(t){return arguments.length?(o="function"==typeof t?t:n(!!t),u):o},u.curve=function(t){return arguments.length?(a=t,null!=i&&(s=a(i)),u):a},u.context=function(t){return arguments.length?(null==t?i=s=null:s=a(i=t),u):i},u}function S(){var t=w,r=null,o=n(0),i=E,a=n(!0),s=null,u=x,l=null;function c(n){var c,d,f,h,_,p=n.length,v=!1,g=new Array(p),m=new Array(p);for(null==s&&(l=u(_=e.path())),c=0;c<=p;++c){if(!(c<p&&a(h=n[c],c,n))===v)if(v=!v)d=c,l.areaStart(),l.lineStart();else{for(l.lineEnd(),l.lineStart(),f=c-1;f>=d;--f)l.point(g[f],m[f]);l.lineEnd(),l.areaEnd()}v&&(g[c]=+t(h,c,n),m[c]=+o(h,c,n),l.point(r?+r(h,c,n):g[c],i?+i(h,c,n):m[c]))}if(_)return l=null,_+""||null}function d(){return M().defined(a).curve(u).context(s)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),r=null,c):t},c.x0=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),c):t},c.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:n(+t),c):r},c.y=function(t){return arguments.length?(o="function"==typeof t?t:n(+t),i=null,c):o},c.y0=function(t){return arguments.length?(o="function"==typeof t?t:n(+t),c):o},c.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:n(+t),c):i},c.lineX0=c.lineY0=function(){return d().x(t).y(o)},c.lineY1=function(){return d().x(t).y(i)},c.lineX1=function(){return d().x(r).y(o)},c.defined=function(t){return arguments.length?(a="function"==typeof t?t:n(!!t),c):a},c.curve=function(t){return arguments.length?(u=t,null!=s&&(l=u(s)),c):u},c.context=function(t){return arguments.length?(null==t?s=l=null:l=u(s=t),c):s},c}function T(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function P(t){return t}j.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var k=C(x);function O(t){this._curve=t}function C(t){function e(e){return new O(t(e))}return e._curve=t,e}function A(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(C(t)):e()._curve},t}function N(){return A(M().curve(k))}function I(){var t=S().curve(k),e=t.curve,n=t.lineX0,r=t.lineX1,o=t.lineY0,i=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return A(n())},delete t.lineX0,t.lineEndAngle=function(){return A(r())},delete t.lineX1,t.lineInnerRadius=function(){return A(o())},delete t.lineY0,t.lineOuterRadius=function(){return A(i())},delete t.lineY1,t.curve=function(t){return arguments.length?e(C(t)):e()._curve},t}function R(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}O.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var D=Array.prototype.slice;function L(t){return t.source}function q(t){return t.target}function B(t){var r=L,o=q,i=w,a=E,s=null;function u(){var n,u=D.call(arguments),l=r.apply(this,u),c=o.apply(this,u);if(s||(s=n=e.path()),t(s,+i.apply(this,(u[0]=l,u)),+a.apply(this,u),+i.apply(this,(u[0]=c,u)),+a.apply(this,u)),n)return s=null,n+""||null}return u.source=function(t){return arguments.length?(r=t,u):r},u.target=function(t){return arguments.length?(o=t,u):o},u.x=function(t){return arguments.length?(i="function"==typeof t?t:n(+t),u):i},u.y=function(t){return arguments.length?(a="function"==typeof t?t:n(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function z(t,e,n,r,o){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,o,r,o)}function F(t,e,n,r,o){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+o)/2,r,n,r,o)}function G(t,e,n,r,o){var i=R(e,n),a=R(e,n=(n+o)/2),s=R(r,n),u=R(r,o);t.moveTo(i[0],i[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],u[0],u[1])}var V={draw:function(t,e){var n=Math.sqrt(e/d);t.moveTo(n,0),t.arc(0,0,n,0,h)}},H={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},U=Math.sqrt(1/3),W=2*U,K={draw:function(t,e){var n=Math.sqrt(e/W),r=n*U;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Y=Math.sin(d/10)/Math.sin(7*d/10),$=Math.sin(h/10)*Y,X=-Math.cos(h/10)*Y,J={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=$*n,o=X*n;t.moveTo(0,-n),t.lineTo(r,o);for(var i=1;i<5;++i){var a=h*i/5,s=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-s*n),t.lineTo(s*r-u*o,u*r+s*o)}t.closePath()}},Q={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},Z=Math.sqrt(3),tt={draw:function(t,e){var n=-Math.sqrt(e/(3*Z));t.moveTo(0,2*n),t.lineTo(-Z*n,-n),t.lineTo(Z*n,-n),t.closePath()}},et=-.5,nt=Math.sqrt(3)/2,rt=1/Math.sqrt(12),ot=3*(rt/2+1),it={draw:function(t,e){var n=Math.sqrt(e/ot),r=n/2,o=n*rt,i=r,a=n*rt+n,s=-i,u=a;t.moveTo(r,o),t.lineTo(i,a),t.lineTo(s,u),t.lineTo(et*r-nt*o,nt*r+et*o),t.lineTo(et*i-nt*a,nt*i+et*a),t.lineTo(et*s-nt*u,nt*s+et*u),t.lineTo(et*r+nt*o,et*o-nt*r),t.lineTo(et*i+nt*a,et*a-nt*i),t.lineTo(et*s+nt*u,et*u-nt*s),t.closePath()}},at=[V,H,K,Q,J,tt,it];function st(){}function ut(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function lt(t){this._context=t}function ct(t){this._context=t}function dt(t){this._context=t}function ft(t,e){this._basis=new lt(t),this._beta=e}lt.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:ut(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ut(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ct.prototype={areaStart:st,areaEnd:st,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)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:ut(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ut(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ft.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,o=t[0],i=e[0],a=t[n]-o,s=e[n]-i,u=-1;++u<=n;)r=u/n,this._basis.point(this._beta*t[u]+(1-this._beta)*(o+r*a),this._beta*e[u]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var ht=function t(e){function n(t){return 1===e?new lt(t):new ft(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function _t(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function pt(t,e){this._context=t,this._k=(1-e)/6}pt.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:_t(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:_t(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var vt=function t(e){function n(t){return new pt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function gt(t,e){this._context=t,this._k=(1-e)/6}gt.prototype={areaStart:st,areaEnd:st,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)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:_t(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var mt=function t(e){function n(t){return new gt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function yt(t,e){this._context=t,this._k=(1-e)/6}yt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:_t(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var bt=function t(e){function n(t){return new yt(t,e)}return n.tension=function(e){return t(+e)},n}(0);function jt(t,e,n){var r=t._x1,o=t._y1,i=t._x2,a=t._y2;if(t._l01_a>c){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,o=(o*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>c){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,d=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*l+t._x1*t._l23_2a-e*t._l12_2a)/d,a=(a*l+t._y1*t._l23_2a-n*t._l12_2a)/d}t._context.bezierCurveTo(r,o,i,a,t._x2,t._y2)}function xt(t,e){this._context=t,this._alpha=e}xt.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)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:jt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var wt=function t(e){function n(t){return e?new xt(t,e):new pt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Et(t,e){this._context=t,this._alpha=e}Et.prototype={areaStart:st,areaEnd:st,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)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:jt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Mt=function t(e){function n(t){return e?new Et(t,e):new gt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function St(t,e){this._context=t,this._alpha=e}St.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:jt(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Tt=function t(e){function n(t){return e?new St(t,e):new yt(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Pt(t){this._context=t}function kt(t){return t<0?-1:1}function Ot(t,e,n){var r=t._x1-t._x0,o=e-t._x1,i=(t._y1-t._y0)/(r||o<0&&-0),a=(n-t._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(kt(i)+kt(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function Ct(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function At(t,e,n){var r=t._x0,o=t._y0,i=t._x1,a=t._y1,s=(i-r)/3;t._context.bezierCurveTo(r+s,o+s*e,i-s,a-s*n,i,a)}function Nt(t){this._context=t}function It(t){this._context=new Rt(t)}function Rt(t){this._context=t}function Dt(t){this._context=t}function Lt(t){var e,n,r=t.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)o[e]=1,i[e]=4,a[e]=4*t[e]+2*t[e+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=o[e]/i[e-1],i[e]-=n,a[e]-=n*a[e-1];for(o[r-1]=a[r-1]/i[r-1],e=r-2;e>=0;--e)o[e]=(a[e]-o[e+1])/i[e];for(i[r-1]=(t[r]+o[r-1])/2,e=0;e<r-1;++e)i[e]=2*t[e+1]-o[e+1];return[o,i]}function qt(t,e){this._context=t,this._t=e}function Bt(t,e){if((o=t.length)>1)for(var n,r,o,i=1,a=t[e[0]],s=a.length;i<o;++i)for(r=a,a=t[e[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function zt(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Ft(t,e){return t[e]}function Gt(t){var e=t.map(Vt);return zt(t).sort(function(t,n){return e[t]-e[n]})}function Vt(t){for(var e,n=-1,r=0,o=t.length,i=-1/0;++n<o;)(e=+t[n][1])>i&&(i=e,r=n);return r}function Ht(t){var e=t.map(Ut);return zt(t).sort(function(t,n){return e[t]-e[n]})}function Ut(t){for(var e,n=0,r=-1,o=t.length;++r<o;)(e=+t[r][1])&&(n+=e);return n}Pt.prototype={areaStart:st,areaEnd:st,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Nt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:At(this,this._t0,Ct(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,At(this,Ct(this,n=Ot(this,t,e)),n);break;default:At(this,this._t0,n=Ot(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(It.prototype=Object.create(Nt.prototype)).point=function(t,e){Nt.prototype.point.call(this,e,t)},Rt.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,o,i){this._context.bezierCurveTo(e,t,r,n,i,o)}},Dt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=Lt(t),o=Lt(e),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},qt.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},t.arc=function(){var t=p,a=v,j=n(0),x=null,w=g,E=m,M=y,S=null;function T(){var n,p,v,g=+t.apply(this,arguments),m=+a.apply(this,arguments),y=w.apply(this,arguments)-f,T=E.apply(this,arguments)-f,P=r(T-y),k=T>y;if(S||(S=n=e.path()),m<g&&(p=m,m=g,g=p),m>c)if(P>h-c)S.moveTo(m*i(y),m*u(y)),S.arc(0,0,m,y,T,!k),g>c&&(S.moveTo(g*i(T),g*u(T)),S.arc(0,0,g,T,y,k));else{var O,C,A=y,N=T,I=y,R=T,D=P,L=P,q=M.apply(this,arguments)/2,B=q>c&&(x?+x.apply(this,arguments):l(g*g+m*m)),z=s(r(m-g)/2,+j.apply(this,arguments)),F=z,G=z;if(B>c){var V=_(B/g*u(q)),H=_(B/m*u(q));(D-=2*V)>c?(I+=V*=k?1:-1,R-=V):(D=0,I=R=(y+T)/2),(L-=2*H)>c?(A+=H*=k?1:-1,N-=H):(L=0,A=N=(y+T)/2)}var U=m*i(A),W=m*u(A),K=g*i(R),Y=g*u(R);if(z>c){var $,X=m*i(N),J=m*u(N),Q=g*i(I),Z=g*u(I);if(P<d&&($=function(t,e,n,r,o,i,a,s){var u=n-t,l=r-e,d=a-o,f=s-i,h=f*u-d*l;if(!(h*h<c))return[t+(h=(d*(e-i)-f*(t-o))/h)*u,e+h*l]}(U,W,Q,Z,X,J,K,Y))){var tt=U-$[0],et=W-$[1],nt=X-$[0],rt=J-$[1],ot=1/u(((v=(tt*nt+et*rt)/(l(tt*tt+et*et)*l(nt*nt+rt*rt)))>1?0:v<-1?d:Math.acos(v))/2),it=l($[0]*$[0]+$[1]*$[1]);F=s(z,(g-it)/(ot-1)),G=s(z,(m-it)/(ot+1))}}L>c?G>c?(O=b(Q,Z,U,W,m,G,k),C=b(X,J,K,Y,m,G,k),S.moveTo(O.cx+O.x01,O.cy+O.y01),G<z?S.arc(O.cx,O.cy,G,o(O.y01,O.x01),o(C.y01,C.x01),!k):(S.arc(O.cx,O.cy,G,o(O.y01,O.x01),o(O.y11,O.x11),!k),S.arc(0,0,m,o(O.cy+O.y11,O.cx+O.x11),o(C.cy+C.y11,C.cx+C.x11),!k),S.arc(C.cx,C.cy,G,o(C.y11,C.x11),o(C.y01,C.x01),!k))):(S.moveTo(U,W),S.arc(0,0,m,A,N,!k)):S.moveTo(U,W),g>c&&D>c?F>c?(O=b(K,Y,X,J,g,-F,k),C=b(U,W,Q,Z,g,-F,k),S.lineTo(O.cx+O.x01,O.cy+O.y01),F<z?S.arc(O.cx,O.cy,F,o(O.y01,O.x01),o(C.y01,C.x01),!k):(S.arc(O.cx,O.cy,F,o(O.y01,O.x01),o(O.y11,O.x11),!k),S.arc(0,0,g,o(O.cy+O.y11,O.cx+O.x11),o(C.cy+C.y11,C.cx+C.x11),k),S.arc(C.cx,C.cy,F,o(C.y11,C.x11),o(C.y01,C.x01),!k))):S.arc(0,0,g,R,I,k):S.lineTo(K,Y)}else S.moveTo(0,0);if(S.closePath(),n)return S=null,n+""||null}return T.centroid=function(){var e=(+t.apply(this,arguments)+ +a.apply(this,arguments))/2,n=(+w.apply(this,arguments)+ +E.apply(this,arguments))/2-d/2;return[i(n)*e,u(n)*e]},T.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),T):t},T.outerRadius=function(t){return arguments.length?(a="function"==typeof t?t:n(+t),T):a},T.cornerRadius=function(t){return arguments.length?(j="function"==typeof t?t:n(+t),T):j},T.padRadius=function(t){return arguments.length?(x=null==t?null:"function"==typeof t?t:n(+t),T):x},T.startAngle=function(t){return arguments.length?(w="function"==typeof t?t:n(+t),T):w},T.endAngle=function(t){return arguments.length?(E="function"==typeof t?t:n(+t),T):E},T.padAngle=function(t){return arguments.length?(M="function"==typeof t?t:n(+t),T):M},T.context=function(t){return arguments.length?(S=null==t?null:t,T):S},T},t.area=S,t.areaRadial=I,t.curveBasis=function(t){return new lt(t)},t.curveBasisClosed=function(t){return new ct(t)},t.curveBasisOpen=function(t){return new dt(t)},t.curveBundle=ht,t.curveCardinal=vt,t.curveCardinalClosed=mt,t.curveCardinalOpen=bt,t.curveCatmullRom=wt,t.curveCatmullRomClosed=Mt,t.curveCatmullRomOpen=Tt,t.curveLinear=x,t.curveLinearClosed=function(t){return new Pt(t)},t.curveMonotoneX=function(t){return new Nt(t)},t.curveMonotoneY=function(t){return new It(t)},t.curveNatural=function(t){return new Dt(t)},t.curveStep=function(t){return new qt(t,.5)},t.curveStepAfter=function(t){return new qt(t,1)},t.curveStepBefore=function(t){return new qt(t,0)},t.line=M,t.lineRadial=N,t.linkHorizontal=function(){return B(z)},t.linkRadial=function(){var t=B(G);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t},t.linkVertical=function(){return B(F)},t.pie=function(){var t=P,e=T,r=null,o=n(0),i=n(h),a=n(0);function s(n){var s,u,l,c,d,f=n.length,_=0,p=new Array(f),v=new Array(f),g=+o.apply(this,arguments),m=Math.min(h,Math.max(-h,i.apply(this,arguments)-g)),y=Math.min(Math.abs(m)/f,a.apply(this,arguments)),b=y*(m<0?-1:1);for(s=0;s<f;++s)(d=v[p[s]=s]=+t(n[s],s,n))>0&&(_+=d);for(null!=e?p.sort(function(t,n){return e(v[t],v[n])}):null!=r&&p.sort(function(t,e){return r(n[t],n[e])}),s=0,l=_?(m-f*b)/_:0;s<f;++s,g=c)u=p[s],d=v[u],c=g+(d>0?d*l:0)+b,v[u]={data:n[u],index:s,value:d,startAngle:g,endAngle:c,padAngle:y};return v}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:n(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,r=null,s):e},s.sort=function(t){return arguments.length?(r=t,e=null,s):r},s.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:n(+t),s):o},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:n(+t),s):i},s.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:n(+t),s):a},s},t.pointRadial=R,t.radialArea=I,t.radialLine=N,t.stack=function(){var t=n([]),e=zt,r=Bt,o=Ft;function i(n){var i,a,s=t.apply(this,arguments),u=n.length,l=s.length,c=new Array(l);for(i=0;i<l;++i){for(var d,f=s[i],h=c[i]=new Array(u),_=0;_<u;++_)h[_]=d=[0,+o(n[_],f,_,n)],d.data=n[_];h.key=f}for(i=0,a=e(c);i<l;++i)c[a[i]].index=i;return r(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:n(D.call(e)),i):t},i.value=function(t){return arguments.length?(o="function"==typeof t?t:n(+t),i):o},i.order=function(t){return arguments.length?(e=null==t?zt:"function"==typeof t?t:n(D.call(t)),i):e},i.offset=function(t){return arguments.length?(r=null==t?Bt:t,i):r},i},t.stackOffsetDiverging=function(t,e){if((s=t.length)>0)for(var n,r,o,i,a,s,u=0,l=t[e[0]].length;u<l;++u)for(i=a=0,n=0;n<s;++n)(o=(r=t[e[n]][u])[1]-r[0])>0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)},t.stackOffsetExpand=function(t,e){if((r=t.length)>0){for(var n,r,o,i=0,a=t[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=t[n][i][1]||0;if(o)for(n=0;n<r;++n)t[n][i][1]/=o}Bt(t,e)}},t.stackOffsetNone=Bt,t.stackOffsetSilhouette=function(t,e){if((n=t.length)>0){for(var n,r=0,o=t[e[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=t[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}Bt(t,e)}},t.stackOffsetWiggle=function(t,e){if((o=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,u=0,l=0;s<o;++s){for(var c=t[e[s]],d=c[a][1]||0,f=c[a-1][1]||0,h=(d-f)/2,_=0;_<s;++_){var p=t[e[_]],v=p[a][1]||0,g=p[a-1][1]||0;h+=v-g}u+=d,l+=h*d}n[a-1][1]+=n[a-1][0]=i,u&&(i-=l/u)}n[a-1][1]+=n[a-1][0]=i,Bt(t,e)}},t.stackOrderAppearance=Gt,t.stackOrderAscending=Ht,t.stackOrderDescending=function(t){return Ht(t).reverse()},t.stackOrderInsideOut=function(t){var e,n,r=t.length,o=t.map(Ut),i=Gt(t),a=0,s=0,u=[],l=[];for(e=0;e<r;++e)n=i[e],a<s?(a+=o[n],u.push(n)):(s+=o[n],l.push(n));return l.reverse().concat(u)},t.stackOrderNone=zt,t.stackOrderReverse=function(t){return zt(t).reverse()},t.symbol=function(){var t=n(V),r=n(64),o=null;function i(){var n;if(o||(o=n=e.path()),t.apply(this,arguments).draw(o,+r.apply(this,arguments)),n)return o=null,n+""||null}return i.type=function(e){return arguments.length?(t="function"==typeof e?e:n(e),i):t},i.size=function(t){return arguments.length?(r="function"==typeof t?t:n(+t),i):r},i.context=function(t){return arguments.length?(o=null==t?null:t,i):o},i},t.symbolCircle=V,t.symbolCross=H,t.symbolDiamond=K,t.symbolSquare=Q,t.symbolStar=J,t.symbolTriangle=tt,t.symbolWye=it,t.symbols=at,Object.defineProperty(t,"__esModule",{value:!0})}(e,n("./node_modules/_d3-path@1.0.9@d3-path/dist/d3-path.js"))},"./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js":function(t,e,n){!function(t){"use strict";function e(t){return function(){return t}}function n(t){return t[0]}function r(t){return t[1]}function o(){this._=null}function i(t){t.U=t.C=t.L=t.R=t.P=t.N=null}function a(t,e){var n=e,r=e.R,o=n.U;o?o.L===n?o.L=r:o.R=r:t._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function s(t,e){var n=e,r=e.L,o=n.U;o?o.L===n?o.L=r:o.R=r:t._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function u(t){for(;t.L;)t=t.L;return t}function l(t,e,n,r){var o=[null,null],i=N.push(o)-1;return o.left=t,o.right=e,n&&d(o,t,e,n),r&&d(o,e,t,r),C[t.index].halfedges.push(i),C[e.index].halfedges.push(i),o}function c(t,e,n){var r=[e,n];return r.left=t,r}function d(t,e,n,r){t[0]||t[1]?t.left===n?t[1]=r:t[0]=r:(t[0]=r,t.left=e,t.right=n)}function f(t,e,n,r,o){var i,a=t[0],s=t[1],u=a[0],l=a[1],c=s[0],d=s[1],f=0,h=1,_=c-u,p=d-l;if(i=e-u,_||!(i>0)){if(i/=_,_<0){if(i<f)return;i<h&&(h=i)}else if(_>0){if(i>h)return;i>f&&(f=i)}if(i=r-u,_||!(i<0)){if(i/=_,_<0){if(i>h)return;i>f&&(f=i)}else if(_>0){if(i<f)return;i<h&&(h=i)}if(i=n-l,p||!(i>0)){if(i/=p,p<0){if(i<f)return;i<h&&(h=i)}else if(p>0){if(i>h)return;i>f&&(f=i)}if(i=o-l,p||!(i<0)){if(i/=p,p<0){if(i>h)return;i>f&&(f=i)}else if(p>0){if(i<f)return;i<h&&(h=i)}return!(f>0||h<1)||(f>0&&(t[0]=[u+f*_,l+f*p]),h<1&&(t[1]=[u+h*_,l+h*p]),!0)}}}}}function h(t,e,n,r,o){var i=t[1];if(i)return!0;var a,s,u=t[0],l=t.left,c=t.right,d=l[0],f=l[1],h=c[0],_=c[1],p=(d+h)/2,v=(f+_)/2;if(_===f){if(p<e||p>=r)return;if(d>h){if(u){if(u[1]>=o)return}else u=[p,n];i=[p,o]}else{if(u){if(u[1]<n)return}else u=[p,o];i=[p,n]}}else if(s=v-(a=(d-h)/(_-f))*p,a<-1||a>1)if(d>h){if(u){if(u[1]>=o)return}else u=[(n-s)/a,n];i=[(o-s)/a,o]}else{if(u){if(u[1]<n)return}else u=[(o-s)/a,o];i=[(n-s)/a,n]}else if(f<_){if(u){if(u[0]>=r)return}else u=[e,a*e+s];i=[r,a*r+s]}else{if(u){if(u[0]<e)return}else u=[r,a*r+s];i=[e,a*e+s]}return t[0]=u,t[1]=i,!0}function _(t,e){var n=t.site,r=e.left,o=e.right;return n===o&&(o=r,r=n),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(n===r?(r=e[1],o=e[0]):(r=e[0],o=e[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function p(t,e){return e[+(e.left!==t.site)]}function v(t,e){return e[+(e.left===t.site)]}o.prototype={constructor:o,insert:function(t,e){var n,r,o;if(t){if(e.P=t,e.N=t.N,t.N&&(t.N.P=e),t.N=e,t.R){for(t=t.R;t.L;)t=t.L;t.L=e}else t.R=e;n=t}else this._?(t=u(this._),e.P=null,e.N=t,t.P=t.L=e,n=t):(e.P=e.N=null,this._=e,n=null);for(e.L=e.R=null,e.U=n,e.C=!0,t=e;n&&n.C;)r=n.U,n===r.L?(o=r.R)&&o.C?(n.C=o.C=!1,r.C=!0,t=r):(t===n.R&&(a(this,n),n=(t=n).U),n.C=!1,r.C=!0,s(this,r)):(o=r.L)&&o.C?(n.C=o.C=!1,r.C=!0,t=r):(t===n.L&&(s(this,n),n=(t=n).U),n.C=!1,r.C=!0,a(this,r)),n=t.U;this._.C=!1},remove:function(t){t.N&&(t.N.P=t.P),t.P&&(t.P.N=t.N),t.N=t.P=null;var e,n,r,o=t.U,i=t.L,l=t.R;if(n=i?l?u(l):i:l,o?o.L===t?o.L=n:o.R=n:this._=n,i&&l?(r=n.C,n.C=t.C,n.L=i,i.U=n,n!==l?(o=n.U,n.U=t.U,t=n.R,o.L=t,n.R=l,l.U=n):(n.U=o,o=n,t=n.R)):(r=t.C,t=n),t&&(t.U=o),!r)if(t&&t.C)t.C=!1;else{do{if(t===this._)break;if(t===o.L){if((e=o.R).C&&(e.C=!1,o.C=!0,a(this,o),e=o.R),e.L&&e.L.C||e.R&&e.R.C){e.R&&e.R.C||(e.L.C=!1,e.C=!0,s(this,e),e=o.R),e.C=o.C,o.C=e.R.C=!1,a(this,o),t=this._;break}}else if((e=o.L).C&&(e.C=!1,o.C=!0,s(this,o),e=o.L),e.L&&e.L.C||e.R&&e.R.C){e.L&&e.L.C||(e.R.C=!1,e.C=!0,a(this,e),e=o.L),e.C=o.C,o.C=e.L.C=!1,s(this,o),t=this._;break}e.C=!0,t=o,o=o.U}while(!t.C);t&&(t.C=!1)}}};var g,m=[];function y(){i(this),this.x=this.y=this.arc=this.site=this.cy=null}function b(t){var e=t.P,n=t.N;if(e&&n){var r=e.site,o=t.site,i=n.site;if(r!==i){var a=o[0],s=o[1],u=r[0]-a,l=r[1]-s,c=i[0]-a,d=i[1]-s,f=2*(u*d-l*c);if(!(f>=-R)){var h=u*u+l*l,_=c*c+d*d,p=(d*h-l*_)/f,v=(u*_-c*h)/f,b=m.pop()||new y;b.arc=t,b.site=o,b.x=p+a,b.y=(b.cy=v+s)+Math.sqrt(p*p+v*v),t.circle=b;for(var j=null,x=A._;x;)if(b.y<x.y||b.y===x.y&&b.x<=x.x){if(!x.L){j=x.P;break}x=x.L}else{if(!x.R){j=x;break}x=x.R}A.insert(j,b),j||(g=b)}}}}function j(t){var e=t.circle;e&&(e.P||(g=e.N),A.remove(e),m.push(e),i(e),t.circle=null)}var x=[];function w(){i(this),this.edge=this.site=this.circle=null}function E(t){var e=x.pop()||new w;return e.site=t,e}function M(t){j(t),O.remove(t),x.push(t),i(t)}function S(t){var e=t.circle,n=e.x,r=e.cy,o=[n,r],i=t.P,a=t.N,s=[t];M(t);for(var u=i;u.circle&&Math.abs(n-u.circle.x)<I&&Math.abs(r-u.circle.cy)<I;)i=u.P,s.unshift(u),M(u),u=i;s.unshift(u),j(u);for(var c=a;c.circle&&Math.abs(n-c.circle.x)<I&&Math.abs(r-c.circle.cy)<I;)a=c.N,s.push(c),M(c),c=a;s.push(c),j(c);var f,h=s.length;for(f=1;f<h;++f)c=s[f],u=s[f-1],d(c.edge,u.site,c.site,o);u=s[0],(c=s[h-1]).edge=l(u.site,c.site,null,o),b(u),b(c)}function T(t){for(var e,n,r,o,i=t[0],a=t[1],s=O._;s;)if((r=P(s,a)-i)>I)s=s.L;else{if(!((o=i-k(s,a))>I)){r>-I?(e=s.P,n=s):o>-I?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){C[t.index]={site:t,halfedges:[]}}(t);var u=E(t);if(O.insert(e,u),e||n){if(e===n)return j(e),n=E(e.site),O.insert(u,n),u.edge=n.edge=l(e.site,u.site),b(e),void b(n);if(n){j(e),j(n);var c=e.site,f=c[0],h=c[1],_=t[0]-f,p=t[1]-h,v=n.site,g=v[0]-f,m=v[1]-h,y=2*(_*m-p*g),x=_*_+p*p,w=g*g+m*m,M=[(m*x-p*w)/y+f,(_*w-g*x)/y+h];d(n.edge,c,v,M),u.edge=l(c,t,null,M),n.edge=l(t,v,null,M),b(e),b(n)}else u.edge=l(e.site,u.site)}}function P(t,e){var n=t.site,r=n[0],o=n[1],i=o-e;if(!i)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site)[0],u=n[1],l=u-e;if(!l)return s;var c=s-r,d=1/i-1/l,f=c/l;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*l)-u+l/2+o-i/2)))/d+r:(r+s)/2}function k(t,e){var n=t.N;if(n)return P(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var O,C,A,N,I=1e-6,R=1e-12;function D(t,e){return e[1]-t[1]||e[0]-t[0]}function L(t,e){var n,r,i,a=t.sort(D).pop();for(N=[],C=new Array(t.length),O=new o,A=new o;;)if(i=g,a&&(!i||a[1]<i.y||a[1]===i.y&&a[0]<i.x))a[0]===n&&a[1]===r||(T(a),n=a[0],r=a[1]),a=t.pop();else{if(!i)break;S(i.arc)}if(function(){for(var t,e,n,r,o=0,i=C.length;o<i;++o)if((t=C[o])&&(r=(e=t.halfedges).length)){var a=new Array(r),s=new Array(r);for(n=0;n<r;++n)a[n]=n,s[n]=_(t,N[e[n]]);for(a.sort(function(t,e){return s[e]-s[t]}),n=0;n<r;++n)s[n]=e[a[n]];for(n=0;n<r;++n)e[n]=s[n]}}(),e){var s=+e[0][0],u=+e[0][1],l=+e[1][0],d=+e[1][1];!function(t,e,n,r){for(var o,i=N.length;i--;)h(o=N[i],t,e,n,r)&&f(o,t,e,n,r)&&(Math.abs(o[0][0]-o[1][0])>I||Math.abs(o[0][1]-o[1][1])>I)||delete N[i]}(s,u,l,d),function(t,e,n,r){var o,i,a,s,u,l,d,f,h,_,g,m,y=C.length,b=!0;for(o=0;o<y;++o)if(i=C[o]){for(a=i.site,u=i.halfedges,s=u.length;s--;)N[u[s]]||u.splice(s,1);for(s=0,l=u.length;s<l;)_=v(i,N[u[s]]),g=_[0],m=_[1],d=p(i,N[u[++s%l]]),f=d[0],h=d[1],(Math.abs(g-f)>I||Math.abs(m-h)>I)&&(u.splice(s,0,N.push(c(a,_,Math.abs(g-t)<I&&r-m>I?[t,Math.abs(f-t)<I?h:r]:Math.abs(m-r)<I&&n-g>I?[Math.abs(h-r)<I?f:n,r]:Math.abs(g-n)<I&&m-e>I?[n,Math.abs(f-n)<I?h:e]:Math.abs(m-e)<I&&g-t>I?[Math.abs(h-e)<I?f:t,e]:null))-1),++l);l&&(b=!1)}if(b){var j,x,w,E=1/0;for(o=0,b=null;o<y;++o)(i=C[o])&&(a=i.site,j=a[0]-t,x=a[1]-e,(w=j*j+x*x)<E&&(E=w,b=i));if(b){var M=[t,e],S=[t,r],T=[n,r],P=[n,e];b.halfedges.push(N.push(c(a=b.site,M,S))-1,N.push(c(a,S,T))-1,N.push(c(a,T,P))-1,N.push(c(a,P,M))-1)}}for(o=0;o<y;++o)(i=C[o])&&(i.halfedges.length||delete C[o])}(s,u,l,d)}this.edges=N,this.cells=C,O=A=N=C=null}L.prototype={constructor:L,polygons:function(){var t=this.edges;return this.cells.map(function(e){var n=e.halfedges.map(function(n){return p(e,t[n])});return n.data=e.site.data,n})},triangles:function(){var t=[],e=this.edges;return this.cells.forEach(function(n,r){if(i=(o=n.halfedges).length)for(var o,i,a,s,u,l,c=n.site,d=-1,f=e[o[i-1]],h=f.left===c?f.right:f.left;++d<i;)a=h,f=e[o[d]],h=f.left===c?f.right:f.left,a&&h&&r<a.index&&r<h.index&&(u=a,l=h,((s=c)[0]-l[0])*(u[1]-s[1])-(s[0]-u[0])*(l[1]-s[1])<0)&&t.push([c.data,a.data,h.data])}),t},links:function(){return this.edges.filter(function(t){return t.right}).map(function(t){return{source:t.left.data,target:t.right.data}})},find:function(t,e,n){for(var r,o,i=this,a=i._found||0,s=i.cells.length;!(o=i.cells[a]);)if(++a>=s)return null;var u=t-o.site[0],l=e-o.site[1],c=u*u+l*l;do{o=i.cells[r=a],a=null,o.halfedges.forEach(function(n){var r=i.edges[n],s=r.left;if(s!==o.site&&s||(s=r.right)){var u=t-s[0],l=e-s[1],d=u*u+l*l;d<c&&(c=d,a=s.index)}})}while(null!==a);return i._found=r,null==n||c<=n*n?o.site:null}},t.voronoi=function(){var t=n,o=r,i=null;function a(e){return new L(e.map(function(n,r){var i=[Math.round(t(n,r,e)/I)*I,Math.round(o(n,r,e)/I)*I];return i.index=r,i.data=n,i}),i)}return a.polygons=function(t){return a(t).polygons()},a.links=function(t){return a(t).links()},a.triangles=function(t){return a(t).triangles()},a.x=function(n){return arguments.length?(t="function"==typeof n?n:e(+n),a):t},a.y=function(t){return arguments.length?(o="function"==typeof t?t:e(+t),a):o},a.extent=function(t){return arguments.length?(i=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],a):i&&[[i[0][0],i[0][1]],[i[1][0],i[1][1]]]},a.size=function(t){return arguments.length?(i=null==t?null:[[0,0],[+t[0],+t[1]]],a):i&&[i[1][0]-i[0][0],i[1][1]-i[0][1]]},a},Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_dagre@0.8.5@dagre/index.js":function(t,e,n){t.exports={graphlib:n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js"),layout:n("./node_modules/_dagre@0.8.5@dagre/lib/layout.js"),debug:n("./node_modules/_dagre@0.8.5@dagre/lib/debug.js"),util:{time:n("./node_modules/_dagre@0.8.5@dagre/lib/util.js").time,notime:n("./node_modules/_dagre@0.8.5@dagre/lib/util.js").notime},version:n("./node_modules/_dagre@0.8.5@dagre/lib/version.js")}},"./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/greedy-fas.js");t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?o(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},o={};return r.forEach(t.nodes(),function i(a){r.has(o,a)||(o[a]=!0,n[a]=!0,r.forEach(t.outEdges(a),function(t){r.has(n,t.w)?e.push(t):i(t.w)}),delete n[a])}),e}(t);r.forEach(e,function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))})},undo:function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}})}}},"./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t,e,n,r,i,a){var s={width:0,height:0,rank:a,borderType:e},u=i[e][a-1],l=o.addDummyNode(t,"border",s,n);i[e][a]=l,t.setParent(l,r),u&&t.setEdge(u,l,{weight:1})}t.exports=function(t){r.forEach(t.children(),function e(n){var o=t.children(n);var a=t.node(n);o.length&&r.forEach(o,e);if(r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,u=a.maxRank+1;s<u;++s)i(t,"borderLeft","_bl",n,a,s),i(t,"borderRight","_br",n,a,s)}})}},"./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(t){r.forEach(t.nodes(),function(e){i(t.node(e))}),r.forEach(t.edges(),function(e){i(t.edge(e))})}function i(t){var e=t.width;t.width=t.height,t.height=e}function a(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||o(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.forEach(t.nodes(),function(e){a(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.forEach(n.points,a),r.has(n,"y")&&a(n)})}(t);"lr"!==e&&"rl"!==e||(!function(t){r.forEach(t.nodes(),function(e){s(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"x")&&s(n)})}(t),o(t))}}},"./node_modules/_dagre@0.8.5@dagre/lib/data/list.js":function(t,e){function n(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function o(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return r(e),e},n.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&r(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},n.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,o)),n=n._prev;return"["+t.join(", ")+"]"}},"./node_modules/_dagre@0.8.5@dagre/lib/debug.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;t.exports={debugOrdering:function(t){var e=o.buildLayerMatrix(t),n=new i({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)}),r.forEach(t.edges(),function(t){n.setEdge(t.v,t.w,{},t.name)}),r.forEach(e,function(t,e){var o="layer"+e;n.setNode(o,{rank:"same"}),r.reduce(t,function(t,e){return n.setEdge(t,e,{style:"invis"}),e})}),n}}},"./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js":function(t,e,n){var r;try{r=n("./node_modules/_graphlib@2.1.8@graphlib/index.js")}catch(t){}r||(r=window.graphlib),t.exports=r},"./node_modules/_dagre@0.8.5@dagre/lib/greedy-fas.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,i=n("./node_modules/_dagre@0.8.5@dagre/lib/data/list.js");t.exports=function(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new o,a=0,s=0;r.forEach(t.nodes(),function(t){n.setNode(t,{v:t,in:0,out:0})}),r.forEach(t.edges(),function(t){var r=n.edge(t.v,t.w)||0,o=e(t),i=r+o;n.setEdge(t.v,t.w,i),s=Math.max(s,n.node(t.v).out+=o),a=Math.max(a,n.node(t.w).in+=o)});var l=r.range(s+a+3).map(function(){return new i}),c=a+1;return r.forEach(n.nodes(),function(t){u(l,c,n.node(t))}),{graph:n,buckets:l,zeroIdx:c}}(t,e||a),l=function(t,e,n){var r,o=[],i=e[e.length-1],a=e[0];for(;t.nodeCount();){for(;r=a.dequeue();)s(t,e,n,r);for(;r=i.dequeue();)s(t,e,n,r);if(t.nodeCount())for(var u=e.length-2;u>0;--u)if(r=e[u].dequeue()){o=o.concat(s(t,e,n,r,!0));break}}return o}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(l,function(e){return t.outEdges(e.v,e.w)}),!0)};var a=r.constant(1);function s(t,e,n,o,i){var a=i?[]:void 0;return r.forEach(t.inEdges(o.v),function(r){var o=t.edge(r),s=t.node(r.v);i&&a.push({v:r.v,w:r.w}),s.out-=o,u(e,n,s)}),r.forEach(t.outEdges(o.v),function(r){var o=t.edge(r),i=r.w,a=t.node(i);a.in-=o,u(e,n,a)}),t.removeNode(o.v),a}function u(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},"./node_modules/_dagre@0.8.5@dagre/lib/layout.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/acyclic.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/normalize.js"),a=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js"),s=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js").normalizeRanks,u=n("./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js"),l=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js").removeEmptyRanks,c=n("./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js"),d=n("./node_modules/_dagre@0.8.5@dagre/lib/add-border-segments.js"),f=n("./node_modules/_dagre@0.8.5@dagre/lib/coordinate-system.js"),h=n("./node_modules/_dagre@0.8.5@dagre/lib/order/index.js"),_=n("./node_modules/_dagre@0.8.5@dagre/lib/position/index.js"),p=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js"),v=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;t.exports=function(t,e){var n=e&&e.debugTiming?p.time:p.notime;n("layout",function(){var e=n(" buildLayoutGraph",function(){return function(t){var e=new v({multigraph:!0,compound:!0}),n=S(t.graph());return e.setGraph(r.merge({},m,M(n,g),r.pick(n,y))),r.forEach(t.nodes(),function(n){var o=S(t.node(n));e.setNode(n,r.defaults(M(o,b),j)),e.setParent(n,t.parent(n))}),r.forEach(t.edges(),function(n){var o=S(t.edge(n));e.setEdge(n,r.merge({},w,M(o,x),r.pick(o,E)))}),e}(t)});n(" runLayout",function(){!function(t,e){e(" makeSpaceForEdgeLabels",function(){!function(t){var e=t.graph();e.ranksep/=2,r.forEach(t.edges(),function(n){var r=t.edge(n);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}(t)}),e(" removeSelfEdges",function(){!function(t){r.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}(t)}),e(" acyclic",function(){o.run(t)}),e(" nestingGraph.run",function(){c.run(t)}),e(" rank",function(){a(p.asNonCompoundGraph(t))}),e(" injectEdgeLabelProxies",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),o=t.node(e.w),i={rank:(o.rank-r.rank)/2+r.rank,e:e};p.addDummyNode(t,"edge-proxy",i,"_ep")}})}(t)}),e(" removeEmptyRanks",function(){l(t)}),e(" nestingGraph.cleanup",function(){c.cleanup(t)}),e(" normalizeRanks",function(){s(t)}),e(" assignRankMinMax",function(){!function(t){var e=0;r.forEach(t.nodes(),function(n){var o=t.node(n);o.borderTop&&(o.minRank=t.node(o.borderTop).rank,o.maxRank=t.node(o.borderBottom).rank,e=r.max(e,o.maxRank))}),t.graph().maxRank=e}(t)}),e(" removeEdgeLabelProxies",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}(t)}),e(" normalize.run",function(){i.run(t)}),e(" parentDummyChains",function(){u(t)}),e(" addBorderSegments",function(){d(t)}),e(" order",function(){h(t)}),e(" insertSelfEdges",function(){!function(t){var e=p.buildLayerMatrix(t);r.forEach(e,function(e){var n=0;r.forEach(e,function(e,o){var i=t.node(e);i.order=o+n,r.forEach(i.selfEdges,function(e){p.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:i.rank,order:o+ ++n,e:e.e,label:e.label},"_se")}),delete i.selfEdges})})}(t)}),e(" adjustCoordinateSystem",function(){f.adjust(t)}),e(" position",function(){_(t)}),e(" positionSelfEdges",function(){!function(t){r.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),o=r.x+r.width/2,i=r.y,a=n.x-o,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:o+2*a/3,y:i-s},{x:o+5*a/6,y:i-s},{x:o+a,y:i},{x:o+5*a/6,y:i+s},{x:o+2*a/3,y:i+s}],n.label.x=n.x,n.label.y=n.y}})}(t)}),e(" removeBorderNodes",function(){!function(t){r.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),o=t.node(n.borderTop),i=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(i.y-o.y),n.x=a.x+n.width/2,n.y=o.y+n.height/2}}),r.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}(t)}),e(" normalize.undo",function(){i.undo(t)}),e(" fixupEdgeLabelCoords",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);if(r.has(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}(t)}),e(" undoCoordinateSystem",function(){f.undo(t)}),e(" translateGraph",function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,o=Number.POSITIVE_INFINITY,i=0,a=t.graph(),s=a.marginx||0,u=a.marginy||0;function l(t){var r=t.x,a=t.y,s=t.width,u=t.height;e=Math.min(e,r-s/2),n=Math.max(n,r+s/2),o=Math.min(o,a-u/2),i=Math.max(i,a+u/2)}r.forEach(t.nodes(),function(e){l(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.has(n,"x")&&l(n)}),e-=s,o-=u,r.forEach(t.nodes(),function(n){var r=t.node(n);r.x-=e,r.y-=o}),r.forEach(t.edges(),function(n){var i=t.edge(n);r.forEach(i.points,function(t){t.x-=e,t.y-=o}),r.has(i,"x")&&(i.x-=e),r.has(i,"y")&&(i.y-=o)}),a.width=n-e+s,a.height=i-o+u}(t)}),e(" assignNodeIntersects",function(){!function(t){r.forEach(t.edges(),function(e){var n,r,o=t.edge(e),i=t.node(e.v),a=t.node(e.w);o.points?(n=o.points[0],r=o.points[o.points.length-1]):(o.points=[],n=a,r=i),o.points.unshift(p.intersectRect(i,n)),o.points.push(p.intersectRect(a,r))})}(t)}),e(" reversePoints",function(){!function(t){r.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}(t)}),e(" acyclic.undo",function(){o.undo(t)})}(e,n)}),n(" updateInputGraph",function(){!function(t,e){r.forEach(t.nodes(),function(n){var r=t.node(n),o=e.node(n);r&&(r.x=o.x,r.y=o.y,e.children(n).length&&(r.width=o.width,r.height=o.height))}),r.forEach(t.edges(),function(n){var o=t.edge(n),i=e.edge(n);o.points=i.points,r.has(i,"x")&&(o.x=i.x,o.y=i.y)}),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)})})};var g=["nodesep","edgesep","ranksep","marginx","marginy"],m={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},y=["acyclicer","ranker","rankdir","align"],b=["width","height"],j={width:0,height:0},x=["minlen","weight","width","height","labeloffset"],w={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},E=["labelpos"];function M(t,e){return r.mapValues(r.pick(t,e),Number)}function S(t){var e={};return r.forEach(t,function(t,n){e[n.toLowerCase()]=t}),e}},"./node_modules/_dagre@0.8.5@dagre/lib/lodash.js":function(t,e,n){var r;try{r={cloneDeep:n("./node_modules/_lodash@4.17.15@lodash/cloneDeep.js"),constant:n("./node_modules/_lodash@4.17.15@lodash/constant.js"),defaults:n("./node_modules/_lodash@4.17.15@lodash/defaults.js"),each:n("./node_modules/_lodash@4.17.15@lodash/each.js"),filter:n("./node_modules/_lodash@4.17.15@lodash/filter.js"),find:n("./node_modules/_lodash@4.17.15@lodash/find.js"),flatten:n("./node_modules/_lodash@4.17.15@lodash/flatten.js"),forEach:n("./node_modules/_lodash@4.17.15@lodash/forEach.js"),forIn:n("./node_modules/_lodash@4.17.15@lodash/forIn.js"),has:n("./node_modules/_lodash@4.17.15@lodash/has.js"),isUndefined:n("./node_modules/_lodash@4.17.15@lodash/isUndefined.js"),last:n("./node_modules/_lodash@4.17.15@lodash/last.js"),map:n("./node_modules/_lodash@4.17.15@lodash/map.js"),mapValues:n("./node_modules/_lodash@4.17.15@lodash/mapValues.js"),max:n("./node_modules/_lodash@4.17.15@lodash/max.js"),merge:n("./node_modules/_lodash@4.17.15@lodash/merge.js"),min:n("./node_modules/_lodash@4.17.15@lodash/min.js"),minBy:n("./node_modules/_lodash@4.17.15@lodash/minBy.js"),now:n("./node_modules/_lodash@4.17.15@lodash/now.js"),pick:n("./node_modules/_lodash@4.17.15@lodash/pick.js"),range:n("./node_modules/_lodash@4.17.15@lodash/range.js"),reduce:n("./node_modules/_lodash@4.17.15@lodash/reduce.js"),sortBy:n("./node_modules/_lodash@4.17.15@lodash/sortBy.js"),uniqueId:n("./node_modules/_lodash@4.17.15@lodash/uniqueId.js"),values:n("./node_modules/_lodash@4.17.15@lodash/values.js"),zipObject:n("./node_modules/_lodash@4.17.15@lodash/zipObject.js")}}catch(t){}r||(r=window._),t.exports=r},"./node_modules/_dagre@0.8.5@dagre/lib/nesting-graph.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js");t.exports={run:function(t){var e=o.addDummyNode(t,"root",{},"_root"),n=function(t){var e={};return r.forEach(t.children(),function(n){!function n(o,i){var a=t.children(o);a&&a.length&&r.forEach(a,function(t){n(t,i+1)}),e[o]=i}(n,1)}),e}(t),i=r.max(r.values(n))-1,a=2*i+1;t.graph().nestingRoot=e,r.forEach(t.edges(),function(e){t.edge(e).minlen*=a});var s=function(t){return r.reduce(t.edges(),function(e,n){return e+t.edge(n).weight},0)}(t)+1;r.forEach(t.children(),function(u){!function t(e,n,i,a,s,u,l){var c=e.children(l);if(!c.length)return void(l!==n&&e.setEdge(n,l,{weight:0,minlen:i}));var d=o.addBorderNode(e,"_bt");var f=o.addBorderNode(e,"_bb");var h=e.node(l);e.setParent(d,l);h.borderTop=d;e.setParent(f,l);h.borderBottom=f;r.forEach(c,function(r){t(e,n,i,a,s,u,r);var o=e.node(r),c=o.borderTop?o.borderTop:r,h=o.borderBottom?o.borderBottom:r,_=o.borderTop?a:2*a,p=c!==h?1:s-u[l]+1;e.setEdge(d,c,{weight:_,minlen:p,nestingEdge:!0}),e.setEdge(h,f,{weight:_,minlen:p,nestingEdge:!0})});e.parent(l)||e.setEdge(n,d,{weight:0,minlen:s+u[l]})}(t,e,a,s,i,n,u)}),t.graph().nodeRankFactor=a},cleanup:function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,r.forEach(t.edges(),function(e){var n=t.edge(e);n.nestingEdge&&t.removeEdge(e)})}}},"./node_modules/_dagre@0.8.5@dagre/lib/normalize.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js");t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),function(e){!function(t,e){var n,r,i,a=e.v,s=t.node(a).rank,u=e.w,l=t.node(u).rank,c=e.name,d=t.edge(e),f=d.labelRank;if(l===s+1)return;for(t.removeEdge(e),i=0,++s;s<l;++i,++s)d.points=[],r={width:0,height:0,edgeLabel:d,edgeObj:e,rank:s},n=o.addDummyNode(t,"edge",r,"_d"),s===f&&(r.width=d.width,r.height=d.height,r.dummy="edge-label",r.labelpos=d.labelpos),t.setEdge(a,n,{weight:d.weight},c),0===i&&t.graph().dummyChains.push(n),a=n;t.setEdge(a,u,{weight:d.weight},c)}(t,e)})},undo:function(t){r.forEach(t.graph().dummyChains,function(e){var n,r=t.node(e),o=r.edgeLabel;for(t.setEdge(r.edgeObj,o);r.dummy;)n=t.successors(e)[0],t.removeNode(e),o.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(o.x=r.x,o.y=r.y,o.width=r.width,o.height=r.height),e=n,r=t.node(e)})}}},"./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t,e,n){var o,i={};r.forEach(n,function(n){for(var r,a,s=t.parent(n);s;){if((r=t.parent(s))?(a=i[r],i[r]=s):(a=o,o=s),a&&a!==s)return void e.setEdge(a,s);s=r}})}},"./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t,e){return r.map(e,function(e){var n=t.inEdges(e);if(n.length){var o=r.reduce(n,function(e,n){var r=t.edge(n),o=t.node(n.v);return{sum:e.sum+r.weight*o.order,weight:e.weight+r.weight}},{sum:0,weight:0});return{v:e,barycenter:o.sum/o.weight,weight:o.weight}}return{v:e}})}},"./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;t.exports=function(t,e,n){var i=function(t){var e;for(;t.hasNode(e=r.uniqueId("_root")););return e}(t),a=new o({compound:!0}).setGraph({root:i}).setDefaultNodeLabel(function(e){return t.node(e)});return r.forEach(t.nodes(),function(o){var s=t.node(o),u=t.parent(o);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(a.setNode(o),a.setParent(o,u||i),r.forEach(t[n](o),function(e){var n=e.v===o?e.w:e.v,i=a.edge(n,o),s=r.isUndefined(i)?0:i.weight;a.setEdge(n,o,{weight:t.edge(e).weight+s})}),r.has(s,"minRank")&&a.setNode(o,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))}),a}},"./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");function o(t,e,n){for(var o=r.zipObject(n,r.map(n,function(t,e){return e})),i=r.flatten(r.map(e,function(e){return r.sortBy(r.map(t.outEdges(e),function(e){return{pos:o[e.w],weight:t.edge(e).weight}}),"pos")}),!0),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var u=r.map(new Array(s),function(){return 0}),l=0;return r.forEach(i.forEach(function(t){var e=t.pos+a;u[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=u[e+1]),u[e=e-1>>1]+=t.weight;l+=t.weight*n})),l}t.exports=function(t,e){for(var n=0,r=1;r<e.length;++r)n+=o(t,e[r-1],e[r]);return n}},"./node_modules/_dagre@0.8.5@dagre/lib/order/index.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/order/cross-count.js"),a=n("./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js"),s=n("./node_modules/_dagre@0.8.5@dagre/lib/order/build-layer-graph.js"),u=n("./node_modules/_dagre@0.8.5@dagre/lib/order/add-subgraph-constraints.js"),l=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,c=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js");function d(t,e,n){return r.map(e,function(e){return s(t,e,n)})}function f(t,e){var n=new l;r.forEach(t,function(t){var o=t.graph().root,i=a(t,o,n,e);r.forEach(i.vs,function(e,n){t.node(e).order=n}),u(t,n,i.vs)})}function h(t,e){r.forEach(e,function(e){r.forEach(e,function(e,n){t.node(e).order=n})})}t.exports=function(t){var e=c.maxRank(t),n=d(t,r.range(1,e+1),"inEdges"),a=d(t,r.range(e-1,-1,-1),"outEdges"),s=o(t);h(t,s);for(var u,l=Number.POSITIVE_INFINITY,_=0,p=0;p<4;++_,++p){f(_%2?n:a,_%4>=2),s=c.buildLayerMatrix(t);var v=i(t,s);v<l&&(p=0,u=r.cloneDeep(s),l=v)}h(t,u)}},"./node_modules/_dagre@0.8.5@dagre/lib/order/init-order.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t){var e={},n=r.filter(t.nodes(),function(e){return!t.children(e).length}),o=r.max(r.map(n,function(e){return t.node(e).rank})),i=r.map(r.range(o+1),function(){return[]});var a=r.sortBy(n,function(e){return t.node(e).rank});return r.forEach(a,function n(o){if(!r.has(e,o)){e[o]=!0;var a=t.node(o);i[a.rank].push(o),r.forEach(t.successors(o),n)}}),i}},"./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t,e){var n={};return r.forEach(t,function(t,e){var o=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};r.isUndefined(t.barycenter)||(o.barycenter=t.barycenter,o.weight=t.weight)}),r.forEach(e.edges(),function(t){var e=n[t.v],o=n[t.w];r.isUndefined(e)||r.isUndefined(o)||(o.indegree++,e.out.push(n[t.w]))}),function(t){var e=[];function n(t){return function(e){var n,o,i,a;e.merged||(r.isUndefined(e.barycenter)||r.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(o=e,i=0,a=0,(n=t).weight&&(i+=n.barycenter*n.weight,a+=n.weight),o.weight&&(i+=o.barycenter*o.weight,a+=o.weight),n.vs=o.vs.concat(n.vs),n.barycenter=i/a,n.weight=a,n.i=Math.min(o.i,n.i),o.merged=!0)}}function o(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var i=t.pop();e.push(i),r.forEach(i.in.reverse(),n(i)),r.forEach(i.out,o(i))}return r.map(r.filter(e,function(t){return!t.merged}),function(t){return r.pick(t,["vs","i","barycenter","weight"])})}(r.filter(n,function(t){return!t.indegree}))}},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort-subgraph.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/order/barycenter.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/order/resolve-conflicts.js"),a=n("./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js");t.exports=function t(e,n,s,u){var l=e.children(n);var c=e.node(n);var d=c?c.borderLeft:void 0;var f=c?c.borderRight:void 0;var h={};d&&(l=r.filter(l,function(t){return t!==d&&t!==f}));var _=o(e,l);r.forEach(_,function(n){if(e.children(n.v).length){var o=t(e,n.v,s,u);h[n.v]=o,r.has(o,"barycenter")&&(i=n,a=o,r.isUndefined(i.barycenter)?(i.barycenter=a.barycenter,i.weight=a.weight):(i.barycenter=(i.barycenter*i.weight+a.barycenter*a.weight)/(i.weight+a.weight),i.weight+=a.weight))}var i,a});var p=i(_,s);!function(t,e){r.forEach(t,function(t){t.vs=r.flatten(t.vs.map(function(t){return e[t]?e[t].vs:t}),!0)})}(p,h);var v=a(p,u);if(d&&(v.vs=r.flatten([d,v.vs,f],!0),e.predecessors(d).length)){var g=e.node(e.predecessors(d)[0]),m=e.node(e.predecessors(f)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+g.order+m.order)/(v.weight+2),v.weight+=2}return v}},"./node_modules/_dagre@0.8.5@dagre/lib/order/sort.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js");function i(t,e,n){for(var o;e.length&&(o=r.last(e)).i<=n;)e.pop(),t.push(o.vs),n++;return n}t.exports=function(t,e){var n=o.partition(t,function(t){return r.has(t,"barycenter")}),a=n.lhs,s=r.sortBy(n.rhs,function(t){return-t.i}),u=[],l=0,c=0,d=0;a.sort((f=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:f?e.i-t.i:t.i-e.i})),d=i(u,s,d),r.forEach(a,function(t){d+=t.vs.length,u.push(t.vs),l+=t.barycenter*t.weight,c+=t.weight,d=i(u,s,d)});var f;var h={vs:r.flatten(u,!0)};c&&(h.barycenter=l/c,h.weight=c);return h}},"./node_modules/_dagre@0.8.5@dagre/lib/parent-dummy-chains.js":function(t,e,n){var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports=function(t){var e=function(t){var e={},n=0;return r.forEach(t.children(),function o(i){var a=n;r.forEach(t.children(i),o),e[i]={low:a,lim:n++}}),e}(t);r.forEach(t.graph().dummyChains,function(n){for(var r=t.node(n),o=r.edgeObj,i=function(t,e,n,r){var o,i,a=[],s=[],u=Math.min(e[n].low,e[r].low),l=Math.max(e[n].lim,e[r].lim);o=n;do{o=t.parent(o),a.push(o)}while(o&&(e[o].low>u||l>e[o].lim));i=o,o=r;for(;(o=t.parent(o))!==i;)s.push(o);return{path:a.concat(s.reverse()),lca:i}}(t,e,o.v,o.w),a=i.path,s=i.lca,u=0,l=a[u],c=!0;n!==o.w;){if(r=t.node(n),c){for(;(l=a[u])!==s&&t.node(l).maxRank<r.rank;)u++;l===s&&(c=!1)}if(!c){for(;u<a.length-1&&t.node(l=a[u+1]).minRank<=r.rank;)u++;l=a[u]}t.setParent(n,l),n=t.successors(n)[0]}})}},"./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,i=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js");function a(t,e){var n={};return r.reduce(e,function(e,o){var i=0,a=0,s=e.length,l=r.last(o);return r.forEach(o,function(e,c){var d=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),function(e){return t.node(e).dummy})}(t,e),f=d?t.node(d).order:s;(d||e===l)&&(r.forEach(o.slice(a,c+1),function(e){r.forEach(t.predecessors(e),function(r){var o=t.node(r),a=o.order;!(a<i||f<a)||o.dummy&&t.node(e).dummy||u(n,r,e)})}),a=c+1,i=f)}),o}),n}function s(t,e){var n={};function o(e,o,i,a,s){var l;r.forEach(r.range(o,i),function(o){l=e[o],t.node(l).dummy&&r.forEach(t.predecessors(l),function(e){var r=t.node(e);r.dummy&&(r.order<a||r.order>s)&&u(n,e,l)})})}return r.reduce(e,function(e,n){var i,a=-1,s=0;return r.forEach(n,function(r,u){if("border"===t.node(r).dummy){var l=t.predecessors(r);l.length&&(i=t.node(l[0]).order,o(n,s,u,a,i),s=u,a=i)}o(n,s,n.length,i,e.length)}),n}),n}function u(t,e,n){if(e>n){var r=e;e=n,n=r}var o=t[e];o||(t[e]=o={}),o[n]=!0}function l(t,e,n){if(e>n){var o=e;e=n,n=o}return r.has(t[e],n)}function c(t,e,n,o){var i={},a={},s={};return r.forEach(e,function(t){r.forEach(t,function(t,e){i[t]=t,a[t]=t,s[t]=e})}),r.forEach(e,function(t){var e=-1;r.forEach(t,function(t){var u=o(t);if(u.length)for(var c=((u=r.sortBy(u,function(t){return s[t]})).length-1)/2,d=Math.floor(c),f=Math.ceil(c);d<=f;++d){var h=u[d];a[t]===t&&e<s[h]&&!l(n,t,h)&&(a[h]=t,a[t]=i[t]=i[h],e=s[h])}})}),{root:i,align:a}}function d(t,e,n,i,a){var s={},u=function(t,e,n,i){var a=new o,s=t.graph(),u=function(t,e,n){return function(o,i,a){var s,u=o.node(i),l=o.node(a),c=0;if(c+=u.width/2,r.has(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=-u.width/2;break;case"r":s=u.width/2}if(s&&(c+=n?s:-s),s=0,c+=(u.dummy?e:t)/2,c+=(l.dummy?e:t)/2,c+=l.width/2,r.has(l,"labelpos"))switch(l.labelpos.toLowerCase()){case"l":s=l.width/2;break;case"r":s=-l.width/2}return s&&(c+=n?s:-s),s=0,c}}(s.nodesep,s.edgesep,i);return r.forEach(e,function(e){var o;r.forEach(e,function(e){var r=n[e];if(a.setNode(r),o){var i=n[o],s=a.edge(i,r);a.setEdge(i,r,Math.max(u(t,e,o),s||0))}o=e})}),a}(t,e,n,a),l=a?"borderLeft":"borderRight";function c(t,e){for(var n=u.nodes(),r=n.pop(),o={};r;)o[r]?t(r):(o[r]=!0,n.push(r),n=n.concat(e(r))),r=n.pop()}return c(function(t){s[t]=u.inEdges(t).reduce(function(t,e){return Math.max(t,s[e.v]+u.edge(e))},0)},u.predecessors.bind(u)),c(function(e){var n=u.outEdges(e).reduce(function(t,e){return Math.min(t,s[e.w]-u.edge(e))},Number.POSITIVE_INFINITY),r=t.node(e);n!==Number.POSITIVE_INFINITY&&r.borderType!==l&&(s[e]=Math.max(s[e],n))},u.successors.bind(u)),r.forEach(i,function(t){s[t]=s[n[t]]}),s}function f(t,e){return r.minBy(r.values(e),function(e){var n=Number.NEGATIVE_INFINITY,o=Number.POSITIVE_INFINITY;return r.forIn(e,function(e,r){var i=function(t,e){return t.node(e).width}(t,r)/2;n=Math.max(e+i,n),o=Math.min(e-i,o)}),n-o})}function h(t,e){var n=r.values(e),o=r.min(n),i=r.max(n);r.forEach(["u","d"],function(n){r.forEach(["l","r"],function(a){var s,u=n+a,l=t[u];if(l!==e){var c=r.values(l);(s="l"===a?o-r.min(c):i-r.max(c))&&(t[u]=r.mapValues(l,function(t){return t+s}))}})})}function _(t,e){return r.mapValues(t.ul,function(n,o){if(e)return t[e.toLowerCase()][o];var i=r.sortBy(r.map(t,o));return(i[1]+i[2])/2})}t.exports={positionX:function(t){var e,n=i.buildLayerMatrix(t),o=r.merge(a(t,n),s(t,n)),u={};r.forEach(["u","d"],function(i){e="u"===i?n:r.values(n).reverse(),r.forEach(["l","r"],function(n){"r"===n&&(e=r.map(e,function(t){return r.values(t).reverse()}));var a=("u"===i?t.predecessors:t.successors).bind(t),s=c(t,e,o,a),l=d(t,e,s.root,s.align,"r"===n);"r"===n&&(l=r.mapValues(l,function(t){return-t})),u[i+n]=l})});var l=f(t,u);return h(u,l),_(u,t.graph().align)},findType1Conflicts:a,findType2Conflicts:s,addConflict:u,hasConflict:l,verticalAlignment:c,horizontalCompaction:d,alignCoordinates:h,findSmallestWidthAlignment:f,balance:_}},"./node_modules/_dagre@0.8.5@dagre/lib/position/index.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/position/bk.js").positionX;t.exports=function(t){(function(t){var e=o.buildLayerMatrix(t),n=t.graph().ranksep,i=0;r.forEach(e,function(e){var o=r.max(r.map(e,function(e){return t.node(e).height}));r.forEach(e,function(e){t.node(e).y=i+o/2}),i+=o+n})})(t=o.asNonCompoundGraph(t)),r.forEach(i(t),function(e,n){t.node(n).x=e})}},"./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph,i=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").slack;function a(t,e){return r.forEach(t.nodes(),function n(o){r.forEach(e.nodeEdges(o),function(r){var a=r.v,s=o===a?r.w:a;t.hasNode(s)||i(e,r)||(t.setNode(s,{}),t.setEdge(o,s,{}),n(s))})}),t.nodeCount()}function s(t,e){return r.minBy(e.edges(),function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return i(e,n)})}function u(t,e,n){r.forEach(t.nodes(),function(t){e.node(t).rank+=n})}t.exports=function(t){var e,n,r=new o({directed:!1}),l=t.nodes()[0],c=t.nodeCount();r.setNode(l,{});for(;a(r,t)<c;)e=s(r,t),n=r.hasNode(e.v)?i(t,e):-i(t,e),u(r,t,n);return r}},"./node_modules/_dagre@0.8.5@dagre/lib/rank/index.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").longestPath,o=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/network-simplex.js");t.exports=function(t){switch(t.graph().ranker){case"network-simplex":s(t);break;case"tight-tree":!function(t){r(t),o(t)}(t);break;case"longest-path":a(t);break;default:s(t)}};var a=r;function s(t){i(t)}},"./node_modules/_dagre@0.8.5@dagre/lib/rank/network-simplex.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/feasible-tree.js"),i=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").slack,a=n("./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js").longestPath,s=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").alg.preorder,u=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").alg.postorder,l=n("./node_modules/_dagre@0.8.5@dagre/lib/util.js").simplify;function c(t){t=l(t),a(t);var e,n=o(t);for(h(n),d(n,t);e=_(n);)v(n,t,e,p(n,t,e))}function d(t,e){var n=u(t,t.nodes());n=n.slice(0,n.length-1),r.forEach(n,function(n){!function(t,e,n){var r=t.node(n).parent;t.edge(n,r).cutvalue=f(t,e,n)}(t,e,n)})}function f(t,e,n){var o=t.node(n).parent,i=!0,a=e.edge(n,o),s=0;return a||(i=!1,a=e.edge(o,n)),s=a.weight,r.forEach(e.nodeEdges(n),function(r){var a,u,l=r.v===n,c=l?r.w:r.v;if(c!==o){var d=l===i,f=e.edge(r).weight;if(s+=d?f:-f,a=n,u=c,t.hasEdge(a,u)){var h=t.edge(n,c).cutvalue;s+=d?-h:h}}}),s}function h(t,e){arguments.length<2&&(e=t.nodes()[0]),function t(e,n,o,i,a){var s=o;var u=e.node(i);n[i]=!0;r.forEach(e.neighbors(i),function(a){r.has(n,a)||(o=t(e,n,o,a,i))});u.low=s;u.lim=o++;a?u.parent=a:delete u.parent;return o}(t,{},1,e)}function _(t){return r.find(t.edges(),function(e){return t.edge(e).cutvalue<0})}function p(t,e,n){var o=n.v,a=n.w;e.hasEdge(o,a)||(o=n.w,a=n.v);var s=t.node(o),u=t.node(a),l=s,c=!1;s.lim>u.lim&&(l=u,c=!0);var d=r.filter(e.edges(),function(e){return c===g(t,t.node(e.v),l)&&c!==g(t,t.node(e.w),l)});return r.minBy(d,function(t){return i(e,t)})}function v(t,e,n,o){var i=n.v,a=n.w;t.removeEdge(i,a),t.setEdge(o.v,o.w,{}),h(t),d(t,e),function(t,e){var n=r.find(t.nodes(),function(t){return!e.node(t).parent}),o=s(t,n);o=o.slice(1),r.forEach(o,function(n){var r=t.node(n).parent,o=e.edge(n,r),i=!1;o||(o=e.edge(r,n),i=!0),e.node(n).rank=e.node(r).rank+(i?o.minlen:-o.minlen)})}(t,e)}function g(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=c,c.initLowLimValues=h,c.initCutValues=d,c.calcCutValue=f,c.leaveEdge=_,c.enterEdge=p,c.exchangeEdges=v},"./node_modules/_dagre@0.8.5@dagre/lib/rank/util.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js");t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),function n(o){var i=t.node(o);if(r.has(e,o))return i.rank;e[o]=!0;var a=r.min(r.map(t.outEdges(o),function(e){return n(e.w)-t.edge(e).minlen}));a!==Number.POSITIVE_INFINITY&&null!=a||(a=0);return i.rank=a})},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},"./node_modules/_dagre@0.8.5@dagre/lib/util.js":function(t,e,n){"use strict";var r=n("./node_modules/_dagre@0.8.5@dagre/lib/lodash.js"),o=n("./node_modules/_dagre@0.8.5@dagre/lib/graphlib.js").Graph;function i(t,e,n,o){var i;do{i=r.uniqueId(o)}while(t.hasNode(i));return n.dummy=e,t.setNode(i,n),i}function a(t){return r.max(r.map(t.nodes(),function(e){var n=t.node(e).rank;if(!r.isUndefined(n))return n}))}t.exports={addDummyNode:i,simplify:function(t){var e=(new o).setGraph(t.graph());return r.forEach(t.nodes(),function(n){e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){var r=e.edge(n.v,n.w)||{weight:0,minlen:1},o=t.edge(n);e.setEdge(n.v,n.w,{weight:r.weight+o.weight,minlen:Math.max(r.minlen,o.minlen)})}),e},asNonCompoundGraph:function(t){var e=new o({multigraph:t.isMultigraph()}).setGraph(t.graph());return r.forEach(t.nodes(),function(n){t.children(n).length||e.setNode(n,t.node(n))}),r.forEach(t.edges(),function(n){e.setEdge(n,t.edge(n))}),e},successorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.outEdges(e),function(e){n[e.w]=(n[e.w]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},predecessorWeights:function(t){var e=r.map(t.nodes(),function(e){var n={};return r.forEach(t.inEdges(e),function(e){n[e.v]=(n[e.v]||0)+t.edge(e).weight}),n});return r.zipObject(t.nodes(),e)},intersectRect:function(t,e){var n,r,o=t.x,i=t.y,a=e.x-o,s=e.y-i,u=t.width/2,l=t.height/2;if(!a&&!s)throw new Error("Not possible to find intersection inside of the rectangle");Math.abs(s)*u>Math.abs(a)*l?(s<0&&(l=-l),n=l*a/s,r=l):(a<0&&(u=-u),n=u,r=u*s/a);return{x:o+n,y:i+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),function(){return[]});return r.forEach(t.nodes(),function(n){var o=t.node(n),i=o.rank;r.isUndefined(i)||(e[i][o.order]=n)}),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank}));r.forEach(t.nodes(),function(n){var o=t.node(n);r.has(o,"rank")&&(o.rank-=e)})},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),function(e){return t.node(e).rank})),n=[];r.forEach(t.nodes(),function(r){var o=t.node(r).rank-e;n[o]||(n[o]=[]),n[o].push(r)});var o=0,i=t.graph().nodeRankFactor;r.forEach(n,function(e,n){r.isUndefined(e)&&n%i!=0?--o:o&&r.forEach(e,function(e){t.node(e).rank+=o})})},addBorderNode:function(t,e,n,r){var o={width:0,height:0};arguments.length>=4&&(o.rank=n,o.order=r);return i(t,"border",o,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,function(t){e(t)?n.lhs.push(t):n.rhs.push(t)}),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},"./node_modules/_dagre@0.8.5@dagre/lib/version.js":function(t,e){t.exports="0.8.5"},"./node_modules/_graphlib@2.1.8@graphlib/index.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/index.js");t.exports={Graph:r.Graph,json:n("./node_modules/_graphlib@2.1.8@graphlib/lib/json.js"),alg:n("./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":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t){var e,n={},o=[];function i(o){r.has(n,o)||(n[o]=!0,e.push(o),r.each(t.successors(o),i),r.each(t.predecessors(o),i))}return r.each(t.nodes(),function(t){e=[],i(t),e.length&&o.push(e)}),o}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var o=(t.isDirected()?t.successors:t.neighbors).bind(t),i=[],a={};return r.each(e,function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,o,i,a,s){r.has(i,n)||(i[n]=!0,o||s.push(n),r.each(a(n),function(n){t(e,n,o,i,a,s)}),o&&s.push(n))}(t,e,"post"===n,a,o,i)}),i}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),o=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t,e,n){return o.transform(t.nodes(),function(o,i){o[i]=r(t,i,e,n)},{})}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n("./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js");t.exports=function(t,e,n,r){return function(t,e,n,r){var i,a,s={},u=new o,l=function(t){var e=t.v!==i?t.v:t.w,r=s[e],o=n(t),l=a.distance+o;if(o<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+o);l<r.distance&&(r.distance=l,r.predecessor=i,u.decrease(e,l))};t.nodes().forEach(function(t){var n=t===e?0:Number.POSITIVE_INFINITY;s[t]={distance:n},u.add(t,n)});for(;u.size()>0&&(i=u.removeMin(),(a=s[i]).distance!==Number.POSITIVE_INFINITY);)r(i).forEach(l);return s}(t,String(e),n||i,r||function(e){return t.outEdges(e)})};var i=r.constant(1)},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js");t.exports=function(t){return r.filter(o(t),function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])})}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t,e,n){return function(t,e,n){var r={},o=t.nodes();return o.forEach(function(t){r[t]={},r[t][t]={distance:0},o.forEach(function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})}),n(t).forEach(function(n){var o=n.v===t?n.w:n.v,i=e(n);r[t][o]={distance:i,predecessor:t}})}),o.forEach(function(t){var e=r[t];o.forEach(function(n){var i=r[n];o.forEach(function(n){var r=i[t],o=e[n],a=i[n],s=r.distance+o.distance;s<a.distance&&(a.distance=s,a.predecessor=o.predecessor)})})}),r}(t,e||o,n||function(e){return t.outEdges(e)})};var o=r.constant(1)},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/index.js":function(t,e,n){t.exports={components:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/components.js"),dijkstra:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra.js"),dijkstraAll:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dijkstra-all.js"),findCycles:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/find-cycles.js"),floydWarshall:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/floyd-warshall.js"),isAcyclic:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/is-acyclic.js"),postorder:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/postorder.js"),preorder:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/preorder.js"),prim:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/prim.js"),tarjan:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js"),topsort:n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/is-acyclic.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js");t.exports=function(t){try{r(t)}catch(t){if(t instanceof r.CycleException)return!1;throw t}return!0}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/postorder.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js");t.exports=function(t,e){return r(t,e,"post")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/preorder.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/alg/dfs.js");t.exports=function(t,e){return r(t,e,"pre")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/prim.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n("./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),i=n("./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js");t.exports=function(t,e){var n,a=new o,s={},u=new i;function l(t){var r=t.v===n?t.w:t.v,o=u.priority(r);if(void 0!==o){var i=e(t);i<o&&(s[r]=n,u.decrease(r,i))}}if(0===t.nodeCount())return a;r.each(t.nodes(),function(t){u.add(t,Number.POSITIVE_INFINITY),a.setNode(t)}),u.decrease(t.nodes()[0],0);var c=!1;for(;u.size()>0;){if(n=u.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(c)throw new Error("Input graph is not connected: "+t);c=!0}t.nodeEdges(n).forEach(l)}return a}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/tarjan.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=function(t){var e=0,n=[],o={},i=[];return t.nodes().forEach(function(a){r.has(o,a)||function a(s){var u=o[s]={onStack:!0,lowlink:e,index:e++};if(n.push(s),t.successors(s).forEach(function(t){r.has(o,t)?o[t].onStack&&(u.lowlink=Math.min(u.lowlink,o[t].index)):(a(t),u.lowlink=Math.min(u.lowlink,o[t].lowlink))}),u.lowlink===u.index){var l,c=[];do{l=n.pop(),o[l].onStack=!1,c.push(l)}while(s!==l);i.push(c)}}(a)}),i}},"./node_modules/_graphlib@2.1.8@graphlib/lib/alg/topsort.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(t){var e={},n={},o=[];if(r.each(t.sinks(),function a(s){if(r.has(n,s))throw new i;r.has(e,s)||(n[s]=!0,e[s]=!0,r.each(t.predecessors(s),a),delete n[s],o.push(s))}),r.size(e)!==t.nodeCount())throw new i;return o}function i(){}t.exports=o,o.CycleException=i,i.prototype=new Error},"./node_modules/_graphlib@2.1.8@graphlib/lib/data/priority-queue.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");function o(){this._arr=[],this._keyIndices={}}t.exports=o,o.prototype.size=function(){return this._arr.length},o.prototype.keys=function(){return this._arr.map(function(t){return t.key})},o.prototype.has=function(t){return r.has(this._keyIndices,t)},o.prototype.priority=function(t){var e=this._keyIndices[t];if(void 0!==e)return this._arr[e].priority},o.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},o.prototype.add=function(t,e){var n=this._keyIndices;if(t=String(t),!r.has(n,t)){var o=this._arr,i=o.length;return n[t]=i,o.push({key:t,priority:e}),this._decrease(i),!0}return!1},o.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var t=this._arr.pop();return delete this._keyIndices[t.key],this._heapify(0),t.key},o.prototype.decrease=function(t,e){var n=this._keyIndices[t];if(e>this._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},o.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,o=t;n<e.length&&(o=e[n].priority<e[o].priority?n:o,r<e.length&&(o=e[r].priority<e[o].priority?r:o),o!==t&&(this._swap(t,o),this._heapify(o)))},o.prototype._decrease=function(t){for(var e,n=this._arr,r=n[t].priority;0!==t&&!(n[e=t>>1].priority<r);)this._swap(t,e),t=e},o.prototype._swap=function(t,e){var n=this._arr,r=this._keyIndices,o=n[t],i=n[e];n[t]=i,n[e]=o,r[i.key]=t,r[o.key]=e}},"./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js":function(t,e,n){"use strict";var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js");t.exports=s;var o="\0",i="\0",a="";function s(t){this._isDirected=!r.has(t,"directed")||t.directed,this._isMultigraph=!!r.has(t,"multigraph")&&t.multigraph,this._isCompound=!!r.has(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[i]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function u(t,e){t[e]?t[e]++:t[e]=1}function l(t,e){--t[e]||delete t[e]}function c(t,e,n,i){var s=""+e,u=""+n;if(!t&&s>u){var l=s;s=u,u=l}return s+a+u+a+(r.isUndefined(i)?o:i)}function d(t,e){return c(t,e.v,e.w,e.name)}s.prototype._nodeCount=0,s.prototype._edgeCount=0,s.prototype.isDirected=function(){return this._isDirected},s.prototype.isMultigraph=function(){return this._isMultigraph},s.prototype.isCompound=function(){return this._isCompound},s.prototype.setGraph=function(t){return this._label=t,this},s.prototype.graph=function(){return this._label},s.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},s.prototype.nodeCount=function(){return this._nodeCount},s.prototype.nodes=function(){return r.keys(this._nodes)},s.prototype.sources=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._in[e])})},s.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),function(e){return r.isEmpty(t._out[e])})},s.prototype.setNodes=function(t,e){var n=arguments,o=this;return r.each(t,function(t){n.length>1?o.setNode(t,e):o.setNode(t)}),this},s.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=i,this._children[t]={},this._children[i][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},s.prototype.node=function(t){return this._nodes[t]},s.prototype.hasNode=function(t){return r.has(this._nodes,t)},s.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),function(t){e.setParent(t)}),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},s.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e=i;else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},s.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},s.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if(e!==i)return e}},s.prototype.children=function(t){if(r.isUndefined(t)&&(t=i),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if(t===i)return this.nodes();if(this.hasNode(t))return[]}},s.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},s.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},s.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},s.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},s.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){t(r)&&e.setNode(r,n)}),r.each(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))});var o={};return this._isCompound&&r.each(e.nodes(),function(t){e.setParent(t,function t(r){var i=n.parent(r);return void 0===i||e.hasNode(i)?(o[r]=i,i):i in o?o[i]:t(i)}(t))}),e},s.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},s.prototype.edgeCount=function(){return this._edgeCount},s.prototype.edges=function(){return r.values(this._edgeObjs)},s.prototype.setPath=function(t,e){var n=this,o=arguments;return r.reduce(t,function(t,r){return o.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r}),this},s.prototype.setEdge=function(){var t,e,n,o,i=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(o=arguments[1],i=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var s=c(this._isDirected,t,e,n);if(r.has(this._edgeLabels,s))return i&&(this._edgeLabels[s]=o),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=i?o:this._defaultEdgeLabelFn(t,e,n);var l=function(t,e,n,r){var o=""+e,i=""+n;if(!t&&o>i){var a=o;o=i,i=a}var s={v:o,w:i};r&&(s.name=r);return s}(this._isDirected,t,e,n);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[s]=l,u(this._preds[e],t),u(this._sucs[t],e),this._in[e][s]=l,this._out[t][s]=l,this._edgeCount++,this},s.prototype.edge=function(t,e,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):c(this._isDirected,t,e,n);return this._edgeLabels[r]},s.prototype.hasEdge=function(t,e,n){var o=1===arguments.length?d(this._isDirected,arguments[0]):c(this._isDirected,t,e,n);return r.has(this._edgeLabels,o)},s.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?d(this._isDirected,arguments[0]):c(this._isDirected,t,e,n),o=this._edgeObjs[r];return o&&(t=o.v,e=o.w,delete this._edgeLabels[r],delete this._edgeObjs[r],l(this._preds[e],t),l(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},s.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var o=r.values(n);return e?r.filter(o,function(t){return t.v===e}):o}},s.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var o=r.values(n);return e?r.filter(o,function(t){return t.w===e}):o}},s.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},"./node_modules/_graphlib@2.1.8@graphlib/lib/index.js":function(t,e,n){t.exports={Graph:n("./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js"),version:n("./node_modules/_graphlib@2.1.8@graphlib/lib/version.js")}},"./node_modules/_graphlib@2.1.8@graphlib/lib/json.js":function(t,e,n){var r=n("./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js"),o=n("./node_modules/_graphlib@2.1.8@graphlib/lib/graph.js");function i(t){return r.map(t.nodes(),function(e){var n=t.node(e),o=t.parent(e),i={v:e};return r.isUndefined(n)||(i.value=n),r.isUndefined(o)||(i.parent=o),i})}function a(t){return r.map(t.edges(),function(e){var n=t.edge(e),o={v:e.v,w:e.w};return r.isUndefined(e.name)||(o.name=e.name),r.isUndefined(n)||(o.value=n),o})}t.exports={write:function(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:i(t),edges:a(t)};r.isUndefined(t.graph())||(e.value=r.clone(t.graph()));return e},read:function(t){var e=new o(t.options).setGraph(t.value);return r.each(t.nodes,function(t){e.setNode(t.v,t.value),t.parent&&e.setParent(t.v,t.parent)}),r.each(t.edges,function(t){e.setEdge({v:t.v,w:t.w,name:t.name},t.value)}),e}}},"./node_modules/_graphlib@2.1.8@graphlib/lib/lodash.js":function(t,e,n){var r;try{r={clone:n("./node_modules/_lodash@4.17.15@lodash/clone.js"),constant:n("./node_modules/_lodash@4.17.15@lodash/constant.js"),each:n("./node_modules/_lodash@4.17.15@lodash/each.js"),filter:n("./node_modules/_lodash@4.17.15@lodash/filter.js"),has:n("./node_modules/_lodash@4.17.15@lodash/has.js"),isArray:n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),isEmpty:n("./node_modules/_lodash@4.17.15@lodash/isEmpty.js"),isFunction:n("./node_modules/_lodash@4.17.15@lodash/isFunction.js"),isUndefined:n("./node_modules/_lodash@4.17.15@lodash/isUndefined.js"),keys:n("./node_modules/_lodash@4.17.15@lodash/keys.js"),map:n("./node_modules/_lodash@4.17.15@lodash/map.js"),reduce:n("./node_modules/_lodash@4.17.15@lodash/reduce.js"),size:n("./node_modules/_lodash@4.17.15@lodash/size.js"),transform:n("./node_modules/_lodash@4.17.15@lodash/transform.js"),union:n("./node_modules/_lodash@4.17.15@lodash/union.js"),values:n("./node_modules/_lodash@4.17.15@lodash/values.js")}}catch(t){}r||(r=window._),t.exports=r},"./node_modules/_graphlib@2.1.8@graphlib/lib/version.js":function(t,e){t.exports="2.1.8"},"./node_modules/_isarray@0.0.1@isarray/index.js":function(t,e){t.exports=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)}},"./node_modules/_lodash@4.17.15@lodash/_DataView.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js")(n("./node_modules/_lodash@4.17.15@lodash/_root.js"),"DataView");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_Hash.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_hashClear.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_hashDelete.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_hashGet.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_hashHas.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_hashSet.js");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},"./node_modules/_lodash@4.17.15@lodash/_ListCache.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_listCacheClear.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_listCacheDelete.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_listCacheGet.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_listCacheHas.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_listCacheSet.js");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},"./node_modules/_lodash@4.17.15@lodash/_Map.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js")(n("./node_modules/_lodash@4.17.15@lodash/_root.js"),"Map");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_MapCache.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_mapCacheClear.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_mapCacheDelete.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_mapCacheGet.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_mapCacheHas.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_mapCacheSet.js");function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,t.exports=u},"./node_modules/_lodash@4.17.15@lodash/_Promise.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js")(n("./node_modules/_lodash@4.17.15@lodash/_root.js"),"Promise");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_Set.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js")(n("./node_modules/_lodash@4.17.15@lodash/_root.js"),"Set");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_SetCache.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_setCacheAdd.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_setCacheHas.js");function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_Stack.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_stackClear.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_stackDelete.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_stackGet.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_stackHas.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_stackSet.js");function l(t){var e=this.__data__=new r(t);this.size=e.size}l.prototype.clear=o,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=s,l.prototype.set=u,t.exports=l},"./node_modules/_lodash@4.17.15@lodash/_Symbol.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_root.js").Symbol;t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_Uint8Array.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_root.js").Uint8Array;t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_WeakMap.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js")(n("./node_modules/_lodash@4.17.15@lodash/_root.js"),"WeakMap");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_apply.js":function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},"./node_modules/_lodash@4.17.15@lodash/_arrayEach.js":function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},"./node_modules/_lodash@4.17.15@lodash/_arrayFilter.js":function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},"./node_modules/_lodash@4.17.15@lodash/_arrayIncludes.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIndexOf.js");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},"./node_modules/_lodash@4.17.15@lodash/_arrayIncludesWith.js":function(t,e){t.exports=function(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}},"./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseTimes.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArguments.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_isIndex.js"),u=n("./node_modules/_lodash@4.17.15@lodash/isTypedArray.js"),l=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),c=!n&&o(t),d=!n&&!c&&a(t),f=!n&&!c&&!d&&u(t),h=n||c||d||f,_=h?r(t.length,String):[],p=_.length;for(var v in t)!e&&!l.call(t,v)||h&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,p))||_.push(v);return _}},"./node_modules/_lodash@4.17.15@lodash/_arrayMap.js":function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}},"./node_modules/_lodash@4.17.15@lodash/_arrayPush.js":function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},"./node_modules/_lodash@4.17.15@lodash/_arrayReduce.js":function(t,e){t.exports=function(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}},"./node_modules/_lodash@4.17.15@lodash/_arraySome.js":function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},"./node_modules/_lodash@4.17.15@lodash/_asciiSize.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseProperty.js")("length");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_assignMergeValue.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/eq.js");t.exports=function(t,e,n){(void 0===n||o(t[e],n))&&(void 0!==n||e in t)||r(t,e,n)}},"./node_modules/_lodash@4.17.15@lodash/_assignValue.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/eq.js"),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},"./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/eq.js");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},"./node_modules/_lodash@4.17.15@lodash/_baseAssign.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/keys.js");t.exports=function(t,e){return t&&r(e,o(e),t)}},"./node_modules/_lodash@4.17.15@lodash/_baseAssignIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/keysIn.js");t.exports=function(t,e){return t&&r(e,o(e),t)}},"./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_defineProperty.js");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},"./node_modules/_lodash@4.17.15@lodash/_baseClone.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_arrayEach.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_assignValue.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_baseAssign.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_baseAssignIn.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_cloneBuffer.js"),l=n("./node_modules/_lodash@4.17.15@lodash/_copyArray.js"),c=n("./node_modules/_lodash@4.17.15@lodash/_copySymbols.js"),d=n("./node_modules/_lodash@4.17.15@lodash/_copySymbolsIn.js"),f=n("./node_modules/_lodash@4.17.15@lodash/_getAllKeys.js"),h=n("./node_modules/_lodash@4.17.15@lodash/_getAllKeysIn.js"),_=n("./node_modules/_lodash@4.17.15@lodash/_getTag.js"),p=n("./node_modules/_lodash@4.17.15@lodash/_initCloneArray.js"),v=n("./node_modules/_lodash@4.17.15@lodash/_initCloneByTag.js"),g=n("./node_modules/_lodash@4.17.15@lodash/_initCloneObject.js"),m=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),y=n("./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),b=n("./node_modules/_lodash@4.17.15@lodash/isMap.js"),j=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),x=n("./node_modules/_lodash@4.17.15@lodash/isSet.js"),w=n("./node_modules/_lodash@4.17.15@lodash/keys.js"),E=1,M=2,S=4,T="[object Arguments]",P="[object Function]",k="[object GeneratorFunction]",O="[object Object]",C={};C[T]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[O]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[P]=C["[object WeakMap]"]=!1,t.exports=function t(e,n,A,N,I,R){var D,L=n&E,q=n&M,B=n&S;if(A&&(D=I?A(e,N,I,R):A(e)),void 0!==D)return D;if(!j(e))return e;var z=m(e);if(z){if(D=p(e),!L)return l(e,D)}else{var F=_(e),G=F==P||F==k;if(y(e))return u(e,L);if(F==O||F==T||G&&!I){if(D=q||G?{}:g(e),!L)return q?d(e,s(D,e)):c(e,a(D,e))}else{if(!C[F])return I?e:{};D=v(e,F,L)}}R||(R=new r);var V=R.get(e);if(V)return V;R.set(e,D),x(e)?e.forEach(function(r){D.add(t(r,n,A,r,e,R))}):b(e)&&e.forEach(function(r,o){D.set(o,t(r,n,A,o,e,R))});var H=B?q?h:f:q?keysIn:w,U=z?void 0:H(e);return o(U||e,function(r,o){U&&(r=e[o=r]),i(D,o,t(r,n,A,o,e,R))}),D}},"./node_modules/_lodash@4.17.15@lodash/_baseCreate.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_baseEach.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_createBaseEach.js")(r);t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isSymbol.js");t.exports=function(t,e,n){for(var o=-1,i=t.length;++o<i;){var a=t[o],s=e(a);if(null!=s&&(void 0===u?s==s&&!r(s):n(s,u)))var u=s,l=a}return l}},"./node_modules/_lodash@4.17.15@lodash/_baseFilter.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseEach.js");t.exports=function(t,e){var n=[];return r(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}},"./node_modules/_lodash@4.17.15@lodash/_baseFindIndex.js":function(t,e){t.exports=function(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}},"./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayPush.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_isFlattenable.js");t.exports=function t(e,n,i,a,s){var u=-1,l=e.length;for(i||(i=o),s||(s=[]);++u<l;){var c=e[u];n>0&&i(c)?n>1?t(c,n-1,i,a,s):r(s,c):a||(s[s.length]=c)}return s}},"./node_modules/_lodash@4.17.15@lodash/_baseFor.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_createBaseFor.js")();t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFor.js"),o=n("./node_modules/_lodash@4.17.15@lodash/keys.js");t.exports=function(t,e){return t&&r(t,e,o)}},"./node_modules/_lodash@4.17.15@lodash/_baseGet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_castPath.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_toKey.js");t.exports=function(t,e){for(var n=0,i=(e=r(e,t)).length;null!=t&&n<i;)t=t[o(e[n++])];return n&&n==i?t:void 0}},"./node_modules/_lodash@4.17.15@lodash/_baseGetAllKeys.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayPush.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArray.js");t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},"./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Symbol.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getRawTag.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_objectToString.js"),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?s:a:u&&u in Object(t)?o(t):i(t)}},"./node_modules/_lodash@4.17.15@lodash/_baseGt.js":function(t,e){t.exports=function(t,e){return t>e}},"./node_modules/_lodash@4.17.15@lodash/_baseHas.js":function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t,e){return null!=t&&n.call(t,e)}},"./node_modules/_lodash@4.17.15@lodash/_baseHasIn.js":function(t,e){t.exports=function(t,e){return null!=t&&e in Object(t)}},"./node_modules/_lodash@4.17.15@lodash/_baseIndexOf.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFindIndex.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseIsNaN.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_strictIndexOf.js");t.exports=function(t,e,n){return e==e?i(t,e,n):r(t,o,n)}},"./node_modules/_lodash@4.17.15@lodash/_baseIsArguments.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Arguments]";t.exports=function(t){return o(t)&&r(t)==i}},"./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js");t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!=e&&n!=n:r(e,n,i,a,t,s))}},"./node_modules/_lodash@4.17.15@lodash/_baseIsEqualDeep.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_equalArrays.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_equalByTag.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_equalObjects.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_getTag.js"),u=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),l=n("./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),c=n("./node_modules/_lodash@4.17.15@lodash/isTypedArray.js"),d=1,f="[object Arguments]",h="[object Array]",_="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,v,g,m){var y=u(t),b=u(e),j=y?h:s(t),x=b?h:s(e),w=(j=j==f?_:j)==_,E=(x=x==f?_:x)==_,M=j==x;if(M&&l(t)){if(!l(e))return!1;y=!0,w=!1}if(M&&!w)return m||(m=new r),y||c(t)?o(t,e,n,v,g,m):i(t,e,j,n,v,g,m);if(!(n&d)){var S=w&&p.call(t,"__wrapped__"),T=E&&p.call(e,"__wrapped__");if(S||T){var P=S?t.value():t,k=T?e.value():e;return m||(m=new r),g(P,k,n,v,m)}}return!!M&&(m||(m=new r),a(t,e,n,v,g,m))}},"./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Map]";t.exports=function(t){return o(t)&&r(t)==i}},"./node_modules/_lodash@4.17.15@lodash/_baseIsMatch.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js"),i=1,a=2;t.exports=function(t,e,n,s){var u=n.length,l=u,c=!s;if(null==t)return!l;for(t=Object(t);u--;){var d=n[u];if(c&&d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++u<l;){var f=(d=n[u])[0],h=t[f],_=d[1];if(c&&d[2]){if(void 0===h&&!(f in t))return!1}else{var p=new r;if(s)var v=s(h,_,f,t,e,p);if(!(void 0===v?o(_,h,i|a,s,p):v))return!1}}return!0}},"./node_modules/_lodash@4.17.15@lodash/_baseIsNaN.js":function(t,e){t.exports=function(t){return t!=t}},"./node_modules/_lodash@4.17.15@lodash/_baseIsNative.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isFunction.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_isMasked.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_toSource.js"),s=/^\[object .+?Constructor\]$/,u=Function.prototype,l=Object.prototype,c=u.toString,d=l.hasOwnProperty,f=RegExp("^"+c.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?f:s).test(a(t))}},"./node_modules/_lodash@4.17.15@lodash/_baseIsSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Set]";t.exports=function(t){return o(t)&&r(t)==i}},"./node_modules/_lodash@4.17.15@lodash/_baseIsTypedArray.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isLength.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},"./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseMatches.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseMatchesProperty.js"),i=n("./node_modules/_lodash@4.17.15@lodash/identity.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),s=n("./node_modules/_lodash@4.17.15@lodash/property.js");t.exports=function(t){return"function"==typeof t?t:null==t?i:"object"==typeof t?a(t)?o(t[0],t[1]):r(t):s(t)}},"./node_modules/_lodash@4.17.15@lodash/_baseKeys.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_isPrototype.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_nativeKeys.js"),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},"./node_modules/_lodash@4.17.15@lodash/_baseKeysIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_isPrototype.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_nativeKeysIn.js"),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},"./node_modules/_lodash@4.17.15@lodash/_baseLt.js":function(t,e){t.exports=function(t,e){return t<e}},"./node_modules/_lodash@4.17.15@lodash/_baseMap.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseEach.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");t.exports=function(t,e){var n=-1,i=o(t)?Array(t.length):[];return r(t,function(t,r,o){i[++n]=e(t,r,o)}),i}},"./node_modules/_lodash@4.17.15@lodash/_baseMatches.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsMatch.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getMatchData.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js");t.exports=function(t){var e=o(t);return 1==e.length&&e[0][2]?i(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},"./node_modules/_lodash@4.17.15@lodash/_baseMatchesProperty.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsEqual.js"),o=n("./node_modules/_lodash@4.17.15@lodash/get.js"),i=n("./node_modules/_lodash@4.17.15@lodash/hasIn.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_isKey.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_isStrictComparable.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js"),l=n("./node_modules/_lodash@4.17.15@lodash/_toKey.js"),c=1,d=2;t.exports=function(t,e){return a(t)&&s(e)?u(l(t),e):function(n){var a=o(n,t);return void 0===a&&a===e?i(n,t):r(e,a,c|d)}}},"./node_modules/_lodash@4.17.15@lodash/_baseMerge.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Stack.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_assignMergeValue.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseFor.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_baseMergeDeep.js"),s=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),u=n("./node_modules/_lodash@4.17.15@lodash/keysIn.js"),l=n("./node_modules/_lodash@4.17.15@lodash/_safeGet.js");t.exports=function t(e,n,c,d,f){e!==n&&i(n,function(i,u){if(f||(f=new r),s(i))a(e,n,u,c,t,d,f);else{var h=d?d(l(e,u),i,u+"",e,n,f):void 0;void 0===h&&(h=i),o(e,u,h)}},u)}},"./node_modules/_lodash@4.17.15@lodash/_baseMergeDeep.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assignMergeValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_cloneBuffer.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_cloneTypedArray.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_copyArray.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_initCloneObject.js"),u=n("./node_modules/_lodash@4.17.15@lodash/isArguments.js"),l=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),c=n("./node_modules/_lodash@4.17.15@lodash/isArrayLikeObject.js"),d=n("./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),f=n("./node_modules/_lodash@4.17.15@lodash/isFunction.js"),h=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),_=n("./node_modules/_lodash@4.17.15@lodash/isPlainObject.js"),p=n("./node_modules/_lodash@4.17.15@lodash/isTypedArray.js"),v=n("./node_modules/_lodash@4.17.15@lodash/_safeGet.js"),g=n("./node_modules/_lodash@4.17.15@lodash/toPlainObject.js");t.exports=function(t,e,n,m,y,b,j){var x=v(t,n),w=v(e,n),E=j.get(w);if(E)r(t,n,E);else{var M=b?b(x,w,n+"",t,e,j):void 0,S=void 0===M;if(S){var T=l(w),P=!T&&d(w),k=!T&&!P&&p(w);M=w,T||P||k?l(x)?M=x:c(x)?M=a(x):P?(S=!1,M=o(w,!0)):k?(S=!1,M=i(w,!0)):M=[]:_(w)||u(w)?(M=x,u(x)?M=g(x):h(x)&&!f(x)||(M=s(w))):S=!1}S&&(j.set(w,M),y(M,w,m,b,j),j.delete(w)),r(t,n,M)}}},"./node_modules/_lodash@4.17.15@lodash/_baseOrderBy.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayMap.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseMap.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_baseSortBy.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_compareMultiple.js"),l=n("./node_modules/_lodash@4.17.15@lodash/identity.js");t.exports=function(t,e,n){var c=-1;e=r(e.length?e:[l],s(o));var d=i(t,function(t,n,o){return{criteria:r(e,function(e){return e(t)}),index:++c,value:t}});return a(d,function(t,e){return u(t,e,n)})}},"./node_modules/_lodash@4.17.15@lodash/_basePick.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_basePickBy.js"),o=n("./node_modules/_lodash@4.17.15@lodash/hasIn.js");t.exports=function(t,e){return r(t,e,function(e,n){return o(t,n)})}},"./node_modules/_lodash@4.17.15@lodash/_basePickBy.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGet.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseSet.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_castPath.js");t.exports=function(t,e,n){for(var a=-1,s=e.length,u={};++a<s;){var l=e[a],c=r(t,l);n(c,l)&&o(u,i(l,t),c)}return u}},"./node_modules/_lodash@4.17.15@lodash/_baseProperty.js":function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},"./node_modules/_lodash@4.17.15@lodash/_basePropertyDeep.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGet.js");t.exports=function(t){return function(e){return r(e,t)}}},"./node_modules/_lodash@4.17.15@lodash/_baseRange.js":function(t,e){var n=Math.ceil,r=Math.max;t.exports=function(t,e,o,i){for(var a=-1,s=r(n((e-t)/(o||1)),0),u=Array(s);s--;)u[i?s:++a]=t,t+=o;return u}},"./node_modules/_lodash@4.17.15@lodash/_baseReduce.js":function(t,e){t.exports=function(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}},"./node_modules/_lodash@4.17.15@lodash/_baseRest.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/identity.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_overRest.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_setToString.js");t.exports=function(t,e){return i(o(t,e,r),t+"")}},"./node_modules/_lodash@4.17.15@lodash/_baseSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assignValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_castPath.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_isIndex.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_toKey.js");t.exports=function(t,e,n,u){if(!a(t))return t;for(var l=-1,c=(e=o(e,t)).length,d=c-1,f=t;null!=f&&++l<c;){var h=s(e[l]),_=n;if(l!=d){var p=f[h];void 0===(_=u?u(p,h,f):void 0)&&(_=a(p)?p:i(e[l+1])?[]:{})}r(f,h,_),f=f[h]}return t}},"./node_modules/_lodash@4.17.15@lodash/_baseSetToString.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/constant.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_defineProperty.js"),i=n("./node_modules/_lodash@4.17.15@lodash/identity.js"),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_baseSortBy.js":function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"./node_modules/_lodash@4.17.15@lodash/_baseTimes.js":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},"./node_modules/_lodash@4.17.15@lodash/_baseToString.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Symbol.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_arrayMap.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isSymbol.js"),s=1/0,u=r?r.prototype:void 0,l=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(i(e))return o(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-s?"-0":n}},"./node_modules/_lodash@4.17.15@lodash/_baseUnary.js":function(t,e){t.exports=function(t){return function(e){return t(e)}}},"./node_modules/_lodash@4.17.15@lodash/_baseUniq.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_SetCache.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_arrayIncludes.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_arrayIncludesWith.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_cacheHas.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_createSet.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_setToArray.js"),l=200;t.exports=function(t,e,n){var c=-1,d=o,f=t.length,h=!0,_=[],p=_;if(n)h=!1,d=i;else if(f>=l){var v=e?null:s(t);if(v)return u(v);h=!1,d=a,p=new r}else p=e?[]:_;t:for(;++c<f;){var g=t[c],m=e?e(g):g;if(g=n||0!==g?g:0,h&&m==m){for(var y=p.length;y--;)if(p[y]===m)continue t;e&&p.push(m),_.push(g)}else d(p,m,n)||(p!==_&&p.push(m),_.push(g))}return _}},"./node_modules/_lodash@4.17.15@lodash/_baseValues.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayMap.js");t.exports=function(t,e){return r(e,function(e){return t[e]})}},"./node_modules/_lodash@4.17.15@lodash/_baseZipObject.js":function(t,e){t.exports=function(t,e,n){for(var r=-1,o=t.length,i=e.length,a={};++r<o;){var s=r<i?e[r]:void 0;n(a,t[r],s)}return a}},"./node_modules/_lodash@4.17.15@lodash/_cacheHas.js":function(t,e){t.exports=function(t,e){return t.has(e)}},"./node_modules/_lodash@4.17.15@lodash/_castFunction.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/identity.js");t.exports=function(t){return"function"==typeof t?t:r}},"./node_modules/_lodash@4.17.15@lodash/_castPath.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_isKey.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_stringToPath.js"),a=n("./node_modules/_lodash@4.17.15@lodash/toString.js");t.exports=function(t,e){return r(t)?t:o(t,e)?[t]:i(a(t))}},"./node_modules/_lodash@4.17.15@lodash/_cloneArrayBuffer.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Uint8Array.js");t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},"./node_modules/_lodash@4.17.15@lodash/_cloneBuffer.js":function(t,e,n){(function(t){var r=n("./node_modules/_lodash@4.17.15@lodash/_root.js"),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n("./node_modules/_webpack@4.42.1@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.15@lodash/_cloneDataView.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_cloneArrayBuffer.js");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},"./node_modules/_lodash@4.17.15@lodash/_cloneRegExp.js":function(t,e){var n=/\w*$/;t.exports=function(t){var e=new t.constructor(t.source,n.exec(t));return e.lastIndex=t.lastIndex,e}},"./node_modules/_lodash@4.17.15@lodash/_cloneSymbol.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Symbol.js"),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},"./node_modules/_lodash@4.17.15@lodash/_cloneTypedArray.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_cloneArrayBuffer.js");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},"./node_modules/_lodash@4.17.15@lodash/_compareAscending.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isSymbol.js");t.exports=function(t,e){if(t!==e){var n=void 0!==t,o=null===t,i=t==t,a=r(t),s=void 0!==e,u=null===e,l=e==e,c=r(e);if(!u&&!c&&!a&&t>e||a&&s&&l&&!u&&!c||o&&s&&l||!n&&l||!i)return 1;if(!o&&!a&&!c&&t<e||c&&n&&i&&!o&&!a||u&&n&&i||!s&&i||!l)return-1}return 0}},"./node_modules/_lodash@4.17.15@lodash/_compareMultiple.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_compareAscending.js");t.exports=function(t,e,n){for(var o=-1,i=t.criteria,a=e.criteria,s=i.length,u=n.length;++o<s;){var l=r(i[o],a[o]);if(l)return o>=u?l:l*("desc"==n[o]?-1:1)}return t.index-e.index}},"./node_modules/_lodash@4.17.15@lodash/_copyArray.js":function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},"./node_modules/_lodash@4.17.15@lodash/_copyObject.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assignValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js");t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var s=-1,u=e.length;++s<u;){var l=e[s],c=i?i(n[l],t[l],l,n,t):void 0;void 0===c&&(c=t[l]),a?o(n,l,c):r(n,l,c)}return n}},"./node_modules/_lodash@4.17.15@lodash/_copySymbols.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getSymbols.js");t.exports=function(t,e){return r(t,o(t),e)}},"./node_modules/_lodash@4.17.15@lodash/_copySymbolsIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getSymbolsIn.js");t.exports=function(t,e){return r(t,o(t),e)}},"./node_modules/_lodash@4.17.15@lodash/_coreJsData.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_root.js")["__core-js_shared__"];t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_createAssigner.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js");t.exports=function(t){return r(function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e})}},"./node_modules/_lodash@4.17.15@lodash/_createBaseEach.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");t.exports=function(t,e){return function(n,o){if(null==n)return n;if(!r(n))return t(n,o);for(var i=n.length,a=e?i:-1,s=Object(n);(e?a--:++a<i)&&!1!==o(s[a],a,s););return n}}},"./node_modules/_lodash@4.17.15@lodash/_createBaseFor.js":function(t,e){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++o];if(!1===n(i[u],u,i))break}return e}}},"./node_modules/_lodash@4.17.15@lodash/_createFind.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),i=n("./node_modules/_lodash@4.17.15@lodash/keys.js");t.exports=function(t){return function(e,n,a){var s=Object(e);if(!o(e)){var u=r(n,3);e=i(e),n=function(t){return u(s[t],t,s)}}var l=t(e,n,a);return l>-1?s[u?e[l]:l]:void 0}}},"./node_modules/_lodash@4.17.15@lodash/_createRange.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseRange.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),i=n("./node_modules/_lodash@4.17.15@lodash/toFinite.js");t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&o(e,n,a)&&(n=a=void 0),e=i(e),void 0===n?(n=e,e=0):n=i(n),a=void 0===a?e<n?1:-1:i(a),r(e,n,a,t)}}},"./node_modules/_lodash@4.17.15@lodash/_createSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Set.js"),o=n("./node_modules/_lodash@4.17.15@lodash/noop.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_setToArray.js"),a=r&&1/i(new r([,-0]))[1]==1/0?function(t){return new r(t)}:o;t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_defineProperty.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js"),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_equalArrays.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_SetCache.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_arraySome.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_cacheHas.js"),a=1,s=2;t.exports=function(t,e,n,u,l,c){var d=n&a,f=t.length,h=e.length;if(f!=h&&!(d&&h>f))return!1;var _=c.get(t);if(_&&c.get(e))return _==e;var p=-1,v=!0,g=n&s?new r:void 0;for(c.set(t,e),c.set(e,t);++p<f;){var m=t[p],y=e[p];if(u)var b=d?u(y,m,p,e,t,c):u(m,y,p,t,e,c);if(void 0!==b){if(b)continue;v=!1;break}if(g){if(!o(e,function(t,e){if(!i(g,e)&&(m===t||l(m,t,n,u,c)))return g.push(e)})){v=!1;break}}else if(m!==y&&!l(m,y,n,u,c)){v=!1;break}}return c.delete(t),c.delete(e),v}},"./node_modules/_lodash@4.17.15@lodash/_equalByTag.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Symbol.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_Uint8Array.js"),i=n("./node_modules/_lodash@4.17.15@lodash/eq.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_equalArrays.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_mapToArray.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_setToArray.js"),l=1,c=2,d="[object Boolean]",f="[object Date]",h="[object Error]",_="[object Map]",p="[object Number]",v="[object RegExp]",g="[object Set]",m="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",j="[object DataView]",x=r?r.prototype:void 0,w=x?x.valueOf:void 0;t.exports=function(t,e,n,r,x,E,M){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case b:return!(t.byteLength!=e.byteLength||!E(new o(t),new o(e)));case d:case f:case p:return i(+t,+e);case h:return t.name==e.name&&t.message==e.message;case v:case m:return t==e+"";case _:var S=s;case g:var T=r&l;if(S||(S=u),t.size!=e.size&&!T)return!1;var P=M.get(t);if(P)return P==e;r|=c,M.set(t,e);var k=a(S(t),S(e),r,x,E,M);return M.delete(t),k;case y:if(w)return w.call(t)==w.call(e)}return!1}},"./node_modules/_lodash@4.17.15@lodash/_equalObjects.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getAllKeys.js"),o=1,i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,a,s,u){var l=n&o,c=r(t),d=c.length;if(d!=r(e).length&&!l)return!1;for(var f=d;f--;){var h=c[f];if(!(l?h in e:i.call(e,h)))return!1}var _=u.get(t);if(_&&u.get(e))return _==e;var p=!0;u.set(t,e),u.set(e,t);for(var v=l;++f<d;){var g=t[h=c[f]],m=e[h];if(a)var y=l?a(m,g,h,e,t,u):a(g,m,h,t,e,u);if(!(void 0===y?g===m||s(g,m,n,a,u):y)){p=!1;break}v||(v="constructor"==h)}if(p&&!v){var b=t.constructor,j=e.constructor;b!=j&&"constructor"in t&&"constructor"in e&&!("function"==typeof b&&b instanceof b&&"function"==typeof j&&j instanceof j)&&(p=!1)}return u.delete(t),u.delete(e),p}},"./node_modules/_lodash@4.17.15@lodash/_flatRest.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/flatten.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_overRest.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_setToString.js");t.exports=function(t){return i(o(t,void 0,r),t+"")}},"./node_modules/_lodash@4.17.15@lodash/_freeGlobal.js":function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n("./node_modules/_webpack@4.42.1@webpack/buildin/global.js"))},"./node_modules/_lodash@4.17.15@lodash/_getAllKeys.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetAllKeys.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getSymbols.js"),i=n("./node_modules/_lodash@4.17.15@lodash/keys.js");t.exports=function(t){return r(t,i,o)}},"./node_modules/_lodash@4.17.15@lodash/_getAllKeysIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetAllKeys.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getSymbolsIn.js"),i=n("./node_modules/_lodash@4.17.15@lodash/keysIn.js");t.exports=function(t){return r(t,i,o)}},"./node_modules/_lodash@4.17.15@lodash/_getMapData.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_isKeyable.js");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},"./node_modules/_lodash@4.17.15@lodash/_getMatchData.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_isStrictComparable.js"),o=n("./node_modules/_lodash@4.17.15@lodash/keys.js");t.exports=function(t){for(var e=o(t),n=e.length;n--;){var i=e[n],a=t[i];e[n]=[i,a,r(a)]}return e}},"./node_modules/_lodash@4.17.15@lodash/_getNative.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsNative.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getValue.js");t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},"./node_modules/_lodash@4.17.15@lodash/_getPrototype.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_overArg.js")(Object.getPrototypeOf,Object);t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_getRawTag.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Symbol.js"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},"./node_modules/_lodash@4.17.15@lodash/_getSymbols.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayFilter.js"),o=n("./node_modules/_lodash@4.17.15@lodash/stubArray.js"),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return i.call(t,e)}))}:o;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/_getSymbolsIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayPush.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_getSymbols.js"),a=n("./node_modules/_lodash@4.17.15@lodash/stubArray.js"),s=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:a;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/_getTag.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_DataView.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_Map.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_Promise.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_Set.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_WeakMap.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),l=n("./node_modules/_lodash@4.17.15@lodash/_toSource.js"),c=l(r),d=l(o),f=l(i),h=l(a),_=l(s),p=u;(r&&"[object DataView]"!=p(new r(new ArrayBuffer(1)))||o&&"[object Map]"!=p(new o)||i&&"[object Promise]"!=p(i.resolve())||a&&"[object Set]"!=p(new a)||s&&"[object WeakMap]"!=p(new s))&&(p=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?l(n):"";if(r)switch(r){case c:return"[object DataView]";case d:return"[object Map]";case f:return"[object Promise]";case h:return"[object Set]";case _:return"[object WeakMap]"}return e}),t.exports=p},"./node_modules/_lodash@4.17.15@lodash/_getValue.js":function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},"./node_modules/_lodash@4.17.15@lodash/_hasPath.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_castPath.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArguments.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_isIndex.js"),s=n("./node_modules/_lodash@4.17.15@lodash/isLength.js"),u=n("./node_modules/_lodash@4.17.15@lodash/_toKey.js");t.exports=function(t,e,n){for(var l=-1,c=(e=r(e,t)).length,d=!1;++l<c;){var f=u(e[l]);if(!(d=null!=t&&n(t,f)))break;t=t[f]}return d||++l!=c?d:!!(c=null==t?0:t.length)&&s(c)&&a(f,c)&&(i(t)||o(t))}},"./node_modules/_lodash@4.17.15@lodash/_hasUnicode.js":function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},"./node_modules/_lodash@4.17.15@lodash/_hashClear.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},"./node_modules/_lodash@4.17.15@lodash/_hashDelete.js":function(t,e){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},"./node_modules/_lodash@4.17.15@lodash/_hashGet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js"),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return n===o?void 0:n}return i.call(e,t)?e[t]:void 0}},"./node_modules/_lodash@4.17.15@lodash/_hashHas.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js"),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},"./node_modules/_lodash@4.17.15@lodash/_hashSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js"),o="__lodash_hash_undefined__";t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?o:e,this}},"./node_modules/_lodash@4.17.15@lodash/_initCloneArray.js":function(t,e){var n=Object.prototype.hasOwnProperty;t.exports=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&n.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},"./node_modules/_lodash@4.17.15@lodash/_initCloneByTag.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_cloneArrayBuffer.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_cloneDataView.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_cloneRegExp.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_cloneSymbol.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_cloneTypedArray.js"),u="[object Boolean]",l="[object Date]",c="[object Map]",d="[object Number]",f="[object RegExp]",h="[object Set]",_="[object String]",p="[object Symbol]",v="[object ArrayBuffer]",g="[object DataView]",m="[object Float32Array]",y="[object Float64Array]",b="[object Int8Array]",j="[object Int16Array]",x="[object Int32Array]",w="[object Uint8Array]",E="[object Uint8ClampedArray]",M="[object Uint16Array]",S="[object Uint32Array]";t.exports=function(t,e,n){var T=t.constructor;switch(e){case v:return r(t);case u:case l:return new T(+t);case g:return o(t,n);case m:case y:case b:case j:case x:case w:case E:case M:case S:return s(t,n);case c:return new T;case d:case _:return new T(t);case f:return i(t);case h:return new T;case p:return a(t)}}},"./node_modules/_lodash@4.17.15@lodash/_initCloneObject.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseCreate.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_isPrototype.js");t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},"./node_modules/_lodash@4.17.15@lodash/_isFlattenable.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Symbol.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArguments.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return i(t)||o(t)||!!(a&&t&&t[a])}},"./node_modules/_lodash@4.17.15@lodash/_isIndex.js":function(t,e){var n=9007199254740991,r=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var o=typeof t;return!!(e=null==e?n:e)&&("number"==o||"symbol"!=o&&r.test(t))&&t>-1&&t%1==0&&t<e}},"./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/eq.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_isIndex.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isObject.js");t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?o(n)&&i(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},"./node_modules/_lodash@4.17.15@lodash/_isKey.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isSymbol.js"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.exports=function(t,e){if(r(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||a.test(t)||!i.test(t)||null!=e&&t in Object(e)}},"./node_modules/_lodash@4.17.15@lodash/_isKeyable.js":function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},"./node_modules/_lodash@4.17.15@lodash/_isMasked.js":function(t,e,n){var r,o=n("./node_modules/_lodash@4.17.15@lodash/_coreJsData.js"),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},"./node_modules/_lodash@4.17.15@lodash/_isPrototype.js":function(t,e){var n=Object.prototype;t.exports=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},"./node_modules/_lodash@4.17.15@lodash/_isStrictComparable.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isObject.js");t.exports=function(t){return t==t&&!r(t)}},"./node_modules/_lodash@4.17.15@lodash/_listCacheClear.js":function(t,e){t.exports=function(){this.__data__=[],this.size=0}},"./node_modules/_lodash@4.17.15@lodash/_listCacheDelete.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js"),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},"./node_modules/_lodash@4.17.15@lodash/_listCacheGet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js");t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},"./node_modules/_lodash@4.17.15@lodash/_listCacheHas.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js");t.exports=function(t){return r(this.__data__,t)>-1}},"./node_modules/_lodash@4.17.15@lodash/_listCacheSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assocIndexOf.js");t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},"./node_modules/_lodash@4.17.15@lodash/_mapCacheClear.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_Hash.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_Map.js");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},"./node_modules/_lodash@4.17.15@lodash/_mapCacheDelete.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getMapData.js");t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},"./node_modules/_lodash@4.17.15@lodash/_mapCacheGet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getMapData.js");t.exports=function(t){return r(this,t).get(t)}},"./node_modules/_lodash@4.17.15@lodash/_mapCacheHas.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getMapData.js");t.exports=function(t){return r(this,t).has(t)}},"./node_modules/_lodash@4.17.15@lodash/_mapCacheSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getMapData.js");t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},"./node_modules/_lodash@4.17.15@lodash/_mapToArray.js":function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},"./node_modules/_lodash@4.17.15@lodash/_matchesStrictComparable.js":function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},"./node_modules/_lodash@4.17.15@lodash/_memoizeCapped.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/memoize.js"),o=500;t.exports=function(t){var e=r(t,function(t){return n.size===o&&n.clear(),t}),n=e.cache;return e}},"./node_modules/_lodash@4.17.15@lodash/_nativeCreate.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_getNative.js")(Object,"create");t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_nativeKeys.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_overArg.js")(Object.keys,Object);t.exports=r},"./node_modules/_lodash@4.17.15@lodash/_nativeKeysIn.js":function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},"./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js":function(t,e,n){(function(t){var r=n("./node_modules/_lodash@4.17.15@lodash/_freeGlobal.js"),o=e&&!e.nodeType&&e,i=o&&"object"==typeof t&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,n("./node_modules/_webpack@4.42.1@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.15@lodash/_objectToString.js":function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},"./node_modules/_lodash@4.17.15@lodash/_overArg.js":function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},"./node_modules/_lodash@4.17.15@lodash/_overRest.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_apply.js"),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,s=o(i.length-e,0),u=Array(s);++a<s;)u[a]=i[e+a];a=-1;for(var l=Array(e+1);++a<e;)l[a]=i[a];return l[e]=n(u),r(t,this,l)}}},"./node_modules/_lodash@4.17.15@lodash/_root.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_freeGlobal.js"),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},"./node_modules/_lodash@4.17.15@lodash/_safeGet.js":function(t,e){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},"./node_modules/_lodash@4.17.15@lodash/_setCacheAdd.js":function(t,e){var n="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,n),this}},"./node_modules/_lodash@4.17.15@lodash/_setCacheHas.js":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"./node_modules/_lodash@4.17.15@lodash/_setToArray.js":function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},"./node_modules/_lodash@4.17.15@lodash/_setToString.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseSetToString.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_shortOut.js")(r);t.exports=o},"./node_modules/_lodash@4.17.15@lodash/_shortOut.js":function(t,e){var n=800,r=16,o=Date.now;t.exports=function(t){var e=0,i=0;return function(){var a=o(),s=r-(a-i);if(i=a,s>0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"./node_modules/_lodash@4.17.15@lodash/_stackClear.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_ListCache.js");t.exports=function(){this.__data__=new r,this.size=0}},"./node_modules/_lodash@4.17.15@lodash/_stackDelete.js":function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},"./node_modules/_lodash@4.17.15@lodash/_stackGet.js":function(t,e){t.exports=function(t){return this.__data__.get(t)}},"./node_modules/_lodash@4.17.15@lodash/_stackHas.js":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"./node_modules/_lodash@4.17.15@lodash/_stackSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_ListCache.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_Map.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),a=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(t,e),this.size=n.size,this}},"./node_modules/_lodash@4.17.15@lodash/_strictIndexOf.js":function(t,e){t.exports=function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}},"./node_modules/_lodash@4.17.15@lodash/_stringSize.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_asciiSize.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_hasUnicode.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_unicodeSize.js");t.exports=function(t){return o(t)?i(t):r(t)}},"./node_modules/_lodash@4.17.15@lodash/_stringToPath.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_memoizeCapped.js"),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,function(t,n,r,o){e.push(r?o.replace(i,"$1"):n||t)}),e});t.exports=a},"./node_modules/_lodash@4.17.15@lodash/_toKey.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isSymbol.js"),o=1/0;t.exports=function(t){if("string"==typeof t||r(t))return t;var e=t+"";return"0"==e&&1/t==-o?"-0":e}},"./node_modules/_lodash@4.17.15@lodash/_toSource.js":function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},"./node_modules/_lodash@4.17.15@lodash/_unicodeSize.js":function(t,e){var n="[\\ud800-\\udfff]",r="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",o="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",s="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+r+"|"+o+")"+"?",l="[\\ufe0e\\ufe0f]?"+u+("(?:\\u200d(?:"+[i,a,s].join("|")+")[\\ufe0e\\ufe0f]?"+u+")*"),c="(?:"+[i+r+"?",r,a,s,n].join("|")+")",d=RegExp(o+"(?="+o+")|"+c+l,"g");t.exports=function(t){for(var e=d.lastIndex=0;d.test(t);)++e;return e}},"./node_modules/_lodash@4.17.15@lodash/clone.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseClone.js"),o=4;t.exports=function(t){return r(t,o)}},"./node_modules/_lodash@4.17.15@lodash/cloneDeep.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseClone.js"),o=1,i=4;t.exports=function(t){return r(t,o|i)}},"./node_modules/_lodash@4.17.15@lodash/constant.js":function(t,e){t.exports=function(t){return function(){return t}}},"./node_modules/_lodash@4.17.15@lodash/defaults.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),o=n("./node_modules/_lodash@4.17.15@lodash/eq.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),a=n("./node_modules/_lodash@4.17.15@lodash/keysIn.js"),s=Object.prototype,u=s.hasOwnProperty,l=r(function(t,e){t=Object(t);var n=-1,r=e.length,l=r>2?e[2]:void 0;for(l&&i(e[0],e[1],l)&&(r=1);++n<r;)for(var c=e[n],d=a(c),f=-1,h=d.length;++f<h;){var _=d[f],p=t[_];(void 0===p||o(p,s[_])&&!u.call(t,_))&&(t[_]=c[_])}return t});t.exports=l},"./node_modules/_lodash@4.17.15@lodash/each.js":function(t,e,n){t.exports=n("./node_modules/_lodash@4.17.15@lodash/forEach.js")},"./node_modules/_lodash@4.17.15@lodash/eq.js":function(t,e){t.exports=function(t,e){return t===e||t!=t&&e!=e}},"./node_modules/_lodash@4.17.15@lodash/filter.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayFilter.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseFilter.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isArray.js");t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},"./node_modules/_lodash@4.17.15@lodash/find.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_createFind.js")(n("./node_modules/_lodash@4.17.15@lodash/findIndex.js"));t.exports=r},"./node_modules/_lodash@4.17.15@lodash/findIndex.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFindIndex.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n("./node_modules/_lodash@4.17.15@lodash/toInteger.js"),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var u=null==n?0:i(n);return u<0&&(u=a(s+u,0)),r(t,o(e,3),u)}},"./node_modules/_lodash@4.17.15@lodash/flatten.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},"./node_modules/_lodash@4.17.15@lodash/forEach.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayEach.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseEach.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_castFunction.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isArray.js");t.exports=function(t,e){return(a(t)?r:o)(t,i(e))}},"./node_modules/_lodash@4.17.15@lodash/forIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFor.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_castFunction.js"),i=n("./node_modules/_lodash@4.17.15@lodash/keysIn.js");t.exports=function(t,e){return null==t?t:r(t,o(e),i)}},"./node_modules/_lodash@4.17.15@lodash/get.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGet.js");t.exports=function(t,e,n){var o=null==t?void 0:r(t,e);return void 0===o?n:o}},"./node_modules/_lodash@4.17.15@lodash/has.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseHas.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_hasPath.js");t.exports=function(t,e){return null!=t&&o(t,e,r)}},"./node_modules/_lodash@4.17.15@lodash/hasIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseHasIn.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_hasPath.js");t.exports=function(t,e){return null!=t&&o(t,e,r)}},"./node_modules/_lodash@4.17.15@lodash/identity.js":function(t,e){t.exports=function(t){return t}},"./node_modules/_lodash@4.17.15@lodash/isArguments.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsArguments.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=u},"./node_modules/_lodash@4.17.15@lodash/isArray.js":function(t,e){var n=Array.isArray;t.exports=n},"./node_modules/_lodash@4.17.15@lodash/isArrayLike.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isFunction.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isLength.js");t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},"./node_modules/_lodash@4.17.15@lodash/isArrayLikeObject.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js");t.exports=function(t){return o(t)&&r(t)}},"./node_modules/_lodash@4.17.15@lodash/isBuffer.js":function(t,e,n){(function(t){var r=n("./node_modules/_lodash@4.17.15@lodash/_root.js"),o=n("./node_modules/_lodash@4.17.15@lodash/stubFalse.js"),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,u=(s?s.isBuffer:void 0)||o;t.exports=u}).call(this,n("./node_modules/_webpack@4.42.1@webpack/buildin/module.js")(t))},"./node_modules/_lodash@4.17.15@lodash/isEmpty.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getTag.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArguments.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),s=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),u=n("./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),l=n("./node_modules/_lodash@4.17.15@lodash/_isPrototype.js"),c=n("./node_modules/_lodash@4.17.15@lodash/isTypedArray.js"),d="[object Map]",f="[object Set]",h=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||u(t)||c(t)||i(t)))return!t.length;var e=o(t);if(e==d||e==f)return!t.size;if(l(t))return!r(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},"./node_modules/_lodash@4.17.15@lodash/isFunction.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var e=r(t);return e==a||e==s||e==i||e==u}},"./node_modules/_lodash@4.17.15@lodash/isLength.js":function(t,e){var n=9007199254740991;t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}},"./node_modules/_lodash@4.17.15@lodash/isMap.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsMap.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),a=i&&i.isMap,s=a?o(a):r;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isObject.js":function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},"./node_modules/_lodash@4.17.15@lodash/isObjectLike.js":function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},"./node_modules/_lodash@4.17.15@lodash/isPlainObject.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),a="[object Object]",s=Function.prototype,u=Object.prototype,l=s.toString,c=u.hasOwnProperty,d=l.call(Object);t.exports=function(t){if(!i(t)||r(t)!=a)return!1;var e=o(t);if(null===e)return!0;var n=c.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==d}},"./node_modules/_lodash@4.17.15@lodash/isSet.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsSet.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),a=i&&i.isSet,s=a?o(a):r;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isString.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),a="[object String]";t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&r(t)==a}},"./node_modules/_lodash@4.17.15@lodash/isSymbol.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseGetTag.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isObjectLike.js"),i="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||o(t)&&r(t)==i}},"./node_modules/_lodash@4.17.15@lodash/isTypedArray.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseIsTypedArray.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseUnary.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_nodeUtil.js"),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},"./node_modules/_lodash@4.17.15@lodash/isUndefined.js":function(t,e){t.exports=function(t){return void 0===t}},"./node_modules/_lodash@4.17.15@lodash/keys.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");t.exports=function(t){return i(t)?r(t):o(t)}},"./node_modules/_lodash@4.17.15@lodash/keysIn.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayLikeKeys.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseKeysIn.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js");t.exports=function(t){return i(t)?r(t,!0):o(t)}},"./node_modules/_lodash@4.17.15@lodash/last.js":function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},"./node_modules/_lodash@4.17.15@lodash/map.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayMap.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseMap.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isArray.js");t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},"./node_modules/_lodash@4.17.15@lodash/mapValues.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseAssignValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js");t.exports=function(t,e){var n={};return e=i(e,3),o(t,function(t,o,i){r(n,o,e(t,o,i))}),n}},"./node_modules/_lodash@4.17.15@lodash/max.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseGt.js"),i=n("./node_modules/_lodash@4.17.15@lodash/identity.js");t.exports=function(t){return t&&t.length?r(t,i,o):void 0}},"./node_modules/_lodash@4.17.15@lodash/memoize.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_MapCache.js"),o="Expected a function";function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(o);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,t.exports=i},"./node_modules/_lodash@4.17.15@lodash/merge.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseMerge.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_createAssigner.js")(function(t,e,n){r(t,e,n)});t.exports=o},"./node_modules/_lodash@4.17.15@lodash/min.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseLt.js"),i=n("./node_modules/_lodash@4.17.15@lodash/identity.js");t.exports=function(t){return t&&t.length?r(t,i,o):void 0}},"./node_modules/_lodash@4.17.15@lodash/minBy.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseExtremum.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseLt.js");t.exports=function(t,e){return t&&t.length?r(t,o(e,2),i):void 0}},"./node_modules/_lodash@4.17.15@lodash/noop.js":function(t,e){t.exports=function(){}},"./node_modules/_lodash@4.17.15@lodash/now.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_root.js");t.exports=function(){return r.Date.now()}},"./node_modules/_lodash@4.17.15@lodash/pick.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_basePick.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_flatRest.js")(function(t,e){return null==t?{}:r(t,e)});t.exports=o},"./node_modules/_lodash@4.17.15@lodash/property.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseProperty.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_basePropertyDeep.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_isKey.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_toKey.js");t.exports=function(t){return i(t)?r(a(t)):o(t)}},"./node_modules/_lodash@4.17.15@lodash/range.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_createRange.js")();t.exports=r},"./node_modules/_lodash@4.17.15@lodash/reduce.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayReduce.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseEach.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_baseReduce.js"),s=n("./node_modules/_lodash@4.17.15@lodash/isArray.js");t.exports=function(t,e,n){var u=s(t)?r:a,l=arguments.length<3;return u(t,i(e,4),n,l,o)}},"./node_modules/_lodash@4.17.15@lodash/size.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseKeys.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_getTag.js"),i=n("./node_modules/_lodash@4.17.15@lodash/isArrayLike.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isString.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_stringSize.js"),u="[object Map]",l="[object Set]";t.exports=function(t){if(null==t)return 0;if(i(t))return a(t)?s(t):t.length;var e=o(t);return e==u||e==l?t.size:r(t).length}},"./node_modules/_lodash@4.17.15@lodash/sortBy.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseOrderBy.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_isIterateeCall.js"),s=i(function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),o(t,r(e,1),[])});t.exports=s},"./node_modules/_lodash@4.17.15@lodash/stubArray.js":function(t,e){t.exports=function(){return[]}},"./node_modules/_lodash@4.17.15@lodash/stubFalse.js":function(t,e){t.exports=function(){return!1}},"./node_modules/_lodash@4.17.15@lodash/toFinite.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/toNumber.js"),o=1/0,i=1.7976931348623157e308;t.exports=function(t){return t?(t=r(t))===o||t===-o?(t<0?-1:1)*i:t==t?t:0:0===t?t:0}},"./node_modules/_lodash@4.17.15@lodash/toInteger.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/toFinite.js");t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},"./node_modules/_lodash@4.17.15@lodash/toNumber.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/isSymbol.js"),i=NaN,a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return i;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(a,"");var n=u.test(t);return n||l.test(t)?c(t.slice(2),n?2:8):s.test(t)?i:+t}},"./node_modules/_lodash@4.17.15@lodash/toPlainObject.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_copyObject.js"),o=n("./node_modules/_lodash@4.17.15@lodash/keysIn.js");t.exports=function(t){return r(t,o(t))}},"./node_modules/_lodash@4.17.15@lodash/toString.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseToString.js");t.exports=function(t){return null==t?"":r(t)}},"./node_modules/_lodash@4.17.15@lodash/transform.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayEach.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseCreate.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseForOwn.js"),a=n("./node_modules/_lodash@4.17.15@lodash/_baseIteratee.js"),s=n("./node_modules/_lodash@4.17.15@lodash/_getPrototype.js"),u=n("./node_modules/_lodash@4.17.15@lodash/isArray.js"),l=n("./node_modules/_lodash@4.17.15@lodash/isBuffer.js"),c=n("./node_modules/_lodash@4.17.15@lodash/isFunction.js"),d=n("./node_modules/_lodash@4.17.15@lodash/isObject.js"),f=n("./node_modules/_lodash@4.17.15@lodash/isTypedArray.js");t.exports=function(t,e,n){var h=u(t),_=h||l(t)||f(t);if(e=a(e,4),null==n){var p=t&&t.constructor;n=_?h?new p:[]:d(t)&&c(p)?o(s(t)):{}}return(_?r:i)(t,function(t,r,o){return e(n,t,r,o)}),n}},"./node_modules/_lodash@4.17.15@lodash/union.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseFlatten.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseRest.js"),i=n("./node_modules/_lodash@4.17.15@lodash/_baseUniq.js"),a=n("./node_modules/_lodash@4.17.15@lodash/isArrayLikeObject.js"),s=o(function(t){return i(r(t,1,a,!0))});t.exports=s},"./node_modules/_lodash@4.17.15@lodash/uniqueId.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/toString.js"),o=0;t.exports=function(t){var e=++o;return r(t)+e}},"./node_modules/_lodash@4.17.15@lodash/values.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_baseValues.js"),o=n("./node_modules/_lodash@4.17.15@lodash/keys.js");t.exports=function(t){return null==t?[]:r(t,o(t))}},"./node_modules/_lodash@4.17.15@lodash/zipObject.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_assignValue.js"),o=n("./node_modules/_lodash@4.17.15@lodash/_baseZipObject.js");t.exports=function(t,e){return o(t||[],e||[],r)}},"./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js":function(t,e){t.exports=function(t){var e=[];return t.replace(r,function(t,r,i){var a=r.toLowerCase();for(i=function(t){var e=t.match(o);return e?e.map(Number):[]}(i),"m"==a&&i.length>2&&(e.push([r].concat(i.splice(0,2))),a="l",r="m"==r?"l":"L");;){if(i.length==n[a])return i.unshift(r),e.push(i);if(i.length<n[a])throw new Error("malformed path data");e.push([r].concat(i.splice(0,n[a])))}}),e};var n={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=/([astvzqmhlc])([^astvzqmhlc]*)/gi;var o=/-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/gi},"./node_modules/_point-at-length@1.1.0@point-at-length/index.js":function(t,e,n){var r=n("./node_modules/_parse-svg-path@0.1.2@parse-svg-path/index.js"),o=n("./node_modules/_isarray@0.0.1@isarray/index.js"),i=n("./node_modules/_abs-svg-path@0.1.1@abs-svg-path/index.js");function a(t){if(!(this instanceof a))return new a(t);this._path=o(t)?t:r(t),this._path=i(this._path),this._path=function(t){for(var e,n=[],r=["L",0,0],o=0,i=t.length;o<i;o++){var a=t[o];switch(a[0]){case"M":r=["L",a[1],a[2]],n.push(a);break;case"Z":n.push(r);break;case"H":e=n[n.length-1]||["L",0,0],n.push(["L",a[1],e[e.length-1]]);break;case"V":e=n[n.length-1]||["L",0,0],n.push(["L",e[e.length-2],a[1]]);break;default:n.push(a)}}return n}(this._path),this._path=function(t){for(var e,n=0,r=0,o={S:{to:"C",x:3},T:{to:"Q",x:1}},i=0,a=t.length;i<a;i++){var s=t[i],u=o[s[0]];u&&(s[0]=u.to,e&&(e[0]===u.to?(n=2*e[u.x+2]-e[u.x],r=2*e[u.x+3]-e[u.x+1]):(n=e[e.length-2],r=e[e.length-1])),s.splice(1,0,n,r)),e=s}return t}(this._path)}function s(t,e,n,r){var o=t-n,i=e-r;return Math.sqrt(o*o+i*i)}t.exports=a,a.prototype.at=function(t,e){return this._walk(t,e).pos},a.prototype.length=function(){return this._walk(null).length},a.prototype._walk=function(t,e){for(var n=[0,0],r=[0,0,0],o=[0,0],i=0,a=0;a<this._path.length;a++){var u=this._path[a];if("M"===u[0]){if(n[0]=u[1],n[1]=u[2],0===t)return{length:i,pos:n}}else if("C"===u[0]){r[0]=o[0]=n[0],r[1]=o[1]=n[1],r[2]=i;for(var l=100,c=0;c<=l;c++){var d=p(u,_=c/l),f=v(u,_);if(i+=s(n[0],n[1],d,f),n[0]=d,n[1]=f,"number"==typeof t&&i>=t){var h=(i-t)/(i-r[2]);return{length:i,pos:[n[0]*(1-h)+r[0]*h,n[1]*(1-h)+r[1]*h]}}r[0]=n[0],r[1]=n[1],r[2]=i}}else if("Q"===u[0]){r[0]=o[0]=n[0],r[1]=o[1]=n[1],r[2]=i;for(l=100,c=0;c<=l;c++){var _;d=g(u,_=c/l),f=m(u,_);if(i+=s(n[0],n[1],d,f),n[0]=d,n[1]=f,"number"==typeof t&&i>=t){h=(i-t)/(i-r[2]);return{length:i,pos:[n[0]*(1-h)+r[0]*h,n[1]*(1-h)+r[1]*h]}}r[0]=n[0],r[1]=n[1],r[2]=i}}else if("L"===u[0]){if(r[0]=n[0],r[1]=n[1],r[2]=i,i+=s(n[0],n[1],u[1],u[2]),n[0]=u[1],n[1]=u[2],"number"==typeof t&&i>=t){h=(i-t)/(i-r[2]);return{length:i,pos:[n[0]*(1-h)+r[0]*h,n[1]*(1-h)+r[1]*h]}}r[0]=n[0],r[1]=n[1],r[2]=i}}return{length:i,pos:n};function p(t,e){return Math.pow(1-e,3)*o[0]+3*Math.pow(1-e,2)*e*t[1]+3*(1-e)*Math.pow(e,2)*t[3]+Math.pow(e,3)*t[5]}function v(t,e){return Math.pow(1-e,3)*o[1]+3*Math.pow(1-e,2)*e*t[2]+3*(1-e)*Math.pow(e,2)*t[4]+Math.pow(e,3)*t[6]}function g(t,e){return Math.pow(1-e,2)*o[0]+2*(1-e)*e*t[1]+Math.pow(e,2)*t[3]}function m(t,e){return Math.pow(1-e,2)*o[1]+2*(1-e)*e*t[2]+Math.pow(e,2)*t[4]}}},"./node_modules/_regression@2.0.1@regression/dist/regression.js":function(t,e,n){var r,o,i;o=[t],void 0===(i="function"==typeof(r=function(t){"use strict";var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function n(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r={order:2,precision:2,period:null};function o(t,e){var n=[],r=[];t.forEach(function(t,o){null!==t[1]&&(r.push(t),n.push(e[o]))});var o=r.reduce(function(t,e){return t+e[1]},0),i=o/r.length,a=r.reduce(function(t,e){var n=e[1]-i;return t+n*n},0),s=r.reduce(function(t,e,r){var o=n[r],i=e[1]-o[1];return t+i*i},0);return 1-s/a}function i(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}var a={linear:function(t,e){for(var n=[0,0,0,0,0],r=0,a=0;a<t.length;a++)null!==t[a][1]&&(r++,n[0]+=t[a][0],n[1]+=t[a][1],n[2]+=t[a][0]*t[a][0],n[3]+=t[a][0]*t[a][1],n[4]+=t[a][1]*t[a][1]);var s=r*n[2]-n[0]*n[0],u=r*n[3]-n[0]*n[1],l=0===s?0:i(u/s,e.precision),c=i(n[1]/r-l*n[0]/r,e.precision),d=function(t){return[i(t,e.precision),i(l*t+c,e.precision)]},f=t.map(function(t){return d(t[0])});return{points:f,predict:d,equation:[l,c],r2:i(o(t,f),e.precision),string:0===c?"y = "+l+"x":"y = "+l+"x + "+c}},exponential:function(t,e){for(var n=[0,0,0,0,0,0],r=0;r<t.length;r++)null!==t[r][1]&&(n[0]+=t[r][0],n[1]+=t[r][1],n[2]+=t[r][0]*t[r][0]*t[r][1],n[3]+=t[r][1]*Math.log(t[r][1]),n[4]+=t[r][0]*t[r][1]*Math.log(t[r][1]),n[5]+=t[r][0]*t[r][1]);var a=n[1]*n[2]-n[5]*n[5],s=Math.exp((n[2]*n[3]-n[5]*n[4])/a),u=(n[1]*n[4]-n[5]*n[3])/a,l=i(s,e.precision),c=i(u,e.precision),d=function(t){return[i(t,e.precision),i(l*Math.exp(c*t),e.precision)]},f=t.map(function(t){return d(t[0])});return{points:f,predict:d,equation:[l,c],string:"y = "+l+"e^("+c+"x)",r2:i(o(t,f),e.precision)}},logarithmic:function(t,e){for(var n=[0,0,0,0],r=t.length,a=0;a<r;a++)null!==t[a][1]&&(n[0]+=Math.log(t[a][0]),n[1]+=t[a][1]*Math.log(t[a][0]),n[2]+=t[a][1],n[3]+=Math.pow(Math.log(t[a][0]),2));var s=(r*n[1]-n[2]*n[0])/(r*n[3]-n[0]*n[0]),u=i(s,e.precision),l=i((n[2]-u*n[0])/r,e.precision),c=function(t){return[i(t,e.precision),i(i(l+u*Math.log(t),e.precision),e.precision)]},d=t.map(function(t){return c(t[0])});return{points:d,predict:c,equation:[l,u],string:"y = "+l+" + "+u+" ln(x)",r2:i(o(t,d),e.precision)}},power:function(t,e){for(var n=[0,0,0,0,0],r=t.length,a=0;a<r;a++)null!==t[a][1]&&(n[0]+=Math.log(t[a][0]),n[1]+=Math.log(t[a][1])*Math.log(t[a][0]),n[2]+=Math.log(t[a][1]),n[3]+=Math.pow(Math.log(t[a][0]),2));var s=(r*n[1]-n[0]*n[2])/(r*n[3]-Math.pow(n[0],2)),u=(n[2]-s*n[0])/r,l=i(Math.exp(u),e.precision),c=i(s,e.precision),d=function(t){return[i(t,e.precision),i(i(l*Math.pow(t,c),e.precision),e.precision)]},f=t.map(function(t){return d(t[0])});return{points:f,predict:d,equation:[l,c],string:"y = "+l+"x^"+c,r2:i(o(t,f),e.precision)}},polynomial:function(t,e){for(var r=[],a=[],s=0,u=0,l=t.length,c=e.order+1,d=0;d<c;d++){for(var f=0;f<l;f++)null!==t[f][1]&&(s+=Math.pow(t[f][0],d)*t[f][1]);r.push(s),s=0;for(var h=[],_=0;_<c;_++){for(var p=0;p<l;p++)null!==t[p][1]&&(u+=Math.pow(t[p][0],d+_));h.push(u),u=0}a.push(h)}a.push(r);for(var v=function(t,e){for(var n=t,r=t.length-1,o=[e],i=0;i<r;i++){for(var a=i,s=i+1;s<r;s++)Math.abs(n[i][s])>Math.abs(n[i][a])&&(a=s);for(var u=i;u<r+1;u++){var l=n[u][i];n[u][i]=n[u][a],n[u][a]=l}for(var c=i+1;c<r;c++)for(var d=r;d>=i;d--)n[d][c]-=n[d][i]*n[i][c]/n[i][i]}for(var f=r-1;f>=0;f--){for(var h=0,_=f+1;_<r;_++)h+=n[_][f]*o[_];o[f]=(n[r][f]-h)/n[f][f]}return o}(a,c).map(function(t){return i(t,e.precision)}),g=function(t){return[i(t,e.precision),i(v.reduce(function(e,n,r){return e+n*Math.pow(t,r)},0),e.precision)]},m=t.map(function(t){return g(t[0])}),y="y = ",b=v.length-1;b>=0;b--)y+=b>1?v[b]+"x^"+b+" + ":1===b?v[b]+"x + ":v[b];return{string:y,points:m,predict:g,equation:[].concat(n(v)).reverse(),r2:i(o(t,m),e.precision)}}};t.exports=Object.keys(a).reduce(function(t,n){return e({_round:i},t,(u=function(t,o){return a[n](t,e({},r,o))},(s=n)in(o={})?Object.defineProperty(o,s,{value:u,enumerable:!0,configurable:!0,writable:!0}):o[s]=u,o));var o,s,u},{})})?r.apply(e,o):r)||(t.exports=i)},"./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js":function(t,e,n){!function(t){"use strict";function e(t){if(0===t.length)return 0;for(var e,n=t[0],r=0,o=1;o<t.length;o++)e=n+t[o],Math.abs(n)>=Math.abs(t[o])?r+=n-e+t[o]:r+=t[o]-e+n,n=e;return n+r}function n(t){if(0===t.length)throw new Error("mean requires at least one data point");return e(t)/t.length}function r(t,e){var r,o,i=n(t),a=0;if(2===e)for(o=0;o<t.length;o++)a+=(r=t[o]-i)*r;else for(o=0;o<t.length;o++)a+=Math.pow(t[o]-i,e);return a}function o(t){if(0===t.length)throw new Error("variance requires at least one data point");return r(t,2)/t.length}function i(t){if(1===t.length)return 0;var e=o(t);return Math.sqrt(e)}function a(t){if(0===t.length)throw new Error("mode requires at least one data point");if(1===t.length)return t[0];for(var e=t[0],n=NaN,r=0,o=1,i=1;i<t.length+1;i++)t[i]!==e?(r<o&&(r=o,n=e),o=1,e=t[i]):o++;return n}function s(t){return t.slice().sort(function(t,e){return t-e})}function u(t){if(0===t.length)throw new Error("min requires at least one data point");for(var e=t[0],n=1;n<t.length;n++)t[n]<e&&(e=t[n]);return e}function l(t){if(0===t.length)throw new Error("max requires at least one data point");for(var e=t[0],n=1;n<t.length;n++)t[n]>e&&(e=t[n]);return e}function c(t,e){var n=t.length*e;if(0===t.length)throw new Error("quantile requires at least one data point.");if(e<0||1<e)throw new Error("quantiles must be between 0 and 1");return 1===e?t[t.length-1]:0===e?t[0]:n%1!=0?t[Math.ceil(n)-1]:t.length%2==0?(t[n-1]+t[n])/2:t[n]}function d(t,e,n,r){for(n=n||0,r=r||t.length-1;n<r;){if(600<r-n){var o=r-n+1,i=e-n+1,a=Math.log(o),s=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*s*(o-s)/o);i-o/2<0&&(u*=-1),d(t,e,Math.max(n,Math.floor(e-i*s/o+u)),Math.min(r,Math.floor(e+(o-i)*s/o+u)))}var l=t[e],c=n,h=r;for(f(t,n,e),t[r]>l&&f(t,n,r);c<h;){for(f(t,c,h),c++,h--;t[c]<l;)c++;for(;t[h]>l;)h--}t[n]===l?f(t,n,h):f(t,++h,r),h<=e&&(n=h+1),e<=h&&(r=h-1)}}function f(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function h(t,e){var n=t.slice();if(Array.isArray(e)){!function(t,e){for(var n=[0],r=0;r<e.length;r++)n.push(v(t.length,e[r]));n.push(t.length-1),n.sort(p);for(var o=[0,n.length-1];o.length;){var i=Math.ceil(o.pop()),a=Math.floor(o.pop());if(!(i-a<=1)){var s=Math.floor((a+i)/2);_(t,n[s],n[a],n[i]),o.push(a,s,s,i)}}}(n,e);for(var r=[],o=0;o<e.length;o++)r[o]=c(n,e[o]);return r}return _(n,v(n.length,e),0,n.length-1),c(n,e)}function _(t,e,n,r){e%1==0?d(t,e,n,r):(d(t,e=Math.floor(e),n,r),d(t,e+1,e+1,r))}function p(t,e){return t-e}function v(t,e){var n=t*e;return 1===e?t-1:0===e?0:n%1!=0?Math.ceil(n)-1:t%2==0?n-.5:n}function g(t,e){if(e<t[0])return 0;if(e>t[t.length-1])return 1;var n=function(t,e){for(var n=0,r=0,o=t.length;r<o;)e<=t[n=r+o>>>1]?o=n:r=-~n;return r}(t,e);if(t[n]!==e)return n/t.length;n++;var r=function(t,e){for(var n=0,r=0,o=t.length;r<o;)e>=t[n=r+o>>>1]?r=-~n:o=n;return r}(t,e);if(r===n)return n/t.length;var o=r-n+1;return o*(r+n)/2/o/t.length}function m(t){var e=h(t,.75),n=h(t,.25);if("number"==typeof e&&"number"==typeof n)return e-n}function y(t){return+h(t,.5)}function b(t){for(var e=y(t),n=[],r=0;r<t.length;r++)n.push(Math.abs(t[r]-e));return y(n)}function j(t,e){e=e||Math.random;for(var n,r,o=t.length;0<o;)r=Math.floor(e()*o--),n=t[o],t[o]=t[r],t[r]=n;return t}function x(t,e){return j(t.slice().slice(),e)}function w(t){for(var e,n=0,r=0;r<t.length;r++)0!==r&&t[r]===e||(e=t[r],n++);return n}function E(t,e){for(var n=[],r=0;r<t;r++){for(var o=[],i=0;i<e;i++)o.push(0);n.push(o)}return n}function M(t,e,n,r){var o;if(0<t){var i=(n[e]-n[t-1])/(e-t+1);o=r[e]-r[t-1]-(e-t+1)*i*i}else o=r[e]-n[e]*n[e]/(e+1);return o<0?0:o}function S(t,e,n,r,o,i,a){if(!(e<t)){var s=Math.floor((t+e)/2);r[n][s]=r[n-1][s-1],o[n][s]=s;var u=n;n<t&&(u=Math.max(u,o[n][t-1]||0)),u=Math.max(u,o[n-1][s]||0);var l,c,d,f=s-1;e<r.length-1&&(f=Math.min(f,o[n][e+1]||0));for(var h=f;u<=h&&!((l=M(h,s,i,a))+r[n-1][u-1]>=r[n][s]);--h)(c=M(u,s,i,a)+r[n-1][u-1])<r[n][s]&&(r[n][s]=c,o[n][s]=u),u++,(d=l+r[n-1][h-1])<r[n][s]&&(r[n][s]=d,o[n][s]=h);S(t,s-1,n,r,o,i,a),S(s+1,e,n,r,o,i,a)}}function T(t,e){if(t.length!==e.length)throw new Error("sampleCovariance requires samples with equal lengths");if(t.length<2)throw new Error("sampleCovariance requires at least two data points in each sample");for(var r=n(t),o=n(e),i=0,a=0;a<t.length;a++)i+=(t[a]-r)*(e[a]-o);return i/(t.length-1)}function P(t){if(t.length<2)throw new Error("sampleVariance requires at least two data points");return r(t,2)/(t.length-1)}function k(t){var e=P(t);return Math.sqrt(e)}function O(t,e,n,r){return(t*e+n*r)/(e+r)}function C(t){if(0===t.length)throw new Error("rootMeanSquare requires at least one data point");for(var e=0,n=0;n<t.length;n++)e+=Math.pow(t[n],2);return Math.sqrt(e/t.length)}function A(){this.totalCount=0,this.data={}}function N(){this.weights=[],this.bias=0}A.prototype.train=function(t,e){for(var n in this.data[e]||(this.data[e]={}),t){var r=t[n];void 0===this.data[e][n]&&(this.data[e][n]={}),void 0===this.data[e][n][r]&&(this.data[e][n][r]=0),this.data[e][n][r]++}this.totalCount++},A.prototype.score=function(t){var e,n={};for(var r in t){var o=t[r];for(e in this.data)n[e]={},this.data[e][r]?n[e][r+"_"+o]=(this.data[e][r][o]||0)/this.totalCount:n[e][r+"_"+o]=0}var i={};for(e in n)for(var a in i[e]=0,n[e])i[e]+=n[e][a];return i},N.prototype.predict=function(t){if(t.length!==this.weights.length)return null;for(var e=0,n=0;n<this.weights.length;n++)e+=this.weights[n]*t[n];return 0<(e+=this.bias)?1:0},N.prototype.train=function(t,e){if(0!==e&&1!==e)return null;t.length!==this.weights.length&&(this.weights=t,this.bias=1);var n=this.predict(t);if(n!==e){for(var r=e-n,o=0;o<this.weights.length;o++)this.weights[o]+=r*t[o];this.bias+=r}return this};var I=1e-4;function R(t){if(t<0)throw new Error("factorial requires a non-negative value");if(Math.floor(t)!==t)throw new Error("factorial requires an integer input");for(var e=1,n=2;n<=t;n++)e*=n;return e}var D=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22],L=Math.log(Math.sqrt(2*Math.PI)),q={1:{.995:0,.99:0,.975:0,.95:0,.9:.02,.5:.45,.1:2.71,.05:3.84,.025:5.02,.01:6.63,.005:7.88},2:{.995:.01,.99:.02,.975:.05,.95:.1,.9:.21,.5:1.39,.1:4.61,.05:5.99,.025:7.38,.01:9.21,.005:10.6},3:{.995:.07,.99:.11,.975:.22,.95:.35,.9:.58,.5:2.37,.1:6.25,.05:7.81,.025:9.35,.01:11.34,.005:12.84},4:{.995:.21,.99:.3,.975:.48,.95:.71,.9:1.06,.5:3.36,.1:7.78,.05:9.49,.025:11.14,.01:13.28,.005:14.86},5:{.995:.41,.99:.55,.975:.83,.95:1.15,.9:1.61,.5:4.35,.1:9.24,.05:11.07,.025:12.83,.01:15.09,.005:16.75},6:{.995:.68,.99:.87,.975:1.24,.95:1.64,.9:2.2,.5:5.35,.1:10.65,.05:12.59,.025:14.45,.01:16.81,.005:18.55},7:{.995:.99,.99:1.25,.975:1.69,.95:2.17,.9:2.83,.5:6.35,.1:12.02,.05:14.07,.025:16.01,.01:18.48,.005:20.28},8:{.995:1.34,.99:1.65,.975:2.18,.95:2.73,.9:3.49,.5:7.34,.1:13.36,.05:15.51,.025:17.53,.01:20.09,.005:21.96},9:{.995:1.73,.99:2.09,.975:2.7,.95:3.33,.9:4.17,.5:8.34,.1:14.68,.05:16.92,.025:19.02,.01:21.67,.005:23.59},10:{.995:2.16,.99:2.56,.975:3.25,.95:3.94,.9:4.87,.5:9.34,.1:15.99,.05:18.31,.025:20.48,.01:23.21,.005:25.19},11:{.995:2.6,.99:3.05,.975:3.82,.95:4.57,.9:5.58,.5:10.34,.1:17.28,.05:19.68,.025:21.92,.01:24.72,.005:26.76},12:{.995:3.07,.99:3.57,.975:4.4,.95:5.23,.9:6.3,.5:11.34,.1:18.55,.05:21.03,.025:23.34,.01:26.22,.005:28.3},13:{.995:3.57,.99:4.11,.975:5.01,.95:5.89,.9:7.04,.5:12.34,.1:19.81,.05:22.36,.025:24.74,.01:27.69,.005:29.82},14:{.995:4.07,.99:4.66,.975:5.63,.95:6.57,.9:7.79,.5:13.34,.1:21.06,.05:23.68,.025:26.12,.01:29.14,.005:31.32},15:{.995:4.6,.99:5.23,.975:6.27,.95:7.26,.9:8.55,.5:14.34,.1:22.31,.05:25,.025:27.49,.01:30.58,.005:32.8},16:{.995:5.14,.99:5.81,.975:6.91,.95:7.96,.9:9.31,.5:15.34,.1:23.54,.05:26.3,.025:28.85,.01:32,.005:34.27},17:{.995:5.7,.99:6.41,.975:7.56,.95:8.67,.9:10.09,.5:16.34,.1:24.77,.05:27.59,.025:30.19,.01:33.41,.005:35.72},18:{.995:6.26,.99:7.01,.975:8.23,.95:9.39,.9:10.87,.5:17.34,.1:25.99,.05:28.87,.025:31.53,.01:34.81,.005:37.16},19:{.995:6.84,.99:7.63,.975:8.91,.95:10.12,.9:11.65,.5:18.34,.1:27.2,.05:30.14,.025:32.85,.01:36.19,.005:38.58},20:{.995:7.43,.99:8.26,.975:9.59,.95:10.85,.9:12.44,.5:19.34,.1:28.41,.05:31.41,.025:34.17,.01:37.57,.005:40},21:{.995:8.03,.99:8.9,.975:10.28,.95:11.59,.9:13.24,.5:20.34,.1:29.62,.05:32.67,.025:35.48,.01:38.93,.005:41.4},22:{.995:8.64,.99:9.54,.975:10.98,.95:12.34,.9:14.04,.5:21.34,.1:30.81,.05:33.92,.025:36.78,.01:40.29,.005:42.8},23:{.995:9.26,.99:10.2,.975:11.69,.95:13.09,.9:14.85,.5:22.34,.1:32.01,.05:35.17,.025:38.08,.01:41.64,.005:44.18},24:{.995:9.89,.99:10.86,.975:12.4,.95:13.85,.9:15.66,.5:23.34,.1:33.2,.05:36.42,.025:39.36,.01:42.98,.005:45.56},25:{.995:10.52,.99:11.52,.975:13.12,.95:14.61,.9:16.47,.5:24.34,.1:34.28,.05:37.65,.025:40.65,.01:44.31,.005:46.93},26:{.995:11.16,.99:12.2,.975:13.84,.95:15.38,.9:17.29,.5:25.34,.1:35.56,.05:38.89,.025:41.92,.01:45.64,.005:48.29},27:{.995:11.81,.99:12.88,.975:14.57,.95:16.15,.9:18.11,.5:26.34,.1:36.74,.05:40.11,.025:43.19,.01:46.96,.005:49.65},28:{.995:12.46,.99:13.57,.975:15.31,.95:16.93,.9:18.94,.5:27.34,.1:37.92,.05:41.34,.025:44.46,.01:48.28,.005:50.99},29:{.995:13.12,.99:14.26,.975:16.05,.95:17.71,.9:19.77,.5:28.34,.1:39.09,.05:42.56,.025:45.72,.01:49.59,.005:52.34},30:{.995:13.79,.99:14.95,.975:16.79,.95:18.49,.9:20.6,.5:29.34,.1:40.26,.05:43.77,.025:46.98,.01:50.89,.005:53.67},40:{.995:20.71,.99:22.16,.975:24.43,.95:26.51,.9:29.05,.5:39.34,.1:51.81,.05:55.76,.025:59.34,.01:63.69,.005:66.77},50:{.995:27.99,.99:29.71,.975:32.36,.95:34.76,.9:37.69,.5:49.33,.1:63.17,.05:67.5,.025:71.42,.01:76.15,.005:79.49},60:{.995:35.53,.99:37.48,.975:40.48,.95:43.19,.9:46.46,.5:59.33,.1:74.4,.05:79.08,.025:83.3,.01:88.38,.005:91.95},70:{.995:43.28,.99:45.44,.975:48.76,.95:51.74,.9:55.33,.5:69.33,.1:85.53,.05:90.53,.025:95.02,.01:100.42,.005:104.22},80:{.995:51.17,.99:53.54,.975:57.15,.95:60.39,.9:64.28,.5:79.33,.1:96.58,.05:101.88,.025:106.63,.01:112.33,.005:116.32},90:{.995:59.2,.99:61.75,.975:65.65,.95:69.13,.9:73.29,.5:89.33,.1:107.57,.05:113.14,.025:118.14,.01:124.12,.005:128.3},100:{.995:67.33,.99:70.06,.975:74.22,.95:77.93,.9:82.36,.5:99.33,.1:118.5,.05:124.34,.025:129.56,.01:135.81,.005:140.17}},B=Math.sqrt(2*Math.PI),z={gaussian:function(t){return Math.exp(-.5*t*t)/B}},F={nrd:function(t){var e=k(t),n=m(t);return"number"==typeof n&&(e=Math.min(e,n/1.34)),1.06*e*Math.pow(t.length,-.2)}};function G(t,e,n){var r,o;if(void 0===e)r=z.gaussian;else if("string"==typeof e){if(!z[e])throw new Error('Unknown kernel "'+e+'"');r=z[e]}else r=e;if(void 0===n)o=F.nrd(t);else if("string"==typeof n){if(!F[n])throw new Error('Unknown bandwidth method "'+n+'"');o=F[n](t)}else o=n;return function(e){var n=0,i=0;for(n=0;n<t.length;n++)i+=r((e-t[n])/o);return i/o/t.length}}var V=Math.sqrt(2*Math.PI);function H(t){for(var e=t,n=t,r=1;r<15;r++)e+=n*=t*t/(2*r+1);return Math.round(1e4*(.5+e/V*Math.exp(-t*t/2)))/1e4}for(var U=[],W=0;W<=3.09;W+=.01)U.push(H(W));function K(t){var e=1/(1+.5*Math.abs(t)),n=e*Math.exp(-Math.pow(t,2)-1.26551223+1.00002368*e+.37409196*Math.pow(e,2)+.09678418*Math.pow(e,3)-.18628806*Math.pow(e,4)+.27886807*Math.pow(e,5)-1.13520398*Math.pow(e,6)+1.48851587*Math.pow(e,7)-.82215223*Math.pow(e,8)+.17087277*Math.pow(e,9));return 0<=t?1-n:n-1}function Y(t){var e=8*(Math.PI-3)/(3*Math.PI*(4-Math.PI)),n=Math.sqrt(Math.sqrt(Math.pow(2/(Math.PI*e)+Math.log(1-t*t)/2,2)-Math.log(1-t*t)/e)-(2/(Math.PI*e)+Math.log(1-t*t)/2));return 0<=t?n:-n}function $(t){if("number"==typeof t)return t<0?-1:0===t?0:1;throw new TypeError("not a number")}t.linearRegression=function(t){var e,n,r=t.length;if(1===r)n=t[e=0][1];else{for(var o,i,a,s=0,u=0,l=0,c=0,d=0;d<r;d++)s+=i=(o=t[d])[0],u+=a=o[1],l+=i*i,c+=i*a;n=u/r-(e=(r*c-s*u)/(r*l-s*s))*s/r}return{m:e,b:n}},t.linearRegressionLine=function(t){return function(e){return t.b+t.m*e}},t.standardDeviation=i,t.rSquared=function(t,e){if(t.length<2)return 1;for(var n,r=0,o=0;o<t.length;o++)r+=t[o][1];n=r/t.length;for(var i=0,a=0;a<t.length;a++)i+=Math.pow(n-t[a][1],2);for(var s=0,u=0;u<t.length;u++)s+=Math.pow(t[u][1]-e(t[u][0]),2);return 1-s/i},t.mode=function(t){return a(s(t))},t.modeFast=function(t){for(var e,n=new Map,r=0,o=0;o<t.length;o++){var i=n.get(t[o]);void 0===i?i=1:i++,r<i&&(e=t[o],r=i),n.set(t[o],i)}if(0===r)throw new Error("mode requires at last one data point");return e},t.modeSorted=a,t.min=u,t.max=l,t.extent=function(t){if(0===t.length)throw new Error("extent requires at least one data point");for(var e=t[0],n=t[0],r=1;r<t.length;r++)t[r]>n&&(n=t[r]),t[r]<e&&(e=t[r]);return[e,n]},t.minSorted=function(t){return t[0]},t.maxSorted=function(t){return t[t.length-1]},t.extentSorted=function(t){return[t[0],t[t.length-1]]},t.sum=e,t.sumSimple=function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n];return e},t.product=function(t){for(var e=1,n=0;n<t.length;n++)e*=t[n];return e},t.quantile=h,t.quantileSorted=c,t.quantileRank=function(t,e){return g(s(t),e)},t.quantileRankSorted=g,t.interquartileRange=m,t.iqr=m,t.medianAbsoluteDeviation=b,t.mad=b,t.chunk=function(t,e){var n=[];if(e<1)throw new Error("chunk size must be a positive number");if(Math.floor(e)!==e)throw new Error("chunk size must be an integer");for(var r=0;r<t.length;r+=e)n.push(t.slice(r,r+e));return n},t.sampleWithReplacement=function(t,e,n){if(0===t.length)return[];n=n||Math.random;for(var r=t.length,o=[],i=0;i<e;i++){var a=Math.floor(n()*r);o.push(t[a])}return o},t.shuffle=x,t.shuffleInPlace=j,t.sample=function(t,e,n){return x(t,n).slice(0,e)},t.ckmeans=function(t,e){if(e>t.length)throw new Error("cannot generate more classes than there are data values");var n=s(t);if(1===w(n))return[n];var r=E(e,n.length),o=E(e,n.length);!function(t,e,n){for(var r,o=e[0].length,i=t[Math.floor(o/2)],a=[],s=[],u=0;u<o;++u)r=t[u]-i,0===u?(a.push(r),s.push(r*r)):(a.push(a[u-1]+r),s.push(s[u-1]+r*r)),e[0][u]=M(0,u,a,s),n[0][u]=0;for(var l=1;l<e.length;++l)S(l<e.length-1?l:o-1,o-1,l,e,n,a,s)}(n,r,o);for(var i=[],a=o[0].length-1,u=o.length-1;0<=u;u--){var l=o[u][a];i[u]=n.slice(l,a+1),0<u&&(a=l-1)}return i},t.uniqueCountSorted=w,t.sumNthPowerDeviations=r,t.equalIntervalBreaks=function(t,e){if(t.length<2)return t;for(var n=u(t),r=l(t),o=[n],i=(r-n)/e,a=1;a<e;a++)o.push(o[0]+i*a);return o.push(r),o},t.sampleCovariance=T,t.sampleCorrelation=function(t,e){return T(t,e)/k(t)/k(e)},t.sampleVariance=P,t.sampleStandardDeviation=k,t.sampleSkewness=function(t){if(t.length<3)throw new Error("sampleSkewness requires at least three data points");for(var e,r=n(t),o=0,i=0,a=0;a<t.length;a++)o+=(e=t[a]-r)*e,i+=e*e*e;var s=t.length-1,u=Math.sqrt(o/s),l=t.length;return l*i/((l-1)*(l-2)*Math.pow(u,3))},t.sampleKurtosis=function(t){var e=t.length;if(e<4)throw new Error("sampleKurtosis requires at least four data points");for(var r,o=n(t),i=0,a=0,s=0;s<e;s++)i+=(r=t[s]-o)*r,a+=r*r*r*r;return(e-1)/((e-2)*(e-3))*(e*(e+1)*a/(i*i)-3*(e-1))},t.permutationsHeap=function(t){for(var e=new Array(t.length),n=[t.slice()],r=0;r<t.length;r++)e[r]=0;for(r=0;r<t.length;)if(e[r]<r){var o=0;r%2!=0&&(o=e[r]);var i=t[o];t[o]=t[r],t[r]=i,n.push(t.slice()),e[r]++,r=0}else e[r]=0,r++;return n},t.combinations=function t(e,n){var r,o,i,a,s=[];for(r=0;r<e.length;r++)if(1===n)s.push([e[r]]);else for(i=t(e.slice(r+1,e.length),n-1),o=0;o<i.length;o++)(a=i[o]).unshift(e[r]),s.push(a);return s},t.combinationsReplacement=function t(e,n){for(var r=[],o=0;o<e.length;o++)if(1===n)r.push([e[o]]);else for(var i=t(e.slice(o,e.length),n-1),a=0;a<i.length;a++)r.push([e[o]].concat(i[a]));return r},t.addToMean=function(t,e,n){return t+(n-t)/(e+1)},t.combineMeans=O,t.combineVariances=function(t,e,n,r,o,i){var a=O(e,n,o,i);return(n*(t+Math.pow(e-a,2))+i*(r+Math.pow(o-a,2)))/(n+i)},t.geometricMean=function(t){if(0===t.length)throw new Error("geometricMean requires at least one data point");for(var e=1,n=0;n<t.length;n++){if(t[n]<=0)throw new Error("geometricMean requires only positive numbers as input");e*=t[n]}return Math.pow(e,1/t.length)},t.harmonicMean=function(t){if(0===t.length)throw new Error("harmonicMean requires at least one data point");for(var e=0,n=0;n<t.length;n++){if(t[n]<=0)throw new Error("harmonicMean requires only positive numbers as input");e+=1/t[n]}return t.length/e},t.average=n,t.mean=n,t.median=y,t.medianSorted=function(t){return c(t,.5)},t.subtractFromMean=function(t,e,n){return(t*e-n)/(e-1)},t.rootMeanSquare=C,t.rms=C,t.variance=o,t.tTest=function(t,e){return(n(t)-e)/(i(t)/Math.sqrt(t.length))},t.tTestTwoSample=function(t,e,r){var o=t.length,i=e.length;if(!o||!i)return null;r||(r=0);var a=n(t),s=n(e),u=P(t),l=P(e);if("number"==typeof a&&"number"==typeof s&&"number"==typeof u&&"number"==typeof l){var c=((o-1)*u+(i-1)*l)/(o+i-2);return(a-s-r)/Math.sqrt(c*(1/o+1/i))}},t.BayesianClassifier=A,t.bayesian=A,t.PerceptronModel=N,t.perceptron=N,t.epsilon=I,t.factorial=R,t.gamma=function t(e){if("number"==typeof(n=e)&&isFinite(n)&&Math.floor(n)===n)return e<=0?NaN:R(e-1);var n;if(--e<0)return Math.PI/(Math.sin(Math.PI*-e)*t(-e));var r=e+.25;return Math.pow(e/Math.E,e)*Math.sqrt(2*Math.PI*(e+1/6))*(1+1/144/Math.pow(r,2)-1/12960/Math.pow(r,3)-257/207360/Math.pow(r,4)-52/2612736/Math.pow(r,5)+5741173/9405849600/Math.pow(r,6)+37529/18811699200/Math.pow(r,7))},t.gammaln=function(t){if(t<=0)return 1/0;t--;for(var e=D[0],n=1;n<15;n++)e+=D[n]/(t+n);var r=5.2421875+t;return L+Math.log(e)-r+(t+.5)*Math.log(r)},t.bernoulliDistribution=function(t){if(t<0||1<t)throw new Error("bernoulliDistribution requires probability to be between 0 and 1 inclusive");return[1-t,t]},t.binomialDistribution=function(t,e){if(!(e<0||1<e||t<=0||t%1!=0)){for(var n=0,r=0,o=[],i=1;o[n]=i*Math.pow(e,n)*Math.pow(1-e,t-n),r+=o[n],i=i*(t-++n+1)/n,r<1-I;);return o}},t.poissonDistribution=function(t){if(!(t<=0)){for(var e=0,n=0,r=[],o=1;r[e]=Math.exp(-t)*Math.pow(t,e)/o,n+=r[e],o*=++e,n<1-I;);return r}},t.chiSquaredDistributionTable=q,t.chiSquaredGoodnessOfFit=function(t,e,r){for(var o,i,a=0,s=e(n(t)),u=[],l=[],c=0;c<t.length;c++)void 0===u[t[c]]&&(u[t[c]]=0),u[t[c]]++;for(c=0;c<u.length;c++)void 0===u[c]&&(u[c]=0);for(i in s)i in u&&(l[+i]=s[i]*t.length);for(i=l.length-1;0<=i;i--)l[i]<3&&(l[i-1]+=l[i],l.pop(),u[i-1]+=u[i],u.pop());for(i=0;i<u.length;i++)a+=Math.pow(u[i]-l[i],2)/l[i];return o=u.length-1-1,q[o][r]<a},t.kernelDensityEstimation=G,t.kde=G,t.zScore=function(t,e,n){return(t-e)/n},t.cumulativeStdNormalProbability=function(t){var e=Math.abs(t),n=Math.min(Math.round(100*e),U.length-1);return 0<=t?U[n]:+(1-U[n]).toFixed(4)},t.standardNormalTable=U,t.errorFunction=K,t.erf=K,t.inverseErrorFunction=Y,t.probit=function(t){return 0===t?t=I:1<=t&&(t=1-I),Math.sqrt(2)*Y(2*t-1)},t.permutationTest=function(t,e,r,o){if(void 0===o&&(o=1e4),void 0===r&&(r="two_side"),"two_side"!==r&&"greater"!==r&&"less"!==r)throw new Error("`alternative` must be either 'two_side', 'greater', or 'less'");for(var i=n(t)-n(e),a=new Array(o),s=t.concat(e),u=Math.floor(s.length/2),l=0;l<o;l++){j(s);var c=s.slice(0,u),d=s.slice(u,s.length),f=n(c)-n(d);a[l]=f}var h=0;if("two_side"===r)for(l=0;l<=o;l++)Math.abs(a[l])>=Math.abs(i)&&(h+=1);else if("greater"===r)for(l=0;l<=o;l++)a[l]>=i&&(h+=1);else for(l=0;l<=o;l++)a[l]<=i&&(h+=1);return h/o},t.bisect=function(t,e,n,r,o){if("function"!=typeof t)throw new TypeError("func must be a function");for(var i=0;i<r;i++){var a=(e+n)/2;if(0===t(a)||Math.abs((n-e)/2)<o)return a;$(t(a))===$(t(e))?e=a:n=a}throw new Error("maximum number of iterations exceeded")},t.quickselect=d,t.sign=$,t.numericSort=s,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_topojson-client@3.1.0@topojson-client/dist/topojson-client.js":function(t,e,n){!function(t){"use strict";function e(t){return t}function n(t){if(null==t)return e;var n,r,o=t.scale[0],i=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=r=0);var u=2,l=t.length,c=new Array(l);for(c[0]=(n+=t[0])*o+a,c[1]=(r+=t[1])*i+s;u<l;)c[u]=t[u],++u;return c}}function r(t){var e,r=n(t.transform),o=1/0,i=o,a=-o,s=-o;function u(t){(t=r(t))[0]<o&&(o=t[0]),t[0]>a&&(a=t[0]),t[1]<i&&(i=t[1]),t[1]>s&&(s=t[1])}function l(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(l);break;case"Point":u(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(u)}}for(e in t.arcs.forEach(function(t){for(var e,n=-1,u=t.length;++n<u;)(e=r(t[n],n))[0]<o&&(o=e[0]),e[0]>a&&(a=e[0]),e[1]<i&&(i=e[1]),e[1]>s&&(s=e[1])}),t.objects)l(t.objects[e]);return[o,i,a,s]}function o(t,e){var n=e.id,r=e.bbox,o=null==e.properties?{}:e.properties,a=i(t,e);return null==n&&null==r?{type:"Feature",properties:o,geometry:a}:null==r?{type:"Feature",id:n,properties:o,geometry:a}:{type:"Feature",id:n,bbox:r,properties:o,geometry:a}}function i(t,e){var r=n(t.transform),o=t.arcs;function i(t,e){e.length&&e.pop();for(var n=o[t<0?~t:t],i=0,a=n.length;i<a;++i)e.push(r(n[i],i));t<0&&function(t,e){for(var n,r=t.length,o=r-e;o<--r;)n=t[o],t[o++]=t[r],t[r]=n}(e,a)}function a(t){return r(t)}function s(t){for(var e=[],n=0,r=t.length;n<r;++n)i(t[n],e);return e.length<2&&e.push(e[0]),e}function u(t){for(var e=s(t);e.length<4;)e.push(e[0]);return e}function l(t){return t.map(u)}return function t(e){var n,r=e.type;switch(r){case"GeometryCollection":return{type:r,geometries:e.geometries.map(t)};case"Point":n=a(e.coordinates);break;case"MultiPoint":n=e.coordinates.map(a);break;case"LineString":n=s(e.arcs);break;case"MultiLineString":n=e.arcs.map(s);break;case"Polygon":n=l(e.arcs);break;case"MultiPolygon":n=e.arcs.map(l);break;default:return null}return{type:r,coordinates:n}}(e)}function a(t,e){var n={},r={},o={},i=[],a=-1;function s(t,e){for(var r in t){var o=t[r];delete e[o.start],delete o.start,delete o.end,o.forEach(function(t){n[t<0?~t:t]=1}),i.push(o)}}return e.forEach(function(n,r){var o,i=t.arcs[n<0?~n:n];i.length<3&&!i[1][0]&&!i[1][1]&&(o=e[++a],e[a]=n,e[r]=o)}),e.forEach(function(e){var n,i,a=function(e){var n,r=t.arcs[e<0?~e:e],o=r[0];return t.transform?(n=[0,0],r.forEach(function(t){n[0]+=t[0],n[1]+=t[1]})):n=r[r.length-1],e<0?[n,o]:[o,n]}(e),s=a[0],u=a[1];if(n=o[s])if(delete o[n.end],n.push(e),n.end=u,i=r[u]){delete r[i.start];var l=i===n?n:n.concat(i);r[l.start=n.start]=o[l.end=i.end]=l}else r[n.start]=o[n.end]=n;else if(n=r[u])if(delete r[n.start],n.unshift(e),n.start=s,i=o[s]){delete o[i.end];var c=i===n?n:i.concat(n);r[c.start=i.start]=o[c.end=n.end]=c}else r[n.start]=o[n.end]=n;else r[(n=[e]).start=s]=o[n.end=u]=n}),s(o,r),s(r,o),e.forEach(function(t){n[t<0?~t:t]||i.push([t])}),i}function s(t,e,n){var r,o,i;if(arguments.length>1)r=function(t,e,n){var r,o=[],i=[];function a(t){var e=t<0?~t:t;(i[e]||(i[e]=[])).push({i:t,g:r})}function s(t){t.forEach(a)}function u(t){t.forEach(s)}return function t(e){switch(r=e,e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"LineString":s(e.arcs);break;case"MultiLineString":case"Polygon":u(e.arcs);break;case"MultiPolygon":e.arcs.forEach(u)}}(e),i.forEach(null==n?function(t){o.push(t[0].i)}:function(t){n(t[0].g,t[t.length-1].g)&&o.push(t[0].i)}),o}(0,e,n);else for(o=0,r=new Array(i=t.arcs.length);o<i;++o)r[o]=o;return{type:"MultiLineString",arcs:a(t,r)}}function u(t,e){var n={},r=[],o=[];function s(t){t.forEach(function(e){e.forEach(function(e){(n[e=e<0?~e:e]||(n[e]=[])).push(t)})}),r.push(t)}function u(e){return function(t){for(var e,n=-1,r=t.length,o=t[r-1],i=0;++n<r;)e=o,o=t[n],i+=e[0]*o[1]-e[1]*o[0];return Math.abs(i)}(i(t,{type:"Polygon",arcs:[e]}).coordinates[0])}return e.forEach(function t(e){switch(e.type){case"GeometryCollection":e.geometries.forEach(t);break;case"Polygon":s(e.arcs);break;case"MultiPolygon":e.arcs.forEach(s)}}),r.forEach(function(t){if(!t._){var e=[],r=[t];for(t._=1,o.push(e);t=r.pop();)e.push(t),t.forEach(function(t){t.forEach(function(t){n[t<0?~t:t].forEach(function(t){t._||(t._=1,r.push(t))})})})}}),r.forEach(function(t){delete t._}),{type:"MultiPolygon",arcs:o.map(function(e){var r,o=[];if(e.forEach(function(t){t.forEach(function(t){t.forEach(function(t){n[t<0?~t:t].length<2&&o.push(t)})})}),o=a(t,o),(r=o.length)>1)for(var i,s,l=1,c=u(o[0]);l<r;++l)(i=u(o[l]))>c&&(s=o[0],o[0]=o[l],o[l]=s,c=i);return o}).filter(function(t){return t.length>0})}}function l(t,e){for(var n=0,r=t.length;n<r;){var o=n+r>>>1;t[o]<e?n=o+1:r=o}return n}function c(t){if(null==t)return e;var n,r,o=t.scale[0],i=t.scale[1],a=t.translate[0],s=t.translate[1];return function(t,e){e||(n=r=0);var u=2,l=t.length,c=new Array(l),d=Math.round((t[0]-a)/o),f=Math.round((t[1]-s)/i);for(c[0]=d-n,n=d,c[1]=f-r,r=f;u<l;)c[u]=t[u],++u;return c}}t.bbox=r,t.feature=function(t,e){return"string"==typeof e&&(e=t.objects[e]),"GeometryCollection"===e.type?{type:"FeatureCollection",features:e.geometries.map(function(e){return o(t,e)})}:o(t,e)},t.merge=function(t){return i(t,u.apply(this,arguments))},t.mergeArcs=u,t.mesh=function(t){return i(t,s.apply(this,arguments))},t.meshArcs=s,t.neighbors=function(t){var e={},n=t.map(function(){return[]});function r(t,n){t.forEach(function(t){t<0&&(t=~t);var r=e[t];r?r.push(n):e[t]=[n]})}function o(t,e){t.forEach(function(t){r(t,e)})}var i={LineString:r,MultiLineString:o,Polygon:o,MultiPolygon:function(t,e){t.forEach(function(t){o(t,e)})}};for(var a in t.forEach(function t(e,n){"GeometryCollection"===e.type?e.geometries.forEach(function(e){t(e,n)}):e.type in i&&i[e.type](e.arcs,n)}),e)for(var s=e[a],u=s.length,c=0;c<u;++c)for(var d=c+1;d<u;++d){var f,h=s[c],_=s[d];(f=n[h])[a=l(f,_)]!==_&&f.splice(a,0,_),(f=n[_])[a=l(f,h)]!==h&&f.splice(a,0,h)}return n},t.quantize=function(t,e){if(t.transform)throw new Error("already quantized");if(e&&e.scale)u=t.bbox;else{if(!((n=Math.floor(e))>=2))throw new Error("n must be ≥2");var n,o=(u=t.bbox||r(t))[0],i=u[1],a=u[2],s=u[3];e={scale:[a-o?(a-o)/(n-1):1,s-i?(s-i)/(n-1):1],translate:[o,i]}}var u,l,d=c(e),f=t.objects,h={};function _(t){return d(t)}function p(t){var e;switch(t.type){case"GeometryCollection":e={type:"GeometryCollection",geometries:t.geometries.map(p)};break;case"Point":e={type:"Point",coordinates:_(t.coordinates)};break;case"MultiPoint":e={type:"MultiPoint",coordinates:t.coordinates.map(_)};break;default:return t}return null!=t.id&&(e.id=t.id),null!=t.bbox&&(e.bbox=t.bbox),null!=t.properties&&(e.properties=t.properties),e}for(l in f)h[l]=p(f[l]);return{type:"Topology",bbox:u,transform:e,objects:h,arcs:t.arcs.map(function(t){var e,n=0,r=1,o=t.length,i=new Array(o);for(i[0]=d(t[0],0);++n<o;)((e=d(t[n],n))[0]||e[1])&&(i[r++]=e);return 1===r&&(i[r++]=[0,0]),i.length=r,i})}},t.transform=n,t.untransform=c,Object.defineProperty(t,"__esModule",{value:!0})}(e)},"./node_modules/_tslib@1.11.1@tslib/tslib.js":function(t,e,n){(function(n){var r,o,i,a,s,u,l,c,d,f,h,_,p,v,g,m,y,b,j,x,w,E,M;!function(S){var T="object"==typeof n?n:"object"==typeof self?self:"object"==typeof this?this:{};function P(t,e){return t!==T&&("function"==typeof Object.create?Object.defineProperty(t,"__esModule",{value:!0}):t.__esModule=!0),function(n,r){return t[n]=e?e(n,r):r}}void 0===(r=function(t){var e,n;e=P(T,P(t)),n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o=function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n},s=function(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a},u=function(t,e){return function(n,r){e(n,r,t)}},l=function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=function(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(t){try{u(r.next(t))}catch(t){i(t)}}function s(t){try{u(r.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n(function(t){t(e)})).then(a,s)}u((r=r.apply(t,e||[])).next())})},d=function(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).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]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=e.call(t,a)}catch(t){i=[6,t],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},f=function(t,e){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])},h=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},_=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},p=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(_(arguments[e]));return t},v=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),o=0,e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},g=function(t){return this instanceof g?(this.v=t,this):new g(t)},m=function(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(t,e||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(t){o[t]&&(r[t]=function(e){return new Promise(function(n,r){i.push([t,e,n,r])>1||s(t,e)})})}function s(t,e){try{(n=o[t](e)).value instanceof g?Promise.resolve(n.value.v).then(u,l):c(i[0][2],n)}catch(t){c(i[0][3],t)}var n}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),i.shift(),i.length&&s(i[0][0],i[0][1])}},y=function(t){var e,n;return e={},r("next"),r("throw",function(t){throw t}),r("return"),e[Symbol.iterator]=function(){return this},e;function r(r,o){e[r]=t[r]?function(e){return(n=!n)?{value:g(t[r](e)),done:"return"===r}:o?o(e):e}:o}},b=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=h(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise(function(r,o){e=t[n](e),function(t,e,n,r){Promise.resolve(r).then(function(e){t({value:e,done:n})},e)}(r,o,e.done,e.value)})}}},j=function(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t},x=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},w=function(t){return t&&t.__esModule?t:{default:t}},E=function(t,e){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return e.get(t)},M=function(t,e,n){if(!e.has(t))throw new TypeError("attempted to set private field on non-instance");return e.set(t,n),n},e("__extends",o),e("__assign",i),e("__rest",a),e("__decorate",s),e("__param",u),e("__metadata",l),e("__awaiter",c),e("__generator",d),e("__exportStar",f),e("__values",h),e("__read",_),e("__spread",p),e("__spreadArrays",v),e("__await",g),e("__asyncGenerator",m),e("__asyncDelegator",y),e("__asyncValues",b),e("__makeTemplateObject",j),e("__importStar",x),e("__importDefault",w),e("__classPrivateFieldGet",E),e("__classPrivateFieldSet",M)}.apply(e,[e]))||(t.exports=r)}()}).call(this,n("./node_modules/_webpack@4.42.1@webpack/buildin/global.js"))},"./node_modules/_webpack@4.42.1@webpack/buildin/global.js":function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},"./node_modules/_webpack@4.42.1@webpack/buildin/module.js":function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},"./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js":function(t,e,n){var r;!function(e){"use strict";function o(){}var i=o.prototype,a=e.EventEmitter;function s(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function u(t){return function(){return this[t].apply(this,arguments)}}i.getListeners=function(t){var e,n,r=this._getEvents();if(t instanceof RegExp)for(n in e={},r)r.hasOwnProperty(n)&&t.test(n)&&(e[n]=r[n]);else e=r[t]||(r[t]=[]);return e},i.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},i.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},i.addListener=function(t,e){if(!function t(e){return"function"==typeof e||e instanceof RegExp||!(!e||"object"!=typeof e)&&t(e.listener)}(e))throw new TypeError("listener must be a function");var n,r=this.getListenersAsObject(t),o="object"==typeof e;for(n in r)r.hasOwnProperty(n)&&-1===s(r[n],e)&&r[n].push(o?e:{listener:e,once:!1});return this},i.on=u("addListener"),i.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},i.once=u("addOnceListener"),i.defineEvent=function(t){return this.getListeners(t),this},i.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},i.removeListener=function(t,e){var n,r,o=this.getListenersAsObject(t);for(r in o)o.hasOwnProperty(r)&&-1!==(n=s(o[r],e))&&o[r].splice(n,1);return this},i.off=u("removeListener"),i.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},i.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},i.manipulateListeners=function(t,e,n){var r,o,i=t?this.removeListener:this.addListener,a=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(r=n.length;r--;)i.call(this,e,n[r]);else for(r in e)e.hasOwnProperty(r)&&(o=e[r])&&("function"==typeof o?i.call(this,r,o):a.call(this,r,o));return this},i.removeEvent=function(t){var e,n=typeof t,r=this._getEvents();if("string"===n)delete r[t];else if(t instanceof RegExp)for(e in r)r.hasOwnProperty(e)&&t.test(e)&&delete r[e];else delete this._events;return this},i.removeAllListeners=u("removeEvent"),i.emitEvent=function(t,e){var n,r,o,i,a=this.getListenersAsObject(t);for(i in a)if(a.hasOwnProperty(i))for(n=a[i].slice(0),o=0;o<n.length;o++)!0===(r=n[o]).once&&this.removeListener(t,r.listener),r.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,r.listener);return this},i.trigger=u("emitEvent"),i.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},i.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},i._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},i._getEvents=function(){return this._events||(this._events={})},o.noConflict=function(){return e.EventEmitter=a,o},void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)}("undefined"!=typeof window?window:this||{})},"./src/api/geo.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=n("./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js"),s=n("./src/view.ts"),u=r.__importDefault(n("./src/util/get-geo-projection.ts")),l={geoArea:function(t){return i.geoArea(t)},geoAreaByName:function(t){return i.geoArea(this.geoFeatureByName(t))},geoCentroid:function(t){return i.geoCentroid(t)},geoCentroidByName:function(t){return i.geoCentroid(this.geoFeatureByName(t))},geoDistance:function(t,e){return i.geoDistance(t,e)},geoLength:function(t){return i.geoLength(t)},geoLengthByName:function(t){return i.geoLength(this.geoFeatureByName(t))},geoContains:function(t,e){return i.geoContains(t,e)},geoFeatureByName:function(t){var e;return this.rows.some(function(n){return n.name===t&&(e=n,!0)}),e},geoFeatureByPosition:function(t){var e;return this.rows.some(function(n){return!!i.geoContains(n,t)&&(e=n,!0)}),e},geoNameByPosition:function(t){var e=this.geoFeatureByPosition(t);if(e)return e.name},getGeoProjection:u.default,geoProject:function(t,e,n){return e=u.default(e,n),a.geoProject(t,e)},geoProjectByName:function(t,e,n){return e=u.default(e,n),a.geoProject(this.geoFeatureByName(t),e)},geoProjectPosition:function(t,e,n){return u.default(e,n)(t)},geoProjectInvert:function(t,e,n){return u.default(e,n).invert(t)}};o.assign(s.View.prototype,l)},"./src/api/hierarchy.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/view.ts");r.assign(o.View.prototype,{getAllNodes:function(){var t=[],e=this.root;return e&&e.each?e.each(function(e){t.push(e)}):e&&e.eachNode&&e.eachNode(function(e){t.push(e)}),t},getAllLinks:function(){for(var t,e=[],n=[this.root];t=n.pop();){var r=t.children;r&&r.forEach(function(r){e.push({source:t,target:r}),n.push(r)})}return e}}),r.assign(o.View.prototype,{getAllEdges:o.View.prototype.getAllLinks})},"./src/api/partition.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/partition.ts")),a=n("./src/view.ts");o.assign(a.View.prototype,{partition:function(t,e){return void 0===e&&(e=[]),i.default(this.rows,t,e)},group:function(t,e){void 0===e&&(e=[]);var n=this.partition(t,e);return o.values(n)},groups:function(t,e){return void 0===e&&(e=[]),this.group(t,e)}})},"./src/api/statistics.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importStar(n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=n("./src/view.ts"),s=r.__importDefault(n("./src/util/p-by-fraction.ts"));function u(t,e){var n=t.getColumn(e);return i.isArray(n)&&i.isArray(n[0])&&(n=i.flattenDeep(n)),n}r.__importDefault(n("./src/constants.ts")).default.STATISTICS_METHODS.forEach(function(t){a.View.prototype[t]=function(e){return o[t](u(this,e))}});var l=o.quantile;i.assign(a.View.prototype,{average:a.View.prototype.mean,quantile:function(t,e){return l(u(this,t),e)},quantiles:function(t,e){var n=u(this,t);return e.map(function(t){return l(n,t)})},quantilesByFraction:function(t,e){return this.quantiles(t,s.default(e))},range:function(t){return[this.min(t),this.max(t)]},extent:function(t){return this.range(t)}})},"./src/connector/default.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js");n("./src/data-set.ts").DataSet.registerConnector("default",function(t,e){var n;if(!(n=r.isString(t)?e.getView(t):t))throw new TypeError("Invalid dataView");return r.deepMix([],n.rows)})},"./src/connector/dsv.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./node_modules/_d3-dsv@1.2.0@d3-dsv/dist/d3-dsv.js"),i=n("./src/data-set.ts");i.DataSet.registerConnector("dsv",function(t,e){void 0===e&&(e={});var n=e.delimiter||",";if(!r.isString(n))throw new TypeError("Invalid delimiter: must be a string!");return o.dsvFormat(n).parse(t)}),i.DataSet.registerConnector("csv",function(t){return o.csvParse(t)}),i.DataSet.registerConnector("tsv",function(t){return o.tsvParse(t)})},"./src/connector/geo-graticule.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),o=n("./src/data-set.ts");function i(t,e){e.dataType="geo-graticule";var n=r.geoGraticule().lines();return n.map(function(t,e){return t.index=""+e,t}),e.rows=n,n}e.default=i,o.DataSet.registerConnector("geo-graticule",i)},"./src/connector/geojson.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importDefault(n("./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=n("./src/data-set.ts"),s=i.geoPath();function u(t,e,n){n.dataType=a.DataSet.CONSTANTS.GEO;var i=o.deepMix([],t.features);return i.forEach(function(t){t.name=t.properties.name,t.longitude=[],t.latitude=[];var e=t.pathData=s(t);r.default(e)._path.forEach(function(e){t.longitude.push(e[1]),t.latitude.push(e[2])});var n=s.centroid(t);t.centroidX=n[0],t.centroidY=n[1]}),i}a.DataSet.registerConnector("geo",u),a.DataSet.registerConnector("geojson",u),a.DataSet.registerConnector("GeoJSON",u),e.default=u},"./src/connector/graph.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts"),i={nodes:function(t){return t.nodes},edges:function(t){return t.edges}};function a(t,e,n){e=r.assign({},i,e),n.dataType=o.DataSet.CONSTANTS.GRAPH;var a=e.nodes,s=e.edges;if(a&&!r.isFunction(a))throw new TypeError("Invalid nodes: must be a function!");if(s&&!r.isFunction(s))throw new TypeError("Invalid edges: must be a function!");return n.rows=n.graph={nodes:a(t),edges:s(t)},r.assign(n,n.graph),n.rows}o.DataSet.registerConnector("graph",a),o.DataSet.registerConnector("diagram",a)},"./src/connector/hexjson.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./node_modules/_d3-hexjson@1.1.0@d3-hexjson/build/d3-hexjson.js"),i=n("./src/data-set.ts"),a={width:1,height:1};function s(t){return t.cx=t.x,t.cy=t.y,t.x=[],t.y=[],t.vertices.forEach(function(e){t.x.push(e.x+t.cx),t.y.push(e.y+t.cy)}),t}function u(t,e,n){n.dataType=i.DataSet.CONSTANTS.HEX;var u=(e=r.assign({},a,e)).width,l=e.height,c=r.deepMix([],t);n._HexJSON=c;var d=n._GridHexJSON=o.getGridForHexJSON(c),f=n.rows=o.renderHexJSON(c,u,l).map(s);return n._gridRows=o.renderHexJSON(d,u,l).map(s),f}i.DataSet.registerConnector("hex",u),i.DataSet.registerConnector("hexjson",u),i.DataSet.registerConnector("hex-json",u),i.DataSet.registerConnector("HexJSON",u),e.default=u},"./src/connector/hierarchy.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js"),i=n("./src/data-set.ts");function a(t,e,n){n.dataType=i.DataSet.CONSTANTS.HIERARCHY;var a=e&&e.children?e.children:null;if(a&&!r.isFunction(a))throw new TypeError("Invalid children: must be a function!");return e.pureData?n.rows=n.root=t:n.rows=n.root=o.hierarchy(t,a),t}i.DataSet.registerConnector("hierarchy",a),i.DataSet.registerConnector("tree",a)},"./src/connector/topojson.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_topojson-client@3.1.0@topojson-client/dist/topojson-client.js"),a=r.__importDefault(n("./src/connector/geojson.ts")),s=n("./src/data-set.ts");function u(t,e,n){var r=e.object;if(!o.isString(r))throw new TypeError("Invalid object: must be a string!");var s=i.feature(t,t.objects[r]);return a.default(s,void 0,n)}s.DataSet.registerConnector("topojson",u),s.DataSet.registerConnector("TopoJSON",u)},"./src/constants.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={HIERARCHY:"hierarchy",GEO:"geo",HEX:"hex",GRAPH:"graph",TABLE:"table",GEO_GRATICULE:"geo-graticule",STATISTICS_METHODS:["max","mean","median","min","mode","product","standardDeviation","sum","sumSimple","variance"]}},"./src/data-set.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),a=n("./src/view.ts"),s=r.__importDefault(n("./src/constants.ts")),u=function(t){function e(e){void 0===e&&(e={state:{}});var n=t.call(this)||this;return n.isDataSet=!0,n._onChangeTimer=null,n.views={},n.state={},n.state=e.state,n}return r.__extends(e,t),e.registerConnector=function(t,n){e.connectors[t]=n},e.getConnector=function(t){return e.connectors[t]||e.connectors.default},e.registerTransform=function(t,n){e.transforms[t]=n},e.getTransform=function(t){return e.transforms[t]||e.transforms.default},e.prototype._getUniqueViewName=function(){for(var t=o.uniqueId("view_");this.views[t];)t=o.uniqueId("view_");return t},e.prototype.createView=function(t,e){if(o.isNil(t)&&(t=this._getUniqueViewName()),o.isObject(t)&&(e=t,t=this._getUniqueViewName()),this.views[t])throw new Error("data view exists: "+t);var n=new a.View(this,e);return this.views[t]=n,n},e.prototype.getView=function(t){return this.views[t]},e.prototype.setView=function(t,e){this.views[t]=e},e.prototype.setState=function(t,e){var n=this;this.state[t]=e,this._onChangeTimer&&(window.clearTimeout(this._onChangeTimer),this._onChangeTimer=null),this._onChangeTimer=window.setTimeout(function(){n.emit("statechange",t,e)},16)},e.CONSTANTS=s.default,e.connectors={},e.transforms={},e.DataSet=e,e.DataView=a.View,e.View=a.View,e.version="____DATASET_VERSION____",e}(i.default);e.DataSet=u,o.assign(u,s.default),o.assign(u.prototype,{view:u.prototype.createView}),a.View.DataSet=u},"./src/index.ts":function(t,e,n){"use strict";n("./src/api/geo.ts"),n("./src/api/hierarchy.ts"),n("./src/api/partition.ts"),n("./src/api/statistics.ts"),n("./src/connector/default.ts"),n("./src/connector/dsv.ts"),n("./src/connector/geo-graticule.ts"),n("./src/connector/geojson.ts"),n("./src/connector/graph.ts"),n("./src/connector/hexjson.ts"),n("./src/connector/hierarchy.ts"),n("./src/connector/topojson.ts"),n("./src/transform/default.ts"),n("./src/transform/filter.ts"),n("./src/transform/fold.ts"),n("./src/transform/map.ts"),n("./src/transform/partition.ts"),n("./src/transform/percent.ts"),n("./src/transform/pick.ts"),n("./src/transform/proportion.ts"),n("./src/transform/rename.ts"),n("./src/transform/reverse.ts"),n("./src/transform/sort.ts"),n("./src/transform/sort-by.ts"),n("./src/transform/subset.ts"),n("./src/transform/fill-rows.ts"),n("./src/transform/impute.ts"),n("./src/transform/aggregate.ts"),n("./src/transform/regression.ts"),n("./src/transform/kde.ts"),n("./src/transform/bin/hexagon.ts"),n("./src/transform/bin/histogram.ts"),n("./src/transform/bin/quantile.ts"),n("./src/transform/bin/rectangle.ts"),n("./src/transform/geo/centroid.ts"),n("./src/transform/geo/projection.ts"),n("./src/transform/geo/region.ts"),n("./src/transform/diagram/arc.ts"),n("./src/transform/diagram/dagre.ts"),n("./src/transform/diagram/sankey.ts"),n("./src/transform/diagram/voronoi.ts"),n("./src/transform/hierarchy/cluster.ts"),n("./src/transform/hierarchy/compact-box.ts"),n("./src/transform/hierarchy/dendrogram.ts"),n("./src/transform/hierarchy/indented.ts"),n("./src/transform/hierarchy/pack.ts"),n("./src/transform/hierarchy/partition.ts"),n("./src/transform/hierarchy/tree.ts"),n("./src/transform/hierarchy/treemap.ts"),n("./src/transform/tag-cloud.ts"),n("./src/transform/waffle.ts"),n("./src/transform/kernel-smooth/density.ts"),n("./src/transform/kernel-smooth/regression.ts");var r=n("./src/data-set.ts");t.exports=r.DataSet},"./src/transform/aggregate.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importStar(n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),a=r.__importDefault(n("./src/util/partition.ts")),s=n("./src/data-set.ts"),u=s.DataSet.registerTransform,l=n("./src/util/option-parser.ts"),c={as:[],fields:[],groupBy:[],operations:[]},d="count",f={count:function(t){return t.length},distinct:function(t,e){return o.uniq(t.map(function(t){return t[e]})).length}};function h(t,e){e=o.assign({},c,e);var n=l.getFields(e);if(!o.isArray(n))throw new TypeError("Invalid fields: it must be an array with one or more strings!");var r=e.as||[];o.isString(r)&&(r=[r]);var i=e.operations;o.isString(i)&&(i=[i]);var s=[d];if(o.isArray(i)&&i.length||(console.warn('operations is not defined, will use [ "count" ] directly.'),r=i=s),1!==i.length||i[0]!==d){if(i.length!==n.length)throw new TypeError("Invalid operations: it's length must be the same as fields!");if(r.length!==n.length)throw new TypeError("Invalid as: it's length must be the same as fields!")}var u=a.default(t.rows,e.groupBy),h=[];o.forIn(u,function(t){var e=t[0];i.forEach(function(o,i){var a=r[i],s=n[i];e[a]=f[o](t,s)}),h.push(e)}),t.rows=h}s.DataSet.CONSTANTS.STATISTICS_METHODS.forEach(function(t){f[t]=function(e,n){var r=e.map(function(t){return t[n]});return o.isArray(r)&&o.isArray(r[0])&&(r=o.flattenDeep(r)),i[t](r)}}),f.average=f.mean,u("aggregate",h),u("summary",h),e.default={VALID_AGGREGATES:o.keys(f)}},"./src/transform/bin/hexagon.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts"),a=n("./src/util/option-parser.ts"),s={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1},u=Math.sqrt(3),l=Math.PI/3,c=[0,l,2*l,3*l,4*l,5*l];function d(t,e,n,r){return Math.sqrt((t-n)*(t-n)+(e-r)*(e-r))}function f(t,e,n){var r=t-n;e/=2;var o=Math.floor(r/e);return[e*(o+(1===Math.abs(o%2)?1:0))+n,e*(o+(1===Math.abs(o%2)?0:1))+n]}function h(t,e){e=o.assign({},s,e);var n=a.getFields(e);if(!o.isArray(n)||2!==n.length)throw new TypeError("Invalid fields: it must be an array with 2 strings!");var i=r.__read(n,2),l=i[0],h=i[1],_=t.range(l),p=t.range(h),v=_[1]-_[0],g=p[1]-p[0],m=e.binWidth||[];if(2!==m.length){var y=r.__read(e.bins,2),b=y[0],j=y[1];if(b<=0||j<=0)throw new TypeError("Invalid bins: must be an array with two positive numbers (e.g. [ 30, 30 ])!");m=[v/b,g/j]}var x=r.__read(e.offset,2),w=x[0],E=x[1],M=3*m[0]/(u*m[1]),S=function(t,e,n){void 0===e&&(e=[1,1]),void 0===n&&(n=[0,0]);var o={},i=r.__read(e,2),a=i[0],s=i[1],u=r.__read(n,2),l=u[0],c=u[1];return t.forEach(function(t){var e,n,i,u,h,_=r.__read(t,2),p=_[0],v=_[1],g=r.__read(f(p,a,l),2),m=g[0],y=g[1],b=r.__read(f(v,s,c),2),j=b[0],x=b[1];d(p,v,m,j)<d(p,v,y,x)?(i="x"+m+"y"+j,u=(e=r.__read([m,j],2))[0],h=e[1]):(i="x"+y+"y"+x,u=(n=r.__read([y,x],2))[0],h=n[1]),o[i]=o[i]||{x:u,y:h,count:0},o[i].count++}),o}(t.rows.map(function(t){return[t[l],M*t[h]]}),[m[0],M*m[1]],[w,M*E]),T=r.__read(e.as,3),P=T[0],k=T[1],O=T[2];if(!P||!k||!O)throw new TypeError('Invalid as: it must be an array with three elements (e.g. [ "x", "y", "count" ])!');var C=m[0]/u,A=c.map(function(t){return[Math.sin(t)*C,-Math.cos(t)*C]}),N=[],I=0;e.sizeByCount&&o.forIn(S,function(t){t.count>I&&(I=t.count)}),o.forIn(S,function(t){var n=t.x,r=t.y,o=t.count,i={};i[O]=o,e.sizeByCount?(i[P]=A.map(function(e){return n+t.count/I*e[0]}),i[k]=A.map(function(e){return(r+t.count/I*e[1])/M})):(i[P]=A.map(function(t){return n+t[0]}),i[k]=A.map(function(t){return(r+t[1])/M})),N.push(i)}),t.rows=N}i.DataSet.registerTransform("bin.hexagon",h),i.DataSet.registerTransform("bin.hex",h),i.DataSet.registerTransform("hexbin",h)},"./src/transform/bin/histogram.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/partition.ts")),a=n("./src/data-set.ts"),s=n("./src/util/option-parser.ts"),u={as:["x","count"],bins:30,offset:0,groupBy:[]};function l(t,e){e=o.assign({},u,e);var n=s.getField(e);if(0!==t.rows.length){var a=t.range(n),l=a[1]-a[0],c=e.binWidth;if(!c){var d=e.bins;if(d<=0)throw new TypeError("Invalid bins: it must be a positive number!");c=l/d}var f=e.offset%c,h=[],_=e.groupBy,p=i.default(t.rows,_);o.forIn(p,function(t){var i={};t.map(function(t){return t[n]}).forEach(function(t){var e=r.__read(function(t,e,n){var r=t-n,o=Math.floor(r/e);return[o*e+n,(o+1)*e+n]}(t,c,f),2),n=e[0],o=e[1],a=n+"-"+o;i[a]=i[a]||{x0:n,x1:o,count:0},i[a].count++});var a=r.__read(e.as,2),s=a[0],u=a[1];if(!s||!u)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var l=o.pick(t[0],_);o.forIn(i,function(t){var e=o.assign({},l);e[s]=[t.x0,t.x1],e[u]=t.count,h.push(e)})}),t.rows=h}}a.DataSet.registerTransform("bin.histogram",l),a.DataSet.registerTransform("bin.dot",l)},"./src/transform/bin/quantile.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n("./src/util/partition.ts")),s=r.__importDefault(n("./src/util/p-by-fraction.ts")),u=n("./src/data-set.ts").DataSet.registerTransform,l=n("./src/util/option-parser.ts"),c={as:"_bin",groupBy:[],fraction:4};u("bin.quantile",function(t,e){e=o.assign({},c,e);var n=l.getField(e),r=e.as;if(!o.isString(r))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var u=e.p,d=e.fraction;o.isArray(u)&&0!==u.length||(u=s.default(d));var f=t.rows,h=e.groupBy,_=a.default(f,h),p=[];o.forIn(_,function(t){var e=t[0],o=t.map(function(t){return t[n]}),a=u.map(function(t){return i.quantile(o,t)});e[r]=a,p.push(e)}),t.rows=p})},"./src/transform/bin/rectangle.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts").DataSet.registerTransform,a=n("./src/util/option-parser.ts"),s={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};function u(t,e,n){var r=t-n,o=Math.floor(r/e);return[o*e+n,(o+1)*e+n]}function l(t,e){e=o.assign({},s,e);var n=r.__read(a.getFields(e),2),i=n[0],l=n[1];if(!i||!l)throw new TypeError("Invalid fields: must be an array with 2 strings!");var c=t.range(i),d=t.range(l),f=c[1]-c[0],h=d[1]-d[0],_=e.binWidth||[];if(2!==_.length){var p=r.__read(e.bins,2),v=p[0],g=p[1];if(v<=0||g<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");_=[f/v,h/g]}var m=t.rows.map(function(t){return[t[i],t[l]]}),y={},b=r.__read(e.offset,2),j=b[0],x=b[1];m.forEach(function(t){var e=r.__read(u(t[0],_[0],j),2),n=e[0],o=e[1],i=r.__read(u(t[1],_[1],x),2),a=i[0],s=i[1],l=n+"-"+o+"-"+a+"-"+s;y[l]=y[l]||{x0:n,x1:o,y0:a,y1:s,count:0},y[l].count++});var w=[],E=r.__read(e.as,3),M=E[0],S=E[1],T=E[2];if(!M||!S||!T)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(e.sizeByCount){var P=0;o.forIn(y,function(t){t.count>P&&(P=t.count)}),o.forIn(y,function(t){var e=t.x0,n=t.x1,o=t.y0,i=t.y1,a=t.count,s=a/P,u=r.__read([(e+n)/2,(o+i)/2],2),l=u[0],c=u[1],d=(n-e)*s/2,f=(i-o)*s/2,h=l-d,_=l+d,p=c-f,v=c+f,g={};g[M]=[h,_,_,h],g[S]=[p,p,v,v],g[T]=a,w.push(g)})}else o.forIn(y,function(t){var e={};e[M]=[t.x0,t.x1,t.x1,t.x0],e[S]=[t.y0,t.y0,t.y1,t.y1],e[T]=t.count,w.push(e)});t.rows=w}i("bin.rectangle",l),i("bin.rect",l)},"./src/transform/default.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("./src/data-set.ts").DataSet.registerTransform("default",function(t){return t})},"./src/transform/diagram/arc.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts"),i={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};function a(t,e){e=r.assign({},i,e);var n={},o=t.nodes,a=t.edges;r.isArray(o)&&0!==o.length||(o=function(t,e,n){return void 0===n&&(n={}),t.forEach(function(t){var r=e.edgeSource(t),o=e.edgeTarget(t);n[r]||(n[r]={id:r}),n[o]||(n[o]={id:o})}),r.values(n)}(a,e,n)),o.forEach(function(t){var r=e.id(t);n[r]=t}),function(t,e,n){r.forIn(t,function(t,r){t.inEdges=e.filter(function(t){return""+n.target(t)==""+r}),t.outEdges=e.filter(function(t){return""+n.source(t)==""+r}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(e){t.value+=n.targetWeight(e)}),t.outEdges.forEach(function(e){t.value+=n.sourceWeight(e)})})}(n,a,e),function(t,e){var n={weight:function(t,e){return e.value-t.value},frequency:function(t,e){return e.frequency-t.frequency},id:function(t,n){return(""+e.id(t)).localeCompare(""+e.id(n))}}[e.sortBy];!n&&r.isFunction(e.sortBy)&&(n=e.sortBy),n&&t.sort(n)}(o,e),function(t,e){var n=t.length;if(!n)throw new TypeError("Invalid nodes: it's empty!");if(e.weight){var r=e.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var o=r/(2*n),i=e.thickness;if(i<=0||i>=1)throw new TypeError("Invalid thickness: it must be in range (0, 1)!");var a=0;t.forEach(function(t){a+=t.value}),t.forEach(function(t){t.weight=t.value/a,t.width=t.weight*(1-r),t.height=i}),t.forEach(function(n,r){for(var a=0,s=r-1;s>=0;s--)a+=t[s].width+2*o;var u=n.minX=o+a,l=n.maxX=n.minX+n.width,c=n.minY=e.y-i/2,d=n.maxY=c+i;n.x=[u,l,l,u],n.y=[c,c,d,d]})}else{var s=1/n;t.forEach(function(t,n){t.x=(n+.5)*s,t.y=e.y})}}(o,e),function(t,e,n){if(n.weight){var o={};r.forIn(t,function(t,e){o[e]=t.value}),e.forEach(function(e){var r=n.source(e),i=n.target(e),a=t[r],s=t[i];if(a&&s){var u=o[r],l=n.sourceWeight(e),c=a.minX+(a.value-u)/a.value*a.width,d=c+l/a.value*a.width;o[r]-=l;var f=o[i],h=n.targetWeight(e),_=s.minX+(s.value-f)/s.value*s.width,p=_+h/s.value*s.width;o[i]-=h;var v=n.y;e.x=[c,d,_,p],e.y=[v,v,v,v]}})}else e.forEach(function(e){var r=t[n.source(e)],o=t[n.target(e)];r&&o&&(e.x=[r.x,o.x],e.y=[r.y,o.y])})}(n,a,e),t.nodes=o,t.edges=a}o.DataSet.registerTransform("diagram.arc",a),o.DataSet.registerTransform("arc",a)},"./src/transform/diagram/dagre.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./node_modules/_dagre@0.8.5@dagre/index.js")),a=n("./src/data-set.ts"),s={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(t){return t.source},target:function(t){return t.target}};function u(t,e){e=o.assign({},s,e);var n=new i.default.graphlib.Graph;n.setGraph({}),n.setDefaultEdgeLabel(function(){return{}}),t.nodes.forEach(function(t){var r=e.nodeId?e.nodeId(t):t.id;t.height||t.width||(t.height=t.width=e.edgesep),n.setNode(r,t)}),t.edges.forEach(function(t){n.setEdge(e.source(t),e.target(t))}),i.default.layout(n);var r=[],a=[];n.nodes().forEach(function(t){var e=n.node(t),o=e.x,i=e.y,a=e.height,s=e.width;e.x=[o-s/2,o+s/2,o+s/2,o-s/2],e.y=[i+a/2,i+a/2,i-a/2,i-a/2],r.push(e)}),n.edges().forEach(function(t){var e=n.edge(t).points,r={};r.x=e.map(function(t){return t.x}),r.y=e.map(function(t){return t.y}),a.push(r)}),t.nodes=r,t.edges=a}a.DataSet.registerTransform("diagram.dagre",u),a.DataSet.registerTransform("dagre",u)},"./src/transform/diagram/sankey.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./node_modules/_d3-sankey@0.9.1@d3-sankey/dist/d3-sankey.js"),i=n("./src/data-set.ts"),a={sankeyLeft:o.sankeyLeft,sankeyRight:o.sankeyRight,sankeyCenter:o.sankeyCenter,sankeyJustify:o.sankeyJustify},s={value:function(t){return t.value},source:function(t){return t.source},target:function(t){return t.target},nodeAlign:"sankeyJustify",nodeWidth:.02,nodePadding:.02,sort:void 0};function u(t,e){e=r.assign({},s,e);var n=null;r.isString(e.nodeAlign)?n=a[e.nodeAlign]:r.isFunction(e.nodeAlign)&&(n=e.nodeAlign);var i=o.sankey().nodeSort(e.sort).links(function(t){return t.edges}).nodeWidth(e.nodeWidth).nodePadding(e.nodePadding).extent([[0,0],[1,1]]);r.isFunction(e.nodeId)&&i.nodeId(e.nodeId),n&&i.nodeAlign(n),i(t),t.nodes.forEach(function(t){var e=t.x0,n=t.x1,r=t.y0,o=t.y1;t.x=[e,n,n,e],t.y=[r,r,o,o]}),t.edges.forEach(function(t){var e=t.source,n=t.target,r=e.x1,o=n.x0;t.x=[r,r,o,o];var i=t.width/2;t.y=[t.y0+i,t.y0-i,t.y1+i,t.y1-i]})}i.DataSet.registerTransform("diagram.sankey",u),i.DataSet.registerTransform("sankey",u)},"./src/transform/diagram/voronoi.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importStar(n("./node_modules/_d3-voronoi@1.1.4@d3-voronoi/dist/d3-voronoi.js")),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts").DataSet.registerTransform,a=n("./src/util/option-parser.ts"),s={as:["_x","_y"]};function u(t,e){var n=(e=o.assign({},s,e)).as;if(!o.isArray(n)||2!==n.length)throw new TypeError("Invalid as: must be an array with two strings!");var i=n[0],u=n[1],l=a.getFields(e);if(!o.isArray(l)||2!==l.length)throw new TypeError("Invalid fields: must be an array with two strings!");var c=l[0],d=l[1],f=t.rows,h=f.map(function(t){return[t[c],t[d]]}),_=r.voronoi();e.extend&&_.extent(e.extend),e.size&&_.size(e.size);var p=_(h).polygons();f.forEach(function(t,e){var n=p[e].filter(function(t){return!!t});t[i]=n.map(function(t){return t[0]}),t[u]=n.map(function(t){return t[1]})})}i("diagram.voronoi",u),i("voronoi",u)},"./src/transform/fill-rows.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/partition.ts")),a=n("./src/data-set.ts"),s={fillBy:"group",groupBy:[],orderBy:[]};function u(t,e){var n=t.map(function(t){return t});return e.forEach(function(t){var e=n.indexOf(t);e>-1&&n.splice(e,1)}),n}function l(t,e){e=o.assign({},s,e);var n=t.rows,r=e.groupBy,a=e.orderBy,l=i.default(n,r,a),c=0,d=[];o.forIn(l,function(t){t.length>c&&(c=t.length,d=t)});var f=[],h={};if(d.forEach(function(t){var e=a.map(function(e){return t[e]}).join("-");f.push(e),h[e]=t}),"order"===e.fillBy){var _=d[0],p=[],v={};n.forEach(function(t){var e=a.map(function(e){return t[e]}).join("-");-1===p.indexOf(e)&&(p.push(e),v[e]=t)}),u(p,f).forEach(function(t){var e={};r.forEach(function(t){e[t]=_[t]}),a.forEach(function(n){e[n]=v[t][n]}),n.push(e),d.push(e),f.push(t),h[t]=e}),c=d.length}o.forIn(l,function(t){if(t!==d&&t.length<c){var e=t[0],o=[];t.forEach(function(t){o.push(a.map(function(e){return t[e]}).join("-"))}),u(f,o).some(function(o,i){if(i>=c-t.length)return!0;var s=h[o],u={};return r.forEach(function(t){u[t]=e[t]}),a.forEach(function(t){u[t]=s[t]}),n.push(u),!1})}})}a.DataSet.registerTransform("fill-rows",l),a.DataSet.registerTransform("fillRows",l)},"./src/transform/filter.ts":function(t,e,n){"use strict";function r(t){return!!t}Object.defineProperty(e,"__esModule",{value:!0}),n("./src/data-set.ts").DataSet.registerTransform("filter",function(t,e){t.rows=t.rows.filter(e.callback||r)})},"./src/transform/fold.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts"),i=n("./src/util/option-parser.ts"),a={fields:[],key:"key",retains:[],value:"value"};o.DataSet.registerTransform("fold",function(t,e){var n=t.getColumnNames();e=r.assign({},a,e);var o=i.getFields(e);0===o.length&&(console.warn("warning: option fields is not specified, will fold all columns."),o=n);var s=e.key,u=e.value,l=e.retains;l&&0!==l.length||(l=r.difference(n,o));var c=[];t.rows.forEach(function(t){o.forEach(function(e){var n=r.pick(t,l);n[s]=e,n[u]=t[e],c.push(n)})}),t.rows=c})},"./src/transform/geo/centroid.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts").DataSet.registerTransform,i=n("./src/util/option-parser.ts"),a={as:["_centroid_x","_centroid_y"]};o("geo.centroid",function(t,e){e=r.assign({},a,e);var n=i.getField(e),o=e.geoView||e.geoDataView;if(r.isString(o)&&t.dataSet&&(o=t.dataSet.getView(o)),!o||"geo"!==o.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var s=e.as;if(!r.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var u=s[0],l=s[1];t.rows.forEach(function(t){var e=o.geoFeatureByName(t[n]);e&&(o._projectedAs?(t[u]=e[o._projectedAs[2]],t[l]=e[o._projectedAs[3]]):(t[u]=e.centroidX,t[l]=e.centroidY))})})},"./src/transform/geo/projection.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js"),a=r.__importDefault(n("./node_modules/_point-at-length@1.1.0@point-at-length/index.js")),s=n("./src/data-set.ts").DataSet.registerTransform,u=r.__importDefault(n("./src/util/get-geo-projection.ts")),l={as:["_x","_y","_centroid_x","_centroid_y"]};s("geo.projection",function(t,e){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");var n=(e=o.assign({},l,e)).projection;if(!n)throw new TypeError("Invalid projection!");n=u.default(n);var s=i.geoPath(n),c=e.as;if(!o.isArray(c)||4!==c.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=c;var d=r.__read(c,4),f=d[0],h=d[1],_=d[2],p=d[3];t.rows.forEach(function(t){t[f]=[],t[h]=[];var e=s(t);if(e){a.default(e)._path.forEach(function(e){t[f].push(e[1]),t[h].push(e[2])});var n=s.centroid(t);t[_]=n[0],t[p]=n[1]}}),t.rows=t.rows.filter(function(t){return 0!==t[f].length})})},"./src/transform/geo/region.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts").DataSet.registerTransform,i=n("./src/util/option-parser.ts"),a={as:["_x","_y"]};o("geo.region",function(t,e){e=r.assign({},a,e);var n=i.getField(e),o=e.geoView||e.geoDataView;if(r.isString(o)&&(o=t.dataSet.getView(o)),!o||"geo"!==o.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var s=e.as;if(!r.isArray(s)||2!==s.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=s[0],l=s[1];t.rows.forEach(function(t){var e=o.geoFeatureByName(t[n]);e&&(o._projectedAs?(t[u]=e[o._projectedAs[0]],t[l]=e[o._projectedAs[1]]):(t[u]=e.longitude,t[l]=e.latitude))})})},"./src/transform/hierarchy/cluster.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importStar(n("./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts"),a=n("./src/util/option-parser.ts"),s={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function u(t,e){if(t.dataType!==i.DataSet.CONSTANTS.HIERARCHY||!t.root)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n=t.root,u=(e=o.assign({},s,e)).as;if(!o.isArray(u)||2!==u.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var l=void 0;try{l=a.getField(e)}catch(t){console.warn(t)}l&&n.sum(function(t){return t[l]});var c=r.cluster();c.size(e.size),e.nodeSize&&c.nodeSize(e.nodeSize),e.separation&&c.separation(e.separation),c(n);var d=u[0],f=u[1];n.each(function(t){t[d]=t.x,t[f]=t.y})}i.DataSet.registerTransform("hierarchy.cluster",u),i.DataSet.registerTransform("dendrogram",u)},"./src/transform/hierarchy/compact-box.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importDefault(n("./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),o=n("./src/data-set.ts"),i={};function a(t,e){var n=t.root;if(e=Object.assign({},i,e),t.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.default.compactBox(n,e)}o.DataSet.registerTransform("hierarchy.compact-box",a),o.DataSet.registerTransform("compact-box-tree",a),o.DataSet.registerTransform("non-layered-tidy-tree",a),o.DataSet.registerTransform("mindmap-logical",a)},"./src/transform/hierarchy/dendrogram.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importDefault(n("./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),o=n("./src/data-set.ts"),i={};function a(t,e){var n=t.root;if(e=Object.assign({},i,e),t.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.default.dendrogram(n,e)}o.DataSet.registerTransform("hierarchy.dendrogram",a),o.DataSet.registerTransform("dendrogram",a)},"./src/transform/hierarchy/indented.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importDefault(n("./node_modules/_@antv_hierarchy@0.6.2@@antv/hierarchy/build/hierarchy.js")),o=n("./src/data-set.ts"),i={};function a(t,e){var n=t.root;if(e=Object.assign({},i,e),t.dataType!==o.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.default.indented(n,e)}o.DataSet.registerTransform("hierarchy.indented",a),o.DataSet.registerTransform("indented-tree",a)},"./src/transform/hierarchy/pack.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importStar(n("./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),a=n("./src/data-set.ts"),s=n("./src/util/option-parser.ts"),u={field:"value",size:[1,1],padding:0,as:["x","y","r"]};function l(t,e){if(t.dataType!==a.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,r=t.root,l=(e=o.assign({},u,e)).as;if(!o.isArray(l)||3!==l.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');try{n=s.getField(e)}catch(t){console.warn(t)}n&&r.sum(function(t){return t[n]}).sort(function(t,e){return e[n]-t[n]});var c=i.pack();c.size(e.size),e.padding&&c.padding(e.padding),c(r);var d=l[0],f=l[1],h=l[2];r.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":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importStar(n("./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts"),a=n("./src/util/option-parser.ts"),s={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};function u(t,e){if(t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,u=t.root,l=(e=o.assign({},s,e)).as;if(!o.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}n&&u.sum(function(t){return t[n]});var c=r.partition();c.size(e.size).round(e.round).padding(e.padding),c(u);var d=l[0],f=l[1];u.each(function(t){t[d]=[t.x0,t.x1,t.x1,t.x0],t[f]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===l.indexOf(e)&&delete t[e]})})}i.DataSet.registerTransform("hierarchy.partition",u),i.DataSet.registerTransform("adjacency",u)},"./src/transform/hierarchy/tree.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importStar(n("./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts"),a=n("./src/util/option-parser.ts"),s={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function u(t,e){if(t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,u=t.root,l=(e=o.assign({},s,e)).as;if(!o.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}n&&u.sum(function(t){return t[n]});var c=r.tree();c.size(e.size),e.nodeSize&&c.nodeSize(e.nodeSize),e.separation&&c.separation(e.separation),c(u);var d=l[0],f=l[1];u.each(function(t){t[d]=t.x,t[f]=t.y})}i.DataSet.registerTransform("hierarchy.tree",u),i.DataSet.registerTransform("tree",u)},"./src/transform/hierarchy/treemap.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js").__importStar(n("./node_modules/_d3-hierarchy@1.1.9@d3-hierarchy/dist/d3-hierarchy.js")),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts"),a=n("./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 u(t,e){if(t.dataType!==i.DataSet.CONSTANTS.HIERARCHY)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var n,u=t.root,l=(e=o.assign({},s,e)).as;if(!o.isArray(l)||2!==l.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{n=a.getField(e)}catch(t){console.warn(t)}n&&u.sum(function(t){return t[n]});var c=r.treemap();c.tile(r[e.tile]).size(e.size).round(e.round).padding(e.padding).paddingInner(e.paddingInner).paddingOuter(e.paddingOuter).paddingTop(e.paddingTop).paddingRight(e.paddingRight).paddingBottom(e.paddingBottom).paddingLeft(e.paddingLeft),c(u);var d=l[0],f=l[1];u.each(function(t){t[d]=[t.x0,t.x1,t.x1,t.x0],t[f]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(e){-1===l.indexOf(e)&&delete t[e]})})}i.DataSet.registerTransform("hierarchy.treemap",u),i.DataSet.registerTransform("treemap",u)},"./src/transform/impute.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importStar(n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js")),a=r.__importDefault(n("./src/util/partition.ts")),s=n("./src/data-set.ts"),u=n("./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={};d.forEach(function(t){f[t]=function(e,n){return i[t](n)}}),f.value=function(t,e,n){return n},s.DataSet.registerTransform("impute",function(t,e){e=o.assign({},l,e);var n=u.getField(e),r=e.method;if(!r)throw new TypeError("Invalid method!");if("value"===r&&!o.has(e,"value"))throw new TypeError("Invalid value: it is nil.");var i=c(t.getColumn(n)),s=a.default(t.rows,e.groupBy);o.forIn(s,function(t){var a=c(t.map(function(t){return t[n]}));0===a.length&&(a=i),t.forEach(function(i){if(o.isUndefined(i[n]))if(o.isFunction(r))i[n]=r(i,a,e.value,t);else{if(!o.isString(r))throw new TypeError("Invalid method: must be a function or one of "+d.join(", "));i[n]=f[r](i,a,e.value)}})})})},"./src/transform/kde.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/get-series-values.ts")),a=r.__importDefault(n("./src/util/kernel.ts")),s=r.__importStar(n("./src/util/bandwidth.ts")),u=r.__importDefault(n("./src/util/partition.ts")),l=n("./src/data-set.ts"),c=n("./src/util/option-parser.ts"),d=n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),f={minSize:.01,as:["key","y","size"],extent:[],method:"gaussian",bandwidth:"nrd",step:0,groupBy:[]},h=o.keys(a.default),_=o.keys(s);function p(t,e){e=o.assign({},f,e);var n=c.getFields(e);if(!o.isArray(n)||n.length<1)throw new TypeError("invalid fields: must be an array of at least 1 strings!");var l=e.as;if(!o.isArray(l)||3!==l.length)throw new TypeError("invalid as: must be an array of 3 strings!");var _=e.method;if(o.isString(_)){if(-1===h.indexOf(_))throw new TypeError("invalid method: "+_+". Must be one of "+h.join(", "));_=a.default[_]}if(!o.isFunction(_))throw new TypeError("invalid method: kernel method must be a function!");var p=e.extent;if(!o.isArray(p)||0===p.length){var v=[];o.each(n,function(e){var n=t.range(e);v=v.concat(n)}),p=[Math.min.apply(Math,r.__spread(v)),Math.max.apply(Math,r.__spread(v))]}var g=e.bandwidth;o.isString(g)&&s[g]?g=s[g](t.getColumn(n[0])):o.isFunction(g)?g=g(t.getColumn(n[0])):(!o.isNumber(g)||g<=0)&&(g=s.nrd(t.getColumn(n[0])));var m=i.default(p,e.step?e.step:g),y=[],b=e.groupBy,j=u.default(t.rows,b);o.forIn(j,function(t){var i={};o.each(n,function(n){var a=o.pick(t[0],b);i[n]=d.kernelDensityEstimation(t.map(function(t){return t[n]}),_,g);var s=r.__read(l,3),u=s[0],c=s[1],f=s[2];a[u]=n,a[c]=[],a[f]=[],o.each(m,function(t){var r=i[n](t);r>=e.minSize&&(a[c].push(t),a[f].push(r))}),y.push(a)})}),t.rows=y}l.DataSet.registerTransform("kernel-density-estimation",p),l.DataSet.registerTransform("kde",p),l.DataSet.registerTransform("KDE",p),e.default={KERNEL_METHODS:h,BANDWIDTH_METHODS:_}},"./src/transform/kernel-smooth/density.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/get-series-values.ts")),a=r.__importDefault(n("./src/util/kernel.ts")),s=n("./src/data-set.ts"),u=n("./src/util/option-parser.ts"),l=n("./src/util/bandwidth.ts"),c={as:["x","y","z"],method:"gaussian"},d=o.keys(a.default);function f(t,e){var n,s;e=o.assign({},c,e);var f=u.getFields(e);if(!o.isArray(f)||2!==f.length)throw new TypeError("invalid fields: must be an array of 2 strings!");var h,_=r.__read(e.as,3),p=_[0],v=_[1],g=_[2];if(!o.isString(p)||!o.isString(v)||!o.isString(g))throw new TypeError("invalid as: must be an array of 3 strings!");if(o.isString(e.method)){if(-1===d.indexOf(e.method))throw new TypeError("invalid method: "+e.method+". Must be one of "+d.join(", "));h=a.default[e.method]}var m,y,b,j,x=r.__read(f,2),w=x[0],E=x[1],M=e.extent,S=e.bandwidth;M&&Array.isArray(M)&&Array.isArray(M[0])&&Array.isArray(M[1])?(m=(n=r.__read(M,2))[0],y=n[1]):(m=t.range(w),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})?(b=(s=r.__read(S,2))[0],j=s[1]):(b=l.silverman(t.getColumn(w)),j=l.silverman(t.getColumn(E)));for(var T=i.default(m,b),P=i.default(y,j),k=t.rows.length,O=[],C=0;C<T.length;C++)for(var A=0;A<P.length;A++){for(var N=0,I=T[C],R=P[A],D=0;D<k;D++)N+=h((I-t.rows[D][w])/b)*h((R-t.rows[D][E])/j);var L=1/(k*b*j)*N,q={};q[p]=I,q[v]=R,q[g]=L,O.push(q)}t.rows=O}s.DataSet.registerTransform("kernel-smooth.density",f),s.DataSet.registerTransform("kernel.density",f),e.default={KERNEL_METHODS:d}},"./src/transform/kernel-smooth/regression.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/get-series-values.ts")),a=r.__importDefault(n("./src/util/kernel.ts")),s=n("./src/data-set.ts"),u=n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),l=n("./src/util/option-parser.ts"),c=n("./src/util/bandwidth.ts"),d={as:["x","y"],method:"gaussian"},f=o.keys(a.default);function h(t){return function(e){return o.isArray(e)?e.map(function(e){return t(e)}):t(e)}}function _(t,e){e=o.assign({},d,e);var n=l.getFields(e);if(!o.isArray(n)||1!==n.length&&2!==n.length)throw new TypeError("invalid fields: must be an array of 1 or 2 strings!");var s,_=r.__read(e.as,2),p=_[0],v=_[1];if(!o.isString(p)||!o.isString(v))throw new TypeError("invalid as: must be an array of 2 strings!");var g=e.method;if(o.isString(g)){if(-1===f.indexOf(g))throw new TypeError("invalid method: "+g+". Must be one of "+f.join(", "));s=a.default[g]}var m=r.__read(n,2),y=m[0],b=m[1],j=t.getColumn(y),x=e.extent;!x&&o.isArray(x)||(x=t.range(y));var w=e.bandwidth;(!w||!o.isNumber(w)||w<=0)&&(w=c.silverman(j));var E,M=i.default(x,w),S=j.length,T=function(t,e,n,r){return t((r-n)/e)}.bind(null,s,w);if(o.isNil(b))E=h(function(t){var e=j.map(function(e){return T(t,e)}),n=u.sum(e),r=S*w;return n&&r?n/r:0});else{var P=t.getColumn(b);E=h(function(t){var e=j.map(function(e){return T(t,e)}),n=u.sum(e.map(function(t,e){return t*P[e]})),r=u.sum(e);return n&&r?n/r:0})}var k=M.map(function(t){var e={};return e[p]=t,e[v]=E(t),e});t.rows=k}s.DataSet.registerTransform("kernel-smooth.regression",_),s.DataSet.registerTransform("kernel.regression",_),e.default={KERNEL_METHODS:f}},"./src/transform/map.ts":function(t,e,n){"use strict";function r(t){return t}Object.defineProperty(e,"__esModule",{value:!0}),n("./src/data-set.ts").DataSet.registerTransform("map",function(t,e){t.rows=t.rows.map(e.callback||r)})},"./src/transform/partition.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/partition.ts")),a=n("./src/data-set.ts"),s={groupBy:[],orderBy:[]};function u(t,e){e=o.assign({},s,e),t.rows=o.values(i.default(t.rows,e.groupBy,e.orderBy))}a.DataSet.registerTransform("partition",function(t,e){e=o.assign({},s,e),t.rows=i.default(t.rows,e.groupBy,e.orderBy)}),a.DataSet.registerTransform("group",u),a.DataSet.registerTransform("groups",u)},"./src/transform/percent.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n("./src/util/partition.ts")),s=n("./src/data-set.ts"),u=n("./src/util/option-parser.ts"),l={groupBy:[],as:"_percent"};s.DataSet.registerTransform("percent",function(t,e){e=o.assign({},l,e);var n=u.getField(e),r=e.dimension,s=e.groupBy,c=e.as;if(!o.isString(r))throw new TypeError("Invalid dimension: must be a string!");if(o.isArray(c)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),c=c[0]),!o.isString(c))throw new TypeError("Invalid as: must be a string!");var d=t.rows,f=[],h=a.default(d,s);o.forIn(h,function(t){var e=i.sum(t.map(function(t){return t[n]}));0===e&&console.warn("Invalid data: total sum of field "+n+" is 0!");var s=a.default(t,[r]);o.forIn(s,function(t){var o=i.sum(t.map(function(t){return t[n]})),a=t[0],s=a[r];a[n]=o,a[r]=s,a[c]=0===e?0:o/e,f.push(a)})}),t.rows=f})},"./src/transform/pick.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts"),i=n("./src/util/option-parser.ts");o.DataSet.registerTransform("pick",function(t,e){var n=i.getFields(e,t.getColumnNames());t.rows=t.rows.map(function(t){return r.pick(t,n)})})},"./src/transform/proportion.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/partition.ts")),a=n("./src/data-set.ts"),s=n("./src/util/option-parser.ts"),u={groupBy:[],as:"_proportion"};a.DataSet.registerTransform("proportion",function(t,e){e=o.assign({},u,e);var n=s.getField(e),r=e.dimension,a=e.groupBy,l=e.as;if(!o.isString(r))throw new TypeError("Invalid dimension: must be a string!");if(o.isArray(l)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),l=l[0]),!o.isString(l))throw new TypeError("Invalid as: must be a string!");var c=t.rows,d=[],f=i.default(c,a);o.forIn(f,function(t){var e=t.length,a=i.default(t,[r]);o.forIn(a,function(t){var o=t.length,i=t[0],a=i[r];i[n]=o,i[r]=a,i[l]=o/e,d.push(i)})}),t.rows=d})},"./src/transform/regression.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n("./node_modules/_regression@2.0.1@regression/dist/regression.js")),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),a=r.__importDefault(n("./src/util/get-series-values.ts")),s=n("./src/data-set.ts"),u=n("./src/util/option-parser.ts"),l=n("./src/util/bandwidth.ts"),c={as:["x","y"],method:"linear",order:2,precision:2},d=["linear","exponential","logarithmic","power","polynomial"];s.DataSet.registerTransform("regression",function(t,e){e=i.assign({},c,e);var n=u.getFields(e);if(!i.isArray(n)||2!==n.length)throw new TypeError("invalid fields: must be an array of 2 strings.");var s=r.__read(n,2),f=s[0],h=s[1],_=e.method;if(-1===d.indexOf(_))throw new TypeError("invalid method: "+_+". Must be one of "+d.join(", "));var p=t.rows.map(function(t){return[t[f],t[h]]}),v=o.default[_](p,e),g=e.extent;i.isArray(g)&&2===g.length||(g=t.range(f));var m=e.bandwidth;(!i.isNumber(m)||m<=0)&&(m=l.silverman(t.getColumn(f)));var y=a.default(g,m),b=[],j=r.__read(e.as,2),x=j[0],w=j[1];y.forEach(function(t){var e={},n=r.__read(v.predict(t),2),o=n[0],i=n[1];e[x]=o,e[w]=i,isFinite(i)&&b.push(e)}),t.rows=b}),e.default={REGRESSION_METHODS:d}},"./src/transform/rename.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts");function i(t,e){var n=e.map||{},o={};r.isPlainObject(n)&&r.forIn(n,function(t,e){r.isString(t)&&r.isString(e)&&(o[e]=t)}),t.rows.forEach(function(t){r.forIn(o,function(e,n){var r=t[n];delete t[n],t[e]=r})})}o.DataSet.registerTransform("rename",i),o.DataSet.registerTransform("rename-fields",i)},"./src/transform/reverse.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("./src/data-set.ts").DataSet.registerTransform("reverse",function(t){t.rows.reverse()})},"./src/transform/sort-by.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o=n("./src/data-set.ts"),i=n("./src/util/option-parser.ts"),a=["ASC","DESC"];function s(t,e){var n=i.getFields(e,[t.getColumnName(0)]);if(!r.isArray(n))throw new TypeError("Invalid fields: must be an array with strings!");t.rows=r.sortBy(t.rows,n);var o=e.order;if(o&&-1===a.indexOf(o))throw new TypeError("Invalid order: "+o+" must be one of "+a.join(", "));"DESC"===o&&t.rows.reverse()}o.DataSet.registerTransform("sort-by",s),o.DataSet.registerTransform("sortBy",s)},"./src/transform/sort.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n("./src/data-set.ts").DataSet.registerTransform("sort",function(t,e){var n=t.getColumnName(0);t.rows.sort(e.callback||function(t,e){return t[n]-e[n]})})},"./src/transform/subset.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./src/data-set.ts"),o=n("./src/util/option-parser.ts");r.DataSet.registerTransform("subset",function(t,e){var n=e.startRowIndex||0,r=e.endRowIndex||t.rows.length-1,i=o.getFields(e,t.getColumnNames());t.rows=t.getSubset(n,r,i)})},"./src/transform/tag-cloud.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./src/data-set.ts"),a=r.__importDefault(n("./src/util/tag-cloud.ts")),s=n("./src/util/option-parser.ts"),u={fields:["text","value"],font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:500};function l(t,e){e=o.assign({},u,e);var n=a.default();["font","fontSize","padding","rotate","size","spiral","timeInterval"].forEach(function(t){e[t]&&n[t](e[t])});var i=s.getFields(e),l=r.__read(i,2),c=l[0],d=l[1];if(!o.isString(c)||!o.isString(d))throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ "text", "value" ])!');var f=t.rows.map(function(t){return t.text=t[c],t.value=t[d],t});n.words(f),e.imageMask&&n.createMask(e.imageMask);var h=n.start(),_=h._tags,p=h._bounds;_.forEach(function(t){t.x+=e.size[0]/2,t.y+=e.size[1]/2});var v=r.__read(e.size,2),g=v[0],m=v[1],y=h.hasImage;_.push({text:"",value:0,x:y?0:p[0].x,y:y?0:p[0].y,opacity:0}),_.push({text:"",value:0,x:y?g:p[1].x,y:y?m:p[1].y,opacity:0}),t.rows=_,t._tagCloud=h}i.DataSet.registerTransform("tag-cloud",l),i.DataSet.registerTransform("word-cloud",l)},"./src/transform/waffle.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js"),a=r.__importDefault(n("./src/util/partition.ts")),s=n("./src/data-set.ts"),u=n("./src/util/option-parser.ts"),l={fields:["name","value"],rows:5,size:[1,1],scale:1,groupBy:[],maxCount:1e3,gapRatio:.1,as:["x","y"]};s.DataSet.registerTransform("waffle",function(t,e){e=o.assign({},l,e);var n=u.getFields(e),s=r.__read(n,2),c=s[0],d=s[1],f=r.__read(e.as,2),h=f[0],_=f[1],p=e.groupBy,v=a.default(t.rows,p),g=o.keys(v),m=r.__read(e.size,2),y=m[0],b=m[1],j=e.maxCount,x=b/g.length,w=e.rows,E=e.gapRatio,M=[],S=e.scale,T=0,P=0;o.forIn(v,function(t){var e=i.sum(o.map(t,function(t){return t[d]})),n=Math.ceil(e*S/w);e*S>j&&(S=j/e,n=Math.ceil(e*S/w)),P=y/n}),o.forIn(v,function(t){var e=[T*x,(T+1)*x],n=(e[1]-e[0])*(1-E)/w,r=0,i=0;o.each(t,function(t){for(var a=t[d],s=Math.round(a*S),u=0;u<s;u++){i===w&&(i=0,r++);var l=o.pick(t,[c,d].concat(p));l[h]=r*P+P/2,l[_]=i*n+n/2+e[0],l._wStep=P,l._hStep=n,i++,M.push(l)}}),T+=1}),t.rows=M})},"./src/util/bandwidth.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_simple-statistics@6.1.1@simple-statistics/dist/simple-statistics.min.js");e.silverman=function(t){var e=r.standardDeviation(t),n=4*Math.pow(e,5),o=3*t.length;return Math.pow(n/o,.2)},e.nrd=function(t){var e=r.standardDeviation(t),n=r.interquartileRange(t);return"number"==typeof n&&(e=Math.min(e,n/1.34)),1.06*e*Math.pow(t.length,-.2)}},"./src/util/get-geo-projection.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importStar(n("./node_modules/_d3-geo@1.6.4@d3-geo/build/d3-geo.js")),a=r.__importStar(n("./node_modules/_d3-geo-projection@2.1.2@d3-geo-projection/build/d3-geo-projection.js")),s=r.__importStar(n("./node_modules/_d3-composite-projections@1.3.2@d3-composite-projections/d3-composite-projections.js"));e.default=function(t,e){if(void 0===e&&(e=!1),o.isFunction(t))return e?t:t();if(o.isString(t)){if(i[t])return e?i[t]:i[t]();if(a[t])return e?a[t]:a[t]();if(s[t])return e?s[t]:s[t]()}return null}},"./src/util/get-series-values.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js");e.default=function(t,e){for(var n=e||1,o=r.__read(t,2),i=o[0],a=o[1],s=[],u=i;u<a;)s.push(u),u+=n;return s.push(a),s}},"./src/util/kernel.ts":function(t,e,n){"use strict";function r(t){return Math.abs(t)<=1?.5:0}Object.defineProperty(e,"__esModule",{value:!0}),e.default={boxcar:r,cosine:function(t){return Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0},epanechnikov:function(t){return Math.abs(t)<1?.75*(1-t*t):0},gaussian:function(t){return.3989422804*Math.exp(-.5*t*t)},quartic:function(t){if(Math.abs(t)<1){var e=1-t*t;return.9375*e*e}return 0},triangular:function(t){var e=Math.abs(t);return e<1?1-e:0},tricube:function(t){return Math.abs(t)<1?70/81*function(t){var e=1-Math.pow(Math.abs(t),3);return Math.pow(e,3)}(t):0},triweight:function(t){if(Math.abs(t)<1){var e=1-t*t;return 35/32*e*e*e}return 0},uniform:r}},"./src/util/option-parser.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),o="Invalid field: it must be a string!",i="Invalid fields: it must be an array!";e.getField=function(t,e){var n=t.field,i=t.fields;if(r.isString(n))return n;if(r.isArray(n))return console.warn(o),n[0];if(console.warn(o+" will try to get fields instead."),r.isString(i))return i;if(r.isArray(i)&&i.length)return i[0];if(e)return e;throw new TypeError(o)},e.getFields=function(t,e){var n=t.field,o=t.fields;if(r.isArray(o))return o;if(r.isString(o))return console.warn(i),[o];if(console.warn(i+" will try to get field instead."),r.isString(n))return console.warn(i),[n];if(r.isArray(n)&&n.length)return console.warn(i),n;if(e)return e;throw new TypeError(i)}},"./src/util/p-by-fraction.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){for(var e=1/t,n=[],r=0;r<=1;r+=e)n.push(r);return n}},"./src/util/partition.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js"),i=r.__importDefault(n("./src/util/simple-sort-by.ts"));e.default=function(t,e,n){void 0===n&&(n=[]);var r,a=t;return n&&n.length&&(a=i.default(t,n)),o.isFunction(e)?r=e:o.isArray(e)?r=function(t){return"_"+e.map(function(e){return t[e]}).join("-")}:o.isString(e)&&(r=function(t){return"_"+t[e]}),o.groupBy(a,r)}},"./src/util/simple-sort-by.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js");e.default=function(t,e){void 0===e&&(e=[]);var n=void 0;return r.isFunction(e)?n=e:r.isArray(e)?n=function(t,n){for(var r=0;r<e.length;r++){var o=e[r];if(t[o]<n[o])return-1;if(t[o]>n[o])return 1}return 0}:r.isString(e)&&(n=function(t,n){return t[e]<n[e]?-1:t[e]>n[e]?1:0}),t.sort(n)}},"./src/util/tag-cloud.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=Math.PI/180,i=64,a=2048;function s(t){return t.text}function u(){return"serif"}function l(){return"normal"}function c(t){return t.value}function d(){return 90*~~(2*Math.random())}function f(){return 1}function h(t,e,n,r){if(!e.sprite){var s=t.context,u=t.ratio;s.clearRect(0,0,(i<<5)/u,a/u);var l=0,c=0,d=0,f=n.length;for(--r;++r<f;){e=n[r],s.save(),s.font=e.style+" "+e.weight+" "+~~((e.size+1)/u)+"px "+e.font;var h=s.measureText(e.text+"m").width*u,_=e.size<<1;if(e.rotate){var p=Math.sin(e.rotate*o),v=Math.cos(e.rotate*o),g=h*v,m=h*p,y=_*v,b=_*p;h=Math.max(Math.abs(g+b),Math.abs(g-b))+31>>5<<5,_=~~Math.max(Math.abs(m+y),Math.abs(m-y))}else h=h+31>>5<<5;if(_>d&&(d=_),l+h>=i<<5&&(l=0,c+=d,d=0),c+_>=a)break;s.translate((l+(h>>1))/u,(c+(_>>1))/u),e.rotate&&s.rotate(e.rotate*o),s.fillText(e.text,0,0),e.padding&&(s.lineWidth=2*e.padding,s.strokeText(e.text,0,0)),s.restore(),e.width=h,e.height=_,e.xoff=l,e.yoff=c,e.x1=h>>1,e.y1=_>>1,e.x0=-e.x1,e.y0=-e.y1,e.hasText=!0,l+=h}for(var j=s.getImageData(0,0,(i<<5)/u,a/u).data,x=[];--r>=0;)if((e=n[r]).hasText){for(var w=(h=e.width)>>5,E=(_=e.y1-e.y0,0);E<_*w;E++)x[E]=0;if(null==(l=e.xoff))return;c=e.yoff;for(var M=0,S=-1,T=0;T<_;T++){for(E=0;E<h;E++){var P=w*T+(E>>5),k=j[(c+T)*(i<<5)+(l+E)<<2]?1<<31-E%32:0;x[P]|=k,M|=k}M?S=T:(e.y0++,_--,T--,c++)}e.y1=e.y0+S,e.sprite=x.slice(0,(e.y1-e.y0)*w)}}}function _(t,e,n){n>>=5;for(var r,o=t.sprite,i=t.width>>5,a=t.x-(i<<4),s=127&a,u=32-s,l=t.y1-t.y0,c=(t.y+t.y0)*n+(a>>5),d=0;d<l;d++){r=0;for(var f=0;f<=i;f++)if((r<<u|(f<i?(r=o[d*i+f])>>>s:0))&e[c+f])return!0;c+=n}return!1}function p(t,e){var n=t[0],r=t[1];e.x+e.x0<n.x&&(n.x=e.x+e.x0),e.y+e.y0<n.y&&(n.y=e.y+e.y0),e.x+e.x1>r.x&&(r.x=e.x+e.x1),e.y+e.y1>r.y&&(r.y=e.y+e.y1)}function v(t){var e=t[0]/t[1];return function(t){return[e*(t*=.1)*Math.cos(t),t*Math.sin(t)]}}function g(t){for(var e=[],n=-1;++n<t;)e[n]=0;return e}function m(){return document.createElement("canvas")}function y(t){return"function"==typeof t?t:function(){return t}}var b={archimedean:v,rectangular:function(t){var e=4*t[0]/t[1],n=0,r=0;return function(t){var o=t<0?-1:1;switch(Math.sqrt(1+4*o*t)-o&3){case 0:n+=e;break;case 1:r+=4;break;case 2:n-=e;break;default:r-=4}return[n,r]}}};e.default=function(){var t=[256,256],e=s,n=u,o=c,j=l,x=l,w=d,E=f,M=v,S=[],T=1/0,P=Math.random,k=m,O={};function C(e,n,r){for(var o,i,a,s,u,l=n.x,c=n.y,d=Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=M(t),h=P()<.5?1:-1,p=-h;(o=f(p+=h))&&(i=~~o[0],a=~~o[1],!(Math.min(Math.abs(i),Math.abs(a))>=d));)if(n.x=l+i,n.y=c+a,!(n.x+n.x0<0||n.y+n.y0<0||n.x+n.x1>t[0]||n.y+n.y1>t[1]||r&&_(n,e,t[0])||r&&(u=r,!((s=n).x+s.x1>u[0].x&&s.x+s.x0<u[1].x&&s.y+s.y1>u[0].y&&s.y+s.y0<u[1].y)))){for(var v=n.sprite,g=n.width>>5,m=t[0]>>5,y=n.x-(g<<4),b=127&y,j=32-b,x=n.y1-n.y0,w=void 0,E=(n.y+n.y0)*m+(y>>5),S=0;S<x;S++){w=0;for(var T=0;T<=g;T++)e[E+T]|=w<<j|(T<g?(w=v[S*g+T])>>>b:0);E+=m}return delete n.sprite,!0}return!1}return O.canvas=function(t){return arguments.length?(k=y(t),O):k},O.start=function(){var s=r.__read(t,2),u=s[0],l=s[1],c=function(t){t.width=t.height=1;var e=Math.sqrt(t.getContext("2d").getImageData(0,0,1,1).data.length>>2);t.width=(i<<5)/e,t.height=a/e;var n=t.getContext("2d");return n.fillStyle=n.strokeStyle="red",n.textAlign="center",{context:n,ratio:e}}(k()),d=O.board?O.board:g((t[0]>>5)*t[1]),f=S.length,_=[],v=S.map(function(t,r){return t.text=e.call(this,t,r),t.font=n.call(this,t,r),t.style=j.call(this,t,r),t.weight=x.call(this,t,r),t.rotate=w.call(this,t,r),t.size=~~o.call(this,t,r),t.padding=E.call(this,t,r),t}).sort(function(t,e){return e.size-t.size}),m=-1,y=O.board?[{x:0,y:0},{x:u,y:l}]:null;return function(){for(var e=Date.now();Date.now()-e<T&&++m<f;){var n=v[m];n.x=u*(P()+.5)>>1,n.y=l*(P()+.5)>>1,h(c,n,v,m),n.hasText&&C(d,n,y)&&(_.push(n),y?O.hasImage||p(y,n):y=[{x:n.x+n.x0,y:n.y+n.y0},{x:n.x+n.x1,y:n.y+n.y1}],n.x-=t[0]>>1,n.y-=t[1]>>1)}O._tags=_,O._bounds=y}(),O},O.createMask=function(e){var n=document.createElement("canvas"),o=r.__read(t,2),i=o[0],a=o[1],s=i>>5,u=g((i>>5)*a);n.width=i,n.height=a;var l=n.getContext("2d");l.drawImage(e,0,0,e.width,e.height,0,0,i,a);for(var c=l.getImageData(0,0,i,a).data,d=0;d<a;d++)for(var f=0;f<i;f++){var h=s*d+(f>>5),_=d*i+f<<2,p=c[_]>=250&&c[_+1]>=250&&c[_+2]>=250?1<<31-f%32:0;u[h]|=p}O.board=u,O.hasImage=!0},O.timeInterval=function(t){return arguments.length?(T=null==t?1/0:t,O):T},O.words=function(t){return arguments.length?(S=t,O):S},O.size=function(e){return arguments.length?(t=[+e[0],+e[1]],O):t},O.font=function(t){return arguments.length?(n=y(t),O):n},O.fontStyle=function(t){return arguments.length?(j=y(t),O):j},O.fontWeight=function(t){return arguments.length?(x=y(t),O):x},O.rotate=function(t){return arguments.length?(w=y(t),O):w},O.text=function(t){return arguments.length?(e=y(t),O):e},O.spiral=function(t){return arguments.length?(M=b[t]||t,O):M},O.fontSize=function(t){return arguments.length?(o=y(t),O):o},O.padding=function(t){return arguments.length?(E=y(t),O):E},O.random=function(t){return arguments.length?(P=t,O):P},O}},"./src/view.ts":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("./node_modules/_tslib@1.11.1@tslib/tslib.js"),o=r.__importDefault(n("./node_modules/_wolfy87-eventemitter@5.2.9@wolfy87-eventemitter/EventEmitter.js")),i=n("./node_modules/_@antv_util@2.0.7@@antv/util/lib/index.js");var a=function(t){function e(e,n){var r=t.call(this)||this;if(r.isView=!0,r.isDataView=!0,r.watchingStates=null,r.dataType="table",r.transforms=[],r.origin=[],r.rows=[],e&&e.isDataSet?r.dataSet=e:(r.dataSet=null,n=e),r.loose=!r.dataSet,n&&(r.watchingStates=n.watchingStates),!r.loose){var o=r.watchingStates;e.on("statechange",function(t){i.isArray(o)?o.indexOf(t)>-1&&r._reExecute():r._reExecute()})}return r}return r.__extends(e,t),e.prototype._parseStateExpression=function(t){var e=this.dataSet;if(null!==e){var n=/^\$state\.(\w+)/.exec(t);return n?e.state[n[1]]:t}},e.prototype._preparseOptions=function(t){var e=this,n=function(t){var e={};return i.forIn(t,function(t,n){i.isObject(t)&&t.isView?e[n]=t:i.isArray(t)?e[n]=t.concat([]):i.isPlainObject(t)?e[n]=i.clone(t):e[n]=t}),e}(t);return this.loose?n:(i.forIn(n,function(t,r){i.isString(t)&&/^\$state\./.test(t)&&(n[r]=e._parseStateExpression(t))}),n)},e.prototype._prepareSource=function(t,n){if(this._source={source:t,options:n},n){r=this._preparseOptions(n);this.origin=e.DataSet.getConnector(r.type)(t,r,this)}else if(t instanceof e||i.isString(t))this.origin=e.DataSet.getConnector("default")(t,this.dataSet);else if(i.isArray(t))this.origin=t;else{if(!i.isObject(t)||!t.type)throw new TypeError("Invalid source");var r=this._preparseOptions(t);this.origin=e.DataSet.getConnector(r.type)(r,this)}return this.rows=i.deepMix([],this.origin),this},e.prototype.source=function(t,e){return this._prepareSource(t,e)._reExecuteTransforms(),this.trigger("change",[]),this},e.prototype.transform=function(t){return t&&t.type&&(this.transforms.push(t),this._executeTransform(t)),this},e.prototype._executeTransform=function(t){t=this._preparseOptions(t),e.DataSet.getTransform(t.type)(this,t)},e.prototype._reExecuteTransforms=function(){var t=this;this.transforms.forEach(function(e){t._executeTransform(e)})},e.prototype.addRow=function(t){this.rows.push(t)},e.prototype.removeRow=function(t){this.rows.splice(t,1)},e.prototype.updateRow=function(t,e){i.assign(this.rows[t],e)},e.prototype.findRows=function(t){return this.rows.filter(function(e){return i.isMatch(e,t)})},e.prototype.findRow=function(t){return i.find(this.rows,t)},e.prototype.getColumnNames=function(){var t=this.rows[0];return t?i.keys(t):[]},e.prototype.getColumnName=function(t){return this.getColumnNames()[t]},e.prototype.getColumnIndex=function(t){return this.getColumnNames().indexOf(t)},e.prototype.getColumn=function(t){return this.rows.map(function(e){return e[t]})},e.prototype.getColumnData=function(t){return this.getColumn(t)},e.prototype.getSubset=function(t,e,n){for(var r=[],o=t;o<=e;o++)r.push(i.pick(this.rows[o],n));return r},e.prototype.toString=function(t){return void 0===t&&(t=!1),t?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},e.prototype._reExecute=function(){var t=this._source,e=t.source,n=t.options;this._prepareSource(e,n),this._reExecuteTransforms(),this.trigger("change",[])},e}(o.default);e.View=a}})});
//# sourceMappingURL=/sm/de67647084900a8830892d4b8445d7c6397d4fd342ffcae48cba784a1d2396b9.map