(self["webpackChunkvue_antd_pro"]=self["webpackChunkvue_antd_pro"]||[]).push([[954],{16762:function(t,n,e){var r="Expected a function",i="__lodash_hash_undefined__",o=1/0,a="[object Function]",u="[object GeneratorFunction]",c="[object Symbol]",s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/,l=/^\./,h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/[\\^$.*+?()[\]{}|]/g,d=/\\(\\)?/g,v=/^\[object .+?Constructor\]$/,g="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,b="object"==typeof self&&self&&self.Object===Object&&self,y=g||b||Function("return this")();function m(t,n){return null==t?void 0:t[n]}function j(t){var n=!1;if(null!=t&&"function"!=typeof t.toString)try{n=!!(t+"")}catch(e){}return n}var _=Array.prototype,O=Function.prototype,w=Object.prototype,x=y["__core-js_shared__"],E=function(){var t=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),k=O.toString,S=w.hasOwnProperty,M=w.toString,T=RegExp("^"+k.call(S).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),C=y.Symbol,P=_.splice,N=at(y,"Map"),A=at(Object,"create"),R=C?C.prototype:void 0,B=R?R.toString:void 0;function L(t){var n=-1,e=t?t.length:0;this.clear();while(++n-1}function W(t,n){var e=this.__data__,r=tt(e,t);return r<0?e.push([t,n]):e[r][1]=n,this}function Y(t){var n=-1,e=t?t.length:0;this.clear();while(++n0&&void 0!==arguments[0]?arguments[0]:"",n=arguments[1],e={},r=/;(?![^(]*\))/g,i=/:(.+)/;return t.split(r).forEach((function(t){if(t){var r=t.split(i);if(r.length>1){var o=n?g(r[0].trim()):r[0].trim();e[o]=r[1].trim()}}})),e},y=function(t,n){var e=t.$options||{},r=e.propsData||{};return n in r},m=function(t,n){var e=t.componentOptions||{},r=e.propsData||{};return n in r},j=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e={};return Object.keys(t).forEach((function(r){(r in n||void 0!==t[r])&&(e[r]=t[r])})),e},_=function(t){return t.data&&t.data.scopedSlots||{}},O=function(t){var n=t.componentOptions||{};t.$vnode&&(n=t.$vnode.componentOptions||{});var e=t.children||n.children||[],r={};return e.forEach((function(t){if(!z(t)){var n=t.data&&t.data.slot||"default";r[n]=r[n]||[],r[n].push(t)}})),(0,c["default"])({},r,_(t))},w=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.$scopedSlots&&t.$scopedSlots[n]&&t.$scopedSlots[n](e)||t.$slots[n]||[]},x=function(t){var n=t.componentOptions||{};return t.$vnode&&(n=t.$vnode.componentOptions||{}),t.children||n.children||[]},E=function(t){if(t.fnOptions)return t.fnOptions;var n=t.componentOptions;return t.$vnode&&(n=t.$vnode.componentOptions),n&&n.Ctor.options||{}},k=function(t){if(t.componentOptions){var n=t.componentOptions,e=n.propsData,r=void 0===e?{}:e,i=n.Ctor,o=void 0===i?{}:i,u=(o.options||{}).props||{},s={},f=!0,l=!1,h=void 0;try{for(var p,v=Object.entries(u)[Symbol.iterator]();!(f=(p=v.next()).done);f=!0){var g=p.value,b=(0,a["default"])(g,2),y=b[0],m=b[1],_=m["default"];void 0!==_&&(s[y]="function"===typeof _&&"Function"!==d(m.type)?_.call(t):_)}}catch(k){l=!0,h=k}finally{try{!f&&v["return"]&&v["return"]()}finally{if(l)throw h}}return(0,c["default"])({},s,r)}var O=t.$options,w=void 0===O?{}:O,x=t.$props,E=void 0===x?{}:x;return j(E,w.propsData)},S=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(t.$createElement){var i=t.$createElement,o=t[n];return void 0!==o?"function"===typeof o&&r?o(i,e):o:t.$scopedSlots[n]&&r&&t.$scopedSlots[n](e)||t.$scopedSlots[n]||t.$slots[n]||void 0}var a=t.context.$createElement,u=T(t)[n];if(void 0!==u)return"function"===typeof u&&r?u(a,e):u;var c=_(t)[n];if(void 0!==c)return"function"===typeof c&&r?c(a,e):c;var s=[],f=t.componentOptions||{};return(f.children||[]).forEach((function(t){t.data&&t.data.slot===n&&(t.data.attrs&&delete t.data.attrs.slot,"template"===t.tag?s.push(t.children):s.push(t))})),s.length?s:void 0},M=function(t){var n=t.data||{},e=t.componentOptions||{};return t.$vnode&&(n=t.$vnode.data||{},e=t.$vnode.componentOptions||{}),(0,c["default"])({},n.props,n.attrs,e.propsData)},T=function(t){var n=t.componentOptions;return t.$vnode&&(n=t.$vnode.componentOptions),n&&n.propsData||{}},C=function(t,n){return T(t)[n]},P=function(t){var n=t.data;return t.$vnode&&(n=t.$vnode.data),n&&n.attrs||{}},N=function(t){var n=t.key;return t.$vnode&&(n=t.$vnode.key),n};function A(t){var n={};return t.componentOptions&&t.componentOptions.listeners?n=t.componentOptions.listeners:t.data&&t.data.on&&(n=t.data.on),(0,c["default"])({},n)}function R(t){var n={};return t.data&&t.data.on&&(n=t.data.on),(0,c["default"])({},n)}function B(t){return(t.$vnode?t.$vnode.componentOptions.listeners:t.$listeners)||{}}function L(t){var n={};t.data?n=t.data:t.$vnode&&t.$vnode.data&&(n=t.$vnode.data);var e=n["class"]||{},r=n.staticClass,i={};return r&&r.split(" ").forEach((function(t){i[t.trim()]=!0})),"string"===typeof e?e.split(" ").forEach((function(t){i[t.trim()]=!0})):Array.isArray(e)?(0,h["default"])(e).split(" ").forEach((function(t){i[t.trim()]=!0})):i=(0,c["default"])({},i,e),i}function I(t,n){var e={};t.data?e=t.data:t.$vnode&&t.$vnode.data&&(e=t.$vnode.data);var r=e.style||e.staticStyle;if("string"===typeof r)r=b(r,n);else if(n&&r){var i={};return Object.keys(r).forEach((function(t){return i[g(t)]=r[t]})),i}return r}function q(t){return t&&(t.Ctor.options.name||t.tag)}function z(t){return!(t.tag||t.text&&""!==t.text.trim())}function F(t){return!t.tag}function D(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter((function(t){return!z(t)}))}var G=function(t,n){return Object.keys(n).forEach((function(e){if(!t[e])throw new Error("not have "+e+" prop");t[e].def&&(t[e]=t[e].def(n[e]))})),t};function $(){var t=[].slice.call(arguments,0),n={};return t.forEach((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=!0,r=!1,i=void 0;try{for(var o,u=Object.entries(t)[Symbol.iterator]();!(e=(o=u.next()).done);e=!0){var s=o.value,l=(0,a["default"])(s,2),h=l[0],p=l[1];n[h]=n[h]||{},(0,f["default"])(p)?(0,c["default"])(n[h],p):n[h]=p}}catch(d){r=!0,i=d}finally{try{!e&&u["return"]&&u["return"]()}finally{if(r)throw i}}})),n}function U(t){return t&&"object"===("undefined"===typeof t?"undefined":(0,i["default"])(t))&&"componentOptions"in t&&"context"in t&&void 0!==t.tag}n.xr=E},66419:function(t,n){"use strict";n.$e=r;var e={};function r(t,n){0}function i(t,n){0}function o(){e={}}function a(t,n,r){n||e[r]||(t(!1,r),e[r]=!0)}function u(t,n){a(r,t,n)}function c(t,n){a(i,t,n)}},66954:function(t,n,e){"use strict";e.r(n),e.d(n,{default:function(){return Pe}});for(var r=function(){var t=this,n=this,e=n._self._c;return e("page-header-wrapper",[e("a-card",{attrs:{bordered:!1}},[e("div",{staticClass:"table-page-search-wrapper"},[e("a-form",{attrs:{layout:"inline"}},[e("a-row",{attrs:{gutter:48}},[e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:"订单编号"}},[e("a-input",{attrs:{placeholder:""},model:{value:n.queryParam.id,callback:function(t){n.$set(n.queryParam,"id",t)},expression:"queryParam.id"}})],1)],1),e("a-col",{attrs:{md:8,sm:24}},[e("a-form-item",{attrs:{label:"订单状态"}},[e("a-select",{attrs:{placeholder:"请选择","default-value":"0"},model:{value:n.queryParam.status,callback:function(t){n.$set(n.queryParam,"status",t)},expression:"queryParam.status"}},[e("a-select-option",{attrs:{value:"0"}},[n._v("全部")]),e("a-select-option",{attrs:{value:"5"}},[n._v("拆包中")]),e("a-select-option",{attrs:{value:"10"}},[n._v("未支付")]),e("a-select-option",{attrs:{value:"20"}},[n._v("待发货")]),e("a-select-option",{attrs:{value:"29"}},[n._v("已发货")]),e("a-select-option",{attrs:{value:"30"}},[n._v("已完成")])],1)],1)],1),e("a-col",{attrs:{md:n.advanced?24:8,sm:24}},[e("span",{staticClass:"table-page-search-submitButtons",style:n.advanced&&{float:"right",overflow:"hidden"}||{}},[e("a-button",{attrs:{type:"primary"},on:{click:function(t){return n.$refs.table.refresh(!0)}}},[n._v("查询")]),e("a-button",{staticStyle:{"margin-left":"8px"},on:{click:function(){return t.queryParam={}}}},[n._v("重置")])],1)])],1)],1)],1),e("div",{staticClass:"table-operator"},[e("a-button",{attrs:{type:"primary",icon:"plus"},on:{click:n.handleAdd}},[n._v("入库")])],1),e("s-table",{ref:"table",attrs:{size:"default",rowKey:"id",columns:n.columns,data:n.loadData,showPagination:"auto"},scopedSlots:n._u([{key:"serial",fn:function(t,r,i){return e("span",{},[n._v(" "+n._s(i+1)+" ")])}},{key:"status",fn:function(t){return e("span",{},[e("a-badge",{attrs:{status:n._f("statusTypeFilter")(t),text:n._f("statusFilter")(t)}})],1)}},{key:"description",fn:function(t){return e("span",{},[e("ellipsis",{attrs:{length:4,tooltip:""}},[n._v(n._s(t))])],1)}},{key:"action",fn:function(t,r){return e("span",{},[[e("a",{on:{click:function(t){return n.handleSub(r)}}},[n._v("详情")]),!r||5!==r.order_status&&20!==r.order_status&&29!==r.order_status?n._e():e("a-divider",{attrs:{type:"vertical"}}),!r||5!==r.order_status&&20!==r.order_status&&29!==r.order_status?n._e():e("a",{on:{click:function(t){return n.handleEdit(r)}}},[n._v(" "+n._s(5===r.order_status?"打包完成":20===r.order_status?"已发货":29===r.order_status?"完成":""))])]],2)}}])}),e("delivery-form",{ref:"deliveryModal",attrs:{visible:n.visibleDelivery,loading:n.confirmLoading,model:n.mdl},on:{cancel:n.handleCancel,ok:n.deliveryOk}}),e("detail-form",{ref:"detailModal",attrs:{visible:n.visibleDetail,loading:n.confirmLoading,model:n.mdl},on:{cancel:n.handleCancel}}),e("create-form",{ref:"createModal",attrs:{visible:n.visible,loading:n.confirmLoading,model:n.mdl},on:{cancel:n.handleCancel,ok:n.handleOk}}),e("step-by-step-modal",{ref:"modal",on:{ok:n.handleOk}})],1)],1)},i=[],o=e(76338),a=(e(2008),e(62062),e(26099),e(42762),e(95093)),u=e.n(a),c=function(){var t=this,n=t._self._c;return n("div",{style:{padding:"0 0 32px 32px"}},[n("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),n("v-chart",{attrs:{height:"254",data:t.data,forceFit:!0,padding:["auto","auto","40","50"]}},[n("v-tooltip"),n("v-axis"),n("v-bar",{attrs:{position:"x*y"}})],1)],1)},s=[],f={name:"Bar",props:{title:{type:String,default:""},data:{type:Array,default:function(){return[]}},scale:{type:Array,default:function(){return[{dataKey:"x",min:2},{dataKey:"y",title:"时间",min:1,max:22}]}},tooltip:{type:Array,default:function(){return["x*y",function(t,n){return{name:t,value:n}}]}}},data:function(){return{}}},l=f,h=e(81656),p=(0,h.A)(l,c,s,!1,null,null,null),d=(p.exports,function(){var t=this,n=t._self._c;return n("a-card",{attrs:{loading:t.loading,"body-style":{padding:"20px 24px 8px"},bordered:!1}},[n("div",{staticClass:"chart-card-header"},[n("div",{staticClass:"meta"},[n("span",{staticClass:"chart-card-title"},[t._t("title",(function(){return[t._v(" "+t._s(t.title)+" ")]}))],2),n("span",{staticClass:"chart-card-action"},[t._t("action")],2)]),n("div",{staticClass:"total"},[t._t("total",(function(){return[n("span",[t._v(t._s("function"===typeof t.total&&t.total()||t.total))])]}))],2)]),n("div",{staticClass:"chart-card-content"},[n("div",{staticClass:"content-fix"},[t._t("default")],2)]),n("div",{staticClass:"chart-card-footer"},[n("div",{staticClass:"field"},[t._t("footer")],2)])])}),v=[],g=(e(2892),{name:"ChartCard",props:{title:{type:String,default:""},total:{type:[Function,Number,String],required:!1,default:null},loading:{type:Boolean,default:!1}}}),b=g,y=(0,h.A)(b,d,v,!1,null,"2ec411fc",null),m=(y.exports,function(){var t=this,n=t._self._c;return n("div",[n("v-chart",{attrs:{forceFit:!0,height:t.height,width:t.width,data:t.data,scale:t.scale,padding:0}},[n("v-tooltip"),n("v-interval",{attrs:{shape:["liquid-fill-gauge"],position:"transfer*value",color:"","v-style":{lineWidth:10,opacity:.75},tooltip:["transfer*value",function(t,n){return{name:t,value:n}}]}}),t._l(t.data,(function(t,e){return n("v-guide",{key:e,attrs:{type:"text",top:!0,position:{gender:t.transfer,value:45},content:t.value+"%","v-style":{fontSize:100,textAlign:"center",opacity:.75}}})}))],2)],1)}),j=[],_={name:"Liquid",props:{height:{type:Number,default:0},width:{type:Number,default:0}}},O=_,w=(0,h.A)(O,m,j,!1,null,"36e7a13c",null),x=(w.exports,function(){var t=this,n=t._self._c;return n("div",{staticClass:"antv-chart-mini"},[n("div",{staticClass:"chart-wrapper",style:{height:46}},[n("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,padding:[36,0,18,0]}},[n("v-tooltip"),n("v-smooth-area",{attrs:{position:"x*y"}})],1)],1)])}),E=[],k=[],S=(new Date).getTime(),M=0;M<10;M++)k.push({x:u()(new Date(S+864e5*M)).format("YYYY-MM-DD"),y:Math.round(10*Math.random())});for(var T=["x*y",function(t,n){return{name:t,value:n}}],C=[{dataKey:"x",min:2},{dataKey:"y",title:"时间",min:1,max:22}],P={name:"MiniArea",data:function(){return{data:k,tooltip:T,scale:C,height:100}}},N=P,A=(0,h.A)(N,x,E,!1,null,"30aaf0d9",null),R=(A.exports,function(){var t=this,n=t._self._c;return n("div",{class:t.prefixCls},[n("div",{staticClass:"chart-wrapper",style:{height:46}},[n("v-chart",{attrs:{"force-fit":!0,height:100,data:t.dataSource,scale:t.scale,padding:[36,0,18,0]}},[n("v-tooltip"),n("v-smooth-line",{attrs:{position:"x*y",size:2}}),n("v-smooth-area",{attrs:{position:"x*y"}})],1)],1)])}),B=[],L={name:"MiniSmoothArea",props:{prefixCls:{type:String,default:"ant-pro-smooth-area"},scale:{type:[Object,Array],required:!0},dataSource:{type:Array,required:!0}},data:function(){return{height:100}}},I=L,q=(0,h.A)(I,R,B,!1,null,"1cd0b9b6",null),z=(q.exports,function(){var t=this,n=t._self._c;return n("div",{staticClass:"antv-chart-mini"},[n("div",{staticClass:"chart-wrapper",style:{height:46}},[n("v-chart",{attrs:{"force-fit":!0,height:t.height,data:t.data,padding:[36,5,18,5]}},[n("v-tooltip"),n("v-bar",{attrs:{position:"x*y"}})],1)],1)])}),F=[],D=[],G=(new Date).getTime(),$=0;$<10;$++)D.push({x:u()(new Date(G+864e5*$)).format("YYYY-MM-DD"),y:Math.round(10*Math.random())});var U=["x*y",function(t,n){return{name:t,value:n}}],H=[{dataKey:"x",min:2},{dataKey:"y",title:"时间",min:1,max:30}],V={name:"MiniBar",data:function(){return{data:D,tooltip:U,scale:H,height:100}}},W=V,Y=(0,h.A)(W,z,F,!1,null,"1ff3f2b1",null),K=(Y.exports,function(){var t=this,n=t._self._c;return n("div",{staticClass:"chart-mini-progress"},[n("div",{staticClass:"target",style:{left:t.target+"%"}},[n("span",{style:{backgroundColor:t.color}}),n("span",{style:{backgroundColor:t.color}})]),n("div",{staticClass:"progress-wrapper"},[n("div",{staticClass:"progress",style:{backgroundColor:t.color,width:t.percentage+"%",height:t.height}})])])}),J=[],X={name:"MiniProgress",props:{target:{type:Number,default:0},height:{type:String,default:"10px"},color:{type:String,default:"#13C2C2"},percentage:{type:Number,default:0}}},Z=X,Q=(0,h.A)(Z,K,J,!1,null,"430bb431",null),tt=(Q.exports,function(){var t=this,n=t._self._c;return n("v-chart",{attrs:{forceFit:!0,height:"400",data:t.data,padding:[20,20,95,20],scale:t.scale}},[n("v-tooltip"),n("v-axis",{attrs:{dataKey:t.axis1Opts.dataKey,line:t.axis1Opts.line,tickLine:t.axis1Opts.tickLine,grid:t.axis1Opts.grid}}),n("v-axis",{attrs:{dataKey:t.axis2Opts.dataKey,line:t.axis2Opts.line,tickLine:t.axis2Opts.tickLine,grid:t.axis2Opts.grid}}),n("v-legend",{attrs:{dataKey:"user",marker:"circle",offset:30}}),n("v-coord",{attrs:{type:"polar",radius:"0.8"}}),n("v-line",{attrs:{position:"item*score",color:"user",size:2}}),n("v-point",{attrs:{position:"item*score",color:"user",size:4,shape:"circle"}})],1)}),nt=[],et={dataKey:"item",line:null,tickLine:null,grid:{lineStyle:{lineDash:null},hideFirstLine:!1}},rt={dataKey:"score",line:null,tickLine:null,grid:{type:"polygon",lineStyle:{lineDash:null}}},it=[{dataKey:"score",min:0,max:80},{dataKey:"user",alias:"类型"}],ot={name:"Radar",props:{data:{type:Array,default:null}},data:function(){return{axis1Opts:et,axis2Opts:rt,scale:it}}},at=ot,ut=(0,h.A)(at,tt,nt,!1,null,"36c217f8",null),ct=(ut.exports,e(62010),function(){var t=this,n=t._self._c;return n("div",{staticClass:"rank"},[n("h4",{staticClass:"title"},[t._v(t._s(t.title))]),n("ul",{staticClass:"list"},t._l(t.list,(function(e,r){return n("li",{key:r},[n("span",{class:r<3?"active":null},[t._v(t._s(r+1))]),n("span",[t._v(t._s(e.name))]),n("span",[t._v(t._s(e.total))])])})),0)])}),st=[],ft={name:"RankList",props:{title:{type:String,default:""},list:{type:Array,default:null}}},lt=ft,ht=(0,h.A)(lt,ct,st,!1,null,"e1fcea82",null),pt=(ht.exports,function(){var t=this,n=t._self._c;return n("div",{style:{padding:"0 0 32px 32px"}},[n("h4",{style:{marginBottom:"20px"}},[t._v(t._s(t.title))]),n("v-chart",{attrs:{height:"254",data:t.data,scale:t.scale,forceFit:!0,padding:["auto","auto","40","50"]}},[n("v-tooltip"),n("v-axis"),n("v-bar",{attrs:{position:"x*y"}})],1)],1)}),dt=[],vt=["x*y",function(t,n){return{name:t,value:n}}],gt=[{dataKey:"x",title:"日期(天)",alias:"日期(天)",min:2},{dataKey:"y",title:"流量(Gb)",alias:"流量(Gb)",min:1}],bt={name:"Bar",props:{title:{type:String,default:""}},data:function(){return{data:[],scale:gt,tooltip:vt}},created:function(){this.getMonthBar()},methods:{getMonthBar:function(){var t=this;this.$http.get("/analysis/month-bar").then((function(n){t.data=n.result}))}}},yt=bt,mt=(0,h.A)(yt,pt,dt,!1,null,null,null),jt=(mt.exports,function(){var t=this,n=t._self._c;return n("v-chart",{attrs:{width:t.width,height:t.height,padding:[0],data:t.data,scale:t.scale}},[n("v-tooltip",{attrs:{"show-title":!1}}),n("v-coord",{attrs:{type:"rect",direction:"TL"}}),n("v-point",{attrs:{position:"x*y",color:"category",shape:"cloud",tooltip:"value*category"}})],1)}),_t=[],Ot=e(26128),wt=e(83904),xt="https://gw.alipayobjects.com/zos/rmsportal/gWyeGLCdFFRavBGIDzWk.png",Et=[{dataKey:"x",nice:!1},{dataKey:"y",nice:!1}];(0,Ot.dQ)("point","cloud",{draw:function(t,n){return n.addShape("text",{attrs:(0,o.A)((0,o.A)({fillOpacity:t.opacity,fontSize:t.origin._origin.size,rotate:t.origin._origin.rotate,text:t.origin._origin.text,textAlign:"center",fontFamily:t.origin._origin.font,fill:t.color,textBaseline:"Alphabetic"},t.style),{},{x:t.x,y:t.y})})}});var kt={name:"TagCloud",props:{tagList:{type:Array,required:!0},height:{type:Number,default:400},width:{type:Number,default:640}},data:function(){return{data:[],scale:Et}},watch:{tagList:function(t){t.length>0&&this.initTagCloud(t)}},mounted:function(){this.tagList.length>0&&this.initTagCloud(this.tagList)},methods:{initTagCloud:function(t){var n=this,e=this.height,r=this.width,i=(new wt.View).source(t),o=i.range("value"),a=o[0],u=o[1],c=new Image;c.crossOrigin="",c.src=xt,c.onload=function(){i.transform({type:"tag-cloud",fields:["name","value"],size:[r,e],imageMask:c,font:"Verdana",padding:0,timeInterval:5e3,rotate:function(){var t=~~(4*Math.random())%4;return 2===t&&(t=0),90*t},fontSize:function(t){return t.value?(t.value-a)/(u-a)*24+8:0}}),n.data=i.rows}}}},St=kt,Mt=(0,h.A)(St,jt,_t,!1,null,null,null),Tt=(Mt.exports,e(26297)),Ct=(e(74423),e(34782),e(4718)),Pt=(e(64719),e(94955),e(90500));e(53033),e(61023),e(66419),Ct.A.string,Ct.A.string.def("");function Nt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter((function(t){return t.tag||t.text&&""!==t.text.trim()}))}var At,Rt,Bt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.split("").reduce((function(t,n){var e=n.charCodeAt(0);return e>=0&&e<=128?t+1:t+2}),0)},Lt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,e=0;return t.split("").reduce((function(t,r){var i=r.charCodeAt(0);return e+=i>=0&&i<=128?1:2,e<=n?t+r:t}),"")},It=(Ct.A.string.def("ant-pro-avatar-list"),Ct.A.number.def(0),Ct.A.object.def({color:"#f56a00",backgroundColor:"#fde3cf"}),e(48598),{name:"Ellipsis",components:{Tooltip:Pt.A},props:{prefixCls:{type:String,default:"ant-pro-ellipsis"},tooltip:{type:Boolean},length:{type:Number,required:!0},lines:{type:Number,default:1},fullWidthRecognition:{type:Boolean,default:!1}},methods:{getStrDom:function(t,n){var e=this.$createElement;return e("span",[Lt(t,this.length)+(n>this.length?"...":"")])},getTooltip:function(t,n){var e=this.$createElement;return e(Pt.A,[e("template",{slot:"title"},[t]),this.getStrDom(t,n)])}},render:function(){var t=this.$props,n=t.tooltip,e=t.length,r=this.$slots.default.map((function(t){return t.text})).join(""),i=Bt(r),o=n&&i>e?this.getTooltip(r,i):this.getStrDom(r,i);return o}}),qt=It,zt=(0,h.A)(qt,At,Rt,!1,null,null,null),Ft=zt.exports,Dt=Ft,Gt=function(){var t=this,n=t._self._c;return n("div",{class:t.prefixCls,style:{width:t.barWidth,transition:"0.3s all"}},[n("div",{staticStyle:{float:"left"}},[t._t("extra",(function(){return[t._v(t._s(t.extra))]}))],2),n("div",{staticStyle:{float:"right"}},[t._t("default")],2)])},$t=[],Ut={name:"FooterToolBar",props:{prefixCls:{type:String,default:"ant-pro-footer-toolbar"},collapsed:{type:Boolean,default:!1},isMobile:{type:Boolean,default:!1},siderWidth:{type:Number,default:void 0},extra:{type:[String,Object],default:""}},computed:{barWidth:function(){return this.isMobile?void 0:"calc(100% - ".concat(this.collapsed?80:this.siderWidth||256,"px)")}}},Ht=Ut,Vt=(0,h.A)(Ht,Gt,$t,!1,null,"5028374f",null),Wt=(Vt.exports,function(){var t=this,n=t._self._c;return n("div",{class:[t.prefixCls]},[t._t("subtitle",(function(){return[n("div",{class:["".concat(t.prefixCls,"-subtitle")]},[t._v(t._s("string"===typeof t.subTitle?t.subTitle:t.subTitle()))])]})),n("div",{staticClass:"number-info-value"},[n("span",[t._v(t._s(t.total))]),n("span",{staticClass:"sub-total"},[t._v(" "+t._s(t.subTotal)+" "),n("icon",{attrs:{type:"caret-".concat(t.status)}})],1)])],2)}),Yt=[],Kt=e(40255),Jt={name:"NumberInfo",props:{prefixCls:{type:String,default:"ant-pro-number-info"},total:{type:Number,required:!0},subTotal:{type:Number,required:!0},subTitle:{type:[String,Function],default:""},status:{type:String,default:"up"}},components:{Icon:Kt.A},data:function(){return{}}},Xt=Jt,Zt=(0,h.A)(Xt,Wt,Yt,!1,null,"a16f84d8",null),Qt=(Zt.exports,e(50769),e(92786),e(57155)),tn=(e(17735),e(67602)),nn=(e(27495),e(5746),tn.Ay.Item),en=tn.Ay.ItemGroup,rn=tn.Ay.SubMenu,on=Qt.A.Search,an=(Boolean,function(){var t=this,n=t._self._c;return n("div",{class:[t.prefixCls,t.reverseColor&&"reverse-color"]},[n("span",[t._t("term"),n("span",{staticClass:"item-text"},[t._t("default")],2)],2),n("span",{class:[t.flag]},[n("a-icon",{attrs:{type:"caret-".concat(t.flag)}})],1)])}),un=[],cn={name:"Trend",props:{prefixCls:{type:String,default:"ant-pro-trend"},flag:{type:String,required:!0},reverseColor:{type:Boolean,default:!1}}},sn=cn,fn=(0,h.A)(sn,an,un,!1,null,"9f28f096",null),ln=(fn.exports,e(47499)),hn=e.n(ln),pn=e(44735),dn=(e(28706),e(79432),e(21699),e(23500),e(6995)),vn=e(16762),gn=e.n(vn),bn={data:function(){return{needTotalList:[],selectedRows:[],selectedRowKeys:[],localLoading:!1,localDataSource:[],localPagination:Object.assign({},this.pagination),filters:{},sorter:{}}},props:Object.assign({},dn.A.props,{rowKey:{type:[String,Function],default:"key"},data:{type:Function,required:!0},pageNum:{type:Number,default:1},pageSize:{type:Number,default:10},showSizeChanger:{type:Boolean,default:!0},size:{type:String,default:"default"},alert:{type:[Object,Boolean],default:null},rowSelection:{type:Object,default:null},showAlertInfo:{type:Boolean,default:!1},showPagination:{type:String|Boolean,default:"auto"},pageURI:{type:Boolean,default:!1}}),watch:{"localPagination.current":function(t){this.pageURI&&this.$router.push((0,o.A)((0,o.A)({},this.$route),{},{name:this.$route.name,params:Object.assign({},this.$route.params,{pageNo:t})})),this.needTotalList=this.initTotalList(this.columns),this.selectedRowKeys=[],this.selectedRows=[]},pageNum:function(t){Object.assign(this.localPagination,{current:t})},pageSize:function(t){Object.assign(this.localPagination,{pageSize:t})},showSizeChanger:function(t){Object.assign(this.localPagination,{showSizeChanger:t})}},created:function(){var t=this.$route.params.pageNo,n=this.pageURI&&t&&parseInt(t)||this.pageNum;this.localPagination=["auto",!0].includes(this.showPagination)&&Object.assign({},this.localPagination,{current:n,pageSize:this.pageSize,showSizeChanger:this.showSizeChanger})||!1,this.needTotalList=this.initTotalList(this.columns),this.loadData()},methods:{refresh:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t&&(this.localPagination=Object.assign({},{current:1,pageSize:this.pageSize})),this.loadData()},loadData:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.filters,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.sorter;this.filters=e,this.sorter=r,this.localLoading=!0;var i=Object.assign({pageNo:t&&t.current||this.showPagination&&this.localPagination.current||this.pageNum,pageSize:t&&t.pageSize||this.showPagination&&this.localPagination.pageSize||this.pageSize},r&&r.field&&{sortField:r.field}||{},r&&r.order&&{sortOrder:r.order}||{},(0,o.A)({},e)),a=this.data(i);"object"!==(0,pn.A)(a)&&"function"!==typeof a||"function"!==typeof a.then||a.then((function(e){if(n.localPagination=n.showPagination&&Object.assign({},n.localPagination,{current:e.pageNo,total:e.totalCount,showSizeChanger:n.showSizeChanger,pageSize:t&&t.pageSize||n.localPagination.pageSize})||!1,0===e.data.length&&n.showPagination&&n.localPagination.current>1)return n.localPagination.current--,void n.loadData();try{["auto",!0].includes(n.showPagination)&&e.totalCount<=e.pageNo*n.localPagination.pageSize&&(n.localPagination.hideOnSinglePage=!0)}catch(r){n.localPagination=!1}n.localDataSource=e.data})).finally((function(){n.localLoading=!1}))},initTotalList:function(t){var n=[];return t&&t instanceof Array&&t.forEach((function(t){t.needTotal&&n.push((0,o.A)((0,o.A)({},t),{},{total:0}))})),n},updateSelect:function(t,n){this.selectedRows=n,this.selectedRowKeys=t;var e=this.needTotalList;this.needTotalList=e.map((function(t){return(0,o.A)((0,o.A)({},t),{},{total:n.reduce((function(n,e){var r=n+parseInt(gn()(e,t.dataIndex));return isNaN(r)?0:r}),0)})}))},clearSelected:function(){this.rowSelection&&(this.rowSelection.onChange([],[]),this.updateSelect([],[]))},renderClear:function(t){var n=this,e=this.$createElement;return this.selectedRowKeys.length<=0?null:e("a",{style:"margin-left: 24px",on:{click:function(){t(),n.clearSelected()}}},["清空"])},renderAlert:function(){var t=this.$createElement,n=this.needTotalList.map((function(n){return t("span",{style:"margin-right: 12px"},[n.title,"总计 ",t("a",{style:"font-weight: 600"},[n.customRender?n.customRender(n.total):n.total])])})),e="boolean"===typeof this.alert.clear&&this.alert.clear?this.renderClear(this.clearSelected):null!==this.alert&&"function"===typeof this.alert.clear?this.renderClear(this.alert.clear):null;return t("a-alert",{attrs:{showIcon:!0},style:"margin-bottom: 16px"},[t("template",{slot:"message"},[t("span",{style:"margin-right: 12px"},["已选择: ",t("a",{style:"font-weight: 600"},[this.selectedRows.length])]),n,e])])}},render:function(){var t=this,n=arguments[0],e={},r=Object.keys(this.$data),i="object"===(0,pn.A)(this.alert)&&null!==this.alert&&this.alert.show&&"undefined"!==typeof this.rowSelection.selectedRowKeys||this.alert;Object.keys(dn.A.props).forEach((function(n){var a="local".concat(n.substring(0,1).toUpperCase()).concat(n.substring(1));if(r.includes(a))return e[n]=t[a],e[n];if("rowSelection"===n){if(i&&t.rowSelection)return e[n]=(0,o.A)((0,o.A)({},t.rowSelection),{},{selectedRows:t.selectedRows,selectedRowKeys:t.selectedRowKeys,onChange:function(e,r){t.updateSelect(e,r),"undefined"!==typeof t[n].onChange&&t[n].onChange(e,r)}}),e[n];if(!t.rowSelection)return e[n]=null,e[n]}return t[n]&&(e[n]=t[n]),e[n]}));var a=n("a-table",hn()([{},{props:e,scopedSlots:(0,o.A)({},this.$scopedSlots)},{on:{change:this.loadData,expand:function(n,e){t.$emit("expand",n,e)}}}]),[Object.keys(this.$slots).map((function(e){return n("template",{slot:e},[t.$slots[e]])}))]);return n("div",{class:"table-wrapper"},[i?this.renderAlert():null,a])}},yn=(e(8815),function(){var t=this,n=t._self._c;return n("div",{class:t.prefixCls},[n("a-tabs",{on:{change:t.handleTabChange},model:{value:t.currentTab,callback:function(n){t.currentTab=n},expression:"currentTab"}},t._l(t.icons,(function(e){return n("a-tab-pane",{key:e.key,attrs:{tab:e.title}},[n("ul",t._l(e.icons,(function(r,i){return n("li",{key:"".concat(e.key,"-").concat(i),class:{active:t.selectedIcon==r},on:{click:function(n){return t.handleSelectedIcon(r)}}},[n("a-icon",{style:{fontSize:"36px"},attrs:{type:r}})],1)})),0)])})),1)],1)}),mn=[],jn=[{key:"directional",title:"方向性图标",icons:["step-backward","step-forward","fast-backward","fast-forward","shrink","arrows-alt","down","up","left","right","caret-up","caret-down","caret-left","caret-right","up-circle","down-circle","left-circle","right-circle","double-right","double-left","vertical-left","vertical-right","forward","backward","rollback","enter","retweet","swap","swap-left","swap-right","arrow-up","arrow-down","arrow-left","arrow-right","play-circle","up-square","down-square","left-square","right-square","login","logout","menu-fold","menu-unfold","border-bottom","border-horizontal","border-inner","border-left","border-right","border-top","border-verticle","pic-center","pic-left","pic-right","radius-bottomleft","radius-bottomright","radius-upleft","fullscreen","fullscreen-exit"]},{key:"suggested",title:"提示建议性图标",icons:["question","question-circle","plus","plus-circle","pause","pause-circle","minus","minus-circle","plus-square","minus-square","info","info-circle","exclamation","exclamation-circle","close","close-circle","close-square","check","check-circle","check-square","clock-circle","warning","issues-close","stop"]},{key:"editor",title:"编辑类图标",icons:["edit","form","copy","scissor","delete","snippets","diff","highlight","align-center","align-left","align-right","bg-colors","bold","italic","underline","strikethrough","redo","undo","zoom-in","zoom-out","font-colors","font-size","line-height","colum-height","dash","small-dash","sort-ascending","sort-descending","drag","ordered-list","radius-setting"]},{key:"data",title:"数据类图标",icons:["area-chart","pie-chart","bar-chart","dot-chart","line-chart","radar-chart","heat-map","fall","rise","stock","box-plot","fund","sliders"]},{key:"brand_logo",title:"网站通用图标",icons:["lock","unlock","bars","book","calendar","cloud","cloud-download","code","copy","credit-card","delete","desktop","download","ellipsis","file","file-text","file-unknown","file-pdf","file-word","file-excel","file-jpg","file-ppt","file-markdown","file-add","folder","folder-open","folder-add","hdd","frown","meh","smile","inbox","laptop","appstore","link","mail","mobile","notification","paper-clip","picture","poweroff","reload","search","setting","share-alt","shopping-cart","tablet","tag","tags","to-top","upload","user","video-camera","home","loading","loading-3-quarters","cloud-upload","star","heart","environment","eye","camera","save","team","solution","phone","filter","exception","export","customer-service","qrcode","scan","like","dislike","message","pay-circle","calculator","pushpin","bulb","select","switcher","rocket","bell","disconnect","database","compass","barcode","hourglass","key","flag","layout","printer","sound","usb","skin","tool","sync","wifi","car","schedule","user-add","user-delete","usergroup-add","usergroup-delete","man","woman","shop","gift","idcard","medicine-box","red-envelope","coffee","copyright","trademark","safety","wallet","bank","trophy","contacts","global","shake","api","fork","dashboard","table","profile","alert","audit","branches","build","border","crown","experiment","fire","money-collect","property-safety","read","reconciliation","rest","security-scan","insurance","interation","safety-certificate","project","thunderbolt","block","cluster","deployment-unit","dollar","euro","pound","file-done","file-exclamation","file-protect","file-search","file-sync","gateway","gold","robot","shopping"]},{key:"application",title:"品牌和标识",icons:["android","apple","windows","ie","chrome","github","aliwangwang","dingding","weibo-square","weibo-circle","taobao-circle","html5","weibo","twitter","wechat","youtube","alipay-circle","taobao","skype","qq","medium-workmark","gitlab","medium","linkedin","google-plus","dropbox","facebook","codepen","code-sandbox","amazon","google","codepen-circle","alipay","ant-design","aliyun","zhihu","slack","slack-square","behance","behance-square","dribbble","dribbble-square","instagram","yuque","alibaba","yahoo"]}],_n={name:"IconSelect",props:{prefixCls:{type:String,default:"ant-pro-icon-selector"},value:{type:String}},data:function(){return{selectedIcon:this.value||"",currentTab:"directional",icons:jn}},watch:{value:function(t){this.selectedIcon=t,this.autoSwitchTab()}},created:function(){this.value&&this.autoSwitchTab()},methods:{handleSelectedIcon:function(t){this.selectedIcon=t,this.$emit("change",t)},handleTabChange:function(t){this.currentTab=t},autoSwitchTab:function(){var t=this;jn.some((function(n){return n.icons.some((function(n){return n===t.value}))&&(t.currentTab=n.key)}))}}},On=_n,wn=(0,h.A)(On,yn,mn,!1,null,"74e4dc71",null),xn=(wn.exports,e(16034),e(24870),e(87298)),En=xn.A.CheckableTag,kn={name:"TagSelectOption",props:{prefixCls:{type:String,default:"ant-pro-tag-select-option"},value:{type:[String,Number,Object],default:""},checked:{type:Boolean,default:!1}},data:function(){return{localChecked:this.checked||!1}},watch:{checked:function(t){this.localChecked=t},"$parent.items":{handler:function(t){this.value&&t.hasOwnProperty(this.value)&&(this.localChecked=t[this.value])},deep:!0}},render:function(){var t=this,n=arguments[0],e=this.$slots,r=this.value,i=function(n){t.$emit("change",{value:r,checked:n})};return n(En,{key:r,on:{change:i},model:{value:t.localChecked,callback:function(n){t.localChecked=n}}},[e.default])}},Sn=(Ct.A.array,Ct.A.array,Boolean,Boolean,function(){var t=this,n=t._self._c;return n("div",{class:[t.prefixCls,t.lastCls,t.blockCls,t.gridCls]},[t.title?n("div",{staticClass:"antd-pro-components-standard-form-row-index-label"},[n("span",[t._v(t._s(t.title))])]):t._e(),n("div",{staticClass:"antd-pro-components-standard-form-row-index-content"},[t._t("default")],2)])}),Mn=[],Tn=["antd-pro-components-standard-form-row-index-standardFormRowBlock","antd-pro-components-standard-form-row-index-standardFormRowGrid","antd-pro-components-standard-form-row-index-standardFormRowLast"],Cn={name:"StandardFormRow",props:{prefixCls:{type:String,default:"antd-pro-components-standard-form-row-index-standardFormRow"},title:{type:String,default:void 0},last:{type:Boolean},block:{type:Boolean},grid:{type:Boolean}},computed:{lastCls:function(){return this.last?Tn[2]:null},blockCls:function(){return this.block?Tn[0]:null},gridCls:function(){return this.grid?Tn[1]:null}}},Pn=Cn,Nn=(0,h.A)(Pn,Sn,Mn,!1,null,"27ab8069",null),An=(Nn.exports,e(52675),e(89463),function(){var t=this,n=t._self._c;return n("div",{staticClass:"antd-pro-components-article-list-content-index-listContent"},[n("div",{staticClass:"description"},[t._t("default",(function(){return[t._v(" "+t._s(t.description)+" ")]}))],2),n("div",{staticClass:"extra"},[n("a-avatar",{attrs:{src:t.avatar,size:"small"}}),n("a",{attrs:{href:t.href}},[t._v(t._s(t.owner))]),t._v(" 发布在 "),n("a",{attrs:{href:t.href}},[t._v(t._s(t.href))]),n("em",[t._v(t._s(t._f("moment")(t.updateAt)))])],1)])}),Rn=[],Bn={name:"ArticleListContent",props:{prefixCls:{type:String,default:"antd-pro-components-article-list-content-index-listContent"},description:{type:String,default:""},owner:{type:String,required:!0},avatar:{type:String,required:!0},href:{type:String,required:!0},updateAt:{type:String,required:!0}}},Ln=Bn,In=(0,h.A)(Ln,An,Rn,!1,null,"6f70ed68",null),qn=(In.exports,e(88498),e(75769)),zn={detail:"api/admin/logistics/order/detail",packComplete:"api/admin/logistics/order/packComplete",complete:"api/admin/logistics/order/complete",img:"api/admin/upload/image",delivery:"api/admin/logistics/order/delivery",packageWarehousing:"api/admin/logistics/package/putInStorage",user:"/user",role:"/role",order:"/api/admin/logistics/order/list",permission:"/permission",permissionNoPager:"/permission/no-pager",orgTree:"/org/tree"};function Fn(t){return(0,qn.Ay)({url:zn.order,method:"post",params:t})}function Dn(t){return(0,qn.Ay)({url:zn.detail,method:"post",params:t})}function Gn(t){return(0,qn.Ay)({url:zn.packComplete,method:"post",params:t})}function $n(t){return(0,qn.Ay)({url:zn.complete,method:"post",params:t})}function Un(t){return(0,qn.Ay)({url:zn.img,method:"post",data:t,headers:{"Content-Type":"multipart/form-data"}})}function Hn(t){return(0,qn.Ay)({url:zn.delivery,method:"post",params:t})}function Vn(t){return(0,qn.Ay)({url:zn.packageWarehousing,method:"post",params:t})}var Wn=function(){var t=this,n=t._self._c;return n("a-modal",{attrs:{title:"分步对话框",width:640,visible:t.visible,confirmLoading:t.confirmLoading},on:{cancel:t.handleCancel}},[n("a-spin",{attrs:{spinning:t.confirmLoading}},[n("a-steps",{style:{marginBottom:"28px"},attrs:{current:t.currentStep,size:"small"}},[n("a-step",{attrs:{title:"基本信息"}}),n("a-step",{attrs:{title:"配置规则属性"}}),n("a-step",{attrs:{title:"设定调度周期"}})],1),n("a-form",{attrs:{form:t.form}},[n("div",{directives:[{name:"show",rawName:"v-show",value:0===t.currentStep,expression:"currentStep === 0"}]},[n("a-form-item",{attrs:{label:"规则名称",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["name",{rules:[{required:!0}]}],expression:"['name', {rules: [{required: true}]}]"}]})],1),n("a-form-item",{attrs:{label:"规则描述",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["desc",{rules:[{required:!0}]}],expression:"['desc', {rules: [{required: true}]}]"}],attrs:{rows:4}})],1)],1),n("div",{directives:[{name:"show",rawName:"v-show",value:1===t.currentStep,expression:"currentStep === 1"}]},[n("a-form-item",{attrs:{label:"监控对象",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["target",{initialValue:0,rules:[{required:!0}]}],expression:"['target', {initialValue: 0, rules: [{required: true}]}]"}],staticStyle:{width:"100%"}},[n("a-select-option",{attrs:{value:0}},[t._v("表一")]),n("a-select-option",{attrs:{value:1}},[t._v("表二")])],1)],1),n("a-form-item",{attrs:{label:"规则模板",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["template",{initialValue:0,rules:[{required:!0}]}],expression:"['template', { initialValue: 0, rules: [{required: true}]}]"}],staticStyle:{width:"100%"}},[n("a-select-option",{attrs:{value:0}},[t._v("规则模板一")]),n("a-select-option",{attrs:{value:1}},[t._v("规则模板二")])],1)],1),n("a-form-item",{attrs:{label:"规则类型",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-radio-group",{directives:[{name:"decorator",rawName:"v-decorator",value:["type",{initialValue:0,rules:[{required:!0}]}],expression:"['type', {initialValue: 0, rules: [{required: true}]}]"}],staticStyle:{width:"100%"}},[n("a-radio",{attrs:{value:0}},[t._v("强")]),n("a-radio",{attrs:{value:1}},[t._v("弱")])],1)],1)],1),n("div",{directives:[{name:"show",rawName:"v-show",value:2===t.currentStep,expression:"currentStep === 2"}]},[n("a-form-item",{attrs:{label:"开始时间",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-date-picker",{directives:[{name:"decorator",rawName:"v-decorator",value:["time",{rules:[{type:"object",required:!0,message:"Please select time!"}]}],expression:"['time', {rules: [{ type: 'object', required: true, message: 'Please select time!' }]}]"}],staticStyle:{width:"100%"}})],1),n("a-form-item",{attrs:{label:"调度周期",labelCol:t.labelCol,wrapperCol:t.wrapperCol}},[n("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["frequency",{initialValue:"month",rules:[{required:!0}]}],expression:"['frequency', { initialValue: 'month', rules: [{required: true}]}]"}],staticStyle:{width:"100%"}},[n("a-select-option",{attrs:{value:"month"}},[t._v("月")]),n("a-select-option",{attrs:{value:"week"}},[t._v("周")])],1)],1)],1)])],1),n("template",{slot:"footer"},[t.currentStep>0?n("a-button",{key:"back",style:{float:"left"},on:{click:t.backward}},[t._v("上一步")]):t._e(),n("a-button",{key:"cancel",on:{click:t.handleCancel}},[t._v("取消")]),n("a-button",{key:"forward",attrs:{loading:t.confirmLoading,type:"primary"},on:{click:function(n){return t.handleNext(t.currentStep)}}},[t._v(t._s(2===t.currentStep?"完成":"下一步"))])],1)],2)},Yn=[],Kn=e(91863),Jn=e.n(Kn),Xn=[["name","desc"],["target","template","type"],["time","frequency"]],Zn={name:"StepByStepModal",data:function(){return{labelCol:{xs:{span:24},sm:{span:7}},wrapperCol:{xs:{span:24},sm:{span:13}},visible:!1,confirmLoading:!1,currentStep:0,mdl:{},form:this.$form.createForm(this)}},methods:{edit:function(t){this.visible=!0;var n=this.form.setFieldsValue;this.$nextTick((function(){n(Jn()(t,[]))}))},handleNext:function(t){var n=this,e=this.form.validateFields,r=t+1;r<=2?e(Xn[this.currentStep],(function(t,e){t||(n.currentStep=r)})):(this.confirmLoading=!0,e((function(t,e){t?n.confirmLoading=!1:setTimeout((function(){n.confirmLoading=!1,n.$emit("ok",e)}),1500)})))},backward:function(){this.currentStep--},handleCancel:function(){this.visible=!1,this.currentStep=0}}},Qn=Zn,te=(0,h.A)(Qn,Wn,Yn,!1,null,null,null),ne=te.exports,ee=function(){var t=this,n=t._self._c;return n("a-modal",{attrs:{title:"包裹入库",width:640,visible:t.visible,confirmLoading:t.loading},on:{ok:function(){t.$emit("ok")},cancel:function(){t.$emit("cancel")}}},[n("a-spin",{attrs:{spinning:t.loading}},[n("a-form",t._b({attrs:{form:t.form}},"a-form",t.formLayout,!1),[n("a-form-item",{attrs:{label:"物流单号"}},[n("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["tracking_no_list",{rules:[{required:!0,message:"请输入物流单号"}]}],expression:"['tracking_no_list', {rules: [{required: true, message: '请输入物流单号'}]}]"}],attrs:{placeholder:"输入一行一个单号","auto-size":""}})],1)],1)],1)],1)},re=[],ie=["tracking_no_list","id"],oe={props:{visible:{type:Boolean,required:!0},loading:{type:Boolean,default:function(){return!1}},model:{type:Object,default:function(){return null}}},data:function(){return this.formLayout={labelCol:{xs:{span:24},sm:{span:7}},wrapperCol:{xs:{span:24},sm:{span:13}}},{form:this.$form.createForm(this)}},created:function(){var t=this;ie.forEach((function(n){return t.form.getFieldDecorator(n)})),this.$watch("model",(function(){t.model&&t.form.setFieldsValue(Jn()(t.model,ie))}))}},ae=oe,ue=(0,h.A)(ae,ee,re,!1,null,null,null),ce=ue.exports,se=function(){var t=this,n=t._self._c;return n("a-modal",{attrs:{title:"包裹入库",width:640,visible:t.visible,confirmLoading:t.loading},on:{ok:function(){t.$emit("ok")},cancel:function(){t.$emit("cancel")}}},[n("a-spin",{attrs:{spinning:t.loading}},[n("a-form",t._b({attrs:{form:t.form}},"a-form",t.formLayout,!1),[n("a-form-item",{attrs:{label:"面单图片"}},[n("a-upload",{attrs:{name:"file",showUploadList:!1,customRequest:t.handleImgUpload,accept:"image/*"}},[n("a-button",{attrs:{icon:"upload"}},[t._v("上传图片")])],1),t.imgUrl?n("div",{staticStyle:{"margin-top":"8px"}},[n("img",{staticStyle:{"max-width":"100px","max-height":"100px"},attrs:{src:t.imgUrl,alt:"面单图片"}})]):t._e(),n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["img_url"],expression:"['img_url']"}],staticStyle:{display:"none"}})],1),t.model&&20===t.model.order_status?n("a-form-item",{attrs:{label:"物流单号"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["tracking_no"],expression:"['tracking_no']"}]})],1):t._e(),t.model&&20===t.model.order_status?n("a-form-item",{attrs:{label:"物流地址"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["logistics_url"],expression:"['logistics_url']"}],attrs:{placeholder:"请输入物流地址"}})],1):t._e(),t.model&&5===t.model.order_status?n("a-form-item",{attrs:{label:"重量"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["weight"],expression:"['weight']"}],attrs:{placeholder:"请输入重量"}})],1):t._e(),t.model&&5===t.model.order_status?n("a-form-item",{attrs:{label:"长"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["length"],expression:"['length']"}],attrs:{placeholder:"请输入长度"}})],1):t._e(),t.model&&5===t.model.order_status?n("a-form-item",{attrs:{label:"宽"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["width"],expression:"['width']"}],attrs:{placeholder:"请输入宽度"}})],1):t._e(),t.model&&5===t.model.order_status?n("a-form-item",{attrs:{label:"高"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["height"],expression:"['height']"}],attrs:{placeholder:"请输入高度"}})],1):t._e(),t.model&&5===t.model.order_status?n("a-form-item",{attrs:{label:"订单金额"}},[n("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["order_amount"],expression:"['order_amount']"}],attrs:{placeholder:"请输入订单金额"}})],1):t._e()],1)],1)],1)},fe=[];e(40875),e(10287);function le(t,n,e,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}le=function(t,n,e,r){if(n)i?i(t,n,{value:e,enumerable:!r,configurable:!r,writable:!r}):t[n]=e;else{var o=function(n,e){le(t,n,(function(t){return this._invoke(n,e,t)}))};o("next",0),o("throw",1),o("return",2)}},le(t,n,e,r)}function he(){ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var t,n,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",i=e.toStringTag||"@@toStringTag";function o(e,r,i,o){var c=r&&r.prototype instanceof u?r:u,s=Object.create(c.prototype);return le(s,"_invoke",function(e,r,i){var o,u,c,s=0,f=i||[],l=!1,h={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(n,e){return o=n,u=0,c=t,h.n=e,a}};function p(e,r){for(u=e,c=r,n=0;!l&&s&&!i&&n3?(i=d===r)&&(c=o[(u=o[4])?5:(u=3,3)],o[4]=o[5]=t):o[0]<=p&&((i=e<2&&pr||r>d)&&(o[4]=e,o[5]=r,h.n=d,u=0))}if(i||e>1)return a;throw l=!0,r}return function(i,f,d){if(s>1)throw TypeError("Generator is already running");for(l&&1===f&&p(f,d),u=f,c=d;(n=u<2?t:c)||!l;){o||(u?u<3?(u>1&&(h.n=-1),p(u,c)):h.n=c:h.v=c);try{if(s=2,o){if(u||(i="next"),n=o[i]){if(!(n=n.call(o,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,u<2&&(u=0)}else 1===u&&(n=o["return"])&&n.call(o),u<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),u=1);o=t}else if((n=(l=h.n<0)?c:e.call(r,h))!==a)break}catch(n){o=t,u=1,c=n}finally{s=1}}return{value:n,done:l}}}(e,i,o),!0),s}var a={};function u(){}function c(){}function s(){}n=Object.getPrototypeOf;var f=[][r]?n(n([][r]())):(le(n={},r,(function(){return this})),n),l=s.prototype=u.prototype=Object.create(f);function h(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,le(t,i,"GeneratorFunction")),t.prototype=Object.create(l),t}return c.prototype=s,le(l,"constructor",s),le(s,"constructor",c),c.displayName="GeneratorFunction",le(s,i,"GeneratorFunction"),le(l),le(l,i,"Generator"),le(l,r,(function(){return this})),le(l,"toString",(function(){return"[object Generator]"})),(he=function(){return{w:o,m:h}})()}function pe(t,n,e,r,i,o,a){try{var u=t[o](a),c=u.value}catch(t){return void e(t)}u.done?n(c):Promise.resolve(c).then(r,i)}function de(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var o=t.apply(n,e);function a(t){pe(o,r,i,a,u,"next",t)}function u(t){pe(o,r,i,a,u,"throw",t)}a(void 0)}))}}var ve=["img_url","tracking_no","logistics_url","id","weight","length","width","height","order_amount"],ge={props:{visible:{type:Boolean,required:!0},loading:{type:Boolean,default:function(){return!1}},model:{type:Object,default:function(){return null}}},data:function(){return this.formLayout={labelCol:{xs:{span:24},sm:{span:7}},wrapperCol:{xs:{span:24},sm:{span:13}}},{form:this.$form.createForm(this),imgUrl:""}},methods:{handleImgUpload:function(t){var n=this;return de(he().m((function e(){var r,i,o,a,u,c;return he().w((function(e){while(1)switch(e.n){case 0:return r=t.file,i=t.onSuccess,o=t.onError,e.p=1,a=new FormData,a.append("file",r),e.n=2,Un(a);case 2:u=e.v,u&&u.data&&u.data.url?(n.imgUrl=u.data.url,n.form.setFieldsValue({img_url:u.data.url}),i(u)):o(new Error("上传失败")),e.n=4;break;case 3:e.p=3,c=e.v,o(c);case 4:return e.a(2)}}),e,null,[[1,3]])})))()}},created:function(){var t=this;ve.forEach((function(n){return t.form.getFieldDecorator(n)})),this.$watch("model",(function(){t.model&&t.form.setFieldsValue(Jn()(t.model,ve)),t.imgUrl=t.model&&t.model.img_url?t.model.img_url:""}))}},be=ge,ye=(0,h.A)(be,se,fe,!1,null,null,null),me=ye.exports,je=function(){var t,n,e,r,i,o,a,u,c,s,f,l=this,h=l._self._c;return h("a-modal",{attrs:{title:"订单详情",width:800,visible:l.visible,footer:null},on:{cancel:function(){l.$emit("cancel")}}},[h("a-spin",{attrs:{spinning:l.loading}},[h("a-descriptions",{attrs:{bordered:""}},[h("a-descriptions-item",{attrs:{label:"订单编号",span:3}},[l._v(l._s(l.orderDetail.order_sn))]),h("a-descriptions-item",{attrs:{label:"订单状态",span:3}},[l._v(l._s(l.orderDetail.order_status_text))]),h("a-descriptions-item",{attrs:{label:"支付状态",span:3}},[l._v(l._s(l.orderDetail.pay_status_text))]),h("a-descriptions-item",{attrs:{label:"创建时间",span:3}},[l._v(l._s(l.orderDetail.create_time))]),h("a-descriptions-item",{attrs:{label:"订单金额",span:3}},[l._v(l._s(l.orderDetail.order_amount))]),h("a-descriptions-item",{attrs:{label:"申报价值",span:3}},[l._v(l._s(l.orderDetail.declared_val))]),h("a-descriptions-item",{attrs:{label:"打包备注",span:3}},[l._v(l._s(l.orderDetail.pack_remark))]),h("a-descriptions-item",{attrs:{label:"打包物品",span:3}},[l._v(l._s(l.orderDetail.pack_item_name))]),h("a-descriptions-item",{attrs:{label:"物流渠道",span:3}},[l._v(l._s(null===(t=l.orderDetail.line)||void 0===t?void 0:t.name))])],1),h("a-divider",[l._v("包裹信息")]),h("a-descriptions",{attrs:{bordered:""}},[h("a-descriptions-item",{attrs:{label:"重量"}},[l._v(l._s(null===(n=l.orderDetail.detail)||void 0===n?void 0:n.package_weight))]),h("a-descriptions-item",{attrs:{label:"长度"}},[l._v(l._s(null===(e=l.orderDetail.detail)||void 0===e?void 0:e.package_length))]),h("a-descriptions-item",{attrs:{label:"宽度"}},[l._v(l._s(null===(r=l.orderDetail.detail)||void 0===r?void 0:r.package_width))]),h("a-descriptions-item",{attrs:{label:"高度"}},[l._v(l._s(null===(i=l.orderDetail.detail)||void 0===i?void 0:i.package_height))])],1),h("a-divider",[l._v("收货人信息")]),h("a-descriptions",{attrs:{bordered:""}},[h("a-descriptions-item",{attrs:{label:"收货人"}},[l._v(l._s(null===(o=l.orderDetail.address)||void 0===o?void 0:o.receiver_name))]),h("a-descriptions-item",{attrs:{label:"联系电话"}},[l._v(l._s(null===(a=l.orderDetail.address)||void 0===a?void 0:a.receiver_phone))]),h("a-descriptions-item",{attrs:{label:"邮编"}},[l._v(l._s(null===(u=l.orderDetail.address)||void 0===u?void 0:u.receiver_zip_code))]),h("a-descriptions-item",{attrs:{label:"国家"}},[l._v(l._s(null===(c=l.orderDetail.address)||void 0===c?void 0:c.receiver_country))]),h("a-descriptions-item",{attrs:{label:"城市",span:3}},[l._v(l._s(null===(s=l.orderDetail.address)||void 0===s?void 0:s.receiver_city))]),h("a-descriptions-item",{attrs:{label:"详细地址"}},[l._v(l._s(null===(f=l.orderDetail.address)||void 0===f?void 0:f.receive_address))])],1),h("a-divider",[l._v("包裹信息")]),l._l(l.orderDetail.package,(function(t,n){return h("div",{key:n},[h("p",[l._v("包裹 "+l._s(n+1)+": "+l._s(t.tracking_no))]),h("p",[l._v("物品清单: "+l._s(t.item_name_list.join(", ")))])])}))],2)],1)},_e=[],Oe={props:{visible:{type:Boolean,required:!0},loading:{type:Boolean,default:function(){return!1}},model:{type:Object,default:function(){return null}}},data:function(){return{orderDetail:{}}},watch:{visible:{immediate:!0,handler:function(t){var n;t&&null!==(n=this.model)&&void 0!==n&&n.order_sn&&this.fetchOrderDetail()}}},methods:{fetchOrderDetail:function(){var t=this;return de(he().m((function n(){var e;return he().w((function(n){while(1)switch(n.n){case 0:return n.p=0,n.n=1,Dn({order_sn:t.model.order_sn});case 1:e=n.v,1e4===e.error_code&&(t.orderDetail=e.data),n.n=3;break;case 2:n.p=2,n.v;case 3:return n.a(2)}}),n,null,[[0,2]])})))()}}},we=Oe,xe=(0,h.A)(we,je,_e,!1,null,"34c8e9ee",null),Ee=xe.exports,ke=[{title:"订单id",dataIndex:"id"},{title:"名称",dataIndex:"pack_item_name"},{title:"订单金额",dataIndex:"order_amount"},{title:"订单状态",dataIndex:"order_status_text"},{title:"支付状态",dataIndex:"pay_status_text"},{title:"下单时间",dataIndex:"create_time",sorter:!0},{title:"操作",dataIndex:"action",width:"150px",scopedSlots:{customRender:"action"}}],Se={0:{status:"default",text:"拆包中"},1:{status:"processing",text:"待发货"},2:{status:"success",text:"已完成"},3:{status:"error",text:"未付款"}},Me={name:"TableList",components:{STable:bn,Ellipsis:Dt,CreateForm:ce,StepByStepModal:ne,deliveryForm:me,detailForm:Ee},data:function(){var t=this;try{return this.columns=ke,{visibleDetail:!1,visibleDelivery:!1,visible:!1,confirmLoading:!1,mdl:null,advanced:!1,queryParam:{},loadData:function(n){var e=Object.assign({},n,t.queryParam),r=(0,o.A)((0,o.A)({},e),{},{page:e.pageNo,page_size:e.pageSize,order_status:e.status?e.status:"",order_sn:e.id});return delete r.pageNo,delete r.pageSize,Fn(r).then((function(t){return t&&t.data&&t.data.list?{data:t.data.list,pageSize:n.pageSize,pageNo:n.pageNo,totalCount:t.data.count||t.data.list.length}:{data:[],pageSize:n.pageSize,pageNo:n.pageNo,totalCount:0}})).catch((function(t){return{data:[],pageSize:n.pageSize,pageNo:n.pageNo,totalCount:0}}))}}}catch(n){return{}}},filters:{statusFilter:function(t){return Se[t].text},statusTypeFilter:function(t){return Se[t].status}},computed:{},methods:{handleAdd:function(){this.mdl=null,this.visible=!0},handleEdit:function(t){this.visibleDelivery=!0,this.mdl=(0,o.A)({},t)},deliveryOk:function(){var t=this,n=this.$refs.deliveryModal.form;this.confirmLoading=!0,n.validateFields((function(e,r){e?t.confirmLoading=!1:(r.order_sn=t.mdl.order_sn,20===t.mdl.order_status?Hn(r).then((function(e){e&&(n.resetFields(),t.visibleDelivery=!1,t.$refs.table.refresh())})).catch((function(n){t.$message.error(n.message)})).finally((function(){t.mdl=null,t.confirmLoading=!1})):29===t.mdl.order_status?$n(r).then((function(e){e&&(n.resetFields(),t.visibleDelivery=!1,t.$refs.table.refresh())})).catch((function(n){t.$message.error(n.message)})).finally((function(){t.mdl=null,t.confirmLoading=!1})):5===t.mdl.order_status&&Gn(r).then((function(e){e&&(n.resetFields(),t.visibleDelivery=!1,t.$refs.table.refresh())})).catch((function(n){t.$message.error(n.message)})).finally((function(){t.mdl=null,t.confirmLoading=!1})))}))},handleOk:function(){var t=this,n=this.$refs.createModal.form;this.confirmLoading=!0,n.validateFields((function(e,r){e?t.confirmLoading=!1:(r.tracking_no_list=r.tracking_no_list.split("\n").map((function(t){return t.trim()})).filter((function(t){return""!==t})),Vn(r).then((function(e){e&&(n.resetFields(),t.confirmLoading=!1,t.visible=!1)})).catch((function(t){})))}))},handleCancel:function(){this.visible=!1,this.visibleDelivery=!1,this.visibleDetail=!1;var t=this.$refs.createModal.form;t.resetFields(),this.mdl=null},handleSub:function(t){this.visibleDetail=!0,this.mdl=(0,o.A)({},t)},toggleAdvanced:function(){this.advanced=!this.advanced},resetSearchForm:function(){this.queryParam={date:u()(new Date)}}}},Te=Me,Ce=(0,h.A)(Te,r,i,!1,null,null,null),Pe=Ce.exports},83904:function(t){(function(n,e){t.exports=e()})("undefined"!==typeof self&&self,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=195)}([function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(103);e.d(n,"geoArea",(function(){return r["c"]}));var i=e(197);e.d(n,"geoBounds",(function(){return i["a"]}));var o=e(198);e.d(n,"geoCentroid",(function(){return o["a"]}));var a=e(104);e.d(n,"geoCircle",(function(){return a["b"]}));var u=e(65);e.d(n,"geoClipExtent",(function(){return u["b"]}));var c=e(217);e.d(n,"geoContains",(function(){return c["a"]}));var s=e(122);e.d(n,"geoDistance",(function(){return s["a"]}));var f=e(218);e.d(n,"geoGraticule",(function(){return f["a"]})),e.d(n,"geoGraticule10",(function(){return f["b"]}));var l=e(219);e.d(n,"geoInterpolate",(function(){return l["a"]}));var h=e(123);e.d(n,"geoLength",(function(){return h["a"]}));var p=e(220);e.d(n,"geoPath",(function(){return p["a"]}));var d=e(125);e.d(n,"geoAlbers",(function(){return d["a"]}));var v=e(230);e.d(n,"geoAlbersUsa",(function(){return v["a"]}));var g=e(231);e.d(n,"geoAzimuthalEqualArea",(function(){return g["b"]})),e.d(n,"geoAzimuthalEqualAreaRaw",(function(){return g["a"]}));var b=e(232);e.d(n,"geoAzimuthalEquidistant",(function(){return b["b"]})),e.d(n,"geoAzimuthalEquidistantRaw",(function(){return b["a"]}));var y=e(233);e.d(n,"geoConicConformal",(function(){return y["b"]})),e.d(n,"geoConicConformalRaw",(function(){return y["a"]}));var m=e(68);e.d(n,"geoConicEqualArea",(function(){return m["b"]})),e.d(n,"geoConicEqualAreaRaw",(function(){return m["a"]}));var j=e(234);e.d(n,"geoConicEquidistant",(function(){return j["b"]})),e.d(n,"geoConicEquidistantRaw",(function(){return j["a"]}));var _=e(127);e.d(n,"geoEquirectangular",(function(){return _["a"]})),e.d(n,"geoEquirectangularRaw",(function(){return _["b"]}));var O=e(235);e.d(n,"geoGnomonic",(function(){return O["a"]})),e.d(n,"geoGnomonicRaw",(function(){return O["b"]}));var w=e(236);e.d(n,"geoIdentity",(function(){return w["a"]}));var x=e(17);e.d(n,"geoProjection",(function(){return x["a"]})),e.d(n,"geoProjectionMutator",(function(){return x["b"]}));var E=e(71);e.d(n,"geoMercator",(function(){return E["a"]})),e.d(n,"geoMercatorRaw",(function(){return E["c"]}));var k=e(237);e.d(n,"geoOrthographic",(function(){return k["a"]})),e.d(n,"geoOrthographicRaw",(function(){return k["b"]}));var S=e(238);e.d(n,"geoStereographic",(function(){return S["a"]})),e.d(n,"geoStereographicRaw",(function(){return S["b"]}));var M=e(239);e.d(n,"geoTransverseMercator",(function(){return M["a"]})),e.d(n,"geoTransverseMercatorRaw",(function(){return M["b"]}));var T=e(50);e.d(n,"geoRotation",(function(){return T["a"]}));var C=e(22);e.d(n,"geoStream",(function(){return C["a"]}));var P=e(51);e.d(n,"geoTransform",(function(){return P["a"]}))},function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"f",(function(){return i})),e.d(n,"g",(function(){return o})),e.d(n,"h",(function(){return a})),e.d(n,"m",(function(){return u})),e.d(n,"n",(function(){return c})),e.d(n,"p",(function(){return s})),e.d(n,"q",(function(){return f})),e.d(n,"r",(function(){return l})),e.d(n,"t",(function(){return h})),e.d(n,"w",(function(){return p})),e.d(n,"x",(function(){return d})),e.d(n,"y",(function(){return v})),e.d(n,"F",(function(){return g})),e.d(n,"k",(function(){return b})),e.d(n,"l",(function(){return y})),e.d(n,"s",(function(){return m})),e.d(n,"o",(function(){return j})),e.d(n,"u",(function(){return _})),e.d(n,"C",(function(){return O})),e.d(n,"D",(function(){return w})),e.d(n,"E",(function(){return x})),e.d(n,"H",(function(){return E})),e.d(n,"j",(function(){return k})),e.d(n,"v",(function(){return S})),n["z"]=M,n["e"]=T,n["b"]=C,n["B"]=P,n["G"]=N,n["A"]=A,n["i"]=R,n["d"]=B,n["c"]=L;var r=Math.abs,i=Math.atan,o=Math.atan2,a=(Math.ceil,Math.cos),u=Math.exp,c=Math.floor,s=Math.log,f=Math.max,l=Math.min,h=Math.pow,p=Math.round,d=Math.sign||function(t){return t>0?1:t<0?-1:0},v=Math.sin,g=Math.tan,b=1e-6,y=1e-12,m=Math.PI,j=m/2,_=m/4,O=Math.SQRT1_2,w=P(2),x=P(m),E=2*m,k=180/m,S=m/180;function M(t){return t?t/Math.sin(t):1}function T(t){return t>1?j:t<-1?-j:Math.asin(t)}function C(t){return t>1?0:t<-1?m:Math.acos(t)}function P(t){return t>0?Math.sqrt(t):0}function N(t){return t=u(2*t),(t-1)/(t+1)}function A(t){return(u(t)-u(-t))/2}function R(t){return(u(t)+u(-t))/2}function B(t){return s(t+P(t*t+1))}function L(t){return s(t+P(t*t-1))}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var o=e(3),a=e(77),u=e(76),c=e(356),s=e(139),f=e(39),l=e(84),h=function(t){function n(e){var r;void 0===e&&(e={state:{}}),r=t.call(this)||this;var a=i(i(r));return o(a,{_onChangeTimer:null,DataSet:n,isDataSet:!0,views:{}},e),r}r(n,t);var e=n.prototype;return e._getUniqueViewName=function(){var t=this,n=c("view_");while(t.views[n])n=c("view_");return n},e.createView=function(t,n){void 0===n&&(n={});var e=this;if(a(t)&&(t=e._getUniqueViewName()),u(t)&&(n=t,t=e._getUniqueViewName()),e.views[t])throw new Error("data view exists: "+t);var r=new f(e,n);return e.views[t]=r,r},e.getView=function(t){return this.views[t]},e.setView=function(t,n){this.views[t]=n},e.setState=function(t,n){var e=this;e.state[t]=n,e._onChangeTimer&&(clearTimeout(e._onChangeTimer),e._onChangeTimer=null),e._onChangeTimer=setTimeout((function(){e.emit("statechange",t,n)}),16)},n}(s);o(h,{CONSTANTS:l,DataSet:h,DataView:f,View:f,connectors:{},transforms:{},registerConnector:function(t,n){h.connectors[t]=n},getConnector:function(t){return h.connectors[t]||h.connectors.default},registerTransform:function(t,n){h.transforms[t]=n},getTransform:function(t){return h.transforms[t]||h.transforms.default}},l),f.DataSet=h,o(h.prototype,{view:h.prototype.createView}),h.version="0.10.2",t.exports=h},function(t,n){function e(t,n){for(var e in n)n.hasOwnProperty(e)&&"constructor"!==e&&void 0!==n[e]&&(t[e]=n[e])}var r=function(t,n,r,i){return n&&e(t,n),r&&e(t,r),i&&e(t,i),t};t.exports=r},function(t,n,e){"use strict";e.d(n,"i",(function(){return r})),e.d(n,"j",(function(){return i})),e.d(n,"o",(function(){return o})),e.d(n,"l",(function(){return a})),e.d(n,"q",(function(){return u})),e.d(n,"w",(function(){return c})),e.d(n,"h",(function(){return s})),e.d(n,"r",(function(){return f})),e.d(n,"a",(function(){return l})),e.d(n,"d",(function(){return h})),e.d(n,"e",(function(){return p})),e.d(n,"g",(function(){return d})),e.d(n,"f",(function(){return v})),e.d(n,"k",(function(){return g})),e.d(n,"n",(function(){return b})),e.d(n,"p",(function(){return y})),e.d(n,"t",(function(){return m})),e.d(n,"s",(function(){return j})),e.d(n,"u",(function(){return _})),e.d(n,"v",(function(){return O})),n["b"]=w,n["c"]=x,n["m"]=E;var r=1e-6,i=1e-12,o=Math.PI,a=o/2,u=o/4,c=2*o,s=180/o,f=o/180,l=Math.abs,h=Math.atan,p=Math.atan2,d=Math.cos,v=Math.ceil,g=Math.exp,b=(Math.floor,Math.log),y=Math.pow,m=Math.sin,j=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,O=Math.tan;function w(t){return t>1?0:t<-1?o:Math.acos(t)}function x(t){return t>1?a:t<-1?-a:Math.asin(t)}function E(t){return(t=m(t/2))*t}},function(t,n,e){"use strict";e.d(n,"i",(function(){return r})),e.d(n,"j",(function(){return i})),e.d(n,"o",(function(){return o})),e.d(n,"l",(function(){return a})),e.d(n,"q",(function(){return u})),e.d(n,"w",(function(){return c})),e.d(n,"h",(function(){return s})),e.d(n,"r",(function(){return f})),e.d(n,"a",(function(){return l})),e.d(n,"d",(function(){return h})),e.d(n,"e",(function(){return p})),e.d(n,"g",(function(){return d})),e.d(n,"f",(function(){return v})),e.d(n,"k",(function(){return g})),e.d(n,"n",(function(){return b})),e.d(n,"p",(function(){return y})),e.d(n,"t",(function(){return m})),e.d(n,"s",(function(){return j})),e.d(n,"u",(function(){return _})),e.d(n,"v",(function(){return O})),n["b"]=w,n["c"]=x,n["m"]=E;var r=1e-6,i=1e-12,o=Math.PI,a=o/2,u=o/4,c=2*o,s=180/o,f=o/180,l=Math.abs,h=Math.atan,p=Math.atan2,d=Math.cos,v=Math.ceil,g=Math.exp,b=(Math.floor,Math.log),y=Math.pow,m=Math.sin,j=Math.sign||function(t){return t>0?1:t<0?-1:0},_=Math.sqrt,O=Math.tan;function w(t){return t>1?0:t<-1?o:Math.acos(t)}function x(t){return t>1?a:t<-1?-a:Math.asin(t)}function E(t){return(t=m(t/2))*t}},function(t,n,e){var r=e(41),i=Array.isArray?Array.isArray:function(t){return r(t,"Array")};t.exports=i},function(t,n,e){var r=e(6),i=e(10),o="Invalid field: it must be a string!",a="Invalid fields: it must be an array!";t.exports={getField:function(t,n){var e=t.field,a=t.fields;if(i(e))return e;if(r(e))return console.warn(o),e[0];if(console.warn(o+" will try to get fields instead."),i(a))return a;if(r(a)&&a.length)return a[0];if(n)return n;throw new TypeError(o)},getFields:function(t,n){var e=t.field,o=t.fields;if(r(o))return o;if(i(o))return console.warn(a),[o];if(console.warn(a+" will try to get field instead."),i(e))return console.warn(a),[e];if(r(e)&&e.length)return console.warn(a),e;if(n)return n;throw new TypeError(a)}}},function(t,n,e){var r;try{r=e(169)}catch(i){}r||(r=window._),t.exports=r},function(t,n,e){var r=e(76),i=e(6),o=function(t,n){if(t){var e=void 0;if(i(t)){for(var o=0,a=t.length;oMath.abs(a)*s?(u<0&&(s=-s),e=s*a/u,r=s):(a<0&&(c=-c),e=c,r=c*u/a),{x:i+e,y:o+r}}function l(t){var n=r.map(r.range(v(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(e){var i=t.node(e),o=i.rank;r.isUndefined(o)||(n[o][i.order]=e)})),n}function h(t){var n=r.minBy(r.map(t.nodes(),(function(n){return t.node(n).rank})));r.forEach(t.nodes(),(function(e){var i=t.node(e);r.has(i,"rank")&&(i.rank-=n)}))}function p(t){var n=r.minBy(r.map(t.nodes(),(function(n){return t.node(n).rank}))),e=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-n;e[i]||(e[i]=[]),e[i].push(r)}));var i=0,o=t.graph().nodeRankFactor;r.forEach(e,(function(n,e){r.isUndefined(n)&&e%o!==0?--i:i&&r.forEach(n,(function(n){t.node(n).rank+=i}))}))}function d(t,n,e,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=e,i.order=r),o(t,"border",i,n)}function v(t){return r.max(r.map(t.nodes(),(function(n){var e=t.node(n).rank;if(!r.isUndefined(e))return e})))}function g(t,n){var e={lhs:[],rhs:[]};return r.forEach(t,(function(t){n(t)?e.lhs.push(t):e.rhs.push(t)})),e}function b(t,n){var e=r.now();try{return n()}finally{console.log(t+" time: "+(r.now()-e)+"ms")}}function y(t,n){return n()}t.exports={addDummyNode:o,simplify:a,asNonCompoundGraph:u,successorWeights:c,predecessorWeights:s,intersectRect:f,buildLayerMatrix:l,normalizeRanks:h,removeEmptyRanks:p,addBorderNode:d,maxRank:v,partition:g,time:b,notime:y}},function(t,n,e){var r;try{r=e(169)}catch(i){}r||(r=window._),t.exports=r},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(109);e.d(n,"bisect",(function(){return r["c"]})),e.d(n,"bisectRight",(function(){return r["b"]})),e.d(n,"bisectLeft",(function(){return r["a"]}));var i=e(30);e.d(n,"ascending",(function(){return i["a"]}));var o=e(110);e.d(n,"bisector",(function(){return o["a"]}));var a=e(201);e.d(n,"cross",(function(){return a["a"]}));var u=e(202);e.d(n,"descending",(function(){return u["a"]}));var c=e(112);e.d(n,"deviation",(function(){return c["a"]}));var s=e(114);e.d(n,"extent",(function(){return s["a"]}));var f=e(203);e.d(n,"histogram",(function(){return f["a"]}));var l=e(206);e.d(n,"thresholdFreedmanDiaconis",(function(){return l["a"]}));var h=e(207);e.d(n,"thresholdScott",(function(){return h["a"]}));var p=e(118);e.d(n,"thresholdSturges",(function(){return p["a"]}));var d=e(208);e.d(n,"max",(function(){return d["a"]}));var v=e(209);e.d(n,"mean",(function(){return v["a"]}));var g=e(210);e.d(n,"median",(function(){return g["a"]}));var b=e(211);e.d(n,"merge",(function(){return b["a"]}));var y=e(119);e.d(n,"min",(function(){return y["a"]}));var m=e(111);e.d(n,"pairs",(function(){return m["a"]}));var j=e(212);e.d(n,"permute",(function(){return j["a"]}));var _=e(66);e.d(n,"quantile",(function(){return _["a"]}));var O=e(116);e.d(n,"range",(function(){return O["a"]}));var w=e(213);e.d(n,"scan",(function(){return w["a"]}));var x=e(214);e.d(n,"shuffle",(function(){return x["a"]}));var E=e(215);e.d(n,"sum",(function(){return E["a"]}));var k=e(117);e.d(n,"ticks",(function(){return k["a"]})),e.d(n,"tickIncrement",(function(){return k["b"]})),e.d(n,"tickStep",(function(){return k["c"]}));var S=e(120);e.d(n,"transpose",(function(){return S["a"]}));var M=e(113);e.d(n,"variance",(function(){return M["a"]}));var T=e(216);e.d(n,"zip",(function(){return T["a"]}))},function(t,n,e){var r=e(6),i=e(11),o=e(10),a=e(352),u=e(353);t.exports=function(t,n,e){void 0===e&&(e=[]);var c,s=t;e&&e.length&&(s=u(t,e)),i(n)?c=n:r(n)?c=function(t){return"_"+n.map((function(n){return t[n]})).join("-")}:o(n)&&(c=function(t){return"_"+t[n]});var f=a(s,c);return f}},function(t,n,e){var r;try{r=e(433)}catch(i){}r||(r=window.graphlib),t.exports=r},function(t,n,e){"use strict";n["a"]=d,n["b"]=v;var r=e(226),i=e(227),o=e(65),a=e(105),u=e(67),c=e(4),s=e(50),f=e(51),l=e(70),h=e(228),p=Object(f["b"])({point:function(t,n){this.stream.point(t*c["r"],n*c["r"])}});function d(t){return v((function(){return t}))()}function v(t){var n,e,f,d,v,g,b,y,m,j,_=150,O=480,w=250,x=0,E=0,k=0,S=0,M=0,T=null,C=r["a"],P=null,N=u["a"],A=.5,R=Object(h["a"])(I,A);function B(t){return t=v(t[0]*c["r"],t[1]*c["r"]),[t[0]*_+e,f-t[1]*_]}function L(t){return t=v.invert((t[0]-e)/_,(f-t[1])/_),t&&[t[0]*c["h"],t[1]*c["h"]]}function I(t,r){return t=n(t,r),[t[0]*_+e,f-t[1]*_]}function q(){v=Object(a["a"])(d=Object(s["b"])(k,S,M),n);var t=n(x,E);return e=O-t[0]*_,f=w+t[1]*_,z()}function z(){return m=j=null,B}return B.stream=function(t){return m&&j===t?m:m=p(C(d,R(N(j=t))))},B.clipAngle=function(t){return arguments.length?(C=+t?Object(i["a"])(T=t*c["r"],6*c["r"]):(T=null,r["a"]),z()):T*c["h"]},B.clipExtent=function(t){return arguments.length?(N=null==t?(P=g=b=y=null,u["a"]):Object(o["a"])(P=+t[0][0],g=+t[0][1],b=+t[1][0],y=+t[1][1]),z()):null==P?null:[[P,g],[b,y]]},B.scale=function(t){return arguments.length?(_=+t,q()):_},B.translate=function(t){return arguments.length?(O=+t[0],w=+t[1],q()):[O,w]},B.center=function(t){return arguments.length?(x=t[0]%360*c["r"],E=t[1]%360*c["r"],q()):[x*c["h"],E*c["h"]]},B.rotate=function(t){return arguments.length?(k=t[0]%360*c["r"],S=t[1]%360*c["r"],M=t.length>2?t[2]%360*c["r"]:0,q()):[k*c["h"],S*c["h"],M*c["h"]]},B.precision=function(t){return arguments.length?(R=Object(h["a"])(I,A=t*t),z()):Object(c["u"])(A)},B.fitExtent=function(t,n){return Object(l["a"])(B,t,n)},B.fitSize=function(t,n){return Object(l["b"])(B,t,n)},function(){return n=t.apply(this,arguments),B.invert=n.invert&&L,q()}}},function(t,n,e){"use strict";n["a"]=d,n["b"]=v;var r=e(336),i=e(338),o=e(145),a=e(144),u=e(150),c=e(5),s=e(78),f=e(81),l=e(154),h=e(339),p=Object(f["b"])({point:function(t,n){this.stream.point(t*c["r"],n*c["r"])}});function d(t){return v((function(){return t}))()}function v(t){var n,e,f,d,v,g,b,y,m,j,_=150,O=480,w=250,x=0,E=0,k=0,S=0,M=0,T=null,C=r["a"],P=null,N=u["a"],A=.5,R=Object(h["a"])(I,A);function B(t){return t=v(t[0]*c["r"],t[1]*c["r"]),[t[0]*_+e,f-t[1]*_]}function L(t){return t=v.invert((t[0]-e)/_,(f-t[1])/_),t&&[t[0]*c["h"],t[1]*c["h"]]}function I(t,r){return t=n(t,r),[t[0]*_+e,f-t[1]*_]}function q(){v=Object(a["a"])(d=Object(s["b"])(k,S,M),n);var t=n(x,E);return e=O-t[0]*_,f=w+t[1]*_,z()}function z(){return m=j=null,B}return B.stream=function(t){return m&&j===t?m:m=p(C(d,R(N(j=t))))},B.clipAngle=function(t){return arguments.length?(C=+t?Object(i["a"])(T=t*c["r"],6*c["r"]):(T=null,r["a"]),z()):T*c["h"]},B.clipExtent=function(t){return arguments.length?(N=null==t?(P=g=b=y=null,u["a"]):Object(o["a"])(P=+t[0][0],g=+t[0][1],b=+t[1][0],y=+t[1][1]),z()):null==P?null:[[P,g],[b,y]]},B.scale=function(t){return arguments.length?(_=+t,q()):_},B.translate=function(t){return arguments.length?(O=+t[0],w=+t[1],q()):[O,w]},B.center=function(t){return arguments.length?(x=t[0]%360*c["r"],E=t[1]%360*c["r"],q()):[x*c["h"],E*c["h"]]},B.rotate=function(t){return arguments.length?(k=t[0]%360*c["r"],S=t[1]%360*c["r"],M=t.length>2?t[2]%360*c["r"]:0,q()):[k*c["h"],S*c["h"],M*c["h"]]},B.precision=function(t){return arguments.length?(R=Object(h["a"])(I,A=t*t),z()):Object(c["u"])(A)},B.fitExtent=Object(l["a"])(B),B.fitSize=Object(l["b"])(B),function(){return n=t.apply(this,arguments),B.invert=n.invert&&L,q()}}},function(t,n,e){!function(t,e){e(n)}(0,(function(t){"use strict";function n(t){if(0===t.length)return 0;for(var n,e=t[0],r=0,i=1;i=Math.abs(t[i])?r+=e-n+t[i]:r+=t[i]-n+e,e=n;return e+r}function e(t){if(0===t.length)throw new Error("mean requires at least one data point");return n(t)/t.length}function r(t,n){var r,i,o=e(t),a=0;if(2===n)for(i=0;in&&(n=t[e]);return n}function f(t,n){var e=t.length*n;if(0===t.length)throw new Error("quantile requires at least one data point.");if(n<0||1s&&h(t,e,r);fs;)p--}t[e]===s?h(t,e,p):h(t,++p,r),p<=n&&(e=p+1),n<=p&&(r=p-1)}}function h(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}function p(t,n){var e=t.slice();if(Array.isArray(n)){!function(t,n){for(var e=[0],r=0;rt[t.length-1])return 1;var e=function(t,n){for(var e=0,r=0,i=t.length;r>>1]?i=e:r=-~e;return r}(t,n);if(t[e]!==n)return e/t.length;e++;var r=function(t,n){for(var e=0,r=0,i=t.length;r=t[e=r+i>>>1]?r=-~e:i=e;return r}(t,n);if(r===e)return e/t.length;var i=r-e+1;return i*(r+e)/2/i/t.length}function y(t){var n=p(t,.75),e=p(t,.25);if("number"==typeof n&&"number"==typeof e)return n-e}function m(t){return+p(t,.5)}function j(t){for(var n=m(t),e=[],r=0;r=r[e][u]);--p)(f=E(c,u,o,a)+r[e-1][c-1])e&&(e=t[r]),t[r]t.length)throw new Error("cannot generate more classes than there are data values");var e=u(t);if(1===w(e))return[e];var r=x(n,e.length),i=x(n,e.length);!function(t,n,e){for(var r,i=n[0].length,o=t[Math.floor(i/2)],a=[],u=[],c=0;c=Math.abs(o)&&(p+=1);else if("greater"===r)for(s=0;s<=i;s++)a[s]>=o&&(p+=1);else for(s=0;s<=i;s++)a[s]<=o&&(p+=1);return p/i},t.bisect=function(t,n,e,r,i){if("function"!=typeof t)throw new TypeError("func must be a function");for(var o=0;oi["k"]&&--o>0);return n/2}function a(t,n,e){function r(r,a){return[t*r*Object(i["h"])(a=o(e,a)),n*Object(i["y"])(a)]}return r.invert=function(r,o){return o=Object(i["e"])(o/n),[r/(t*Object(i["h"])(o)),Object(i["e"])((2*o+Object(i["y"])(2*o))/e)]},r}var u=a(i["D"]/i["o"],i["D"],i["s"]);n["a"]=function(){return Object(r["geoProjection"])(u).scale(169.529)}},function(t,n,e){"use strict";function r(t,n){t&&o.hasOwnProperty(t.type)&&o[t.type](t,n)}var i={Feature:function(t,n){r(t.geometry,n)},FeatureCollection:function(t,n){var e=t.features,i=-1,o=e.length;while(++i=0;--f)n=t[1][f],e=n[0][0],i=n[0][1],a=n[1][1],c=n[2][0],s=n[2][1],l.push(u([[c-o["k"],s-o["k"]],[c-o["k"],a+o["k"]],[e+o["k"],a+o["k"]],[e+o["k"],i-o["k"]]],30));return{type:"Polygon",coordinates:[Object(r["merge"])(l)]}}n["a"]=function(t,n){var e=c(n);n=n.map((function(t){return t.map((function(t){return[[t[0][0]*o["v"],t[0][1]*o["v"]],[t[1][0]*o["v"],t[1][1]*o["v"]],[t[2][0]*o["v"],t[2][1]*o["v"]]]}))}));var r=n.map((function(n){return n.map((function(n){var e,r=t(n[0][0],n[0][1])[0],i=t(n[2][0],n[2][1])[0],o=t(n[1][0],n[0][1])[1],a=t(n[1][0],n[1][1])[1];return o>a&&(e=o,o=a,a=e),[[r,o],[i,a]]}))}));function u(e,r){for(var i=r<0?-1:1,o=n[+(r<0)],a=0,u=o.length-1;ao[a][2][0];++a);var c=t(e-o[a][1][0],r);return c[0]+=t(o[a][1][0],i*r>i*o[a][0][1]?o[a][0][1]:r)[0],c}t.invert&&(u.invert=function(e,i){for(var o=r[+(i<0)],c=n[+(i<0)],s=0,f=o.length;sn?1:t>=n?0:NaN}},function(t,n,e){"use strict";var r=e(0),i=e(1);n["a"]=function(t){var n=0,e=Object(r["geoProjectionMutator"])(t),o=e(n);return o.parallel=function(t){return arguments.length?e(n=t*i["v"]):n*i["j"]},o}},function(t,n,e){var r=e(9),i=e(54),o=Object.prototype.hasOwnProperty,a=function(t,n){if(null===t||!i(t))return{};var e={};return r(n,(function(n){o.call(t,n)&&(e[n]=t[n])})),e};t.exports=a},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(349);e.d(n,"path",(function(){return r["a"]}))},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(369);e.d(n,"cluster",(function(){return r["a"]}));var i=e(86);e.d(n,"hierarchy",(function(){return i["c"]}));var o=e(381);e.d(n,"pack",(function(){return o["a"]}));var a=e(160);e.d(n,"packSiblings",(function(){return a["a"]}));var u=e(161);e.d(n,"packEnclose",(function(){return u["a"]}));var c=e(383);e.d(n,"partition",(function(){return c["a"]}));var s=e(384);e.d(n,"stratify",(function(){return s["a"]}));var f=e(385);e.d(n,"tree",(function(){return f["a"]}));var l=e(386);e.d(n,"treemap",(function(){return l["a"]}));var h=e(387);e.d(n,"treemapBinary",(function(){return h["a"]}));var p=e(45);e.d(n,"treemapDice",(function(){return p["a"]}));var d=e(55);e.d(n,"treemapSlice",(function(){return d["a"]}));var v=e(388);e.d(n,"treemapSliceDice",(function(){return v["a"]}));var g=e(88);e.d(n,"treemapSquarify",(function(){return g["a"]}));var b=e(389);e.d(n,"treemapResquarify",(function(){return b["a"]}))},function(t,n,e){"use strict";n["g"]=i,n["a"]=o,n["d"]=a,n["c"]=u,n["b"]=c,n["f"]=s,n["e"]=f;var r=e(4);function i(t){return[Object(r["e"])(t[1],t[0]),Object(r["c"])(t[2])]}function o(t){var n=t[0],e=t[1],i=Object(r["g"])(e);return[i*Object(r["g"])(n),i*Object(r["t"])(n),Object(r["t"])(e)]}function a(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function u(t,n){return[t[1]*n[2]-t[2]*n[1],t[2]*n[0]-t[0]*n[2],t[0]*n[1]-t[1]*n[0]]}function c(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function s(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function f(t){var n=Object(r["u"])(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}},function(t,n,e){"use strict";n["a"]=function(t){return null===t?NaN:+t}},function(t,n,e){"use strict";n["b"]=i,n["a"]=o;var r=e(4);function i(t){return function(n,e){var i=Object(r["g"])(n),o=Object(r["g"])(e),a=t(i*o);return[a*o*Object(r["t"])(n),a*Object(r["t"])(e)]}}function o(t){return function(n,e){var i=Object(r["u"])(n*n+e*e),o=t(i),a=Object(r["t"])(o),u=Object(r["g"])(o);return[Object(r["e"])(n*a,i*u),Object(r["c"])(i&&e*a/i)]}}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){return[t*Object(i["h"])(n),n]}o.invert=function(t,n){return[t/Object(i["h"])(n),n]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(152.63)}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}function i(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}var o=e(139),a=e(3),u=e(40),c=e(40),s=e(320),f=e(9),l=e(6),h=e(54),p=e(140),d=e(76),v=e(10),g=e(24),b=e(32);function y(t){var n={};return f(t,(function(t,e){d(t)&&t.isView?n[e]=t:l(t)?n[e]=t.concat([]):h(t)?n[e]=u(t):n[e]=t})),n}var m=function(t){function n(n,e){var r;r=t.call(this)||this;var o=i(i(r));if(e=e||{},n=n||{},n.isDataSet||(e=n,n=null),a(o,{dataSet:n,loose:!n,dataType:"table",isView:!0,isDataView:!0,origin:[],rows:[],transforms:[],watchingStates:null},e),!o.loose){var u=o.watchingStates;n.on("statechange",(function(t){l(u)?u.indexOf(t)>-1&&o._reExecute():o._reExecute()}))}return r}r(n,t);var e=n.prototype;return e._parseStateExpression=function(t){var n=this.dataSet,e=/^\$state\.(\w+)/.exec(t);return e?n.state[e[1]]:t},e._preparseOptions=function(t){var n=this,e=y(t);return n.loose||f(e,(function(t,r){v(t)&&/^\$state\./.test(t)&&(e[r]=n._parseStateExpression(t))})),e},e._prepareSource=function(t,e){var r=this,i=n.DataSet;if(r._source={source:t,options:e},e)e=r._preparseOptions(e),r.origin=i.getConnector(e.type)(t,e,r);else if(t instanceof n||v(t))r.origin=i.getConnector("default")(t,r.dataSet);else if(l(t))r.origin=t;else{if(!d(t)||!t.type)throw new TypeError("Invalid source");e=r._preparseOptions(t),r.origin=i.getConnector(e.type)(e,r)}return r.rows=c(r.origin),r},e.source=function(t,n){var e=this;return e._prepareSource(t,n),e._reExecuteTransforms(),e.trigger("change"),e},e.transform=function(t){void 0===t&&(t={});var n=this;return n.transforms.push(t),n._executeTransform(t),n},e._executeTransform=function(t){var e=this;t=e._preparseOptions(t);var r=n.DataSet.getTransform(t.type);r(e,t)},e._reExecuteTransforms=function(){var t=this;t.transforms.forEach((function(n){t._executeTransform(n)}))},e.addRow=function(t){this.rows.push(t)},e.removeRow=function(t){this.rows.splice(t,1)},e.updateRow=function(t,n){a(this.rows[t],n)},e.findRows=function(t){return this.rows.filter((function(n){return p(n,t)}))},e.findRow=function(t){return s(this.rows,t)},e.getColumnNames=function(){var t=this.rows[0];return t?g(t):[]},e.getColumnName=function(t){return this.getColumnNames()[t]},e.getColumnIndex=function(t){var n=this.getColumnNames();return n.indexOf(t)},e.getColumn=function(t){return this.rows.map((function(n){return n[t]}))},e.getColumnData=function(t){return this.getColumn(t)},e.getSubset=function(t,n,e){for(var r=[],i=t;i<=n;i++)r.push(b(this.rows[i],e));return r},e.toString=function(t){var n=this;return t?JSON.stringify(n.rows,null,2):JSON.stringify(n.rows)},e._reExecute=function(){var t=this,n=t._source,e=n.source,r=n.options;t._prepareSource(e,r),t._reExecuteTransforms(),t.trigger("change")},n}(o);t.exports=m},function(t,n,e){var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i=e(6),o=function t(n){if("object"!==("undefined"===typeof n?"undefined":r(n))||null===n)return n;var e=void 0;if(i(n)){e=[];for(var o=0,a=n.length;o1?0:t<-1?l:Math.acos(t)}function v(t){return t>=1?h:t<=-1?-h:Math.asin(t)}},function(t,n,e){"use strict";n["a"]=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],u=a.length;o=0)e[n]=n;return e}},function(t,n,e){"use strict";e.d(n,"f",(function(){return h})),e.d(n,"g",(function(){return p})),e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"e",(function(){return a})),n["d"]=g;var r,i,o,a,u=e(513),c=e(191),s=e(192),f=e(100),l=e(99),h=1e-6,p=1e-12;function d(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function v(t,n){return n[1]-t[1]||n[0]-t[0]}function g(t,n){var e,h,p,d=t.sort(v).pop();a=[],i=new Array(t.length),r=new l["b"],o=new l["b"];while(1)if(p=s["c"],d&&(!p||d[1]=u)return null;var c=t-i.site[0],s=n-i.site[1],f=c*c+s*s;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(e){var r=o.edges[e],u=r.left;if(u!==i.site&&u||(u=r.right)){var c=t-u[0],s=n-u[1],l=c*c+s*s;li["o"]?t-i["w"]:t<-i["o"]?t+i["w"]:t,n]}function a(t,n,e){return(t%=i["w"])?n||e?Object(r["a"])(c(t),s(n,e)):c(t):n||e?s(n,e):o}function u(t){return function(n,e){return n+=t,[n>i["o"]?n-i["w"]:n<-i["o"]?n+i["w"]:n,e]}}function c(t){var n=u(t);return n.invert=u(-t),n}function s(t,n){var e=Object(i["g"])(t),r=Object(i["t"])(t),o=Object(i["g"])(n),a=Object(i["t"])(n);function u(t,n){var u=Object(i["g"])(n),c=Object(i["g"])(t)*u,s=Object(i["t"])(t)*u,f=Object(i["t"])(n),l=f*e+c*r;return[Object(i["e"])(s*o-l*a,c*e-f*r),Object(i["c"])(l*o+s*a)]}return u.invert=function(t,n){var u=Object(i["g"])(n),c=Object(i["g"])(t)*u,s=Object(i["t"])(t)*u,f=Object(i["t"])(n),l=f*o-s*a;return[Object(i["e"])(s*o+f*a,c*e+l*r),Object(i["c"])(l*e-c*r)]},u}o.invert=o,n["a"]=function(t){function n(n){return n=t(n[0]*i["r"],n[1]*i["r"]),n[0]*=i["h"],n[1]*=i["h"],n}return t=a(t[0]*i["r"],t[1]*i["r"],t.length>2?t[2]*i["r"]:0),n.invert=function(n){return n=t.invert(n[0]*i["r"],n[1]*i["r"]),n[0]*=i["h"],n[1]*=i["h"],n},n}},function(t,n,e){"use strict";function r(t){return function(n){var e=new i;for(var r in t)e[r]=t[r];return e.stream=n,e}}function i(){}n["b"]=r,n["a"]=function(t){return{stream:r(t)}},i.prototype={constructor:i,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";var r=e(1);n["a"]=function(t,n,e,i,o,a,u,c){function s(s,f){if(!f)return[t*s/r["s"],0];var l=f*f,h=t+l*(n+l*(e+l*i)),p=f*(o-1+l*(a-c+l*u)),d=(h*h+p*p)/(2*p),v=s*Object(r["e"])(h/d)/r["s"];return[d*Object(r["y"])(v),f*(1+l*c)+d*(1-Object(r["h"])(v))]}return arguments.length<8&&(c=0),s.invert=function(s,f){var l,h,p=r["s"]*s/t,d=f,v=50;do{var g=d*d,b=t+g*(n+g*(e+g*i)),y=d*(o-1+g*(a-c+g*u)),m=b*b+y*y,j=2*y,_=m/j,O=_*_,w=Object(r["e"])(b/_)/r["s"],x=p*w,E=b*b,k=(2*n+g*(4*e+6*g*i))*d,S=o+g*(3*a+5*g*u),M=2*(b*k+y*(S-1)),T=2*(S-1),C=(M*j-m*T)/(j*j),P=Object(r["h"])(x),N=Object(r["y"])(x),A=_*P,R=_*N,B=p/r["s"]*(1/Object(r["B"])(1-E/O))*(k*_-b*C)/O,L=R-s,I=d*(1+g*c)+_-A-f,q=C*N+A*B,z=A*w,F=1+C-(C*P-R*B),D=R*w,G=q*D-F*z;if(!G)break;p-=l=(I*q-L*F)/G,d-=h=(L*D-I*z)/G}while((Object(r["a"])(l)>r["k"]||Object(r["a"])(h)>r["k"])&&--v>0);return[p,d]},s}},function(t,n,e){"use strict";var r=e(0),i=e(1),o=e(294);function a(t,n,e){var o,u,c=n.edges,s=c.length,f={type:"MultiPoint",coordinates:n.face},l=n.face.filter((function(t){return 90!==Object(i["a"])(t[1])})),h=Object(r["geoBounds"])({type:"MultiPoint",coordinates:l}),p=!1,d=-1,v=h[1][0]-h[0][0],g=180===v||360===v?[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]:Object(r["geoCentroid"])(f);if(e)while(++d=0;)if(r=n[u],e[0]===r[0]&&e[1]===r[1]){if(o)return[o,e];o=e}}}function s(t){for(var n=t.length,e=[],r=t[n-1],i=0;i0)do{a.point(0===u||3===u?t:e,u>1?f:n)}while((u=(u+o+4)%4)!==c);else a.point(i[0],i[1])}function p(i,o){return Object(r["a"])(i[0]-t)0?0:3:Object(r["a"])(i[0]-e)0?2:1:Object(r["a"])(i[1]-n)0?1:0:o>0?3:2}function d(t,n){return v(t.x,n.x)}function v(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var p,v,g,b,y,m,j,_,O,w,x,E=r,k=Object(i["a"])(),S={point:M,lineStart:N,lineEnd:A,polygonStart:C,polygonEnd:P};function M(t,n){l(t,n)&&E.point(t,n)}function T(){for(var n=0,e=0,r=v.length;ef&&(l-i)*(f-o)>(h-o)*(t-i)&&++n:h<=f&&(l-i)*(f-o)<(h-o)*(t-i)&&--n;return n}function C(){E=k,p=[],v=[],x=!0}function P(){var t=T(),n=x&&t,e=(p=Object(u["merge"])(p)).length;(n||e)&&(r.polygonStart(),n&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),e&&Object(a["a"])(p,d,t,h,r),r.polygonEnd()),E=r,p=v=g=null}function N(){S.point=R,v&&v.push(g=[]),w=!0,O=!1,j=_=NaN}function A(){p&&(R(b,y),m&&O&&k.rejoin(),p.push(k.result())),S.point=M,O&&E.lineEnd()}function R(r,i){var a=l(r,i);if(v&&g.push([r,i]),w)b=r,y=i,m=a,w=!1,a&&(E.lineStart(),E.point(r,i));else if(a&&O)E.point(r,i);else{var u=[j=Math.max(s,Math.min(c,j)),_=Math.max(s,Math.min(c,_))],h=[r=Math.max(s,Math.min(c,r)),i=Math.max(s,Math.min(c,i))];Object(o["a"])(u,h,t,n,e,f)?(O||(E.lineStart(),E.point(u[0],u[1])),E.point(h[0],h[1]),a||E.lineEnd(),x=!1):a&&(E.lineStart(),E.point(r,i),x=!1)}j=r,_=i,O=a}return S}}n["b"]=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=f(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}}},function(t,n,e){"use strict";var r=e(36);n["a"]=function(t,n,e){if(null==e&&(e=r["a"]),i=t.length){if((n=+n)<=0||i<2)return+e(t[0],0,t);if(n>=1)return+e(t[i-1],i-1,t);var i,o=(i-1)*n,a=Math.floor(o),u=+e(t[a],a,t),c=+e(t[a+1],a+1,t);return u+(c-u)*(o-a)}}},function(t,n,e){"use strict";n["a"]=function(t){return t}},function(t,n,e){"use strict";n["a"]=a;var r=e(4),i=e(69),o=e(229);function a(t,n){var e=Object(r["t"])(t),i=(e+Object(r["t"])(n))/2;if(Object(r["a"])(i)0?t*Object(i["B"])(i["s"]/e)/2:0,Object(i["e"])(1-e)]},n["b"]=function(){return Object(r["geoProjection"])(o).scale(95.6464).center([0,30])}},function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"d",(function(){return u})),n["c"]=c;var r=e(0),i=e(21),o=e(38),a=.7109889596207567,u=.0528035274542;function c(t,n){return n>-a?(t=Object(i["d"])(t,n),t[1]+=u,t):Object(o["b"])(t,n)}c.invert=function(t,n){return n>-a?i["d"].invert(t,n-u):o["b"].invert(t,n)},n["a"]=function(){return Object(r["geoProjection"])(c).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}},function(t,n,e){"use strict";var r=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]];n["a"]=[[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 r[t]}))}))},function(t,n,e){"use strict";var r=e(0),i=e(1);n["a"]=function(t){var n=t(i["o"],0)[0]-t(-i["o"],0)[0];function e(e,r){var o=Object(i["a"])(e)0?e-i["s"]:e+i["s"],r),u=(a[0]-a[1])*i["C"],c=(a[0]+a[1])*i["C"];if(o)return[u,c];var s=n*i["C"],f=u>0^c>0?-1:1;return[f*u-Object(i["x"])(c)*s,f*c-Object(i["x"])(u)*s]}return t.invert&&(e.invert=function(e,r){var o=(e+r)*i["C"],a=(r-e)*i["C"],u=Object(i["a"])(o)<.5*n&&Object(i["a"])(a)<.5*n;if(!u){var c=n*i["C"],s=o>0^a>0?-1:1,f=-s*e+(a>0?1:-1)*c,l=-s*r+(o>0?1:-1)*c;o=(-f-l)*i["C"],a=(f-l)*i["C"]}var h=t.invert(o,a);return u||(h[0]+=o>0?i["s"]:-i["s"]),h}),Object(r["geoProjection"])(e).rotate([-90,-90,45]).clipAngle(179.999)}},function(t,n){var e="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(t){var n="undefined"===typeof t?"undefined":e(t);return null!==t&&"object"===n||"function"===n};t.exports=r},function(t,n){var e=function(t){return null===t||void 0===t};t.exports=e},function(t,n,e){"use strict";n["b"]=a;var r=e(144),i=e(5);function o(t,n){return[t>i["o"]?t-i["w"]:t<-i["o"]?t+i["w"]:t,n]}function a(t,n,e){return(t%=i["w"])?n||e?Object(r["a"])(c(t),s(n,e)):c(t):n||e?s(n,e):o}function u(t){return function(n,e){return n+=t,[n>i["o"]?n-i["w"]:n<-i["o"]?n+i["w"]:n,e]}}function c(t){var n=u(t);return n.invert=u(-t),n}function s(t,n){var e=Object(i["g"])(t),r=Object(i["t"])(t),o=Object(i["g"])(n),a=Object(i["t"])(n);function u(t,n){var u=Object(i["g"])(n),c=Object(i["g"])(t)*u,s=Object(i["t"])(t)*u,f=Object(i["t"])(n),l=f*e+c*r;return[Object(i["e"])(s*o-l*a,c*e-f*r),Object(i["c"])(l*o+s*a)]}return u.invert=function(t,n){var u=Object(i["g"])(n),c=Object(i["g"])(t)*u,s=Object(i["t"])(t)*u,f=Object(i["t"])(n),l=f*o-s*a;return[Object(i["e"])(s*o+f*a,c*e+l*r),Object(i["c"])(l*e-c*r)]},u}o.invert=o,n["a"]=function(t){function n(n){return n=t(n[0]*i["r"],n[1]*i["r"]),n[0]*=i["h"],n[1]*=i["h"],n}return t=a(t[0]*i["r"],t[1]*i["r"],t.length>2?t[2]*i["r"]:0),n.invert=function(n){return n=t.invert(n[0]*i["r"],n[1]*i["r"]),n[0]*=i["h"],n[1]*=i["h"],n},n}},function(t,n,e){"use strict";n["a"]=o;var r=e(5),i=e(80);function o(t,n){var e=Object(r["t"])(t),i=(e+Object(r["t"])(n))/2,o=1+e*(2*i-e),a=Object(r["u"])(o)/i;function u(t,n){var e=Object(r["u"])(o-2*i*Object(r["t"])(n))/i;return[e*Object(r["t"])(t*=i),a-e*Object(r["g"])(t)]}return u.invert=function(t,n){var e=a-n;return[Object(r["e"])(t,e)/i,Object(r["c"])((o-(t*t+e*e)*i*i)/(2*i))]},u}n["b"]=function(){return Object(i["a"])(o).scale(155.424).center([0,33.6442])}},function(t,n,e){"use strict";n["a"]=o;var r=e(5),i=e(18);function o(t){var n=0,e=r["o"]/3,o=Object(i["b"])(t),a=o(n,e);return a.parallels=function(t){return arguments.length?o(n=t[0]*r["r"],e=t[1]*r["r"]):[n*r["h"],e*r["h"]]},a}},function(t,n,e){"use strict";function r(t){function n(){}var e=n.prototype=Object.create(i.prototype);for(var r in t)e[r]=t[r];return function(t){var e=new n;return e.stream=t,e}}function i(){}n["b"]=r,n["a"]=function(t){return{stream:r(t)}},i.prototype={point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";n["c"]=o,n["b"]=a;var r=e(18),i=e(5);function o(t,n){return[t,Object(i["n"])(Object(i["v"])((i["l"]+n)/2))]}function a(t){var n,e=Object(r["a"])(t),o=e.scale,a=e.translate,u=e.clipExtent;return e.scale=function(t){return arguments.length?(o(t),n&&e.clipExtent(null),e):o()},e.translate=function(t){return arguments.length?(a(t),n&&e.clipExtent(null),e):a()},e.clipExtent=function(t){if(!arguments.length)return n?null:u();if(n=null==t){var r=i["o"]*o(),c=a();t=[[c[0]-r,c[1]-r],[c[0]+r,c[1]+r]]}return u(t),e},e.clipExtent(null)}o.invert=function(t,n){return[t,2*Object(i["d"])(Object(i["k"])(n))-i["l"]]},n["a"]=function(){return a(o).scale(961/i["w"])}},function(t,n,e){var r=e(9),i=e(11),o=Object.values?function(t){return Object.values(t)}:function(t){var n=[];return r(t,(function(e,r){i(t)&&"prototype"===r||n.push(e)})),n};t.exports=o},function(t,n){t.exports={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"]}},function(t,n,e){"use strict";var r={},i={},o=34,a=10,u=13;function c(t){return new Function("d","return {"+t.map((function(t,n){return JSON.stringify(t)+": d["+n+"]"})).join(",")+"}")}function s(t,n){var e=c(t);return function(r,i){return n(e(r),i,t)}}function f(t){var n=Object.create(null),e=[];return t.forEach((function(t){for(var r in t)r in n||e.push(n[r]=r)})),e}n["a"]=function(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function l(t,n){var e,r,i=h(t,(function(t,i){if(e)return e(t,i-1);r=t,e=n?s(t,n):c(t)}));return i.columns=r||[],i}function h(t,n){var c,s=[],f=t.length,l=0,h=0,p=f<=0,d=!1;function v(){if(p)return i;if(d)return d=!1,r;var n,c,s=l;if(t.charCodeAt(s)===o){while(l++=f?p=!0:(c=t.charCodeAt(l++))===a?d=!0:c===u&&(d=!0,t.charCodeAt(l)===a&&++l),t.slice(s+1,n-1).replace(/""/g,'"')}while(l=0;--o)s.push(r=e.children[o]=new m(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(y)}function v(){return d(this).eachBefore(b)}function g(t){return t.children}function b(t){t.data=t.data.data}function y(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function m(t){this.data=t,this.depth=this.height=0,this.parent=null}m.prototype=d.prototype={constructor:m,count:r["a"],each:i["a"],eachAfter:a["a"],eachBefore:o["a"],sum:u["a"],sort:c["a"],path:s["a"],ancestors:f["a"],descendants:l["a"],leaves:h["a"],links:p["a"],copy:v}},function(t,n,e){"use strict";function r(t){return null==t?null:i(t)}function i(t){if("function"!==typeof t)throw new Error;return t}n["a"]=r,n["b"]=i},function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),n["c"]=a;var r=e(45),i=e(55),o=(1+Math.sqrt(5))/2;function a(t,n,e,o,a,u){var c,s,f,l,h,p,d,v,g,b,y,m=[],j=n.children,_=0,O=0,w=j.length,x=n.value;while(_d&&(d=s),y=h*h*b,v=Math.max(d/y,y/p),v>g){h-=s;break}g=v}m.push(c={value:h,dice:f1?n:1)},e}(o)},function(t,n,e){"use strict";var r=e(165);n["a"]=function(t){if(null==t)return r["a"];var n,e,i=t.scale[0],o=t.scale[1],a=t.translate[0],u=t.translate[1];return function(t,r){r||(n=e=0);var c=2,s=t.length,f=new Array(s);f[0]=(n+=t[0])*i+a,f[1]=(e+=t[1])*o+u;while(cc){var s=u;u=c,c=s}return u+a+c+a+(r.isUndefined(o)?i:o)}function l(t,n,e,r){var i=""+n,o=""+e;if(!t&&i>o){var a=i;i=o,o=a}var u={v:i,w:o};return r&&(u.name=r),u}function h(t,n){return f(t,n.v,n.w,n.name)}u.prototype._nodeCount=0,u.prototype._edgeCount=0,u.prototype.isDirected=function(){return this._isDirected},u.prototype.isMultigraph=function(){return this._isMultigraph},u.prototype.isCompound=function(){return this._isCompound},u.prototype.setGraph=function(t){return this._label=t,this},u.prototype.graph=function(){return this._label},u.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},u.prototype.nodeCount=function(){return this._nodeCount},u.prototype.nodes=function(){return r.keys(this._nodes)},u.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._in[n])}))},u.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(n){return r.isEmpty(t._out[n])}))},u.prototype.setNodes=function(t,n){var e=arguments,i=this;return r.each(t,(function(t){e.length>1?i.setNode(t,n):i.setNode(t)})),this},u.prototype.setNode=function(t,n){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=n),this):(this._nodes[t]=arguments.length>1?n:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=o,this._children[t]={},this._children[o][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},u.prototype.node=function(t){return this._nodes[t]},u.prototype.hasNode=function(t){return r.has(this._nodes,t)},u.prototype.removeNode=function(t){var n=this;if(r.has(this._nodes,t)){var e=function(t){n.removeEdge(n._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){n.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},u.prototype.setParent=function(t,n){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(n))n=o;else{n+="";for(var e=n;!r.isUndefined(e);e=this.parent(e))if(e===t)throw new Error("Setting "+n+" as parent of "+t+" would create a cycle");this.setNode(n)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=n,this._children[n][t]=!0,this},u.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},u.prototype.parent=function(t){if(this._isCompound){var n=this._parent[t];if(n!==o)return n}},u.prototype.children=function(t){if(r.isUndefined(t)&&(t=o),this._isCompound){var n=this._children[t];if(n)return r.keys(n)}else{if(t===o)return this.nodes();if(this.hasNode(t))return[]}},u.prototype.predecessors=function(t){var n=this._preds[t];if(n)return r.keys(n)},u.prototype.successors=function(t){var n=this._sucs[t];if(n)return r.keys(n)},u.prototype.neighbors=function(t){var n=this.predecessors(t);if(n)return r.union(n,this.successors(t))},u.prototype.isLeaf=function(t){var n;return n=this.isDirected()?this.successors(t):this.neighbors(t),0===n.length},u.prototype.filterNodes=function(t){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var e=this;r.each(this._nodes,(function(e,r){t(r)&&n.setNode(r,e)})),r.each(this._edgeObjs,(function(t){n.hasNode(t.v)&&n.hasNode(t.w)&&n.setEdge(t,e.edge(t))}));var i={};function o(t){var r=e.parent(t);return void 0===r||n.hasNode(r)?(i[t]=r,r):r in i?i[r]:o(r)}return this._isCompound&&r.each(n.nodes(),(function(t){n.setParent(t,o(t))})),n},u.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},u.prototype.edgeCount=function(){return this._edgeCount},u.prototype.edges=function(){return r.values(this._edgeObjs)},u.prototype.setPath=function(t,n){var e=this,i=arguments;return r.reduce(t,(function(t,r){return i.length>1?e.setEdge(t,r,n):e.setEdge(t,r),r})),this},u.prototype.setEdge=function(){var t,n,e,i,o=!1,a=arguments[0];"object"===typeof a&&null!==a&&"v"in a?(t=a.v,n=a.w,e=a.name,2===arguments.length&&(i=arguments[1],o=!0)):(t=a,n=arguments[1],e=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),t=""+t,n=""+n,r.isUndefined(e)||(e=""+e);var u=f(this._isDirected,t,n,e);if(r.has(this._edgeLabels,u))return o&&(this._edgeLabels[u]=i),this;if(!r.isUndefined(e)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(n),this._edgeLabels[u]=o?i:this._defaultEdgeLabelFn(t,n,e);var s=l(this._isDirected,t,n,e);return t=s.v,n=s.w,Object.freeze(s),this._edgeObjs[u]=s,c(this._preds[n],t),c(this._sucs[t],n),this._in[n][u]=s,this._out[t][u]=s,this._edgeCount++,this},u.prototype.edge=function(t,n,e){var r=1===arguments.length?h(this._isDirected,arguments[0]):f(this._isDirected,t,n,e);return this._edgeLabels[r]},u.prototype.hasEdge=function(t,n,e){var i=1===arguments.length?h(this._isDirected,arguments[0]):f(this._isDirected,t,n,e);return r.has(this._edgeLabels,i)},u.prototype.removeEdge=function(t,n,e){var r=1===arguments.length?h(this._isDirected,arguments[0]):f(this._isDirected,t,n,e),i=this._edgeObjs[r];return i&&(t=i.v,n=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],s(this._preds[n],t),s(this._sucs[t],n),delete this._in[n][r],delete this._out[t][r],this._edgeCount--),this},u.prototype.inEdges=function(t,n){var e=this._in[t];if(e){var i=r.values(e);return n?r.filter(i,(function(t){return t.v===n})):i}},u.prototype.outEdges=function(t,n){var e=this._out[t];if(e){var i=r.values(e);return n?r.filter(i,(function(t){return t.w===n})):i}},u.prototype.nodeEdges=function(t,n){var e=this.inEdges(t,n);if(e)return e.concat(this.outEdges(t,n))}},function(t,n,e){"use strict";e.d(n,"b",(function(){return r}));var r="$";function i(){}function o(t,n){var e=new i;if(t instanceof i)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,o=-1,a=t.length;if(null==n)while(++or["f"]){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,s=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/s,o=(o*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/s}if(t._l23_a>r["f"]){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*f+t._x1*t._l23_2a-n*t._l12_2a)/l,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(i,o,a,u,t._x2,t._y2)}function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:o(this,t,n);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new a(t,n):new i["a"](t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";n["b"]=i;var r=e(48);function i(t){var n,e=0,r=-1,i=t.length;while(++r0)){if(o/=d,d<0){if(o0){if(o>p)return;o>h&&(h=o)}if(o=r-c,d||!(o<0)){if(o/=d,d<0){if(o>p)return;o>h&&(h=o)}else if(d>0){if(o0)){if(o/=v,v<0){if(o0){if(o>p)return;o>h&&(h=o)}if(o=i-s,v||!(o<0)){if(o/=v,v<0){if(o>p)return;o>h&&(h=o)}else if(v>0){if(o0||p<1)||(h>0&&(t[0]=[c+h*d,s+h*v]),p<1&&(t[1]=[c+p*d,s+p*v]),!0)}}}}}function c(t,n,e,r,i){var o=t[1];if(o)return!0;var a,u,c=t[0],s=t.left,f=t.right,l=s[0],h=s[1],p=f[0],d=f[1],v=(l+p)/2,g=(h+d)/2;if(d===h){if(v=r)return;if(l>p){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]1)if(l>p){if(c){if(c[1]>=i)return}else c=[(e-u)/a,e];o=[(i-u)/a,i]}else{if(c){if(c[1]=r)return}else c=[n,a*n+u];o=[r,a*r+u]}else{if(c){if(c[0]r["f"]||Math.abs(o[0][1]-o[1][1])>r["f"])||delete r["e"][a]}},function(t,n,e){var r={compactBox:e(516),dendrogram:e(518),indented:e(520),mindmap:e(522)};t.exports=r},function(t,n,e){var r=e(194),i=["LR","RL","TB","BT","H","V"],o=["LR","RL","H"],a=function(t){return o.indexOf(t)>-1},u=i[0];t.exports=function(t,n,e){var o=n.direction||u;if(n.isHorizontal=a(o),o&&-1===i.indexOf(o))throw new TypeError("Invalid direction: "+o);if(o===i[0])e(t,n);else if(o===i[1])e(t,n),t.right2left();else if(o===i[2])e(t,n);else if(o===i[3])e(t,n),t.bottom2top();else if(o===i[4]||o===i[5]){var c=r(t,n),s=c.left,f=c.right;e(s,n),e(f,n),n.isHorizontal?s.right2left():s.bottom2top(),f.translate(s.x-f.x,s.y-f.y),t.x=s.x,t.y=f.y;var l=t.getBoundingBox();n.isHorizontal?l.top<0&&t.translate(0,-l.top):l.left<0&&t.translate(-l.left,0)}return t.translate(-(t.x+t.width/2+t.hgap),-(t.y+t.height/2+t.vgap)),t}},function(t,n,e){"use strict";e.d(n,"a",(function(){return h})),e.d(n,"b",(function(){return d}));var r,i,o,a,u,c=e(29),s=e(4),f=e(20),l=e(22),h=Object(c["a"])(),p=Object(c["a"])(),d={point:f["a"],lineStart:f["a"],lineEnd:f["a"],polygonStart:function(){h.reset(),d.lineStart=v,d.lineEnd=g},polygonEnd:function(){var t=+h;p.add(t<0?s["w"]+t:t),this.lineStart=this.lineEnd=this.point=f["a"]},sphere:function(){p.add(s["w"])}};function v(){d.point=b}function g(){y(r,i)}function b(t,n){d.point=y,r=t,i=n,t*=s["r"],n*=s["r"],o=t,a=Object(s["g"])(n=n/2+s["q"]),u=Object(s["t"])(n)}function y(t,n){t*=s["r"],n*=s["r"],n=n/2+s["q"];var e=t-o,r=e>=0?1:-1,i=r*e,c=Object(s["g"])(n),f=Object(s["t"])(n),l=u*f,p=a*c+l*Object(s["g"])(i),d=l*r*Object(s["t"])(i);h.add(Object(s["e"])(d,p)),o=t,a=c,u=f}n["c"]=function(t){return p.reset(),Object(l["a"])(t,d),2*p}},function(t,n,e){"use strict";n["a"]=u;var r=e(35),i=e(199),o=e(4),a=e(50);function u(t,n,e,i,a,u){if(e){var s=Object(o["g"])(n),f=Object(o["t"])(n),l=i*e;null==a?(a=n+i*o["w"],u=n-l/2):(a=c(s,a),u=c(s,u),(i>0?au)&&(a+=i*o["w"]));for(var h,p=a;i>0?p>u:p1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(108);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){var n,e,r=0,i=t[0];while(++r=0;--c)u.point((p=h[c])[0],p[1]);else a(v.x,v.p.x,-1,u);v=v.p}v=v.o,h=v.z,g=!g}while(!v.v);u.lineEnd()}}}},function(t,n,e){"use strict";var r=e(4);n["a"]=function(t,n){return Object(r["a"])(t[0]-n[0])>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){null==r&&(r=0),null==i&&(i=n.length);while(r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n["b"]=r,n["a"]=function(t,n){null==n&&(n=r);var e=0,i=t.length-1,o=t[0],a=new Array(i<0?0:i);while(e1)return s/(a-1)}},function(t,n,e){"use strict";n["a"]=function(t,n){var e,r,i,o=t.length,a=-1;if(null==n){while(++a=e){r=i=e;while(++ae&&(r=e),i=e){r=i=e;while(++ae&&(r=e),i=0?(c>=r?10:c>=i?5:c>=o?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(c>=r?10:c>=i?5:c>=o?2:1)}function u(t,n,e){var a=Math.abs(n-t)/Math.max(0,e),u=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),c=a/u;return c>=r?u*=10:c>=i?u*=5:c>=o&&(u*=2),n0)return[t];if((r=n0){t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));while(++c=e){r=e;while(++oe&&(r=e)}}else while(++o=e){r=e;while(++oe&&(r=e)}return r}},function(t,n,e){"use strict";var r=e(119);function i(t){return t.length}n["a"]=function(t){if(!(a=t.length))return[];for(var n=-1,e=Object(r["a"])(t,i),o=new Array(e);++n=0?1:-1,S=k*E,M=S>o["o"],T=b*w;if(a.add(Object(o["e"])(T*k*Object(o["t"])(S),y*x+T*Object(o["g"])(S))),c+=M?E+k*o["w"]:E,M^v>=e^_>=e){var C=Object(i["c"])(Object(i["a"])(d),Object(i["a"])(j));Object(i["e"])(C);var P=Object(i["c"])(u,C);Object(i["e"])(P);var N=(M^E>=0?-1:1)*Object(o["c"])(P[2]);(r>N||r===N&&(C[0]||C[1]))&&(s+=M^E>=0?1:-1)}}return(c<-o["i"]||ca&&(a=t),nu&&(u=n)}n["a"]=c},function(t,n,e){"use strict";var r=e(68);n["a"]=function(){return Object(r["b"])().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";var r=e(106),i=e(107),o=e(4),a=e(121),u=e(14);function c(t){return t.length>1}function s(t,n){return((t=t.x)[0]<0?t[1]-o["l"]-o["i"]:o["l"]-t[1])-((n=n.x)[0]<0?n[1]-o["l"]-o["i"]:o["l"]-n[1])}n["a"]=function(t,n,e,o){return function(f,l){var h,p,d,v=n(l),g=f.invert(o[0],o[1]),b=Object(r["a"])(),y=n(b),m=!1,j={point:_,lineStart:w,lineEnd:x,polygonStart:function(){j.point=E,j.lineStart=k,j.lineEnd=S,p=[],h=[]},polygonEnd:function(){j.point=_,j.lineStart=w,j.lineEnd=x,p=Object(u["merge"])(p);var t=Object(a["a"])(h,g);p.length?(m||(l.polygonStart(),m=!0),Object(i["a"])(p,s,t,e,l)):t&&(m||(l.polygonStart(),m=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),m&&(l.polygonEnd(),m=!1),p=h=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function _(n,e){var r=f(n,e);t(n=r[0],e=r[1])&&l.point(n,e)}function O(t,n){var e=f(t,n);v.point(e[0],e[1])}function w(){j.point=O,v.lineStart()}function x(){j.point=_,v.lineEnd()}function E(t,n){d.push([t,n]);var e=f(t,n);y.point(e[0],e[1])}function k(){y.lineStart(),d=[]}function S(){E(d[0][0],d[0][1]),y.lineEnd();var t,n,e,r,i=y.clean(),o=b.result(),a=o.length;if(d.pop(),h.push(d),d=null,a)if(1&i){if(e=o[0],(n=e.length-1)>0){for(m||(l.polygonStart(),m=!0),l.lineStart(),t=0;t1&&2&i&&o.push(o.pop().concat(o.shift())),p.push(o.filter(c))}return j}}},function(t,n,e){"use strict";n["b"]=i;var r=e(17);function i(t,n){return[t,n]}i.invert=i,n["a"]=function(){return Object(r["a"])(i).scale(152.63)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(240);e.d(n,"geoAiry",(function(){return r["b"]})),e.d(n,"geoAiryRaw",(function(){return r["a"]}));var i=e(129);e.d(n,"geoAitoff",(function(){return i["b"]})),e.d(n,"geoAitoffRaw",(function(){return i["a"]}));var o=e(241);e.d(n,"geoArmadillo",(function(){return o["b"]})),e.d(n,"geoArmadilloRaw",(function(){return o["a"]}));var a=e(130);e.d(n,"geoAugust",(function(){return a["b"]})),e.d(n,"geoAugustRaw",(function(){return a["a"]}));var u=e(242);e.d(n,"geoBaker",(function(){return u["b"]})),e.d(n,"geoBakerRaw",(function(){return u["a"]}));var c=e(243);e.d(n,"geoBerghaus",(function(){return c["b"]})),e.d(n,"geoBerghausRaw",(function(){return c["a"]}));var s=e(131);e.d(n,"geoBoggs",(function(){return s["b"]})),e.d(n,"geoBoggsRaw",(function(){return s["a"]}));var f=e(244);e.d(n,"geoBonne",(function(){return f["b"]})),e.d(n,"geoBonneRaw",(function(){return f["a"]}));var l=e(245);e.d(n,"geoBottomley",(function(){return l["b"]})),e.d(n,"geoBottomleyRaw",(function(){return l["a"]}));var h=e(246);e.d(n,"geoBromley",(function(){return h["b"]})),e.d(n,"geoBromleyRaw",(function(){return h["a"]}));var p=e(247);e.d(n,"geoChamberlin",(function(){return p["c"]})),e.d(n,"geoChamberlinRaw",(function(){return p["b"]})),e.d(n,"geoChamberlinAfrica",(function(){return p["a"]}));var d=e(72);e.d(n,"geoCollignon",(function(){return d["b"]})),e.d(n,"geoCollignonRaw",(function(){return d["a"]}));var v=e(248);e.d(n,"geoCraig",(function(){return v["b"]})),e.d(n,"geoCraigRaw",(function(){return v["a"]}));var g=e(249);e.d(n,"geoCraster",(function(){return g["b"]})),e.d(n,"geoCrasterRaw",(function(){return g["a"]}));var b=e(132);e.d(n,"geoCylindricalEqualArea",(function(){return b["b"]})),e.d(n,"geoCylindricalEqualAreaRaw",(function(){return b["a"]}));var y=e(250);e.d(n,"geoCylindricalStereographic",(function(){return y["b"]})),e.d(n,"geoCylindricalStereographicRaw",(function(){return y["a"]}));var m=e(251);e.d(n,"geoEckert1",(function(){return m["a"]})),e.d(n,"geoEckert1Raw",(function(){return m["b"]}));var j=e(252);e.d(n,"geoEckert2",(function(){return j["a"]})),e.d(n,"geoEckert2Raw",(function(){return j["b"]}));var _=e(253);e.d(n,"geoEckert3",(function(){return _["a"]})),e.d(n,"geoEckert3Raw",(function(){return _["b"]}));var O=e(254);e.d(n,"geoEckert4",(function(){return O["a"]})),e.d(n,"geoEckert4Raw",(function(){return O["b"]}));var w=e(255);e.d(n,"geoEckert5",(function(){return w["a"]})),e.d(n,"geoEckert5Raw",(function(){return w["b"]}));var x=e(256);e.d(n,"geoEckert6",(function(){return x["a"]})),e.d(n,"geoEckert6Raw",(function(){return x["b"]}));var E=e(257);e.d(n,"geoEisenlohr",(function(){return E["a"]})),e.d(n,"geoEisenlohrRaw",(function(){return E["b"]}));var k=e(258);e.d(n,"geoFahey",(function(){return k["a"]})),e.d(n,"geoFaheyRaw",(function(){return k["b"]}));var S=e(259);e.d(n,"geoFoucaut",(function(){return S["a"]})),e.d(n,"geoFoucautRaw",(function(){return S["b"]}));var M=e(260);e.d(n,"geoGilbert",(function(){return M["a"]}));var T=e(261);e.d(n,"geoGingery",(function(){return T["a"]})),e.d(n,"geoGingeryRaw",(function(){return T["b"]}));var C=e(262);e.d(n,"geoGinzburg4",(function(){return C["a"]})),e.d(n,"geoGinzburg4Raw",(function(){return C["b"]}));var P=e(263);e.d(n,"geoGinzburg5",(function(){return P["a"]})),e.d(n,"geoGinzburg5Raw",(function(){return P["b"]}));var N=e(264);e.d(n,"geoGinzburg6",(function(){return N["a"]})),e.d(n,"geoGinzburg6Raw",(function(){return N["b"]}));var A=e(265);e.d(n,"geoGinzburg8",(function(){return A["a"]})),e.d(n,"geoGinzburg8Raw",(function(){return A["b"]}));var R=e(266);e.d(n,"geoGinzburg9",(function(){return R["a"]})),e.d(n,"geoGinzburg9Raw",(function(){return R["b"]}));var B=e(133);e.d(n,"geoGringorten",(function(){return B["a"]})),e.d(n,"geoGringortenRaw",(function(){return B["b"]}));var L=e(135);e.d(n,"geoGuyou",(function(){return L["a"]})),e.d(n,"geoGuyouRaw",(function(){return L["b"]}));var I=e(268);e.d(n,"geoHammer",(function(){return I["a"]})),e.d(n,"geoHammerRaw",(function(){return I["b"]}));var q=e(269);e.d(n,"geoHammerRetroazimuthal",(function(){return q["a"]})),e.d(n,"geoHammerRetroazimuthalRaw",(function(){return q["b"]}));var z=e(270);e.d(n,"geoHealpix",(function(){return z["a"]})),e.d(n,"geoHealpixRaw",(function(){return z["b"]}));var F=e(271);e.d(n,"geoHill",(function(){return F["a"]})),e.d(n,"geoHillRaw",(function(){return F["b"]}));var D=e(136);e.d(n,"geoHomolosine",(function(){return D["a"]})),e.d(n,"geoHomolosineRaw",(function(){return D["b"]}));var G=e(23);e.d(n,"geoInterrupt",(function(){return G["a"]}));var $=e(272);e.d(n,"geoInterruptedBoggs",(function(){return $["a"]}));var U=e(273);e.d(n,"geoInterruptedHomolosine",(function(){return U["a"]}));var H=e(274);e.d(n,"geoInterruptedMollweide",(function(){return H["a"]}));var V=e(275);e.d(n,"geoInterruptedMollweideHemispheres",(function(){return V["a"]}));var W=e(276);e.d(n,"geoInterruptedSinuMollweide",(function(){return W["a"]}));var Y=e(277);e.d(n,"geoInterruptedSinusoidal",(function(){return Y["a"]}));var K=e(278);e.d(n,"geoKavrayskiy7",(function(){return K["a"]})),e.d(n,"geoKavrayskiy7Raw",(function(){return K["b"]}));var J=e(279);e.d(n,"geoLagrange",(function(){return J["a"]})),e.d(n,"geoLagrangeRaw",(function(){return J["b"]}));var X=e(280);e.d(n,"geoLarrivee",(function(){return X["a"]})),e.d(n,"geoLarriveeRaw",(function(){return X["b"]}));var Z=e(281);e.d(n,"geoLaskowski",(function(){return Z["a"]})),e.d(n,"geoLaskowskiRaw",(function(){return Z["b"]}));var Q=e(282);e.d(n,"geoLittrow",(function(){return Q["a"]})),e.d(n,"geoLittrowRaw",(function(){return Q["b"]}));var tt=e(283);e.d(n,"geoLoximuthal",(function(){return tt["a"]})),e.d(n,"geoLoximuthalRaw",(function(){return tt["b"]}));var nt=e(284);e.d(n,"geoMiller",(function(){return nt["a"]})),e.d(n,"geoMillerRaw",(function(){return nt["b"]}));var et=e(285);e.d(n,"geoModifiedStereographic",(function(){return et["a"]})),e.d(n,"geoModifiedStereographicRaw",(function(){return et["g"]})),e.d(n,"geoModifiedStereographicAlaska",(function(){return et["b"]})),e.d(n,"geoModifiedStereographicGs48",(function(){return et["c"]})),e.d(n,"geoModifiedStereographicGs50",(function(){return et["d"]})),e.d(n,"geoModifiedStereographicMiller",(function(){return et["f"]})),e.d(n,"geoModifiedStereographicLee",(function(){return et["e"]}));var rt=e(21);e.d(n,"geoMollweide",(function(){return rt["a"]})),e.d(n,"geoMollweideRaw",(function(){return rt["d"]}));var it=e(286);e.d(n,"geoMtFlatPolarParabolic",(function(){return it["a"]})),e.d(n,"geoMtFlatPolarParabolicRaw",(function(){return it["b"]}));var ot=e(287);e.d(n,"geoMtFlatPolarQuartic",(function(){return ot["a"]})),e.d(n,"geoMtFlatPolarQuarticRaw",(function(){return ot["b"]}));var at=e(288);e.d(n,"geoMtFlatPolarSinusoidal",(function(){return at["a"]})),e.d(n,"geoMtFlatPolarSinusoidalRaw",(function(){return at["b"]}));var ut=e(289);e.d(n,"geoNaturalEarth",(function(){return ut["a"]})),e.d(n,"geoNaturalEarthRaw",(function(){return ut["b"]}));var ct=e(290);e.d(n,"geoNaturalEarth2",(function(){return ct["a"]})),e.d(n,"geoNaturalEarth2Raw",(function(){return ct["b"]}));var st=e(291);e.d(n,"geoNellHammer",(function(){return st["a"]})),e.d(n,"geoNellHammerRaw",(function(){return st["b"]}));var ft=e(292);e.d(n,"geoPatterson",(function(){return ft["a"]})),e.d(n,"geoPattersonRaw",(function(){return ft["b"]}));var lt=e(293);e.d(n,"geoPolyconic",(function(){return lt["a"]})),e.d(n,"geoPolyconicRaw",(function(){return lt["b"]}));var ht=e(53);e.d(n,"geoPolyhedral",(function(){return ht["a"]}));var pt=e(295);e.d(n,"geoPolyhedralButterfly",(function(){return pt["a"]}));var dt=e(296);e.d(n,"geoPolyhedralCollignon",(function(){return dt["a"]}));var vt=e(297);e.d(n,"geoPolyhedralWaterman",(function(){return vt["a"]}));var gt=e(298);e.d(n,"geoProject",(function(){return gt["a"]}));var bt=e(302);e.d(n,"geoGringortenQuincuncial",(function(){return bt["a"]}));var yt=e(137);e.d(n,"geoPeirceQuincuncial",(function(){return yt["a"]})),e.d(n,"geoPierceQuincuncial",(function(){return yt["a"]}));var mt=e(303);e.d(n,"geoQuantize",(function(){return mt["a"]}));var jt=e(75);e.d(n,"geoQuincuncial",(function(){return jt["a"]}));var _t=e(304);e.d(n,"geoRectangularPolyconic",(function(){return _t["a"]})),e.d(n,"geoRectangularPolyconicRaw",(function(){return _t["b"]}));var Ot=e(305);e.d(n,"geoRobinson",(function(){return Ot["a"]})),e.d(n,"geoRobinsonRaw",(function(){return Ot["b"]}));var wt=e(306);e.d(n,"geoSatellite",(function(){return wt["a"]})),e.d(n,"geoSatelliteRaw",(function(){return wt["b"]}));var xt=e(73);e.d(n,"geoSinuMollweide",(function(){return xt["a"]})),e.d(n,"geoSinuMollweideRaw",(function(){return xt["c"]}));var Et=e(38);e.d(n,"geoSinusoidal",(function(){return Et["a"]})),e.d(n,"geoSinusoidalRaw",(function(){return Et["b"]}));var kt=e(307);e.d(n,"geoStitch",(function(){return kt["a"]}));var St=e(308);e.d(n,"geoTimes",(function(){return St["a"]})),e.d(n,"geoTimesRaw",(function(){return St["b"]}));var Mt=e(309);e.d(n,"geoTwoPointAzimuthal",(function(){return Mt["a"]})),e.d(n,"geoTwoPointAzimuthalRaw",(function(){return Mt["b"]})),e.d(n,"geoTwoPointAzimuthalUsa",(function(){return Mt["c"]}));var Tt=e(310);e.d(n,"geoTwoPointEquidistant",(function(){return Tt["a"]})),e.d(n,"geoTwoPointEquidistantRaw",(function(){return Tt["b"]})),e.d(n,"geoTwoPointEquidistantUsa",(function(){return Tt["c"]}));var Ct=e(311);e.d(n,"geoVanDerGrinten",(function(){return Ct["a"]})),e.d(n,"geoVanDerGrintenRaw",(function(){return Ct["b"]}));var Pt=e(312);e.d(n,"geoVanDerGrinten2",(function(){return Pt["a"]})),e.d(n,"geoVanDerGrinten2Raw",(function(){return Pt["b"]}));var Nt=e(313);e.d(n,"geoVanDerGrinten3",(function(){return Nt["a"]})),e.d(n,"geoVanDerGrinten3Raw",(function(){return Nt["b"]}));var At=e(314);e.d(n,"geoVanDerGrinten4",(function(){return At["a"]})),e.d(n,"geoVanDerGrinten4Raw",(function(){return At["b"]}));var Rt=e(315);e.d(n,"geoWagner4",(function(){return Rt["a"]})),e.d(n,"geoWagner4Raw",(function(){return Rt["b"]}));var Bt=e(316);e.d(n,"geoWagner6",(function(){return Bt["a"]})),e.d(n,"geoWagner6Raw",(function(){return Bt["b"]}));var Lt=e(317);e.d(n,"geoWagner7",(function(){return Lt["a"]})),e.d(n,"geoWagner7Raw",(function(){return Lt["b"]}));var It=e(318);e.d(n,"geoWiechel",(function(){return It["a"]})),e.d(n,"geoWiechelRaw",(function(){return It["b"]}));var qt=e(319);e.d(n,"geoWinkel3",(function(){return qt["a"]})),e.d(n,"geoWinkel3Raw",(function(){return qt["b"]}))},function(t,n,e){"use strict";n["a"]=o;var r=e(0),i=e(1);function o(t,n){var e=Object(i["h"])(n),r=Object(i["z"])(Object(i["b"])(e*Object(i["h"])(t/=2)));return[2*e*Object(i["y"])(t)*r,Object(i["y"])(n)*r]}o.invert=function(t,n){if(!(t*t+4*n*n>i["s"]*i["s"]+i["k"])){var e=t,r=n,o=25;do{var a,u=Object(i["y"])(e),c=Object(i["y"])(e/2),s=Object(i["h"])(e/2),f=Object(i["y"])(r),l=Object(i["h"])(r),h=Object(i["y"])(2*r),p=f*f,d=l*l,v=c*c,g=1-d*s*s,b=g?Object(i["b"])(l*s)*Object(i["B"])(a=1/g):a=0,y=2*b*l*c-t,m=b*f-n,j=a*(d*v+b*l*s*p),_=a*(.5*u*h-2*b*f*c),O=.25*a*(h*c-b*f*d*u),w=a*(p*s+b*v*l),x=_*O-w*j;if(!x)break;var E=(m*_-y*w)/x,k=(y*O-m*j)/x;e-=E,r-=k}while((Object(i["a"])(E)>i["k"]||Object(i["a"])(k)>i["k"])&&--o>0);return[e,r]}},n["b"]=function(){return Object(r["geoProjection"])(o).scale(152.63)}},function(t,n,e){"use strict";n["a"]=o;var r=e(0),i=e(1);function o(t,n){var e=Object(i["F"])(n/2),r=Object(i["B"])(1-e*e),o=1+r*Object(i["h"])(t/=2),a=Object(i["y"])(t)*r/o,u=e/o,c=a*a,s=u*u;return[4/3*a*(3+c-3*s),4/3*u*(3+3*c-s)]}o.invert=function(t,n){if(t*=3/8,n*=3/8,!t&&Object(i["a"])(n)>1)return null;var e=t*t,r=n*n,o=1+e+r,a=Object(i["B"])((o-Object(i["B"])(o*o-4*n*n))/2),u=Object(i["e"])(a)/3,c=a?Object(i["c"])(Object(i["a"])(n/a))/3:Object(i["d"])(Object(i["a"])(t))/3,s=Object(i["h"])(u),f=Object(i["i"])(c),l=f*f-s*s;return[2*Object(i["x"])(t)*Object(i["g"])(Object(i["A"])(c)*s,.25-l),2*Object(i["x"])(n)*Object(i["g"])(f*Object(i["y"])(u),.25+l)]},n["b"]=function(){return Object(r["geoProjection"])(o).scale(66.1603)}},function(t,n,e){"use strict";n["a"]=c;var r=e(0),i=e(21),o=e(1),a=2.00276,u=1.11072;function c(t,n){var e=Object(i["c"])(o["s"],n);return[a*t/(1/Object(o["h"])(n)+u/Object(o["h"])(e)),(n+o["D"]*Object(o["y"])(e))/a]}c.invert=function(t,n){var e,r,i=a*n,c=n<0?-o["u"]:o["u"],s=25;do{r=i-o["D"]*Object(o["y"])(c),c-=e=(Object(o["y"])(2*c)+2*c-o["s"]*Object(o["y"])(r))/(2*Object(o["h"])(2*c)+2+o["s"]*Object(o["h"])(r)*o["D"]*Object(o["h"])(c))}while(Object(o["a"])(e)>o["k"]&&--s>0);return r=i-o["D"]*Object(o["y"])(c),[t*(1/Object(o["h"])(r)+u/Object(o["h"])(c))/a,r]},n["b"]=function(){return Object(r["geoProjection"])(c).scale(160.857)}},function(t,n,e){"use strict";n["a"]=o;var r=e(1),i=e(31);function o(t){var n=Object(r["h"])(t);function e(t,e){return[t*n,Object(r["y"])(e)/n]}return e.invert=function(t,e){return[t/n,Object(r["e"])(e*n)]},e}n["b"]=function(){return Object(i["a"])(o).parallel(38.58).scale(195.044)}},function(t,n,e){"use strict";n["b"]=a;var r=e(0),i=e(1),o=e(134);function a(t,n){var e=Object(i["x"])(t),r=Object(i["x"])(n),o=Object(i["h"])(n),a=Object(i["h"])(t)*o,c=Object(i["y"])(t)*o,s=Object(i["y"])(r*n);t=Object(i["a"])(Object(i["g"])(c,s)),n=Object(i["e"])(a),Object(i["a"])(t-i["o"])>i["k"]&&(t%=i["o"]);var f=u(t>i["s"]/4?i["o"]-t:t,n);return t>i["s"]/4&&(s=f[0],f[0]=-f[1],f[1]=-s),f[0]*=e,f[1]*=-r,f}function u(t,n){if(n===i["o"])return[0,0];var e,r,o=Object(i["y"])(n),a=o*o,u=a*a,c=1+u,s=1+3*u,f=1-u,l=Object(i["e"])(1/Object(i["B"])(c)),h=f+a*c*l,p=(1-o)/h,d=Object(i["B"])(p),v=p*c,g=Object(i["B"])(v),b=d*f;if(0===t)return[0,-(b+a*g)];var y,m=Object(i["h"])(n),j=1/m,_=2*o*m,O=(-3*a+l*s)*_,w=(-h*m-(1-o)*O)/(h*h),x=.5*w/d,E=f*x-2*a*d*_,k=a*c*w+p*s*_,S=-j*_,M=-j*k,T=-2*j*E,C=4*t/i["s"];if(t>.222*i["s"]||n.175*i["s"]){if(e=(b+a*Object(i["B"])(v*(1+u)-b*b))/(1+u),t>i["s"]/4)return[e,e];var P=e,N=.5*e;e=.5*(N+P),r=50;do{var A=Object(i["B"])(v-e*e),R=e*(T+S*A)+M*Object(i["e"])(e/g)-C;if(!R)break;R<0?N=e:P=e,e=.5*(N+P)}while(Object(i["a"])(P-N)>i["k"]&&--r>0)}else{e=i["k"],r=25;do{var B=e*e,L=Object(i["B"])(v-B),I=T+S*L,q=e*I+M*Object(i["e"])(e/g)-C,z=I+(M-S*B)/L;e-=y=L?q/z:0}while(Object(i["a"])(y)>i["k"]&&--r>0)}return[e,-b-a*Object(i["B"])(v-e*e)]}function c(t,n){var e=0,r=1,o=.5,a=50;while(1){var u=o*o,c=Object(i["B"])(o),s=Object(i["e"])(1/Object(i["B"])(1+u)),f=1-u+o*(1+u)*s,l=(1-c)/f,h=Object(i["B"])(l),p=l*(1+u),d=h*(1-u),v=p-t*t,g=Object(i["B"])(v),b=n+d+o*g;if(Object(i["a"])(r-e)0?e=o:r=o,o=.5*(e+r)}if(!a)return null;var y=Object(i["e"])(c),m=Object(i["h"])(y),j=1/m,_=2*c*m,O=(-3*o+s*(1+3*u))*_,w=(-f*m-(1-c)*O)/(f*f),x=.5*w/h,E=(1-u)*x-2*o*h*_,k=-2*j*E,S=-j*_,M=-j*(o*(1+u)*w+l*(1+3*u)*_);return[i["s"]/4*(t*(k+S*g)+M*Object(i["e"])(t/Object(i["B"])(p))),y]}a.invert=function(t,n){Object(i["a"])(t)>1&&(t=2*Object(i["x"])(t)-t),Object(i["a"])(n)>1&&(n=2*Object(i["x"])(n)-n);var e=Object(i["x"])(t),r=Object(i["x"])(n),o=-e*t,a=-r*n,u=a/o<1,s=c(u?a:o,u?o:a),f=s[0],l=s[1],h=Object(i["h"])(l);return u&&(f=-i["o"]-f),[e*(Object(i["g"])(Object(i["y"])(f)*h,-Object(i["y"])(l))+i["s"]),r*Object(i["e"])(Object(i["h"])(f)*h)]},n["a"]=function(){return Object(r["geoProjection"])(Object(o["a"])(a)).scale(239.75)}},function(t,n,e){"use strict";var r=e(1);n["a"]=function(t){var n=t(r["o"],0)[0]-t(-r["o"],0)[0];function e(e,i){var o=e>0?-.5:.5,a=t(e+o*r["s"],i);return a[0]-=o*n,a}return t.invert&&(e.invert=function(e,i){var o=e>0?-.5:.5,a=t.invert(e+o*n,i),u=a[0]-o*r["s"];return u<-r["s"]?u+=2*r["s"]:u>r["s"]&&(u-=2*r["s"]),a[0]=u,a}),e}},function(t,n,e){"use strict";n["b"]=u;var r=e(0),i=e(267),o=e(1),a=e(134);function u(t,n){var e=(o["D"]-1)/(o["D"]+1),r=Object(o["B"])(1-e*e),a=Object(i["a"])(o["o"],r*r),u=-1,s=Object(o["p"])(Object(o["F"])(o["s"]/4+Object(o["a"])(n)/2)),f=Object(o["m"])(u*s)/Object(o["B"])(e),l=c(f*Object(o["h"])(u*t),f*Object(o["y"])(u*t)),h=Object(i["b"])(l[0],l[1],r*r);return[-h[1],(n>=0?1:-1)*(.5*a-h[0])]}function c(t,n){var e=t*t,r=n+1,i=1-e-n*n;return[.5*((t>=0?o["o"]:-o["o"])-Object(o["g"])(i,2*t)),-.25*Object(o["p"])(i*i+4*e)+.5*Object(o["p"])(r*r+e)]}function s(t,n){var e=n[0]*n[0]+n[1]*n[1];return[(t[0]*n[0]+t[1]*n[1])/e,(t[1]*n[0]-t[0]*n[1])/e]}u.invert=function(t,n){var e=(o["D"]-1)/(o["D"]+1),r=Object(o["B"])(1-e*e),a=Object(i["a"])(o["o"],r*r),u=-1,c=Object(i["c"])(.5*a-n,-t,r*r),f=s(c[0],c[1]),l=Object(o["g"])(f[1],f[0])/u;return[l,2*Object(o["f"])(Object(o["m"])(.5/u*Object(o["p"])(e*f[0]*f[0]+e*f[1]*f[1])))-o["o"]]},n["a"]=function(){return Object(r["geoProjection"])(Object(a["a"])(u)).scale(151.496)}},function(t,n,e){"use strict";n["b"]=c;var r=e(0),i=e(1),o=e(21),a=e(38),u=e(73);function c(t,n){return Object(i["a"])(n)>u["b"]?(t=Object(o["d"])(t,n),t[1]-=n>0?u["d"]:-u["d"],t):Object(a["b"])(t,n)}c.invert=function(t,n){return Object(i["a"])(n)>u["b"]?o["d"].invert(t,n+(n>0?u["d"]:-u["d"])):a["b"].invert(t,n)},n["a"]=function(){return Object(r["geoProjection"])(c).scale(152.63)}},function(t,n,e){"use strict";var r=e(135),i=e(75);n["a"]=function(){return Object(i["a"])(r["b"]).scale(111.48)}},function(t,n,e){"use strict";var r=e(0),i=e(1);n["a"]=function(t,n,e){var o=Object(r["geoInterpolate"])(n,e),a=o(.5),u=Object(r["geoRotation"])([-a[0],-a[1]])(n),c=o.distance/2,s=-Object(i["e"])(Object(i["y"])(u[1]*i["v"])/Object(i["y"])(c)),f=[-a[0],-a[1],-(u[0]>0?i["s"]-s:s)*i["j"]],l=Object(r["geoProjection"])(t(c)).rotate(f),h=Object(r["geoRotation"])(f),p=l.center;return delete l.rotate,l.center=function(t){return arguments.length?p(h(t)):h.invert(p())},l.clipAngle(90)}},function(t,n,e){var r; /*! * EventEmitter v5.1.0 - git.io/ee * Unlicense - http://unlicense.org/ * Oliver Caldwell - http://oli.me.uk/ * @preserve */(function(n){"use strict";function i(){}var o=i.prototype,a=n.EventEmitter;function u(t,n){var e=t.length;while(e--)if(t[e].listener===n)return e;return-1}function c(t){return function(){return this[t].apply(this,arguments)}}function s(t){return"function"===typeof t||t instanceof RegExp||!(!t||"object"!==typeof t)&&s(t.listener)}o.getListeners=function(t){var n,e,r=this._getEvents();if(t instanceof RegExp)for(e in n={},r)r.hasOwnProperty(e)&&t.test(e)&&(n[e]=r[e]);else n=r[t]||(r[t]=[]);return n},o.flattenListeners=function(t){var n,e=[];for(n=0;n=0?1:-1,i=r*e,c=Object(s["g"])(n),f=Object(s["t"])(n),l=u*f,p=a*c+l*Object(s["g"])(i),d=l*r*Object(s["t"])(i);h.add(Object(s["e"])(d,p)),o=t,a=c,u=f}n["c"]=function(t){return p.reset(),Object(l["a"])(t,d),2*p}},function(t,n,e){"use strict";n["a"]=u;var r=e(43),i=e(326),o=e(5),a=e(78);function u(t,n,e,i,a,u){if(e){var s=Object(o["g"])(n),f=Object(o["t"])(n),l=i*e;null==a?(a=n+i*o["w"],u=n-l/2):(a=c(s,a),u=c(s,u),(i>0?au)&&(a+=i*o["w"]));for(var h,p=a;i>0?p>u:p0)do{a.point(0===u||3===u?t:e,u>1?f:n)}while((u=(u+o+4)%4)!==c);else a.point(i[0],i[1])}function p(i,o){return Object(r["a"])(i[0]-t)0?0:3:Object(r["a"])(i[0]-e)0?2:1:Object(r["a"])(i[1]-n)0?1:0:o>0?3:2}function d(t,n){return v(t.x,n.x)}function v(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(r){var p,v,g,b,y,m,j,_,O,w,x,E=r,k=Object(i["a"])(),S={point:M,lineStart:N,lineEnd:A,polygonStart:C,polygonEnd:P};function M(t,n){l(t,n)&&E.point(t,n)}function T(){for(var n=0,e=0,r=v.length;ef&&(l-i)*(f-o)>(h-o)*(t-i)&&++n:h<=f&&(l-i)*(f-o)<(h-o)*(t-i)&&--n;return n}function C(){E=k,p=[],v=[],x=!0}function P(){var t=T(),n=x&&t,e=(p=Object(u["merge"])(p)).length;(n||e)&&(r.polygonStart(),n&&(r.lineStart(),h(null,null,1,r),r.lineEnd()),e&&Object(a["a"])(p,d,t,h,r),r.polygonEnd()),E=r,p=v=g=null}function N(){S.point=R,v&&v.push(g=[]),w=!0,O=!1,j=_=NaN}function A(){p&&(R(b,y),m&&O&&k.rejoin(),p.push(k.result())),S.point=M,O&&E.lineEnd()}function R(r,i){var a=l(r,i);if(v&&g.push([r,i]),w)b=r,y=i,m=a,w=!1,a&&(E.lineStart(),E.point(r,i));else if(a&&O)E.point(r,i);else{var u=[j=Math.max(s,Math.min(c,j)),_=Math.max(s,Math.min(c,_))],h=[r=Math.max(s,Math.min(c,r)),i=Math.max(s,Math.min(c,i))];Object(o["a"])(u,h,t,n,e,f)?(O||(E.lineStart(),E.point(u[0],u[1])),E.point(h[0],h[1]),a||E.lineEnd(),x=!1):a&&(E.lineStart(),E.point(r,i),x=!1)}j=r,_=i,O=a}return S}}n["b"]=function(){var t,n,e,r=0,i=0,o=960,a=500;return e={stream:function(e){return t&&n===e?t:t=f(r,i,o,a)(n=e)},extent:function(u){return arguments.length?(r=+u[0][0],i=+u[0][1],o=+u[1][0],a=+u[1][1],t=n=null,e):[[r,i],[o,a]]}}}},function(t,n,e){"use strict";var r=e(25);n["a"]=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r["a"],rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";var r=e(148);function i(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){var n,e,r=0,i=t[0];while(++r=0;--c)u.point((p=h[c])[0],p[1]);else a(v.x,v.p.x,-1,u);v=v.p}v=v.o,h=v.z,g=!g}while(!v.v);u.lineEnd()}}}},function(t,n,e){"use strict";var r=e(5);n["a"]=function(t,n){return Object(r["a"])(t[0]-n[0])a&&(a=t),nu&&(u=n)}n["a"]=c},function(t,n,e){"use strict";var r=e(79);n["a"]=function(){return Object(r["b"])().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";var r=e(146),i=e(147),o=e(5),a=e(337),u=e(14);function c(t){return t.length>1}function s(t,n){return((t=t.x)[0]<0?t[1]-o["l"]-o["i"]:o["l"]-t[1])-((n=n.x)[0]<0?n[1]-o["l"]-o["i"]:o["l"]-n[1])}n["a"]=function(t,n,e,o){return function(f,l){var h,p,d,v=n(l),g=f.invert(o[0],o[1]),b=Object(r["a"])(),y=n(b),m=!1,j={point:_,lineStart:w,lineEnd:x,polygonStart:function(){j.point=E,j.lineStart=k,j.lineEnd=S,p=[],h=[]},polygonEnd:function(){j.point=_,j.lineStart=w,j.lineEnd=x,p=Object(u["merge"])(p);var t=Object(a["a"])(h,g);p.length?(m||(l.polygonStart(),m=!0),Object(i["a"])(p,s,t,e,l)):t&&(m||(l.polygonStart(),m=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),m&&(l.polygonEnd(),m=!1),p=h=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};function _(n,e){var r=f(n,e);t(n=r[0],e=r[1])&&l.point(n,e)}function O(t,n){var e=f(t,n);v.point(e[0],e[1])}function w(){j.point=O,v.lineStart()}function x(){j.point=_,v.lineEnd()}function E(t,n){d.push([t,n]);var e=f(t,n);y.point(e[0],e[1])}function k(){y.lineStart(),d=[]}function S(){E(d[0][0],d[0][1]),y.lineEnd();var t,n,e,r,i=y.clean(),o=b.result(),a=o.length;if(d.pop(),h.push(d),d=null,a)if(1&i){if(e=o[0],(n=e.length-1)>0){for(m||(l.polygonStart(),m=!0),l.lineStart(),t=0;t1&&2&i&&o.push(o.pop().concat(o.shift())),p.push(o.filter(c))}return j}}},function(t,n,e){"use strict";n["b"]=a,n["a"]=u;var r=e(26),i=e(151);function o(t,n,e){var o=n[1][0]-n[0][0],a=n[1][1]-n[0][1],u=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=u&&t.clipExtent(null),Object(r["a"])(e,t.stream(i["a"]));var c=i["a"].result(),s=Math.min(o/(c[1][0]-c[0][0]),a/(c[1][1]-c[0][1])),f=+n[0][0]+(o-s*(c[1][0]+c[0][0]))/2,l=+n[0][1]+(a-s*(c[1][1]+c[0][1]))/2;return null!=u&&t.clipExtent(u),t.scale(150*s).translate([f,l])}function a(t){return function(n,e){return o(t,[[0,0],n],e)}}function u(t){return function(n,e){return o(t,n,e)}}},function(t,n,e){"use strict";n["b"]=i;var r=e(18);function i(t,n){return[t,n]}i.invert=i,n["a"]=function(){return Object(r["a"])(i).scale(152.63)}},function(t,n,e){var r=e(6),i=function t(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(r(n))for(var i=0;i=t){var d=(i-t)/(i-r[2]),v=[e[0]*(1-d)+r[0]*d,e[1]*(1-d)+r[1]*d];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("Q"===c[0]){r[0]=e[0],r[1]=e[1],r[2]=i;for(s=100,f=0;f<=s;f++){l=f/s,h=y(c,l),p=m(c,l);if(i+=u(e[0],e[1],h,p),e[0]=h,e[1]=p,"number"===typeof t&&i>=t){d=(i-t)/(i-r[2]),v=[e[0]*(1-d)+r[0]*d,e[1]*(1-d)+r[1]*d];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("L"===c[0]){if(r[0]=e[0],r[1]=e[1],r[2]=i,i+=u(e[0],e[1],c[1],c[2]),e[0]=c[1],e[1]=c[2],"number"===typeof t&&i>=t){d=(i-t)/(i-r[2]),v=[e[0]*(1-d)+r[0]*d,e[1]*(1-d)+r[1]*d];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}return{length:i/o,pos:e};function g(t,n){return Math.pow(1-n,3)*e[0]+3*Math.pow(1-n,2)*n*t[1]+3*(1-n)*Math.pow(n,2)*t[3]+Math.pow(n,3)*t[5]}function b(t,n){return Math.pow(1-n,3)*e[1]+3*Math.pow(1-n,2)*n*t[2]+3*(1-n)*Math.pow(n,2)*t[4]+Math.pow(n,3)*t[6]}function y(t,n){return Math.pow(1-n,2)*e[0]+2*(1-n)*n*t[1]+Math.pow(n,2)*t[3]}function m(t,n){return Math.pow(1-n,2)*e[1]+2*(1-n)*n*t[2]+Math.pow(n,2)*t[4]}}},function(t,n,e){"use strict";n["b"]=c;var r=e(161);function i(t,n,e){var r=t.x,i=t.y,o=n.r+e.r,a=t.r+e.r,u=n.x-r,c=n.y-i,s=u*u+c*c;if(s){var f=.5+((a*=a)-(o*=o))/(2*s),l=Math.sqrt(Math.max(0,2*o*(a+s)-(a-=s)*a-o*o))/(2*s);e.x=r+f*u+l*c,e.y=i+f*c-l*u}else e.x=r+a,e.y=i}function o(t,n){var e=n.x-t.x,r=n.y-t.y,i=t.r+n.r;return i*i-1e-6>e*e+r*r}function a(t){var n=t._,e=t.next._,r=n.r+e.r,i=(n.x*e.r+e.x*n.r)/r,o=(n.y*e.r+e.y*n.r)/r;return i*i+o*o}function u(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(s=t.length))return 0;var n,e,c,s,f,l,h,p,d,v,g;if(n=t[0],n.x=0,n.y=0,!(s>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(s>2))return n.r+e.r;i(e,n,c=t[2]),n=new u(n),e=new u(e),c=new u(c),n.next=c.previous=e,e.next=n.previous=c,c.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+i*i}function u(t,n){for(var e=0;ea&&(a=t[0]),t[1]u&&(u=t[1])}function s(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(s);break;case"Point":c(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(c);break}}for(n in t.arcs.forEach((function(t){var n,r=-1,c=t.length;while(++ra&&(a=n[0]),n[1]u&&(u=n[1])})),t.objects)s(t.objects[n]);return[i,o,a,u]}},function(t,n,e){"use strict";n["a"]=function(t){return t}},function(t,n,e){"use strict";n["a"]=function(t,n){var e={},r={},i={},o=[],a=-1;function u(n){var e,r=t.arcs[n<0?~n:n],i=r[0];return t.transform?(e=[0,0],r.forEach((function(t){e[0]+=t[0],e[1]+=t[1]}))):e=r[r.length-1],n<0?[e,i]:[i,e]}function c(t,n){for(var r in t){var i=t[r];delete n[i.start],delete i.start,delete i.end,i.forEach((function(t){e[t<0?~t:t]=1})),o.push(i)}}return n.forEach((function(e,r){var i,o=t.arcs[e<0?~e:e];o.length<3&&!o[1][0]&&!o[1][1]&&(i=n[++a],n[a]=e,n[r]=i)})),n.forEach((function(t){var n,e,o=u(t),a=o[0],c=o[1];if(n=i[a])if(delete i[n.end],n.push(t),n.end=c,e=r[c]){delete r[e.start];var s=e===n?n:n.concat(e);r[s.start=n.start]=i[s.end=e.end]=s}else r[n.start]=i[n.end]=n;else if(n=r[c])if(delete r[n.start],n.unshift(t),n.start=a,e=i[a]){delete i[e.end];var f=e===n?n:e.concat(n);r[f.start=e.start]=i[f.end=n.end]=f}else r[n.start]=i[n.end]=n;else n=[t],r[n.start=a]=i[n.end=c]=n})),c(i,r),c(r,i),n.forEach((function(t){e[t<0?~t:t]||o.push([t])})),o}},function(t,n,e){"use strict";var r=e(165);n["a"]=function(t){if(null==t)return r["a"];var n,e,i=t.scale[0],o=t.scale[1],a=t.translate[0],u=t.translate[1];return function(t,r){r||(n=e=0);var c=2,s=t.length,f=new Array(s),l=Math.round((t[0]-a)/i),h=Math.round((t[1]-u)/o);f[0]=l-n,n=l,f[1]=h-e,e=h;while(c-1};t.exports=o},function(t,n,e){(function(t,r){var i; /** * @license * Lodash * Copyright JS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var o,a="4.17.4",u=200,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",f="__lodash_hash_undefined__",l=500,h="__lodash_placeholder__",p=1,d=2,v=4,g=1,b=2,y=1,m=2,j=4,_=8,O=16,w=32,x=64,E=128,k=256,S=512,M=30,T="...",C=800,P=16,N=1,A=2,R=3,B=1/0,L=9007199254740991,I=17976931348623157e292,q=NaN,z=4294967295,F=z-1,D=z>>>1,G=[["ary",E],["bind",y],["bindKey",m],["curry",_],["curryRight",O],["flip",S],["partial",w],["partialRight",x],["rearg",k]],$="[object Arguments]",U="[object Array]",H="[object AsyncFunction]",V="[object Boolean]",W="[object Date]",Y="[object DOMException]",K="[object Error]",J="[object Function]",X="[object GeneratorFunction]",Z="[object Map]",Q="[object Number]",tt="[object Null]",nt="[object Object]",et="[object Promise]",rt="[object Proxy]",it="[object RegExp]",ot="[object Set]",at="[object String]",ut="[object Symbol]",ct="[object Undefined]",st="[object WeakMap]",ft="[object WeakSet]",lt="[object ArrayBuffer]",ht="[object DataView]",pt="[object Float32Array]",dt="[object Float64Array]",vt="[object Int8Array]",gt="[object Int16Array]",bt="[object Int32Array]",yt="[object Uint8Array]",mt="[object Uint8ClampedArray]",jt="[object Uint16Array]",_t="[object Uint32Array]",Ot=/\b__p \+= '';/g,wt=/\b(__p \+=) '' \+/g,xt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Et=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,St=RegExp(Et.source),Mt=RegExp(kt.source),Tt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,Pt=/<%=([\s\S]+?)%>/g,Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,At=/^\w*$/,Rt=/^\./,Bt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Lt=/[\\^$.*+?()[\]{}|]/g,It=RegExp(Lt.source),qt=/^\s+|\s+$/g,zt=/^\s+/,Ft=/\s+$/,Dt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Gt=/\{\n\/\* \[wrapped with (.+)\] \*/,$t=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ht=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,Yt=/^[-+]0x[0-9a-f]+$/i,Kt=/^0b[01]+$/i,Jt=/^\[object .+?Constructor\]$/,Xt=/^0o[0-7]+$/i,Zt=/^(?:0|[1-9]\d*)$/,Qt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,tn=/($^)/,nn=/['\n\r\u2028\u2029\\]/g,en="\\ud800-\\udfff",rn="\\u0300-\\u036f",on="\\ufe20-\\ufe2f",an="\\u20d0-\\u20ff",un=rn+on+an,cn="\\u2700-\\u27bf",sn="a-z\\xdf-\\xf6\\xf8-\\xff",fn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",hn="\\u2000-\\u206f",pn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dn="A-Z\\xc0-\\xd6\\xd8-\\xde",vn="\\ufe0e\\ufe0f",gn=fn+ln+hn+pn,bn="['’]",yn="["+en+"]",mn="["+gn+"]",jn="["+un+"]",_n="\\d+",On="["+cn+"]",wn="["+sn+"]",xn="[^"+en+gn+_n+cn+sn+dn+"]",En="\\ud83c[\\udffb-\\udfff]",kn="(?:"+jn+"|"+En+")",Sn="[^"+en+"]",Mn="(?:\\ud83c[\\udde6-\\uddff]){2}",Tn="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+dn+"]",Pn="\\u200d",Nn="(?:"+wn+"|"+xn+")",An="(?:"+Cn+"|"+xn+")",Rn="(?:"+bn+"(?:d|ll|m|re|s|t|ve))?",Bn="(?:"+bn+"(?:D|LL|M|RE|S|T|VE))?",Ln=kn+"?",In="["+vn+"]?",qn="(?:"+Pn+"(?:"+[Sn,Mn,Tn].join("|")+")"+In+Ln+")*",zn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Fn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Dn=In+Ln+qn,Gn="(?:"+[On,Mn,Tn].join("|")+")"+Dn,$n="(?:"+[Sn+jn+"?",jn,Mn,Tn,yn].join("|")+")",Un=RegExp(bn,"g"),Hn=RegExp(jn,"g"),Vn=RegExp(En+"(?="+En+")|"+$n+Dn,"g"),Wn=RegExp([Cn+"?"+wn+"+"+Rn+"(?="+[mn,Cn,"$"].join("|")+")",An+"+"+Bn+"(?="+[mn,Cn+Nn,"$"].join("|")+")",Cn+"?"+Nn+"+"+Rn,Cn+"+"+Bn,Fn,zn,_n,Gn].join("|"),"g"),Yn=RegExp("["+Pn+en+un+vn+"]"),Kn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Jn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Xn=-1,Zn={};Zn[pt]=Zn[dt]=Zn[vt]=Zn[gt]=Zn[bt]=Zn[yt]=Zn[mt]=Zn[jt]=Zn[_t]=!0,Zn[$]=Zn[U]=Zn[lt]=Zn[V]=Zn[ht]=Zn[W]=Zn[K]=Zn[J]=Zn[Z]=Zn[Q]=Zn[nt]=Zn[it]=Zn[ot]=Zn[at]=Zn[st]=!1;var Qn={};Qn[$]=Qn[U]=Qn[lt]=Qn[ht]=Qn[V]=Qn[W]=Qn[pt]=Qn[dt]=Qn[vt]=Qn[gt]=Qn[bt]=Qn[Z]=Qn[Q]=Qn[nt]=Qn[it]=Qn[ot]=Qn[at]=Qn[ut]=Qn[yt]=Qn[mt]=Qn[jt]=Qn[_t]=!0,Qn[K]=Qn[J]=Qn[st]=!1;var te={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},ne={"&":"&","<":"<",">":">",'"':""","'":"'"},ee={"&":"&","<":"<",">":">",""":'"',"'":"'"},re={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ie=parseFloat,oe=parseInt,ae="object"==typeof t&&t&&t.Object===Object&&t,ue="object"==typeof self&&self&&self.Object===Object&&self,ce=ae||ue||Function("return this")(),se="object"==typeof n&&n&&!n.nodeType&&n,fe=se&&"object"==typeof r&&r&&!r.nodeType&&r,le=fe&&fe.exports===se,he=le&&ae.process,pe=function(){try{return he&&he.binding&&he.binding("util")}catch(t){}}(),de=pe&&pe.isArrayBuffer,ve=pe&&pe.isDate,ge=pe&&pe.isMap,be=pe&&pe.isRegExp,ye=pe&&pe.isSet,me=pe&&pe.isTypedArray;function je(t,n){return t.set(n[0],n[1]),t}function _e(t,n){return t.add(n),t}function Oe(t,n,e){switch(e.length){case 0:return t.call(n);case 1:return t.call(n,e[0]);case 2:return t.call(n,e[0],e[1]);case 3:return t.call(n,e[0],e[1],e[2])}return t.apply(n,e)}function we(t,n,e,r){var i=-1,o=null==t?0:t.length;while(++i-1}function Te(t,n,e){var r=-1,i=null==t?0:t.length;while(++r-1);return e}function nr(t,n){var e=t.length;while(e--&&Fe(n,t[e],0)>-1);return e}function er(t,n){var e=t.length,r=0;while(e--)t[e]===n&&++r;return r}var rr=He(te),ir=He(ne);function or(t){return"\\"+re[t]}function ar(t,n){return null==t?o:t[n]}function ur(t){return Yn.test(t)}function cr(t){return Kn.test(t)}function sr(t){var n,e=[];while(!(n=t.next()).done)e.push(n.value);return e}function fr(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function lr(t,n){return function(e){return t(n(e))}}function hr(t,n){var e=-1,r=t.length,i=0,o=[];while(++e-1}function $r(t,n){var e=this.__data__,r=li(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this}function Ur(t){var n=-1,e=null==t?0:t.length;this.clear();while(++n=n?t:n)),t}function yi(t,n,e,r,i,a){var u,c=n&p,s=n&d,f=n&v;if(e&&(u=i?e(t,r,i,a):e(t)),u!==o)return u;if(!Sf(t))return t;var l=lf(t);if(l){if(u=iu(t),!c)return ua(t,u)}else{var h=tu(t),g=h==J||h==X;if(gf(t))return Ko(t,c);if(h==nt||h==$||g&&!i){if(u=s||g?{}:ou(t),!c)return s?fa(t,di(u,t)):sa(t,pi(u,t))}else{if(!Qn[h])return i?t:{};u=au(t,h,yi,c)}}a||(a=new Qr);var b=a.get(t);if(b)return b;a.set(t,u);var y=f?s?$a:Ga:s?kl:El,m=l?o:y(t);return xe(m||t,(function(r,i){m&&(i=r,r=t[i]),fi(u,i,yi(r,n,e,i,t,a))})),u}function mi(t){var n=El(t);return function(e){return ji(e,t,n)}}function ji(t,n,e){var r=e.length;if(null==t)return!r;t=rn(t);while(r--){var i=e[r],a=n[i],u=t[i];if(u===o&&!(i in t)||!a(u))return!1}return!0}function _i(t,n,e){if("function"!=typeof t)throw new un(s);return Su((function(){t.apply(o,e)}),n)}function Oi(t,n,e,r){var i=-1,o=Me,a=!0,c=t.length,s=[],f=n.length;if(!c)return s;e&&(n=Ce(n,Xe(e))),r?(o=Te,a=!1):n.length>=u&&(o=Qe,a=!1,n=new Jr(n));t:while(++ii?0:i+e),r=r===o||r>i?i:Xf(r),r<0&&(r+=i),r=e>r?0:Zf(r);while(e0&&e(u)?n>1?Ti(u,n-1,e,r,i):Pe(i,u):r||(i[i.length]=u)}return i}var Ci=da(),Pi=da(!0);function Ni(t,n){return t&&Ci(t,n,El)}function Ai(t,n){return t&&Pi(t,n,El)}function Ri(t,n){return Se(n,(function(n){return xf(t[n])}))}function Bi(t,n){n=Ho(n,t);var e=0,r=n.length;while(null!=t&&en}function zi(t,n){return null!=t&&pn.call(t,n)}function Fi(t,n){return null!=t&&n in rn(t)}function Di(t,n,e){return t>=$n(n,e)&&t=120&&h.length>=120)?new Jr(c&&h):o}h=t[0];var p=-1,d=s[0];t:while(++p-1)u!==t&&Sn.call(u,c,1),Sn.call(t,c,1)}return t}function yo(t,n){var e=t?n.length:0,r=e-1;while(e--){var i=n[e];if(e==r||i!==o){var o=i;su(i)?Sn.call(t,i,1):Io(t,i)}}return t}function mo(t,n){return t+Ln(Yn()*(n-t+1))}function jo(t,n,r,i){var o=-1,a=Gn(Bn((n-t)/(r||1)),0),u=e(a);while(a--)u[i?a:++o]=t,t+=r;return u}function _o(t,n){var e="";if(!t||n<1||n>L)return e;do{n%2&&(e+=t),n=Ln(n/2),n&&(t+=t)}while(n);return e}function Oo(t,n){return Mu(wu(t,n,Ah),t+"")}function wo(t){return ai(Ul(t))}function xo(t,n){var e=Ul(t);return Pu(e,bi(n,0,e.length))}function Eo(t,n,e,r){if(!Sf(t))return t;n=Ho(n,t);var i=-1,a=n.length,u=a-1,c=t;while(null!=c&&++io?0:o+n),r=r>o?o:r,r<0&&(r+=o),o=n>r?0:r-n>>>0,n>>>=0;var a=e(o);while(++i>>1,a=t[o];null!==a&&!Gf(a)&&(e?a<=n:a=u){var f=n?null:Na(t);if(f)return pr(f);a=!1,i=Qe,s=new Jr}else s=n?[]:c;t:while(++r=r?t:To(t,n,e)}var Yo=Nn||function(t){return ce.clearTimeout(t)};function Ko(t,n){if(n)return t.slice();var e=t.length,r=wn?wn(e):new t.constructor(e);return t.copy(r),r}function Jo(t){var n=new t.constructor(t.byteLength);return new On(n).set(new On(t)),n}function Xo(t,n){var e=n?Jo(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}function Zo(t,n,e){var r=n?e(fr(t),p):fr(t);return Ne(r,je,new t.constructor)}function Qo(t){var n=new t.constructor(t.source,Wt.exec(t));return n.lastIndex=t.lastIndex,n}function ta(t,n,e){var r=n?e(pr(t),p):pr(t);return Ne(r,_e,new t.constructor)}function na(t){return jr?rn(jr.call(t)):{}}function ea(t,n){var e=n?Jo(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function ra(t,n){if(t!==n){var e=t!==o,r=null===t,i=t===t,a=Gf(t),u=n!==o,c=null===n,s=n===n,f=Gf(n);if(!c&&!f&&!a&&t>n||a&&u&&s&&!c&&!f||r&&u&&s||!e&&s||!i)return 1;if(!r&&!a&&!f&&t=u)return c;var s=e[r];return c*("desc"==s?-1:1)}}return t.index-n.index}function oa(t,n,r,i){var o=-1,a=t.length,u=r.length,c=-1,s=n.length,f=Gn(a-u,0),l=e(s+f),h=!i;while(++c1?e[i-1]:o,u=i>2?e[2]:o;a=t.length>3&&"function"==typeof a?(i--,a):o,u&&fu(e[0],e[1],u)&&(a=i<3?o:a,i=1),n=rn(n);while(++r-1?i[a?n[u]:u]:o}}function _a(t){return Da((function(n){var e=n.length,r=e,i=Sr.prototype.thru;t&&n.reverse();while(r--){var a=n[r];if("function"!=typeof a)throw new un(s);if(i&&!u&&"wrapper"==Ha(a))var u=new Sr([],!0)}r=u?r:e;while(++r1&&y.reverse(),h&&fc))return!1;var f=a.get(t);if(f&&a.get(n))return f==n;var l=-1,h=!0,p=e&b?new Jr:o;a.set(t,n),a.set(n,t);while(++l1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(Dt,"{\n/* [wrapped with "+n+"] */\n")}function cu(t){return lf(t)||ff(t)||!!(Mn&&t&&t[Mn])}function su(t,n){return n=null==n?L:n,!!n&&("number"==typeof t||Zt.test(t))&&t>-1&&t%1==0&&t0){if(++n>=C)return arguments[0]}else n=0;return t.apply(o,arguments)}}function Pu(t,n){var e=-1,r=t.length,i=r-1;n=n===o?r:n;while(++e1?t[n-1]:o;return e="function"==typeof e?(t.pop(),e):o,qc(t,e)}));function Wc(t){var n=wr(t);return n.__chain__=!0,n}function Yc(t,n){return n(t),t}function Kc(t,n){return n(t)}var Jc=Da((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(n){return gi(n,t)};return!(n>1||this.__actions__.length)&&r instanceof Mr&&su(e)?(r=r.slice(e,+e+(n?1:0)),r.__actions__.push({func:Kc,args:[i],thisArg:o}),new Sr(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(o),t}))):this.thru(i)}));function Xc(){return Wc(this)}function Zc(){return new Sr(this.value(),this.__chain__)}function Qc(){this.__values__===o&&(this.__values__=Kf(this.value()));var t=this.__index__>=this.__values__.length,n=t?o:this.__values__[this.__index__++];return{done:t,value:n}}function ts(){return this}function ns(t){var n,e=this;while(e instanceof kr){var r=Lu(e);r.__index__=0,r.__values__=o,n?i.__wrapped__=r:n=r;var i=r;e=e.__wrapped__}return i.__wrapped__=t,n}function es(){var t=this.__wrapped__;if(t instanceof Mr){var n=t;return this.__actions__.length&&(n=new Mr(this)),n=n.reverse(),n.__actions__.push({func:Kc,args:[gc],thisArg:o}),new Sr(n,this.__chain__)}return this.thru(gc)}function rs(){return Fo(this.__wrapped__,this.__actions__)}var is=la((function(t,n,e){pn.call(t,e)?++t[e]:vi(t,e,1)}));function os(t,n,e){var r=lf(t)?ke:Ei;return e&&fu(t,n,e)&&(n=o),r(t,Wa(n,3))}function as(t,n){var e=lf(t)?Se:Mi;return e(t,Wa(n,3))}var us=ja(Yu),cs=ja(Ku);function ss(t,n){return Ti(ys(t,n),1)}function fs(t,n){return Ti(ys(t,n),B)}function ls(t,n,e){return e=e===o?1:Xf(e),Ti(ys(t,n),e)}function hs(t,n){var e=lf(t)?xe:wi;return e(t,Wa(n,3))}function ps(t,n){var e=lf(t)?Ee:xi;return e(t,Wa(n,3))}var ds=la((function(t,n,e){pn.call(t,e)?t[e].push(n):vi(t,e,[n])}));function vs(t,n,e,r){t=pf(t)?t:Ul(t),e=e&&!r?Xf(e):0;var i=t.length;return e<0&&(e=Gn(i+e,0)),Df(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&Fe(t,n,e)>-1}var gs=Oo((function(t,n,r){var i=-1,o="function"==typeof n,a=pf(t)?e(t.length):[];return wi(t,(function(t){a[++i]=o?Oe(n,t,r):Ui(t,n,r)})),a})),bs=la((function(t,n,e){vi(t,e,n)}));function ys(t,n){var e=lf(t)?Ce:ao;return e(t,Wa(n,3))}function ms(t,n,e,r){return null==t?[]:(lf(n)||(n=null==n?[]:[n]),e=r?o:e,lf(e)||(e=null==e?[]:[e]),ho(t,n,e))}var js=la((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]}));function _s(t,n,e){var r=lf(t)?Ne:Ve,i=arguments.length<3;return r(t,Wa(n,4),e,i,wi)}function Os(t,n,e){var r=lf(t)?Ae:Ve,i=arguments.length<3;return r(t,Wa(n,4),e,i,xi)}function ws(t,n){var e=lf(t)?Se:Mi;return e(t,$s(Wa(n,3)))}function xs(t){var n=lf(t)?ai:wo;return n(t)}function Es(t,n,e){n=(e?fu(t,n,e):n===o)?1:Xf(n);var r=lf(t)?ui:xo;return r(t,n)}function ks(t){var n=lf(t)?ci:Mo;return n(t)}function Ss(t){if(null==t)return 0;if(pf(t))return Df(t)?br(t):t.length;var n=tu(t);return n==Z||n==ot?t.size:ro(t).length}function Ms(t,n,e){var r=lf(t)?Re:Co;return e&&fu(t,n,e)&&(n=o),r(t,Wa(n,3))}var Ts=Oo((function(t,n){if(null==t)return[];var e=n.length;return e>1&&fu(t,n[0],n[1])?n=[]:e>2&&fu(n[0],n[1],n[2])&&(n=[n[0]]),ho(t,Ti(n,1),[])})),Cs=An||function(){return ce.Date.now()};function Ps(t,n){if("function"!=typeof n)throw new un(s);return t=Xf(t),function(){if(--t<1)return n.apply(this,arguments)}}function Ns(t,n,e){return n=e?o:n,n=t&&null==n?t.length:n,Ra(t,E,o,o,o,o,n)}function As(t,n){var e;if("function"!=typeof n)throw new un(s);return t=Xf(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=o),e}}var Rs=Oo((function(t,n,e){var r=y;if(e.length){var i=hr(e,Va(Rs));r|=w}return Ra(t,r,n,e,i)})),Bs=Oo((function(t,n,e){var r=y|m;if(e.length){var i=hr(e,Va(Bs));r|=w}return Ra(n,r,t,e,i)}));function Ls(t,n,e){n=e?o:n;var r=Ra(t,_,o,o,o,o,o,n);return r.placeholder=Ls.placeholder,r}function Is(t,n,e){n=e?o:n;var r=Ra(t,O,o,o,o,o,o,n);return r.placeholder=Is.placeholder,r}function qs(t,n,e){var r,i,a,u,c,f,l=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new un(s);function v(n){var e=r,a=i;return r=i=o,l=n,u=t.apply(a,e),u}function g(t){return l=t,c=Su(m,n),h?v(t):u}function b(t){var e=t-f,r=t-l,i=n-e;return p?$n(i,a-r):i}function y(t){var e=t-f,r=t-l;return f===o||e>=n||e<0||p&&r>=a}function m(){var t=Cs();if(y(t))return j(t);c=Su(m,b(t))}function j(t){return c=o,d&&r?v(t):(r=i=o,u)}function _(){c!==o&&Yo(c),l=0,r=f=i=c=o}function O(){return c===o?u:j(Cs())}function w(){var t=Cs(),e=y(t);if(r=arguments,i=this,f=t,e){if(c===o)return g(f);if(p)return c=Su(m,n),v(f)}return c===o&&(c=Su(m,n)),u}return n=Qf(n)||0,Sf(e)&&(h=!!e.leading,p="maxWait"in e,a=p?Gn(Qf(e.maxWait)||0,n):a,d="trailing"in e?!!e.trailing:d),w.cancel=_,w.flush=O,w}var zs=Oo((function(t,n){return _i(t,1,n)})),Fs=Oo((function(t,n,e){return _i(t,Qf(n)||0,e)}));function Ds(t){return Ra(t,S)}function Gs(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new un(s);var e=function(){var r=arguments,i=n?n.apply(this,r):r[0],o=e.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return e.cache=o.set(i,a)||o,a};return e.cache=new(Gs.Cache||Ur),e}function $s(t){if("function"!=typeof t)throw new un(s);return function(){var n=arguments;switch(n.length){case 0:return!t.call(this);case 1:return!t.call(this,n[0]);case 2:return!t.call(this,n[0],n[1]);case 3:return!t.call(this,n[0],n[1],n[2])}return!t.apply(this,n)}}function Us(t){return As(2,t)}Gs.Cache=Ur;var Hs=Vo((function(t,n){n=1==n.length&&lf(n[0])?Ce(n[0],Xe(Wa())):Ce(Ti(n,1),Xe(Wa()));var e=n.length;return Oo((function(r){var i=-1,o=$n(r.length,e);while(++i=n})),ff=Hi(function(){return arguments}())?Hi:function(t){return Mf(t)&&pn.call(t,"callee")&&!kn.call(t,"callee")},lf=e.isArray,hf=de?Xe(de):Vi;function pf(t){return null!=t&&kf(t.length)&&!xf(t)}function df(t){return Mf(t)&&pf(t)}function vf(t){return!0===t||!1===t||Mf(t)&&Ii(t)==V}var gf=qn||Xh,bf=ve?Xe(ve):Wi;function yf(t){return Mf(t)&&1===t.nodeType&&!If(t)}function mf(t){if(null==t)return!0;if(pf(t)&&(lf(t)||"string"==typeof t||"function"==typeof t.splice||gf(t)||$f(t)||ff(t)))return!t.length;var n=tu(t);if(n==Z||n==ot)return!t.size;if(gu(t))return!ro(t).length;for(var e in t)if(pn.call(t,e))return!1;return!0}function jf(t,n){return Yi(t,n)}function _f(t,n,e){e="function"==typeof e?e:o;var r=e?e(t,n):o;return r===o?Yi(t,n,o,e):!!r}function Of(t){if(!Mf(t))return!1;var n=Ii(t);return n==K||n==Y||"string"==typeof t.message&&"string"==typeof t.name&&!If(t)}function wf(t){return"number"==typeof t&&zn(t)}function xf(t){if(!Sf(t))return!1;var n=Ii(t);return n==J||n==X||n==H||n==rt}function Ef(t){return"number"==typeof t&&t==Xf(t)}function kf(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=L}function Sf(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Mf(t){return null!=t&&"object"==typeof t}var Tf=ge?Xe(ge):Ji;function Cf(t,n){return t===n||Xi(t,n,Ka(n))}function Pf(t,n,e){return e="function"==typeof e?e:o,Xi(t,n,Ka(n),e)}function Nf(t){return Lf(t)&&t!=+t}function Af(t){if(vu(t))throw new i(c);return Zi(t)}function Rf(t){return null===t}function Bf(t){return null==t}function Lf(t){return"number"==typeof t||Mf(t)&&Ii(t)==Q}function If(t){if(!Mf(t)||Ii(t)!=nt)return!1;var n=xn(t);if(null===n)return!0;var e=pn.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&hn.call(e)==bn}var qf=be?Xe(be):Qi;function zf(t){return Ef(t)&&t>=-L&&t<=L}var Ff=ye?Xe(ye):to;function Df(t){return"string"==typeof t||!lf(t)&&Mf(t)&&Ii(t)==at}function Gf(t){return"symbol"==typeof t||Mf(t)&&Ii(t)==ut}var $f=me?Xe(me):no;function Uf(t){return t===o}function Hf(t){return Mf(t)&&tu(t)==st}function Vf(t){return Mf(t)&&Ii(t)==ft}var Wf=Ta(oo),Yf=Ta((function(t,n){return t<=n}));function Kf(t){if(!t)return[];if(pf(t))return Df(t)?yr(t):ua(t);if(Tn&&t[Tn])return sr(t[Tn]());var n=tu(t),e=n==Z?fr:n==ot?pr:Ul;return e(t)}function Jf(t){if(!t)return 0===t?t:0;if(t=Qf(t),t===B||t===-B){var n=t<0?-1:1;return n*I}return t===t?t:0}function Xf(t){var n=Jf(t),e=n%1;return n===n?e?n-e:n:0}function Zf(t){return t?bi(Xf(t),0,z):0}function Qf(t){if("number"==typeof t)return t;if(Gf(t))return q;if(Sf(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Sf(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(qt,"");var e=Kt.test(t);return e||Xt.test(t)?oe(t.slice(2),e?2:8):Yt.test(t)?q:+t}function tl(t){return ca(t,kl(t))}function nl(t){return t?bi(Xf(t),-L,L):0===t?t:0}function el(t){return null==t?"":Bo(t)}var rl=ha((function(t,n){if(gu(n)||pf(n))ca(n,El(n),t);else for(var e in n)pn.call(n,e)&&fi(t,e,n[e])})),il=ha((function(t,n){ca(n,kl(n),t)})),ol=ha((function(t,n,e,r){ca(n,kl(n),t,r)})),al=ha((function(t,n,e,r){ca(n,El(n),t,r)})),ul=Da(gi);function cl(t,n){var e=Er(t);return null==n?e:pi(e,n)}var sl=Oo((function(t){return t.push(o,Ba),Oe(ol,o,t)})),fl=Oo((function(t){return t.push(o,La),Oe(Cl,o,t)}));function ll(t,n){return qe(t,Wa(n,3),Ni)}function hl(t,n){return qe(t,Wa(n,3),Ai)}function pl(t,n){return null==t?t:Ci(t,Wa(n,3),kl)}function dl(t,n){return null==t?t:Pi(t,Wa(n,3),kl)}function vl(t,n){return t&&Ni(t,Wa(n,3))}function gl(t,n){return t&&Ai(t,Wa(n,3))}function bl(t){return null==t?[]:Ri(t,El(t))}function yl(t){return null==t?[]:Ri(t,kl(t))}function ml(t,n,e){var r=null==t?o:Bi(t,n);return r===o?e:r}function jl(t,n){return null!=t&&ru(t,n,zi)}function _l(t,n){return null!=t&&ru(t,n,Fi)}var Ol=wa((function(t,n,e){t[n]=e}),Th(Ah)),wl=wa((function(t,n,e){pn.call(t,n)?t[n].push(e):t[n]=[e]}),Wa),xl=Oo(Ui);function El(t){return pf(t)?oi(t):ro(t)}function kl(t){return pf(t)?oi(t,!0):io(t)}function Sl(t,n){var e={};return n=Wa(n,3),Ni(t,(function(t,r,i){vi(e,n(t,r,i),t)})),e}function Ml(t,n){var e={};return n=Wa(n,3),Ni(t,(function(t,r,i){vi(e,r,n(t,r,i))})),e}var Tl=ha((function(t,n,e){so(t,n,e)})),Cl=ha((function(t,n,e,r){so(t,n,e,r)})),Pl=Da((function(t,n){var e={};if(null==t)return e;var r=!1;n=Ce(n,(function(n){return n=Ho(n,t),r||(r=n.length>1),n})),ca(t,$a(t),e),r&&(e=yi(e,p|d|v,Ia));var i=n.length;while(i--)Io(e,n[i]);return e}));function Nl(t,n){return Rl(t,$s(Wa(n)))}var Al=Da((function(t,n){return null==t?{}:po(t,n)}));function Rl(t,n){if(null==t)return{};var e=Ce($a(t),(function(t){return[t]}));return n=Wa(n),vo(t,e,(function(t,e){return n(t,e[0])}))}function Bl(t,n,e){n=Ho(n,t);var r=-1,i=n.length;i||(i=1,t=o);while(++rn){var r=t;t=n,n=r}if(e||t%1||n%1){var i=Yn();return $n(t+i*(n-t+ie("1e-"+((i+"").length-1))),n)}return mo(t,n)}var Kl=ba((function(t,n,e){return n=n.toLowerCase(),t+(e?Jl(n):n)}));function Jl(t){return wh(el(t).toLowerCase())}function Xl(t){return t=el(t),t&&t.replace(Qt,rr).replace(Hn,"")}function Zl(t,n,e){t=el(t),n=Bo(n);var r=t.length;e=e===o?r:bi(Xf(e),0,r);var i=e;return e-=n.length,e>=0&&t.slice(e,i)==n}function Ql(t){return t=el(t),t&&Mt.test(t)?t.replace(kt,ir):t}function th(t){return t=el(t),t&&It.test(t)?t.replace(Lt,"\\$&"):t}var nh=ba((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),eh=ba((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),rh=ga("toLowerCase");function ih(t,n,e){t=el(t),n=Xf(n);var r=n?br(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return ka(Ln(i),e)+t+ka(Bn(i),e)}function oh(t,n,e){t=el(t),n=Xf(n);var r=n?br(t):0;return n&&r>>0,e?(t=el(t),t&&("string"==typeof n||null!=n&&!qf(n))&&(n=Bo(n),!n&&ur(t))?Wo(yr(t),0,e):t.split(n,e)):[]}var hh=ba((function(t,n,e){return t+(e?" ":"")+wh(n)}));function ph(t,n,e){return t=el(t),e=null==e?0:bi(Xf(e),0,t.length),n=Bo(n),t.slice(e,e+n.length)==n}function dh(t,n,e){var r=wr.templateSettings;e&&fu(t,n,e)&&(n=o),t=el(t),n=ol({},n,r,Ba);var i,a,u=ol({},n.imports,r.imports,Ba),c=El(u),s=Ze(u,c),f=0,l=n.interpolate||tn,h="__p += '",p=on((n.escape||tn).source+"|"+l.source+"|"+(l===Pt?Vt:tn).source+"|"+(n.evaluate||tn).source+"|$","g"),d="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Xn+"]")+"\n";t.replace(p,(function(n,e,r,o,u,c){return r||(r=o),h+=t.slice(f,c).replace(nn,or),e&&(i=!0,h+="' +\n__e("+e+") +\n'"),u&&(a=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),f=c+n.length,n})),h+="';\n";var v=n.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(Ot,""):h).replace(wt,"$1").replace(xt,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Eh((function(){return Ut(c,d+"return "+h).apply(o,s)}));if(g.source=h,Of(g))throw g;return g}function vh(t){return el(t).toLowerCase()}function gh(t){return el(t).toUpperCase()}function bh(t,n,e){if(t=el(t),t&&(e||n===o))return t.replace(qt,"");if(!t||!(n=Bo(n)))return t;var r=yr(t),i=yr(n),a=tr(r,i),u=nr(r,i)+1;return Wo(r,a,u).join("")}function yh(t,n,e){if(t=el(t),t&&(e||n===o))return t.replace(Ft,"");if(!t||!(n=Bo(n)))return t;var r=yr(t),i=nr(r,yr(n))+1;return Wo(r,0,i).join("")}function mh(t,n,e){if(t=el(t),t&&(e||n===o))return t.replace(zt,"");if(!t||!(n=Bo(n)))return t;var r=yr(t),i=tr(r,yr(n));return Wo(r,i).join("")}function jh(t,n){var e=M,r=T;if(Sf(n)){var i="separator"in n?n.separator:i;e="length"in n?Xf(n.length):e,r="omission"in n?Bo(n.omission):r}t=el(t);var a=t.length;if(ur(t)){var u=yr(t);a=u.length}if(e>=a)return t;var c=e-br(r);if(c<1)return r;var s=u?Wo(u,0,c).join(""):t.slice(0,c);if(i===o)return s+r;if(u&&(c+=s.length-c),qf(i)){if(t.slice(c).search(i)){var f,l=s;i.global||(i=on(i.source,el(Wt.exec(i))+"g")),i.lastIndex=0;while(f=i.exec(l))var h=f.index;s=s.slice(0,h===o?c:h)}}else if(t.indexOf(Bo(i),c)!=c){var p=s.lastIndexOf(i);p>-1&&(s=s.slice(0,p))}return s+r}function _h(t){return t=el(t),t&&St.test(t)?t.replace(Et,mr):t}var Oh=ba((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),wh=ga("toUpperCase");function xh(t,n,e){return t=el(t),n=e?o:n,n===o?cr(t)?Or(t):Ie(t):t.match(n)||[]}var Eh=Oo((function(t,n){try{return Oe(t,o,n)}catch(e){return Of(e)?e:new i(e)}})),kh=Da((function(t,n){return xe(n,(function(n){n=Au(n),vi(t,n,Rs(t[n],t))})),t}));function Sh(t){var n=null==t?0:t.length,e=Wa();return t=n?Ce(t,(function(t){if("function"!=typeof t[1])throw new un(s);return[e(t[0]),t[1]]})):[],Oo((function(e){var r=-1;while(++rL)return[];var e=z,r=$n(t,z);n=Wa(n),t-=z;var i=Ke(r,n);while(++e0||n<0)?new Mr(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),n!==o&&(n=Xf(n),e=n<0?e.dropRight(-n):e.take(n-t)),e)},Mr.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Mr.prototype.toArray=function(){return this.take(z)},Ni(Mr.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),i=wr[r?"take"+("last"==n?"Right":""):n],a=r||/^find/.test(n);i&&(wr.prototype[n]=function(){var n=this.__wrapped__,u=r?[1]:arguments,c=n instanceof Mr,s=u[0],f=c||lf(n),l=function(t){var n=i.apply(wr,Pe([t],u));return r&&h?n[0]:n};f&&e&&"function"==typeof s&&1!=s.length&&(c=f=!1);var h=this.__chain__,p=!!this.__actions__.length,d=a&&!h,v=c&&!p;if(!a&&f){n=v?n:new Mr(this);var g=t.apply(n,u);return g.__actions__.push({func:Kc,args:[l],thisArg:o}),new Sr(g,h)}return d&&v?t.apply(this,u):(g=this.thru(l),d?r?g.value()[0]:g.value():g)})})),xe(["pop","push","shift","sort","splice","unshift"],(function(t){var n=cn[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);wr.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(lf(i)?i:[],t)}return this[e]((function(e){return n.apply(lf(e)?e:[],t)}))}})),Ni(Mr.prototype,(function(t,n){var e=wr[n];if(e){var r=e.name+"",i=fe[r]||(fe[r]=[]);i.push({name:n,func:e})}})),fe[Oa(o,m).name]=[{name:"wrapper",func:o}],Mr.prototype.clone=Tr,Mr.prototype.reverse=Cr,Mr.prototype.value=Pr,wr.prototype.at=Jc,wr.prototype.chain=Xc,wr.prototype.commit=Zc,wr.prototype.next=Qc,wr.prototype.plant=ns,wr.prototype.reverse=es,wr.prototype.toJSON=wr.prototype.valueOf=wr.prototype.value=rs,wr.prototype.first=wr.prototype.head,Tn&&(wr.prototype[Tn]=ts),wr},xr=wr();ce._=xr,i=function(){return xr}.call(n,e,n,r),i===o||(r.exports=i)}).call(this)}).call(n,e(435),e(436)(t))},function(t,n,e){var r=e(13),i=e(171);t.exports=a;var o=r.constant(1);function a(t,n,e,r){return u(t,String(n),e||o,r||function(n){return t.outEdges(n)})}function u(t,n,e,r){var o,a,u={},c=new i,s=function(t){var n=t.v!==o?t.v:t.w,r=u[n],i=e(t),s=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);s0){if(o=c.removeMin(),a=u[o],a.distance===Number.POSITIVE_INFINITY)break;r(o).forEach(s)}return u}},function(t,n,e){var r=e(13);function i(){this._arr=[],this._keyIndices={}}t.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map((function(t){return t.key}))},i.prototype.has=function(t){return r.has(this._keyIndices,t)},i.prototype.priority=function(t){var n=this._keyIndices[t];if(void 0!==n)return this._arr[n].priority},i.prototype.min=function(){if(0===this.size())throw new Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(t,n){var e=this._keyIndices;if(t=String(t),!r.has(e,t)){var i=this._arr,o=i.length;return e[t]=o,i.push({key:t,priority:n}),this._decrease(o),!0}return!1},i.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},i.prototype.decrease=function(t,n){var e=this._keyIndices[t];if(n>this._arr[e].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[e].priority+" New: "+n);this._arr[e].priority=n,this._decrease(e)},i.prototype._heapify=function(t){var n=this._arr,e=2*t,r=e+1,i=t;e>1,e[n].priority=a;--u)h.point(b[u],y[u]);h.lineEnd(),h.areaEnd()}g&&(b[o]=+t(p,o,i),y[o]=+e(p,o,i),h.point(n?+n(p,o,i):b[o],c?+c(p,o,i):y[o]))}if(d)return h=null,d+""||null}function d(){return Object(a["a"])().defined(s).curve(l).context(f)}return p.x=function(e){return arguments.length?(t="function"===typeof e?e:Object(i["a"])(+e),n=null,p):t},p.x0=function(n){return arguments.length?(t="function"===typeof n?n:Object(i["a"])(+n),p):t},p.x1=function(t){return arguments.length?(n=null==t?null:"function"===typeof t?t:Object(i["a"])(+t),p):n},p.y=function(t){return arguments.length?(e="function"===typeof t?t:Object(i["a"])(+t),c=null,p):e},p.y0=function(t){return arguments.length?(e="function"===typeof t?t:Object(i["a"])(+t),p):e},p.y1=function(t){return arguments.length?(c=null==t?null:"function"===typeof t?t:Object(i["a"])(+t),p):c},p.lineX0=p.lineY0=function(){return d().x(t).y(e)},p.lineY1=function(){return d().x(t).y(c)},p.lineX1=function(){return d().x(n).y(e)},p.defined=function(t){return arguments.length?(s="function"===typeof t?t:Object(i["a"])(!!t),p):s},p.curve=function(t){return arguments.length?(l=t,null!=f&&(h=l(f)),p):l},p.context=function(t){return arguments.length?(null==t?f=h=null:h=l(f=t),p):f},p}},function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),n["b"]=a;var r=e(60),i=a(r["a"]);function o(t){this._curve=t}function a(t){function n(n){return new o(t(n))}return n._curve=t,n}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,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}}},function(t,n,e){"use strict";n["a"]=i;var r=e(178);e(95);function i(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Object(r["b"])(t)):n()._curve},t}},function(t,n,e){"use strict";n["a"]=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",(function(){return r}));var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(46);n["a"]={draw:function(t,n){var e=Math.sqrt(n/r["j"]);t.moveTo(e,0),t.arc(0,0,e,0,r["m"])}}},function(t,n,e){"use strict";n["a"]={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),i=2*r;n["a"]={draw:function(t,n){var e=Math.sqrt(n/i),o=e*r;t.moveTo(0,-e),t.lineTo(o,0),t.lineTo(0,e),t.lineTo(-o,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(46),i=.8908130915292852,o=Math.sin(r["j"]/10)/Math.sin(7*r["j"]/10),a=Math.sin(r["m"]/10)*o,u=-Math.cos(r["m"]/10)*o;n["a"]={draw:function(t,n){var e=Math.sqrt(n*i),o=a*e,c=u*e;t.moveTo(0,-e),t.lineTo(o,c);for(var s=1;s<5;++s){var f=r["m"]*s/5,l=Math.cos(f),h=Math.sin(f);t.lineTo(h*e,-l*e),t.lineTo(l*o-h*c,h*o+l*c)}t.closePath()}}},function(t,n,e){"use strict";n["a"]={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n["a"]={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,i=Math.sqrt(3)/2,o=1/Math.sqrt(12),a=3*(o/2+1);n["a"]={draw:function(t,n){var e=Math.sqrt(n/a),u=e/2,c=e*o,s=u,f=e*o+e,l=-s,h=f;t.moveTo(u,c),t.lineTo(s,f),t.lineTo(l,h),t.lineTo(r*u-i*c,i*u+r*c),t.lineTo(r*s-i*f,i*s+r*f),t.lineTo(r*l-i*h,i*l+r*h),t.lineTo(r*u+i*c,r*c-i*u),t.lineTo(r*s+i*f,r*f-i*s),t.lineTo(r*l+i*h,r*h-i*l),t.closePath()}}},function(t,n,e){"use strict";n["a"]=o;var r=e(61),i=e(63);function o(t,n){this._context=t,this._k=(1-n)/6}o.prototype={areaStart:r["a"],areaEnd:r["a"],lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(i["b"])(this,t,n);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return new o(t,n)}return e.tension=function(n){return t(+n)},e})(0)},function(t,n,e){"use strict";n["a"]=i;var r=e(63);function i(t,n){this._context=t,this._k=(1-n)/6}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(r["b"])(this,t,n);break}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return new i(t,n)}return e.tension=function(n){return t(+n)},e})(0)},function(t,n,e){"use strict";n["c"]=o,n["a"]=u,n["d"]=s,n["b"]=f;var r=e(100),i=e(49);function o(t){return i["b"][t.index]={site:t,halfedges:[]}}function a(t,n){var e=t.site,r=n.left,i=n.right;return e===i&&(i=r,r=e),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(e===r?(r=n[1],i=n[0]):(r=n[0],i=n[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function u(t,n){return n[+(n.left!==t.site)]}function c(t,n){return n[+(n.left===t.site)]}function s(){for(var t,n,e,r,o=0,u=i["b"].length;oi["f"]||Math.abs(m-g)>i["f"])&&(h.splice(l,0,i["e"].push(Object(r["b"])(f,b,Math.abs(y-t)i["f"]?[t,Math.abs(v-t)i["f"]?[Math.abs(g-o)i["f"]?[e,Math.abs(v-e)i["f"]?[Math.abs(g-n)=-o["g"])){var b=h*h+p*p,y=d*d+v*v,m=(v*b-p*y)/g,j=(h*y-d*b)/g,_=a.pop()||new u;_.arc=t,_.site=c,_.x=m+f,_.y=(_.cy=j+l)+Math.sqrt(m*m+j*j),t.circle=_;var O=null,w=o["c"]._;while(w)if(_.yg["i"]?a=90:y<-g["i"]&&(i=-90),h[0]=r,h[1]=o}};function j(t,n){l.push(h=[r=t,o=t]),na&&(a=n)}function _(t,n){var e=Object(v["a"])([t*g["r"],n*g["r"]]);if(f){var c=Object(v["c"])(f,e),s=[c[1],-c[0],0],p=Object(v["c"])(s,c);Object(v["e"])(p),p=Object(v["g"])(p);var d,b=t-u,y=b>0?1:-1,m=p[0]*g["h"]*y,j=Object(g["a"])(b)>180;j^(y*ua&&(a=d)):(m=(m+360)%360-180,j^(y*ua&&(a=n))),j?tS(r,o)&&(o=t):S(t,o)>S(r,o)&&(r=t):o>=r?(to&&(o=t)):t>u?S(r,t)>S(r,o)&&(o=t):S(t,o)>S(r,o)&&(r=t)}else l.push(h=[r=t,o=t]);na&&(a=n),f=e,u=t}function O(){m.point=_}function w(){h[0]=r,h[1]=o,m.point=j,f=null}function x(t,n){if(f){var e=t-u;y.add(Object(g["a"])(e)>180?e+(e>0?360:-360):e)}else c=t,s=n;d["b"].point(t,n),_(t,n)}function E(){d["b"].lineStart()}function k(){x(c,s),d["b"].lineEnd(),Object(g["a"])(y)>g["i"]&&(r=-(o=180)),h[0]=r,h[1]=o,f=null}function S(t,n){return(n-=t)<0?n+360:n}function M(t,n){return t[0]-n[0]}function T(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nS(u[0],u[1])&&(u[1]=c[1]),S(c[0],u[1])>S(u[0],u[1])&&(u[0]=c[0])):s.push(u=c);for(f=-1/0,e=s.length-1,n=0,u=s[e];n<=e;u=c,++n)c=s[n],(p=S(u[1],c[0]))>f&&(f=p,r=c[0],o=u[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[o,a]]}},function(t,n,e){"use strict";var r,i,o,a,u,c,s,f,l,h,p,d,v,g,b,y,m=e(4),j=e(20),_=e(22),O={sphere:j["a"],point:w,lineStart:E,lineEnd:M,polygonStart:function(){O.lineStart=T,O.lineEnd=C},polygonEnd:function(){O.lineStart=E,O.lineEnd=M}};function w(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n);x(e*Object(m["g"])(t),e*Object(m["t"])(t),Object(m["t"])(n))}function x(t,n,e){++r,o+=(t-o)/r,a+=(n-a)/r,u+=(e-u)/r}function E(){O.point=k}function k(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n);g=e*Object(m["g"])(t),b=e*Object(m["t"])(t),y=Object(m["t"])(n),O.point=S,x(g,b,y)}function S(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n),r=e*Object(m["g"])(t),o=e*Object(m["t"])(t),a=Object(m["t"])(n),u=Object(m["e"])(Object(m["u"])((u=b*a-y*o)*u+(u=y*r-g*a)*u+(u=g*o-b*r)*u),g*r+b*o+y*a);i+=u,c+=u*(g+(g=r)),s+=u*(b+(b=o)),f+=u*(y+(y=a)),x(g,b,y)}function M(){O.point=w}function T(){O.point=P}function C(){N(d,v),O.point=w}function P(t,n){d=t,v=n,t*=m["r"],n*=m["r"],O.point=N;var e=Object(m["g"])(n);g=e*Object(m["g"])(t),b=e*Object(m["t"])(t),y=Object(m["t"])(n),x(g,b,y)}function N(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n),r=e*Object(m["g"])(t),o=e*Object(m["t"])(t),a=Object(m["t"])(n),u=b*a-y*o,d=y*r-g*a,v=g*o-b*r,j=Object(m["u"])(u*u+d*d+v*v),_=Object(m["c"])(j),O=j&&-_/j;l+=O*u,h+=O*d,p+=O*v,i+=_,c+=_*(g+(g=r)),s+=_*(b+(b=o)),f+=_*(y+(y=a)),x(g,b,y)}n["a"]=function(t){r=i=o=a=u=c=s=f=l=h=p=0,Object(_["a"])(t,O);var n=l,e=h,d=p,v=n*n+e*e+d*d;return v0)){if(a/=p,p<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a0)){if(a/=d,d<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=o-c,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a0&&(t[0]=u+l*p,t[1]=c+l*d),h<1&&(n[0]=u+h*p,n[1]=c+h*d),!0}}}}}},function(t,n,e){"use strict";var r=e(111);n["a"]=function(t,n,e){var i,o,a,u,c=t.length,s=n.length,f=new Array(c*s);for(null==e&&(e=r["b"]),i=a=0;it?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(115),i=e(109),o=e(204),a=e(114),u=e(205),c=e(116),s=e(117),f=e(118);n["a"]=function(){var t=u["a"],n=a["a"],e=f["a"];function l(r){var o,a,u=r.length,f=new Array(u);for(o=0;op)d.pop(),--v;var g,b=new Array(v+1);for(o=0;o<=v;++o)g=b[o]=[],g.x0=o>0?d[o-1]:h,g.x1=o=e){r=e;while(++or&&(r=e)}}else while(++o=e){r=e;while(++or&&(r=e)}return r}},function(t,n,e){"use strict";var r=e(36);n["a"]=function(t,n){var e,i=t.length,o=i,a=-1,u=0;if(null==n)while(++a=0){r=t[i],n=r.length;while(--n>=0)e[--a]=r[n]}return e}},function(t,n,e){"use strict";n["a"]=function(t,n){var e=n.length,r=new Array(e);while(e--)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(30);n["a"]=function(t,n){if(e=t.length){var e,i,o=0,a=0,u=t[a];null==n&&(n=r["a"]);while(++oi["i"]})).map(h)).concat(Object(r["range"])(Object(i["f"])(s/b)*b,c,b).filter((function(t){return Object(i["a"])(t%m)>i["i"]})).map(p))}return _.lines=function(){return O().map((function(t){return{type:"LineString",coordinates:t}}))},_.outline=function(){return{type:"Polygon",coordinates:[d(u).concat(v(f).slice(1),d(e).reverse().slice(1),v(l).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(u=+t[0][0],e=+t[1][0],l=+t[0][1],f=+t[1][1],u>e&&(t=u,u=e,e=t),l>f&&(t=l,l=f,f=t),_.precision(j)):[[u,l],[e,f]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],c=+e[1][1],n>t&&(e=n,n=t,t=e),s>c&&(e=s,s=c,c=e),_.precision(j)):[[n,s],[t,c]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(y=+t[0],m=+t[1],_):[y,m]},_.stepMinor=function(t){return arguments.length?(g=+t[0],b=+t[1],_):[g,b]},_.precision=function(r){return arguments.length?(j=+r,h=o(s,c,90),p=a(n,t,j),d=o(l,f,90),v=a(u,e,j),_):j},_.extentMajor([[-180,-90+i["i"]],[180,90-i["i"]]]).extentMinor([[-180,-80-i["i"]],[180,80+i["i"]]])}function c(){return u()()}},function(t,n,e){"use strict";var r=e(4);n["a"]=function(t,n){var e=t[0]*r["r"],i=t[1]*r["r"],o=n[0]*r["r"],a=n[1]*r["r"],u=Object(r["g"])(i),c=Object(r["t"])(i),s=Object(r["g"])(a),f=Object(r["t"])(a),l=u*Object(r["g"])(e),h=u*Object(r["t"])(e),p=s*Object(r["g"])(o),d=s*Object(r["t"])(o),v=2*Object(r["c"])(Object(r["u"])(Object(r["m"])(a-i)+u*s*Object(r["m"])(o-e))),g=Object(r["t"])(v),b=v?function(t){var n=Object(r["t"])(t*=v)/g,e=Object(r["t"])(v-t)/g,i=e*l+n*p,o=e*h+n*d,a=e*c+n*f;return[Object(r["e"])(o,i)*r["h"],Object(r["e"])(a,Object(r["u"])(i*i+o*o))*r["h"]]}:function(){return[e*r["h"],i*r["h"]]};return b.distance=v,b}},function(t,n,e){"use strict";var r=e(67),i=e(22),o=e(221),a=e(124),u=e(222),c=e(223),s=e(224),f=e(225);n["a"]=function(t,n){var e,l,h=4.5;function p(t){return t&&("function"===typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(i["a"])(t,e(l))),l.result()}return p.area=function(t){return Object(i["a"])(t,e(o["a"])),o["a"].result()},p.measure=function(t){return Object(i["a"])(t,e(s["a"])),s["a"].result()},p.bounds=function(t){return Object(i["a"])(t,e(a["a"])),a["a"].result()},p.centroid=function(t){return Object(i["a"])(t,e(u["a"])),u["a"].result()},p.projection=function(n){return arguments.length?(e=null==n?(t=null,r["a"]):(t=n).stream,p):t},p.context=function(t){return arguments.length?(l=null==t?(n=null,new f["a"]):new c["a"](n=t),"function"!==typeof h&&l.pointRadius(h),p):n},p.pointRadius=function(t){return arguments.length?(h="function"===typeof t?t:(l.pointRadius(+t),+t),p):h},p.projection(t).context(n)}},function(t,n,e){"use strict";var r,i,o,a,u=e(29),c=e(4),s=e(20),f=Object(u["a"])(),l=Object(u["a"])(),h={point:s["a"],lineStart:s["a"],lineEnd:s["a"],polygonStart:function(){h.lineStart=p,h.lineEnd=g},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=s["a"],f.add(Object(c["a"])(l)),l.reset()},result:function(){var t=f/2;return f.reset(),t}};function p(){h.point=d}function d(t,n){h.point=v,r=o=t,i=a=n}function v(t,n){l.add(a*t-o*n),o=t,a=n}function g(){v(r,i)}n["a"]=h},function(t,n,e){"use strict";var r,i,o,a,u=e(4),c=0,s=0,f=0,l=0,h=0,p=0,d=0,v=0,g=0,b={point:y,lineStart:m,lineEnd:O,polygonStart:function(){b.lineStart=w,b.lineEnd=x},polygonEnd:function(){b.point=y,b.lineStart=m,b.lineEnd=O},result:function(){var t=g?[d/g,v/g]:p?[l/p,h/p]:f?[c/f,s/f]:[NaN,NaN];return c=s=f=l=h=p=d=v=g=0,t}};function y(t,n){c+=t,s+=n,++f}function m(){b.point=j}function j(t,n){b.point=_,y(o=t,a=n)}function _(t,n){var e=t-o,r=n-a,i=Object(u["u"])(e*e+r*r);l+=i*(o+t)/2,h+=i*(a+n)/2,p+=i,y(o=t,a=n)}function O(){b.point=y}function w(){b.point=E}function x(){k(r,i)}function E(t,n){b.point=k,y(r=o=t,i=a=n)}function k(t,n){var e=t-o,r=n-a,i=Object(u["u"])(e*e+r*r);l+=i*(o+t)/2,h+=i*(a+n)/2,p+=i,i=a*t-o*n,d+=i*(o+t),v+=i*(a+n),g+=3*i,y(o=t,a=n)}n["a"]=b},function(t,n,e){"use strict";n["a"]=o;var r=e(4),i=e(20);function o(t){this._context=t}o.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,r["w"]);break}},result:i["a"]}},function(t,n,e){"use strict";var r,i,o,a,u,c=e(29),s=e(4),f=e(20),l=Object(c["a"])(),h={point:f["a"],lineStart:function(){h.point=p},lineEnd:function(){r&&d(i,o),h.point=f["a"]},polygonStart:function(){r=!0},polygonEnd:function(){r=null},result:function(){var t=+l;return l.reset(),t}};function p(t,n){h.point=d,i=a=t,o=u=n}function d(t,n){a-=t,u-=n,l.add(Object(s["u"])(a*a+u*u)),a=t,u=n}n["a"]=h},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n["a"]=r,r.prototype={_radius:4.5,_circle:i(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=i(this._radius)),this._string.push("M",t,",",n,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(126),i=e(4);function o(t){var n,e=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(u,c){var s=u>0?i["o"]:-i["o"],f=Object(i["a"])(u-e);Object(i["a"])(f-i["o"])0?i["l"]:-i["l"]),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(u,r),n=0):o!==s&&f>=i["o"]&&(Object(i["a"])(e-o)i["i"]?Object(i["d"])((Object(i["t"])(n)*(a=Object(i["g"])(r))*Object(i["t"])(e)-Object(i["t"])(r)*(o=Object(i["g"])(n))*Object(i["t"])(t))/(o*a*u)):(n+r)/2}function u(t,n,e,r){var o;if(null==t)o=e*i["l"],r.point(-i["o"],o),r.point(0,o),r.point(i["o"],o),r.point(i["o"],0),r.point(i["o"],-o),r.point(0,-o),r.point(-i["o"],-o),r.point(-i["o"],0),r.point(-i["o"],o);else if(Object(i["a"])(t[0]-n[0])>i["i"]){var a=t[0]0,s=Object(o["a"])(e)>o["i"];function f(e,r,o,a){Object(i["a"])(a,t,n,o,e,r)}function l(t,n){return Object(o["g"])(t)*Object(o["g"])(n)>e}function h(t){var n,e,r,i,u;return{lineStart:function(){i=r=!1,u=1},point:function(f,h){var v,g=[f,h],b=l(f,h),y=c?b?0:d(f,h):b?d(f+(f<0?o["o"]:-o["o"]),h):0;if(!n&&(i=r=b)&&t.lineStart(),b!==r&&(v=p(n,g),(!v||Object(a["a"])(n,v)||Object(a["a"])(g,v))&&(g[0]+=o["i"],g[1]+=o["i"],b=l(g[0],g[1]))),b!==r)u=0,b?(t.lineStart(),v=p(g,n),t.point(v[0],v[1])):(v=p(n,g),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(s&&n&&c^b){var m;y&e||!(m=p(g,n,!0))||(u=0,c?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!b||n&&Object(a["a"])(n,g)||t.point(g[0],g[1]),n=g,r=b,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return u|(i&&r)<<1}}}function p(t,n,i){var a=Object(r["a"])(t),u=Object(r["a"])(n),c=[1,0,0],s=Object(r["c"])(a,u),f=Object(r["d"])(s,s),l=s[0],h=f-l*l;if(!h)return!i&&t;var p=e*f/h,d=-e*l/h,v=Object(r["c"])(c,s),g=Object(r["f"])(c,p),b=Object(r["f"])(s,d);Object(r["b"])(g,b);var y=v,m=Object(r["d"])(g,y),j=Object(r["d"])(y,y),_=m*m-j*(Object(r["d"])(g,g)-1);if(!(_<0)){var O=Object(o["u"])(_),w=Object(r["f"])(y,(-m-O)/j);if(Object(r["b"])(w,g),w=Object(r["g"])(w),!i)return w;var x,E=t[0],k=n[0],S=t[1],M=n[1];k0^w[1]<(Object(o["a"])(w[0]-E)o["o"]^(E<=w[0]&&w[0]<=k)){var N=Object(r["f"])(y,(-m+O)/j);return Object(r["b"])(N,g),[w,Object(r["g"])(N)]}}}function d(n,e){var r=c?t:o["o"]-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(u["a"])(l,h,f,c?[0,-t]:[-o["o"],t-o["o"]])}},function(t,n,e){"use strict";var r=e(35),i=e(4),o=e(51),a=16,u=Object(i["g"])(30*i["r"]);function c(t){return Object(o["b"])({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function s(t,n){function e(r,o,a,c,s,f,l,h,p,d,v,g,b,y){var m=l-r,j=h-o,_=m*m+j*j;if(_>4*n&&b--){var O=c+d,w=s+v,x=f+g,E=Object(i["u"])(O*O+w*w+x*x),k=Object(i["c"])(x/=E),S=Object(i["a"])(Object(i["a"])(x)-1)n||Object(i["a"])((m*P+j*N)/_-.5)>.3||c*d+s*v+f*g=.12&&i<.234&&r>=-.425&&r<-.214?h:i>=.166&&i<.234&&r>=-.214&&r<-.115?p:l).invert(t)},v.stream=function(e){return t&&n===e?t:t=u([l.stream(n=e),h.stream(e),p.stream(e)])},v.precision=function(t){return arguments.length?(l.precision(t),h.precision(t),p.precision(t),g()):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),h.scale(.35*t),p.scale(t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),i=+t[0],o=+t[1];return e=l.translate(t).clipExtent([[i-.455*n,o-.238*n],[i+.455*n,o+.238*n]]).stream(d),c=h.translate([i-.307*n,o+.201*n]).clipExtent([[i-.425*n+r["i"],o+.12*n+r["i"]],[i-.214*n-r["i"],o+.234*n-r["i"]]]).stream(d),s=p.translate([i-.205*n,o+.212*n]).clipExtent([[i-.214*n+r["i"],o+.166*n+r["i"]],[i-.115*n-r["i"],o+.234*n-r["i"]]]).stream(d),g()},v.fitExtent=function(t,n){return Object(a["a"])(v,t,n)},v.fitSize=function(t,n){return Object(a["b"])(v,t,n)},v.scale(1070)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(4),i=e(37),o=e(17),a=Object(i["b"])((function(t){return Object(r["u"])(2/(1+t))}));a.invert=Object(i["a"])((function(t){return 2*Object(r["c"])(t/2)})),n["b"]=function(){return Object(o["a"])(a).scale(124.75).clipAngle(179.999)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(4),i=e(37),o=e(17),a=Object(i["b"])((function(t){return(t=Object(r["b"])(t))&&t/Object(r["t"])(t)}));a.invert=Object(i["a"])((function(t){return t})),n["b"]=function(){return Object(o["a"])(a).scale(79.4188).clipAngle(179.999)}},function(t,n,e){"use strict";n["a"]=u;var r=e(4),i=e(69),o=e(71);function a(t){return Object(r["v"])((r["l"]+t)/2)}function u(t,n){var e=Object(r["g"])(t),i=t===n?Object(r["t"])(t):Object(r["n"])(e/Object(r["g"])(n))/Object(r["n"])(a(n)/a(t)),u=e*Object(r["p"])(a(t),i)/i;if(!i)return o["c"];function c(t,n){u>0?n<-r["l"]+r["i"]&&(n=-r["l"]+r["i"]):n>r["l"]-r["i"]&&(n=r["l"]-r["i"]);var e=u/Object(r["p"])(a(n),i);return[e*Object(r["t"])(i*t),u-e*Object(r["g"])(i*t)]}return c.invert=function(t,n){var e=u-n,o=Object(r["s"])(i)*Object(r["u"])(t*t+e*e);return[Object(r["e"])(t,Object(r["a"])(e))/i*Object(r["s"])(e),2*Object(r["d"])(Object(r["p"])(u/o,1/i))-r["l"]]},c}n["b"]=function(){return Object(i["a"])(u).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n["a"]=a;var r=e(4),i=e(69),o=e(127);function a(t,n){var e=Object(r["g"])(t),i=t===n?Object(r["t"])(t):(e-Object(r["g"])(n))/(n-t),a=e/i+t;if(Object(r["a"])(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";n["a"]=o;var r=e(0),i=e(1);function o(t){var n=Object(i["F"])(t/2),e=2*Object(i["p"])(Object(i["h"])(t/2))/(n*n);function r(t,n){var r=Object(i["h"])(t),o=Object(i["h"])(n),a=Object(i["y"])(n),u=o*r,c=-((1-u?Object(i["p"])((1+u)/2)/(1-u):-.5)+e/(1+u));return[c*o*Object(i["y"])(t),c*a]}return r.invert=function(n,r){var o,a=Object(i["B"])(n*n+r*r),u=-t/2,c=50;if(!a)return[0,0];do{var s=u/2,f=Object(i["h"])(s),l=Object(i["y"])(s),h=Object(i["F"])(s),p=Object(i["p"])(1/f);u-=o=(2/h*p-e*h-a)/(-p/(l*l)+1-e/(2*f*f))}while(Object(i["a"])(o)>i["k"]&&--c>0);var d=Object(i["y"])(u);return[Object(i["g"])(n*d,a*Object(i["h"])(u)),Object(i["e"])(r*d/a)]},r}n["b"]=function(){var t=i["o"],n=Object(r["geoProjectionMutator"])(o),e=n(t);return e.radius=function(e){return arguments.length?n(t=e*i["v"]):t*i["j"]},e.scale(179.976).clipAngle(147)}},function(t,n,e){"use strict";n["a"]=o;var r=e(0),i=e(1);function o(t){var n=Object(i["y"])(t),e=Object(i["h"])(t),r=t>=0?1:-1,o=Object(i["F"])(r*t),a=(1+n-e)/2;function u(t,u){var c=Object(i["h"])(u),s=Object(i["h"])(t/=2);return[(1+c)*Object(i["y"])(t),(r*u>-Object(i["g"])(s,o)-.001?0:10*-r)+a+Object(i["y"])(u)*e-(1+c)*n*s]}return u.invert=function(t,u){var c=0,s=0,f=50;do{var l=Object(i["h"])(c),h=Object(i["y"])(c),p=Object(i["h"])(s),d=Object(i["y"])(s),v=1+p,g=v*h-t,b=a+d*e-v*n*l-u,y=v*l/2,m=-h*d,j=n*v*h/2,_=e*p+n*l*d,O=m*j-_*y,w=(b*m-g*_)/O/2,x=(g*j-b*y)/O;c-=w,s-=x}while((Object(i["a"])(w)>i["k"]||Object(i["a"])(x)>i["k"])&&--f>0);return r*s>-Object(i["g"])(Object(i["h"])(c),o)-.001?[2*c,s]:null},u}n["b"]=function(){var t=20*i["v"],n=t>=0?1:-1,e=Object(i["F"])(n*t),a=Object(r["geoProjectionMutator"])(o),u=a(t),c=u.stream;return u.parallel=function(r){return arguments.length?(e=Object(i["F"])((n=(t=r*i["v"])>=0?1:-1)*t),a(t)):t*i["j"]},u.stream=function(r){var o=u.rotate(),a=c(r),s=(u.rotate([0,0]),c(r));return u.rotate(o),a.sphere=function(){s.polygonStart(),s.lineStart();for(var r=-180*n;n*r<180;r+=90*n)s.point(r,90*n);while(n*(r-=t)>=-180)s.point(r,n*-Object(i["g"])(Object(i["h"])(r*i["v"]/2),e)*i["j"]);s.lineEnd(),s.polygonEnd()},a},u.scale(218.695).center([0,28.0974])}},function(t,n,e){"use strict";n["a"]=u;var r=e(0),i=e(1),o=Object(i["B"])(8),a=Object(i["p"])(1+i["D"]);function u(t,n){var e=Object(i["a"])(n);return ei["l"]&&--c>0);return[t/(Object(i["h"])(u)*(o-1/Object(i["y"])(u))),Object(i["x"])(n)*u]},n["b"]=function(){return Object(r["geoProjection"])(u).scale(112.314)}},function(t,n,e){"use strict";n["a"]=o;var r=e(0),i=e(1);function o(t){var n=2*i["s"]/t;function e(t,e){var o=Object(r["geoAzimuthalEquidistantRaw"])(t,e);if(Object(i["a"])(t)>i["o"]){var a=Object(i["g"])(o[1],o[0]),u=Object(i["B"])(o[0]*o[0]+o[1]*o[1]),c=n*Object(i["w"])((a-i["o"])/n)+i["o"],s=Object(i["g"])(Object(i["y"])(a-=c),2-Object(i["h"])(a));a=c+Object(i["e"])(i["s"]/u*Object(i["y"])(s))-s,o[0]=u*Object(i["h"])(a),o[1]=u*Object(i["y"])(a)}return o}return e.invert=function(t,e){var o=Object(i["B"])(t*t+e*e);if(o>i["o"]){var a=Object(i["g"])(e,t),u=n*Object(i["w"])((a-i["o"])/n)+i["o"],c=a>u?-1:1,s=o*Object(i["h"])(u-a),f=1/Object(i["F"])(c*Object(i["b"])((s-i["s"])/Object(i["B"])(i["s"]*(i["s"]-2*s)+o*o)));a=u+2*Object(i["f"])((f+c*Object(i["B"])(f*f-3))/3),t=o*Object(i["h"])(a),e=o*Object(i["y"])(a)}return r["geoAzimuthalEquidistantRaw"].invert(t,e)},e}n["b"]=function(){var t=5,n=Object(r["geoProjectionMutator"])(o),e=n(t),a=e.stream,u=.01,c=-Object(i["h"])(u*i["v"]),s=Object(i["y"])(u*i["v"]);return e.lobes=function(e){return arguments.length?n(t=+e):t},e.stream=function(n){var r=e.rotate(),o=a(n),f=(e.rotate([0,0]),a(n));return e.rotate(r),o.sphere=function(){f.polygonStart(),f.lineStart();for(var n=0,e=360/t,r=2*i["s"]/t,o=90-180/t,a=i["o"];n1||Object(i["a"])(a)>1)u=Object(i["b"])(e*o+n*r*c);else{var s=Object(i["y"])(t/2),f=Object(i["y"])(a/2);u=2*Object(i["e"])(Object(i["B"])(s*s+n*r*f*f))}return Object(i["a"])(u)>i["k"]?[u,Object(i["g"])(r*Object(i["y"])(a),n*o-e*r*c)]:[0,0]}function a(t,n,e){return Object(i["b"])((t*t+n*n-e*e)/(2*t*n))}function u(t){return t-2*i["s"]*Object(i["n"])((t+i["s"])/(2*i["s"]))}function c(t,n,e){for(var r,c=[[t[0],t[1],Object(i["y"])(t[1]),Object(i["h"])(t[1])],[n[0],n[1],Object(i["y"])(n[1]),Object(i["h"])(n[1])],[e[0],e[1],Object(i["y"])(e[1]),Object(i["h"])(e[1])]],s=c[2],f=0;f<3;++f,s=r)r=c[f],s.v=o(r[1]-s[1],s[3],s[2],r[3],r[2],r[0]-s[0]),s.point=[0,0];var l=a(c[0].v[0],c[2].v[0],c[1].v[0]),h=a(c[0].v[0],c[1].v[0],c[2].v[0]),p=i["s"]-l;c[2].point[1]=0,c[0].point[0]=-(c[1].point[0]=c[0].v[0]/2);var d=[c[2].point[0]=c[0].point[0]+c[2].v[0]*Object(i["h"])(l),2*(c[0].point[1]=c[1].point[1]=c[2].v[0]*Object(i["y"])(l))];function v(t,n){var e,r=Object(i["y"])(n),s=Object(i["h"])(n),f=new Array(3);for(e=0;e<3;++e){var l=c[e];if(f[e]=o(n-l[1],l[3],l[2],s,r,t-l[0]),!f[e][0])return l.point;f[e][1]=u(f[e][1]-l.v[1])}var v=d.slice();for(e=0;e<3;++e){var g=2==e?0:e+1,b=a(c[e].v[0],f[e][0],f[g][0]);f[e][1]<0&&(b=-b),e?1==e?(b=h-b,v[0]-=f[e][0]*Object(i["h"])(b),v[1]-=f[e][0]*Object(i["y"])(b)):(b=p-b,v[0]+=f[e][0]*Object(i["h"])(b),v[1]+=f[e][0]*Object(i["y"])(b)):(v[0]+=f[e][0]*Object(i["h"])(b),v[1]-=f[e][0]*Object(i["y"])(b))}return v[0]/=3,v[1]/=3,v}return v}function s(t){return t[0]*=i["v"],t[1]*=i["v"],t}function f(){return l([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])}function l(t,n,e){var i=Object(r["geoCentroid"])({type:"MultiPoint",coordinates:[t,n,e]}),o=[-i[0],-i[1]],a=Object(r["geoRotation"])(o),u=Object(r["geoProjection"])(c(s(a(t)),s(a(n)),s(a(e)))).rotate(o),f=u.center;return delete u.rotate,u.center=function(t){return arguments.length?f(a(t)):a.invert(f())},u.clipAngle(90)}},function(t,n,e){"use strict";n["a"]=o;var r=e(1),i=e(31);function o(t){var n=Object(r["F"])(t);function e(t,e){return[t,(t?t/Object(r["y"])(t):1)*(Object(r["y"])(e)*Object(r["h"])(t)-n*Object(r["h"])(e))]}return e.invert=n?function(t,e){t&&(e*=Object(r["y"])(t)/t);var i=Object(r["h"])(t);return[t,2*Object(r["g"])(Object(r["B"])(i*i+n*n-e*e)-i,n-e)]}:function(t,n){return[t,Object(r["e"])(t?n*Object(r["F"])(t)/t:n)]},e}n["b"]=function(){return Object(i["a"])(o).scale(249.828).clipAngle(90)}},function(t,n,e){"use strict";n["a"]=a;var r=e(0),i=e(1),o=Object(i["B"])(3);function a(t,n){return[o*t*(2*Object(i["h"])(2*n/3)-1)/i["E"],o*i["E"]*Object(i["y"])(n/3)]}a.invert=function(t,n){var e=3*Object(i["e"])(n/(o*i["E"]));return[i["E"]*t/(o*(2*Object(i["h"])(2*e/3)-1)),e]},n["b"]=function(){return Object(r["geoProjection"])(a).scale(156.19)}},function(t,n,e){"use strict";n["a"]=o;var r=e(1),i=e(31);function o(t){var n=Object(r["h"])(t);function e(t,e){return[t*n,(1+n)*Object(r["F"])(e/2)]}return e.invert=function(t,e){return[t/n,2*Object(r["f"])(e/(1+n))]},e}n["b"]=function(){return Object(i["a"])(o).scale(124.75)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=Object(i["B"])(8/(3*i["s"]));return[e*t*(1-Object(i["a"])(n)/i["s"]),e*n]}o.invert=function(t,n){var e=Object(i["B"])(8/(3*i["s"])),r=n/e;return[t/(e*(1-Object(i["a"])(r)/i["s"])),r]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(165.664)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=Object(i["B"])(4-3*Object(i["y"])(Object(i["a"])(n)));return[2/Object(i["B"])(6*i["s"])*t*e,Object(i["x"])(n)*Object(i["B"])(2*i["s"]/3)*(2-e)]}o.invert=function(t,n){var e=2-Object(i["a"])(n)/Object(i["B"])(2*i["s"]/3);return[t*Object(i["B"])(6*i["s"])/(2*e),Object(i["x"])(n)*Object(i["e"])((4-e*e)/3)]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(165.664)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=Object(i["B"])(i["s"]*(4+i["s"]));return[2/e*t*(1+Object(i["B"])(1-4*n*n/(i["s"]*i["s"]))),4/e*n]}o.invert=function(t,n){var e=Object(i["B"])(i["s"]*(4+i["s"]))/2;return[t*e/(1+Object(i["B"])(1-n*n*(4+i["s"])/(4*i["s"]))),n*e/2]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(180.739)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=(2+i["o"])*Object(i["y"])(n);n/=2;for(var r=0,o=1/0;r<10&&Object(i["a"])(o)>i["k"];r++){var a=Object(i["h"])(n);n-=o=(n+Object(i["y"])(n)*(a+2)-e)/(2*a*(1+a))}return[2/Object(i["B"])(i["s"]*(4+i["s"]))*t*(1+Object(i["h"])(n)),2*Object(i["B"])(i["s"]/(4+i["s"]))*Object(i["y"])(n)]}o.invert=function(t,n){var e=n*Object(i["B"])((4+i["s"])/i["s"])/2,r=Object(i["e"])(e),o=Object(i["h"])(r);return[t/(2/Object(i["B"])(i["s"]*(4+i["s"]))*(1+o)),Object(i["e"])((r+e*(o+2))/(2+i["o"]))]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(180.739)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){return[t*(1+Object(i["h"])(n))/Object(i["B"])(2+i["s"]),2*n/Object(i["B"])(2+i["s"])]}o.invert=function(t,n){var e=Object(i["B"])(2+i["s"]),r=n*e/2;return[e*t/(1+Object(i["h"])(r)),r]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(173.044)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){for(var e=(1+i["o"])*Object(i["y"])(n),r=0,o=1/0;r<10&&Object(i["a"])(o)>i["k"];r++)n-=o=(n+Object(i["y"])(n)-e)/(1+Object(i["h"])(n));return e=Object(i["B"])(2+i["s"]),[t*(1+Object(i["h"])(n))/e,2*n/e]}o.invert=function(t,n){var e=1+i["o"],r=Object(i["B"])(e/2);return[2*t*r/(1+Object(i["h"])(n*=r)),Object(i["e"])((n+Object(i["y"])(n))/e)]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(173.044)}},function(t,n,e){"use strict";n["b"]=u;var r=e(0),i=e(130),o=e(1),a=3+2*o["D"];function u(t,n){var e=Object(o["y"])(t/=2),r=Object(o["h"])(t),i=Object(o["B"])(Object(o["h"])(n)),u=Object(o["h"])(n/=2),c=Object(o["y"])(n)/(u+o["D"]*r*i),s=Object(o["B"])(2/(1+c*c)),f=Object(o["B"])((o["D"]*u+(r+e)*i)/(o["D"]*u+(r-e)*i));return[a*(s*(f-1/f)-2*Object(o["p"])(f)),a*(s*c*(f+1/f)-2*Object(o["f"])(c))]}u.invert=function(t,n){if(!(e=i["a"].invert(t/1.2,1.065*n)))return null;var e,r=e[0],u=e[1],c=20;t/=a,n/=a;do{var s=r/2,f=u/2,l=Object(o["y"])(s),h=Object(o["h"])(s),p=Object(o["y"])(f),d=Object(o["h"])(f),v=Object(o["h"])(u),g=Object(o["B"])(v),b=p/(d+o["D"]*h*g),y=b*b,m=Object(o["B"])(2/(1+y)),j=o["D"]*d+(h+l)*g,_=o["D"]*d+(h-l)*g,O=j/_,w=Object(o["B"])(O),x=w-1/w,E=w+1/w,k=m*x-2*Object(o["p"])(w)-t,S=m*b*E-2*Object(o["f"])(b)-n,M=p&&o["C"]*g*l*y/p,T=(o["D"]*h*d+g)/(2*(d+o["D"]*h*g)*(d+o["D"]*h*g)*g),C=-.5*b*m*m*m,P=C*M,N=C*T,A=(A=2*d+o["D"]*g*(h-l))*A*w,R=(o["D"]*h*d*g+v)/A,B=-o["D"]*l*p/(g*A),L=x*P-2*R/w+m*(R+R/O),I=x*N-2*B/w+m*(B+B/O),q=b*E*P-2*M/(1+y)+m*E*M+m*b*(R-R/O),z=b*E*N-2*T/(1+y)+m*E*T+m*b*(B-B/O),F=I*q-z*L;if(!F)break;var D=(S*I-k*z)/F,G=(k*q-S*L)/F;r-=D,u=Object(o["q"])(-o["o"],Object(o["r"])(o["o"],u-G))}while((Object(o["a"])(D)>o["k"]||Object(o["a"])(G)>o["k"])&&--c>0);return Object(o["a"])(Object(o["a"])(u)-o["o"])o){var p=Object(i["B"])(h),d=Object(i["g"])(l,f),v=e*Object(i["w"])(d/e),g=d-v,b=t*Object(i["h"])(g),y=(t*Object(i["y"])(g)-g*Object(i["y"])(b))/(i["o"]-b),m=a(g,y),j=(i["s"]-t)/u(m,b,i["s"]);f=p;var _,O=50;do{f-=_=(t+u(m,b,f)*j-p)/(m(f)*j)}while(Object(i["a"])(_)>i["k"]&&--O>0);l=g*Object(i["y"])(f),fo){var f=Object(i["B"])(s),l=Object(i["g"])(c,n),h=e*Object(i["w"])(l/e),p=l-h;n=f*Object(i["h"])(p),c=f*Object(i["y"])(p);var d=n-i["o"],v=Object(i["y"])(n),g=c/v,b=ni["k"]&&--a>0);a=50,t/=1-.162388*u;do{var c=(c=r*r)*c;r-=e=(r*(.87-952426e-9*c)-t)/(.87-.00476213*c)}while(Object(i["a"])(e)>i["k"]&&--a>0);return[r,o]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(131.747)}},function(t,n,e){"use strict";e.d(n,"b",(function(){return o}));var r=e(0),i=e(52),o=Object(i["a"])(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);n["a"]=function(){return Object(r["geoProjection"])(o).scale(131.087)}},function(t,n,e){"use strict";n["c"]=i,n["b"]=a,n["a"]=u;var r=e(1);function i(t,n,e){var r,i,a;return t?(r=o(t,e),n?(i=o(n,1-e),a=i[1]*i[1]+e*r[0]*r[0]*i[0]*i[0],[[r[0]*i[2]/a,r[1]*r[2]*i[0]*i[1]/a],[r[1]*i[1]/a,-r[0]*r[2]*i[0]*i[2]/a],[r[2]*i[1]*i[2]/a,-e*r[0]*r[1]*i[0]/a]]):[[r[0],0],[r[1],0],[r[2],0]]):(i=o(n,1-e),[[0,i[0]/i[1]],[1/i[1],0],[i[2]/i[1],0]])}function o(t,n){var e,i,o,a,u;if(n=1-r["k"])return e=(1-n)/4,i=Object(r["i"])(t),a=Object(r["G"])(t),o=1/i,u=i*Object(r["A"])(t),[a+e*(u-t)/(i*i),o-e*a*o*(u-t),o+e*a*o*(u+t),2*Object(r["f"])(Object(r["m"])(t))-r["o"]+e*(u-t)/i];var c=[1,0,0,0,0,0,0,0,0],s=[Object(r["B"])(n),0,0,0,0,0,0,0,0],f=0;i=Object(r["B"])(1-n),u=1;while(Object(r["a"])(s[f]/c[f])>r["k"]&&f<8)e=c[f++],s[f]=(e-i)/2,c[f]=(e+i)/2,i=Object(r["B"])(e*i),u*=2;o=u*c[f]*t;do{a=s[f]*Object(r["y"])(i=o)/c[f],o=(Object(r["e"])(a)+o)/2}while(--f);return[Object(r["y"])(o),a=Object(r["h"])(o),a/Object(r["h"])(o-i),o]}function a(t,n,e){var i=Object(r["a"])(t),o=Object(r["a"])(n),a=Object(r["A"])(o);if(i){var c=1/Object(r["y"])(i),s=1/(Object(r["F"])(i)*Object(r["F"])(i)),f=-(s+e*(a*a*c*c)-1+e),l=(e-1)*s,h=(-f+Object(r["B"])(f*f-4*l))/2;return[u(Object(r["f"])(1/Object(r["B"])(h)),e)*Object(r["x"])(t),u(Object(r["f"])(Object(r["B"])((h/s-1)/e)),1-e)*Object(r["x"])(n)]}return[0,u(Object(r["f"])(a),1-e)*Object(r["x"])(n)]}function u(t,n){if(!n)return t;if(1===n)return Object(r["p"])(Object(r["F"])(t/2+r["u"]));for(var e=1,i=Object(r["B"])(1-n),o=Object(r["B"])(n),a=0;Object(r["a"])(o)>r["k"];a++){if(t%r["s"]){var u=Object(r["f"])(i*Object(r["F"])(t)/e);u<0&&(u+=r["s"]),t+=u+~~(t/r["s"])*r["s"]}else t+=t;o=(e+i)/2,i=Object(r["B"])(e*i),o=((e=o)-i)/2}return t/(Object(r["t"])(2,a)*e)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){if(arguments.length<2&&(n=t),1===n)return r["geoAzimuthalEqualAreaRaw"];if(n===1/0)return a;function e(e,i){var o=Object(r["geoAzimuthalEqualAreaRaw"])(e/n,i);return o[0]*=t,o}return e.invert=function(e,i){var o=r["geoAzimuthalEqualAreaRaw"].invert(e/t,i);return o[0]*=n,o},e}function a(t,n){return[t*Object(i["h"])(n)/Object(i["h"])(n/=2),2*Object(i["y"])(n)]}a.invert=function(t,n){var e=2*Object(i["e"])(n/2);return[t*Object(i["h"])(e/2)/Object(i["h"])(e),e]},n["a"]=function(){var t=2,n=Object(r["geoProjectionMutator"])(o),e=n(t);return e.coefficient=function(e){return arguments.length?n(t=+e):t},e.scale(169.529)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t){var n=Object(i["y"])(t),e=Object(i["h"])(t),r=a(t);function o(t,o){var a=r(t,o);t=a[0],o=a[1];var u=Object(i["y"])(o),c=Object(i["h"])(o),s=Object(i["h"])(t),f=Object(i["b"])(n*u+e*c*s),l=Object(i["y"])(f),h=Object(i["a"])(l)>i["k"]?f/l:1;return[h*e*Object(i["y"])(t),(Object(i["a"])(t)>i["o"]?h:-h)*(n*c-e*u*s)]}return r.invert=a(-t),o.invert=function(t,e){var o=Object(i["B"])(t*t+e*e),a=-Object(i["y"])(o),u=Object(i["h"])(o),c=o*u,s=-e*a,f=o*n,l=Object(i["B"])(c*c+s*s-f*f),h=Object(i["g"])(c*f+s*l,s*f-c*l),p=(o>i["o"]?-1:1)*Object(i["g"])(t*a,o*Object(i["h"])(h)*u+e*Object(i["y"])(h)*a);return r.invert(p,h)},o}function a(t){var n=Object(i["y"])(t),e=Object(i["h"])(t);return function(t,r){var o=Object(i["h"])(r),a=Object(i["h"])(t)*o,u=Object(i["y"])(t)*o,c=Object(i["y"])(r);return[Object(i["g"])(u,a*e-c*n),Object(i["e"])(c*e+a*n)]}}n["a"]=function(){var t=0,n=Object(r["geoProjectionMutator"])(o),e=n(t),a=e.rotate,u=e.stream,c=Object(r["geoCircle"])();return e.parallel=function(r){if(!arguments.length)return t*i["j"];var o=e.rotate();return n(t=r*i["v"]).rotate(o)},e.rotate=function(n){return arguments.length?(a.call(e,[n[0],n[1]-t*i["j"]]),c.center([-n[0],-n[1]]),e):(n=a.call(e),n[1]+=t*i["j"],n)},e.stream=function(t){return t=u(t),t.sphere=function(){t.polygonStart();var n,e=.01,r=c.radius(90-e)().coordinates[0],i=r.length-1,o=-1;t.lineStart();while(++o=0)t.point((n=r[o])[0],n[1]);t.lineEnd(),t.polygonEnd()},t},e.scale(79.4187).parallel(45).clipAngle(179.999)}},function(t,n,e){"use strict";n["b"]=f;var r=e(14),i=e(0),o=e(72),a=e(132),u=e(1),c=41+48/36+37/3600,s=Object(a["a"])(0);function f(t){var n=c*u["v"],e=Object(o["a"])(u["s"],n)[0]-Object(o["a"])(-u["s"],n)[0],r=s(0,n)[1],i=Object(o["a"])(0,n)[1],a=u["E"]-i,f=u["H"]/t,l=4/u["H"],h=r+a*a*4/u["H"];function p(c,p){var d,v=Object(u["a"])(p);if(v>n){var g=Object(u["r"])(t-1,Object(u["q"])(0,Object(u["n"])((c+u["s"])/f)));c+=u["s"]*(t-1)/t-g*f,d=Object(o["a"])(c,v),d[0]=d[0]*u["H"]/e-u["H"]*(t-1)/(2*t)+g*u["H"]/t,d[1]=r+4*(d[1]-i)*a/u["H"],p<0&&(d[1]=-d[1])}else d=s(c,p);return d[0]*=l,d[1]/=h,d}return p.invert=function(n,c){n/=l,c*=h;var p=Object(u["a"])(c);if(p>r){var d=Object(u["r"])(t-1,Object(u["q"])(0,Object(u["n"])((n+u["s"])/f)));n=(n+u["s"]*(t-1)/t-d*f)*e/u["H"];var v=o["a"].invert(n,.25*(p-r)*u["H"]/a+i);return v[0]-=u["s"]*(t-1)/t-d*f,c<0&&(v[1]=-v[1]),v}return s.invert(n,c)},p}function l(t){return{type:"Polygon",coordinates:[Object(r["range"])(-180,180+t/2,t).map((function(t,n){return[t,1&n?89.999999:c]})).concat(Object(r["range"])(180,-180-t/2,-t).map((function(t,n){return[t,1&n?-89.999999:-c]})))]}}n["a"]=function(){var t=4,n=Object(i["geoProjectionMutator"])(f),e=n(t),r=e.stream;return e.lobes=function(e){return arguments.length?n(t=+e):t},e.stream=function(n){var o=e.rotate(),a=r(n),u=(e.rotate([0,0]),r(n));return e.rotate(o),a.sphere=function(){Object(i["geoStream"])(l(180/t),u)},a},e.scale(239.75)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t){var n,e=1+t,r=Object(i["y"])(1/e),o=Object(i["e"])(r),a=2*Object(i["B"])(i["s"]/(n=i["s"]+4*o*e)),u=.5*a*(e+Object(i["B"])(t*(2+t))),c=t*t,s=e*e;function f(r,f){var l,h,p=1-Object(i["y"])(f);if(p&&p<2){var d,v=i["o"]-f,g=25;do{var b=Object(i["y"])(v),y=Object(i["h"])(v),m=o+Object(i["g"])(b,e-y),j=1+s-2*e*y;v-=d=(v-c*o-e*b+j*m-.5*p*n)/(2*e*b*m)}while(Object(i["a"])(d)>i["l"]&&--g>0);l=a*Object(i["B"])(j),h=r*m/i["s"]}else l=a*(t+p),h=r*o/i["s"];return[l*Object(i["y"])(h),u-l*Object(i["h"])(h)]}return f.invert=function(t,r){var f=t*t+(r-=u)*r,l=(1+s-f/(a*a))/(2*e),h=Object(i["b"])(l),p=Object(i["y"])(h),d=o+Object(i["g"])(p,e-l);return[Object(i["e"])(t/Object(i["B"])(f))*i["s"]/d,Object(i["e"])(1-2*(h-c*o-e*p+(1+s-2*e*l)*d)/n)]},f}n["a"]=function(){var t=1,n=Object(r["geoProjectionMutator"])(o),e=n(t);return e.ratio=function(e){return arguments.length?n(t=+e):t},e.scale(167.774).center([0,18.67])}},function(t,n,e){"use strict";var r=e(131),i=e(23),o=[[[[-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]]]];n["a"]=function(){return Object(i["a"])(r["a"],o).scale(160.857)}},function(t,n,e){"use strict";var r=e(136),i=e(23),o=[[[[-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]]]];n["a"]=function(){return Object(i["a"])(r["b"],o).scale(152.63)}},function(t,n,e){"use strict";var r=e(21),i=e(23),o=[[[[-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]]]];n["a"]=function(){return Object(i["a"])(r["d"],o).scale(169.529)}},function(t,n,e){"use strict";var r=e(21),i=e(23),o=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];n["a"]=function(){return Object(i["a"])(r["d"],o).scale(169.529).rotate([20,0])}},function(t,n,e){"use strict";var r=e(73),i=e(23),o=[[[[-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]]]];n["a"]=function(){return Object(i["a"])(r["c"],o).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}},function(t,n,e){"use strict";var r=e(38),i=e(23),o=[[[[-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]]]];n["a"]=function(){return Object(i["a"])(r["b"],o).scale(152.63).rotate([-20,0])}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){return[3/i["H"]*t*Object(i["B"])(i["s"]*i["s"]/3-n*n),n]}o.invert=function(t,n){return[i["H"]/3*t/Object(i["B"])(i["s"]*i["s"]/3-n*n),n]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(158.837)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t){function n(n,e){if(Object(i["a"])(Object(i["a"])(e)-i["o"])2)return null;n/=2,e/=2;var o=n*n,a=e*e,u=2*e/(1+o+a);return u=Object(i["t"])((1+u)/(1-u),1/t),[Object(i["g"])(2*n,1-o-a)/t,Object(i["e"])((u-1)/(u+1))]},n}n["a"]=function(){var t=.5,n=Object(r["geoProjectionMutator"])(o),e=n(t);return e.spacing=function(e){return arguments.length?n(t=+e):t},e.scale(124.75)}},function(t,n,e){"use strict";n["b"]=a;var r=e(0),i=e(1),o=i["s"]/i["D"];function a(t,n){return[t*(1+Object(i["B"])(Object(i["h"])(n)))/2,n/(Object(i["h"])(n/2)*Object(i["h"])(t/6))]}a.invert=function(t,n){var e=Object(i["a"])(t),r=Object(i["a"])(n),a=i["k"],u=i["o"];ri["k"]||Object(i["a"])(b)>i["k"])&&--o>0);return o&&[e,r]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(139.98)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){return[Object(i["y"])(t)/Object(i["h"])(n),Object(i["F"])(n)*Object(i["h"])(t)]}o.invert=function(t,n){var e=t*t,r=n*n,o=r+1,a=t?i["C"]*Object(i["B"])((o-Object(i["B"])(e*e+2*e*(r-1)+o*o))/e+1):1/Object(i["B"])(o);return[Object(i["e"])(t*a),Object(i["x"])(n)*Object(i["b"])(a)]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(144.049).clipAngle(89.999)}},function(t,n,e){"use strict";n["b"]=o;var r=e(31),i=e(1);function o(t){var n=Object(i["h"])(t),e=Object(i["F"])(i["u"]+t/2);function r(r,o){var a=o-t,u=Object(i["a"])(a)=0)l=t[f],h=l[0]+c*(o=h)-s*p,p=l[1]+c*p+s*o;return h=c*(o=h)-s*p,p=c*p+s*o,[h,p]}return e.invert=function(e,r){var o=20,a=e,u=r;do{var c,s=n,f=t[s],l=f[0],h=f[1],p=0,d=0;while(--s>=0)f=t[s],p=l+a*(c=p)-u*d,d=h+a*d+u*c,l=f[0]+a*(c=l)-u*h,h=f[1]+a*h+u*c;p=l+a*(c=p)-u*d,d=h+a*d+u*c,l=a*(c=l)-u*h-e,h=a*h+u*c-r;var v,g,b=p*p+d*d;a-=v=(l*p+h*d)/b,u-=g=(h*p-l*d)/b}while(Object(i["a"])(v)+Object(i["a"])(g)>i["k"]*i["k"]&&--o>0);if(o){var y=Object(i["B"])(a*a+u*u),m=2*Object(i["f"])(.5*y),j=Object(i["y"])(m);return[Object(i["g"])(a*j,y*Object(i["h"])(m)),y?Object(i["e"])(u*j/y):0]}},e}var a=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],u=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],c=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],s=[[.9245,0],[0,0],[.01943,0]],f=[[.721316,0],[0,0],[-.00881625,-.00617325]];function l(){return g(a,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)}function h(){return g(u,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])}function p(){return g(c,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])}function d(){return g(s,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)}function v(){return g(f,[165,10]).scale(250).clipAngle(130).center([-165,-10])}function g(t,n){var e=Object(r["geoProjection"])(o(t)).rotate(n).clipAngle(90),i=Object(r["geoRotation"])(n),a=e.center;return delete e.rotate,e.center=function(t){return arguments.length?a(i(t)):i.invert(a())},e}},function(t,n,e){"use strict";n["b"]=u;var r=e(0),i=e(1),o=Object(i["B"])(6),a=Object(i["B"])(7);function u(t,n){var e=Object(i["e"])(7*Object(i["y"])(n)/(3*o));return[o*t*(2*Object(i["h"])(2*e/3)-1)/a,9*Object(i["y"])(e/3)/a]}u.invert=function(t,n){var e=3*Object(i["e"])(n*a/9);return[t*a/(o*(2*Object(i["h"])(2*e/3)-1)),Object(i["e"])(3*Object(i["y"])(e)*o/7)]},n["a"]=function(){return Object(r["geoProjection"])(u).scale(164.859)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){for(var e,r=(1+i["C"])*Object(i["y"])(n),o=n,a=0;a<25;a++)if(o-=e=(Object(i["y"])(o/2)+Object(i["y"])(o)-r)/(.5*Object(i["h"])(o/2)+Object(i["h"])(o)),Object(i["a"])(e)i["k"]&&--o>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(175.295)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=n*n,r=e*e,i=e*r;return[t*(.84719-.13063*e+i*i*(.05494*e-.04515-.02326*r+.00331*i)),n*(1.01183+r*r*(.01926*e-.02625-.00396*r))]}o.invert=function(t,n){var e,r,o,a,u=n,c=25;do{r=u*u,o=r*r,u-=e=(u*(1.01183+o*o*(.01926*r-.02625-.00396*o))-n)/(1.01183+o*o*(.21186*r-.23625+-.05148*o))}while(Object(i["a"])(e)>i["l"]&&--c>0);return r=u*u,o=r*r,a=r*o,[t/(.84719-.13063*r+a*a*(.05494*r-.04515-.02326*o+.00331*a)),u]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(175.295)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){return[t*(1+Object(i["h"])(n))/2,2*(n-Object(i["F"])(n/2))]}o.invert=function(t,n){for(var e=n/2,r=0,o=1/0;r<10&&Object(i["a"])(o)>i["k"];++r){var a=Object(i["h"])(n/2);n-=o=(n-Object(i["F"])(n/2)-e)/(1-.5/(a*a))}return[2*t/(1+Object(i["h"])(n)),n]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(152.63)}},function(t,n,e){"use strict";n["b"]=d;var r=e(0),i=e(1),o=1.0148,a=.23185,u=-.14499,c=.02406,s=o,f=5*a,l=7*u,h=9*c,p=1.790857183;function d(t,n){var e=n*n;return[t,n*(o+e*e*(a+e*(u+c*e)))]}d.invert=function(t,n){n>p?n=p:n<-p&&(n=-p);var e,r=n;do{var d=r*r;r-=e=(r*(o+d*d*(a+d*(u+c*d)))-n)/(s+d*d*(f+d*(l+h*d)))}while(Object(i["a"])(e)>i["k"]);return[t,r]},n["a"]=function(){return Object(r["geoProjection"])(d).scale(139.319)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){if(Object(i["a"])(n)i["k"]&&--a>0);return u=Object(i["F"])(o),[(Object(i["a"])(n)0?[-n[0],0]:[180-n[0],180])};var n=u["a"].map((function(n){return{face:n,project:t(n)}}));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])})),Object(a["a"])(n[0],(function(t,e){return n[t<-o["s"]/2?e<0?6:4:t<0?e<0?2:0:t1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}}},function(t,n,e){"use strict";n["a"]=function(){}},function(t,n,e){"use strict";n["a"]=function(t){if((n=t.length)<4)return!1;var n,e=0,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];while(++er^p>r&&e<(h-s)*(r-f)/(p-f)+s&&(i=!i)}return i}},function(t,n,e){"use strict";var r=e(133),i=e(75);n["a"]=function(){return Object(i["a"])(r["b"]).scale(176.423)}},function(t,n,e){"use strict";n["a"]=function(t,n){if(!(0<=(n=+n)&&n<=20))throw new Error("invalid digits");function e(t){var e=t.length,r=2,i=new Array(e);i[0]=+t[0].toFixed(n),i[1]=+t[1].toFixed(n);while(rr["k"]&&--c>0);var h=e*(s=Object(r["F"])(u)),p=Object(r["F"])(Object(r["a"])(i)0?i["o"]:-i["o"])*(l+u*(p-s)/2+u*u*(p-2*l+s)/2)]}o.forEach((function(t){t[1]*=1.0144})),a.invert=function(t,n){var e=n/i["o"],r=90*e,a=Object(i["r"])(18,Object(i["a"])(r/5)),u=Object(i["q"])(0,Object(i["n"])(a));do{var c=o[u][1],s=o[u+1][1],f=o[Object(i["r"])(19,u+2)][1],l=f-c,h=f-2*s+c,p=2*(Object(i["a"])(e)-s)/l,d=h/l,v=p*(1-d*p*(1-2*d*p));if(v>=0||1===u){r=(n>=0?5:-5)*(v+a);var g,b=50;do{a=Object(i["r"])(18,Object(i["a"])(r)/5),u=Object(i["n"])(a),v=a-u,c=o[u][1],s=o[u+1][1],f=o[Object(i["r"])(19,u+2)][1],r-=(g=(n>=0?i["o"]:-i["o"])*(s+v*(f-c)/2+v*v*(f-2*s+c)/2)-n)*i["j"]}while(Object(i["a"])(g)>i["l"]&&--b>0);break}}while(--u>=0);var y=o[u][0],m=o[u+1][0],j=o[Object(i["r"])(19,u+2)][0];return[t/(m+v*(j-y)/2+v*v*(j-2*m+y)/2),r*i["v"]]},n["a"]=function(){return Object(r["geoProjection"])(a).scale(152.63)}},function(t,n,e){"use strict";n["b"]=a;var r=e(0),i=e(1);function o(t){function n(n,e){var r=Object(i["h"])(e),o=(t-1)/(t-r*Object(i["h"])(n));return[o*r*Object(i["y"])(n),o*Object(i["y"])(e)]}return n.invert=function(n,e){var r=n*n+e*e,o=Object(i["B"])(r),a=(t-Object(i["B"])(1-r*(t+1)/(t-1)))/((t-1)/o+o/(t-1));return[Object(i["g"])(n*a,o*Object(i["B"])(1-a*a)),o?Object(i["e"])(e*a/o):0]},n}function a(t,n){var e=o(t);if(!n)return e;var r=Object(i["h"])(n),a=Object(i["y"])(n);function u(n,i){var o=e(n,i),u=o[1],c=u*a/(t-1)+r;return[o[0]*r/c,u/c]}return u.invert=function(n,i){var o=(t-1)/(t-1-i*a);return e.invert(o*n,o*i*r)},u}n["a"]=function(){var t=2,n=0,e=Object(r["geoProjectionMutator"])(a),o=e(t,n);return o.distance=function(r){return arguments.length?e(t=+r,n):t},o.tilt=function(r){return arguments.length?e(t,n=r*i["v"]):n*i["j"]},o.scale(432.147).clipAngle(Object(i["b"])(1/t)*i["j"]-1e-6)}},function(t,n,e){"use strict";var r=1e-4,i=1e4,o=-180,a=o+r,u=180,c=u-r,s=-90,f=s+r,l=90,h=l-r;function p(t){return t.length>0}function d(t){return Math.floor(t*i)/i}function v(t){return t===s||t===l?[0,t]:[o,d(t)]}function g(t){var n=t[0],e=t[1],r=!1;return n<=a?(n=o,r=!0):n>=c&&(n=u,r=!0),e<=f?(e=s,r=!0):e>=h&&(e=l,r=!0),r?[n,e]:t}function b(t){return t.map(g)}function y(t,n,e){for(var r=0,i=t.length;r=c||d<=f||d>=h){o[u]=g(l);for(var b=u+1;ba&&mf&&j=s)break;e.push({index:-1,polygon:n,ring:o=o.slice(b-1)}),o[0]=v(o[0][1]),u=-1,s=o.length}}}}function m(t){var n,e,r,i,o,a,u=t.length,c={},s={};for(n=0;ni["k"]&&--c>0);return[Object(i["x"])(t)*(Object(i["B"])(o*o+4)+o)*i["s"]/4,i["o"]*u]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(127.16)}},function(t,n,e){"use strict";e.d(n,"b",(function(){return c}));var r=e(0),i=e(1),o=e(21),a=4*i["s"]+3*Object(i["B"])(3),u=2*Object(i["B"])(2*i["s"]*Object(i["B"])(3)/a),c=Object(o["b"])(u*Object(i["B"])(3)/i["s"],u,a/6);n["a"]=function(){return Object(r["geoProjection"])(c).scale(176.84)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){return[t*Object(i["B"])(1-3*n*n/(i["s"]*i["s"])),n]}o.invert=function(t,n){return[t/Object(i["B"])(1-3*n*n/(i["s"]*i["s"])),n]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(152.63)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=.90631*Object(i["y"])(n),r=Object(i["B"])(1-e*e),o=Object(i["B"])(2/(1+r*Object(i["h"])(t/=3)));return[2.66723*r*o*Object(i["y"])(t),1.24104*e*o]}o.invert=function(t,n){var e=t/2.66723,r=n/1.24104,o=Object(i["B"])(e*e+r*r),a=2*Object(i["e"])(o/2);return[3*Object(i["g"])(t*Object(i["F"])(a),2.66723*o),o&&Object(i["e"])(n*Object(i["y"])(a)/(1.24104*.90631*o))]},n["a"]=function(){return Object(r["geoProjection"])(o).scale(172.632)}},function(t,n,e){"use strict";n["b"]=o;var r=e(0),i=e(1);function o(t,n){var e=Object(i["h"])(n),r=Object(i["h"])(t)*e,o=1-r,a=Object(i["h"])(t=Object(i["g"])(Object(i["y"])(t)*e,-Object(i["y"])(n))),u=Object(i["y"])(t);return e=Object(i["B"])(1-r*r),[u*e-a*o,-a*e-u*o]}o.invert=function(t,n){var e=(t*t+n*n)/-2,r=Object(i["B"])(-e*(2+e)),o=n*e+t*r,a=t*e-n*r,u=Object(i["B"])(a*a+o*o);return[Object(i["g"])(r*o,u*(1+e)),u?-Object(i["e"])(r*a/u):0]},n["a"]=function(){return Object(r["geoProjection"])(o).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}},function(t,n,e){"use strict";n["b"]=a;var r=e(0),i=e(129),o=e(1);function a(t,n){var e=Object(i["a"])(t,n);return[(e[0]+t/o["o"])/2,(e[1]+n)/2]}a.invert=function(t,n){var e=t,r=n,i=25;do{var a,u=Object(o["h"])(r),c=Object(o["y"])(r),s=Object(o["y"])(2*r),f=c*c,l=u*u,h=Object(o["y"])(e),p=Object(o["h"])(e/2),d=Object(o["y"])(e/2),v=d*d,g=1-l*p*p,b=g?Object(o["b"])(u*p)*Object(o["B"])(a=1/g):a=0,y=.5*(2*b*u*d+e/o["o"])-t,m=.5*(b*c+r)-n,j=.5*a*(l*v+b*u*p*f)+.5/o["o"],_=a*(h*s/4-b*c*d),O=.125*a*(s*d-b*c*l*h),w=.5*a*(f*p+b*v*u)+.5,x=_*O-w*j,E=(m*_-y*w)/x,k=(y*O-m*j)/x;e-=E,r-=k}while((Object(o["a"])(E)>o["k"]||Object(o["a"])(k)>o["k"])&&--i>0);return[e,r]},n["a"]=function(){return Object(r["geoProjection"])(a).scale(158.837)}},function(t,n,e){var r=e(11),i=e(54),o=e(140);function a(t,n){var e=void 0;if(r(n)&&(e=n),i(n)&&(e=function(t){return o(t,n)}),e)for(var a=0;au&&(u=t),nc&&(c=n)}function l(t,e,r){var i=e[1][0]-e[0][0],o=e[1][1]-e[0][1],a=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=a&&t.clipExtent(null),n.geoStream(r,t.stream(s));var u=s.result(),c=Math.min(i/(u[1][0]-u[0][0]),o/(u[1][1]-u[0][1])),f=+e[0][0]+(i-c*(u[1][0]+u[0][0]))/2,l=+e[0][1]+(o-c*(u[1][1]+u[0][1]))/2;return null!=a&&t.clipExtent(a),t.scale(150*c).translate([f,l])}function h(t,n,e){return l(t,[[0,0],n],e)}function p(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=.12&&i<.234&&r>=-.425&&r<-.214?f:i>=.166&&i<.234&&r>=-.214&&r<-.115?d:s).invert(t)},g.stream=function(n){return t&&i===n?t:t=p([s.stream(i=n),f.stream(n),d.stream(n)])},g.precision=function(t){return arguments.length?(s.precision(t),f.precision(t),d.precision(t),b()):s.precision()},g.scale=function(t){return arguments.length?(s.scale(t),f.scale(.35*t),d.scale(t),g.translate(s.translate())):s.scale()},g.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],i=+t[1];return o=s.translate(t).clipExtent([[e-.455*n,i-.238*n],[e+.455*n,i+.238*n]]).stream(v),a=f.translate([e-.307*n,i+.201*n]).clipExtent([[e-.425*n+r,i+.12*n+r],[e-.214*n-r,i+.234*n-r]]).stream(v),u=d.translate([e-.205*n,i+.212*n]).clipExtent([[e-.214*n+r,i+.166*n+r],[e-.115*n-r,i+.234*n-r]]).stream(v),b()},g.fitExtent=function(t,n){return l(g,t,n)},g.fitSize=function(t,n){return h(g,t,n)},g.drawCompositionBorders=function(t){var n=s([-102.91,26.3]),e=s([-104,27.5]),r=s([-108,29.1]),i=s([-110,29.1]),o=s([-110,26.7]),a=s([-112.8,27.6]),u=s([-114.3,30.6]),c=s([-119.3,30.1]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(u[0],u[1]),t.lineTo(c[0],c[1])},g.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},g.scale(1070)}function v(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=.12&&i<.234&&r>=-.425&&r<-.214?g:i>=.166&&i<.234&&r>=-.214&&r<-.115?b:i>=.2064&&i<.2413&&r>=.312&&r<.385?y:i>=.09&&i<.1197&&r>=-.4243&&r<-.3232?m:i>=-.0518&&i<.0895&&r>=-.4243&&r<-.3824?j:d).invert(t)},O.stream=function(n){return t&&i===n?t:t=v([d.stream(i=n),g.stream(n),b.stream(n),y.stream(n),m.stream(n),j.stream(n)])},O.precision=function(t){return arguments.length?(d.precision(t),g.precision(t),b.precision(t),y.precision(t),m.precision(t),j.precision(t),w()):d.precision()},O.scale=function(t){return arguments.length?(d.scale(t),g.scale(.35*t),b.scale(t),y.scale(t),m.scale(2*t),j.scale(t),O.translate(d.translate())):d.scale()},O.translate=function(t){if(!arguments.length)return d.translate();var n=d.scale(),e=+t[0],i=+t[1];return o=d.translate(t).clipExtent([[e-.455*n,i-.238*n],[e+.455*n,i+.238*n]]).stream(_),a=g.translate([e-.307*n,i+.201*n]).clipExtent([[e-.425*n+r,i+.12*n+r],[e-.214*n-r,i+.233*n-r]]).stream(_),u=b.translate([e-.205*n,i+.212*n]).clipExtent([[e-.214*n+r,i+.166*n+r],[e-.115*n-r,i+.233*n-r]]).stream(_),c=y.translate([e+.35*n,i+.224*n]).clipExtent([[e+.312*n+r,i+.2064*n+r],[e+.385*n-r,i+.233*n-r]]).stream(_),s=m.translate([e-.492*n,i+.09*n]).clipExtent([[e-.4243*n+r,i+.0903*n+r],[e-.3233*n-r,i+.1197*n-r]]).stream(_),f=j.translate([e-.408*n,i+.018*n]).clipExtent([[e-.4244*n+r,i-.0519*n+r],[e-.3824*n-r,i+.0895*n-r]]).stream(_),w()},O.fitExtent=function(t,n){return l(O,t,n)},O.fitSize=function(t,n){return h(O,t,n)},O.drawCompositionBorders=function(t){var n=d([-110.4641,28.2805]),e=d([-104.0597,28.9528]),r=d([-103.7049,25.1031]),i=d([-109.8337,24.4531]),o=d([-124.4745,28.1407]),a=d([-110.931,30.8844]),u=d([-109.8337,24.4531]),c=d([-122.4628,21.8562]),s=d([-76.8579,25.1544]),f=d([-72.429,24.2097]),l=d([-72.8265,22.7056]),h=d([-77.1852,23.6392]),p=d([-125.0093,29.7791]),v=d([-118.5193,31.3262]),g=d([-118.064,29.6912]),b=d([-124.4369,28.169]),y=d([-128.1314,37.4582]),m=d([-125.2132,38.214]),j=d([-122.3616,30.5115]),_=d([-125.0315,29.8211]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(c[0],c[1]),t.closePath(),t.moveTo(s[0],s[1]),t.lineTo(f[0],f[1]),t.lineTo(l[0],l[1]),t.lineTo(l[0],l[1]),t.lineTo(h[0],h[1]),t.closePath(),t.moveTo(p[0],p[1]),t.lineTo(v[0],v[1]),t.lineTo(g[0],g[1]),t.lineTo(g[0],g[1]),t.lineTo(b[0],b[1]),t.closePath(),t.moveTo(y[0],y[1]),t.lineTo(m[0],m[1]),t.lineTo(j[0],j[1]),t.lineTo(j[0],j[1]),t.lineTo(_[0],_[1]),t.closePath()},O.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},O.scale(1070)}function b(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=.05346&&i<.0897&&r>=-.13388&&r<-.0322?s:c).invert(t)},p.stream=function(n){return t&&i===n?t:t=b([c.stream(i=n),s.stream(n)])},p.precision=function(t){return arguments.length?(c.precision(t),s.precision(t),d()):c.precision()},p.scale=function(t){return arguments.length?(c.scale(t),s.scale(t),p.translate(c.translate())):c.scale()},p.translate=function(t){if(!arguments.length)return c.translate();var n=c.scale(),e=+t[0],i=+t[1];return o=c.translate(t).clipExtent([[e-.06857*n,i-.1288*n],[e+.13249*n,i+.06*n]]).stream(f),a=s.translate([e+.1*n,i-.094*n]).clipExtent([[e-.1331*n+r,i+.053457*n+r],[e-.0354*n-r,i+.08969*n-r]]).stream(f),d()},p.fitExtent=function(t,n){return l(p,t,n)},p.fitSize=function(t,n){return h(p,t,n)},p.drawCompositionBorders=function(t){var n=c([-14.034675,34.965007]),e=c([-7.4208899,35.536988]),r=c([-7.3148275,33.54359]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1])},p.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},p.scale(2700)}function m(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=.0093&&i<.03678&&r>=-.03875&&r<-.0116?f:i>=-.0412&&i<.0091&&r>=-.07782&&r<-.01166?p:s).invert(t)},v.stream=function(n){return t&&i===n?t:t=m([s.stream(i=n),f.stream(n),p.stream(n)])},v.precision=function(t){return arguments.length?(s.precision(t),f.precision(t),p.precision(t),g()):s.precision()},v.scale=function(t){return arguments.length?(s.scale(t),f.scale(t),p.scale(.6*t),v.translate(s.translate())):s.scale()},v.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],i=+t[1];return o=s.translate(t).clipExtent([[e-.0115*n,i-.1138*n],[e+.2105*n,i+.0673*n]]).stream(d),a=f.translate([e-.0265*n,i+.025*n]).clipExtent([[e-.0388*n+r,i+.0093*n+r],[e-.0116*n-r,i+.0368*n-r]]).stream(d),u=p.translate([e-.045*n,i+-.02*n]).clipExtent([[e-.0778*n+r,i-.0413*n+r],[e-.0117*n-r,i+.0091*n-r]]).stream(d),g()},v.fitExtent=function(t,n){return l(v,t,n)},v.fitSize=function(t,n){return h(v,t,n)},v.drawCompositionBorders=function(t){var n=s([-12.8351,38.7113]),e=s([-10.8482,38.7633]),r=s([-10.8181,37.2072]),i=s([-12.7345,37.1573]),o=s([-16.0753,41.4436]),a=s([-10.9168,41.6861]),u=s([-10.8557,38.7747]),c=s([-15.6728,38.5505]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(c[0],c[1]),t.closePath()},v.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},v.scale(4200)}function _(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=-.0676&&i<-.026&&r>=-.0857&&r<-.0263?s:c).invert(t)},p.stream=function(n){return t&&i===n?t:t=_([c.stream(i=n),s.stream(n)])},p.precision=function(t){return arguments.length?(c.precision(t),s.precision(t),d()):c.precision()},p.scale=function(t){return arguments.length?(c.scale(t),s.scale(t),p.translate(c.translate())):c.scale()},p.translate=function(t){if(!arguments.length)return c.translate();var n=c.scale(),e=+t[0],i=+t[1];return o=c.translate(t).clipExtent([[e-.0262*n,i-.0734*n],[e+.1741*n,i+.079*n]]).stream(f),a=s.translate([e-.06*n,i-.04*n]).clipExtent([[e-.0857*n+r,i-.0676*n+r],[e-.0263*n-r,i-.026*n-r]]).stream(f),d()},p.fitExtent=function(t,n){return l(p,t,n)},p.fitSize=function(t,n){return h(p,t,n)},p.drawCompositionBorders=function(t){var n=c([-84.9032,2.3757]),e=c([-81.5047,2.3708]),r=c([-81.5063,-.01]),i=c([-84.9086,-.005]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},p.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},p.scale(3500)}function w(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=.2582&&i<.32&&r>=-.1036&&r<-.087?p:i>=-.01298&&i<.0133&&r>=-.11396&&r<-.05944?d:i>=.01539&&i<.03911&&r>=-.089&&r<-.0588?v:f).invert(t)},b.stream=function(n){return t&&i===n?t:t=w([f.stream(i=n),p.stream(n),d.stream(n),v.stream(n)])},b.precision=function(t){return arguments.length?(f.precision(t),p.precision(t),d.precision(t),v.precision(t),y()):f.precision()},b.scale=function(t){return arguments.length?(f.scale(t),p.scale(.15*t),d.scale(1.5*t),v.scale(1.5*t),b.translate(f.translate())):f.scale()},b.translate=function(t){if(!arguments.length)return f.translate();var n=f.scale(),e=+t[0],i=+t[1];return o=f.translate(t).clipExtent([[e-.059*n,i-.3835*n],[e+.4498*n,i+.3375*n]]).stream(g),a=p.translate([e-.087*n,i+.17*n]).clipExtent([[e-.1166*n+r,i+.2582*n+r],[e-.06*n-r,i+.32*n-r]]).stream(g),u=d.translate([e-.092*n,i-0*n]).clipExtent([[e-.114*n+r,i-.013*n+r],[e-.0594*n-r,i+.0133*n-r]]).stream(g),c=v.translate([e-.089*n,i-.0265*n]).clipExtent([[e-.089*n+r,i+.0154*n+r],[e-.0588*n-r,i+.0391*n-r]]).stream(g),y()},b.fitExtent=function(t,n){return l(b,t,n)},b.fitSize=function(t,n){return h(b,t,n)},b.drawCompositionBorders=function(t){var n=f([-82.6999,-51.3043]),e=f([-77.5442,-51.6631]),r=f([-78.0254,-55.186]),i=f([-83.6106,-54.7785]),o=f([-80.0638,-35.984]),a=f([-76.2153,-36.1811]),u=f([-76.2994,-37.6839]),c=f([-80.2231,-37.4757]),s=f([-78.442,-37.706]),l=f([-76.263,-37.8054]),h=f([-76.344,-39.1595]),p=f([-78.5638,-39.0559]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(u[0],u[1]),t.lineTo(u[0],u[1]),t.lineTo(c[0],c[1]),t.closePath(),t.moveTo(s[0],s[1]),t.lineTo(l[0],l[1]),t.lineTo(h[0],h[1]),t.lineTo(h[0],h[1]),t.lineTo(p[0],p[1]),t.closePath()},b.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},b.scale(700)}function E(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=-.10925&&i<-.02701&&r>=-.135&&r<-.0397?f:i>=.04713&&i<.11138&&r>=-.03986&&r<.051?p:s).invert(t)},v.stream=function(n){return t&&i===n?t:t=E([s.stream(i=n),f.stream(n),p.stream(n)])},v.precision=function(t){return arguments.length?(s.precision(t),f.precision(t),p.precision(t),g()):s.precision()},v.scale=function(t){return arguments.length?(s.scale(t),f.scale(t),p.scale(.7*t),v.translate(s.translate())):s.scale()},v.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],i=+t[1];return o=s.translate(t).clipExtent([[e-.1352*n,i-.1091*n],[e+.117*n,i+.098*n]]).stream(d),a=f.translate([e-.0425*n,i-.005*n]).clipExtent([[e-.135*n+r,i-.1093*n+r],[e-.0397*n-r,i-.027*n-r]]).stream(d),u=p.translate(t).clipExtent([[e-.0399*n+r,i+.0471*n+r],[e+.051*n-r,i+.1114*n-r]]).stream(d),g()},v.fitExtent=function(t,n){return l(v,t,n)},v.fitSize=function(t,n){return h(v,t,n)},v.drawCompositionBorders=function(t){var n=s([126.01320483689143,41.621090310215585]),e=s([133.04304387025903,42.15087523707186]),r=s([133.3021766080688,37.43975444725098]),i=s([126.87889168628224,36.95488945159779]),o=s([132.9,29.8]),a=s([134,33]),u=s([139.3,33.2]),c=s([139.16,30.5]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),t.moveTo(o[0],o[1]),t.lineTo(a[0],a[1]),t.lineTo(u[0],u[1]),t.lineTo(c[0],c[1])},v.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},v.scale(2200)}function S(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=.029&&i<.0864&&r>=-.14&&r<-.0996?_:i>=0&&i<.029&&r>=-.14&&r<-.0996?O:i>=-.032&&i<0&&r>=-.14&&r<-.0996?w:i>=-.052&&i<-.032&&r>=-.14&&r<-.0996?x:i>=-.076&&i<.052&&r>=-.14&&r<-.0996?E:i>=-.076&&i<-.052&&r>=.0967&&r<.1371?k:i>=-.052&&i<-.02&&r>=.0967&&r<.1371?M:i>=-.02&&i<.012&&r>=.0967&&r<.1371?T:i>=.012&&i<.033&&r>=.0967&&r<.1371?C:i>=.033&&i<.0864&&r>=.0967&&r<.1371?P:j).invert(t)},R.stream=function(n){return t&&i===n?t:t=S([j.stream(i=n),_.stream(n),O.stream(n),w.stream(n),x.stream(n),E.stream(n),k.stream(n),M.stream(n),T.stream(n),C.stream(n),P.stream(n),N.stream(n)])},R.precision=function(t){return arguments.length?(j.precision(t),_.precision(t),O.precision(t),w.precision(t),x.precision(t),E.precision(t),k.precision(t),M.precision(t),T.precision(t),C.precision(t),P.precision(t),N.precision(t),B()):j.precision()},R.scale=function(t){return arguments.length?(j.scale(t),_.scale(.6*t),O.scale(1.6*t),w.scale(1.4*t),x.scale(5*t),E.scale(1.3*t),k.scale(1.6*t),M.scale(1.2*t),T.scale(.3*t),C.scale(2.7*t),P.scale(.5*t),N.scale(.06*t),R.translate(j.translate())):j.scale()},R.translate=function(t){if(!arguments.length)return j.translate();var n=j.scale(),e=+t[0],i=+t[1];return o=j.translate(t).clipExtent([[e-.0996*n,i-.0908*n],[e+.0967*n,i+.0864*n]]).stream(A),a=_.translate([e-.12*n,i+.0575*n]).clipExtent([[e-.14*n+r,i+.029*n+r],[e-.0996*n-r,i+.0864*n-r]]).stream(A),u=O.translate([e-.12*n,i+.013*n]).clipExtent([[e-.14*n+r,i+0*n+r],[e-.0996*n-r,i+.029*n-r]]).stream(A),c=w.translate([e-.12*n,i-.014*n]).clipExtent([[e-.14*n+r,i-.032*n+r],[e-.0996*n-r,i+0*n-r]]).stream(A),s=x.translate([e-.12*n,i-.044*n]).clipExtent([[e-.14*n+r,i-.052*n+r],[e-.0996*n-r,i-.032*n-r]]).stream(A),f=E.translate([e-.12*n,i-.065*n]).clipExtent([[e-.14*n+r,i-.076*n+r],[e-.0996*n-r,i-.052*n-r]]).stream(A),p=k.translate([e+.117*n,i-.064*n]).clipExtent([[e+.0967*n+r,i-.076*n+r],[e+.1371*n-r,i-.052*n-r]]).stream(A),d=M.translate([e+.116*n,i-.0355*n]).clipExtent([[e+.0967*n+r,i-.052*n+r],[e+.1371*n-r,i-.02*n-r]]).stream(A),v=T.translate([e+.116*n,i-.0048*n]).clipExtent([[e+.0967*n+r,i-.02*n+r],[e+.1371*n-r,i+.012*n-r]]).stream(A),g=C.translate([e+.116*n,i+.022*n]).clipExtent([[e+.0967*n+r,i+.012*n+r],[e+.1371*n-r,i+.033*n-r]]).stream(A),y=N.translate([e+.11*n,i+.045*n]).clipExtent([[e+.0967*n+r,i+.033*n+r],[e+.1371*n-r,i+.06*n-r]]).stream(A),b=P.translate([e+.115*n,i+.075*n]).clipExtent([[e+.0967*n+r,i+.06*n+r],[e+.1371*n-r,i+.0864*n-r]]).stream(A),B()},R.fitExtent=function(t,n){return l(R,t,n)},R.fitSize=function(t,n){return h(R,t,n)},R.drawCompositionBorders=function(t){var n,e,r,i;n=j([-7.938886725111036,43.7219460918835]),e=j([-4.832080896458295,44.12930268549372]),r=j([-4.205299743793263,40.98096346967365]),i=j([-7.071796453126152,40.610037319181444]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([-8.42751373617692,45.32889452553031]),e=j([-5.18599305777107,45.7566442062976]),r=j([-4.832080905154431,44.129302726751426]),i=j([-7.938886737126192,43.72194613263854]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([-9.012656899657046,47.127733821030176]),e=j([-5.6105244772793155,47.579777861410626]),r=j([-5.185993067168585,45.756644248170346]),i=j([-8.427513749141811,45.32889456686326]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([-9.405747558985553,48.26506375557457]),e=j([-5.896175018439575,48.733352850851624]),r=j([-5.610524487556043,47.57977790393761]),i=j([-9.012656913808351,47.127733862971255]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([-9.908436061346974,49.642448789505856]),e=j([-6.262026716233124,50.131426841787174]),r=j([-5.896175029331232,48.73335289377258]),i=j([-9.40574757396393,48.26506379787767]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([11.996907706504462,50.16039028163579]),e=j([15.649907879773343,49.68279246765253]),r=j([15.156712840526632,48.30371557625831]),i=j([11.64122661754411,48.761078240546816]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([11.641226606955788,48.7610781975889]),e=j([15.156712825832164,48.30371553390465]),r=j([14.549932166241172,46.4866532486199]),i=j([11.204443787952183,46.91899233914248]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([11.204443778297161,46.918992296823646]),e=j([14.549932152815039,46.486653206856396]),r=j([13.994409796764009,44.695833444323256]),i=j([10.805306599253848,45.105133870684924]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([10.805306590412085,45.10513382903308]),e=j([13.99440978444733,44.695833403183606]),r=j([13.654633799024392,43.53552468558152]),i=j([10.561516803980956,43.930671459798624]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([10.561516795617383,43.93067141859757]),e=j([13.654633787361952,43.5355246448671]),r=j([12.867691604239901,40.640701985019405]),i=j([9.997809515987688,41.00288343254471]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([10.8,42.4]),e=j([12.8,42.13]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1])},R.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},R.scale(2700)}function T(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=-.31&&i<-.24&&r>=.14&&r<.24?_:i>=-.24&&i<-.17&&r>=.14&&r<.24?O:i>=-.17&&i<-.12&&r>=.21&&r<.24?x:i>=-.17&&i<-.14&&r>=.14&&r<.165?E:i>=-.17&&i<-.1&&r>=.14&&r<.24?w:i>=-.1&&i<-.03&&r>=.14&&r<.24?k:i>=-.03&&i<.04&&r>=.14&&r<.24?S:i>=-.31&&i<-.24&&r>=.24&&r<.34?M:i>=-.24&&i<-.17&&r>=.24&&r<.34?C:i>=-.17&&i<-.1&&r>=.24&&r<.34?P:i>=-.1&&i<-.03&&r>=.24&&r<.34?N:j).invert(t)},R.stream=function(n){return t&&i===n?t:t=T([j.stream(i=n),O.stream(n),M.stream(n),_.stream(n),S.stream(n),k.stream(n),C.stream(n),P.stream(n),N.stream(n),w.stream(n),x.stream(n),E.stream(n)])},R.precision=function(t){return arguments.length?(j.precision(t),O.precision(t),M.precision(t),_.precision(t),S.precision(t),k.precision(t),C.precision(t),P.precision(t),N.precision(t),w.precision(t),x.precision(t),E.precision(t),B()):j.precision()},R.scale=function(t){return arguments.length?(j.scale(t),_.scale(3*t),O.scale(.8*t),M.scale(3.5*t),P.scale(2.7*t),w.scale(2*t),x.scale(2*t),E.scale(2*t),k.scale(3*t),S.scale(t),C.scale(5.5*t),N.scale(6*t),R.translate(j.translate())):j.scale()},R.translate=function(t){if(!arguments.length)return j.translate();var n=j.scale(),e=+t[0],i=+t[1];return o=j.translate([e-.08*n,i]).clipExtent([[e-.51*n,i-.33*n],[e+.5*n,i+.33*n]]).stream(A),a=_.translate([e+.19*n,i-.275*n]).clipExtent([[e+.14*n+r,i-.31*n+r],[e+.24*n-r,i-.24*n-r]]).stream(A),u=O.translate([e+.19*n,i-.205*n]).clipExtent([[e+.14*n+r,i-.24*n+r],[e+.24*n-r,i-.17*n-r]]).stream(A),c=w.translate([e+.19*n,i-.135*n]).clipExtent([[e+.14*n+r,i-.17*n+r],[e+.24*n-r,i-.1*n-r]]).stream(A),s=x.translate([e+.225*n,i-.147*n]).clipExtent([[e+.21*n+r,i-.17*n+r],[e+.24*n-r,i-.12*n-r]]).stream(A),f=E.translate([e+.153*n,i-.15*n]).clipExtent([[e+.14*n+r,i-.17*n+r],[e+.165*n-r,i-.14*n-r]]).stream(A),p=k.translate([e+.19*n,i-.065*n]).clipExtent([[e+.14*n+r,i-.1*n+r],[e+.24*n-r,i-.03*n-r]]).stream(A),d=S.translate([e+.19*n,i+.005*n]).clipExtent([[e+.14*n+r,i-.03*n+r],[e+.24*n-r,i+.04*n-r]]).stream(A),v=M.translate([e+.29*n,i-.275*n]).clipExtent([[e+.24*n+r,i-.31*n+r],[e+.34*n-r,i-.24*n-r]]).stream(A),g=C.translate([e+.29*n,i-.205*n]).clipExtent([[e+.24*n+r,i-.24*n+r],[e+.34*n-r,i-.17*n-r]]).stream(A),b=P.translate([e+.29*n,i-.135*n]).clipExtent([[e+.24*n+r,i-.17*n+r],[e+.34*n-r,i-.1*n-r]]).stream(A),y=N.translate([e+.29*n,i-.065*n]).clipExtent([[e+.24*n+r,i-.1*n+r],[e+.34*n-r,i-.03*n-r]]).stream(A),B()},R.fitExtent=function(t,n){return l(R,t,n)},R.fitSize=function(t,n){return h(R,t,n)},R.drawCompositionBorders=function(t){var n,e,r,i;n=j([42.45755610828648,63.343658547914934]),e=j([52.65837266667029,59.35045080290929]),r=j([47.19754502247785,56.12653496548117]),i=j([37.673034273363044,59.61638268506111]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([59.41110754003403,62.35069727399336]),e=j([66.75050228640794,57.11797303636038]),r=j([60.236065725110436,54.63331433818992]),i=j([52.65837313153311,59.350450804599355]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([48.81091130080243,66.93353402634641]),e=j([59.41110730654679,62.35069740653086]),r=j([52.6583728974441,59.3504509222445]),i=j([42.45755631675751,63.34365868805821]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([31.054198418446475,52.1080673766184]),e=j([39.09869284884117,49.400700047190554]),r=j([36.0580811499175,46.02944174908498]),i=j([28.690508588835726,48.433126979386415]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([33.977877745912025,55.849945501331]),e=j([42.75328432167726,52.78455122462353]),r=j([39.09869297540224,49.400700176148625]),i=j([31.05419851807008,52.10806751810923]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([52.658372900759296,59.35045068526415]),e=j([60.23606549583304,54.63331423800264]),r=j([54.6756370953122,51.892298789399455]),i=j([47.19754524788189,56.126534861222794]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([47.19754506082455,56.126534735591456]),e=j([54.675636900123514,51.892298681337095]),r=j([49.94448648951486,48.98775484983285]),i=j([42.75328468716108,52.78455126060818]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([42.75328453416769,52.78455113209101]),e=j([49.94448632339758,48.98775473706457]),r=j([45.912339990394315,45.99361784987003]),i=j([39.09869317356607,49.40070009378711]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([37.673034114296634,59.61638254183119]),e=j([47.197544835420544,56.126534839849846]),r=j([42.75328447467064,52.78455135314068]),i=j([33.977877870363905,55.849945644671145]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([44.56748486446032,57.26489367845818]),r=j([43.9335791193588,53.746540942601726]),i=j([43,56]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=j([37.673034114296634,59.61638254183119]),e=j([40.25902691953466,58.83002044222639]),r=j([38.458270492742024,57.26232178028002]),i=j([35.97754948030156,58.00266637992386]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},R.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},R.scale(750)}function P(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=-.0521&&i<.0229&&r>=-.0111&&r<.1?s:c).invert(t)},p.stream=function(n){return t&&i===n?t:t=P([c.stream(i=n),s.stream(n)])},p.precision=function(t){return arguments.length?(c.precision(t),s.precision(t),d()):c.precision()},p.scale=function(t){return arguments.length?(c.scale(t),s.scale(.615*t),p.translate(c.translate())):c.scale()},p.translate=function(t){if(!arguments.length)return c.translate();var n=c.scale(),e=+t[0],i=+t[1];return o=c.translate(t).clipExtent([[e-.11*n,i-.0521*n],[e-.0111*n,i+.0521*n]]).stream(f),a=s.translate([e+.09*n,i-0*n]).clipExtent([[e-.0111*n+r,i-.0521*n+r],[e+.1*n-r,i+.024*n-r]]).stream(f),d()},p.fitExtent=function(t,n){return l(p,t,n)},p.fitSize=function(t,n){return h(p,t,n)},p.drawCompositionBorders=function(t){var n=c([106.3214,2.0228]),e=c([105.1843,2.3761]),r=c([104.2151,3.3618]),i=c([104.215,4.5651]);t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1])},p.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},p.scale(4800)}function A(t){var n=t.length;return{point:function(e,r){var i=-1;while(++i=-.02&&i<0&&r>=-.038&&r<-.005?f:i>=0&&i<.02&&r>=-.038&&r<-.005?p:s).invert(t)},v.stream=function(n){return t&&i===n?t:t=A([s.stream(i=n),f.stream(n),p.stream(n)])},v.precision=function(t){return arguments.length?(s.precision(t),f.precision(t),p.precision(t),g()):s.precision()},v.scale=function(t){return arguments.length?(s.scale(t),f.scale(1.5*t),p.scale(4*t),v.translate(s.translate())):s.scale()},v.translate=function(t){if(!arguments.length)return s.translate();var n=s.scale(),e=+t[0],i=+t[1];return o=s.translate(t).clipExtent([[e-.005*n,i-.02*n],[e+.038*n,i+.02*n]]).stream(d),a=f.translate([e-.025*n,i-.01*n]).clipExtent([[e-.038*n+r,i-.02*n+r],[e-.005*n-r,i+0*n-r]]).stream(d),u=p.translate([e-.025*n,i+.01*n]).clipExtent([[e-.038*n+r,i-0*n+r],[e-.005*n-r,i+.02*n-r]]).stream(d),g()},v.fitExtent=function(t,n){return l(v,t,n)},v.fitSize=function(t,n){return h(v,t,n)},v.drawCompositionBorders=function(t){var n,e,r,i;n=s([9.21327272751682,2.645820439454123]),e=s([11.679126293239872,2.644755519268689]),r=s([11.676845389029227,.35307824637606433]),i=s([9.213572917774014,.35414205204417754]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=s([7.320873711543669,2.64475551449975]),e=s([9.213272722738658,2.645820434679803]),r=s([9.213422896480349,1.4999812505283054]),i=s([7.322014760520787,1.4989168878985566]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath(),n=s([7.3220147605302905,1.4989168783492766]),e=s([9.213422896481598,1.499981240979021]),r=s([9.213572912999604,.354142056817247]),i=s([7.323154615739809,.353078251154504]),t.moveTo(n[0],n[1]),t.lineTo(e[0],e[1]),t.lineTo(r[0],r[1]),t.lineTo(i[0],i[1]),t.closePath()},v.getCompositionBorders=function(){var t=e.path();return this.drawCompositionBorders(t),t.toString()},v.scale(12e3)}t.geoAlbersUsa=d,t.geoAlbersUsaTerritories=g,t.geoConicConformalSpain=y,t.geoConicConformalPortugal=j,t.geoMercatorEcuador=O,t.geoTransverseMercatorChile=x,t.geoConicEquidistantJapan=k,t.geoConicConformalFrance=M,t.geoConicConformalEurope=C,t.geoMercatorMalaysia=N,t.geoMercatorEquatorialGuinea=R,Object.defineProperty(t,"__esModule",{value:!0})}))},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(142);e.d(n,"geoArea",(function(){return r["c"]}));var i=e(324);e.d(n,"geoBounds",(function(){return i["a"]}));var o=e(325);e.d(n,"geoCentroid",(function(){return o["a"]}));var a=e(143);e.d(n,"geoCircle",(function(){return a["b"]}));var u=e(145);e.d(n,"geoClipExtent",(function(){return u["b"]}));var c=e(328);e.d(n,"geoDistance",(function(){return c["a"]}));var s=e(329);e.d(n,"geoGraticule",(function(){return s["a"]}));var f=e(330);e.d(n,"geoInterpolate",(function(){return f["a"]}));var l=e(149);e.d(n,"geoLength",(function(){return l["a"]}));var h=e(331);e.d(n,"geoPath",(function(){return h["a"]}));var p=e(152);e.d(n,"geoAlbers",(function(){return p["a"]}));var d=e(340);e.d(n,"geoAlbersUsa",(function(){return d["a"]}));var v=e(341);e.d(n,"geoAzimuthalEqualArea",(function(){return v["b"]})),e.d(n,"geoAzimuthalEqualAreaRaw",(function(){return v["a"]}));var g=e(342);e.d(n,"geoAzimuthalEquidistant",(function(){return g["b"]})),e.d(n,"geoAzimuthalEquidistantRaw",(function(){return g["a"]}));var b=e(343);e.d(n,"geoConicConformal",(function(){return b["b"]})),e.d(n,"geoConicConformalRaw",(function(){return b["a"]}));var y=e(79);e.d(n,"geoConicEqualArea",(function(){return y["b"]})),e.d(n,"geoConicEqualAreaRaw",(function(){return y["a"]}));var m=e(344);e.d(n,"geoConicEquidistant",(function(){return m["b"]})),e.d(n,"geoConicEquidistantRaw",(function(){return m["a"]}));var j=e(155);e.d(n,"geoEquirectangular",(function(){return j["a"]})),e.d(n,"geoEquirectangularRaw",(function(){return j["b"]}));var _=e(345);e.d(n,"geoGnomonic",(function(){return _["a"]})),e.d(n,"geoGnomonicRaw",(function(){return _["b"]}));var O=e(18);e.d(n,"geoProjection",(function(){return O["a"]})),e.d(n,"geoProjectionMutator",(function(){return O["b"]}));var w=e(82);e.d(n,"geoMercator",(function(){return w["a"]})),e.d(n,"geoMercatorRaw",(function(){return w["c"]}));var x=e(346);e.d(n,"geoOrthographic",(function(){return x["a"]})),e.d(n,"geoOrthographicRaw",(function(){return x["b"]}));var E=e(347);e.d(n,"geoStereographic",(function(){return E["a"]})),e.d(n,"geoStereographicRaw",(function(){return E["b"]}));var k=e(348);e.d(n,"geoTransverseMercator",(function(){return k["a"]})),e.d(n,"geoTransverseMercatorRaw",(function(){return k["b"]}));var S=e(78);e.d(n,"geoRotation",(function(){return S["a"]}));var M=e(26);e.d(n,"geoStream",(function(){return M["a"]}));var T=e(81);e.d(n,"geoTransform",(function(){return T["a"]}))},function(t,n,e){"use strict";var r,i,o,a,u,c,s,f,l,h,p=e(42),d=e(142),v=e(43),g=e(5),b=e(26),y=Object(p["a"])(),m={point:j,lineStart:O,lineEnd:w,polygonStart:function(){m.point=x,m.lineStart=E,m.lineEnd=k,y.reset(),d["b"].polygonStart()},polygonEnd:function(){d["b"].polygonEnd(),m.point=j,m.lineStart=O,m.lineEnd=w,d["a"]<0?(r=-(o=180),i=-(a=90)):y>g["i"]?a=90:y<-g["i"]&&(i=-90),h[0]=r,h[1]=o}};function j(t,n){l.push(h=[r=t,o=t]),na&&(a=n)}function _(t,n){var e=Object(v["a"])([t*g["r"],n*g["r"]]);if(f){var c=Object(v["c"])(f,e),s=[c[1],-c[0],0],l=Object(v["c"])(s,c);Object(v["e"])(l),l=Object(v["g"])(l);var h,p=t-u,d=p>0?1:-1,b=l[0]*g["h"]*d,y=Object(g["a"])(p)>180;y^(d*ua&&(a=h)):(b=(b+360)%360-180,y^(d*ua&&(a=n))),y?tS(r,o)&&(o=t):S(t,o)>S(r,o)&&(r=t):o>=r?(to&&(o=t)):t>u?S(r,t)>S(r,o)&&(o=t):S(t,o)>S(r,o)&&(r=t)}else j(t,n);f=e,u=t}function O(){m.point=_}function w(){h[0]=r,h[1]=o,m.point=j,f=null}function x(t,n){if(f){var e=t-u;y.add(Object(g["a"])(e)>180?e+(e>0?360:-360):e)}else c=t,s=n;d["b"].point(t,n),_(t,n)}function E(){d["b"].lineStart()}function k(){x(c,s),d["b"].lineEnd(),Object(g["a"])(y)>g["i"]&&(r=-(o=180)),h[0]=r,h[1]=o,f=null}function S(t,n){return(n-=t)<0?n+360:n}function M(t,n){return t[0]-n[0]}function T(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nS(u[0],u[1])&&(u[1]=c[1]),S(c[0],u[1])>S(u[0],u[1])&&(u[0]=c[0])):s.push(u=c);for(f=-1/0,e=s.length-1,n=0,u=s[e];n<=e;u=c,++n)c=s[n],(p=S(u[1],c[0]))>f&&(f=p,r=c[0],o=u[1])}return l=h=null,r===1/0||i===1/0?[[NaN,NaN],[NaN,NaN]]:[[r,i],[o,a]]}},function(t,n,e){"use strict";var r,i,o,a,u,c,s,f,l,h,p,d,v,g,b,y,m=e(5),j=e(25),_=e(26),O={sphere:j["a"],point:w,lineStart:E,lineEnd:M,polygonStart:function(){O.lineStart=T,O.lineEnd=C},polygonEnd:function(){O.lineStart=E,O.lineEnd=M}};function w(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n);x(e*Object(m["g"])(t),e*Object(m["t"])(t),Object(m["t"])(n))}function x(t,n,e){++r,o+=(t-o)/r,a+=(n-a)/r,u+=(e-u)/r}function E(){O.point=k}function k(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n);g=e*Object(m["g"])(t),b=e*Object(m["t"])(t),y=Object(m["t"])(n),O.point=S,x(g,b,y)}function S(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n),r=e*Object(m["g"])(t),o=e*Object(m["t"])(t),a=Object(m["t"])(n),u=Object(m["e"])(Object(m["u"])((u=b*a-y*o)*u+(u=y*r-g*a)*u+(u=g*o-b*r)*u),g*r+b*o+y*a);i+=u,c+=u*(g+(g=r)),s+=u*(b+(b=o)),f+=u*(y+(y=a)),x(g,b,y)}function M(){O.point=w}function T(){O.point=P}function C(){N(d,v),O.point=w}function P(t,n){d=t,v=n,t*=m["r"],n*=m["r"],O.point=N;var e=Object(m["g"])(n);g=e*Object(m["g"])(t),b=e*Object(m["t"])(t),y=Object(m["t"])(n),x(g,b,y)}function N(t,n){t*=m["r"],n*=m["r"];var e=Object(m["g"])(n),r=e*Object(m["g"])(t),o=e*Object(m["t"])(t),a=Object(m["t"])(n),u=b*a-y*o,d=y*r-g*a,v=g*o-b*r,j=Object(m["u"])(u*u+d*d+v*v),_=g*r+b*o+y*a,O=j&&-Object(m["b"])(_)/j,w=Object(m["e"])(j,_);l+=O*u,h+=O*d,p+=O*v,i+=w,c+=w*(g+(g=r)),s+=w*(b+(b=o)),f+=w*(y+(y=a)),x(g,b,y)}n["a"]=function(t){r=i=o=a=u=c=s=f=l=h=p=0,Object(_["a"])(t,O);var n=l,e=h,d=p,v=n*n+e*e+d*d;return v0)){if(a/=p,p<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=i-u,p||!(a<0)){if(a/=p,p<0){if(a>h)return;a>l&&(l=a)}else if(p>0){if(a0)){if(a/=d,d<0){if(a0){if(a>h)return;a>l&&(l=a)}if(a=o-c,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>l&&(l=a)}else if(d>0){if(a0&&(t[0]=u+l*p,t[1]=c+l*d),h<1&&(n[0]=u+h*p,n[1]=c+h*d),!0}}}}}},function(t,n,e){"use strict";var r=e(149),i=[null,null],o={type:"LineString",coordinates:i};n["a"]=function(t,n){return i[0]=t,i[1]=n,Object(r["a"])(o)}},function(t,n,e){"use strict";var r=e(14),i=e(5);function o(t,n,e){var o=Object(r["range"])(t,n-i["i"],e).concat(n);return function(t){return o.map((function(n){return[t,n]}))}}function a(t,n,e){var o=Object(r["range"])(t,n-i["i"],e).concat(n);return function(t){return o.map((function(n){return[n,t]}))}}n["a"]=function(){var t,n,e,u,c,s,f,l,h,p,d,v,g=10,b=g,y=90,m=360,j=2.5;function _(){return{type:"MultiLineString",coordinates:O()}}function O(){return Object(r["range"])(Object(i["f"])(u/y)*y,e,y).map(d).concat(Object(r["range"])(Object(i["f"])(l/m)*m,f,m).map(v)).concat(Object(r["range"])(Object(i["f"])(n/g)*g,t,g).filter((function(t){return Object(i["a"])(t%y)>i["i"]})).map(h)).concat(Object(r["range"])(Object(i["f"])(s/b)*b,c,b).filter((function(t){return Object(i["a"])(t%m)>i["i"]})).map(p))}return _.lines=function(){return O().map((function(t){return{type:"LineString",coordinates:t}}))},_.outline=function(){return{type:"Polygon",coordinates:[d(u).concat(v(f).slice(1),d(e).reverse().slice(1),v(l).reverse().slice(1))]}},_.extent=function(t){return arguments.length?_.extentMajor(t).extentMinor(t):_.extentMinor()},_.extentMajor=function(t){return arguments.length?(u=+t[0][0],e=+t[1][0],l=+t[0][1],f=+t[1][1],u>e&&(t=u,u=e,e=t),l>f&&(t=l,l=f,f=t),_.precision(j)):[[u,l],[e,f]]},_.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],s=+e[0][1],c=+e[1][1],n>t&&(e=n,n=t,t=e),s>c&&(e=s,s=c,c=e),_.precision(j)):[[n,s],[t,c]]},_.step=function(t){return arguments.length?_.stepMajor(t).stepMinor(t):_.stepMinor()},_.stepMajor=function(t){return arguments.length?(y=+t[0],m=+t[1],_):[y,m]},_.stepMinor=function(t){return arguments.length?(g=+t[0],b=+t[1],_):[g,b]},_.precision=function(r){return arguments.length?(j=+r,h=o(s,c,90),p=a(n,t,j),d=o(l,f,90),v=a(u,e,j),_):j},_.extentMajor([[-180,-90+i["i"]],[180,90-i["i"]]]).extentMinor([[-180,-80-i["i"]],[180,80+i["i"]]])}},function(t,n,e){"use strict";var r=e(5);n["a"]=function(t,n){var e=t[0]*r["r"],i=t[1]*r["r"],o=n[0]*r["r"],a=n[1]*r["r"],u=Object(r["g"])(i),c=Object(r["t"])(i),s=Object(r["g"])(a),f=Object(r["t"])(a),l=u*Object(r["g"])(e),h=u*Object(r["t"])(e),p=s*Object(r["g"])(o),d=s*Object(r["t"])(o),v=2*Object(r["c"])(Object(r["u"])(Object(r["m"])(a-i)+u*s*Object(r["m"])(o-e))),g=Object(r["t"])(v),b=v?function(t){var n=Object(r["t"])(t*=v)/g,e=Object(r["t"])(v-t)/g,i=e*l+n*p,o=e*h+n*d,a=e*c+n*f;return[Object(r["e"])(o,i)*r["h"],Object(r["e"])(a,Object(r["u"])(i*i+o*o))*r["h"]]}:function(){return[e*r["h"],i*r["h"]]};return b.distance=v,b}},function(t,n,e){"use strict";var r=e(150),i=e(26),o=e(332),a=e(151),u=e(333),c=e(334),s=e(335);n["a"]=function(){var t,n,e,f,l=4.5;function h(t){return t&&("function"===typeof l&&f.pointRadius(+l.apply(this,arguments)),Object(i["a"])(t,n(f))),f.result()}return h.area=function(t){return Object(i["a"])(t,n(o["a"])),o["a"].result()},h.bounds=function(t){return Object(i["a"])(t,n(a["a"])),a["a"].result()},h.centroid=function(t){return Object(i["a"])(t,n(u["a"])),u["a"].result()},h.projection=function(e){return arguments.length?(n=null==(t=e)?r["a"]:e.stream,h):t},h.context=function(t){return arguments.length?(f=null==(e=t)?new s["a"]:new c["a"](t),"function"!==typeof l&&f.pointRadius(l),h):e},h.pointRadius=function(t){return arguments.length?(l="function"===typeof t?t:(f.pointRadius(+t),+t),h):l},h.projection(null).context(null)}},function(t,n,e){"use strict";var r,i,o,a,u=e(42),c=e(5),s=e(25),f=Object(u["a"])(),l=Object(u["a"])(),h={point:s["a"],lineStart:s["a"],lineEnd:s["a"],polygonStart:function(){h.lineStart=p,h.lineEnd=g},polygonEnd:function(){h.lineStart=h.lineEnd=h.point=s["a"],f.add(Object(c["a"])(l)),l.reset()},result:function(){var t=f/2;return f.reset(),t}};function p(){h.point=d}function d(t,n){h.point=v,r=o=t,i=a=n}function v(t,n){l.add(a*t-o*n),o=t,a=n}function g(){v(r,i)}n["a"]=h},function(t,n,e){"use strict";var r,i,o,a,u=e(5),c=0,s=0,f=0,l=0,h=0,p=0,d=0,v=0,g=0,b={point:y,lineStart:m,lineEnd:O,polygonStart:function(){b.lineStart=w,b.lineEnd=x},polygonEnd:function(){b.point=y,b.lineStart=m,b.lineEnd=O},result:function(){var t=g?[d/g,v/g]:p?[l/p,h/p]:f?[c/f,s/f]:[NaN,NaN];return c=s=f=l=h=p=d=v=g=0,t}};function y(t,n){c+=t,s+=n,++f}function m(){b.point=j}function j(t,n){b.point=_,y(o=t,a=n)}function _(t,n){var e=t-o,r=n-a,i=Object(u["u"])(e*e+r*r);l+=i*(o+t)/2,h+=i*(a+n)/2,p+=i,y(o=t,a=n)}function O(){b.point=y}function w(){b.point=E}function x(){k(r,i)}function E(t,n){b.point=k,y(r=o=t,i=a=n)}function k(t,n){var e=t-o,r=n-a,i=Object(u["u"])(e*e+r*r);l+=i*(o+t)/2,h+=i*(a+n)/2,p+=i,i=a*t-o*n,d+=i*(o+t),v+=i*(a+n),g+=3*i,y(o=t,a=n)}n["a"]=b},function(t,n,e){"use strict";n["a"]=o;var r=e(5),i=e(25);function o(t){this._context=t}o.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,r["w"]);break}},result:i["a"]}},function(t,n,e){"use strict";function r(){this._string=[]}function i(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n["a"]=r,r.prototype={_circle:i(4.5),pointRadius:function(t){return this._circle=i(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle);break}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}}},function(t,n,e){"use strict";var r=e(153),i=e(5);function o(t){var n,e=NaN,r=NaN,o=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(u,c){var s=u>0?i["o"]:-i["o"],f=Object(i["a"])(u-e);Object(i["a"])(f-i["o"])0?i["l"]:-i["l"]),t.point(o,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(u,r),n=0):o!==s&&f>=i["o"]&&(Object(i["a"])(e-o)i["i"]?Object(i["d"])((Object(i["t"])(n)*(a=Object(i["g"])(r))*Object(i["t"])(e)-Object(i["t"])(r)*(o=Object(i["g"])(n))*Object(i["t"])(t))/(o*a*u)):(n+r)/2}function u(t,n,e,r){var o;if(null==t)o=e*i["l"],r.point(-i["o"],o),r.point(0,o),r.point(i["o"],o),r.point(i["o"],0),r.point(i["o"],-o),r.point(0,-o),r.point(-i["o"],-o),r.point(-i["o"],0),r.point(-i["o"],o);else if(Object(i["a"])(t[0]-n[0])>i["i"]){var a=t[0]=0?1:-1,S=k*E,M=S>o["o"],T=b*w;if(a.add(Object(o["e"])(T*k*Object(o["t"])(S),y*x+T*Object(o["g"])(S))),c+=M?E+k*o["w"]:E,M^v>=e^_>=e){var C=Object(i["c"])(Object(i["a"])(d),Object(i["a"])(j));Object(i["e"])(C);var P=Object(i["c"])(u,C);Object(i["e"])(P);var N=(M^E>=0?-1:1)*Object(o["c"])(P[2]);(r>N||r===N&&(C[0]||C[1]))&&(s+=M^E>=0?1:-1)}}return(c<-o["i"]||c0,s=Object(o["a"])(e)>o["i"];function f(e,r,o,a){Object(i["a"])(a,t,n,o,e,r)}function l(t,n){return Object(o["g"])(t)*Object(o["g"])(n)>e}function h(t){var n,e,r,i,u;return{lineStart:function(){i=r=!1,u=1},point:function(f,h){var v,g=[f,h],b=l(f,h),y=c?b?0:d(f,h):b?d(f+(f<0?o["o"]:-o["o"]),h):0;if(!n&&(i=r=b)&&t.lineStart(),b!==r&&(v=p(n,g),(Object(a["a"])(n,v)||Object(a["a"])(g,v))&&(g[0]+=o["i"],g[1]+=o["i"],b=l(g[0],g[1]))),b!==r)u=0,b?(t.lineStart(),v=p(g,n),t.point(v[0],v[1])):(v=p(n,g),t.point(v[0],v[1]),t.lineEnd()),n=v;else if(s&&n&&c^b){var m;y&e||!(m=p(g,n,!0))||(u=0,c?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!b||n&&Object(a["a"])(n,g)||t.point(g[0],g[1]),n=g,r=b,e=y},lineEnd:function(){r&&t.lineEnd(),n=null},clean:function(){return u|(i&&r)<<1}}}function p(t,n,i){var a=Object(r["a"])(t),u=Object(r["a"])(n),c=[1,0,0],s=Object(r["c"])(a,u),f=Object(r["d"])(s,s),l=s[0],h=f-l*l;if(!h)return!i&&t;var p=e*f/h,d=-e*l/h,v=Object(r["c"])(c,s),g=Object(r["f"])(c,p),b=Object(r["f"])(s,d);Object(r["b"])(g,b);var y=v,m=Object(r["d"])(g,y),j=Object(r["d"])(y,y),_=m*m-j*(Object(r["d"])(g,g)-1);if(!(_<0)){var O=Object(o["u"])(_),w=Object(r["f"])(y,(-m-O)/j);if(Object(r["b"])(w,g),w=Object(r["g"])(w),!i)return w;var x,E=t[0],k=n[0],S=t[1],M=n[1];k0^w[1]<(Object(o["a"])(w[0]-E)o["o"]^(E<=w[0]&&w[0]<=k)){var N=Object(r["f"])(y,(-m+O)/j);return Object(r["b"])(N,g),[w,Object(r["g"])(N)]}}}function d(n,e){var r=c?t:o["o"]-t,i=0;return n<-r?i|=1:n>r&&(i|=2),e<-r?i|=4:e>r&&(i|=8),i}return Object(u["a"])(l,h,f,c?[0,-t]:[-o["o"],t-o["o"]])}},function(t,n,e){"use strict";var r=e(43),i=e(5),o=e(81),a=16,u=Object(i["g"])(30*i["r"]);function c(t){return Object(o["b"])({point:function(n,e){n=t(n,e),this.stream.point(n[0],n[1])}})}function s(t,n){function e(r,o,a,c,s,f,l,h,p,d,v,g,b,y){var m=l-r,j=h-o,_=m*m+j*j;if(_>4*n&&b--){var O=c+d,w=s+v,x=f+g,E=Object(i["u"])(O*O+w*w+x*x),k=Object(i["c"])(x/=E),S=Object(i["a"])(Object(i["a"])(x)-1)n||Object(i["a"])((m*P+j*N)/_-.5)>.3||c*d+s*v+f*g=.12&&i<.234&&r>=-.425&&r<-.214?h:i>=.166&&i<.234&&r>=-.214&&r<-.115?p:l).invert(t)},v.stream=function(e){return t&&n===e?t:t=u([l.stream(n=e),h.stream(e),p.stream(e)])},v.precision=function(t){return arguments.length?(l.precision(t),h.precision(t),p.precision(t),v):l.precision()},v.scale=function(t){return arguments.length?(l.scale(t),h.scale(.35*t),p.scale(t),v.translate(l.translate())):l.scale()},v.translate=function(t){if(!arguments.length)return l.translate();var n=l.scale(),i=+t[0],o=+t[1];return e=l.translate(t).clipExtent([[i-.455*n,o-.238*n],[i+.455*n,o+.238*n]]).stream(d),c=h.translate([i-.307*n,o+.201*n]).clipExtent([[i-.425*n+r["i"],o+.12*n+r["i"]],[i-.214*n-r["i"],o+.234*n-r["i"]]]).stream(d),s=p.translate([i-.205*n,o+.212*n]).clipExtent([[i-.214*n+r["i"],o+.166*n+r["i"]],[i-.115*n-r["i"],o+.234*n-r["i"]]]).stream(d),v},v.fitExtent=Object(a["a"])(v),v.fitSize=Object(a["b"])(v),v.scale(1070)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(5),i=e(44),o=e(18),a=Object(i["b"])((function(t){return Object(r["u"])(2/(1+t))}));a.invert=Object(i["a"])((function(t){return 2*Object(r["c"])(t/2)})),n["b"]=function(){return Object(o["a"])(a).scale(124.75).clipAngle(179.999)}},function(t,n,e){"use strict";e.d(n,"a",(function(){return a}));var r=e(5),i=e(44),o=e(18),a=Object(i["b"])((function(t){return(t=Object(r["b"])(t))&&t/Object(r["t"])(t)}));a.invert=Object(i["a"])((function(t){return t})),n["b"]=function(){return Object(o["a"])(a).scale(79.4188).clipAngle(179.999)}},function(t,n,e){"use strict";n["a"]=u;var r=e(5),i=e(80),o=e(82);function a(t){return Object(r["v"])((r["l"]+t)/2)}function u(t,n){var e=Object(r["g"])(t),i=t===n?Object(r["t"])(t):Object(r["n"])(e/Object(r["g"])(n))/Object(r["n"])(a(n)/a(t)),u=e*Object(r["p"])(a(t),i)/i;if(!i)return o["c"];function c(t,n){u>0?n<-r["l"]+r["i"]&&(n=-r["l"]+r["i"]):n>r["l"]-r["i"]&&(n=r["l"]-r["i"]);var e=u/Object(r["p"])(a(n),i);return[e*Object(r["t"])(i*t),u-e*Object(r["g"])(i*t)]}return c.invert=function(t,n){var e=u-n,o=Object(r["s"])(i)*Object(r["u"])(t*t+e*e);return[Object(r["e"])(t,e)/i,2*Object(r["d"])(Object(r["p"])(u/o,1/i))-r["l"]]},c}n["b"]=function(){return Object(i["a"])(u).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";n["a"]=a;var r=e(5),i=e(80),o=e(155);function a(t,n){var e=Object(r["g"])(t),i=t===n?Object(r["t"])(t):(e-Object(r["g"])(n))/(n-t),a=e/i+t;if(Object(r["a"])(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";var r=Math.PI,i=2*r,o=1e-6,a=i-o;function u(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function c(){return new u}u.prototype=c.prototype={constructor:u,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,i,a){t=+t,n=+n,e=+e,i=+i,a=+a;var u=this._x1,c=this._y1,s=e-t,f=i-n,l=u-t,h=c-n,p=l*l+h*h;if(a<0)throw new Error("negative radius: "+a);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(p>o)if(Math.abs(h*s-f*l)>o&&a){var d=e-u,v=i-c,g=s*s+f*f,b=d*d+v*v,y=Math.sqrt(g),m=Math.sqrt(p),j=a*Math.tan((r-Math.acos((g+p-b)/(2*y*m)))/2),_=j/m,O=j/y;Math.abs(_-1)>o&&(this._+="L"+(t+_*l)+","+(n+_*h)),this._+="A"+a+","+a+",0,0,"+ +(h*d>l*v)+","+(this._x1=t+O*s)+","+(this._y1=n+O*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,u,c,s){t=+t,n=+n,e=+e;var f=e*Math.cos(u),l=e*Math.sin(u),h=t+f,p=n+l,d=1^s,v=s?u-c:c-u;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+h+","+p:(Math.abs(this._x1-h)>o||Math.abs(this._y1-p)>o)&&(this._+="L"+h+","+p),e&&(v<0&&(v=v%i+i),v>a?this._+="A"+e+","+e+",0,1,"+d+","+(t-f)+","+(n-l)+"A"+e+","+e+",0,1,"+d+","+(this._x1=h)+","+(this._y1=p):v>o&&(this._+="A"+e+","+e+",0,"+ +(v>=r)+","+d+","+(this._x1=t+e*Math.cos(c))+","+(this._y1=n+e*Math.sin(c))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n["a"]=c},function(t,n,e){var r=e(3),i=e(39);r(i.prototype,{getAllNodes:function(){var t=this,n=[],e=t.root;return e.each?e.each((function(t){n.push(t)})):e.eachNode&&e.eachNode((function(t){n.push(t)})),n},getAllLinks:function(){var t,n=[],e=[this.root];while(t=e.pop()){var r=t.children;r&&r.forEach((function(r){n.push({source:t,target:r}),e.push(r)}))}return n}}),r(i.prototype,{getAllEdges:i.prototype.getAllLinks})},function(t,n,e){var r=e(3),i=e(83),o=e(15),a=e(39);r(a.prototype,{partition:function(t,n){return void 0===t&&(t=[]),void 0===n&&(n=[]),o(this.rows,t,n)},group:function(t,n){var e=this.partition(t,n);return i(e)},groups:function(t,n){return this.group(t,n)}})},function(t,n,e){var r=e(9),i=e(6),o=Object.prototype.hasOwnProperty,a=function(t,n){if(!n||!i(t))return t;var e={},a=null;return r(t,(function(t){a=n(t),o.call(e,a)?e[a].push(t):e[a]=[t]})),e};t.exports=a},function(t,n,e){var r=e(6),i=e(11),o=e(10);t.exports=function(t,n){var e;return void 0===n&&(n=[]),i(n)?e=n:r(n)?e=function(t,e){for(var r=0;re[i])return 1}return 0}:o(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}},function(t,n,e){var r=e(3),i=e(156),o=e(6),a=e(19),u=e(39),c=e(157),s=e(84),f=s.STATISTICS_METHODS;function l(t,n){var e=t.getColumn(n);return o(e)&&o(e[0])&&(e=i(e)),e}f.forEach((function(t){u.prototype[t]=function(n){return a[t](l(this,n))}}));var h=a.quantile;r(u.prototype,{average:u.prototype.mean,quantile:function(t,n){return h(l(this,t),n)},quantiles:function(t,n){var e=l(this,t);return n.map((function(t){return h(e,t)}))},quantilesByFraction:function(t,n){return this.quantiles(t,c(n))},range:function(t){var n=this;return[n.min(t),n.max(t)]},extent:function(t){return this.range(t)}})},function(t,n,e){var r=e(10),i=e(40),o=e(2),a=o.registerConnector;a("default",(function(t,n){if(r(t)&&(t=n.getView(t)),!t)throw new TypeError("Invalid dataView");return i(t.rows)}))},function(t,n){var e=function(){var t={};return function(n){return n=n||"g",t[n]?t[n]+=1:t[n]=1,n+t[n]}}();t.exports=e},function(t,n,e){var r=e(10),i=e(358),o=i.dsvFormat,a=i.csvParse,u=i.tsvParse,c=e(2),s=c.registerConnector;s("dsv",(function(t,n){void 0===n&&(n={});var e=n.delimiter||",";if(!r(e))throw new TypeError("Invalid delimiter: must be a string!");return o(e).parse(t)})),s("csv",(function(t){return a(t)})),s("tsv",(function(t){return u(t)}))},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(85);e.d(n,"dsvFormat",(function(){return r["a"]}));var i=e(359);e.d(n,"csvParse",(function(){return i["c"]})),e.d(n,"csvParseRows",(function(){return i["d"]})),e.d(n,"csvFormat",(function(){return i["a"]})),e.d(n,"csvFormatRows",(function(){return i["b"]}));var o=e(360);e.d(n,"tsvParse",(function(){return o["c"]})),e.d(n,"tsvParseRows",(function(){return o["d"]})),e.d(n,"tsvFormat",(function(){return o["a"]})),e.d(n,"tsvFormatRows",(function(){return o["b"]}))},function(t,n,e){"use strict";e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return a})),e.d(n,"a",(function(){return u})),e.d(n,"b",(function(){return c}));var r=e(85),i=Object(r["a"])(","),o=i.parse,a=i.parseRows,u=i.format,c=i.formatRows},function(t,n,e){"use strict";e.d(n,"c",(function(){return o})),e.d(n,"d",(function(){return a})),e.d(n,"a",(function(){return u})),e.d(n,"b",(function(){return c}));var r=e(85),i=Object(r["a"])("\t"),o=i.parse,a=i.parseRows,u=i.format,c=i.formatRows},function(t,n,e){var r=e(0),i=r.geoGraticule,o=e(2),a=o.registerConnector;function u(t,n){n.dataType="geo-graticule";var e=i().lines();return e.map((function(t,n){return t.index=""+n,t})),n.rows=e,e}a("geo-graticule",u),t.exports=u},function(t,n){t.exports=i;var e={a:7,c:6,h:1,l:2,m:2,q:4,s:4,t:2,v:1,z:0},r=/([astvzqmhlc])([^astvzqmhlc]*)/gi;function i(t){var n=[];return t.replace(r,(function(t,r,i){var o=r.toLowerCase();i=a(i),"m"==o&&i.length>2&&(n.push([r].concat(i.splice(0,2))),o="l",r="m"==r?"l":"L");while(1){if(i.length==e[o])return i.unshift(r),n.push(i);if(i.length=0)n+=e[r].value;else n=1;t.value=n}n["a"]=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n["a"]=function(t){var n,e,r,i,o=this,a=[o];do{n=a.reverse(),a=[];while(o=n.pop())if(t(o),e=o.children,e)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this}},function(t,n,e){"use strict";n["a"]=function(t){var n,e,r,i=this,o=[i],a=[];while(i=o.pop())if(a.push(i),n=i.children,n)for(e=0,r=n.length;e=0)e+=r[i].value;n.value=e}))}},function(t,n,e){"use strict";n["a"]=function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))}},function(t,n,e){"use strict";function r(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();while(t===n)i=t,t=e.pop(),n=r.pop();return i}n["a"]=function(t){var n=this,e=r(n,t),i=[n];while(n!==e)n=n.parent,i.push(n);var o=i.length;while(t!==e)i.splice(o,0,t),t=t.parent;return i}},function(t,n,e){"use strict";n["a"]=function(){var t=this,n=[t];while(t=t.parent)n.push(t);return n}},function(t,n,e){"use strict";n["a"]=function(){var t=[];return this.each((function(n){t.push(n)})),t}},function(t,n,e){"use strict";n["a"]=function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t}},function(t,n,e){"use strict";n["a"]=function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n}},function(t,n,e){"use strict";var r=e(160),i=e(87),o=e(162);function a(t){return Math.sqrt(t.value)}function u(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function c(t,n){return function(e){if(i=e.children){var i,o,a,u=i.length,c=t(e)*n||0;if(c)for(o=0;o0)throw new Error("cycle");return s}return e.id=function(n){return arguments.length?(t=Object(r["b"])(n),e):t},e.parentId=function(t){return arguments.length?(n=Object(r["b"])(t),e):n},e}},function(t,n,e){"use strict";var r=e(86);function i(t,n){return t.parent===n.parent?1:2}function o(t){var n=t.children;return n?n[0]:t.t}function a(t){var n=t.children;return n?n[n.length-1]:t.t}function u(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function c(t){var n,e=0,r=0,i=t.children,o=i.length;while(--o>=0)n=i[o],n.z+=e,n.m+=e,e+=n.s+(r+=n.c)}function s(t,n,e){return t.a.parent===n.parent?t.a:e}function f(t,n){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=n}function l(t){var n,e,r,i,o,a=new f(t,0),u=[a];while(n=u.pop())if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)u.push(e=n.children[i]=new f(r[i],i)),e.parent=n;return(a.parent=new f(null,0)).children=[a],a}f.prototype=Object.create(r["a"].prototype),n["a"]=function(){var t=i,n=1,e=1,r=null;function f(i){var o=l(i);if(o.eachAfter(h),o.parent.m=-o.z,o.eachBefore(p),r)i.eachBefore(v);else{var a=i,u=i,c=i;i.eachBefore((function(t){t.xu.x&&(u=t),t.depth>c.depth&&(c=t)}));var s=a===u?1:t(a,u)/2,f=s-a.x,d=n/(u.x+s+f),g=e/(c.depth||1);i.eachBefore((function(t){t.x=(t.x+f)*d,t.y=t.depth*g}))}return i}function h(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){c(n);var o=(e[0].z+e[e.length-1].z)/2;i?(n.z=i.z+t(n._,i._),n.m=n.z-o):n.z=o}else i&&(n.z=i.z+t(n._,i._));n.parent.A=d(n,i,n.parent.A||r[0])}function p(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function d(n,e,r){if(e){var i,c=n,f=n,l=e,h=c.parent.children[0],p=c.m,d=f.m,v=l.m,g=h.m;while(l=a(l),c=o(c),l&&c)h=o(h),f=a(f),f.a=n,i=l.z+v-c.z-p+t(l._,c._),i>0&&(u(s(l,n,r),n,i),p+=i,d+=i),v+=l.m,p+=c.m,g+=h.m,d+=f.m;l&&!a(f)&&(f.t=l,f.m+=v-d),c&&!o(h)&&(h.t=c,h.m+=p-g,r=n)}return r}function v(t){t.x*=n,t.y=t.depth*e}return f.separation=function(n){return arguments.length?(t=n,f):t},f.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],f):r?null:[n,e]},f.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],f):r?[n,e]:null},f}},function(t,n,e){"use strict";var r=e(163),i=e(88),o=e(87),a=e(162);n["a"]=function(){var t=i["a"],n=!1,e=1,u=1,c=[0],s=a["a"],f=a["a"],l=a["a"],h=a["a"],p=a["a"];function d(t){return t.x0=t.y0=0,t.x1=e,t.y1=u,t.eachBefore(v),c=[0],n&&t.eachBefore(r["a"]),t}function v(n){var e=c[n.depth],r=n.x0+e,i=n.y0+e,o=n.x1-e,a=n.y1-e;o=n-1){var c=u[t];return c.x0=r,c.y0=i,c.x1=o,void(c.y1=a)}var l=s[t],h=e/2+l,p=t+1,d=n-1;while(p>>1;s[v]a-i){var y=(r*b+o*g)/e;f(t,p,g,r,i,y,a),f(p,n,b,y,i,o,a)}else{var m=(i*b+a*g)/e;f(t,p,g,r,i,o,m),f(p,n,b,r,m,o,a)}}f(0,c,t.value,n,e,r,i)}},function(t,n,e){"use strict";var r=e(45),i=e(55);n["a"]=function(t,n,e,o,a){(1&t.depth?i["a"]:r["a"])(t,n,e,o,a)}},function(t,n,e){"use strict";var r=e(45),i=e(55),o=e(88);n["a"]=function t(n){function e(t,e,a,u,c){if((s=t._squarify)&&s.ratio===n){var s,f,l,h,p,d=-1,v=s.length,g=t.value;while(++d1?n:1)},e}(o["b"])},function(t,n,e){var r=e(10),i=e(391),o=i.feature,a=e(158),u=e(2),c=u.registerConnector;function s(t,n,e){var i=n.object;if(!r(i))throw new TypeError("Invalid object: must be a string!");var u=o(t,t.objects[i]);return a(u,n,e)}c("topojson",s),c("TopoJSON",s)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(164);e.d(n,"bbox",(function(){return r["a"]}));var i=e(90);e.d(n,"feature",(function(){return i["a"]}));var o=e(393);e.d(n,"mesh",(function(){return o["a"]})),e.d(n,"meshArcs",(function(){return o["b"]}));var a=e(394);e.d(n,"merge",(function(){return a["a"]})),e.d(n,"mergeArcs",(function(){return a["b"]}));var u=e(395);e.d(n,"neighbors",(function(){return u["a"]}));var c=e(397);e.d(n,"quantize",(function(){return c["a"]}));var s=e(89);e.d(n,"transform",(function(){return s["a"]}));var f=e(167);e.d(n,"untransform",(function(){return f["a"]}))},function(t,n,e){"use strict";n["a"]=function(t,n){var e,r=t.length,i=r-n;while(i<--r)e=t[i],t[i++]=t[r],t[r]=e}},function(t,n,e){"use strict";n["b"]=o;var r=e(90),i=e(166);function o(t,n,e){var r,o,u;if(arguments.length>1)r=a(t,n,e);else for(o=0,r=new Array(u=t.arcs.length);o1)for(var a,u,c=1,s=f(o[0]);cs&&(u=o[0],o[0]=o[c],o[c]=u,s=a);return o}))}}n["a"]=function(t){return Object(r["b"])(t,a.apply(this,arguments))}},function(t,n,e){"use strict";var r=e(396);n["a"]=function(t){var n={},e=t.map((function(){return[]}));function i(t,e){t.forEach((function(t){t<0&&(t=~t);var r=n[t];r?r.push(e):n[t]=[e]}))}function o(t,n){t.forEach((function(t){i(t,n)}))}function a(t,n){"GeometryCollection"===t.type?t.geometries.forEach((function(t){a(t,n)})):t.type in u&&u[t.type](t.arcs,n)}var u={LineString:i,MultiLineString:o,Polygon:o,MultiPolygon:function(t,n){t.forEach((function(t){o(t,n)}))}};for(var c in t.forEach(a),n)for(var s=n[c],f=s.length,l=0;l>>1;t[i]=2))throw new Error("n must be ≥2");s=t.bbox||Object(r["a"])(t);var e,o=s[0],a=s[1],u=s[2],c=s[3];n={scale:[u-o?(u-o)/(e-1):1,c-a?(c-a)/(e-1):1],translate:[o,a]}}var s,f,l=Object(i["a"])(n),h=t.objects,p={};function d(t){return l(t)}function v(t){var n;switch(t.type){case"GeometryCollection":n={type:"GeometryCollection",geometries:t.geometries.map(v)};break;case"Point":n={type:"Point",coordinates:d(t.coordinates)};break;case"MultiPoint":n={type:"MultiPoint",coordinates:t.coordinates.map(d)};break;default:return t}return null!=t.id&&(n.id=t.id),null!=t.bbox&&(n.bbox=t.bbox),null!=t.properties&&(n.properties=t.properties),n}function g(t){var n,e=0,r=1,i=t.length,o=new Array(i);o[0]=l(t[0],0);while(++e1&&void 0!==arguments[1]?arguments[1]:[];return r(t,(function(t){return!i(n,t)}))};t.exports=o},function(t,n,e){var r=e(9),i=e(91),o=function(t,n){if(!i(t))return t;var e=[];return r(t,(function(t,r){n(t,r)&&e.push(t)})),e};t.exports=o},function(t,n,e){var r=e(2),i=r.registerTransform;function o(t){return t}i("map",(function(t,n){void 0===n&&(n={}),t.rows=t.rows.map(n.callback||o)}))},function(t,n,e){var r=e(3),i=e(83),o=e(15),a=e(2),u=a.registerTransform,c={groupBy:[],orderBy:[]};function s(t,n){void 0===n&&(n={}),n=r({},c,n),t.rows=i(o(t.rows,n.groupBy,n.orderBy))}u("partition",(function(t,n){void 0===n&&(n={}),n=r({},c,n),t.rows=o(t.rows,n.groupBy,n.orderBy)})),u("group",s),u("groups",s)},function(t,n,e){var r=e(3),i=e(9),o=e(6),a=e(10),u=e(19),c=u.sum,s=e(15),f=e(2),l=f.registerTransform,h=e(7),p=h.getField,d={groupBy:[],as:"_percent"};function v(t,n){void 0===n&&(n={}),n=r({},d,n);var e=p(n),u=n.dimension,f=n.groupBy,l=n.as;if(!a(u))throw new TypeError("Invalid dimension: must be a string!");if(o(l)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),l=l[0]),!a(l))throw new TypeError("Invalid as: must be a string!");var h=t.rows,v=[],g=s(h,f);i(g,(function(t){var n=c(t.map((function(t){return t[e]})));0===n&&console.warn("Invalid data: total sum of field "+e+" is 0!");var r=s(t,[u]);i(r,(function(t){var r=c(t.map((function(t){return t[e]}))),i=t[0],o=i[u];i[e]=r,i[u]=o,i[l]=0===n?0:r/n,v.push(i)}))})),t.rows=v}l("percent",v)},function(t,n,e){var r=e(32),i=e(2),o=i.registerTransform,a=e(7),u=a.getFields;o("pick",(function(t,n){void 0===n&&(n={});var e=u(n,t.getColumnNames());t.rows=t.rows.map((function(t){return r(t,e)}))}))},function(t,n,e){var r=e(3),i=e(9),o=e(6),a=e(10),u=e(15),c=e(2),s=c.registerTransform,f=e(7),l=f.getField,h={groupBy:[],as:"_proportion"};function p(t,n){void 0===n&&(n={}),n=r({},h,n);var e=l(n),c=n.dimension,s=n.groupBy,f=n.as;if(!a(c))throw new TypeError("Invalid dimension: must be a string!");if(o(f)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),f=f[0]),!a(f))throw new TypeError("Invalid as: must be a string!");var p=t.rows,d=[],v=u(p,s);i(v,(function(t){var n=t.length,r=u(t,[c]);i(r,(function(t){var r=t.length,i=t[0],o=i[c];i[e]=r,i[c]=o,i[f]=r/n,d.push(i)}))})),t.rows=d}s("proportion",p)},function(t,n,e){var r=e(9),i=e(54),o=e(10),a=e(2),u=a.registerTransform;function c(t,n){void 0===n&&(n={});var e=n.map||{},a={};i(e)&&r(e,(function(t,n){o(t)&&o(n)&&(a[n]=t)})),t.rows.forEach((function(t){r(e,(function(n,e){var r=t[e];delete t[e],t[n]=r}))}))}u("rename",c),u("rename-fields",c)},function(t,n,e){var r=e(2),i=r.registerTransform;i("reverse",(function(t){t.rows.reverse()}))},function(t,n,e){var r=e(2),i=r.registerTransform;i("sort",(function(t,n){void 0===n&&(n={});var e=t.getColumnName(0);t.rows.sort(n.callback||function(t,n){return t[e]-n[e]})}))},function(t,n,e){var r=e(6),i=e(412),o=e(2),a=o.registerTransform,u=e(7),c=u.getFields,s=["ASC","DESC"];function f(t,n){void 0===n&&(n={});var e=c(n,[t.getColumnName(0)]);if(!r(e))throw new TypeError("Invalid fields: must be an array with strings!");t.rows=i(t.rows,e);var o=n.order;if(o&&-1===s.indexOf(o))throw new TypeError("Invalid order: "+o+" must be one of "+s.join(", "));"DESC"===o&&t.rows.reverse()}a("sort-by",f),a("sortBy",f)},function(t,n,e){var r=e(10),i=e(11),o=e(6);function a(t,n){var e=void 0;if(i(n))e=function(t,e){return n(t)-n(e)};else{var a=[];r(n)?a.push(n):o(n)&&(a=n),e=function(t,n){for(var e=0;en[r])return 1;if(t[r]-1&&e.splice(n,1)})),e}function f(t,n){void 0===n&&(n={}),n=r({},c,n);var e=t.rows,a=n.groupBy,u=n.orderBy,f=o(e,a,u),l=0,h=[];i(f,(function(t){t.length>l&&(l=t.length,h=t)}));var p=[],d={};if(h.forEach((function(t){var n=u.map((function(n){return t[n]})).join("-");p.push(n),d[n]=t})),"order"===n.fillBy){var v=h[0],g=[],b={};e.forEach((function(t){var n=u.map((function(n){return t[n]})).join("-");-1===g.indexOf(n)&&(g.push(n),b[n]=t)}));var y=s(g,p);y.forEach((function(t){var n={};a.forEach((function(t){n[t]=v[t]})),u.forEach((function(e){n[e]=b[t][e]})),e.push(n),h.push(n),p.push(t),d[t]=n})),l=h.length}i(f,(function(t){if(t!==h&&t.length=l-t.length)return!0;var o=d[r],c={};return a.forEach((function(t){c[t]=n[t]})),u.forEach((function(t){c[t]=o[t]})),e.push(c),!1}))}}))}u("fill-rows",f),u("fillRows",f)},function(t,n,e){var r=e(3),i=e(9),o=e(416),a=e(11),u=e(417),c=e(10),s=e(19),f=e(15),l=e(2),h=l.registerTransform,p=e(7),d=p.getField,v={groupBy:[]};function g(t){return t.filter((function(t){return!u(t)}))}var b=["mean","median","max","min"],y={};function m(t,n){void 0===n&&(n={}),n=r({},v,n);var e=d(n),s=n.method;if(!s)throw new TypeError("Invalid method!");if("value"===s&&!o(n,"value"))throw new TypeError("Invalid value: it is nil.");var l=g(t.getColumn(e)),h=f(t.rows,n.groupBy);i(h,(function(t){var r=g(t.map((function(t){return t[e]})));0===r.length&&(r=l),t.forEach((function(i){if(u(i[e]))if(a(s))i[e]=s(i,r,n.value,t);else{if(!c(s))throw new TypeError("Invalid method: must be a function or one of "+b.join(", "));i[e]=y[s](i,r,n.value)}}))}))}b.forEach((function(t){y[t]=function(n,e){return s[t](e)}})),y.value=function(t,n,e){return e},h("impute",m)},function(t,n){t.exports=function(t,n){return t.hasOwnProperty(n)}},function(t,n){var e=function(t){return void 0===t};t.exports=e},function(t,n,e){var r=e(3),i=e(156),o=e(9),a=e(6),u=e(10),c=e(24),s=e(419),f=e(19),l=e(15),h=e(2),p=h.registerTransform,d=e(84),v=d.STATISTICS_METHODS,g=e(7),b=g.getFields,y={as:[],fields:[],groupBy:[],operations:[]},m="count",j={count:function(t){return t.length},distinct:function(t,n){var e=s(t.map((function(t){return t[n]})));return e.length}};function _(t,n){n=r({},y,n);var e=b(n);if(!a(e))throw new TypeError("Invalid fields: it must be an array with one or more strings!");var i=n.as||[];u(i)&&(i=[i]);var c=n.operations;u(c)&&(c=[c]);var s=[m];if(a(c)&&c.length||(console.warn('operations is not defined, will use [ "count" ] directly.'),c=s,i=c),1!==c.length||c[0]!==m){if(c.length!==e.length)throw new TypeError("Invalid operations: it's length must be the same as fields!");if(i.length!==e.length)throw new TypeError("Invalid as: it's length must be the same as fields!")}var f=l(t.rows,n.groupBy),h=[];o(f,(function(t){var n=t[0];c.forEach((function(r,o){var a=i[o],u=e[o];n[a]=j[r](t,u)})),h.push(n)})),t.rows=h}v.forEach((function(t){j[t]=function(n,e){var r=n.map((function(t){return t[e]}));return a(r)&&a(r[0])&&(r=i(r)),f[t](r)}})),j.average=j.mean,p("aggregate",_),p("summary",_),t.exports={VALID_AGGREGATES:c(j)}},function(t,n,e){var r=e(9),i=e(168),o=function(t){var n=[];return r(t,(function(t){i(n,t)||n.push(t)})),n};t.exports=o},function(t,n,e){var r=e(3),i=e(6),o=e(56),a=e(421),u=e(57),c=e(2),s=c.registerTransform,f=e(7),l=f.getFields,h=e(58),p=h.silverman,d={as:["x","y"],method:"linear",order:2,precision:2},v=["linear","exponential","logarithmic","power","polynomial"];function g(t,n){n=r({},d,n);var e=l(n);if(!i(e)||2!==e.length)throw new TypeError("invalid fields: must be an array of 2 strings.");var c=e[0],s=e[1],f=n.method;if(-1===v.indexOf(f))throw new TypeError("invalid method: "+f+". Must be one of "+v.join(", "));var h=t.rows.map((function(t){return[t[c],t[s]]})),g=a[f](h,n),b=n.extent;i(b)&&2===b.length||(b=t.range(c));var y=n.bandwidth;(!o(y)||y<=0)&&(y=p(t.getColumn(c)));var m=u(b,y),j=[],_=n.as,O=_[0],w=_[1];m.forEach((function(t){var n={},e=g.predict(t),r=e[0],i=e[1];n[O]=r,n[w]=i,isFinite(i)&&j.push(n)})),t.rows=j}s("regression",g),t.exports={REGRESSION_METHODS:v}},function(t,n,e){var r,i,o;(function(e,a){i=[t],r=a,o="function"===typeof r?r.apply(n,i):r,void 0===o||(t.exports=o)})(0,(function(t){"use strict";function n(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var e=Object.assign||function(t){for(var n=1;nMath.abs(e[o][a])&&(a=u);for(var c=o;c=o;l--)e[l][f]-=e[l][o]*e[o][f]/e[o][o]}for(var h=r-1;h>=0;h--){for(var p=0,d=h+1;d=0;_--)j+=_>1?b[_]+"x^"+_+" + ":1===_?b[_]+"x + ":b[_];return{string:j,points:m,predict:y,equation:[].concat(r(b)).reverse(),r2:u(o(t,m),n.precision)}}};function s(){var t=function(t,r){return e({_round:u},t,n({},r,(function(t,n){return c[r](t,e({},i,n))})))};return Object.keys(c).reduce(t,{})}t.exports=s()}))},function(t,n,e){var r=e(3),i=e(9),o=e(9),a=e(6),u=e(11),c=e(56),s=e(10),f=e(24),l=e(32),h=e(57),p=e(92),d=e(58),v=e(15),g=e(2),b=g.registerTransform,y=e(7),m=y.getFields,j=e(19),_=j.kernelDensityEstimation,O={minSize:.01,as:["key","y","size"],extent:[],method:"gaussian",bandwidth:"nrd",step:0,groupBy:[]},w=f(p),x=f(d);function E(t,n){n=r({},O,n);var e=m(n);if(!a(e)||e.length<1)throw new TypeError("invalid fields: must be an array of at least 1 strings!");var f=n.as;if(!a(f)||3!==f.length)throw new TypeError("invalid as: must be an array of 3 strings!");var g=n.method;if(s(g)){if(-1===w.indexOf(g))throw new TypeError("invalid method: "+g+". Must be one of "+w.join(", "));g=p[g]}if(!u(g))throw new TypeError("invalid method: kernel method must be a function!");var b=n.extent;if(!a(b)||0===b.length){var y=[];i(e,(function(n){var e=t.range(n);y=y.concat(e)})),b=[Math.min.apply(Math,y),Math.max.apply(Math,y)]}var j=n.bandwidth;s(j)&&d[j]?j=d[j](t.getColumn(e[0])):u(j)?j=j(t.getColumn(e[0])):(!c(j)||j<=0)&&(j=d.nrd(t.getColumn(e[0])));var x=h(b,n.step?n.step:j),E=[],k=n.groupBy,S=v(t.rows,k);o(S,(function(t){var r={};i(e,(function(e){var o=l(t[0],k);r[e]=_(t.map((function(t){return t[e]})),g,j);var a=f[0],u=f[1],c=f[2];o[a]=e,o[u]=[],o[c]=[],i(x,(function(t){var i=r[e](t);i>=n.minSize&&(o[u].push(t),o[c].push(i))})),E.push(o)}))})),t.rows=E}b("kernel-density-estimation",E),b("kde",E),b("KDE",E),t.exports={KERNEL_METHODS:w,BANDWIDTH_METHODS:x}},function(t,n,e){var r=e(3),i=e(9),o=e(6),a=e(2),u=a.registerTransform,c=e(7),s=c.getFields,f={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1},l=Math.sqrt(3),h=Math.PI/3,p=[0,h,2*h,3*h,4*h,5*h];function d(t,n,e,r){return Math.sqrt((t-e)*(t-e)+(n-r)*(n-r))}function v(t,n,e){var r=t-e;n/=2;var i=Math.floor(r/n),o=n*(i+(1===Math.abs(i%2)?1:0)),a=n*(i+(1===Math.abs(i%2)?0:1));return[o+e,a+e]}function g(t,n,e){void 0===n&&(n=[1,1]),void 0===e&&(e=[0,0]);var r={},i=n,o=i[0],a=i[1],u=e,c=u[0],s=u[1];return t.forEach((function(t){var n,e,i,u=t[0],f=t[1],l=v(u,o,c),h=l[0],p=l[1],g=v(f,a,s),b=g[0],y=g[1],m=d(u,f,h,b),j=d(u,f,p,y);mR&&(R=t.count)})),i(k,(function(t){var e=t.x,r=t.y,i=t.count,o={};o[C]=i,n.sizeByCount?(o[M]=N.map((function(n){return e+t.count/R*n[0]})),o[T]=N.map((function(n){return(r+t.count/R*n[1])/x}))):(o[M]=N.map((function(t){return e+t[0]})),o[T]=N.map((function(t){return(r+t[1])/x}))),A.push(o)})),t.rows=A}u("bin.hexagon",b),u("bin.hex",b),u("hexbin",b)},function(t,n,e){var r=e(3),i=e(9),o=e(32),a=e(15),u=e(2),c=u.registerTransform,s=e(7),f=s.getField,l={as:["x","count"],bins:30,offset:0,groupBy:[]};function h(t,n,e){var r=t-e,i=Math.floor(r/n);return[i*n+e,(i+1)*n+e]}function p(t,n){n=r({},l,n);var e=f(n);if(0!==t.rows.length){var u=t.range(e),c=u[1]-u[0],s=n.binWidth;if(!s){var p=n.bins;if(p<=0)throw new TypeError("Invalid bins: it must be a positive number!");s=c/p}var d=n.offset%s,v=[],g=n.groupBy,b=a(t.rows,g);i(b,(function(t){var a={},u=t.map((function(t){return t[e]}));u.forEach((function(t){var n=h(t,s,d),e=n[0],r=n[1],i=e+"-"+r;a[i]=a[i]||{x0:e,x1:r,count:0},a[i].count++}));var c=n.as,f=c[0],l=c[1];if(!f||!l)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var p=o(t[0],g);i(a,(function(t){var n=r({},p);n[f]=[t.x0,t.x1],n[l]=t.count,v.push(n)}))})),t.rows=v}}c("bin.histogram",p),c("bin.dot",p)},function(t,n,e){var r=e(3),i=e(9),o=e(6),a=e(10),u=e(19),c=u.quantile,s=e(15),f=e(157),l=e(2),h=l.registerTransform,p=e(7),d=p.getField,v={as:"_bin",groupBy:[],fraction:4};function g(t,n){n=r({},v,n);var e=d(n),u=n.as;if(!a(u))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var l=n.p,h=n.fraction;o(l)&&0!==l.length||(l=f(h));var p=t.rows,g=n.groupBy,b=s(p,g),y=[];i(b,(function(t){var n=t[0],r=t.map((function(t){return t[e]})),i=l.map((function(t){return c(r,t)}));n[u]=i,y.push(n)})),t.rows=y}h("bin.quantile",g)},function(t,n,e){var r=e(3),i=e(9),o=e(2),a=o.registerTransform,u=e(7),c=u.getFields,s={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};function f(t,n,e){var r=t-e,i=Math.floor(r/n);return[i*n+e,(i+1)*n+e]}function l(t,n){n=r({},s,n);var e=c(n),o=e[0],a=e[1];if(!o||!a)throw new TypeError("Invalid fields: must be an array with 2 strings!");var u=t.range(o),l=t.range(a),h=u[1]-u[0],p=l[1]-l[0],d=n.binWidth||[];if(2!==d.length){var v=n.bins,g=v[0],b=v[1];if(g<=0||b<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");d=[h/g,p/b]}var y=t.rows.map((function(t){return[t[o],t[a]]})),m={},j=n.offset,_=j[0],O=j[1];y.forEach((function(t){var n=f(t[0],d[0],_),e=n[0],r=n[1],i=f(t[1],d[1],O),o=i[0],a=i[1],u=e+"-"+r+"-"+o+"-"+a;m[u]=m[u]||{x0:e,x1:r,y0:o,y1:a,count:0},m[u].count++}));var w=[],x=n.as,E=x[0],k=x[1],S=x[2];if(!E||!k||!S)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(n.sizeByCount){var M=0;i(m,(function(t){t.count>M&&(M=t.count)})),i(m,(function(t){var n=t.x0,e=t.x1,r=t.y0,i=t.y1,o=t.count,a=o/M,u=(n+e)/2,c=(r+i)/2,s=(e-n)*a/2,f=(i-r)*a/2,l=u-s,h=u+s,p=c-f,d=c+f,v={};v[E]=[l,h,h,l],v[k]=[p,p,d,d],v[S]=o,w.push(v)}))}else i(m,(function(t){var n={};n[E]=[t.x0,t.x1,t.x1,t.x0],n[k]=[t.y0,t.y0,t.y1,t.y1],n[S]=t.count,w.push(n)}));t.rows=w}a("bin.rectangle",l),a("bin.rect",l)},function(t,n,e){var r=e(3),i=e(6),o=e(10),a=e(2),u=a.registerTransform,c=e(7),s=c.getField,f={as:["_centroid_x","_centroid_y"]};function l(t,n){n=r({},f,n);var e=s(n),a=n.geoView||n.geoDataView;if(o(a)&&(a=t.dataSet.getView(a)),!a||"geo"!==a.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var u=n.as;if(!i(u)||2!==u.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var c=u[0],l=u[1];t.rows.forEach((function(t){var n=a.geoFeatureByName(t[e]);n&&(a._projectedAs?(t[c]=n[a._projectedAs[2]],t[l]=n[a._projectedAs[3]]):(t[c]=n.centroidX,t[l]=n.centroidY))}))}u("geo.centroid",l)},function(t,n,e){var r=e(3),i=e(0),o=e(159),a=e(6),u=e(2),c=u.registerTransform,s=e(141),f=i.geoPath,l={as:["_x","_y","_centroid_x","_centroid_y"]};function h(t,n){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");n=r({},l,n);var e=n.projection;if(!e)throw new TypeError("Invalid projection!");e=s(e);var i=f(e),u=n.as;if(!a(u)||4!==u.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=u;var c=u[0],h=u[1],p=u[2],d=u[3];t.rows.forEach((function(t){t[c]=[],t[h]=[];var n=i(t);if(n){var e=o(n);e._path.forEach((function(n){t[c].push(n[1]),t[h].push(n[2])}));var r=i.centroid(t);t[p]=r[0],t[d]=r[1]}})),t.rows=t.rows.filter((function(t){return 0!==t[c].length}))}c("geo.projection",h)},function(t,n,e){var r=e(3),i=e(6),o=e(10),a=e(2),u=a.registerTransform,c=e(7),s=c.getField,f={as:["_x","_y"]};function l(t,n){n=r({},f,n);var e=s(n),a=n.geoView||n.geoDataView;if(o(a)&&(a=t.dataSet.getView(a)),!a||"geo"!==a.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var u=n.as;if(!i(u)||2!==u.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var c=u[0],l=u[1];t.rows.forEach((function(t){var n=a.geoFeatureByName(t[e]);n&&(a._projectedAs?(t[c]=n[a._projectedAs[0]],t[l]=n[a._projectedAs[1]]):(t[c]=n.longitude,t[l]=n.latitude))}))}u("geo.region",l)},function(t,n,e){var r=e(3),i=e(9),o=e(6),a=e(83),u=e(11),c=e(2),s=c.registerTransform,f={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 l(t,n,e){return void 0===e&&(e={}),t.forEach((function(t){var r=n.edgeSource(t),i=n.edgeTarget(t);e[r]||(e[r]={id:r}),e[i]||(e[i]={id:i})})),a(e)}function h(t,n,e){i(t,(function(t,r){t.inEdges=n.filter((function(t){return""+e.target(t)===""+r})),t.outEdges=n.filter((function(t){return""+e.source(t)===""+r})),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach((function(n){t.value+=e.targetWeight(n)})),t.outEdges.forEach((function(n){t.value+=e.sourceWeight(n)}))}))}function p(t,n){var e={weight:function(t,n){return n.value-t.value},frequency:function(t,n){return n.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}},r=e[n.sortBy];!r&&u(n.sortBy)&&(r=n.sortBy),r&&t.sort(r)}function d(t,n){var e=t.length;if(!e)throw new TypeError("Invalid nodes: it's empty!");if(n.weight){var r=n.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var i=r/(2*e),o=n.thickness;if(o<=0||o>=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=o})),t.forEach((function(e,r){for(var a=0,u=r-1;u>=0;u--)a+=t[u].width+2*i;var c=e.minX=i+a,s=e.maxX=e.minX+e.width,f=e.minY=n.y-o/2,l=e.maxY=f+o;e.x=[c,s,s,c],e.y=[f,f,l,l]}))}else{var u=1/e;t.forEach((function(t,e){t.x=(e+.5)*u,t.y=n.y}))}}function v(t,n,e){if(e.weight){var r={};i(t,(function(t,n){r[n]=t.value})),n.forEach((function(n){var i=e.source(n),o=e.target(n),a=t[i],u=t[o];if(a&&u){var c=r[i],s=e.sourceWeight(n),f=a.minX+(a.value-c)/a.value*a.width,l=f+s/a.value*a.width;r[i]-=s;var h=r[o],p=e.targetWeight(n),d=u.minX+(u.value-h)/u.value*u.width,v=d+p/u.value*u.width;r[o]-=p;var g=e.y;n.x=[f,l,d,v],n.y=[g,g,g,g]}}))}else n.forEach((function(n){var r=t[e.source(n)],i=t[e.target(n)];r&&i&&(n.x=[r.x,i.x],n.y=[r.y,i.y])}))}function g(t,n){n=r({},f,n);var e={},i=t.nodes,a=t.edges;o(i)&&0!==i.length||(i=l(a,n,e)),i.forEach((function(t){var r=n.id(t);e[r]=t})),h(e,a,n),p(i,n),d(i,n),v(e,a,n),t.nodes=i,t.edges=a}s("diagram.arc",g),s("arc",g)},function(t,n,e){var r=e(3),i=e(432),o=e(2),a=o.registerTransform,u={rankdir:"TB",align:"TB",nodesep:50,edgesep:10,ranksep:50,source:function(t){return t.source},target:function(t){return t.target}};function c(t,n){n=r({},u,n);var e=new i.graphlib.Graph;e.setGraph({}),e.setDefaultEdgeLabel((function(){return{}})),t.nodes.forEach((function(t){var r=n.nodeId?n.nodeId(t):t.id;t.height||t.width||(t.height=t.width=n.edgesep),e.setNode(r,t)})),t.edges.forEach((function(t){e.setEdge(n.source(t),n.target(t))})),i.layout(e);var o=[],a=[];e.nodes().forEach((function(t){var n=e.node(t),r=n.x,i=n.y,a=n.height,u=n.width;n.x=[r-u/2,r+u/2,r+u/2,r-u/2],n.y=[i+a/2,i+a/2,i-a/2,i-a/2],o.push(n)})),e.edges().forEach((function(t){var n=e.edge(t),r=n.points,i={};i.x=r.map((function(t){return t.x})),i.y=r.map((function(t){return t.y})),a.push(i)})),t.nodes=o,t.edges=a}a("diagram.dagre",c),a("dagre",c)},function(t,n,e){t.exports={graphlib:e(16),layout:e(448),debug:e(470),util:{time:e(12).time,notime:e(12).notime},version:e(471)}},function(t,n,e){var r=e(434);t.exports={Graph:r.Graph,json:e(438),alg:e(439),version:r.version}},function(t,n,e){t.exports={Graph:e(93),version:e(437)}},function(t,n){var e;e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(r){"object"===typeof window&&(e=window)}t.exports=e},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n){t.exports="2.1.5"},function(t,n,e){var r=e(13),i=e(93);function o(t){var n={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:a(t),edges:u(t)};return r.isUndefined(t.graph())||(n.value=r.clone(t.graph())),n}function a(t){return r.map(t.nodes(),(function(n){var e=t.node(n),i=t.parent(n),o={v:n};return r.isUndefined(e)||(o.value=e),r.isUndefined(i)||(o.parent=i),o}))}function u(t){return r.map(t.edges(),(function(n){var e=t.edge(n),i={v:n.v,w:n.w};return r.isUndefined(n.name)||(i.name=n.name),r.isUndefined(e)||(i.value=e),i}))}function c(t){var n=new i(t.options).setGraph(t.value);return r.each(t.nodes,(function(t){n.setNode(t.v,t.value),t.parent&&n.setParent(t.v,t.parent)})),r.each(t.edges,(function(t){n.setEdge({v:t.v,w:t.w,name:t.name},t.value)})),n}t.exports={write:o,read:c}},function(t,n,e){t.exports={components:e(440),dijkstra:e(170),dijkstraAll:e(441),findCycles:e(442),floydWarshall:e(443),isAcyclic:e(444),postorder:e(445),preorder:e(446),prim:e(447),tarjan:e(172),topsort:e(173)}},function(t,n,e){var r=e(13);function i(t){var n,e={},i=[];function o(i){r.has(e,i)||(e[i]=!0,n.push(i),r.each(t.successors(i),o),r.each(t.predecessors(i),o))}return r.each(t.nodes(),(function(t){n=[],o(t),n.length&&i.push(n)})),i}t.exports=i},function(t,n,e){var r=e(170),i=e(13);function o(t,n,e){return i.transform(t.nodes(),(function(i,o){i[o]=r(t,o,n,e)}),{})}t.exports=o},function(t,n,e){var r=e(13),i=e(172);function o(t){return r.filter(i(t),(function(n){return n.length>1||1===n.length&&t.hasEdge(n[0],n[0])}))}t.exports=o},function(t,n,e){var r=e(13);t.exports=o;var i=r.constant(1);function o(t,n,e){return a(t,n||i,e||function(n){return t.outEdges(n)})}function a(t,n,e){var r={},i=t.nodes();return i.forEach((function(t){r[t]={},r[t][t]={distance:0},i.forEach((function(n){t!==n&&(r[t][n]={distance:Number.POSITIVE_INFINITY})})),e(t).forEach((function(e){var i=e.v===t?e.w:e.v,o=n(e);r[t][i]={distance:o,predecessor:t}}))})),i.forEach((function(t){var n=r[t];i.forEach((function(e){var o=r[e];i.forEach((function(e){var r=o[t],i=n[e],a=o[e],u=r.distance+i.distance;u0){if(e=c.removeMin(),r.has(u,e))a.setEdge(e,u[e]);else{if(f)throw new Error("Input graph is not connected: "+t);f=!0}t.nodeEdges(e).forEach(s)}return a}t.exports=a},function(t,n,e){"use strict";var r=e(8),i=e(449),o=e(452),a=e(453),u=e(12).normalizeRanks,c=e(455),s=e(12).removeEmptyRanks,f=e(456),l=e(457),h=e(458),p=e(459),d=e(468),v=e(12),g=e(16).Graph;function b(t,n){var e=n&&n.debugTiming?v.time:v.notime;e("layout",(function(){var n=e(" buildLayoutGraph",(function(){return M(t)}));e(" runLayout",(function(){y(n,e)})),e(" updateInputGraph",(function(){m(t,n)}))}))}function y(t,n){n(" makeSpaceForEdgeLabels",(function(){T(t)})),n(" removeSelfEdges",(function(){q(t)})),n(" acyclic",(function(){i.run(t)})),n(" nestingGraph.run",(function(){f.run(t)})),n(" rank",(function(){a(v.asNonCompoundGraph(t))})),n(" injectEdgeLabelProxies",(function(){C(t)})),n(" removeEmptyRanks",(function(){s(t)})),n(" nestingGraph.cleanup",(function(){f.cleanup(t)})),n(" normalizeRanks",(function(){u(t)})),n(" assignRankMinMax",(function(){P(t)})),n(" removeEdgeLabelProxies",(function(){N(t)})),n(" normalize.run",(function(){o.run(t)})),n(" parentDummyChains",(function(){c(t)})),n(" addBorderSegments",(function(){l(t)})),n(" order",(function(){p(t)})),n(" insertSelfEdges",(function(){z(t)})),n(" adjustCoordinateSystem",(function(){h.adjust(t)})),n(" position",(function(){d(t)})),n(" positionSelfEdges",(function(){F(t)})),n(" removeBorderNodes",(function(){I(t)})),n(" normalize.undo",(function(){o.undo(t)})),n(" fixupEdgeLabelCoords",(function(){B(t)})),n(" undoCoordinateSystem",(function(){h.undo(t)})),n(" translateGraph",(function(){A(t)})),n(" assignNodeIntersects",(function(){R(t)})),n(" reversePoints",(function(){L(t)})),n(" acyclic.undo",(function(){i.undo(t)}))}function m(t,n){r.forEach(t.nodes(),(function(e){var r=t.node(e),i=n.node(e);r&&(r.x=i.x,r.y=i.y,n.children(e).length&&(r.width=i.width,r.height=i.height))})),r.forEach(t.edges(),(function(e){var i=t.edge(e),o=n.edge(e);i.points=o.points,r.has(o,"x")&&(i.x=o.x,i.y=o.y)})),t.graph().width=n.graph().width,t.graph().height=n.graph().height}t.exports=b;var j=["nodesep","edgesep","ranksep","marginx","marginy"],_={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},O=["acyclicer","ranker","rankdir","align"],w=["width","height"],x={width:0,height:0},E=["minlen","weight","width","height","labeloffset"],k={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},S=["labelpos"];function M(t){var n=new g({multigraph:!0,compound:!0}),e=G(t.graph());return n.setGraph(r.merge({},_,D(e,j),r.pick(e,O))),r.forEach(t.nodes(),(function(e){var i=G(t.node(e));n.setNode(e,r.defaults(D(i,w),x)),n.setParent(e,t.parent(e))})),r.forEach(t.edges(),(function(e){var i=G(t.edge(e));n.setEdge(e,r.merge({},k,D(i,E),r.pick(i,S)))})),n}function T(t){var n=t.graph();n.ranksep/=2,r.forEach(t.edges(),(function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)}))}function C(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.width&&e.height){var r=t.node(n.v),i=t.node(n.w),o={rank:(i.rank-r.rank)/2+r.rank,e:n};v.addDummyNode(t,"edge-proxy",o,"_ep")}}))}function P(t){var n=0;r.forEach(t.nodes(),(function(e){var i=t.node(e);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,n=r.max(n,i.maxRank))})),t.graph().maxRank=n}function N(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);"edge-proxy"===e.dummy&&(t.edge(e.e).labelRank=e.rank,t.removeNode(n))}))}function A(t){var n=Number.POSITIVE_INFINITY,e=0,i=Number.POSITIVE_INFINITY,o=0,a=t.graph(),u=a.marginx||0,c=a.marginy||0;function s(t){var r=t.x,a=t.y,u=t.width,c=t.height;n=Math.min(n,r-u/2),e=Math.max(e,r+u/2),i=Math.min(i,a-c/2),o=Math.max(o,a+c/2)}r.forEach(t.nodes(),(function(n){s(t.node(n))})),r.forEach(t.edges(),(function(n){var e=t.edge(n);r.has(e,"x")&&s(e)})),n-=u,i-=c,r.forEach(t.nodes(),(function(e){var r=t.node(e);r.x-=n,r.y-=i})),r.forEach(t.edges(),(function(e){var o=t.edge(e);r.forEach(o.points,(function(t){t.x-=n,t.y-=i})),r.has(o,"x")&&(o.x-=n),r.has(o,"y")&&(o.y-=i)})),a.width=e-n+u,a.height=o-i+c}function R(t){r.forEach(t.edges(),(function(n){var e,r,i=t.edge(n),o=t.node(n.v),a=t.node(n.w);i.points?(e=i.points[0],r=i.points[i.points.length-1]):(i.points=[],e=a,r=o),i.points.unshift(v.intersectRect(o,e)),i.points.push(v.intersectRect(a,r))}))}function B(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(r.has(e,"x"))switch("l"!==e.labelpos&&"r"!==e.labelpos||(e.width-=e.labeloffset),e.labelpos){case"l":e.x-=e.width/2+e.labeloffset;break;case"r":e.x+=e.width/2+e.labeloffset;break}}))}function L(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);e.reversed&&e.points.reverse()}))}function I(t){r.forEach(t.nodes(),(function(n){if(t.children(n).length){var e=t.node(n),i=t.node(e.borderTop),o=t.node(e.borderBottom),a=t.node(r.last(e.borderLeft)),u=t.node(r.last(e.borderRight));e.width=Math.abs(u.x-a.x),e.height=Math.abs(o.y-i.y),e.x=a.x+e.width/2,e.y=i.y+e.height/2}})),r.forEach(t.nodes(),(function(n){"border"===t.node(n).dummy&&t.removeNode(n)}))}function q(t){r.forEach(t.edges(),(function(n){if(n.v===n.w){var e=t.node(n.v);e.selfEdges||(e.selfEdges=[]),e.selfEdges.push({e:n,label:t.edge(n)}),t.removeEdge(n)}}))}function z(t){var n=v.buildLayerMatrix(t);r.forEach(n,(function(n){var e=0;r.forEach(n,(function(n,i){var o=t.node(n);o.order=i+e,r.forEach(o.selfEdges,(function(n){v.addDummyNode(t,"selfedge",{width:n.label.width,height:n.label.height,rank:o.rank,order:i+ ++e,e:n.e,label:n.label},"_se")})),delete o.selfEdges}))}))}function F(t){r.forEach(t.nodes(),(function(n){var e=t.node(n);if("selfedge"===e.dummy){var r=t.node(e.e.v),i=r.x+r.width/2,o=r.y,a=e.x-i,u=r.height/2;t.setEdge(e.e,e.label),t.removeNode(n),e.label.points=[{x:i+2*a/3,y:o-u},{x:i+5*a/6,y:o-u},{x:i+a,y:o},{x:i+5*a/6,y:o+u},{x:i+2*a/3,y:o+u}],e.label.x=e.x,e.label.y=e.y}}))}function D(t,n){return r.mapValues(r.pick(t,n),Number)}function G(t){var n={};return r.forEach(t,(function(t,e){n[e.toLowerCase()]=t})),n}},function(t,n,e){"use strict";var r=e(8),i=e(450);function o(t){var n="greedy"===t.graph().acyclicer?i(t,e(t)):a(t);function e(t){return function(n){return t.edge(n).weight}}r.forEach(n,(function(n){var e=t.edge(n);t.removeEdge(n),e.forwardName=n.name,e.reversed=!0,t.setEdge(n.w,n.v,e,r.uniqueId("rev"))}))}function a(t){var n=[],e={},i={};function o(a){r.has(i,a)||(i[a]=!0,e[a]=!0,r.forEach(t.outEdges(a),(function(t){r.has(e,t.w)?n.push(t):o(t.w)})),delete e[a])}return r.forEach(t.nodes(),o),n}function u(t){r.forEach(t.edges(),(function(n){var e=t.edge(n);if(e.reversed){t.removeEdge(n);var r=e.forwardName;delete e.reversed,delete e.forwardName,t.setEdge(n.w,n.v,e,r)}}))}t.exports={run:o,undo:u}},function(t,n,e){var r=e(8),i=e(16).Graph,o=e(451);t.exports=u;var a=r.constant(1);function u(t,n){if(t.nodeCount()<=1)return[];var e=f(t,n||a),i=c(e.graph,e.buckets,e.zeroIdx);return r.flatten(r.map(i,(function(n){return t.outEdges(n.v,n.w)})),!0)}function c(t,n,e){var r,i=[],o=n[n.length-1],a=n[0];while(t.nodeCount()){while(r=a.dequeue())s(t,n,e,r);while(r=o.dequeue())s(t,n,e,r);if(t.nodeCount())for(var u=n.length-2;u>0;--u)if(r=n[u].dequeue(),r){i=i.concat(s(t,n,e,r,!0));break}}return i}function s(t,n,e,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),u=t.node(r.v);o&&a.push({v:r.v,w:r.w}),u.out-=i,l(n,e,u)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),o=r.w,a=t.node(o);a["in"]-=i,l(n,e,a)})),t.removeNode(i.v),a}function f(t,n){var e=new i,a=0,u=0;r.forEach(t.nodes(),(function(t){e.setNode(t,{v:t,in:0,out:0})})),r.forEach(t.edges(),(function(t){var r=e.edge(t.v,t.w)||0,i=n(t),o=r+i;e.setEdge(t.v,t.w,o),u=Math.max(u,e.node(t.v).out+=i),a=Math.max(a,e.node(t.w)["in"]+=i)}));var c=r.range(u+a+3).map((function(){return new o})),s=a+1;return r.forEach(e.nodes(),(function(t){l(c,s,e.node(t))})),{graph:e,buckets:c,zeroIdx:s}}function l(t,n,e){e.out?e["in"]?t[e.out-e["in"]+n].enqueue(e):t[t.length-1].enqueue(e):t[0].enqueue(e)}},function(t,n){function e(){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 i(t,n){if("_next"!==t&&"_prev"!==t)return n}t.exports=e,e.prototype.dequeue=function(){var t=this._sentinel,n=t._prev;if(n!==t)return r(n),n},e.prototype.enqueue=function(t){var n=this._sentinel;t._prev&&t._next&&r(t),t._next=n._next,n._next._prev=t,n._next=t,t._prev=n},e.prototype.toString=function(){var t=[],n=this._sentinel,e=n._prev;while(e!==n)t.push(JSON.stringify(e,i)),e=e._prev;return"["+t.join(", ")+"]"}},function(t,n,e){"use strict";var r=e(8),i=e(12);function o(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(n){a(t,n)}))}function a(t,n){var e=n.v,r=t.node(e).rank,o=n.w,a=t.node(o).rank,u=n.name,c=t.edge(n),s=c.labelRank;if(a!==r+1){var f,l,h;for(t.removeEdge(n),h=0,++r;rc.lim&&(s=c,f=!0);var l=r.filter(n.edges(),(function(n){return f===_(t,t.node(n.v),s)&&f!==_(t,t.node(n.w),s)}));return r.minBy(l,(function(t){return o(n,t)}))}function y(t,n,e,r){var i=e.v,o=e.w;t.removeEdge(i,o),t.setEdge(r.v,r.w,{}),d(t),l(t,n),m(t,n)}function m(t,n){var e=r.find(t.nodes(),(function(t){return!n.node(t).parent})),i=u(t,e);i=i.slice(1),r.forEach(i,(function(e){var r=t.node(e).parent,i=n.edge(e,r),o=!1;i||(i=n.edge(r,e),o=!0),n.node(e).rank=n.node(r).rank+(o?i.minlen:-i.minlen)}))}function j(t,n,e){return t.hasEdge(n,e)}function _(t,n,e){return e.low<=n.lim&&n.lim<=e.lim}t.exports=f,f.initLowLimValues=d,f.initCutValues=l,f.calcCutValue=p,f.leaveEdge=g,f.enterEdge=b,f.exchangeEdges=y},function(t,n,e){var r=e(8);function i(t){var n=a(t);r.forEach(t.graph().dummyChains,(function(e){var r=t.node(e),i=r.edgeObj,a=o(t,n,i.v,i.w),u=a.path,c=a.lca,s=0,f=u[s],l=!0;while(e!==i.w){if(r=t.node(e),l){while((f=u[s])!==c&&t.node(f).maxRankc||s>n[i].lim));o=i,i=r;while((i=t.parent(i))!==o)u.push(i);return{path:a.concat(u.reverse()),lca:o}}function a(t){var n={},e=0;function i(o){var a=e;r.forEach(t.children(o),i),n[o]={low:a,lim:e++}}return r.forEach(t.children(),i),n}t.exports=i},function(t,n,e){var r=e(8),i=e(12);function o(t){var n=i.addDummyNode(t,"root",{},"_root"),e=u(t),o=r.max(r.values(e))-1,s=2*o+1;t.graph().nestingRoot=n,r.forEach(t.edges(),(function(n){t.edge(n).minlen*=s}));var f=c(t)+1;r.forEach(t.children(),(function(r){a(t,n,s,f,o,e,r)})),t.graph().nodeRankFactor=s}function a(t,n,e,o,u,c,s){var f=t.children(s);if(f.length){var l=i.addBorderNode(t,"_bt"),h=i.addBorderNode(t,"_bb"),p=t.node(s);t.setParent(l,s),p.borderTop=l,t.setParent(h,s),p.borderBottom=h,r.forEach(f,(function(r){a(t,n,e,o,u,c,r);var i=t.node(r),f=i.borderTop?i.borderTop:r,p=i.borderBottom?i.borderBottom:r,d=i.borderTop?o:2*o,v=f!==p?1:u-c[s]+1;t.setEdge(l,f,{weight:d,minlen:v,nestingEdge:!0}),t.setEdge(p,h,{weight:d,minlen:v,nestingEdge:!0})})),t.parent(s)||t.setEdge(n,l,{weight:0,minlen:u+c[s]})}else s!==n&&t.setEdge(n,s,{weight:0,minlen:e})}function u(t){var n={};function e(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,(function(t){e(t,o+1)})),n[i]=o}return r.forEach(t.children(),(function(t){e(t,1)})),n}function c(t){return r.reduce(t.edges(),(function(n,e){return n+t.edge(e).weight}),0)}function s(t){var n=t.graph();t.removeNode(n.nestingRoot),delete n.nestingRoot,r.forEach(t.edges(),(function(n){var e=t.edge(n);e.nestingEdge&&t.removeEdge(n)}))}t.exports={run:o,cleanup:s}},function(t,n,e){var r=e(8),i=e(12);function o(t){function n(e){var i=t.children(e),o=t.node(e);if(i.length&&r.forEach(i,n),r.has(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var u=o.minRank,c=o.maxRank+1;u=2),u=f.buildLayerMatrix(t);var g=o(t,u);g0)n%2&&(e+=c[n+1]),n=n-1>>1,c[n]+=t.weight;s+=t.weight*e}))),s}t.exports=i},function(t,n,e){var r=e(8),i=e(463),o=e(464),a=e(465);function u(t,n,e,f){var l=t.children(n),h=t.node(n),p=h?h.borderLeft:void 0,d=h?h.borderRight:void 0,v={};p&&(l=r.filter(l,(function(t){return t!==p&&t!==d})));var g=i(t,l);r.forEach(g,(function(n){if(t.children(n.v).length){var i=u(t,n.v,e,f);v[n.v]=i,r.has(i,"barycenter")&&s(n,i)}}));var b=o(g,e);c(b,v);var y=a(b,f);if(p&&(y.vs=r.flatten([p,y.vs,d],!0),t.predecessors(p).length)){var m=t.node(t.predecessors(p)[0]),j=t.node(t.predecessors(d)[0]);r.has(y,"barycenter")||(y.barycenter=0,y.weight=0),y.barycenter=(y.barycenter*y.weight+m.order+j.order)/(y.weight+2),y.weight+=2}return y}function c(t,n){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return n[t]?n[t].vs:t})),!0)}))}function s(t,n){r.isUndefined(t.barycenter)?(t.barycenter=n.barycenter,t.weight=n.weight):(t.barycenter=(t.barycenter*t.weight+n.barycenter*n.weight)/(t.weight+n.weight),t.weight+=n.weight)}t.exports=u},function(t,n,e){var r=e(8);function i(t,n){return r.map(n,(function(n){var e=t.inEdges(n);if(e.length){var i=r.reduce(e,(function(n,e){var r=t.edge(e),i=t.node(e.v);return{sum:n.sum+r.weight*i.order,weight:n.weight+r.weight}}),{sum:0,weight:0});return{v:n,barycenter:i.sum/i.weight,weight:i.weight}}return{v:n}}))}t.exports=i},function(t,n,e){"use strict";var r=e(8);function i(t,n){var e={};r.forEach(t,(function(t,n){var i=e[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:n};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(n.edges(),(function(t){var n=e[t.v],i=e[t.w];r.isUndefined(n)||r.isUndefined(i)||(i.indegree++,n.out.push(e[t.w]))}));var i=r.filter(e,(function(t){return!t.indegree}));return o(i)}function o(t){var n=[];function e(t){return function(n){n.merged||(r.isUndefined(n.barycenter)||r.isUndefined(t.barycenter)||n.barycenter>=t.barycenter)&&a(t,n)}}function i(n){return function(e){e["in"].push(n),0===--e.indegree&&t.push(e)}}while(t.length){var o=t.pop();n.push(o),r.forEach(o["in"].reverse(),e(o)),r.forEach(o.out,i(o))}return r.chain(n).filter((function(t){return!t.merged})).map((function(t){return r.pick(t,["vs","i","barycenter","weight"])})).value()}function a(t,n){var e=0,r=0;t.weight&&(e+=t.barycenter*t.weight,r+=t.weight),n.weight&&(e+=n.barycenter*n.weight,r+=n.weight),t.vs=n.vs.concat(t.vs),t.barycenter=e/r,t.weight=r,t.i=Math.min(n.i,t.i),n.merged=!0}t.exports=i},function(t,n,e){var r=e(8),i=e(12);function o(t,n){var e=i.partition(t,(function(t){return r.has(t,"barycenter")})),o=e.lhs,c=r.sortBy(e.rhs,(function(t){return-t.i})),s=[],f=0,l=0,h=0;o.sort(u(!!n)),h=a(s,c,h),r.forEach(o,(function(t){h+=t.vs.length,s.push(t.vs),f+=t.barycenter*t.weight,l+=t.weight,h=a(s,c,h)}));var p={vs:r.flatten(s,!0)};return l&&(p.barycenter=f/l,p.weight=l),p}function a(t,n,e){var i;while(n.length&&(i=r.last(n)).i<=e)n.pop(),t.push(i.vs),e++;return e}function u(t){return function(n,e){return n.barycentere.barycenter?1:t?e.i-n.i:n.i-e.i}}t.exports=o},function(t,n,e){var r=e(8),i=e(16).Graph;function o(t,n,e){var o=a(t),u=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(n){return t.node(n)}));return r.forEach(t.nodes(),(function(i){var a=t.node(i),c=t.parent(i);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(u.setNode(i),u.setParent(i,c||o),r.forEach(t[e](i),(function(n){var e=n.v===i?n.w:n.v,o=u.edge(e,i),a=r.isUndefined(o)?0:o.weight;u.setEdge(e,i,{weight:t.edge(n).weight+a})})),r.has(a,"minRank")&&u.setNode(i,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))})),u}function a(t){var n;while(t.hasNode(n=r.uniqueId("_root")));return n}t.exports=o},function(t,n,e){var r=e(8);function i(t,n,e){var i,o={};r.forEach(e,(function(e){var r,a,u=t.parent(e);while(u){if(r=t.parent(u),r?(a=o[r],o[r]=u):(a=i,i=u),a&&a!==u)return void n.setEdge(a,u);u=r}}))}t.exports=i},function(t,n,e){"use strict";var r=e(8),i=e(12),o=e(469).positionX;function a(t){t=i.asNonCompoundGraph(t),u(t),r.forEach(o(t),(function(n,e){t.node(e).x=n}))}function u(t){var n=i.buildLayerMatrix(t),e=t.graph().ranksep,o=0;r.forEach(n,(function(n){var i=r.max(r.map(n,(function(n){return t.node(n).height})));r.forEach(n,(function(n){t.node(n).y=o+i/2})),o+=i+e}))}t.exports=a},function(t,n,e){"use strict";var r=e(8),i=e(16).Graph,o=e(12);function a(t,n){var e={};function i(n,i){var o=0,a=0,u=n.length,f=r.last(i);return r.forEach(i,(function(n,l){var h=c(t,n),p=h?t.node(h).order:u;(h||n===f)&&(r.forEach(i.slice(a,l+1),(function(n){r.forEach(t.predecessors(n),(function(r){var i=t.node(r),a=i.order;!(au)&&s(e,n,c)}))}))}function o(n,e){var o,a=-1,u=0;return r.forEach(e,(function(r,c){if("border"===t.node(r).dummy){var s=t.predecessors(r);s.length&&(o=t.node(s[0]).order,i(e,u,c,a,o),u=c,a=o)}i(e,u,e.length,o,n.length)})),e}return r.reduce(n,o),e}function c(t,n){if(t.node(n).dummy)return r.find(t.predecessors(n),(function(n){return t.node(n).dummy}))}function s(t,n,e){if(n>e){var r=n;n=e,e=r}var i=t[n];i||(t[n]=i={}),i[e]=!0}function f(t,n,e){if(n>e){var i=n;n=e,e=i}return r.has(t[n],e)}function l(t,n,e,i){var o={},a={},u={};return r.forEach(n,(function(t){r.forEach(t,(function(t,n){o[t]=t,a[t]=t,u[t]=n}))})),r.forEach(n,(function(t){var n=-1;r.forEach(t,(function(t){var c=i(t);if(c.length){c=r.sortBy(c,(function(t){return u[t]}));for(var s=(c.length-1)/2,l=Math.floor(s),h=Math.ceil(s);l<=h;++l){var p=c[l];a[t]===t&&n0;--a)d(o*=.99),v(),c(o),v();function u(){var i=Object(r["min"])(e,(function(t){return(y-n-(t.length-1)*j)/Object(r["sum"])(t,f)}));e.forEach((function(t){t.forEach((function(t,n){t.y1=(t.y0=n)+t.value*i}))})),t.links.forEach((function(t){t.width=t.value*i}))}function c(t){e.forEach((function(n){n.forEach((function(n){if(n.targetLinks.length){var e=(Object(r["sum"])(n.targetLinks,h)/Object(r["sum"])(n.targetLinks,f)-l(n))*t;n.y0+=e,n.y1+=e}}))}))}function d(t){e.slice().reverse().forEach((function(n){n.forEach((function(n){if(n.sourceLinks.length){var e=(Object(r["sum"])(n.sourceLinks,p)/Object(r["sum"])(n.sourceLinks,f)-l(n))*t;n.y0+=e,n.y1+=e}}))}))}function v(){e.forEach((function(t){var e,r,i,o=n,a=t.length;for(t.sort(s),i=0;i0&&(e.y0+=r,e.y1+=r),o=e.y1+j;if(r=o-j-y,r>0)for(o=e.y0-=r,e.y1-=r,i=a-2;i>=0;--i)e=t[i],r=e.y1+j-o,r>0&&(e.y0-=r,e.y1-=r),o=e.y0}))}}function P(t){t.nodes.forEach((function(t){t.sourceLinks.sort(c),t.targetLinks.sort(u)})),t.nodes.forEach((function(t){var n=t.y0,e=n;t.sourceLinks.forEach((function(t){t.y0=n+t.width/2,n+=t.width})),t.targetLinks.forEach((function(t){t.y1=e+t.width/2,e+=t.width}))}))}return k.update=function(t){return P(t),t},k.nodeId=function(t){return arguments.length?(_="function"===typeof t?t:Object(a["a"])(t),k):_},k.nodeAlign=function(t){return arguments.length?(O="function"===typeof t?t:Object(a["a"])(t),k):O},k.nodeWidth=function(t){return arguments.length?(m=+t,k):m},k.nodePadding=function(t){return arguments.length?(j=+t,k):j},k.nodes=function(t){return arguments.length?(w="function"===typeof t?t:Object(a["a"])(t),k):w},k.links=function(t){return arguments.length?(x="function"===typeof t?t:Object(a["a"])(t),k):x},k.size=function(r){return arguments.length?(t=n=0,e=+r[0],y=+r[1],k):[e-t,y-n]},k.extent=function(r){return arguments.length?(t=+r[0][0],e=+r[1][0],n=+r[0][1],y=+r[1][1],k):[[t,n],[e,y]]},k.iterations=function(t){return arguments.length?(E=+t,k):E},k}},function(t,n,e){"use strict";var r=e(476);e.d(n,"b",(function(){return r["a"]}));e(477);var i=e(94);e.d(n,"a",(function(){return i["a"]}));e(478),e(479),e(480)},function(t,n,e){"use strict";var r=e(94);function i(){return{}}function o(t,n,e){t[n]=e}function a(){return Object(r["a"])()}function u(t,n,e){t.set(n,e)}n["a"]=function(){var t,n,e,c=[],s=[];function f(e,i,o,a){if(i>=c.length)return null!=t&&e.sort(t),null!=n?n(e):e;var u,s,l,h=-1,p=e.length,d=c[i++],v=Object(r["a"])(),g=o();while(++hc.length)return t;var r,i=s[e-1];return null!=n&&e>=c.length?r=t.entries():(r=[],t.each((function(t,n){r.push({key:n,values:l(t,e)})}))),null!=i?r.sort((function(t,n){return i(t.key,n.key)})):r}return e={object:function(t){return f(t,0,i,o)},map:function(t){return f(t,0,a,u)},entries:function(t){return l(f(t,0,a,u),0)},key:function(t){return c.push(t),e},sortKeys:function(t){return s[c.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}}},function(t,n,e){"use strict";var r=e(94);function i(){}var o=r["a"].prototype;function a(t,n){var e=new i;if(t instanceof i)t.each((function(t){e.add(t)}));else if(t){var r=-1,o=t.length;if(null==n)while(++rt?1:n>=t?0:NaN}},function(t,n,e){"use strict";n["a"]=function(t){return t}},function(t,n,e){"use strict";e(178),e(177),e(179)},function(t,n,e){"use strict";n["a"]=l;var r=e(33),i=e(181),o=e(27),a=e(96);e(180);function u(t){return t.source}function c(t){return t.target}function s(t){var n=u,e=c,s=a["a"],f=a["b"],l=null;function h(){var o,a=i["a"].call(arguments),u=n.apply(this,a),c=e.apply(this,a);if(l||(l=o=Object(r["path"])()),t(l,+s.apply(this,(a[0]=u,a)),+f.apply(this,a),+s.apply(this,(a[0]=c,a)),+f.apply(this,a)),o)return l=null,o+""||null}return h.source=function(t){return arguments.length?(n=t,h):n},h.target=function(t){return arguments.length?(e=t,h):e},h.x=function(t){return arguments.length?(s="function"===typeof t?t:Object(o["a"])(+t),h):s},h.y=function(t){return arguments.length?(f="function"===typeof t?t:Object(o["a"])(+t),h):f},h.context=function(t){return arguments.length?(l=null==t?null:t,h):l},h}function f(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function l(){return s(f)}},function(t,n,e){"use strict";e(33);var r=e(182),i=e(183),o=e(184),a=e(185),u=e(186),c=e(187),s=e(188);e(27),r["a"],i["a"],o["a"],u["a"],a["a"],c["a"],s["a"]},function(t,n,e){"use strict";var r=e(61),i=e(62);function o(t){this._context=t}o.prototype={areaStart:r["a"],areaEnd:r["a"],lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);break}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i["b"])(this,t,n);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},function(t,n,e){"use strict";var r=e(62);function i(t){this._context=t}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,i):this._context.moveTo(e,i);break;case 3:this._point=4;default:Object(r["b"])(this,t,n);break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},function(t,n,e){"use strict";var r=e(62);function i(t,n){this._basis=new r["a"](t),this._beta=n}i.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0){var r,i=t[0],o=n[0],a=t[e]-i,u=n[e]-o,c=-1;while(++c<=e)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*n[c]+(1-this._beta)*(o+r*u))}this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};(function t(n){function e(t){return 1===n?new r["a"](t):new i(t,n)}return e.beta=function(n){return t(+n)},e})(.85)},function(t,n,e){"use strict";var r=e(189),i=e(61),o=e(97);function a(t,n){this._context=t,this._alpha=n}a.prototype={areaStart:i["a"],areaEnd:i["a"],lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);break}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(o["a"])(this,t,n);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new a(t,n):new r["a"](t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";var r=e(190),i=e(97);function o(t,n){this._context=t,this._alpha=n}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i["a"])(this,t,n);break}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new o(t,n):new r["a"](t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";var r=e(61);function i(t){this._context=t}i.prototype={areaStart:r["a"],areaEnd:r["a"],lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function i(t,n,e){var i=t._x1-t._x0,o=n-t._x1,a=(t._y1-t._y0)/(i||o<0&&-0),u=(e-t._y1)/(o||i<0&&-0),c=(a*o+u*i)/(i+o);return(r(a)+r(u))*Math.min(Math.abs(a),Math.abs(u),.5*Math.abs(c))||0}function o(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function a(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,u=(o-r)/3;t._context.bezierCurveTo(r+u,i+u*n,o-u,a-u*e,o,a)}function u(t){this._context=t}function c(t){this._context=new s(t)}function s(t){this._context=t}u.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:a(this,this._t0,o(this,this._t0));break}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,a(this,o(this,e=i(this,t,n)),e);break;default:a(this,this._t0,e=i(this,t,n));break}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(c.prototype=Object.create(u.prototype)).point=function(t,n){u.prototype.point.call(this,n,t)},s.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}}},function(t,n,e){"use strict";function r(t){this._context=t}function i(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}break}this._x=t,this._y=n}}},function(t,n,e){"use strict";e(181),e(27),e(47),e(48)},function(t,n,e){"use strict";e(47)},function(t,n,e){"use strict"},function(t,n,e){"use strict";e(47)},function(t,n,e){"use strict";e(47)},function(t,n,e){"use strict";e(98)},function(t,n,e){"use strict";e(48),e(98)},function(t,n,e){"use strict";e(48)},function(t,n,e){var r=e(3),i=e(509),o=e(6),a=e(2),u=a.registerTransform,c=e(7),s=c.getFields,f={as:["_x","_y"]};function l(t,n){n=r({},f,n);var e=n.as;if(!o(e)||2!==e.length)throw new TypeError("Invalid as: must be an array with two strings!");var a=e[0],u=e[1],c=s(n);if(!o(c)&&2!==c.length)throw new TypeError("Invalid fields: must be an array with two strings!");var l=c[0],h=c[1],p=t.rows,d=p.map((function(t){return[t[l],t[h]]})),v=i.voronoi();n.extend&&v.extent(n.extend),n.size&&v.size(n.size);var g=v(d).polygons();p.forEach((function(t,n){var e=g[n].filter((function(t){return!!t}));t[a]=e.map((function(t){return t[0]})),t[u]=e.map((function(t){return t[1]}))}))}u("diagram.voronoi",l),u("voronoi",l)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(510);e.d(n,"voronoi",(function(){return r["a"]}))},function(t,n,e){"use strict";var r=e(511),i=e(512),o=e(49);n["a"]=function(){var t=i["a"],n=i["b"],e=null;function a(r){return new o["d"](r.map((function(e,i){var a=[Math.round(t(e,i,r)/o["f"])*o["f"],Math.round(n(e,i,r)/o["f"])*o["f"]];return a.index=i,a.data=e,a})),e)}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:Object(r["a"])(+n),a):t},a.y=function(t){return arguments.length?(n="function"===typeof t?t:Object(r["a"])(+t),a):n},a.extent=function(t){return arguments.length?(e=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],a):e&&[[e[0][0],e[0][1]],[e[1][0],e[1][1]]]},a.size=function(t){return arguments.length?(e=null==t?null:[[0,0],[+t[0],+t[1]]],a):e&&[e[1][0]-e[0][0],e[1][1]-e[0][1]]},a}},function(t,n,e){"use strict";n["a"]=function(t){return function(){return t}}},function(t,n,e){"use strict";function r(t){return t[0]}function i(t){return t[1]}n["a"]=r,n["b"]=i},function(t,n,e){"use strict";n["b"]=h,n["a"]=p;var r=e(99),i=e(191),o=e(192),a=e(100),u=e(49),c=[];function s(){Object(r["a"])(this),this.edge=this.site=this.circle=null}function f(t){var n=c.pop()||new s;return n.site=t,n}function l(t){Object(o["b"])(t),u["a"].remove(t),c.push(t),Object(r["a"])(t)}function h(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],c=t.P,s=t.N,f=[t];l(t);var h=c;while(h.circle&&Math.abs(e-h.circle.x)u["f"])h=h.L;else{if(c=s-v(h,l),!(c>u["f"])){r>-u["f"]?(n=h.P,e=h):c>-u["f"]?(n=h,e=h.N):n=e=h;break}if(!h.R){n=h;break}h=h.R}Object(i["c"])(t);var p=f(t);if(u["a"].insert(n,p),n||e){if(n===e)return Object(o["b"])(n),e=f(n.site),u["a"].insert(p,e),p.edge=e.edge=Object(a["c"])(n.site,p.site),Object(o["a"])(n),void Object(o["a"])(e);if(e){Object(o["b"])(n),Object(o["b"])(e);var g=n.site,b=g[0],y=g[1],m=t[0]-b,j=t[1]-y,_=e.site,O=_[0]-b,w=_[1]-y,x=2*(m*w-j*O),E=m*m+j*j,k=O*O+w*w,S=[(w*E-j*k)/x+b,(m*k-O*E)/x+y];Object(a["d"])(e.edge,g,_,S),p.edge=Object(a["c"])(g,t,null,S),e.edge=Object(a["c"])(t,_,null,S),Object(o["a"])(n),Object(o["a"])(e)}else p.edge=Object(a["c"])(n.site,p.site)}}function d(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var a=t.P;if(!a)return-1/0;e=a.site;var u=e[0],c=e[1],s=c-n;if(!s)return u;var f=u-r,l=1/o-1/s,h=f/s;return l?(-h+Math.sqrt(h*h-2*l*(f*f/(-2*s)-c+s/2+i-o/2)))/l+r:(r+u)/2}function v(t,n){var e=t.N;if(e)return d(e,n);var r=t.site;return r[1]===n?r[0]:1/0}},function(t,n,e){var r=e(3),i=e(34),o=e(6),a=e(2),u=a.HIERARCHY,c=a.registerTransform,s=e(7),f=s.getField,l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};function h(t,n){if(t.dataType!==u)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root;n=r({},l,n);var a,c=n.as;if(!o(c)||2!==c.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');try{a=f(n)}catch(d){console.warn(d)}a&&e.sum((function(t){return t[a]}));var s=i.cluster();s.size(n.size),n.nodeSize&&s.nodeSize(n.nodeSize),n.separation&&s.separation(n.separation),s(e);var h=c[0],p=c[1];e.each((function(t){t[h]=t.x,t[p]=t.y}))}c("hierarchy.cluster",h),c("dendrogram",h)},function(t,n,e){var r=e(101),i=e(2),o=i.HIERARCHY,a=i.registerTransform,u={};function c(t,n){var e=t.root;if(n=Object.assign({},u,n),t.dataType!==o)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");t.root=r.compactBox(e,n)}a("hierarchy.compact-box",c),a("compact-box-tree",c),a("non-layered-tidy-tree",c),a("mindmap-logical",c)},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var i=e(64),o=e(517),a=e(102),u=e(28),c=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this;return a(t.rootNode,t.options,o)},n}(i),s={};function f(t,n){return n=u.assign({},s,n),new c(t,n).execute()}t.exports=f},function(t,n){function e(t,n,e,r){void 0===r&&(r=[]);var i=this;i.w=t||0,i.h=n||0,i.y=e||0,i.x=0,i.c=r||[],i.cs=r.length,i.prelim=0,i.mod=0,i.shift=0,i.change=0,i.tl=null,i.tr=null,i.el=null,i.er=null,i.msel=0,i.mser=0}function r(t,n,e){e?t.y+=n:t.x+=n,t.children.forEach((function(t){r(t,n,e)}))}function i(t,n){var e=n?t.y:t.x;return t.children.forEach((function(t){e=Math.min(i(t,n),e)})),e}function o(t,n){var e=i(t,n);r(t,-e,n)}function a(t,n,e){e?n.y=t.x:n.x=t.x,t.c.forEach((function(t,r){a(t,n.children[r],e)}))}function u(t,n,e){void 0===e&&(e=0),n?(t.x=e,e+=t.width):(t.y=e,e+=t.height),t.children.forEach((function(t){u(t,n,e)}))}e.fromNode=function(t,n){if(!t)return null;var r=[];return t.children.forEach((function(t){r.push(e.fromNode(t,n))})),n?new e(t.height,t.width,t.x,r):new e(t.width,t.height,t.y,r)},t.exports=function(t,n){void 0===n&&(n={});var r=n.isHorizontal;function i(t){if(0!==t.cs){i(t.c[0]);for(var n=j(p(t.c[0].el),0,null),e=1;ee.low&&(e=e.nxt);var u=i+r.prelim+r.w-(a+o.prelim);u>0&&(a+=u,f(t,n,e.index,u));var c=p(r),s=p(o);c<=s&&(r=h(r),null!==r&&(i+=r.mod)),c>=s&&(o=l(o),null!==o&&(a+=o.mod))}!r&&o?d(t,n,o,a):r&&!o&&v(t,n,r,i)}function f(t,n,e,r){t.c[n].mod+=r,t.c[n].msel+=r,t.c[n].mser+=r,y(t,n,e,r)}function l(t){return 0===t.cs?t.tl:t.c[0]}function h(t){return 0===t.cs?t.tr:t.c[t.cs-1]}function p(t){return t.y+t.h}function d(t,n,e,r){var i=t.c[0].el;i.tl=e;var o=r-e.mod-t.c[0].msel;i.mod+=o,i.prelim-=o,t.c[0].el=t.c[n].el,t.c[0].msel=t.c[n].msel}function v(t,n,e,r){var i=t.c[n].er;i.tr=e;var o=r-e.mod-t.c[n].mser;i.mod+=o,i.prelim-=o,t.c[n].er=t.c[n-1].er,t.c[n].mser=t.c[n-1].mser}function g(t){t.prelim=(t.c[0].prelim+t.c[0].mod+t.c[t.cs-1].mod+t.c[t.cs-1].prelim+t.c[t.cs-1].w)/2-t.w/2}function b(t,n){n+=t.mod,t.x=t.prelim+n,m(t);for(var e=0;e=e.low)e=e.nxt;return{low:t,index:n,nxt:e}}u(t,r);var _=e.fromNode(t,r);return i(_),b(_,0),a(_,t,r),o(t,r),t}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var i=e(64),o=e(519),a=e(102),u=e(28),c=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this;return t.rootNode.width=0,a(t.rootNode,t.options,o)},n}(i),s={};function f(t,n){return n=u.assign({},s,n),new c(t,n).execute()}t.exports=f},function(t,n,e){var r=e(28);function i(t,n){void 0===t&&(t=0),void 0===n&&(n=[]);var e=this;e.x=e.y=0,e.leftChild=e.rightChild=null,e.height=0,e.children=n}var o={isHorizontal:!0,nodeSep:20,nodeSize:20,rankSep:200,subTreeSep:10};function a(t,n,e){e?(n.x=t.x,n.y=t.y):(n.x=t.y,n.y=t.x),t.children.forEach((function(t,r){a(t,n.children[r],e)}))}t.exports=function(t,n){void 0===n&&(n={}),n=r.assign({},o,n);var e,u=0;function c(t){if(!t)return null;t.width=0,t.depth&&t.depth>u&&(u=t.depth);var n=t.children,e=n.length,r=new i(t.height,[]);return n.forEach((function(t,n){var i=c(t);r.children.push(i),0===n&&(r.leftChild=i),n===e-1&&(r.rightChild=i)})),r.originNode=t,r.isLeaf=t.isLeaf(),r}function s(t){if(t.isLeaf||0===t.children.length)t.drawingDepth=u;else{var n=t.children.map((function(t){return s(t)})),e=Math.min.apply(null,n);t.drawingDepth=e-1}return t.drawingDepth}function f(t){t.x=t.drawingDepth*n.rankSep,t.isLeaf?(t.y=0,e&&(t.y=e.y+e.height+n.nodeSep,t.originNode.parent!==e.originNode.parent&&(t.y+=n.subTreeSep)),e=t):(t.children.forEach((function(t){f(t)})),t.y=(t.leftChild.y+t.rightChild.y)/2)}var l=c(t);return s(l),f(l),a(l,t,n.isHorizontal),t}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var i=e(64),o=e(521),a=e(194),u=e(28),c=["LR","RL","H"],s=c[0],f=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this,n=t.options,e=t.rootNode;n.isHorizontal=!0;var r=n.indent,i=n.direction||s;if(i&&-1===c.indexOf(i))throw new TypeError("Invalid direction: "+i);if(i===c[0])o(e,r);else if(i===c[1])o(e,r),e.right2left();else if(i===c[2]){var u=a(e,n),f=u.left,l=u.right;o(f,r),f.right2left(),o(l,r);var h=f.getBoundingBox();l.translate(h.width,0),e.x=l.x-e.width/2}return e},n}(i),l={};function h(t,n){return n=u.assign({},l,n),new f(t,n).execute()}t.exports=h},function(t,n){var e=20;function r(t,n,e){t.x+=e*t.depth,t.y=n?n.y+n.height:0}t.exports=function(t,n){void 0===n&&(n=e);var i=null;t.eachNode((function(t){r(t,i,n),i=t}))}},function(t,n,e){function r(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n}var i=e(64),o=e(523),a=e(102),u=e(28),c=function(t){function n(){return t.apply(this,arguments)||this}r(n,t);var e=n.prototype;return e.execute=function(){var t=this;return a(t.rootNode,t.options,o)},n}(i),s={};function f(t,n){return n=u.assign({},s,n),new c(t,n).execute()}t.exports=f},function(t,n,e){var r=e(28);function i(t,n){var e=0;return t.children.length?t.children.forEach((function(t){e+=i(t,n)})):e=t.height,t._subTreeSep=n.getSubTreeSep(t.data),t.totalHeight=Math.max(t.height,e)+2*t._subTreeSep,t.totalHeight}function o(t){var n=t.children,e=n.length;if(e){n.forEach((function(t){o(t)}));var r=n[0],i=n[e-1],a=i.y-r.y+i.height,u=0;if(n.forEach((function(t){u+=t.totalHeight})),a>t.height)t.y=r.y+a/2-t.height/2;else if(1!==n.length||t.height>u){var c=t.y+(t.height-a)/2-r.y;n.forEach((function(t){t.translate(0,c)}))}else t.y=(r.y+r.height/2+i.y+i.height/2)/2-t.height/2}}var a={getSubTreeSep:function(){return 0}};t.exports=function(t,n){void 0===n&&(n={}),n=r.assign({},a,n),t.parent={x:0,width:0,height:0,y:0},t.BFTraverse((function(t){t.x=t.parent.x+t.parent.width})),t.parent=null,i(t,n),t.startY=0,t.y=t.totalHeight/2-t.height/2,t.eachNode((function(t){var n=t.children,e=n.length;if(e){var r=n[0];if(r.startY=t.startY+t._subTreeSep,1===e)r.y=t.y+t.height/2-r.height/2;else{r.y=r.startY+r.totalHeight/2-r.height/2;for(var i=1;i>5<<5,d=~~Math.max(Math.abs(y+m),Math.abs(y-m))}else p=p+31>>5<<5;if(d>l&&(l=d),s+p>=r<<5&&(s=0,f+=l,l=0),f+d>=i)break;u.translate((s+(p>>1))/c,(f+(d>>1))/c),n.rotate&&u.rotate(n.rotate*e),u.fillText(n.text,0,0),n.padding&&(u.lineWidth=2*n.padding,u.strokeText(n.text,0,0)),u.restore(),n.width=p,n.height=d,n.xoff=s,n.yoff=f,n.x1=p>>1,n.y1=d>>1,n.x0=-n.x1,n.y0=-n.y1,n.hasText=!0,s+=p}var _=u.getImageData(0,0,(r<<5)/c,i/c).data,O=[];while(--a>=0)if(n=o[a],n.hasText){for(var w=n.width,x=w>>5,E=n.y1-n.y0,k=0;k>5),N=_[(f+T)*(r<<5)+(s+C)<<2]?1<<31-C%32:0;O[P]|=N,S|=N}S?M=T:(n.y0++,E--,T--,f++)}n.y1=n.y0+M,n.sprite=O.slice(0,(n.y1-n.y0)*x)}}}function h(t,n,e){e>>=5;for(var r,i=t.sprite,o=t.width>>5,a=t.x-(o<<4),u=127&a,c=32-u,s=t.y1-t.y0,f=(t.y+t.y0)*e+(a>>5),l=0;l>>u:0))&n[f+h])return!0;f+=e}return!1}function p(t,n){var e=t[0],r=t[1];n.x+n.x0r.x&&(r.x=n.x+n.x1),n.y+n.y1>r.y&&(r.y=n.y+n.y1)}function d(t,n){return t.x+t.x1>n[0].x&&t.x+t.x0n[0].y&&t.y+t.y0>2);t.width=(r<<5)/n,t.height=i/n;var e=t.getContext("2d");return e.fillStyle=e.strokeStyle="red",e.textAlign="center",{context:e,ratio:n}}function N(n,e,r){var i,o,a,u=e.x,c=e.y,s=Math.sqrt(t[0]*t[0]+t[1]*t[1]),f=E(t),l=M()<.5?1:-1,p=-l;while(i=f(p+=l)){if(o=~~i[0],a=~~i[1],Math.min(Math.abs(o),Math.abs(a))>=s)break;if(e.x=u+o,e.y=c+a,!(e.x+e.x0<0||e.y+e.y0<0||e.x+e.x1>t[0]||e.y+e.y1>t[1])&&(!r||!h(e,n,t[0]))&&(!r||d(e,r))){for(var v=e.sprite,g=e.width>>5,b=t[0]>>5,y=e.x-(g<<4),m=127&y,j=32-m,_=e.y1-e.y0,O=void 0,w=(e.y+e.y0)*b+(y>>5),x=0;x<_;x++){O=0;for(var k=0;k<=g;k++)n[w+k]|=O<>>m:0);w+=b}return delete e.sprite,!0}}return!1}return C.canvas=function(t){return arguments.length?(T=m(t),C):T},C.start=function(){var r=t,i=r[0],o=r[1],a=P(T()),u=C.board?C.board:b((t[0]>>5)*t[1]),c=k.length,s=[],f=k.map((function(t,r){return t.text=n.call(this,t,r),t.font=e.call(this,t,r),t.style=_.call(this,t,r),t.weight=O.call(this,t,r),t.rotate=w.call(this,t,r),t.size=~~g.call(this,t,r),t.padding=x.call(this,t,r),t})).sort((function(t,n){return n.size-t.size})),h=-1,d=C.board?[{x:0,y:0},{x:i,y:o}]:null;function v(){var n=Date.now();while(Date.now()-n>1,e.y=o*(M()+.5)>>1,l(a,e,f,h),e.hasText&&N(u,e,d)&&(s.push(e),d?C.hasImage||p(d,e):d=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}C._tags=s,C._bounds=d}return v(),C},C.createMask=function(n){var e=document.createElement("canvas"),r=t,i=r[0],o=r[1],a=i>>5,u=b((i>>5)*o);e.width=i,e.height=o;var c=e.getContext("2d");c.drawImage(n,0,0,n.width,n.height,0,0,i,o);for(var s=c.getImageData(0,0,i,o).data,f=0;f>5),p=f*i+l<<2,d=s[p]>=250&&s[p+1]>=250&&s[p+2]>=250,v=d?1<<31-l%32:0;u[h]|=v}C.board=u,C.hasImage=!0},C.timeInterval=function(t){return arguments.length?(S=null==t?1/0:t,C):S},C.words=function(t){return arguments.length?(k=t,C):k},C.size=function(n){return arguments.length?(t=[+n[0],+n[1]],C):t},C.font=function(t){return arguments.length?(e=m(t),C):e},C.fontStyle=function(t){return arguments.length?(_=m(t),C):_},C.fontWeight=function(t){return arguments.length?(O=m(t),C):O},C.rotate=function(t){return arguments.length?(w=m(t),C):w},C.text=function(t){return arguments.length?(n=m(t),C):n},C.spiral=function(t){return arguments.length?(E=j[t]||t,C):E},C.fontSize=function(t){return arguments.length?(g=m(t),C):g},C.padding=function(t){return arguments.length?(x=m(t),C):x},C.random=function(t){return arguments.length?(M=t,C):M},C}},function(t,n,e){var r=e(3),i=e(9),o=e(9),a=e(24),u=e(533),c=e(32),s=e(19),f=s.sum,l=e(15),h=e(2),p=h.registerTransform,d=e(7),v=d.getFields,g={fields:["name","value"],rows:5,size:[1,1],scale:1,groupBy:[],maxCount:1e3,gapRatio:.1,as:["x","y"]};function b(t,n){n=r({},g,n);var e=v(n),s=e[0],h=e[1],p=n.as,d=p[0],b=p[1],y=n.groupBy,m=l(t.rows,y),j=a(m),_=n.size,O=_[0],w=_[1],x=n.maxCount,E=j.length,k=w/E,S=n.rows,M=n.gapRatio,T=[],C=n.scale,P=0,N=0;o(m,(function(t){var n=f(u(t,(function(t){return t[h]}))),e=Math.ceil(n*C/S);n*C>x&&(C=x/n,e=Math.ceil(n*C/S)),N=O/e})),o(m,(function(t){var n=[P*k,(P+1)*k],e=n[1]-n[0],r=e*(1-M)/S,o=0,a=0;i(t,(function(t){for(var e=t[h],i=Math.round(e*C),u=0;u0&&e(u)?n>1?O(u,n-1,e,r,i):d(i,u):r||(i[i.length]=u)}return i}function w(t,n){return t=Object(t),x(t,n,(function(n,e){return e in t}))}function x(t,n,e){var r=-1,i=n.length,o={};while(++r-1&&t%1==0&&t<=i}function R(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function B(t){return!!t&&"object"==typeof t}function L(t){return"symbol"==typeof t||B(t)&&b.call(t)==c}var I=E((function(t,n){return null==t?{}:w(t,p(O(n,1),S))}));t.exports=I}}]);