diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/README.md b/README.md old mode 100644 new mode 100755 index 670dba6..a29a7ac --- a/README.md +++ b/README.md @@ -1,3 +1 @@ # scatter-pod - -Scatter Pod \ No newline at end of file diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js new file mode 100755 index 0000000..f189e91 --- /dev/null +++ b/build/webpack.base.conf.js @@ -0,0 +1,35 @@ +const path = require('path'); + + +function resolve(dir) { + return path.join(__dirname, '..', dir) +} + +module.exports = { + context: resolve('src'), + entry: './index.ts', + plugins: [], + module: { + rules: [ + { + test: /\.ts$/, + use: 'ts-loader', + exclude: /node_modules/ + }, + { + test: /\.css$/, + use: ['style-loader', 'css-loader'], + exclude: /node_modules/ + } + ], + }, + resolve: { + extensions: ['.ts', '.js'], + }, + output: { + filename: 'index.js', + path: resolve('dist'), + libraryTarget: 'umd', + umdNamedDefine: true + } +}; diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js new file mode 100755 index 0000000..9a05316 --- /dev/null +++ b/build/webpack.dev.conf.js @@ -0,0 +1,8 @@ +const baseWebpackConfig = require('./webpack.base.conf'); + +var conf = baseWebpackConfig; +conf.devtool = 'inline-source-map'; +conf.watch = true; +conf.mode = 'development'; + +module.exports = conf; diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js new file mode 100755 index 0000000..94cb91d --- /dev/null +++ b/build/webpack.prod.conf.js @@ -0,0 +1,6 @@ +const baseWebpackConfig = require('./webpack.base.conf'); + +var conf = baseWebpackConfig; +conf.mode = 'production'; + +module.exports = baseWebpackConfig; diff --git a/demo.html b/demo.html new file mode 100644 index 0000000..78cbb2a --- /dev/null +++ b/demo.html @@ -0,0 +1,86 @@ + + + + + + + + + +
+ + + + diff --git a/dist/delaunay.d.ts b/dist/delaunay.d.ts new file mode 100644 index 0000000..4f8ec4a --- /dev/null +++ b/dist/delaunay.d.ts @@ -0,0 +1,15 @@ +import { ScatterData } from './types'; +import * as d3 from 'd3'; +export declare class DelaunayDiagram { + protected series: ScatterData[]; + private _delaunayData; + private _delaunayDiagram; + constructor(series: ScatterData[], xScale: d3.ScaleLinear, yScale: (string: any) => d3.ScaleLinear); + get data(): number[][] | undefined; + setDelaunayDiagram(xScale: d3.ScaleLinear, yScale: (string: any) => d3.ScaleLinear): void; + findPointIndex(eventX: number, eventY: number): number | undefined; + getDataRowByIndex(index: number): number[] | undefined; + private getDatapointsForDelaunay; + private concatSeriesDatapoints; + private getSerieIdxByTarget; +} diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 0000000..cab1685 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,88 @@ +import { ChartwerkPod, TickOrientation, TimeFormat, yAxisOrientation } from '@chartwerk/core'; +import { ScatterData, ScatterOptions, PointType, LineType } from './types'; +import { DelaunayDiagram } from './delaunay'; +import * as d3 from 'd3'; +export declare class ChartwerkScatterPod extends ChartwerkPod { + _metricsContainer: any; + _delaunayDiagram: DelaunayDiagram; + constructor(el: HTMLElement, _series?: ScatterData[], _options?: ScatterOptions); + renderMetrics(): void; + renderMetricContainer(): void; + protected updateCrosshair(): void; + appendCrosshairPoints(): void; + protected appendCrosshairPoint(serieIdx: number): void; + protected renderLines(): void; + renderLine(datapoints: number[][], lineType: LineType, color: string, orientation: yAxisOrientation): void; + protected renderPoints(): void; + onPanningEnd(): void; + unhighlight(): void; + highlight(pointIdx: number): void; + protected getCrosshairCircleBackgroundSize(serieIdx: number): number; + renderSharedCrosshair(values: { + x?: number; + y?: number; + }): void; + moveCrosshairLine(xPosition: number, yPosition: number): void; + findAndHighlightDatapoints(eventX: number, eventY: number): { + values: any[]; + pointIdx: number; + } | null; + protected getYScale(orientation: yAxisOrientation): d3.ScaleLinear; + hideSharedCrosshair(): void; + onMouseMove(): void; + onMouseOver(): void; + onMouseOut(): void; +} +export declare const VueChartwerkScatterPodObject: { + render(createElement: any): any; + mixins: { + props: { + id: { + type: StringConstructor; + required: boolean; + }; + series: { + type: ArrayConstructor; + required: boolean; + default: () => any[]; + }; + options: { + type: ObjectConstructor; + required: boolean; + default: () => {}; + }; + }; + watch: { + id(): void; + series(): void; + options(): void; + }; + mounted(): void; + destroyed(): void; + methods: { + render(): void; + renderSharedCrosshair(values: { + x?: number; + y?: number; + }): void; + hideSharedCrosshair(): void; + onPanningRescale(event: any): void; + renderChart(): void; + appendEvents(): void; + zoomIn(range: any): void; + zoomOut(centers: any): void; + mouseMove(evt: any): void; + mouseOut(): void; + onLegendClick(idx: any): void; + panningEnd(range: any): void; + panning(range: any): void; + contextMenu(evt: any): void; + sharedCrosshairMove(event: any): void; + renderEnd(): void; + }; + }[]; + methods: { + render(): void; + }; +}; +export { ScatterData, ScatterOptions, TickOrientation, TimeFormat, PointType, LineType }; diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..59d0bf3 --- /dev/null +++ b/dist/index.js @@ -0,0 +1,9 @@ +!function(t,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var e=n();for(var r in e)("object"==typeof exports?exports:t)[r]=e[r]}}(window,(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,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=4)}([function(t,n,e){(function(t,r){var i; +/** + * @license + * Lodash + * Copyright OpenJS 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="Expected a function",u="__lodash_placeholder__",a=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],c="[object Arguments]",f="[object Array]",s="[object Boolean]",l="[object Date]",h="[object Error]",d="[object Function]",p="[object GeneratorFunction]",v="[object Map]",y="[object Number]",g="[object Object]",_="[object RegExp]",b="[object Set]",m="[object String]",x="[object Symbol]",w="[object WeakMap]",M="[object ArrayBuffer]",A="[object DataView]",S="[object Float32Array]",k="[object Float64Array]",E="[object Int8Array]",C="[object Int16Array]",T="[object Int32Array]",N="[object Uint8Array]",O="[object Uint16Array]",j="[object Uint32Array]",R=/\b__p \+= '';/g,z=/\b(__p \+=) '' \+/g,P=/(__e\(.*?\)|\b__t\)) \+\n'';/g,I=/&(?:amp|lt|gt|quot|#39);/g,L=/[&<>"']/g,D=RegExp(I.source),F=RegExp(L.source),U=/<%-([\s\S]+?)%>/g,B=/<%([\s\S]+?)%>/g,q=/<%=([\s\S]+?)%>/g,V=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,H=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,$=/[\\^$.*+?()[\]{}|]/g,W=RegExp($.source),G=/^\s+/,X=/\s/,Z=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/[()=,{}\[\]\/\s]/,nt=/\\(\\)?/g,et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,rt=/\w*$/,it=/^[-+]0x[0-9a-f]+$/i,ot=/^0b[01]+$/i,ut=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,ct=/^(?:0|[1-9]\d*)$/,ft=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,st=/($^)/,lt=/['\n\r\u2028\u2029\\]/g,ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",dt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",pt="[\\ud800-\\udfff]",vt="["+dt+"]",yt="["+ht+"]",gt="\\d+",_t="[\\u2700-\\u27bf]",bt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+dt+gt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",xt="\\ud83c[\\udffb-\\udfff]",wt="[^\\ud800-\\udfff]",Mt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",St="[A-Z\\xc0-\\xd6\\xd8-\\xde]",kt="(?:"+bt+"|"+mt+")",Et="(?:"+St+"|"+mt+")",Ct="(?:"+yt+"|"+xt+")"+"?",Tt="[\\ufe0e\\ufe0f]?"+Ct+("(?:\\u200d(?:"+[wt,Mt,At].join("|")+")[\\ufe0e\\ufe0f]?"+Ct+")*"),Nt="(?:"+[_t,Mt,At].join("|")+")"+Tt,Ot="(?:"+[wt+yt+"?",yt,Mt,At,pt].join("|")+")",jt=RegExp("['’]","g"),Rt=RegExp(yt,"g"),zt=RegExp(xt+"(?="+xt+")|"+Ot+Tt,"g"),Pt=RegExp([St+"?"+bt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[vt,St,"$"].join("|")+")",Et+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[vt,St+kt,"$"].join("|")+")",St+"?"+kt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",St+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gt,Nt].join("|"),"g"),It=RegExp("[\\u200d\\ud800-\\udfff"+ht+"\\ufe0e\\ufe0f]"),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Dt=["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"],Ft=-1,Ut={};Ut[S]=Ut[k]=Ut[E]=Ut[C]=Ut[T]=Ut[N]=Ut["[object Uint8ClampedArray]"]=Ut[O]=Ut[j]=!0,Ut[c]=Ut[f]=Ut[M]=Ut[s]=Ut[A]=Ut[l]=Ut[h]=Ut[d]=Ut[v]=Ut[y]=Ut[g]=Ut[_]=Ut[b]=Ut[m]=Ut[w]=!1;var Bt={};Bt[c]=Bt[f]=Bt[M]=Bt[A]=Bt[s]=Bt[l]=Bt[S]=Bt[k]=Bt[E]=Bt[C]=Bt[T]=Bt[v]=Bt[y]=Bt[g]=Bt[_]=Bt[b]=Bt[m]=Bt[x]=Bt[N]=Bt["[object Uint8ClampedArray]"]=Bt[O]=Bt[j]=!0,Bt[h]=Bt[d]=Bt[w]=!1;var qt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Vt=parseFloat,Yt=parseInt,Ht="object"==typeof t&&t&&t.Object===Object&&t,$t="object"==typeof self&&self&&self.Object===Object&&self,Wt=Ht||$t||Function("return this")(),Gt=n&&!n.nodeType&&n,Xt=Gt&&"object"==typeof r&&r&&!r.nodeType&&r,Zt=Xt&&Xt.exports===Gt,Kt=Zt&&Ht.process,Qt=function(){try{var t=Xt&&Xt.require&&Xt.require("util").types;return t||Kt&&Kt.binding&&Kt.binding("util")}catch(t){}}(),Jt=Qt&&Qt.isArrayBuffer,tn=Qt&&Qt.isDate,nn=Qt&&Qt.isMap,en=Qt&&Qt.isRegExp,rn=Qt&&Qt.isSet,on=Qt&&Qt.isTypedArray;function un(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 an(t,n,e,r){for(var i=-1,o=null==t?0:t.length;++i-1}function dn(t,n,e){for(var r=-1,i=null==t?0:t.length;++r-1;);return e}function In(t,n){for(var e=t.length;e--&&wn(n,t[e],0)>-1;);return e}function Ln(t,n){for(var e=t.length,r=0;e--;)t[e]===n&&++r;return r}var Dn=En({"À":"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"}),Fn=En({"&":"&","<":"<",">":">",'"':""","'":"'"});function Un(t){return"\\"+qt[t]}function Bn(t){return It.test(t)}function qn(t){var n=-1,e=Array(t.size);return t.forEach((function(t,r){e[++n]=[r,t]})),e}function Vn(t,n){return function(e){return t(n(e))}}function Yn(t,n){for(var e=-1,r=t.length,i=0,o=[];++e",""":'"',"'":"'"});var Kn=function t(n){var e,r=(n=null==n?Wt:Kn.defaults(Wt.Object(),n,Kn.pick(Wt,Dt))).Array,i=n.Date,X=n.Error,ht=n.Function,dt=n.Math,pt=n.Object,vt=n.RegExp,yt=n.String,gt=n.TypeError,_t=r.prototype,bt=ht.prototype,mt=pt.prototype,xt=n["__core-js_shared__"],wt=bt.toString,Mt=mt.hasOwnProperty,At=0,St=(e=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"",kt=mt.toString,Et=wt.call(pt),Ct=Wt._,Tt=vt("^"+wt.call(Mt).replace($,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nt=Zt?n.Buffer:void 0,Ot=n.Symbol,zt=n.Uint8Array,It=Nt?Nt.allocUnsafe:void 0,qt=Vn(pt.getPrototypeOf,pt),Ht=pt.create,$t=mt.propertyIsEnumerable,Gt=_t.splice,Xt=Ot?Ot.isConcatSpreadable:void 0,Kt=Ot?Ot.iterator:void 0,Qt=Ot?Ot.toStringTag:void 0,bn=function(){try{var t=to(pt,"defineProperty");return t({},"",{}),t}catch(t){}}(),En=n.clearTimeout!==Wt.clearTimeout&&n.clearTimeout,Qn=i&&i.now!==Wt.Date.now&&i.now,Jn=n.setTimeout!==Wt.setTimeout&&n.setTimeout,te=dt.ceil,ne=dt.floor,ee=pt.getOwnPropertySymbols,re=Nt?Nt.isBuffer:void 0,ie=n.isFinite,oe=_t.join,ue=Vn(pt.keys,pt),ae=dt.max,ce=dt.min,fe=i.now,se=n.parseInt,le=dt.random,he=_t.reverse,de=to(n,"DataView"),pe=to(n,"Map"),ve=to(n,"Promise"),ye=to(n,"Set"),ge=to(n,"WeakMap"),_e=to(pt,"create"),be=ge&&new ge,me={},xe=Co(de),we=Co(pe),Me=Co(ve),Ae=Co(ye),Se=Co(ge),ke=Ot?Ot.prototype:void 0,Ee=ke?ke.valueOf:void 0,Ce=ke?ke.toString:void 0;function Te(t){if(Hu(t)&&!zu(t)&&!(t instanceof Re)){if(t instanceof je)return t;if(Mt.call(t,"__wrapped__"))return To(t)}return new je(t)}var Ne=function(){function t(){}return function(n){if(!Yu(n))return{};if(Ht)return Ht(n);t.prototype=n;var e=new t;return t.prototype=void 0,e}}();function Oe(){}function je(t,n){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=void 0}function Re(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function ze(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n=n?t:n)),t}function Ke(t,n,e,r,i,o){var u,a=1&n,f=2&n,h=4&n;if(e&&(u=i?e(t,r,i,o):e(t)),void 0!==u)return u;if(!Yu(t))return t;var w=zu(t);if(w){if(u=function(t){var n=t.length,e=new t.constructor(n);n&&"string"==typeof t[0]&&Mt.call(t,"index")&&(e.index=t.index,e.input=t.input);return e}(t),!a)return _i(t,u)}else{var R=ro(t),z=R==d||R==p;if(Du(t))return hi(t,a);if(R==g||R==c||z&&!i){if(u=f||z?{}:oo(t),!a)return f?function(t,n){return bi(t,eo(t),n)}(t,function(t,n){return t&&bi(n,wa(n),t)}(u,t)):function(t,n){return bi(t,no(t),n)}(t,We(u,t))}else{if(!Bt[R])return i?t:{};u=function(t,n,e){var r=t.constructor;switch(n){case M:return di(t);case s:case l:return new r(+t);case A:return function(t,n){var e=n?di(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}(t,e);case S:case k:case E:case C:case T:case N:case"[object Uint8ClampedArray]":case O:case j:return pi(t,e);case v:return new r;case y:case m:return new r(t);case _:return function(t){var n=new t.constructor(t.source,rt.exec(t));return n.lastIndex=t.lastIndex,n}(t);case b:return new r;case x:return i=t,Ee?pt(Ee.call(i)):{}}var i}(t,R,a)}}o||(o=new De);var P=o.get(t);if(P)return P;o.set(t,u),Zu(t)?t.forEach((function(r){u.add(Ke(r,n,e,r,t,o))})):$u(t)&&t.forEach((function(r,i){u.set(i,Ke(r,n,e,i,t,o))}));var I=w?void 0:(h?f?Wi:$i:f?wa:xa)(t);return cn(I||t,(function(r,i){I&&(r=t[i=r]),Ye(u,i,Ke(r,n,e,i,t,o))})),u}function Qe(t,n,e){var r=e.length;if(null==t)return!r;for(t=pt(t);r--;){var i=e[r],o=n[i],u=t[i];if(void 0===u&&!(i in t)||!o(u))return!1}return!0}function Je(t,n,e){if("function"!=typeof t)throw new gt(o);return xo((function(){t.apply(void 0,e)}),n)}function tr(t,n,e,r){var i=-1,o=hn,u=!0,a=t.length,c=[],f=n.length;if(!a)return c;e&&(n=pn(n,jn(e))),r?(o=dn,u=!1):n.length>=200&&(o=zn,u=!1,n=new Le(n));t:for(;++i-1},Pe.prototype.set=function(t,n){var e=this.__data__,r=He(e,t);return r<0?(++this.size,e.push([t,n])):e[r][1]=n,this},Ie.prototype.clear=function(){this.size=0,this.__data__={hash:new ze,map:new(pe||Pe),string:new ze}},Ie.prototype.delete=function(t){var n=Qi(this,t).delete(t);return this.size-=n?1:0,n},Ie.prototype.get=function(t){return Qi(this,t).get(t)},Ie.prototype.has=function(t){return Qi(this,t).has(t)},Ie.prototype.set=function(t,n){var e=Qi(this,t),r=e.size;return e.set(t,n),this.size+=e.size==r?0:1,this},Le.prototype.add=Le.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Le.prototype.has=function(t){return this.__data__.has(t)},De.prototype.clear=function(){this.__data__=new Pe,this.size=0},De.prototype.delete=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e},De.prototype.get=function(t){return this.__data__.get(t)},De.prototype.has=function(t){return this.__data__.has(t)},De.prototype.set=function(t,n){var e=this.__data__;if(e instanceof Pe){var r=e.__data__;if(!pe||r.length<199)return r.push([t,n]),this.size=++e.size,this;e=this.__data__=new Ie(r)}return e.set(t,n),this.size=e.size,this};var nr=wi(fr),er=wi(sr,!0);function rr(t,n){var e=!0;return nr(t,(function(t,r,i){return e=!!n(t,r,i)})),e}function ir(t,n,e){for(var r=-1,i=t.length;++r0&&e(a)?n>1?ur(a,n-1,e,r,i):vn(i,a):r||(i[i.length]=a)}return i}var ar=Mi(),cr=Mi(!0);function fr(t,n){return t&&ar(t,n,xa)}function sr(t,n){return t&&cr(t,n,xa)}function lr(t,n){return ln(n,(function(n){return Bu(t[n])}))}function hr(t,n){for(var e=0,r=(n=ci(n,t)).length;null!=t&&en}function yr(t,n){return null!=t&&Mt.call(t,n)}function gr(t,n){return null!=t&&n in pt(t)}function _r(t,n,e){for(var i=e?dn:hn,o=t[0].length,u=t.length,a=u,c=r(u),f=1/0,s=[];a--;){var l=t[a];a&&n&&(l=pn(l,jn(n))),f=ce(l.length,f),c[a]=!e&&(n||o>=120&&l.length>=120)?new Le(a&&l):void 0}l=t[0];var h=-1,d=c[0];t:for(;++h=a)return c;var f=e[r];return c*("desc"==f?-1:1)}}return t.index-n.index}(t,n,e)}))}function zr(t,n,e){for(var r=-1,i=n.length,o={};++r-1;)a!==t&&Gt.call(a,c,1),Gt.call(t,c,1);return t}function Ir(t,n){for(var e=t?n.length:0,r=e-1;e--;){var i=n[e];if(e==r||i!==o){var o=i;ao(i)?Gt.call(t,i,1):ti(t,i)}}return t}function Lr(t,n){return t+ne(le()*(n-t+1))}function Dr(t,n){var e="";if(!t||n<1||n>9007199254740991)return e;do{n%2&&(e+=t),(n=ne(n/2))&&(t+=t)}while(n);return e}function Fr(t,n){return wo(yo(t,n,Wa),t+"")}function Ur(t){return Ue(Na(t))}function Br(t,n){var e=Na(t);return So(e,Ze(n,0,e.length))}function qr(t,n,e,r){if(!Yu(t))return t;for(var i=-1,o=(n=ci(n,t)).length,u=o-1,a=t;null!=a&&++io?0:o+n),(e=e>o?o:e)<0&&(e+=o),o=n>e?0:e-n>>>0,n>>>=0;for(var u=r(o);++i>>1,u=t[o];null!==u&&!Qu(u)&&(e?u<=n:u=200){var f=n?null:Di(t);if(f)return Hn(f);u=!1,i=zn,c=new Le}else c=n?[]:a;t:for(;++r=r?t:$r(t,n,e)}var li=En||function(t){return Wt.clearTimeout(t)};function hi(t,n){if(n)return t.slice();var e=t.length,r=It?It(e):new t.constructor(e);return t.copy(r),r}function di(t){var n=new t.constructor(t.byteLength);return new zt(n).set(new zt(t)),n}function pi(t,n){var e=n?di(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}function vi(t,n){if(t!==n){var e=void 0!==t,r=null===t,i=t==t,o=Qu(t),u=void 0!==n,a=null===n,c=n==n,f=Qu(n);if(!a&&!f&&!o&&t>n||o&&u&&c&&!a&&!f||r&&u&&c||!e&&c||!i)return 1;if(!r&&!o&&!f&&t1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,u&&co(e[0],e[1],u)&&(o=i<3?void 0:o,i=1),n=pt(n);++r-1?i[o?n[u]:u]:void 0}}function Ci(t){return Hi((function(n){var e=n.length,r=e,i=je.prototype.thru;for(t&&n.reverse();r--;){var u=n[r];if("function"!=typeof u)throw new gt(o);if(i&&!a&&"wrapper"==Xi(u))var a=new je([],!0)}for(r=a?r:e;++r1&&b.reverse(),l&&f<_&&(b.length=f),this&&this!==Wt&&this instanceof g&&(S=y||ki(S)),S.apply(A,b)}}function Ni(t,n){return function(e,r){return function(t,n,e,r){return fr(t,(function(t,i,o){n(r,e(t),i,o)})),r}(e,t,n(r),{})}}function Oi(t,n){return function(e,r){var i;if(void 0===e&&void 0===r)return n;if(void 0!==e&&(i=e),void 0!==r){if(void 0===i)return r;"string"==typeof e||"string"==typeof r?(e=Qr(e),r=Qr(r)):(e=Kr(e),r=Kr(r)),i=t(e,r)}return i}}function ji(t){return Hi((function(n){return n=pn(n,jn(Ki())),Fr((function(e){var r=this;return t(n,(function(t){return un(t,r,e)}))}))}))}function Ri(t,n){var e=(n=void 0===n?" ":Qr(n)).length;if(e<2)return e?Dr(n,t):n;var r=Dr(n,te(t/Wn(n)));return Bn(n)?si(Gn(r),0,t).join(""):r.slice(0,t)}function zi(t){return function(n,e,i){return i&&"number"!=typeof i&&co(n,e,i)&&(e=i=void 0),n=ra(n),void 0===e?(e=n,n=0):e=ra(e),function(t,n,e,i){for(var o=-1,u=ae(te((n-t)/(e||1)),0),a=r(u);u--;)a[i?u:++o]=t,t+=e;return a}(n,e,i=void 0===i?na))return!1;var f=o.get(t),s=o.get(n);if(f&&s)return f==n&&s==t;var l=-1,h=!0,d=2&e?new Le:void 0;for(o.set(t,n),o.set(n,t);++l-1&&t%1==0&&t1?"& ":"")+n[r],n=n.join(e>2?", ":" "),t.replace(Z,"{\n/* [wrapped with "+n+"] */\n")}(r,function(t,n){return cn(a,(function(e){var r="_."+e[0];n&e[1]&&!hn(t,r)&&t.push(r)})),t.sort()}(function(t){var n=t.match(K);return n?n[1].split(Q):[]}(r),e)))}function Ao(t){var n=0,e=0;return function(){var r=fe(),i=16-(r-e);if(e=r,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}function So(t,n){var e=-1,r=t.length,i=r-1;for(n=void 0===n?r:n;++e1?t[n-1]:void 0;return e="function"==typeof e?(t.pop(),e):void 0,Xo(t,e)}));function eu(t){var n=Te(t);return n.__chain__=!0,n}function ru(t,n){return n(t)}var iu=Hi((function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(n){return Xe(n,t)};return!(n>1||this.__actions__.length)&&r instanceof Re&&ao(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:ru,args:[i],thisArg:void 0}),new je(r,this.__chain__).thru((function(t){return n&&!t.length&&t.push(void 0),t}))):this.thru(i)}));var ou=mi((function(t,n,e){Mt.call(t,e)?++t[e]:Ge(t,e,1)}));var uu=Ei(Ro),au=Ei(zo);function cu(t,n){return(zu(t)?cn:nr)(t,Ki(n,3))}function fu(t,n){return(zu(t)?fn:er)(t,Ki(n,3))}var su=mi((function(t,n,e){Mt.call(t,e)?t[e].push(n):Ge(t,e,[n])}));var lu=Fr((function(t,n,e){var i=-1,o="function"==typeof n,u=Iu(t)?r(t.length):[];return nr(t,(function(t){u[++i]=o?un(n,t,e):br(t,n,e)})),u})),hu=mi((function(t,n,e){Ge(t,e,n)}));function du(t,n){return(zu(t)?pn:Cr)(t,Ki(n,3))}var pu=mi((function(t,n,e){t[e?0:1].push(n)}),(function(){return[[],[]]}));var vu=Fr((function(t,n){if(null==t)return[];var e=n.length;return e>1&&co(t,n[0],n[1])?n=[]:e>2&&co(n[0],n[1],n[2])&&(n=[n[0]]),Rr(t,ur(n,1),[])})),yu=Qn||function(){return Wt.Date.now()};function gu(t,n,e){return n=e?void 0:n,Ui(t,128,void 0,void 0,void 0,void 0,n=t&&null==n?t.length:n)}function _u(t,n){var e;if("function"!=typeof n)throw new gt(o);return t=ia(t),function(){return--t>0&&(e=n.apply(this,arguments)),t<=1&&(n=void 0),e}}var bu=Fr((function(t,n,e){var r=1;if(e.length){var i=Yn(e,Zi(bu));r|=32}return Ui(t,r,n,e,i)})),mu=Fr((function(t,n,e){var r=3;if(e.length){var i=Yn(e,Zi(mu));r|=32}return Ui(n,r,t,e,i)}));function xu(t,n,e){var r,i,u,a,c,f,s=0,l=!1,h=!1,d=!0;if("function"!=typeof t)throw new gt(o);function p(n){var e=r,o=i;return r=i=void 0,s=n,a=t.apply(o,e)}function v(t){return s=t,c=xo(g,n),l?p(t):a}function y(t){var e=t-f;return void 0===f||e>=n||e<0||h&&t-s>=u}function g(){var t=yu();if(y(t))return _(t);c=xo(g,function(t){var e=n-(t-f);return h?ce(e,u-(t-s)):e}(t))}function _(t){return c=void 0,d&&r?p(t):(r=i=void 0,a)}function b(){var t=yu(),e=y(t);if(r=arguments,i=this,f=t,e){if(void 0===c)return v(f);if(h)return li(c),c=xo(g,n),p(f)}return void 0===c&&(c=xo(g,n)),a}return n=ua(n)||0,Yu(e)&&(l=!!e.leading,u=(h="maxWait"in e)?ae(ua(e.maxWait)||0,n):u,d="trailing"in e?!!e.trailing:d),b.cancel=function(){void 0!==c&&li(c),s=0,r=f=i=c=void 0},b.flush=function(){return void 0===c?a:_(yu())},b}var wu=Fr((function(t,n){return Je(t,1,n)})),Mu=Fr((function(t,n,e){return Je(t,ua(n)||0,e)}));function Au(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new gt(o);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 u=t.apply(this,r);return e.cache=o.set(i,u)||o,u};return e.cache=new(Au.Cache||Ie),e}function Su(t){if("function"!=typeof t)throw new gt(o);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)}}Au.Cache=Ie;var ku=fi((function(t,n){var e=(n=1==n.length&&zu(n[0])?pn(n[0],jn(Ki())):pn(ur(n,1),jn(Ki()))).length;return Fr((function(r){for(var i=-1,o=ce(r.length,e);++i=n})),Ru=mr(function(){return arguments}())?mr:function(t){return Hu(t)&&Mt.call(t,"callee")&&!$t.call(t,"callee")},zu=r.isArray,Pu=Jt?jn(Jt):function(t){return Hu(t)&&pr(t)==M};function Iu(t){return null!=t&&Vu(t.length)&&!Bu(t)}function Lu(t){return Hu(t)&&Iu(t)}var Du=re||uc,Fu=tn?jn(tn):function(t){return Hu(t)&&pr(t)==l};function Uu(t){if(!Hu(t))return!1;var n=pr(t);return n==h||"[object DOMException]"==n||"string"==typeof t.message&&"string"==typeof t.name&&!Gu(t)}function Bu(t){if(!Yu(t))return!1;var n=pr(t);return n==d||n==p||"[object AsyncFunction]"==n||"[object Proxy]"==n}function qu(t){return"number"==typeof t&&t==ia(t)}function Vu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Yu(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}function Hu(t){return null!=t&&"object"==typeof t}var $u=nn?jn(nn):function(t){return Hu(t)&&ro(t)==v};function Wu(t){return"number"==typeof t||Hu(t)&&pr(t)==y}function Gu(t){if(!Hu(t)||pr(t)!=g)return!1;var n=qt(t);if(null===n)return!0;var e=Mt.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&wt.call(e)==Et}var Xu=en?jn(en):function(t){return Hu(t)&&pr(t)==_};var Zu=rn?jn(rn):function(t){return Hu(t)&&ro(t)==b};function Ku(t){return"string"==typeof t||!zu(t)&&Hu(t)&&pr(t)==m}function Qu(t){return"symbol"==typeof t||Hu(t)&&pr(t)==x}var Ju=on?jn(on):function(t){return Hu(t)&&Vu(t.length)&&!!Ut[pr(t)]};var ta=Pi(Er),na=Pi((function(t,n){return t<=n}));function ea(t){if(!t)return[];if(Iu(t))return Ku(t)?Gn(t):_i(t);if(Kt&&t[Kt])return function(t){for(var n,e=[];!(n=t.next()).done;)e.push(n.value);return e}(t[Kt]());var n=ro(t);return(n==v?qn:n==b?Hn:Na)(t)}function ra(t){return t?(t=ua(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ia(t){var n=ra(t),e=n%1;return n==n?e?n-e:n:0}function oa(t){return t?Ze(ia(t),0,4294967295):0}function ua(t){if("number"==typeof t)return t;if(Qu(t))return NaN;if(Yu(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=Yu(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=On(t);var e=ot.test(t);return e||at.test(t)?Yt(t.slice(2),e?2:8):it.test(t)?NaN:+t}function aa(t){return bi(t,wa(t))}function ca(t){return null==t?"":Qr(t)}var fa=xi((function(t,n){if(ho(n)||Iu(n))bi(n,xa(n),t);else for(var e in n)Mt.call(n,e)&&Ye(t,e,n[e])})),sa=xi((function(t,n){bi(n,wa(n),t)})),la=xi((function(t,n,e,r){bi(n,wa(n),t,r)})),ha=xi((function(t,n,e,r){bi(n,xa(n),t,r)})),da=Hi(Xe);var pa=Fr((function(t,n){t=pt(t);var e=-1,r=n.length,i=r>2?n[2]:void 0;for(i&&co(n[0],n[1],i)&&(r=1);++e1),n})),bi(t,Wi(t),e),r&&(e=Ke(e,7,Vi));for(var i=n.length;i--;)ti(e,n[i]);return e}));var ka=Hi((function(t,n){return null==t?{}:function(t,n){return zr(t,n,(function(n,e){return ga(t,e)}))}(t,n)}));function Ea(t,n){if(null==t)return{};var e=pn(Wi(t),(function(t){return[t]}));return n=Ki(n),zr(t,e,(function(t,e){return n(t,e[0])}))}var Ca=Fi(xa),Ta=Fi(wa);function Na(t){return null==t?[]:Rn(t,xa(t))}var Oa=Si((function(t,n,e){return n=n.toLowerCase(),t+(e?ja(n):n)}));function ja(t){return Ua(ca(t).toLowerCase())}function Ra(t){return(t=ca(t))&&t.replace(ft,Dn).replace(Rt,"")}var za=Si((function(t,n,e){return t+(e?"-":"")+n.toLowerCase()})),Pa=Si((function(t,n,e){return t+(e?" ":"")+n.toLowerCase()})),Ia=Ai("toLowerCase");var La=Si((function(t,n,e){return t+(e?"_":"")+n.toLowerCase()}));var Da=Si((function(t,n,e){return t+(e?" ":"")+Ua(n)}));var Fa=Si((function(t,n,e){return t+(e?" ":"")+n.toUpperCase()})),Ua=Ai("toUpperCase");function Ba(t,n,e){return t=ca(t),void 0===(n=e?void 0:n)?function(t){return Lt.test(t)}(t)?function(t){return t.match(Pt)||[]}(t):function(t){return t.match(J)||[]}(t):t.match(n)||[]}var qa=Fr((function(t,n){try{return un(t,void 0,n)}catch(t){return Uu(t)?t:new X(t)}})),Va=Hi((function(t,n){return cn(n,(function(n){n=Eo(n),Ge(t,n,bu(t[n],t))})),t}));function Ya(t){return function(){return t}}var Ha=Ci(),$a=Ci(!0);function Wa(t){return t}function Ga(t){return Ar("function"==typeof t?t:Ke(t,1))}var Xa=Fr((function(t,n){return function(e){return br(e,t,n)}})),Za=Fr((function(t,n){return function(e){return br(t,e,n)}}));function Ka(t,n,e){var r=xa(n),i=lr(n,r);null!=e||Yu(n)&&(i.length||!r.length)||(e=n,n=t,t=this,i=lr(n,xa(n)));var o=!(Yu(e)&&"chain"in e&&!e.chain),u=Bu(t);return cn(i,(function(e){var r=n[e];t[e]=r,u&&(t.prototype[e]=function(){var n=this.__chain__;if(o||n){var e=t(this.__wrapped__),i=e.__actions__=_i(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),e.__chain__=n,e}return r.apply(t,vn([this.value()],arguments))})})),t}function Qa(){}var Ja=ji(pn),tc=ji(sn),nc=ji(_n);function ec(t){return fo(t)?kn(Eo(t)):function(t){return function(n){return hr(n,t)}}(t)}var rc=zi(),ic=zi(!0);function oc(){return[]}function uc(){return!1}var ac=Oi((function(t,n){return t+n}),0),cc=Li("ceil"),fc=Oi((function(t,n){return t/n}),1),sc=Li("floor");var lc,hc=Oi((function(t,n){return t*n}),1),dc=Li("round"),pc=Oi((function(t,n){return t-n}),0);return Te.after=function(t,n){if("function"!=typeof n)throw new gt(o);return t=ia(t),function(){if(--t<1)return n.apply(this,arguments)}},Te.ary=gu,Te.assign=fa,Te.assignIn=sa,Te.assignInWith=la,Te.assignWith=ha,Te.at=da,Te.before=_u,Te.bind=bu,Te.bindAll=Va,Te.bindKey=mu,Te.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return zu(t)?t:[t]},Te.chain=eu,Te.chunk=function(t,n,e){n=(e?co(t,n,e):void 0===n)?1:ae(ia(n),0);var i=null==t?0:t.length;if(!i||n<1)return[];for(var o=0,u=0,a=r(te(i/n));oi?0:i+e),(r=void 0===r||r>i?i:ia(r))<0&&(r+=i),r=e>r?0:oa(r);e>>0)?(t=ca(t))&&("string"==typeof n||null!=n&&!Xu(n))&&!(n=Qr(n))&&Bn(t)?si(Gn(t),0,e):t.split(n,e):[]},Te.spread=function(t,n){if("function"!=typeof t)throw new gt(o);return n=null==n?0:ae(ia(n),0),Fr((function(e){var r=e[n],i=si(e,0,n);return r&&vn(i,r),un(t,this,i)}))},Te.tail=function(t){var n=null==t?0:t.length;return n?$r(t,1,n):[]},Te.take=function(t,n,e){return t&&t.length?$r(t,0,(n=e||void 0===n?1:ia(n))<0?0:n):[]},Te.takeRight=function(t,n,e){var r=null==t?0:t.length;return r?$r(t,(n=r-(n=e||void 0===n?1:ia(n)))<0?0:n,r):[]},Te.takeRightWhile=function(t,n){return t&&t.length?ei(t,Ki(n,3),!1,!0):[]},Te.takeWhile=function(t,n){return t&&t.length?ei(t,Ki(n,3)):[]},Te.tap=function(t,n){return n(t),t},Te.throttle=function(t,n,e){var r=!0,i=!0;if("function"!=typeof t)throw new gt(o);return Yu(e)&&(r="leading"in e?!!e.leading:r,i="trailing"in e?!!e.trailing:i),xu(t,n,{leading:r,maxWait:n,trailing:i})},Te.thru=ru,Te.toArray=ea,Te.toPairs=Ca,Te.toPairsIn=Ta,Te.toPath=function(t){return zu(t)?pn(t,Eo):Qu(t)?[t]:_i(ko(ca(t)))},Te.toPlainObject=aa,Te.transform=function(t,n,e){var r=zu(t),i=r||Du(t)||Ju(t);if(n=Ki(n,4),null==e){var o=t&&t.constructor;e=i?r?new o:[]:Yu(t)&&Bu(o)?Ne(qt(t)):{}}return(i?cn:fr)(t,(function(t,r,i){return n(e,t,r,i)})),e},Te.unary=function(t){return gu(t,1)},Te.union=Ho,Te.unionBy=$o,Te.unionWith=Wo,Te.uniq=function(t){return t&&t.length?Jr(t):[]},Te.uniqBy=function(t,n){return t&&t.length?Jr(t,Ki(n,2)):[]},Te.uniqWith=function(t,n){return n="function"==typeof n?n:void 0,t&&t.length?Jr(t,void 0,n):[]},Te.unset=function(t,n){return null==t||ti(t,n)},Te.unzip=Go,Te.unzipWith=Xo,Te.update=function(t,n,e){return null==t?t:ni(t,n,ai(e))},Te.updateWith=function(t,n,e,r){return r="function"==typeof r?r:void 0,null==t?t:ni(t,n,ai(e),r)},Te.values=Na,Te.valuesIn=function(t){return null==t?[]:Rn(t,wa(t))},Te.without=Zo,Te.words=Ba,Te.wrap=function(t,n){return Eu(ai(n),t)},Te.xor=Ko,Te.xorBy=Qo,Te.xorWith=Jo,Te.zip=tu,Te.zipObject=function(t,n){return oi(t||[],n||[],Ye)},Te.zipObjectDeep=function(t,n){return oi(t||[],n||[],qr)},Te.zipWith=nu,Te.entries=Ca,Te.entriesIn=Ta,Te.extend=sa,Te.extendWith=la,Ka(Te,Te),Te.add=ac,Te.attempt=qa,Te.camelCase=Oa,Te.capitalize=ja,Te.ceil=cc,Te.clamp=function(t,n,e){return void 0===e&&(e=n,n=void 0),void 0!==e&&(e=(e=ua(e))==e?e:0),void 0!==n&&(n=(n=ua(n))==n?n:0),Ze(ua(t),n,e)},Te.clone=function(t){return Ke(t,4)},Te.cloneDeep=function(t){return Ke(t,5)},Te.cloneDeepWith=function(t,n){return Ke(t,5,n="function"==typeof n?n:void 0)},Te.cloneWith=function(t,n){return Ke(t,4,n="function"==typeof n?n:void 0)},Te.conformsTo=function(t,n){return null==n||Qe(t,n,xa(n))},Te.deburr=Ra,Te.defaultTo=function(t,n){return null==t||t!=t?n:t},Te.divide=fc,Te.endsWith=function(t,n,e){t=ca(t),n=Qr(n);var r=t.length,i=e=void 0===e?r:Ze(ia(e),0,r);return(e-=n.length)>=0&&t.slice(e,i)==n},Te.eq=Nu,Te.escape=function(t){return(t=ca(t))&&F.test(t)?t.replace(L,Fn):t},Te.escapeRegExp=function(t){return(t=ca(t))&&W.test(t)?t.replace($,"\\$&"):t},Te.every=function(t,n,e){var r=zu(t)?sn:rr;return e&&co(t,n,e)&&(n=void 0),r(t,Ki(n,3))},Te.find=uu,Te.findIndex=Ro,Te.findKey=function(t,n){return mn(t,Ki(n,3),fr)},Te.findLast=au,Te.findLastIndex=zo,Te.findLastKey=function(t,n){return mn(t,Ki(n,3),sr)},Te.floor=sc,Te.forEach=cu,Te.forEachRight=fu,Te.forIn=function(t,n){return null==t?t:ar(t,Ki(n,3),wa)},Te.forInRight=function(t,n){return null==t?t:cr(t,Ki(n,3),wa)},Te.forOwn=function(t,n){return t&&fr(t,Ki(n,3))},Te.forOwnRight=function(t,n){return t&&sr(t,Ki(n,3))},Te.get=ya,Te.gt=Ou,Te.gte=ju,Te.has=function(t,n){return null!=t&&io(t,n,yr)},Te.hasIn=ga,Te.head=Io,Te.identity=Wa,Te.includes=function(t,n,e,r){t=Iu(t)?t:Na(t),e=e&&!r?ia(e):0;var i=t.length;return e<0&&(e=ae(i+e,0)),Ku(t)?e<=i&&t.indexOf(n,e)>-1:!!i&&wn(t,n,e)>-1},Te.indexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=null==e?0:ia(e);return i<0&&(i=ae(r+i,0)),wn(t,n,i)},Te.inRange=function(t,n,e){return n=ra(n),void 0===e?(e=n,n=0):e=ra(e),function(t,n,e){return t>=ce(n,e)&&t=-9007199254740991&&t<=9007199254740991},Te.isSet=Zu,Te.isString=Ku,Te.isSymbol=Qu,Te.isTypedArray=Ju,Te.isUndefined=function(t){return void 0===t},Te.isWeakMap=function(t){return Hu(t)&&ro(t)==w},Te.isWeakSet=function(t){return Hu(t)&&"[object WeakSet]"==pr(t)},Te.join=function(t,n){return null==t?"":oe.call(t,n)},Te.kebabCase=za,Te.last=Uo,Te.lastIndexOf=function(t,n,e){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==e&&(i=(i=ia(e))<0?ae(r+i,0):ce(i,r-1)),n==n?function(t,n,e){for(var r=e+1;r--;)if(t[r]===n)return r;return r}(t,n,i):xn(t,An,i,!0)},Te.lowerCase=Pa,Te.lowerFirst=Ia,Te.lt=ta,Te.lte=na,Te.max=function(t){return t&&t.length?ir(t,Wa,vr):void 0},Te.maxBy=function(t,n){return t&&t.length?ir(t,Ki(n,2),vr):void 0},Te.mean=function(t){return Sn(t,Wa)},Te.meanBy=function(t,n){return Sn(t,Ki(n,2))},Te.min=function(t){return t&&t.length?ir(t,Wa,Er):void 0},Te.minBy=function(t,n){return t&&t.length?ir(t,Ki(n,2),Er):void 0},Te.stubArray=oc,Te.stubFalse=uc,Te.stubObject=function(){return{}},Te.stubString=function(){return""},Te.stubTrue=function(){return!0},Te.multiply=hc,Te.nth=function(t,n){return t&&t.length?jr(t,ia(n)):void 0},Te.noConflict=function(){return Wt._===this&&(Wt._=Ct),this},Te.noop=Qa,Te.now=yu,Te.pad=function(t,n,e){t=ca(t);var r=(n=ia(n))?Wn(t):0;if(!n||r>=n)return t;var i=(n-r)/2;return Ri(ne(i),e)+t+Ri(te(i),e)},Te.padEnd=function(t,n,e){t=ca(t);var r=(n=ia(n))?Wn(t):0;return n&&rn){var r=t;t=n,n=r}if(e||t%1||n%1){var i=le();return ce(t+i*(n-t+Vt("1e-"+((i+"").length-1))),n)}return Lr(t,n)},Te.reduce=function(t,n,e){var r=zu(t)?yn:Cn,i=arguments.length<3;return r(t,Ki(n,4),e,i,nr)},Te.reduceRight=function(t,n,e){var r=zu(t)?gn:Cn,i=arguments.length<3;return r(t,Ki(n,4),e,i,er)},Te.repeat=function(t,n,e){return n=(e?co(t,n,e):void 0===n)?1:ia(n),Dr(ca(t),n)},Te.replace=function(){var t=arguments,n=ca(t[0]);return t.length<3?n:n.replace(t[1],t[2])},Te.result=function(t,n,e){var r=-1,i=(n=ci(n,t)).length;for(i||(i=1,t=void 0);++r9007199254740991)return[];var e=4294967295,r=ce(t,4294967295);t-=4294967295;for(var i=Nn(r,n=Ki(n));++e=o)return t;var a=e-Wn(r);if(a<1)return r;var c=u?si(u,0,a).join(""):t.slice(0,a);if(void 0===i)return c+r;if(u&&(a+=c.length-a),Xu(i)){if(t.slice(a).search(i)){var f,s=c;for(i.global||(i=vt(i.source,ca(rt.exec(i))+"g")),i.lastIndex=0;f=i.exec(s);)var l=f.index;c=c.slice(0,void 0===l?a:l)}}else if(t.indexOf(Qr(i),a)!=a){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+r},Te.unescape=function(t){return(t=ca(t))&&D.test(t)?t.replace(I,Zn):t},Te.uniqueId=function(t){var n=++At;return ca(t)+n},Te.upperCase=Fa,Te.upperFirst=Ua,Te.each=cu,Te.eachRight=fu,Te.first=Io,Ka(Te,(lc={},fr(Te,(function(t,n){Mt.call(Te.prototype,n)||(lc[n]=t)})),lc),{chain:!1}),Te.VERSION="4.17.21",cn(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Te[t].placeholder=Te})),cn(["drop","take"],(function(t,n){Re.prototype[t]=function(e){e=void 0===e?1:ae(ia(e),0);var r=this.__filtered__&&!n?new Re(this):this.clone();return r.__filtered__?r.__takeCount__=ce(e,r.__takeCount__):r.__views__.push({size:ce(e,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Re.prototype[t+"Right"]=function(n){return this.reverse()[t](n).reverse()}})),cn(["filter","map","takeWhile"],(function(t,n){var e=n+1,r=1==e||3==e;Re.prototype[t]=function(t){var n=this.clone();return n.__iteratees__.push({iteratee:Ki(t,3),type:e}),n.__filtered__=n.__filtered__||r,n}})),cn(["head","last"],(function(t,n){var e="take"+(n?"Right":"");Re.prototype[t]=function(){return this[e](1).value()[0]}})),cn(["initial","tail"],(function(t,n){var e="drop"+(n?"":"Right");Re.prototype[t]=function(){return this.__filtered__?new Re(this):this[e](1)}})),Re.prototype.compact=function(){return this.filter(Wa)},Re.prototype.find=function(t){return this.filter(t).head()},Re.prototype.findLast=function(t){return this.reverse().find(t)},Re.prototype.invokeMap=Fr((function(t,n){return"function"==typeof t?new Re(this):this.map((function(e){return br(e,t,n)}))})),Re.prototype.reject=function(t){return this.filter(Su(Ki(t)))},Re.prototype.slice=function(t,n){t=ia(t);var e=this;return e.__filtered__&&(t>0||n<0)?new Re(e):(t<0?e=e.takeRight(-t):t&&(e=e.drop(t)),void 0!==n&&(e=(n=ia(n))<0?e.dropRight(-n):e.take(n-t)),e)},Re.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Re.prototype.toArray=function(){return this.take(4294967295)},fr(Re.prototype,(function(t,n){var e=/^(?:filter|find|map|reject)|While$/.test(n),r=/^(?:head|last)$/.test(n),i=Te[r?"take"+("last"==n?"Right":""):n],o=r||/^find/.test(n);i&&(Te.prototype[n]=function(){var n=this.__wrapped__,u=r?[1]:arguments,a=n instanceof Re,c=u[0],f=a||zu(n),s=function(t){var n=i.apply(Te,vn([t],u));return r&&l?n[0]:n};f&&e&&"function"==typeof c&&1!=c.length&&(a=f=!1);var l=this.__chain__,h=!!this.__actions__.length,d=o&&!l,p=a&&!h;if(!o&&f){n=p?n:new Re(this);var v=t.apply(n,u);return v.__actions__.push({func:ru,args:[s],thisArg:void 0}),new je(v,l)}return d&&p?t.apply(this,u):(v=this.thru(s),d?r?v.value()[0]:v.value():v)})})),cn(["pop","push","shift","sort","splice","unshift"],(function(t){var n=_t[t],e=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Te.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return n.apply(zu(i)?i:[],t)}return this[e]((function(e){return n.apply(zu(e)?e:[],t)}))}})),fr(Re.prototype,(function(t,n){var e=Te[n];if(e){var r=e.name+"";Mt.call(me,r)||(me[r]=[]),me[r].push({name:n,func:e})}})),me[Ti(void 0,2).name]=[{name:"wrapper",func:void 0}],Re.prototype.clone=function(){var t=new Re(this.__wrapped__);return t.__actions__=_i(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=_i(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=_i(this.__views__),t},Re.prototype.reverse=function(){if(this.__filtered__){var t=new Re(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Re.prototype.value=function(){var t=this.__wrapped__.value(),n=this.__dir__,e=zu(t),r=n<0,i=e?t.length:0,o=function(t,n,e){var r=-1,i=e.length;for(;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Te.prototype.plant=function(t){for(var n,e=this;e instanceof Oe;){var r=To(e);r.__index__=0,r.__values__=void 0,n?i.__wrapped__=r:n=r;var i=r;e=e.__wrapped__}return i.__wrapped__=t,n},Te.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Re){var n=t;return this.__actions__.length&&(n=new Re(this)),(n=n.reverse()).__actions__.push({func:ru,args:[Yo],thisArg:void 0}),new je(n,this.__chain__)}return this.thru(Yo)},Te.prototype.toJSON=Te.prototype.valueOf=Te.prototype.value=function(){return ri(this.__wrapped__,this.__actions__)},Te.prototype.first=Te.prototype.head,Kt&&(Te.prototype[Kt]=function(){return this}),Te}();Wt._=Kn,void 0===(i=function(){return Kn}.call(n,e,n,r))||(r.exports=i)}).call(this)}).call(this,e(2),e(3)(t))},function(t,n,e){window,t.exports=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,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=214)}([function(t,n){var e=Array.isArray;t.exports=e},function(t,n,e){var r=e(94),i=e(55);t.exports=function(t,n){return null!=t&&i(t,n,r)}},function(t,n){t.exports=function(t){var n=typeof t;return null!=t&&("object"==n||"function"==n)}},function(t,n,e){var r=e(57),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,n){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,n,e){var r=e(29),i=e(86),o=e(14);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},function(t,n,e){var r=e(7),i=e(4);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},function(t,n,e){var r=e(12),i=e(96),o=e(97),u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?i(t):o(t)}},function(t,n,e){var r=e(104),i=e(107);t.exports=function(t,n){var e=i(t,n);return r(e)?e:void 0}},function(t,n,e){var r=e(34),i=e(38);t.exports=function(t){return null!=t&&i(t.length)&&!r(t)}},function(t,n,e){var r=e(123);t.exports=function(t){return r(t,5)}},function(t,n,e){var r=e(29),i=e(81),o=e(14);t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},function(t,n,e){var r=e(3).Symbol;t.exports=r},function(t,n,e){var r=e(63),i=e(134),o=e(9);t.exports=function(t){return o(t)?r(t):i(t)}},function(t,n){t.exports=function(t){return t}},function(t,n){t.exports=function(t,n){return t===n||t!=t&&n!=n}},function(t,n,e){var r=e(61),i=e(40);t.exports=function(t,n,e,o){var u=!e;e||(e={});for(var a=-1,c=n.length;++a-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}},function(t,n,e){var r=e(56),i=e(24);t.exports=function(t,n){for(var e=0,o=(n=r(n,t)).length;null!=t&&e1&&u(t,n[0],n[1])?n=[]:e>2&&u(n[0],n[1],n[2])&&(n=[n[0]]),i(t,r(n,1),[])}));t.exports=a},function(t,n,e){var r=e(56),i=e(23),o=e(0),u=e(37),a=e(38),c=e(24);t.exports=function(t,n,e){for(var f=-1,s=(n=r(n,t)).length,l=!1;++fs))return!1;var h=c.get(t),d=c.get(n);if(h&&d)return h==n&&d==t;var p=-1,v=!0,y=2&e?new r:void 0;for(c.set(t,n),c.set(n,t);++pn}},function(t,n,e){var r=e(157),i=e(158);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[t.i,i,""]]);var o,u=0,a={injectType:"lazyStyleTag",insert:"head",singleton:!1},c={};c.locals=i.locals||{},c.use=function(){return u++||(o=r(i,a)),c},c.unuse=function(){u>0&&!--u&&(o(),o=null)},t.exports=c},function(t,n,e){var r=e(172),i=e(9),o=e(176),u=e(177),a=e(179),c=Math.max;t.exports=function(t,n,e,f){t=i(t)?t:a(t),e=e&&!f?u(e):0;var s=t.length;return e<0&&(e=c(s+e,0)),o(t)?e<=s&&t.indexOf(n,e)>-1:!!s&&r(t,n,e)>-1}},function(t,n,e){t.exports=e(181)},function(t,n){t.exports=function(t){var n=null==t?0:t.length;return n?t[n-1]:void 0}},function(t,n,e){var r=e(201)((function(t,n){return t+n}),0);t.exports=r},function(t,n,e){var r=e(59);t.exports=function(){var t=arguments,n=r(t[0]);return t.length<3?n:n.replace(t[1],t[2])}},function(t,n,e){var r=e(2),i=e(213),o=e(80),u=Math.max,a=Math.min;t.exports=function(t,n,e){var c,f,s,l,h,d,p=0,v=!1,y=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function _(n){var e=c,r=f;return c=f=void 0,p=n,l=t.apply(r,e)}function b(t){return p=t,h=setTimeout(x,n),v?_(t):l}function m(t){var e=t-d;return void 0===d||e>=n||e<0||y&&t-p>=s}function x(){var t=i();if(m(t))return w(t);h=setTimeout(x,function(t){var e=n-(t-d);return y?a(e,s-(t-p)):e}(t))}function w(t){return h=void 0,g&&c?_(t):(c=f=void 0,l)}function M(){var t=i(),e=m(t);if(c=arguments,f=this,d=t,e){if(void 0===h)return b(d);if(y)return clearTimeout(h),h=setTimeout(x,n),_(d)}return void 0===h&&(h=setTimeout(x,n)),l}return n=o(n)||0,r(e)&&(v=!!e.leading,s=(y="maxWait"in e)?u(o(e.maxWait)||0,n):s,g="trailing"in e?!!e.trailing:g),M.cancel=function(){void 0!==h&&clearTimeout(h),p=0,c=d=f=h=void 0},M.flush=function(){return void 0===h?l:w(i())},M}},function(t,n){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(12),i=Object.prototype,o=i.hasOwnProperty,u=i.toString,a=r?r.toStringTag:void 0;t.exports=function(t){var n=o.call(t,a),e=t[a];try{t[a]=void 0;var r=!0}catch(t){}var i=u.call(t);return r&&(n?t[a]=e:delete t[a]),i}},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n,e){var r=e(99),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,u=r((function(t){var n=[];return 46===t.charCodeAt(0)&&n.push(""),t.replace(i,(function(t,e,r,i){n.push(r?i.replace(o,"$1"):e||t)})),n}));t.exports=u},function(t,n,e){var r=e(100);t.exports=function(t){var n=r(t,(function(t){return 500===e.size&&e.clear(),t})),e=n.cache;return n}},function(t,n,e){var r=e(33);function i(t,n){if("function"!=typeof t||null!=n&&"function"!=typeof n)throw new TypeError("Expected a function");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 u=t.apply(this,r);return e.cache=o.set(i,u)||o,u};return e.cache=new(i.Cache||r),e}i.Cache=r,t.exports=i},function(t,n,e){var r=e(102),i=e(20),o=e(35);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},function(t,n,e){var r=e(103),i=e(108),o=e(109),u=e(110),a=e(111);function c(t){var n=-1,e=null==t?0:t.length;for(this.clear();++n-1}},function(t,n,e){var r=e(21);t.exports=function(t,n){var e=this.__data__,i=r(e,t);return i<0?(++this.size,e.push([t,n])):e[i][1]=n,this}},function(t,n,e){var r=e(22);t.exports=function(t){var n=r(this,t).delete(t);return this.size-=n?1:0,n}},function(t,n){t.exports=function(t){var n=typeof t;return"string"==n||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t}},function(t,n,e){var r=e(22);t.exports=function(t){return r(this,t).get(t)}},function(t,n,e){var r=e(22);t.exports=function(t){return r(this,t).has(t)}},function(t,n,e){var r=e(22);t.exports=function(t,n){var e=r(this,t),i=e.size;return e.set(t,n),this.size+=e.size==i?0:1,this}},function(t,n,e){var r=e(7),i=e(4);t.exports=function(t){return i(t)&&"[object Arguments]"==r(t)}},function(t,n,e){var r=e(25),i=e(129),o=e(61),u=e(130),a=e(136),c=e(65),f=e(66),s=e(139),l=e(141),h=e(69),d=e(142),p=e(28),v=e(147),y=e(148),g=e(73),_=e(0),b=e(26),m=e(153),x=e(2),w=e(155),M=e(13),A=e(17),S={};S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S["[object Function]"]=S["[object WeakMap]"]=!1,t.exports=function t(n,e,k,E,C,T){var N,O=1&e,j=2&e,R=4&e;if(k&&(N=C?k(n,E,C,T):k(n)),void 0!==N)return N;if(!x(n))return n;var z=_(n);if(z){if(N=v(n),!O)return f(n,N)}else{var P=p(n),I="[object Function]"==P||"[object GeneratorFunction]"==P;if(b(n))return c(n,O);if("[object Object]"==P||"[object Arguments]"==P||I&&!C){if(N=j||I?{}:g(n),!O)return j?l(n,a(N,n)):s(n,u(N,n))}else{if(!S[P])return C?n:{};N=y(n,P,O)}}T||(T=new r);var L=T.get(n);if(L)return L;T.set(n,N),w(n)?n.forEach((function(r){N.add(t(r,e,k,r,n,T))})):m(n)&&n.forEach((function(r,i){N.set(i,t(r,e,k,i,n,T))}));var D=z?void 0:(R?j?d:h:j?A:M)(n);return i(D||n,(function(r,i){D&&(r=n[i=r]),o(N,i,t(r,e,k,i,n,T))})),N}},function(t,n,e){var r=e(20);t.exports=function(){this.__data__=new r,this.size=0}},function(t,n){t.exports=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}},function(t,n){t.exports=function(t){return this.__data__.get(t)}},function(t,n){t.exports=function(t){return this.__data__.has(t)}},function(t,n,e){var r=e(20),i=e(35),o=e(33);t.exports=function(t,n){var e=this.__data__;if(e instanceof r){var u=e.__data__;if(!i||u.length<199)return u.push([t,n]),this.size=++e.size,this;e=this.__data__=new o(u)}return e.set(t,n),this.size=e.size,this}},function(t,n){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++e0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},function(t,n,e){var r=e(75),i=e(2);t.exports=function t(n,e,o,u,a,c){return i(n)&&i(e)&&(c.set(e,n),r(n,e,void 0,t,c),c.delete(e)),n}},function(t,n){t.exports=function(t){return function(n,e,r){for(var i=-1,o=Object(n),u=r(n),a=u.length;a--;){var c=u[t?a:++i];if(!1===e(o[c],c,o))break}return n}}},function(t,n,e){var r=e(76),i=e(65),o=e(72),u=e(66),a=e(73),c=e(23),f=e(0),s=e(168),l=e(26),h=e(34),d=e(2),p=e(169),v=e(42),y=e(78),g=e(170);t.exports=function(t,n,e,_,b,m,x){var w=y(t,e),M=y(n,e),A=x.get(M);if(A)r(t,e,A);else{var S=m?m(w,M,e+"",t,n,x):void 0,k=void 0===S;if(k){var E=f(M),C=!E&&l(M),T=!E&&!C&&v(M);S=M,E||C||T?f(w)?S=w:s(w)?S=u(w):C?(k=!1,S=i(M,!0)):T?(k=!1,S=o(M,!0)):S=[]:p(M)||c(M)?(S=w,c(w)?S=g(w):d(w)&&!h(w)||(S=a(M))):k=!1}k&&(x.set(M,S),b(S,M,_,m,x),x.delete(M)),r(t,e,S)}}},function(t,n,e){var r=e(9),i=e(4);t.exports=function(t){return i(t)&&r(t)}},function(t,n,e){var r=e(7),i=e(47),o=e(4),u=Function.prototype,a=Object.prototype,c=u.toString,f=a.hasOwnProperty,s=c.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=r(t))return!1;var n=i(t);if(null===n)return!0;var e=f.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&c.call(e)==s}},function(t,n,e){var r=e(16),i=e(17);t.exports=function(t){return r(t,i(t))}},function(t,n,e){var r=e(49),i=e(79);t.exports=function(t){return r((function(n,e){var r=-1,o=e.length,u=o>1?e[o-1]:void 0,a=o>2?e[2]:void 0;for(u=t.length>3&&"function"==typeof u?(o--,u):void 0,a&&i(e[0],e[1],a)&&(u=o<3?void 0:u,o=1),n=Object(n);++r0&&o(s)?e>1?t(s,e-1,o,u,a):r(a,s):u||(a[a.length]=s)}return a}},function(t,n,e){var r=e(12),i=e(23),o=e(0),u=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(u&&t&&t[u])}},function(t,n,e){var r=e(36),i=e(39),o=e(50),u=e(206),a=e(210),c=e(27),f=e(211),s=e(14),l=e(0);t.exports=function(t,n,e){n=n.length?r(n,(function(t){return l(t)?function(n){return i(n,1===t.length?t[0]:t)}:t})):[s];var h=-1;n=r(n,c(o));var d=u(t,(function(t,e,i){return{criteria:r(n,(function(n){return n(t)})),index:++h,value:t}}));return a(d,(function(t,n){return f(t,n,e)}))}},function(t,n,e){var r=e(207),i=e(9);t.exports=function(t,n){var e=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++e]=n(t,r,i)})),o}},function(t,n,e){var r=e(208),i=e(209)(r);t.exports=i},function(t,n,e){var r=e(77),i=e(13);t.exports=function(t,n){return t&&r(t,n,i)}},function(t,n,e){var r=e(9);t.exports=function(t,n){return function(e,i){if(null==e)return e;if(!r(e))return t(e,i);for(var o=e.length,u=n?o:-1,a=Object(e);(n?u--:++u=c?f:f*("desc"==e[i]?-1:1)}return t.index-n.index}},function(t,n,e){var r=e(6);t.exports=function(t,n){if(t!==n){var e=void 0!==t,i=null===t,o=t==t,u=r(t),a=void 0!==n,c=null===n,f=n==n,s=r(n);if(!c&&!s&&!u&&t>n||u&&a&&f&&!c&&!s||i&&a&&f||!e&&f||!o)return 1;if(!i&&!u&&!s&&t0)for(var n=this.chartContainer.append("g").attr("class","legend-row"),e=function(e){if(C()(r.seriesTargetsWithBounds,r.series[e].target))return"continue";var i=0;null!==n.selectAll("text").node()&&(i=n.node().getBBox().width+25);var o=!1!==r.series[e].visible;n.append("foreignObject").attr("x",i).attr("y",r.legendRowPositionY-12).attr("width",13).attr("height",15).html("
").on("click",(function(){t.options.eventsCallbacks.onLegendClick(e)})),n.append("text").attr("x",i+20).attr("y",r.legendRowPositionY).attr("class","metric-legend-"+e).style("font-size","12px").style("fill",r.getSerieColor(e)).text(r.series[e].target).on("click",(function(){t.options.eventsCallbacks.onLegendLabelClick(e)}))},r=this,i=0;i.9*this.height)return;this.state.yValueRange=[l[0]-s*h,l[1]-s*h];var d=this.state.transform.y+s*f;this.state.transform={y:d};break;default:throw new Error("Unknown type of scroll pan orientation: "+r)}},t.prototype.onPanningEnd=function(){this.isPanning=!1,this.deltaYTransform=0,this.onMouseOut(),void 0!==this.options.eventsCallbacks&&void 0!==this.options.eventsCallbacks.panningEnd?this.options.eventsCallbacks.panningEnd([this.state.xValueRange,this.state.yValueRange,this.state.y1ValueRange]):console.log("on panning end, but there is no callback")},t.prototype.onBrush=function(){var t=this.d3.event.selection;if(this.options.zoomEvents.mouse.zoom.orientation===o.SQUARE&&null!==t){var n=this.getSelectionAttrs(t);void 0!==n&&this.chartContainer.select(".selection").attr("x",n.x).attr("y",n.y).attr("width",n.width).attr("height",n.height)}},t.prototype.getSelectionAttrs=function(t){if(null!==this.brushStartSelection&&null!=t){var n=this.brushStartSelection[0],e=this.brushStartSelection[1],r=t[0][0],i=t[1][0],o=t[0][1],u=i-r,a=t[1][1]-o,c=Math.min(u,a);return{x:r===n?n:n-c,y:o===e?e:e-c,width:c,height:c}}},t.prototype.onBrushStart=function(){this.isBrushing;var t=this.d3.event.selection;null!==t&&t.length>0&&(this.brushStartSelection=this.d3.event.selection[0]),this.onMouseOut()},t.prototype.onBrushEnd=function(){var t=this.d3.event.selection;if(this.isBrushing,!(null==t||t.length<2)){var n,e;switch(this.chartContainer.call(this.brush.move,null),this.options.zoomEvents.mouse.zoom.orientation){case o.HORIZONTAL:var r=this.xScale.invert(t[0]),i=this.xScale.invert(t[1]);if(Math.abs(i-r)0&&this.series[0].datapoints.length>1?this.series[0].datapoints[1][1]-this.series[0].datapoints[0][1]:void 0!==this.options.timeInterval&&void 0!==this.options.timeInterval.count?6e4*this.options.timeInterval.count:6e4},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"xTickTransform",{get:function(){if(void 0===this.options.tickFormat||void 0===this.options.tickFormat.xTickOrientation)return"";switch(this.options.tickFormat.xTickOrientation){case r.VERTICAL:return"translate(-10px, 50px) rotate(-90deg)";case r.HORIZONTAL:return"";case r.DIAGONAL:return"translate(-30px, 30px) rotate(-45deg)";default:return""}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"extraMargin",{get:function(){var t={top:0,right:0,bottom:0,left:0};if(void 0!==this.options.tickFormat&&void 0!==this.options.tickFormat.xTickOrientation)switch(this.options.tickFormat.xTickOrientation){case r.VERTICAL:t.bottom+=80;break;case r.HORIZONTAL:break;case r.DIAGONAL:t.left+=15,t.bottom+=50,t.right+=10}return void 0!==this.options.labelFormat&&(void 0!==this.options.labelFormat.xAxis&&this.options.labelFormat.xAxis.length>0&&(t.bottom+=20),void 0!==this.options.labelFormat.yAxis&&this.options.labelFormat.yAxis.length>0&&(t.left+=20)),this.series.length>0&&(t.bottom+=25),t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.d3Node.node().clientWidth-this.margin.left-this.margin.right},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.d3Node.node().clientHeight-this.margin.top-this.margin.bottom},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"legendRowPositionY",{get:function(){return this.height+this.margin.bottom-5},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"margin",{get:function(){return void 0!==this.options.margin?this.options.margin:z()({},J,this.extraMargin,Y.a)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSeriesUnavailable",{get:function(){return void 0===this.series||0===this.series.length||0===U()(this.series.map((function(t){return t.datapoints.length})))},enumerable:!1,configurable:!0}),t.prototype.formatedBound=function(t,n){return $()(t,"$__metric_name",n)},t.prototype.clearScaleCache=function(t){void 0===t&&(t=!0),this._xScale=null,this._yScale=null,this._y1Scale=null,t&&(this.state.xValueRange=void 0,this.state.yValueRange=void 0,this.state.y1ValueRange=void 0,this.state.transform={x:0,y:0,k:1})},t.prototype.getSerieColor=function(t){if(void 0===this.series[t])throw new Error("Can't get color for unexisting serie: "+t+", there are only "+this.series.length+" series");var n=this.series[t].color;return void 0===n&&(n=A[t%A.length]),n},Object.defineProperty(t.prototype,"seriesTargetsWithBounds",{get:function(){var t=this;if(void 0===this.options.bounds||void 0===this.options.bounds.upper||void 0===this.options.bounds.lower)return[];var n=[];return this.series.forEach((function(e){n.push(t.formatedBound(t.options.bounds.upper,e.target)),n.push(t.formatedBound(t.options.bounds.lower,e.target))})),n},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleSeries",{get:function(){return this.series.filter((function(t){return!1!==t.visible}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rectClipId",{get:function(){return 0===this._clipPathUID.length&&(this._clipPathUID=Math.random().toString(36).substr(2,12)),this._clipPathUID},enumerable:!1,configurable:!0}),t.prototype.isOutOfChart=function(){var t=this.d3.mouse(this.chartContainer.node()),n=t[0],e=t[1];return e>this.height+1||e<-1||n>this.width||n<0},t}()}])},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"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,e){"use strict";e.r(n),e.d(n,"ChartwerkScatterPod",(function(){return mA})),e.d(n,"VueChartwerkScatterPodObject",(function(){return xA})),e.d(n,"TickOrientation",(function(){return u.TickOrientation})),e.d(n,"TimeFormat",(function(){return u.TimeFormat})),e.d(n,"PointType",(function(){return i})),e.d(n,"LineType",(function(){return o}));var r={};e.r(r),e.d(r,"version",(function(){return D})),e.d(r,"bisect",(function(){return Y})),e.d(r,"bisectRight",(function(){return q})),e.d(r,"bisectLeft",(function(){return V})),e.d(r,"ascending",(function(){return F})),e.d(r,"bisector",(function(){return U})),e.d(r,"cross",(function(){return W})),e.d(r,"descending",(function(){return G})),e.d(r,"deviation",(function(){return K})),e.d(r,"extent",(function(){return Q})),e.d(r,"histogram",(function(){return ht})),e.d(r,"thresholdFreedmanDiaconis",(function(){return pt})),e.d(r,"thresholdScott",(function(){return vt})),e.d(r,"thresholdSturges",(function(){return lt})),e.d(r,"max",(function(){return yt})),e.d(r,"mean",(function(){return gt})),e.d(r,"median",(function(){return _t})),e.d(r,"merge",(function(){return bt})),e.d(r,"min",(function(){return mt})),e.d(r,"pairs",(function(){return H})),e.d(r,"permute",(function(){return xt})),e.d(r,"quantile",(function(){return dt})),e.d(r,"range",(function(){return it})),e.d(r,"scan",(function(){return wt})),e.d(r,"shuffle",(function(){return Mt})),e.d(r,"sum",(function(){return At})),e.d(r,"ticks",(function(){return ct})),e.d(r,"tickIncrement",(function(){return ft})),e.d(r,"tickStep",(function(){return st})),e.d(r,"transpose",(function(){return St})),e.d(r,"variance",(function(){return Z})),e.d(r,"zip",(function(){return Et})),e.d(r,"axisTop",(function(){return It})),e.d(r,"axisRight",(function(){return Lt})),e.d(r,"axisBottom",(function(){return Dt})),e.d(r,"axisLeft",(function(){return Ft})),e.d(r,"brush",(function(){return ao})),e.d(r,"brushX",(function(){return oo})),e.d(r,"brushY",(function(){return uo})),e.d(r,"brushSelection",(function(){return io})),e.d(r,"chord",(function(){return go})),e.d(r,"ribbon",(function(){return Oo})),e.d(r,"nest",(function(){return Po})),e.d(r,"set",(function(){return Vo})),e.d(r,"map",(function(){return zo})),e.d(r,"keys",(function(){return Yo})),e.d(r,"values",(function(){return Ho})),e.d(r,"entries",(function(){return $o})),e.d(r,"color",(function(){return ke})),e.d(r,"rgb",(function(){return Ne})),e.d(r,"hsl",(function(){return Le})),e.d(r,"lab",(function(){return Ko})),e.d(r,"hcl",(function(){return ou})),e.d(r,"lch",(function(){return iu})),e.d(r,"gray",(function(){return Zo})),e.d(r,"cubehelix",(function(){return du})),e.d(r,"contours",(function(){return Mu})),e.d(r,"contourDensity",(function(){return Tu})),e.d(r,"dispatch",(function(){return $t})),e.d(r,"drag",(function(){return Iu})),e.d(r,"dragDisable",(function(){return ce})),e.d(r,"dragEnable",(function(){return fe})),e.d(r,"dsvFormat",(function(){return Vu})),e.d(r,"csvParse",(function(){return Hu})),e.d(r,"csvParseRows",(function(){return $u})),e.d(r,"csvFormat",(function(){return Wu})),e.d(r,"csvFormatBody",(function(){return Gu})),e.d(r,"csvFormatRows",(function(){return Xu})),e.d(r,"csvFormatRow",(function(){return Zu})),e.d(r,"csvFormatValue",(function(){return Ku})),e.d(r,"tsvParse",(function(){return Ju})),e.d(r,"tsvParseRows",(function(){return ta})),e.d(r,"tsvFormat",(function(){return na})),e.d(r,"tsvFormatBody",(function(){return ea})),e.d(r,"tsvFormatRows",(function(){return ra})),e.d(r,"tsvFormatRow",(function(){return ia})),e.d(r,"tsvFormatValue",(function(){return oa})),e.d(r,"autoType",(function(){return ua})),e.d(r,"easeLinear",(function(){return ca})),e.d(r,"easeQuad",(function(){return la})),e.d(r,"easeQuadIn",(function(){return fa})),e.d(r,"easeQuadOut",(function(){return sa})),e.d(r,"easeQuadInOut",(function(){return la})),e.d(r,"easeCubic",(function(){return Ci})),e.d(r,"easeCubicIn",(function(){return ki})),e.d(r,"easeCubicOut",(function(){return Ei})),e.d(r,"easeCubicInOut",(function(){return Ci})),e.d(r,"easePoly",(function(){return pa})),e.d(r,"easePolyIn",(function(){return ha})),e.d(r,"easePolyOut",(function(){return da})),e.d(r,"easePolyInOut",(function(){return pa})),e.d(r,"easeSin",(function(){return ba})),e.d(r,"easeSinIn",(function(){return ga})),e.d(r,"easeSinOut",(function(){return _a})),e.d(r,"easeSinInOut",(function(){return ba})),e.d(r,"easeExp",(function(){return Ma})),e.d(r,"easeExpIn",(function(){return xa})),e.d(r,"easeExpOut",(function(){return wa})),e.d(r,"easeExpInOut",(function(){return Ma})),e.d(r,"easeCircle",(function(){return ka})),e.d(r,"easeCircleIn",(function(){return Aa})),e.d(r,"easeCircleOut",(function(){return Sa})),e.d(r,"easeCircleInOut",(function(){return ka})),e.d(r,"easeBounce",(function(){return Ca})),e.d(r,"easeBounceIn",(function(){return Ea})),e.d(r,"easeBounceOut",(function(){return Ca})),e.d(r,"easeBounceInOut",(function(){return Ta})),e.d(r,"easeBack",(function(){return ja})),e.d(r,"easeBackIn",(function(){return Na})),e.d(r,"easeBackOut",(function(){return Oa})),e.d(r,"easeBackInOut",(function(){return ja})),e.d(r,"easeElastic",(function(){return Pa})),e.d(r,"easeElasticIn",(function(){return za})),e.d(r,"easeElasticOut",(function(){return Pa})),e.d(r,"easeElasticInOut",(function(){return Ia})),e.d(r,"blob",(function(){return Da})),e.d(r,"buffer",(function(){return Ua})),e.d(r,"dsv",(function(){return Ya})),e.d(r,"csv",(function(){return Ha})),e.d(r,"tsv",(function(){return $a})),e.d(r,"image",(function(){return Wa})),e.d(r,"json",(function(){return Xa})),e.d(r,"text",(function(){return qa})),e.d(r,"xml",(function(){return Ka})),e.d(r,"html",(function(){return Qa})),e.d(r,"svg",(function(){return Ja})),e.d(r,"forceCenter",(function(){return tc})),e.d(r,"forceCollide",(function(){return dc})),e.d(r,"forceLink",(function(){return yc})),e.d(r,"forceManyBody",(function(){return xc})),e.d(r,"forceRadial",(function(){return wc})),e.d(r,"forceSimulation",(function(){return mc})),e.d(r,"forceX",(function(){return Mc})),e.d(r,"forceY",(function(){return Ac})),e.d(r,"formatDefaultLocale",(function(){return Uc})),e.d(r,"format",(function(){return jc})),e.d(r,"formatPrefix",(function(){return Rc})),e.d(r,"formatLocale",(function(){return Fc})),e.d(r,"formatSpecifier",(function(){return Cc})),e.d(r,"FormatSpecifier",(function(){return Tc})),e.d(r,"precisionFixed",(function(){return Bc})),e.d(r,"precisionPrefix",(function(){return qc})),e.d(r,"precisionRound",(function(){return Vc})),e.d(r,"geoArea",(function(){return Pf})),e.d(r,"geoBounds",(function(){return Es})),e.d(r,"geoCentroid",(function(){return Fs})),e.d(r,"geoCircle",(function(){return Zs})),e.d(r,"geoClipAntimeridian",(function(){return cl})),e.d(r,"geoClipCircle",(function(){return fl})),e.d(r,"geoClipExtent",(function(){return pl})),e.d(r,"geoClipRectangle",(function(){return sl})),e.d(r,"geoContains",(function(){return jl})),e.d(r,"geoDistance",(function(){return Ml})),e.d(r,"geoGraticule",(function(){return Pl})),e.d(r,"geoGraticule10",(function(){return Il})),e.d(r,"geoInterpolate",(function(){return Bl})),e.d(r,"geoLength",(function(){return ml})),e.d(r,"geoPath",(function(){return Fh})),e.d(r,"geoAlbers",(function(){return id})),e.d(r,"geoAlbersUsa",(function(){return od})),e.d(r,"geoAzimuthalEqualArea",(function(){return fd})),e.d(r,"geoAzimuthalEqualAreaRaw",(function(){return cd})),e.d(r,"geoAzimuthalEquidistant",(function(){return ld})),e.d(r,"geoAzimuthalEquidistantRaw",(function(){return sd})),e.d(r,"geoConicConformal",(function(){return gd})),e.d(r,"geoConicConformalRaw",(function(){return yd})),e.d(r,"geoConicEqualArea",(function(){return rd})),e.d(r,"geoConicEqualAreaRaw",(function(){return ed})),e.d(r,"geoConicEquidistant",(function(){return xd})),e.d(r,"geoConicEquidistantRaw",(function(){return md})),e.d(r,"geoEqualEarth",(function(){return Cd})),e.d(r,"geoEqualEarthRaw",(function(){return Ed})),e.d(r,"geoEquirectangular",(function(){return bd})),e.d(r,"geoEquirectangularRaw",(function(){return _d})),e.d(r,"geoGnomonic",(function(){return Nd})),e.d(r,"geoGnomonicRaw",(function(){return Td})),e.d(r,"geoIdentity",(function(){return Od})),e.d(r,"geoProjection",(function(){return Jh})),e.d(r,"geoProjectionMutator",(function(){return td})),e.d(r,"geoMercator",(function(){return dd})),e.d(r,"geoMercatorRaw",(function(){return hd})),e.d(r,"geoNaturalEarth1",(function(){return Rd})),e.d(r,"geoNaturalEarth1Raw",(function(){return jd})),e.d(r,"geoOrthographic",(function(){return Pd})),e.d(r,"geoOrthographicRaw",(function(){return zd})),e.d(r,"geoStereographic",(function(){return Ld})),e.d(r,"geoStereographicRaw",(function(){return Id})),e.d(r,"geoTransverseMercator",(function(){return Fd})),e.d(r,"geoTransverseMercatorRaw",(function(){return Dd})),e.d(r,"geoRotation",(function(){return Ws})),e.d(r,"geoStream",(function(){return Ef})),e.d(r,"geoTransform",(function(){return Uh})),e.d(r,"cluster",(function(){return Vd})),e.d(r,"hierarchy",(function(){return Hd})),e.d(r,"pack",(function(){return yp})),e.d(r,"packSiblings",(function(){return sp})),e.d(r,"packEnclose",(function(){return Kd})),e.d(r,"partition",(function(){return wp})),e.d(r,"stratify",(function(){return Ep})),e.d(r,"tree",(function(){return zp})),e.d(r,"treemap",(function(){return Fp})),e.d(r,"treemapBinary",(function(){return Up})),e.d(r,"treemapDice",(function(){return xp})),e.d(r,"treemapSlice",(function(){return Pp})),e.d(r,"treemapSliceDice",(function(){return Bp})),e.d(r,"treemapSquarify",(function(){return Dp})),e.d(r,"treemapResquarify",(function(){return qp})),e.d(r,"interpolate",(function(){return sr})),e.d(r,"interpolateArray",(function(){return tr})),e.d(r,"interpolateBasis",(function(){return Be})),e.d(r,"interpolateBasisClosed",(function(){return qe})),e.d(r,"interpolateDate",(function(){return er})),e.d(r,"interpolateDiscrete",(function(){return Vp})),e.d(r,"interpolateHue",(function(){return Yp})),e.d(r,"interpolateNumber",(function(){return rr})),e.d(r,"interpolateNumberArray",(function(){return Qe})),e.d(r,"interpolateObject",(function(){return ir})),e.d(r,"interpolateRound",(function(){return Hp})),e.d(r,"interpolateString",(function(){return fr})),e.d(r,"interpolateTransformCss",(function(){return Wr})),e.d(r,"interpolateTransformSvg",(function(){return Gr})),e.d(r,"interpolateZoom",(function(){return Gp})),e.d(r,"interpolateRgb",(function(){return Ge})),e.d(r,"interpolateRgbBasis",(function(){return Ze})),e.d(r,"interpolateRgbBasisClosed",(function(){return Ke})),e.d(r,"interpolateHsl",(function(){return Zp})),e.d(r,"interpolateHslLong",(function(){return Kp})),e.d(r,"interpolateLab",(function(){return Qp})),e.d(r,"interpolateHcl",(function(){return tv})),e.d(r,"interpolateHclLong",(function(){return nv})),e.d(r,"interpolateCubehelix",(function(){return rv})),e.d(r,"interpolateCubehelixLong",(function(){return iv})),e.d(r,"piecewise",(function(){return ov})),e.d(r,"quantize",(function(){return uv})),e.d(r,"path",(function(){return So})),e.d(r,"polygonArea",(function(){return av})),e.d(r,"polygonCentroid",(function(){return cv})),e.d(r,"polygonHull",(function(){return lv})),e.d(r,"polygonContains",(function(){return hv})),e.d(r,"polygonLength",(function(){return dv})),e.d(r,"quadtree",(function(){return ac})),e.d(r,"randomUniform",(function(){return vv})),e.d(r,"randomNormal",(function(){return yv})),e.d(r,"randomLogNormal",(function(){return gv})),e.d(r,"randomBates",(function(){return bv})),e.d(r,"randomIrwinHall",(function(){return _v})),e.d(r,"randomExponential",(function(){return mv})),e.d(r,"scaleBand",(function(){return Cv})),e.d(r,"scalePoint",(function(){return Nv})),e.d(r,"scaleIdentity",(function(){return Yv})),e.d(r,"scaleLinear",(function(){return Vv})),e.d(r,"scaleLog",(function(){return Jv})),e.d(r,"scaleSymlog",(function(){return ry})),e.d(r,"scaleOrdinal",(function(){return Ev})),e.d(r,"scaleImplicit",(function(){return kv})),e.d(r,"scalePow",(function(){return cy})),e.d(r,"scaleSqrt",(function(){return fy})),e.d(r,"scaleQuantile",(function(){return sy})),e.d(r,"scaleQuantize",(function(){return ly})),e.d(r,"scaleThreshold",(function(){return hy})),e.d(r,"scaleTime",(function(){return X_})),e.d(r,"scaleUtc",(function(){return ob})),e.d(r,"scaleSequential",(function(){return cb})),e.d(r,"scaleSequentialLog",(function(){return fb})),e.d(r,"scaleSequentialPow",(function(){return lb})),e.d(r,"scaleSequentialSqrt",(function(){return hb})),e.d(r,"scaleSequentialSymlog",(function(){return sb})),e.d(r,"scaleSequentialQuantile",(function(){return db})),e.d(r,"scaleDiverging",(function(){return vb})),e.d(r,"scaleDivergingLog",(function(){return yb})),e.d(r,"scaleDivergingPow",(function(){return _b})),e.d(r,"scaleDivergingSqrt",(function(){return bb})),e.d(r,"scaleDivergingSymlog",(function(){return gb})),e.d(r,"tickFormat",(function(){return Bv})),e.d(r,"schemeCategory10",(function(){return xb})),e.d(r,"schemeAccent",(function(){return wb})),e.d(r,"schemeDark2",(function(){return Mb})),e.d(r,"schemePaired",(function(){return Ab})),e.d(r,"schemePastel1",(function(){return Sb})),e.d(r,"schemePastel2",(function(){return kb})),e.d(r,"schemeSet1",(function(){return Eb})),e.d(r,"schemeSet2",(function(){return Cb})),e.d(r,"schemeSet3",(function(){return Tb})),e.d(r,"schemeTableau10",(function(){return Nb})),e.d(r,"interpolateBrBG",(function(){return Rb})),e.d(r,"schemeBrBG",(function(){return jb})),e.d(r,"interpolatePRGn",(function(){return Pb})),e.d(r,"schemePRGn",(function(){return zb})),e.d(r,"interpolatePiYG",(function(){return Lb})),e.d(r,"schemePiYG",(function(){return Ib})),e.d(r,"interpolatePuOr",(function(){return Fb})),e.d(r,"schemePuOr",(function(){return Db})),e.d(r,"interpolateRdBu",(function(){return Bb})),e.d(r,"schemeRdBu",(function(){return Ub})),e.d(r,"interpolateRdGy",(function(){return Vb})),e.d(r,"schemeRdGy",(function(){return qb})),e.d(r,"interpolateRdYlBu",(function(){return Hb})),e.d(r,"schemeRdYlBu",(function(){return Yb})),e.d(r,"interpolateRdYlGn",(function(){return Wb})),e.d(r,"schemeRdYlGn",(function(){return $b})),e.d(r,"interpolateSpectral",(function(){return Xb})),e.d(r,"schemeSpectral",(function(){return Gb})),e.d(r,"interpolateBuGn",(function(){return Kb})),e.d(r,"schemeBuGn",(function(){return Zb})),e.d(r,"interpolateBuPu",(function(){return Jb})),e.d(r,"schemeBuPu",(function(){return Qb})),e.d(r,"interpolateGnBu",(function(){return nm})),e.d(r,"schemeGnBu",(function(){return tm})),e.d(r,"interpolateOrRd",(function(){return rm})),e.d(r,"schemeOrRd",(function(){return em})),e.d(r,"interpolatePuBuGn",(function(){return om})),e.d(r,"schemePuBuGn",(function(){return im})),e.d(r,"interpolatePuBu",(function(){return am})),e.d(r,"schemePuBu",(function(){return um})),e.d(r,"interpolatePuRd",(function(){return fm})),e.d(r,"schemePuRd",(function(){return cm})),e.d(r,"interpolateRdPu",(function(){return lm})),e.d(r,"schemeRdPu",(function(){return sm})),e.d(r,"interpolateYlGnBu",(function(){return dm})),e.d(r,"schemeYlGnBu",(function(){return hm})),e.d(r,"interpolateYlGn",(function(){return vm})),e.d(r,"schemeYlGn",(function(){return pm})),e.d(r,"interpolateYlOrBr",(function(){return gm})),e.d(r,"schemeYlOrBr",(function(){return ym})),e.d(r,"interpolateYlOrRd",(function(){return bm})),e.d(r,"schemeYlOrRd",(function(){return _m})),e.d(r,"interpolateBlues",(function(){return xm})),e.d(r,"schemeBlues",(function(){return mm})),e.d(r,"interpolateGreens",(function(){return Mm})),e.d(r,"schemeGreens",(function(){return wm})),e.d(r,"interpolateGreys",(function(){return Sm})),e.d(r,"schemeGreys",(function(){return Am})),e.d(r,"interpolatePurples",(function(){return Em})),e.d(r,"schemePurples",(function(){return km})),e.d(r,"interpolateReds",(function(){return Tm})),e.d(r,"schemeReds",(function(){return Cm})),e.d(r,"interpolateOranges",(function(){return Om})),e.d(r,"schemeOranges",(function(){return Nm})),e.d(r,"interpolateCividis",(function(){return jm})),e.d(r,"interpolateCubehelixDefault",(function(){return Rm})),e.d(r,"interpolateRainbow",(function(){return Lm})),e.d(r,"interpolateWarm",(function(){return zm})),e.d(r,"interpolateCool",(function(){return Pm})),e.d(r,"interpolateSinebow",(function(){return Bm})),e.d(r,"interpolateTurbo",(function(){return qm})),e.d(r,"interpolateViridis",(function(){return Ym})),e.d(r,"interpolateMagma",(function(){return Hm})),e.d(r,"interpolateInferno",(function(){return $m})),e.d(r,"interpolatePlasma",(function(){return Wm})),e.d(r,"create",(function(){return Gm})),e.d(r,"creator",(function(){return Fn})),e.d(r,"local",(function(){return Zm})),e.d(r,"matcher",(function(){return Kt})),e.d(r,"mouse",(function(){return pr})),e.d(r,"namespace",(function(){return un})),e.d(r,"namespaces",(function(){return on})),e.d(r,"clientPoint",(function(){return hr})),e.d(r,"select",(function(){return oe})),e.d(r,"selectAll",(function(){return Qm})),e.d(r,"selection",(function(){return ie})),e.d(r,"selector",(function(){return Gt})),e.d(r,"selectorAll",(function(){return Zt})),e.d(r,"style",(function(){return gn})),e.d(r,"touch",(function(){return dr})),e.d(r,"touches",(function(){return Jm})),e.d(r,"window",(function(){return dn})),e.d(r,"event",(function(){return Hn})),e.d(r,"customEvent",(function(){return Kn})),e.d(r,"arc",(function(){return mx})),e.d(r,"area",(function(){return kx})),e.d(r,"line",(function(){return Sx})),e.d(r,"pie",(function(){return Tx})),e.d(r,"areaRadial",(function(){return Px})),e.d(r,"radialArea",(function(){return Px})),e.d(r,"lineRadial",(function(){return zx})),e.d(r,"radialLine",(function(){return zx})),e.d(r,"pointRadial",(function(){return Ix})),e.d(r,"linkHorizontal",(function(){return Yx})),e.d(r,"linkVertical",(function(){return Hx})),e.d(r,"linkRadial",(function(){return $x})),e.d(r,"symbol",(function(){return sw})),e.d(r,"symbols",(function(){return fw})),e.d(r,"symbolCircle",(function(){return Wx})),e.d(r,"symbolCross",(function(){return Gx})),e.d(r,"symbolDiamond",(function(){return Kx})),e.d(r,"symbolSquare",(function(){return ew})),e.d(r,"symbolStar",(function(){return nw})),e.d(r,"symbolTriangle",(function(){return iw})),e.d(r,"symbolWye",(function(){return cw})),e.d(r,"curveBasisClosed",(function(){return yw})),e.d(r,"curveBasisOpen",(function(){return _w})),e.d(r,"curveBasis",(function(){return pw})),e.d(r,"curveBundle",(function(){return mw})),e.d(r,"curveCardinalClosed",(function(){return Sw})),e.d(r,"curveCardinalOpen",(function(){return Ew})),e.d(r,"curveCardinal",(function(){return Mw})),e.d(r,"curveCatmullRomClosed",(function(){return jw})),e.d(r,"curveCatmullRomOpen",(function(){return zw})),e.d(r,"curveCatmullRom",(function(){return Nw})),e.d(r,"curveLinearClosed",(function(){return Iw})),e.d(r,"curveLinear",(function(){return wx})),e.d(r,"curveMonotoneX",(function(){return Yw})),e.d(r,"curveMonotoneY",(function(){return Hw})),e.d(r,"curveNatural",(function(){return Gw})),e.d(r,"curveStep",(function(){return Zw})),e.d(r,"curveStepAfter",(function(){return Qw})),e.d(r,"curveStepBefore",(function(){return Kw})),e.d(r,"stack",(function(){return eM})),e.d(r,"stackOffsetExpand",(function(){return rM})),e.d(r,"stackOffsetDiverging",(function(){return iM})),e.d(r,"stackOffsetNone",(function(){return Jw})),e.d(r,"stackOffsetSilhouette",(function(){return oM})),e.d(r,"stackOffsetWiggle",(function(){return uM})),e.d(r,"stackOrderAppearance",(function(){return aM})),e.d(r,"stackOrderAscending",(function(){return fM})),e.d(r,"stackOrderDescending",(function(){return lM})),e.d(r,"stackOrderInsideOut",(function(){return hM})),e.d(r,"stackOrderNone",(function(){return tM})),e.d(r,"stackOrderReverse",(function(){return dM})),e.d(r,"timeInterval",(function(){return vy})),e.d(r,"timeMillisecond",(function(){return Zy})),e.d(r,"timeMilliseconds",(function(){return Ky})),e.d(r,"utcMillisecond",(function(){return Zy})),e.d(r,"utcMilliseconds",(function(){return Ky})),e.d(r,"timeSecond",(function(){return Wy})),e.d(r,"timeSeconds",(function(){return Gy})),e.d(r,"utcSecond",(function(){return Wy})),e.d(r,"utcSeconds",(function(){return Gy})),e.d(r,"timeMinute",(function(){return Yy})),e.d(r,"timeMinutes",(function(){return Hy})),e.d(r,"timeHour",(function(){return By})),e.d(r,"timeHours",(function(){return qy})),e.d(r,"timeDay",(function(){return Dy})),e.d(r,"timeDays",(function(){return Fy})),e.d(r,"timeWeek",(function(){return My})),e.d(r,"timeWeeks",(function(){return Ny})),e.d(r,"timeSunday",(function(){return My})),e.d(r,"timeSundays",(function(){return Ny})),e.d(r,"timeMonday",(function(){return Ay})),e.d(r,"timeMondays",(function(){return Oy})),e.d(r,"timeTuesday",(function(){return Sy})),e.d(r,"timeTuesdays",(function(){return jy})),e.d(r,"timeWednesday",(function(){return ky})),e.d(r,"timeWednesdays",(function(){return Ry})),e.d(r,"timeThursday",(function(){return Ey})),e.d(r,"timeThursdays",(function(){return zy})),e.d(r,"timeFriday",(function(){return Cy})),e.d(r,"timeFridays",(function(){return Py})),e.d(r,"timeSaturday",(function(){return Ty})),e.d(r,"timeSaturdays",(function(){return Iy})),e.d(r,"timeMonth",(function(){return my})),e.d(r,"timeMonths",(function(){return xy})),e.d(r,"timeYear",(function(){return gy})),e.d(r,"timeYears",(function(){return _y})),e.d(r,"utcMinute",(function(){return rb})),e.d(r,"utcMinutes",(function(){return ib})),e.d(r,"utcHour",(function(){return tb})),e.d(r,"utcHours",(function(){return nb})),e.d(r,"utcDay",(function(){return pg})),e.d(r,"utcDays",(function(){return vg})),e.d(r,"utcWeek",(function(){return Jy})),e.d(r,"utcWeeks",(function(){return ug})),e.d(r,"utcSunday",(function(){return Jy})),e.d(r,"utcSundays",(function(){return ug})),e.d(r,"utcMonday",(function(){return tg})),e.d(r,"utcMondays",(function(){return ag})),e.d(r,"utcTuesday",(function(){return ng})),e.d(r,"utcTuesdays",(function(){return cg})),e.d(r,"utcWednesday",(function(){return eg})),e.d(r,"utcWednesdays",(function(){return fg})),e.d(r,"utcThursday",(function(){return rg})),e.d(r,"utcThursdays",(function(){return sg})),e.d(r,"utcFriday",(function(){return ig})),e.d(r,"utcFridays",(function(){return lg})),e.d(r,"utcSaturday",(function(){return og})),e.d(r,"utcSaturdays",(function(){return hg})),e.d(r,"utcMonth",(function(){return K_})),e.d(r,"utcMonths",(function(){return Q_})),e.d(r,"utcYear",(function(){return gg})),e.d(r,"utcYears",(function(){return _g})),e.d(r,"timeFormatDefaultLocale",(function(){return H_})),e.d(r,"timeFormat",(function(){return Ag})),e.d(r,"timeParse",(function(){return Sg})),e.d(r,"utcFormat",(function(){return kg})),e.d(r,"utcParse",(function(){return Eg})),e.d(r,"timeFormatLocale",(function(){return wg})),e.d(r,"isoFormat",(function(){return pM})),e.d(r,"isoParse",(function(){return vM})),e.d(r,"now",(function(){return Mr})),e.d(r,"timer",(function(){return kr})),e.d(r,"timerFlush",(function(){return Er})),e.d(r,"timeout",(function(){return Or})),e.d(r,"interval",(function(){return yM})),e.d(r,"transition",(function(){return Mi})),e.d(r,"active",(function(){return ji})),e.d(r,"interrupt",(function(){return qr})),e.d(r,"voronoi",(function(){return nA})),e.d(r,"zoom",(function(){return yA})),e.d(r,"zoomTransform",(function(){return uA})),e.d(r,"zoomIdentity",(function(){return oA}));var i,o,u=e(1);!function(t){t.NONE="none",t.CIRCLE="circle",t.RECTANGLE="rectangle"}(i||(i={})),function(t){t.NONE="none",t.SOLID="solid",t.DASHED="dashed"}(o||(o={}));const a=134217729;function c(t,n,e,r,i){let o,u,a,c,f=n[0],s=r[0],l=0,h=0;s>f==s>-f?(o=f,f=n[++l]):(o=s,s=r[++h]);let d=0;if(lf==s>-f?(u=f+o,a=o-(u-f),f=n[++l]):(u=s+o,a=o-(u-s),s=r[++h]),o=u,0!==a&&(i[d++]=a);lf==s>-f?(u=o+f,c=u-o,a=o-(u-c)+(f-c),f=n[++l]):(u=o+s,c=u-o,a=o-(u-c)+(s-c),s=r[++h]),o=u,0!==a&&(i[d++]=a);for(;l0!=s>0)return y;const g=Math.abs(u+s);return Math.abs(y)>=33306690738754716e-32*g?y:-function(t,n,e,r,i,o,u){let s,y,g,_,b,m,x,w,M,A,S,k,E,C,T,N,O,j;const R=t-i,z=e-i,P=n-o,I=r-o;C=R*I,m=a*R,x=m-(m-R),w=R-x,m=a*I,M=m-(m-I),A=I-M,T=w*A-(C-x*M-w*M-x*A),N=P*z,m=a*P,x=m-(m-P),w=P-x,m=a*z,M=m-(m-z),A=z-M,O=w*A-(N-x*M-w*M-x*A),S=T-O,b=T-S,l[0]=T-(S+b)+(b-O),k=C+S,b=k-C,E=C-(k-b)+(S-b),S=E-N,b=E-S,l[1]=E-(S+b)+(b-N),j=k+S,b=j-k,l[2]=k-(j-b)+(S-b),l[3]=j;let L=f(4,l),D=22204460492503146e-32*u;if(L>=D||-L>=D)return L;if(b=t-R,s=t-(R+b)+(b-i),b=e-z,g=e-(z+b)+(b-i),b=n-P,y=n-(P+b)+(b-o),b=r-I,_=r-(I+b)+(b-o),0===s&&0===y&&0===g&&0===_)return L;if(D=11093356479670487e-47*u+33306690738754706e-32*Math.abs(L),L+=R*_+I*s-(P*g+z*y),L>=D||-L>=D)return L;C=s*I,m=a*s,x=m-(m-s),w=s-x,m=a*I,M=m-(m-I),A=I-M,T=w*A-(C-x*M-w*M-x*A),N=y*z,m=a*y,x=m-(m-y),w=y-x,m=a*z,M=m-(m-z),A=z-M,O=w*A-(N-x*M-w*M-x*A),S=T-O,b=T-S,v[0]=T-(S+b)+(b-O),k=C+S,b=k-C,E=C-(k-b)+(S-b),S=E-N,b=E-S,v[1]=E-(S+b)+(b-N),j=k+S,b=j-k,v[2]=k-(j-b)+(S-b),v[3]=j;const F=c(4,l,4,v,h);C=R*_,m=a*R,x=m-(m-R),w=R-x,m=a*_,M=m-(m-_),A=_-M,T=w*A-(C-x*M-w*M-x*A),N=P*g,m=a*P,x=m-(m-P),w=P-x,m=a*g,M=m-(m-g),A=g-M,O=w*A-(N-x*M-w*M-x*A),S=T-O,b=T-S,v[0]=T-(S+b)+(b-O),k=C+S,b=k-C,E=C-(k-b)+(S-b),S=E-N,b=E-S,v[1]=E-(S+b)+(b-N),j=k+S,b=j-k,v[2]=k-(j-b)+(S-b),v[3]=j;const U=c(F,h,4,v,d);C=s*_,m=a*s,x=m-(m-s),w=s-x,m=a*_,M=m-(m-_),A=_-M,T=w*A-(C-x*M-w*M-x*A),N=y*g,m=a*y,x=m-(m-y),w=y-x,m=a*g,M=m-(m-g),A=g-M,O=w*A-(N-x*M-w*M-x*A),S=T-O,b=T-S,v[0]=T-(S+b)+(b-O),k=C+S,b=k-C,E=C-(k-b)+(S-b),S=E-N,b=E-S,v[1]=E-(S+b)+(b-N),j=k+S,b=j-k,v[2]=k-(j-b)+(S-b),v[3]=j;const B=c(U,d,4,v,p);return p[B-1]}(t,n,e,r,i,o,g)}s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(8),s(8),s(8),s(4),s(8),s(8),s(8),s(12);s(192),s(192);s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(8),s(8),s(8),s(8),s(8),s(8),s(8),s(8),s(8),s(4),s(4),s(4),s(8),s(16),s(16),s(16),s(32),s(32),s(48),s(64);s(1152),s(1152);s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(4),s(24),s(24),s(24),s(24),s(24),s(24),s(24),s(24),s(24),s(24),s(1152),s(1152),s(1152),s(1152),s(1152),s(2304),s(2304),s(3456),s(5760),s(8),s(8),s(8),s(16),s(24),s(48),s(48),s(96),s(192),s(384),s(384),s(384),s(768);s(96),s(96),s(96),s(1152);const g=Math.pow(2,-52),_=new Uint32Array(512);class b{static from(t,n=S,e=k){const r=t.length,i=new Float64Array(2*r);for(let o=0;o>1;if(n>0&&"number"!=typeof t[0])throw new Error("Expected coords to contain numbers.");this.coords=t;const e=Math.max(2*n-5,0);this._triangles=new Uint32Array(3*e),this._halfedges=new Int32Array(3*e),this._hashSize=Math.ceil(Math.sqrt(n)),this._hullPrev=new Uint32Array(n),this._hullNext=new Uint32Array(n),this._hullTri=new Uint32Array(n),this._hullHash=new Int32Array(this._hashSize).fill(-1),this._ids=new Uint32Array(n),this._dists=new Float64Array(n),this.update()}update(){const{coords:t,_hullPrev:n,_hullNext:e,_hullTri:r,_hullHash:i}=this,o=t.length>>1;let u=1/0,a=1/0,c=-1/0,f=-1/0;for(let n=0;nc&&(c=e),r>f&&(f=r),this._ids[n]=n}const s=(u+c)/2,l=(a+f)/2;let h,d,p,v=1/0;for(let n=0;n0&&(d=n,v=e)}let x=t[2*d],A=t[2*d+1],S=1/0;for(let n=0;nr&&(n[e++]=i,r=this._dists[i])}return this.hull=n.subarray(0,e),this.triangles=new Uint32Array(0),void(this.halfedges=new Uint32Array(0))}if(y(_,b,x,A,k,E)<0){const t=d,n=x,e=A;d=p,x=k,A=E,p=t,k=n,E=e}const C=function(t,n,e,r,i,o){const u=e-t,a=r-n,c=i-t,f=o-n,s=u*u+a*a,l=c*c+f*f,h=.5/(u*f-a*c);return{x:t+(f*s-a*l)*h,y:n+(u*l-c*s)*h}}(_,b,x,A,k,E);this._cx=C.x,this._cy=C.y;for(let n=0;n0&&Math.abs(f-o)<=g&&Math.abs(s-u)<=g)continue;if(o=f,u=s,c===h||c===d||c===p)continue;let l=0;for(let t=0,n=this._hashKey(f,s);t=0;)if(_=v,_===l){_=-1;break}if(-1===_)continue;let b=this._addTriangle(_,c,e[_],-1,-1,r[_]);r[c]=this._legalize(b+2),r[_]=b,T++;let m=e[_];for(;v=e[m],y(f,s,t[2*m],t[2*m+1],t[2*v],t[2*v+1])<0;)b=this._addTriangle(m,c,v,r[c],-1,r[m]),r[c]=this._legalize(b+2),e[m]=m,T--,m=v;if(_===l)for(;v=n[_],y(f,s,t[2*v],t[2*v+1],t[2*_],t[2*_+1])<0;)b=this._addTriangle(v,c,_,-1,r[_],r[v]),this._legalize(b+2),r[v]=b,e[_]=_,T--,_=v;this._hullStart=n[c]=_,e[_]=n[m]=c,e[c]=m,i[this._hashKey(f,s)]=c,i[this._hashKey(t[2*_],t[2*_+1])]=_}this.hull=new Uint32Array(T);for(let t=0,n=this._hullStart;t0?3-e:1+e)/4}(t-this._cx,n-this._cy)*this._hashSize)%this._hashSize}_legalize(t){const{_triangles:n,_halfedges:e,coords:r}=this;let i=0,o=0;for(;;){const u=e[t],a=t-t%3;if(o=a+(t+2)%3,-1===u){if(0===i)break;t=_[--i];continue}const c=u-u%3,f=a+(t+1)%3,s=c+(u+2)%3,l=n[o],h=n[t],d=n[f],p=n[s];if(x(r[2*l],r[2*l+1],r[2*h],r[2*h+1],r[2*d],r[2*d+1],r[2*p],r[2*p+1])){n[t]=p,n[u]=l;const r=e[s];if(-1===r){let n=this._hullStart;do{if(this._hullTri[n]===s){this._hullTri[n]=t;break}n=this._hullPrev[n]}while(n!==this._hullStart)}this._link(t,r),this._link(u,e[o]),this._link(o,s);const a=c+(u+1)%3;i<_.length&&(_[i++]=a)}else{if(0===i)break;t=_[--i]}}return o}_link(t,n){this._halfedges[t]=n,-1!==n&&(this._halfedges[n]=t)}_addTriangle(t,n,e,r,i,o){const u=this.trianglesLen;return this._triangles[u]=t,this._triangles[u+1]=n,this._triangles[u+2]=e,this._link(u,r),this._link(u+1,i),this._link(u+2,o),this.trianglesLen+=3,u}}function m(t,n,e,r){const i=t-e,o=n-r;return i*i+o*o}function x(t,n,e,r,i,o,u,a){const c=t-u,f=n-a,s=e-u,l=r-a,h=i-u,d=o-a,p=s*s+l*l,v=h*h+d*d;return c*(l*v-p*d)-f*(s*v-p*h)+(c*c+f*f)*(s*d-l*h)<0}function w(t,n,e,r,i,o){const u=e-t,a=r-n,c=i-t,f=o-n,s=u*u+a*a,l=c*c+f*f,h=.5/(u*f-a*c),d=(f*s-a*l)*h,p=(u*l-c*s)*h;return d*d+p*p}function M(t,n,e,r){if(r-e<=20)for(let i=e+1;i<=r;i++){const r=t[i],o=n[r];let u=i-1;for(;u>=e&&n[t[u]]>o;)t[u+1]=t[u--];t[u+1]=r}else{let i=e+1,o=r;A(t,e+r>>1,i),n[t[e]]>n[t[r]]&&A(t,e,r),n[t[i]]>n[t[r]]&&A(t,i,r),n[t[e]]>n[t[i]]&&A(t,e,i);const u=t[i],a=n[u];for(;;){do{i++}while(n[t[i]]a);if(o=o-e?(M(t,n,i,r),M(t,n,e,o-1)):(M(t,n,e,o-1),M(t,n,i,r))}}function A(t,n,e){const r=t[n];t[n]=t[e],t[e]=r}function S(t){return t[0]}function k(t){return t[1]}class E{constructor(){this._x0=this._y0=this._x1=this._y1=null,this._=""}moveTo(t,n){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")}lineTo(t,n){this._+=`L${this._x1=+t},${this._y1=+n}`}arc(t,n,e){const r=(t=+t)+(e=+e),i=n=+n;if(e<0)throw new Error("negative radius");null===this._x1?this._+=`M${r},${i}`:(Math.abs(this._x1-r)>1e-6||Math.abs(this._y1-i)>1e-6)&&(this._+="L"+r+","+i),e&&(this._+=`A${e},${e},0,1,1,${t-e},${n}A${e},${e},0,1,1,${this._x1=r},${this._y1=i}`)}rect(t,n,e,r){this._+=`M${this._x0=this._x1=+t},${this._y0=this._y1=+n}h${+e}v${+r}h${-e}Z`}value(){return this._||null}}class C{constructor(){this._=[]}moveTo(t,n){this._.push([t,n])}closePath(){this._.push(this._[0].slice())}lineTo(t,n){this._.push([t,n])}value(){return this._.length?this._:null}}class T{constructor(t,[n,e,r,i]=[0,0,960,500]){if(!((r=+r)>=(n=+n)&&(i=+i)>=(e=+e)))throw new Error("invalid bounds");this.delaunay=t,this._circumcenters=new Float64Array(2*t.points.length),this.vectors=new Float64Array(2*t.points.length),this.xmax=r,this.xmin=n,this.ymax=i,this.ymin=e,this._init()}update(){return this.delaunay.update(),this._init(),this}_init(){const{delaunay:{points:t,hull:n,triangles:e},vectors:r}=this,i=this.circumcenters=this._circumcenters.subarray(0,e.length/3*2);for(let n,r,o=0,u=0,a=e.length;o1;)i-=2;for(let t=2;t4)for(let t=0;t0){if(n>=this.ymax)return null;(i=(this.ymax-n)/r)0){if(t>=this.xmax)return null;(i=(this.xmax-t)/e)this.xmax?2:0)|(nthis.ymax?8:0)}}const N=2*Math.PI,O=Math.pow;function j(t){return t[0]}function R(t){return t[1]}function z(t,n,e){return[t+Math.sin(t+n)*e,n+Math.cos(t-n)*e]}class P{static from(t,n=j,e=R,r){return new P("length"in t?function(t,n,e,r){const i=t.length,o=new Float64Array(2*i);for(let u=0;u2&&function(t){const{triangles:n,coords:e}=t;for(let t=0;t1e-10)return!1}return!0}(t)){this.collinear=Int32Array.from({length:n.length/2},(t,n)=>n).sort((t,e)=>n[2*t]-n[2*e]||n[2*t+1]-n[2*e+1]);const t=this.collinear[0],e=this.collinear[this.collinear.length-1],r=[n[2*t],n[2*t+1],n[2*e],n[2*e+1]],i=1e-8*Math.hypot(r[3]-r[1],r[2]-r[0]);for(let t=0,e=n.length/2;t0&&(this.triangles=new Int32Array(3).fill(-1),this.halfedges=new Int32Array(3).fill(-1),this.triangles[0]=r[0],o[r[0]]=1,2===r.length&&(o[r[1]]=0,this.triangles[1]=r[1],this.triangles[2]=r[1]))}voronoi(t){return new T(this,t)}*neighbors(t){const{inedges:n,hull:e,_hullIndex:r,halfedges:i,triangles:o,collinear:u}=this;if(u){const n=u.indexOf(t);return n>0&&(yield u[n-1]),void(n=0&&i!==e&&i!==r;)e=i;return i}_step(t,n,e){const{inedges:r,hull:i,_hullIndex:o,halfedges:u,triangles:a,points:c}=this;if(-1===r[t]||!c.length)return(t+1)%(c.length>>1);let f=t,s=O(n-c[2*t],2)+O(e-c[2*t+1],2);const l=r[t];let h=l;do{let r=a[h];const l=O(n-c[2*r],2)+O(e-c[2*r+1],2);if(ln?1:t>=n?0:NaN},U=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return F(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var B=U(F),q=B.right,V=B.left,Y=q,H=function(t,n){null==n&&(n=$);for(var e=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);et?1:n>=t?0:NaN},X=function(t){return null===t?NaN:+t},Z=function(t,n){var e,r,i=t.length,o=0,u=-1,a=0,c=0;if(null==n)for(;++u1)return c/(o-1)},K=function(t,n){var e=Z(t,n);return e?Math.sqrt(e):e},Q=function(t,n){var e,r,i,o=t.length,u=-1;if(null==n){for(;++u=e)for(r=i=e;++ue&&(r=e),i=e)for(r=i=e;++ue&&(r=e),i0)return[t];if((r=n0)for(t=Math.ceil(t/u),n=Math.floor(n/u),o=new Array(i=Math.ceil(n-t+1));++a=0?(o>=ot?10:o>=ut?5:o>=at?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ot?10:o>=ut?5:o>=at?2:1)}function st(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ot?i*=10:o>=ut?i*=5:o>=at&&(i*=2),ns;)l.pop(),--h;var d,p=new Array(h+1);for(i=0;i<=h;++i)(d=p[i]=[]).x0=i>0?l[i-1]:f,d.x1=i=1)return+e(t[r-1],r-1,t);var r,i=(r-1)*n,o=Math.floor(i),u=+e(t[o],o,t);return u+(+e(t[o+1],o+1,t)-u)*(i-o)}},pt=function(t,n,e){return t=nt.call(t,X).sort(F),Math.ceil((e-n)/(2*(dt(t,.75)-dt(t,.25))*Math.pow(t.length,-1/3)))},vt=function(t,n,e){return Math.ceil((e-n)/(3.5*K(t)*Math.pow(t.length,-1/3)))},yt=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++or&&(r=e)}else for(;++o=e)for(r=e;++or&&(r=e);return r},gt=function(t,n){var e,r=t.length,i=r,o=-1,u=0;if(null==n)for(;++o=0;)for(n=(r=t[i]).length;--n>=0;)e[--u]=r[n];return e},mt=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o=e)for(r=e;++oe&&(r=e)}else for(;++o=e)for(r=e;++oe&&(r=e);return r},xt=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r},wt=function(t,n){if(e=t.length){var e,r,i=0,o=0,u=t[o];for(null==n&&(n=F);++i=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function Yt(t,n){for(var e,r=0,i=t.length;r0)for(var e,r,i=new Array(e),o=0;on?1:t>=n?0:NaN}var rn="http://www.w3.org/1999/xhtml",on={svg:"http://www.w3.org/2000/svg",xhtml:rn,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},un=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),on.hasOwnProperty(n)?{space:on[n],local:t}:t};function an(t){return function(){this.removeAttribute(t)}}function cn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function fn(t,n){return function(){this.setAttribute(t,n)}}function sn(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function ln(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function hn(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var dn=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function pn(t){return function(){this.style.removeProperty(t)}}function vn(t,n,e){return function(){this.style.setProperty(t,n,e)}}function yn(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}function gn(t,n){return t.style.getPropertyValue(n)||dn(t).getComputedStyle(t,null).getPropertyValue(n)}function _n(t){return function(){delete this[t]}}function bn(t,n){return function(){this[t]=n}}function mn(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}function xn(t){return t.trim().split(/^|\s+/)}function wn(t){return t.classList||new Mn(t)}function Mn(t){this._node=t,this._names=xn(t.getAttribute("class")||"")}function An(t,n){for(var e=wn(t),r=-1,i=n.length;++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Tn(){this.textContent=""}function Nn(t){return function(){this.textContent=t}}function On(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}function jn(){this.innerHTML=""}function Rn(t){return function(){this.innerHTML=t}}function zn(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}function Pn(){this.nextSibling&&this.parentNode.appendChild(this)}function In(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ln(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===rn&&n.documentElement.namespaceURI===rn?n.createElement(t):n.createElementNS(e,t)}}function Dn(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}var Fn=function(t){var n=un(t);return(n.local?Dn:Ln)(n)};function Un(){return null}function Bn(){var t=this.parentNode;t&&t.removeChild(this)}function qn(){var t=this.cloneNode(!1),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}function Vn(){var t=this.cloneNode(!0),n=this.parentNode;return n?n.insertBefore(t,this.nextSibling):t}var Yn={},Hn=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(Yn={mouseenter:"mouseover",mouseleave:"mouseout"}));function $n(t,n,e){return t=Wn(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function Wn(t,n,e){return function(r){var i=Hn;Hn=r;try{t.call(this,this.__data__,n,e)}finally{Hn=i}}}function Gn(t){return t.trim().split(/^|\s+/).map((function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function Xn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r=x&&(x=m+1);!(b=g[x])&&++x=0;)(r=i[o])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=en);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o1?this.each((null==n?pn:"function"==typeof n?yn:vn)(t,n,null==e?"":e)):gn(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?_n:"function"==typeof n?mn:bn)(t,n)):this.node()[t]},classed:function(t,n){var e=xn(t+"");if(arguments.length<2){for(var r=wn(this.node()),i=-1,o=e.length;++i>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?Ce(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?Ce(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=ge.exec(t))?new Oe(n[1],n[2],n[3],1):(n=_e.exec(t))?new Oe(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=be.exec(t))?Ce(n[1],n[2],n[3],n[4]):(n=me.exec(t))?Ce(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=xe.exec(t))?Pe(n[1],n[2]/100,n[3]/100,1):(n=we.exec(t))?Pe(n[1],n[2]/100,n[3]/100,n[4]):Me.hasOwnProperty(t)?Ee(Me[t]):"transparent"===t?new Oe(NaN,NaN,NaN,0):null}function Ee(t){return new Oe(t>>16&255,t>>8&255,255&t,1)}function Ce(t,n,e,r){return r<=0&&(t=n=e=NaN),new Oe(t,n,e,r)}function Te(t){return t instanceof he||(t=ke(t)),t?new Oe((t=t.rgb()).r,t.g,t.b,t.opacity):new Oe}function Ne(t,n,e,r){return 1===arguments.length?Te(t):new Oe(t,n,e,null==r?1:r)}function Oe(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function je(){return"#"+ze(this.r)+ze(this.g)+ze(this.b)}function Re(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function ze(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Pe(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new De(t,n,e,r)}function Ie(t){if(t instanceof De)return new De(t.h,t.s,t.l,t.opacity);if(t instanceof he||(t=ke(t)),!t)return new De;if(t instanceof De)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),u=NaN,a=o-i,c=(o+i)/2;return a?(u=n===o?(e-r)/a+6*(e0&&c<1?0:u,new De(u,a,c,t.opacity)}function Le(t,n,e,r){return 1===arguments.length?Ie(t):new De(t,n,e,null==r?1:r)}function De(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Fe(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function Ue(t,n,e,r,i){var o=t*t,u=o*t;return((1-3*t+3*o-u)*n+(4-6*o+3*u)*e+(1+3*t+3*o-3*u)*r+u*i)/6}se(he,ke,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Ae,formatHex:Ae,formatHsl:function(){return Ie(this).formatHsl()},formatRgb:Se,toString:Se}),se(Oe,Ne,le(he,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Oe(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Oe(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:je,formatHex:je,formatRgb:Re,toString:Re})),se(De,Le,le(he,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new De(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new De(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Oe(Fe(t>=240?t-240:t+120,i,r),Fe(t,i,r),Fe(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Be=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],u=r>0?t[r-1]:2*i-o,a=r180||e<-180?e-360*Math.round(e/360):e):Ve(isNaN(t)?n:t)}function $e(t){return 1==(t=+t)?We:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Ve(isNaN(n)?e:n)}}function We(t,n){var e=n-t;return e?Ye(t,e):Ve(isNaN(t)?n:t)}var Ge=function t(n){var e=$e(n);function r(t,n){var r=e((t=Ne(t)).r,(n=Ne(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),u=We(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=u(n),t+""}}return r.gamma=t,r}(1);function Xe(t){return function(n){var e,r,i=n.length,o=new Array(i),u=new Array(i),a=new Array(i);for(e=0;eo&&(i=n.slice(o,i),a[u]?a[u]+=i:a[++u]=i),(e=e[0])===(r=r[0])?a[u]?a[u]+=r:a[++u]=r:(a[++u]=null,c.push({i:u,x:rr(e,r)})),o=ur.lastIndex;return o=0&&n._call.call(null,t),n=n._next;--vr}function Cr(){br=(_r=xr.now())+mr,vr=yr=0;try{Er()}finally{vr=0,function(){var t,n,e=ar,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:ar=n);cr=t,Nr(r)}(),br=0}}function Tr(){var t=xr.now(),n=t-_r;n>1e3&&(mr-=n,_r=t)}function Nr(t){vr||(yr&&(yr=clearTimeout(yr)),t-br>24?(t<1/0&&(yr=setTimeout(Cr,t-xr.now()-mr)),gr&&(gr=clearInterval(gr))):(gr||(_r=xr.now(),gr=setInterval(Tr,1e3)),vr=1,wr(Cr)))}Sr.prototype=kr.prototype={constructor:Sr,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Mr():+e)+(null==n?0:+n),this._next||cr===this||(cr?cr._next=this:ar=this,cr=this),this._call=t,this._time=e,Nr()},stop:function(){this._call&&(this._call=null,this._time=1/0,Nr())}};var Or=function(t,n,e){var r=new Sr;return n=null==n?0:+n,r.restart((function(e){r.stop(),t(e+n)}),n,e),r},jr=$t("start","end","cancel","interrupt"),Rr=[],zr=function(t,n,e,r,i,o){var u=t.__transition;if(u){if(e in u)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(c){var f,s,l,h;if(1!==e.state)return a();for(f in i)if((h=i[f]).name===e.name){if(3===h.state)return Or(o);4===h.state?(h.state=6,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[f]):+f0)throw new Error("too late; already scheduled");return e}function Ir(t,n){var e=Lr(t,n);if(e.state>3)throw new Error("too late; already running");return e}function Lr(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}var Dr,Fr,Ur,Br,qr=function(t,n){var e,r,i,o=t.__transition,u=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>2&&e.state<5,e.state=6,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):u=!1;u&&delete t.__transition}},Vr=180/Math.PI,Yr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Hr=function(t,n,e,r,i,o){var u,a,c;return(u=Math.sqrt(t*t+n*n))&&(t/=u,n/=u),(c=t*e+n*r)&&(e-=t*c,r-=n*c),(a=Math.sqrt(e*e+r*r))&&(e/=a,r/=a,c/=a),t*r180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:rr(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,u.rotate,a,c),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:rr(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,u.skewX,a,c),function(t,n,e,r,o,u){if(t!==e||n!==r){var a=o.push(i(o)+"scale(",null,",",null,")");u.push({i:a-4,x:rr(t,e)},{i:a-2,x:rr(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,u.scaleX,u.scaleY,a,c),o=u=null,function(t){for(var n,e=-1,r=c.length;++e=0&&(t=t.slice(0,n)),!t||"start"===t}))}(n)?Pr:Ir;return function(){var u=o(this,t),a=u.on;a!==r&&(i=(r=a).copy()).on(n,e),u.on=i}}var vi=ie.prototype.constructor;function yi(t){return function(){this.style.removeProperty(t)}}function gi(t,n,e){return function(r){this.style.setProperty(t,n.call(this,r),e)}}function _i(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&gi(t,o,e)),r}return o._value=n,o}function bi(t){return function(n){this.textContent=t.call(this,n)}}function mi(t){var n,e;function r(){var r=t.apply(this,arguments);return r!==e&&(n=(e=r)&&bi(r)),n}return r._value=t,r}var xi=0;function wi(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function Mi(t){return ie().transition(t)}function Ai(){return++xi}var Si=ie.prototype;function ki(t){return t*t*t}function Ei(t){return--t*t*t+1}function Ci(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}wi.prototype=Mi.prototype={constructor:wi,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=Gt(t));for(var r=this._groups,i=r.length,o=new Array(i),u=0;u1&&e.name===n)return new wi([[t]],Oi,n,+r);return null},Ri=function(t){return function(){return t}},zi=function(t,n,e){this.target=t,this.type=n,this.selection=e};function Pi(){Hn.stopImmediatePropagation()}var Ii=function(){Hn.preventDefault(),Hn.stopImmediatePropagation()},Li={name:"drag"},Di={name:"space"},Fi={name:"handle"},Ui={name:"center"};function Bi(t){return[+t[0],+t[1]]}function qi(t){return[Bi(t[0]),Bi(t[1])]}function Vi(t){return function(n){return dr(n,Hn.touches,t)}}var Yi={name:"x",handles:["w","e"].map(Qi),input:function(t,n){return null==t?null:[[+t[0],n[0][1]],[+t[1],n[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},Hi={name:"y",handles:["n","s"].map(Qi),input:function(t,n){return null==t?null:[[n[0][0],+t[0]],[n[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},$i={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Qi),input:function(t){return null==t?null:qi(t)},output:function(t){return t}},Wi={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},Gi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Xi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Zi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Ki={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Qi(t){return{type:t}}function Ji(){return!Hn.ctrlKey&&!Hn.button}function to(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function no(){return navigator.maxTouchPoints||"ontouchstart"in this}function eo(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function ro(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function io(t){var n=t.__brush;return n?n.dim.output(n.selection):null}function oo(){return co(Yi)}function uo(){return co(Hi)}var ao=function(){return co($i)};function co(t){var n,e=to,r=Ji,i=no,o=!0,u=$t("start","brush","end"),a=6;function c(n){var e=n.property("__brush",v).selectAll(".overlay").data([Qi("overlay")]);e.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Wi.overlay).merge(e).each((function(){var t=eo(this).extent;oe(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),n.selectAll(".selection").data([Qi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Wi.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=n.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return Wi[t.type]})),n.each(f).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",h).filter(i).on("touchstart.brush",h).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){var t=oe(this),n=eo(this).selection;n?(t.selectAll(".selection").style("display",null).attr("x",n[0][0]).attr("y",n[0][1]).attr("width",n[1][0]-n[0][0]).attr("height",n[1][1]-n[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?n[1][0]-a/2:n[0][0]-a/2})).attr("y",(function(t){return"s"===t.type[0]?n[1][1]-a/2:n[0][1]-a/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?n[1][0]-n[0][0]+a:a})).attr("height",(function(t){return"e"===t.type||"w"===t.type?n[1][1]-n[0][1]+a:a}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function s(t,n,e){var r=t.__brush.emitter;return!r||e&&r.clean?new l(t,n,e):r}function l(t,n,e){this.that=t,this.args=n,this.state=t.__brush,this.active=0,this.clean=e}function h(){if((!n||Hn.touches)&&r.apply(this,arguments)){var e,i,u,a,c,l,h,d,p,v,y,g=this,_=Hn.target.__data__.type,b="selection"===(o&&Hn.metaKey?_="overlay":_)?Li:o&&Hn.altKey?Ui:Fi,m=t===Hi?null:Zi[_],x=t===Yi?null:Ki[_],w=eo(g),M=w.extent,A=w.selection,S=M[0][0],k=M[0][1],E=M[1][0],C=M[1][1],T=0,N=0,O=m&&x&&o&&Hn.shiftKey,j=Hn.touches?Vi(Hn.changedTouches[0].identifier):pr,R=j(g),z=R,P=s(g,arguments,!0).beforestart();"overlay"===_?(A&&(p=!0),w.selection=A=[[e=t===Hi?S:R[0],u=t===Yi?k:R[1]],[c=t===Hi?E:e,h=t===Yi?C:u]]):(e=A[0][0],u=A[0][1],c=A[1][0],h=A[1][1]),i=e,a=u,l=c,d=h;var I=oe(g).attr("pointer-events","none"),L=I.selectAll(".overlay").attr("cursor",Wi[_]);if(Hn.touches)P.moved=F,P.ended=B;else{var D=oe(Hn.view).on("mousemove.brush",F,!0).on("mouseup.brush",B,!0);o&&D.on("keydown.brush",q,!0).on("keyup.brush",V,!0),ce(Hn.view)}Pi(),qr(g),f.call(g),P.start()}function F(){var t=j(g);!O||v||y||(Math.abs(t[0]-z[0])>Math.abs(t[1]-z[1])?y=!0:v=!0),z=t,p=!0,Ii(),U()}function U(){var t;switch(T=z[0]-R[0],N=z[1]-R[1],b){case Di:case Li:m&&(T=Math.max(S-e,Math.min(E-c,T)),i=e+T,l=c+T),x&&(N=Math.max(k-u,Math.min(C-h,N)),a=u+N,d=h+N);break;case Fi:m<0?(T=Math.max(S-e,Math.min(E-e,T)),i=e+T,l=c):m>0&&(T=Math.max(S-c,Math.min(E-c,T)),i=e,l=c+T),x<0?(N=Math.max(k-u,Math.min(C-u,N)),a=u+N,d=h):x>0&&(N=Math.max(k-h,Math.min(C-h,N)),a=u,d=h+N);break;case Ui:m&&(i=Math.max(S,Math.min(E,e-T*m)),l=Math.max(S,Math.min(E,c+T*m))),x&&(a=Math.max(k,Math.min(C,u-N*x)),d=Math.max(k,Math.min(C,h+N*x)))}l0&&(e=i-T),x<0?h=d-N:x>0&&(u=a-N),b=Di,L.attr("cursor",Wi.selection),U());break;default:return}Ii()}function V(){switch(Hn.keyCode){case 16:O&&(v=y=O=!1,U());break;case 18:b===Ui&&(m<0?c=l:m>0&&(e=i),x<0?h=d:x>0&&(u=a),b=Fi,U());break;case 32:b===Di&&(Hn.altKey?(m&&(c=l-T*m,e=i+T*m),x&&(h=d-N*x,u=a+N*x),b=Ui):(m<0?c=l:m>0&&(e=i),x<0?h=d:x>0&&(u=a),b=Fi),L.attr("cursor",Wi[_]),U());break;default:return}Ii()}}function d(){s(this,arguments).moved()}function p(){s(this,arguments).ended()}function v(){var n=this.__brush||{selection:null};return n.extent=qi(e.apply(this,arguments)),n.dim=t,n}return c.move=function(n,e){n.selection?n.on("start.brush",(function(){s(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){s(this,arguments).end()})).tween("brush",(function(){var n=this,r=n.__brush,i=s(n,arguments),o=r.selection,u=t.input("function"==typeof e?e.apply(this,arguments):e,r.extent),a=sr(o,u);function c(t){r.selection=1===t&&null===u?null:a(t),f.call(n),i.brush()}return null!==o&&null!==u?c:c(1)})):n.each((function(){var n=this,r=arguments,i=n.__brush,o=t.input("function"==typeof e?e.apply(n,r):e,i.extent),u=s(n,r).beforestart();qr(n),i.selection=null===o?null:o,f.call(n),u.start().brush().end()}))},c.clear=function(t){c.move(t,null)},l.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(n){Kn(new zi(c,n,t.output(this.state.selection)),u.apply,u,[n,this.that,this.args])}},c.extent=function(t){return arguments.length?(e="function"==typeof t?t:Ri(qi(t)),c):e},c.filter=function(t){return arguments.length?(r="function"==typeof t?t:Ri(!!t),c):r},c.touchable=function(t){return arguments.length?(i="function"==typeof t?t:Ri(!!t),c):i},c.handleSize=function(t){return arguments.length?(a=+t,c):a},c.keyModifiers=function(t){return arguments.length?(o=!!t,c):o},c.on=function(){var t=u.on.apply(u,arguments);return t===u?c:t},c}var fo=Math.cos,so=Math.sin,lo=Math.PI,ho=lo/2,po=2*lo,vo=Math.max;function yo(t){return function(n,e){return t(n.source.value+n.target.value,e.source.value+e.target.value)}}var go=function(){var t=0,n=null,e=null,r=null;function i(i){var o,u,a,c,f,s,l=i.length,h=[],d=it(l),p=[],v=[],y=v.groups=new Array(l),g=new Array(l*l);for(o=0,f=-1;++f1e-6)if(Math.abs(s*a-c*f)>1e-6&&i){var h=e-o,d=r-u,p=a*a+c*c,v=h*h+d*d,y=Math.sqrt(p),g=Math.sqrt(l),_=i*Math.tan((mo-Math.acos((p+l-v)/(2*y*g)))/2),b=_/g,m=_/y;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*f)+","+(n+b*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>f*d)+","+(this._x1=t+m*a)+","+(this._y1=n+m*c)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n,o=!!o;var u=(e=+e)*Math.cos(r),a=e*Math.sin(r),c=t+u,f=n+a,s=1^o,l=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+c+","+f:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+c+","+f),e&&(l<0&&(l=l%xo+xo),l>wo?this._+="A"+e+","+e+",0,1,"+s+","+(t-u)+","+(n-a)+"A"+e+","+e+",0,1,"+s+","+(this._x1=c)+","+(this._y1=f):l>1e-6&&(this._+="A"+e+","+e+",0,"+ +(l>=mo)+","+s+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},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._}};var So=Ao;function ko(t){return t.source}function Eo(t){return t.target}function Co(t){return t.radius}function To(t){return t.startAngle}function No(t){return t.endAngle}var Oo=function(){var t=ko,n=Eo,e=Co,r=To,i=No,o=null;function u(){var u,a=_o.call(arguments),c=t.apply(this,a),f=n.apply(this,a),s=+e.apply(this,(a[0]=c,a)),l=r.apply(this,a)-ho,h=i.apply(this,a)-ho,d=s*fo(l),p=s*so(l),v=+e.apply(this,(a[0]=f,a)),y=r.apply(this,a)-ho,g=i.apply(this,a)-ho;if(o||(o=u=So()),o.moveTo(d,p),o.arc(0,0,s,l,h),l===y&&h===g||(o.quadraticCurveTo(0,0,v*fo(y),v*so(y)),o.arc(0,0,v,y,g)),o.quadraticCurveTo(0,0,d,p),o.closePath(),u)return o=null,u+""||null}return u.radius=function(t){return arguments.length?(e="function"==typeof t?t:bo(+t),u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:bo(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:bo(+t),u):i},u.source=function(n){return arguments.length?(t=n,u):t},u.target=function(t){return arguments.length?(n=t,u):n},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u};function jo(){}function Ro(t,n){var e=new jo;if(t instanceof jo)t.each((function(t,n){e.set(n,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i=r.length)return null!=t&&e.sort(t),null!=n?n(e):e;for(var c,f,s,l=-1,h=e.length,d=r[i++],p=zo(),v=u();++lr.length)return e;var u,a=i[o-1];return null!=n&&o>=r.length?u=e.entries():(u=[],e.each((function(n,e){u.push({key:e,values:t(n,o)})}))),null!=a?u.sort((function(t,n){return a(t.key,n.key)})):u}(o(t,0,Do,Fo),0)},key:function(t){return r.push(t),e},sortKeys:function(t){return i[r.length-1]=t,e},sortValues:function(n){return t=n,e},rollup:function(t){return n=t,e}}};function Io(){return{}}function Lo(t,n,e){t[n]=e}function Do(){return zo()}function Fo(t,n,e){t.set(n,e)}function Uo(){}var Bo=zo.prototype;function qo(t,n){var e=new Uo;if(t instanceof Uo)t.each((function(t){e.add(t)}));else if(t){var r=-1,i=t.length;if(null==n)for(;++r6/29*(6/29)*(6/29)?Math.pow(t,1/3):t/(6/29*3*(6/29))+4/29}function tu(t){return t>6/29?t*t*t:6/29*3*(6/29)*(t-4/29)}function nu(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eu(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ru(t){if(t instanceof uu)return new uu(t.h,t.c,t.l,t.opacity);if(t instanceof Qo||(t=Xo(t)),0===t.a&&0===t.b)return new uu(NaN,0r!=d>r&&e<(h-f)*(r-s)/(d-s)+f&&(i=-i)}return i}function mu(t,n,e){var r,i,o,u;return function(t,n,e){return(n[0]-t[0])*(e[1]-t[1])==(e[0]-t[0])*(n[1]-t[1])}(t,n,e)&&(i=t[r=+(t[0]===n[0])],o=e[r],u=n[r],i<=o&&o<=u||u<=o&&o<=i)}var xu=function(){},wu=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Mu=function(){var t=1,n=1,e=lt,r=a;function i(t){var n=e(t);if(Array.isArray(n))n=n.slice().sort(yu);else{var r=Q(t),i=r[0],u=r[1];n=st(i,u,n),n=it(Math.floor(i/n)*n,Math.floor(u/n)*n,n)}return n.map((function(n){return o(t,n)}))}function o(e,i){var o=[],a=[];return function(e,r,i){var o,a,c,f,s,l,h=new Array,d=new Array;o=a=-1,f=e[0]>=r,wu[f<<1].forEach(p);for(;++o=r,wu[c|f<<1].forEach(p);wu[f<<0].forEach(p);for(;++a=r,s=e[a*t]>=r,wu[f<<1|s<<2].forEach(p);++o=r,l=s,s=e[a*t+o+1]>=r,wu[c|f<<1|s<<2|l<<3].forEach(p);wu[f|s<<3].forEach(p)}o=-1,s=e[a*t]>=r,wu[s<<2].forEach(p);for(;++o=r,wu[s<<2|l<<3].forEach(p);function p(t){var n,e,r=[t[0][0]+o,t[0][1]+a],c=[t[1][0]+o,t[1][1]+a],f=u(r),s=u(c);(n=d[f])?(e=h[s])?(delete d[n.end],delete h[e.start],n===e?(n.ring.push(c),i(n.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete d[n.end],n.ring.push(c),d[n.end=s]=n):(n=h[s])?(e=d[f])?(delete h[n.start],delete d[e.end],n===e?(n.ring.push(c),i(n.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete h[n.start],n.ring.unshift(r),h[n.start=f]=n):h[f]=d[s]={start:f,end:s,ring:[r,c]}}wu[s<<3].forEach(p)}(e,i,(function(t){r(t,e,i),function(t){for(var n=0,e=t.length,r=t[e-1][1]*t[0][0]-t[e-1][0]*t[0][1];++n0?o.push([t]):a.push(t)})),a.forEach((function(t){for(var n,e=0,r=o.length;e0&&u0&&a0&&o>0))throw new Error("invalid size");return t=r,n=o,i},i.thresholds=function(t){return arguments.length?(e="function"==typeof t?t:Array.isArray(t)?gu(vu.call(t)):gu(t),i):e},i.smooth=function(t){return arguments.length?(r=t?a:xu,i):r===a},i};function Au(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),u=0;u=e&&(a>=o&&(c-=t.data[a-o+u*r]),n.data[a-e+u*r]=c/Math.min(a+1,r-1+o-a,o))}function Su(t,n,e){for(var r=t.width,i=t.height,o=1+(e<<1),u=0;u=e&&(a>=o&&(c-=t.data[u+(a-o)*r]),n.data[u+(a-e)*r]=c/Math.min(a+1,i-1+o-a,o))}function ku(t){return t[0]}function Eu(t){return t[1]}function Cu(){return 1}var Tu=function(){var t=ku,n=Eu,e=Cu,r=960,i=500,o=20,u=2,a=3*o,c=r+2*a>>u,f=i+2*a>>u,s=gu(20);function l(r){var i=new Float32Array(c*f),l=new Float32Array(c*f);r.forEach((function(r,o,s){var l=+t(r,o,s)+a>>u,h=+n(r,o,s)+a>>u,d=+e(r,o,s);l>=0&&l=0&&h>u),Su({width:c,height:f,data:l},{width:c,height:f,data:i},o>>u),Au({width:c,height:f,data:i},{width:c,height:f,data:l},o>>u),Su({width:c,height:f,data:l},{width:c,height:f,data:i},o>>u),Au({width:c,height:f,data:i},{width:c,height:f,data:l},o>>u),Su({width:c,height:f,data:l},{width:c,height:f,data:i},o>>u);var d=s(i);if(!Array.isArray(d)){var p=yt(i);d=st(0,p,d),(d=it(0,Math.floor(p/d)*d,d)).shift()}return Mu().thresholds(d).size([c,f])(i).map(h)}function h(t){return t.value*=Math.pow(2,-2*u),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(v)}function v(t){t[0]=t[0]*Math.pow(2,u)-a,t[1]=t[1]*Math.pow(2,u)-a}function y(){return c=r+2*(a=3*o)>>u,f=i+2*a>>u,l}return l.x=function(n){return arguments.length?(t="function"==typeof n?n:gu(+n),l):t},l.y=function(t){return arguments.length?(n="function"==typeof t?t:gu(+t),l):n},l.weight=function(t){return arguments.length?(e="function"==typeof t?t:gu(+t),l):e},l.size=function(t){if(!arguments.length)return[r,i];var n=Math.ceil(t[0]),e=Math.ceil(t[1]);if(!(n>=0||n>=0))throw new Error("invalid size");return r=n,i=e,y()},l.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return u=Math.floor(Math.log(t)/Math.LN2),y()},l.thresholds=function(t){return arguments.length?(s="function"==typeof t?t:Array.isArray(t)?gu(vu.call(t)):gu(t),l):s},l.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),y()},l},Nu=function(t){return function(){return t}};function Ou(t,n,e,r,i,o,u,a,c,f){this.target=t,this.type=n,this.subject=e,this.identifier=r,this.active=i,this.x=o,this.y=u,this.dx=a,this.dy=c,this._=f}function ju(){return!Hn.ctrlKey&&!Hn.button}function Ru(){return this.parentNode}function zu(t){return null==t?{x:Hn.x,y:Hn.y}:t}function Pu(){return navigator.maxTouchPoints||"ontouchstart"in this}Ou.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Iu=function(){var t,n,e,r,i=ju,o=Ru,u=zu,a=Pu,c={},f=$t("start","drag","end"),s=0,l=0;function h(t){t.on("mousedown.drag",d).filter(a).on("touchstart.drag",y).on("touchmove.drag",g).on("touchend.drag touchcancel.drag",_).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var u=b("mouse",o.apply(this,arguments),pr,this,arguments);u&&(oe(Hn.view).on("mousemove.drag",p,!0).on("mouseup.drag",v,!0),ce(Hn.view),ue(),e=!1,t=Hn.clientX,n=Hn.clientY,u("start"))}}function p(){if(ae(),!e){var r=Hn.clientX-t,i=Hn.clientY-n;e=r*r+i*i>l}c.mouse("drag")}function v(){oe(Hn.view).on("mousemove.drag mouseup.drag",null),fe(Hn.view,e),ae(),c.mouse("end")}function y(){if(i.apply(this,arguments)){var t,n,e=Hn.changedTouches,r=o.apply(this,arguments),u=e.length;for(t=0;t9999?"+"+Bu(n,6):Bu(n,4))+"-"+Bu(t.getUTCMonth()+1,2)+"-"+Bu(t.getUTCDate(),2)+(o?"T"+Bu(e,2)+":"+Bu(r,2)+":"+Bu(i,2)+"."+Bu(o,3)+"Z":i?"T"+Bu(e,2)+":"+Bu(r,2)+":"+Bu(i,2)+"Z":r||e?"T"+Bu(e,2)+":"+Bu(r,2)+"Z":"")}var Vu=function(t){var n=new RegExp('["'+t+"\n\r]"),e=t.charCodeAt(0);function r(t,n){var r,i=[],o=t.length,u=0,a=0,c=o<=0,f=!1;function s(){if(c)return Du;if(f)return f=!1,Lu;var n,r,i=u;if(34===t.charCodeAt(i)){for(;u++=o?c=!0:10===(r=t.charCodeAt(u++))?f=!0:13===r&&(f=!0,10===t.charCodeAt(u)&&++u),t.slice(i+1,n-1).replace(/""/g,'"')}for(;u=(o=(v+g)/2))?v=o:g=o,(s=e>=(u=(y+_)/2))?y=u:_=u,i=d,!(d=d[l=s<<1|f]))return i[l]=p,t;if(a=+t._x.call(null,d.data),c=+t._y.call(null,d.data),n===a&&e===c)return p.next=d,i?i[l]=p:t._root=p,t;do{i=i?i[l]=new Array(4):t._root=new Array(4),(f=n>=(o=(v+g)/2))?v=o:g=o,(s=e>=(u=(y+_)/2))?y=u:_=u}while((l=s<<1|f)==(h=(c>=u)<<1|a>=o));return i[h]=d,i[l]=p,t}var ic=function(t,n,e,r,i){this.node=t,this.x0=n,this.y0=e,this.x1=r,this.y1=i};function oc(t){return t[0]}function uc(t){return t[1]}function ac(t,n,e){var r=new cc(null==n?oc:n,null==e?uc:e,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function cc(t,n,e,r,i,o){this._x=t,this._y=n,this._x0=e,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function fc(t){for(var n={data:t.data},e=n;t=t.next;)e=e.next={data:t.data};return n}var sc=ac.prototype=cc.prototype;function lc(t){return t.x+t.vx}function hc(t){return t.y+t.vy}sc.copy=function(){var t,n,e=new cc(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return e;if(!r.length)return e._root=fc(r),e;for(t=[{source:r,target:e._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(n=r.source[i])&&(n.length?t.push({source:n,target:r.target[i]=new Array(4)}):r.target[i]=fc(n));return e},sc.add=function(t){var n=+this._x.call(null,t),e=+this._y.call(null,t);return rc(this.cover(n,e),n,e,t)},sc.addAll=function(t){var n,e,r,i,o=t.length,u=new Array(o),a=new Array(o),c=1/0,f=1/0,s=-1/0,l=-1/0;for(e=0;es&&(s=r),il&&(l=i));if(c>s||f>l)return this;for(this.cover(c,f).cover(s,l),e=0;et||t>=i||r>n||n>=o;)switch(a=(nh||(o=c.y0)>d||(u=c.x1)=g)<<1|t>=y)&&(c=p[p.length-1],p[p.length-1]=p[p.length-1-f],p[p.length-1-f]=c)}else{var _=t-+this._x.call(null,v.data),b=n-+this._y.call(null,v.data),m=_*_+b*b;if(m=(a=(p+y)/2))?p=a:y=a,(s=u>=(c=(v+g)/2))?v=c:g=c,n=d,!(d=d[l=s<<1|f]))return this;if(!d.length)break;(n[l+1&3]||n[l+2&3]||n[l+3&3])&&(e=n,h=l)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):n?(i?n[l]=i:delete n[l],(d=n[0]||n[1]||n[2]||n[3])&&d===(n[3]||n[2]||n[1]||n[0])&&!d.length&&(e?e[h]=d:this._root=d),this):(this._root=i,this)},sc.removeAll=function(t){for(var n=0,e=t.length;nc+d||if+d||oa.index){var p=c-u.x-u.vx,v=f-u.y-u.vy,y=p*p+v*v;yt.r&&(t.r=t[n].r)}function a(){if(n){var r,i,o=n.length;for(e=new Array(o),r=0;r1?(null==e?a.remove(t):a.set(t,d(e)),n):a.get(t)},find:function(n,e,r){var i,o,u,a,c,f=0,s=t.length;for(null==r?r=1/0:r*=r,f=0;f1?(f.on(t,e),n):f.on(t)}}},xc=function(){var t,n,e,r,i=nc(-30),o=1,u=1/0,a=.81;function c(r){var i,o=t.length,u=ac(t,gc,_c).visitAfter(s);for(e=r,i=0;i=u)){(t.data!==n||t.next)&&(0===s&&(d+=(s=ec())*s),0===l&&(d+=(l=ec())*l),d1?r[0]+r.slice(2):r,+t.slice(e+1)]}var kc=function(t){return(t=Sc(Math.abs(t)))?t[1]:NaN},Ec=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Cc(t){if(!(n=Ec.exec(t)))throw new Error("invalid format: "+t);var n;return new Tc({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function Tc(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Cc.prototype=Tc.prototype,Tc.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Nc,Oc,jc,Rc,zc=function(t,n){var e=Sc(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Pc={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return zc(100*t,n)},r:zc,s:function(t,n){var e=Sc(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Nc=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,u=r.length;return o===u?r:o>u?r+new Array(o-u+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Sc(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Ic=function(t){return t},Lc=Array.prototype.map,Dc=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Fc=function(t){var n,e,r=void 0===t.grouping||void 0===t.thousands?Ic:(n=Lc.call(t.grouping,Number),e=t.thousands+"",function(t,r){for(var i=t.length,o=[],u=0,a=n[0],c=0;i>0&&a>0&&(c+a+1>r&&(a=Math.max(1,r-c)),o.push(t.substring(i-=a,i+a)),!((c+=a+1)>r));)a=n[u=(u+1)%n.length];return o.reverse().join(e)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",u=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?Ic:function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}}(Lc.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",f=void 0===t.minus?"-":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function l(t){var n=(t=Cc(t)).fill,e=t.align,l=t.sign,h=t.symbol,d=t.zero,p=t.width,v=t.comma,y=t.precision,g=t.trim,_=t.type;"n"===_?(v=!0,_="g"):Pc[_]||(void 0===y&&(y=12),g=!0,_="g"),(d||"0"===n&&"="===e)&&(d=!0,n="0",e="=");var b="$"===h?i:"#"===h&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",m="$"===h?o:/[%p]/.test(_)?c:"",x=Pc[_],w=/[defgprs%]/.test(_);function M(t){var i,o,c,h=b,M=m;if("c"===_)M=x(t)+M,t="";else{var A=(t=+t)<0||1/t<0;if(t=isNaN(t)?s:x(Math.abs(t),y),g&&(t=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(n+1):t}(t)),A&&0==+t&&"+"!==l&&(A=!1),h=(A?"("===l?l:f:"-"===l||"("===l?"":l)+h,M=("s"===_?Dc[8+Nc/3]:"")+M+(A&&"("===l?")":""),w)for(i=-1,o=t.length;++i(c=t.charCodeAt(i))||c>57){M=(46===c?u+t.slice(i+1):t.slice(i))+M,t=t.slice(0,i);break}}v&&!d&&(t=r(t,1/0));var S=h.length+t.length+M.length,k=S>1)+h+t+M+k.slice(S);break;default:t=k+h+t+M}return a(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}return{format:l,formatPrefix:function(t,n){var e=l(((t=Cc(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(kc(n)/3))),i=Math.pow(10,-r),o=Dc[8+r/3];return function(t){return e(i*t)+o}}}};function Uc(t){return Oc=Fc(t),jc=Oc.format,Rc=Oc.formatPrefix,Oc}Uc({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var Bc=function(t){return Math.max(0,-kc(Math.abs(t)))},qc=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(kc(n)/3)))-kc(Math.abs(t)))},Vc=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,kc(n)-kc(t))+1},Yc=function(){return new Hc};function Hc(){this.reset()}Hc.prototype={constructor:Hc,reset:function(){this.s=this.t=0},add:function(t){Wc($c,t,this.t),Wc(this,$c.s,this.s),this.s?this.t+=$c.t:this.s=$c.t},valueOf:function(){return this.s}};var $c=new Hc;function Wc(t,n,e){var r=t.s=n+e,i=r-n,o=r-i;t.t=n-o+(e-i)}var Gc=Math.PI,Xc=Gc/2,Zc=Gc/4,Kc=2*Gc,Qc=180/Gc,Jc=Gc/180,tf=Math.abs,nf=Math.atan,ef=Math.atan2,rf=Math.cos,of=Math.ceil,uf=Math.exp,af=(Math.floor,Math.log),cf=Math.pow,ff=Math.sin,sf=Math.sign||function(t){return t>0?1:t<0?-1:0},lf=Math.sqrt,hf=Math.tan;function df(t){return t>1?0:t<-1?Gc:Math.acos(t)}function pf(t){return t>1?Xc:t<-1?-Xc:Math.asin(t)}function vf(t){return(t=ff(t/2))*t}function yf(){}function gf(t,n){t&&bf.hasOwnProperty(t.type)&&bf[t.type](t,n)}var _f={Feature:function(t,n){gf(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r=0?1:-1,i=r*e,o=rf(n=(n*=Jc)/2+Zc),u=ff(n),a=kf*u,c=Sf*o+a*rf(i),f=a*r*ff(i);Cf.add(ef(f,c)),Af=t,Sf=o,kf=u}var Pf=function(t){return Tf.reset(),Ef(t,Nf),2*Tf};function If(t){return[ef(t[1],t[0]),pf(t[2])]}function Lf(t){var n=t[0],e=t[1],r=rf(e);return[r*rf(n),r*ff(n),ff(e)]}function Df(t,n){return t[0]*n[0]+t[1]*n[1]+t[2]*n[2]}function Ff(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 Uf(t,n){t[0]+=n[0],t[1]+=n[1],t[2]+=n[2]}function Bf(t,n){return[t[0]*n,t[1]*n,t[2]*n]}function qf(t){var n=lf(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=n,t[1]/=n,t[2]/=n}var Vf,Yf,Hf,$f,Wf,Gf,Xf,Zf,Kf,Qf,Jf=Yc(),ts={point:ns,lineStart:rs,lineEnd:is,polygonStart:function(){ts.point=os,ts.lineStart=us,ts.lineEnd=as,Jf.reset(),Nf.polygonStart()},polygonEnd:function(){Nf.polygonEnd(),ts.point=ns,ts.lineStart=rs,ts.lineEnd=is,Cf<0?(Vf=-(Hf=180),Yf=-($f=90)):Jf>1e-6?$f=90:Jf<-1e-6&&(Yf=-90),Qf[0]=Vf,Qf[1]=Hf},sphere:function(){Vf=-(Hf=180),Yf=-($f=90)}};function ns(t,n){Kf.push(Qf=[Vf=t,Hf=t]),n$f&&($f=n)}function es(t,n){var e=Lf([t*Jc,n*Jc]);if(Zf){var r=Ff(Zf,e),i=Ff([r[1],-r[0],0],r);qf(i),i=If(i);var o,u=t-Wf,a=u>0?1:-1,c=i[0]*Qc*a,f=tf(u)>180;f^(a*Wf$f&&($f=o):f^(a*Wf<(c=(c+360)%360-180)&&c$f&&($f=n)),f?tcs(Vf,Hf)&&(Hf=t):cs(t,Hf)>cs(Vf,Hf)&&(Vf=t):Hf>=Vf?(tHf&&(Hf=t)):t>Wf?cs(Vf,t)>cs(Vf,Hf)&&(Hf=t):cs(t,Hf)>cs(Vf,Hf)&&(Vf=t)}else Kf.push(Qf=[Vf=t,Hf=t]);n$f&&($f=n),Zf=e,Wf=t}function rs(){ts.point=es}function is(){Qf[0]=Vf,Qf[1]=Hf,ts.point=ns,Zf=null}function os(t,n){if(Zf){var e=t-Wf;Jf.add(tf(e)>180?e+(e>0?360:-360):e)}else Gf=t,Xf=n;Nf.point(t,n),es(t,n)}function us(){Nf.lineStart()}function as(){os(Gf,Xf),Nf.lineEnd(),tf(Jf)>1e-6&&(Vf=-(Hf=180)),Qf[0]=Vf,Qf[1]=Hf,Zf=null}function cs(t,n){return(n-=t)<0?n+360:n}function fs(t,n){return t[0]-n[0]}function ss(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:ncs(r[0],r[1])&&(r[1]=i[1]),cs(i[0],r[1])>cs(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(u=-1/0,n=0,r=o[e=o.length-1];n<=e;r=i,++n)i=o[n],(a=cs(r[1],i[0]))>u&&(u=a,Vf=i[0],Hf=r[1])}return Kf=Qf=null,Vf===1/0||Yf===1/0?[[NaN,NaN],[NaN,NaN]]:[[Vf,Yf],[Hf,$f]]},Cs={sphere:yf,point:Ts,lineStart:Os,lineEnd:zs,polygonStart:function(){Cs.lineStart=Ps,Cs.lineEnd=Is},polygonEnd:function(){Cs.lineStart=Os,Cs.lineEnd=zs}};function Ts(t,n){t*=Jc;var e=rf(n*=Jc);Ns(e*rf(t),e*ff(t),ff(n))}function Ns(t,n,e){++ls,ds+=(t-ds)/ls,ps+=(n-ps)/ls,vs+=(e-vs)/ls}function Os(){Cs.point=js}function js(t,n){t*=Jc;var e=rf(n*=Jc);As=e*rf(t),Ss=e*ff(t),ks=ff(n),Cs.point=Rs,Ns(As,Ss,ks)}function Rs(t,n){t*=Jc;var e=rf(n*=Jc),r=e*rf(t),i=e*ff(t),o=ff(n),u=ef(lf((u=Ss*o-ks*i)*u+(u=ks*r-As*o)*u+(u=As*i-Ss*r)*u),As*r+Ss*i+ks*o);hs+=u,ys+=u*(As+(As=r)),gs+=u*(Ss+(Ss=i)),_s+=u*(ks+(ks=o)),Ns(As,Ss,ks)}function zs(){Cs.point=Ts}function Ps(){Cs.point=Ls}function Is(){Ds(ws,Ms),Cs.point=Ts}function Ls(t,n){ws=t,Ms=n,t*=Jc,n*=Jc,Cs.point=Ds;var e=rf(n);As=e*rf(t),Ss=e*ff(t),ks=ff(n),Ns(As,Ss,ks)}function Ds(t,n){t*=Jc;var e=rf(n*=Jc),r=e*rf(t),i=e*ff(t),o=ff(n),u=Ss*o-ks*i,a=ks*r-As*o,c=As*i-Ss*r,f=lf(u*u+a*a+c*c),s=pf(f),l=f&&-s/f;bs+=l*u,ms+=l*a,xs+=l*c,hs+=s,ys+=s*(As+(As=r)),gs+=s*(Ss+(Ss=i)),_s+=s*(ks+(ks=o)),Ns(As,Ss,ks)}var Fs=function(t){ls=hs=ds=ps=vs=ys=gs=_s=bs=ms=xs=0,Ef(t,Cs);var n=bs,e=ms,r=xs,i=n*n+e*e+r*r;return i<1e-12&&(n=ys,e=gs,r=_s,hs<1e-6&&(n=ds,e=ps,r=vs),(i=n*n+e*e+r*r)<1e-12)?[NaN,NaN]:[ef(e,n)*Qc,pf(r/lf(i))*Qc]},Us=function(t){return function(){return t}},Bs=function(t,n){function e(e,r){return e=t(e,r),n(e[0],e[1])}return t.invert&&n.invert&&(e.invert=function(e,r){return(e=n.invert(e,r))&&t.invert(e[0],e[1])}),e};function qs(t,n){return[tf(t)>Gc?t+Math.round(-t/Kc)*Kc:t,n]}function Vs(t,n,e){return(t%=Kc)?n||e?Bs(Hs(t),$s(n,e)):Hs(t):n||e?$s(n,e):qs}function Ys(t){return function(n,e){return[(n+=t)>Gc?n-Kc:n<-Gc?n+Kc:n,e]}}function Hs(t){var n=Ys(t);return n.invert=Ys(-t),n}function $s(t,n){var e=rf(t),r=ff(t),i=rf(n),o=ff(n);function u(t,n){var u=rf(n),a=rf(t)*u,c=ff(t)*u,f=ff(n),s=f*e+a*r;return[ef(c*i-s*o,a*e-f*r),pf(s*i+c*o)]}return u.invert=function(t,n){var u=rf(n),a=rf(t)*u,c=ff(t)*u,f=ff(n),s=f*i-c*o;return[ef(c*i+f*o,a*e+s*r),pf(s*e-a*r)]},u}qs.invert=qs;var Ws=function(t){function n(n){return(n=t(n[0]*Jc,n[1]*Jc))[0]*=Qc,n[1]*=Qc,n}return t=Vs(t[0]*Jc,t[1]*Jc,t.length>2?t[2]*Jc:0),n.invert=function(n){return(n=t.invert(n[0]*Jc,n[1]*Jc))[0]*=Qc,n[1]*=Qc,n},n};function Gs(t,n,e,r,i,o){if(e){var u=rf(n),a=ff(n),c=r*e;null==i?(i=n+r*Kc,o=n-c/2):(i=Xs(u,i),o=Xs(u,o),(r>0?io)&&(i+=r*Kc));for(var f,s=i;r>0?s>o:s1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}},Qs=function(t,n){return tf(t[0]-n[0])<1e-6&&tf(t[1]-n[1])<1e-6};function Js(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}var tl=function(t,n,e,r,i){var o,u,a=[],c=[];if(t.forEach((function(t){if(!((n=t.length-1)<=0)){var n,e,r=t[0],u=t[n];if(Qs(r,u)){if(!r[2]&&!u[2]){for(i.lineStart(),o=0;o=0;--o)i.point((s=f[o])[0],s[1]);else r(h.x,h.p.x,-1,i);h=h.p}f=(h=h.o).z,d=!d}while(!h.v);i.lineEnd()}}};function nl(t){if(n=t.length){for(var n,e,r=0,i=t[0];++r=0?1:-1,S=A*M,k=S>Gc,E=v*x;if(el.add(ef(E*A*ff(S),y*w+E*rf(S))),u+=k?M+A*Kc:M,k^d>=e^b>=e){var C=Ff(Lf(h),Lf(_));qf(C);var T=Ff(o,C);qf(T);var N=(k^M>=0?-1:1)*pf(T[2]);(r>N||r===N&&(C[0]||C[1]))&&(a+=k^M>=0?1:-1)}}return(u<-1e-6||u<1e-6&&el<-1e-6)^1&a},ol=function(t,n,e,r){return function(i){var o,u,a,c=n(i),f=Ks(),s=n(f),l=!1,h={point:d,lineStart:v,lineEnd:y,polygonStart:function(){h.point=g,h.lineStart=_,h.lineEnd=b,u=[],o=[]},polygonEnd:function(){h.point=d,h.lineStart=v,h.lineEnd=y,u=bt(u);var t=il(o,r);u.length?(l||(i.polygonStart(),l=!0),tl(u,al,t,e,i)):t&&(l||(i.polygonStart(),l=!0),i.lineStart(),e(null,null,1,i),i.lineEnd()),l&&(i.polygonEnd(),l=!1),u=o=null},sphere:function(){i.polygonStart(),i.lineStart(),e(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(n,e){t(n,e)&&i.point(n,e)}function p(t,n){c.point(t,n)}function v(){h.point=p,c.lineStart()}function y(){h.point=d,c.lineEnd()}function g(t,n){a.push([t,n]),s.point(t,n)}function _(){s.lineStart(),a=[]}function b(){g(a[0][0],a[0][1]),s.lineEnd();var t,n,e,r,c=s.clean(),h=f.result(),d=h.length;if(a.pop(),o.push(a),a=null,d)if(1&c){if((n=(e=h[0]).length-1)>0){for(l||(i.polygonStart(),l=!0),i.lineStart(),t=0;t1&&2&c&&h.push(h.pop().concat(h.shift())),u.push(h.filter(ul))}return h}};function ul(t){return t.length>1}function al(t,n){return((t=t.x)[0]<0?t[1]-Xc-1e-6:Xc-t[1])-((n=n.x)[0]<0?n[1]-Xc-1e-6:Xc-n[1])}var cl=ol((function(){return!0}),(function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(o,u){var a=o>0?Gc:-Gc,c=tf(o-e);tf(c-Gc)<1e-6?(t.point(e,r=(r+u)/2>0?Xc:-Xc),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(o,r),n=0):i!==a&&c>=Gc&&(tf(e-i)<1e-6&&(e-=1e-6*i),tf(o-a)<1e-6&&(o-=1e-6*a),r=function(t,n,e,r){var i,o,u=ff(t-e);return tf(u)>1e-6?nf((ff(n)*(o=rf(r))*ff(e)-ff(r)*(i=rf(n))*ff(t))/(i*o*u)):(n+r)/2}(e,r,o,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=o,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}}),(function(t,n,e,r){var i;if(null==t)i=e*Xc,r.point(-Gc,i),r.point(0,i),r.point(Gc,i),r.point(Gc,0),r.point(Gc,-i),r.point(0,-i),r.point(-Gc,-i),r.point(-Gc,0),r.point(-Gc,i);else if(tf(t[0]-n[0])>1e-6){var o=t[0]0,i=tf(n)>1e-6;function o(t,e){return rf(t)*rf(e)>n}function u(t,e,r){var i=[1,0,0],o=Ff(Lf(t),Lf(e)),u=Df(o,o),a=o[0],c=u-a*a;if(!c)return!r&&t;var f=n*u/c,s=-n*a/c,l=Ff(i,o),h=Bf(i,f);Uf(h,Bf(o,s));var d=l,p=Df(h,d),v=Df(d,d),y=p*p-v*(Df(h,h)-1);if(!(y<0)){var g=lf(y),_=Bf(d,(-p-g)/v);if(Uf(_,h),_=If(_),!r)return _;var b,m=t[0],x=e[0],w=t[1],M=e[1];x0^_[1]<(tf(_[0]-m)<1e-6?w:M):w<=_[1]&&_[1]<=M:A>Gc^(m<=_[0]&&_[0]<=x)){var k=Bf(d,(-p+g)/v);return Uf(k,h),[_,If(k)]}}}function a(n,e){var i=r?t:Gc-t,o=0;return n<-i?o|=1:n>i&&(o|=2),e<-i?o|=4:e>i&&(o|=8),o}return ol(o,(function(t){var n,e,c,f,s;return{lineStart:function(){f=c=!1,s=1},point:function(l,h){var d,p=[l,h],v=o(l,h),y=r?v?0:a(l,h):v?a(l+(l<0?Gc:-Gc),h):0;if(!n&&(f=c=v)&&t.lineStart(),v!==c&&(!(d=u(n,p))||Qs(n,d)||Qs(p,d))&&(p[2]=1),v!==c)s=0,v?(t.lineStart(),d=u(p,n),t.point(d[0],d[1])):(d=u(n,p),t.point(d[0],d[1],2),t.lineEnd()),n=d;else if(i&&n&&r^v){var g;y&e||!(g=u(p,n,!0))||(s=0,r?(t.lineStart(),t.point(g[0][0],g[0][1]),t.point(g[1][0],g[1][1]),t.lineEnd()):(t.point(g[1][0],g[1][1]),t.lineEnd(),t.lineStart(),t.point(g[0][0],g[0][1],3)))}!v||n&&Qs(n,p)||t.point(p[0],p[1]),n=p,c=v,e=y},lineEnd:function(){c&&t.lineEnd(),n=null},clean:function(){return s|(f&&c)<<1}}}),(function(n,r,i,o){Gs(o,t,e,i,n,r)}),r?[0,-t]:[-Gc,t-Gc])};function sl(t,n,e,r){function i(i,o){return t<=i&&i<=e&&n<=o&&o<=r}function o(i,o,a,f){var s=0,l=0;if(null==i||(s=u(i,a))!==(l=u(o,a))||c(i,o)<0^a>0)do{f.point(0===s||3===s?t:e,s>1?r:n)}while((s=(s+a+4)%4)!==l);else f.point(o[0],o[1])}function u(r,i){return tf(r[0]-t)<1e-6?i>0?0:3:tf(r[0]-e)<1e-6?i>0?2:1:tf(r[1]-n)<1e-6?i>0?1:0:i>0?3:2}function a(t,n){return c(t.x,n.x)}function c(t,n){var e=u(t,1),r=u(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(u){var c,f,s,l,h,d,p,v,y,g,_,b=u,m=Ks(),x={point:w,lineStart:function(){x.point=M,f&&f.push(s=[]);g=!0,y=!1,p=v=NaN},lineEnd:function(){c&&(M(l,h),d&&y&&m.rejoin(),c.push(m.result()));x.point=w,y&&b.lineEnd()},polygonStart:function(){b=m,c=[],f=[],_=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,i=f.length;er&&(h-o)*(r-u)>(d-u)*(t-o)&&++n:d<=r&&(h-o)*(r-u)<(d-u)*(t-o)&&--n;return n}(),e=_&&n,i=(c=bt(c)).length;(e||i)&&(u.polygonStart(),e&&(u.lineStart(),o(null,null,1,u),u.lineEnd()),i&&tl(c,a,n,o,u),u.polygonEnd());b=u,c=f=s=null}};function w(t,n){i(t,n)&&b.point(t,n)}function M(o,u){var a=i(o,u);if(f&&s.push([o,u]),g)l=o,h=u,d=a,g=!1,a&&(b.lineStart(),b.point(o,u));else if(a&&y)b.point(o,u);else{var c=[p=Math.max(-1e9,Math.min(1e9,p)),v=Math.max(-1e9,Math.min(1e9,v))],m=[o=Math.max(-1e9,Math.min(1e9,o)),u=Math.max(-1e9,Math.min(1e9,u))];!function(t,n,e,r,i,o){var u,a=t[0],c=t[1],f=0,s=1,l=n[0]-a,h=n[1]-c;if(u=e-a,l||!(u>0)){if(u/=l,l<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=i-a,l||!(u<0)){if(u/=l,l<0){if(u>s)return;u>f&&(f=u)}else if(l>0){if(u0)){if(u/=h,h<0){if(u0){if(u>s)return;u>f&&(f=u)}if(u=o-c,h||!(u<0)){if(u/=h,h<0){if(u>s)return;u>f&&(f=u)}else if(h>0){if(u0&&(t[0]=a+f*l,t[1]=c+f*h),s<1&&(n[0]=a+s*l,n[1]=c+s*h),!0}}}}}(c,m,t,n,e,r)?a&&(b.lineStart(),b.point(o,u),_=!1):(y||(b.lineStart(),b.point(c[0],c[1])),b.point(m[0],m[1]),a||b.lineEnd(),_=!1)}p=o,v=u,y=a}return x}}var ll,hl,dl,pl=function(){var t,n,e,r=0,i=0,o=960,u=500;return e={stream:function(e){return t&&n===e?t:t=sl(r,i,o,u)(n=e)},extent:function(a){return arguments.length?(r=+a[0][0],i=+a[0][1],o=+a[1][0],u=+a[1][1],t=n=null,e):[[r,i],[o,u]]}}},vl=Yc(),yl={sphere:yf,point:yf,lineStart:function(){yl.point=_l,yl.lineEnd=gl},lineEnd:yf,polygonStart:yf,polygonEnd:yf};function gl(){yl.point=yl.lineEnd=yf}function _l(t,n){ll=t*=Jc,hl=ff(n*=Jc),dl=rf(n),yl.point=bl}function bl(t,n){t*=Jc;var e=ff(n*=Jc),r=rf(n),i=tf(t-ll),o=rf(i),u=r*ff(i),a=dl*e-hl*r*o,c=hl*e+dl*r*o;vl.add(ef(lf(u*u+a*a),c)),ll=t,hl=e,dl=r}var ml=function(t){return vl.reset(),Ef(t,yl),+vl},xl=[null,null],wl={type:"LineString",coordinates:xl},Ml=function(t,n){return xl[0]=t,xl[1]=n,ml(wl)},Al={Feature:function(t,n){return kl(t.geometry,n)},FeatureCollection:function(t,n){for(var e=t.features,r=-1,i=e.length;++r0&&(i=Ml(t[o],t[o-1]))>0&&e<=i&&r<=i&&(e+r-i)*(1-Math.pow((e-r)/i,2))<1e-12*i)return!0;e=r}return!1}function Tl(t,n){return!!il(t.map(Nl),Ol(n))}function Nl(t){return(t=t.map(Ol)).pop(),t}function Ol(t){return[t[0]*Jc,t[1]*Jc]}var jl=function(t,n){return(t&&Al.hasOwnProperty(t.type)?Al[t.type]:kl)(t,n)};function Rl(t,n,e){var r=it(t,n-1e-6,e).concat(n);return function(t){return r.map((function(n){return[t,n]}))}}function zl(t,n,e){var r=it(t,n-1e-6,e).concat(n);return function(t){return r.map((function(n){return[n,t]}))}}function Pl(){var t,n,e,r,i,o,u,a,c,f,s,l,h=10,d=h,p=90,v=360,y=2.5;function g(){return{type:"MultiLineString",coordinates:_()}}function _(){return it(of(r/p)*p,e,p).map(s).concat(it(of(a/v)*v,u,v).map(l)).concat(it(of(n/h)*h,t,h).filter((function(t){return tf(t%p)>1e-6})).map(c)).concat(it(of(o/d)*d,i,d).filter((function(t){return tf(t%v)>1e-6})).map(f))}return g.lines=function(){return _().map((function(t){return{type:"LineString",coordinates:t}}))},g.outline=function(){return{type:"Polygon",coordinates:[s(r).concat(l(u).slice(1),s(e).reverse().slice(1),l(a).reverse().slice(1))]}},g.extent=function(t){return arguments.length?g.extentMajor(t).extentMinor(t):g.extentMinor()},g.extentMajor=function(t){return arguments.length?(r=+t[0][0],e=+t[1][0],a=+t[0][1],u=+t[1][1],r>e&&(t=r,r=e,e=t),a>u&&(t=a,a=u,u=t),g.precision(y)):[[r,a],[e,u]]},g.extentMinor=function(e){return arguments.length?(n=+e[0][0],t=+e[1][0],o=+e[0][1],i=+e[1][1],n>t&&(e=n,n=t,t=e),o>i&&(e=o,o=i,i=e),g.precision(y)):[[n,o],[t,i]]},g.step=function(t){return arguments.length?g.stepMajor(t).stepMinor(t):g.stepMinor()},g.stepMajor=function(t){return arguments.length?(p=+t[0],v=+t[1],g):[p,v]},g.stepMinor=function(t){return arguments.length?(h=+t[0],d=+t[1],g):[h,d]},g.precision=function(h){return arguments.length?(y=+h,c=Rl(o,i,90),f=zl(n,t,y),s=Rl(a,u,90),l=zl(r,e,y),g):y},g.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Il(){return Pl()()}var Ll,Dl,Fl,Ul,Bl=function(t,n){var e=t[0]*Jc,r=t[1]*Jc,i=n[0]*Jc,o=n[1]*Jc,u=rf(r),a=ff(r),c=rf(o),f=ff(o),s=u*rf(e),l=u*ff(e),h=c*rf(i),d=c*ff(i),p=2*pf(lf(vf(o-r)+u*c*vf(i-e))),v=ff(p),y=p?function(t){var n=ff(t*=p)/v,e=ff(p-t)/v,r=e*s+n*h,i=e*l+n*d,o=e*a+n*f;return[ef(i,r)*Qc,ef(o,lf(r*r+i*i))*Qc]}:function(){return[e*Qc,r*Qc]};return y.distance=p,y},ql=function(t){return t},Vl=Yc(),Yl=Yc(),Hl={point:yf,lineStart:yf,lineEnd:yf,polygonStart:function(){Hl.lineStart=$l,Hl.lineEnd=Xl},polygonEnd:function(){Hl.lineStart=Hl.lineEnd=Hl.point=yf,Vl.add(tf(Yl)),Yl.reset()},result:function(){var t=Vl/2;return Vl.reset(),t}};function $l(){Hl.point=Wl}function Wl(t,n){Hl.point=Gl,Ll=Fl=t,Dl=Ul=n}function Gl(t,n){Yl.add(Ul*t-Fl*n),Fl=t,Ul=n}function Xl(){Gl(Ll,Dl)}var Zl=Hl,Kl=1/0,Ql=Kl,Jl=-Kl,th=Jl;var nh,eh,rh,ih,oh={point:function(t,n){tJl&&(Jl=t);nth&&(th=n)},lineStart:yf,lineEnd:yf,polygonStart:yf,polygonEnd:yf,result:function(){var t=[[Kl,Ql],[Jl,th]];return Jl=th=-(Ql=Kl=1/0),t}},uh=0,ah=0,ch=0,fh=0,sh=0,lh=0,hh=0,dh=0,ph=0,vh={point:yh,lineStart:gh,lineEnd:mh,polygonStart:function(){vh.lineStart=xh,vh.lineEnd=wh},polygonEnd:function(){vh.point=yh,vh.lineStart=gh,vh.lineEnd=mh},result:function(){var t=ph?[hh/ph,dh/ph]:lh?[fh/lh,sh/lh]:ch?[uh/ch,ah/ch]:[NaN,NaN];return uh=ah=ch=fh=sh=lh=hh=dh=ph=0,t}};function yh(t,n){uh+=t,ah+=n,++ch}function gh(){vh.point=_h}function _h(t,n){vh.point=bh,yh(rh=t,ih=n)}function bh(t,n){var e=t-rh,r=n-ih,i=lf(e*e+r*r);fh+=i*(rh+t)/2,sh+=i*(ih+n)/2,lh+=i,yh(rh=t,ih=n)}function mh(){vh.point=yh}function xh(){vh.point=Mh}function wh(){Ah(nh,eh)}function Mh(t,n){vh.point=Ah,yh(nh=rh=t,eh=ih=n)}function Ah(t,n){var e=t-rh,r=n-ih,i=lf(e*e+r*r);fh+=i*(rh+t)/2,sh+=i*(ih+n)/2,lh+=i,hh+=(i=ih*t-rh*n)*(rh+t),dh+=i*(ih+n),ph+=3*i,yh(rh=t,ih=n)}var Sh=vh;function kh(t){this._context=t}kh.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,Kc)}},result:yf};var Eh,Ch,Th,Nh,Oh,jh=Yc(),Rh={point:yf,lineStart:function(){Rh.point=zh},lineEnd:function(){Eh&&Ph(Ch,Th),Rh.point=yf},polygonStart:function(){Eh=!0},polygonEnd:function(){Eh=null},result:function(){var t=+jh;return jh.reset(),t}};function zh(t,n){Rh.point=Ph,Ch=Nh=t,Th=Oh=n}function Ph(t,n){Nh-=t,Oh-=n,jh.add(lf(Nh*Nh+Oh*Oh)),Nh=t,Oh=n}var Ih=Rh;function Lh(){this._string=[]}function Dh(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Lh.prototype={_radius:4.5,_circle:Dh(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=Dh(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Fh=function(t,n){var e,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),Ef(t,e(r))),r.result()}return o.area=function(t){return Ef(t,e(Zl)),Zl.result()},o.measure=function(t){return Ef(t,e(Ih)),Ih.result()},o.bounds=function(t){return Ef(t,e(oh)),oh.result()},o.centroid=function(t){return Ef(t,e(Sh)),Sh.result()},o.projection=function(n){return arguments.length?(e=null==n?(t=null,ql):(t=n).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(n=null,new Lh):new kh(n=t),"function"!=typeof i&&r.pointRadius(i),o):n},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(n)},Uh=function(t){return{stream:Bh(t)}};function Bh(t){return function(n){var e=new qh;for(var r in t)e[r]=t[r];return e.stream=n,e}}function qh(){}function Vh(t,n,e){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),Ef(e,t.stream(oh)),n(oh.result()),null!=r&&t.clipExtent(r),t}function Yh(t,n,e){return Vh(t,(function(e){var r=n[1][0]-n[0][0],i=n[1][1]-n[0][1],o=Math.min(r/(e[1][0]-e[0][0]),i/(e[1][1]-e[0][1])),u=+n[0][0]+(r-o*(e[1][0]+e[0][0]))/2,a=+n[0][1]+(i-o*(e[1][1]+e[0][1]))/2;t.scale(150*o).translate([u,a])}),e)}function Hh(t,n,e){return Yh(t,[[0,0],n],e)}function $h(t,n,e){return Vh(t,(function(e){var r=+n,i=r/(e[1][0]-e[0][0]),o=(r-i*(e[1][0]+e[0][0]))/2,u=-i*e[0][1];t.scale(150*i).translate([o,u])}),e)}function Wh(t,n,e){return Vh(t,(function(e){var r=+n,i=r/(e[1][1]-e[0][1]),o=-i*e[0][0],u=(r-i*(e[1][1]+e[0][1]))/2;t.scale(150*i).translate([o,u])}),e)}qh.prototype={constructor:qh,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var Gh=rf(30*Jc),Xh=function(t,n){return+n?function(t,n){function e(r,i,o,u,a,c,f,s,l,h,d,p,v,y){var g=f-r,_=s-i,b=g*g+_*_;if(b>4*n&&v--){var m=u+h,x=a+d,w=c+p,M=lf(m*m+x*x+w*w),A=pf(w/=M),S=tf(tf(w)-1)<1e-6||tf(o-l)<1e-6?(o+l)/2:ef(x,m),k=t(S,A),E=k[0],C=k[1],T=E-r,N=C-i,O=_*T-g*N;(O*O/b>n||tf((g*T+_*N)/b-.5)>.3||u*h+a*d+c*p2?t[2]%360*Jc:0,T()):[y*Qc,g*Qc,_*Qc]},E.angle=function(t){return arguments.length?(b=t%360*Jc,T()):b*Qc},E.reflectX=function(t){return arguments.length?(m=t?-1:1,T()):m<0},E.reflectY=function(t){return arguments.length?(x=t?-1:1,T()):x<0},E.precision=function(t){return arguments.length?(u=Xh(a,k=t*t),N()):lf(k)},E.fitExtent=function(t,n){return Yh(E,t,n)},E.fitSize=function(t,n){return Hh(E,t,n)},E.fitWidth=function(t,n){return $h(E,t,n)},E.fitHeight=function(t,n){return Wh(E,t,n)},function(){return n=t.apply(this,arguments),E.invert=n.invert&&C,T()}}function nd(t){var n=0,e=Gc/3,r=td(t),i=r(n,e);return i.parallels=function(t){return arguments.length?r(n=t[0]*Jc,e=t[1]*Jc):[n*Qc,e*Qc]},i}function ed(t,n){var e=ff(t),r=(e+ff(n))/2;if(tf(r)<1e-6)return function(t){var n=rf(t);function e(t,e){return[t*n,ff(e)/n]}return e.invert=function(t,e){return[t/n,pf(e*n)]},e}(t);var i=1+e*(2*r-e),o=lf(i)/r;function u(t,n){var e=lf(i-2*r*ff(n))/r;return[e*ff(t*=r),o-e*rf(t)]}return u.invert=function(t,n){var e=o-n,u=ef(t,tf(e))*sf(e);return e*r<0&&(u-=Gc*sf(t)*sf(e)),[u/r,pf((i-(t*t+e*e)*r*r)/(2*r))]},u}var rd=function(){return nd(ed).scale(155.424).center([0,33.6442])},id=function(){return rd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])};var od=function(){var t,n,e,r,i,o,u=id(),a=rd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=rd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),f={point:function(t,n){o=[t,n]}};function s(t){var n=t[0],u=t[1];return o=null,e.point(n,u),o||(r.point(n,u),o)||(i.point(n,u),o)}function l(){return t=n=null,s}return s.invert=function(t){var n=u.scale(),e=u.translate(),r=(t[0]-e[0])/n,i=(t[1]-e[1])/n;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?a:i>=.166&&i<.234&&r>=-.214&&r<-.115?c:u).invert(t)},s.stream=function(e){return t&&n===e?t:(r=[u.stream(n=e),a.stream(e),c.stream(e)],i=r.length,t={point:function(t,n){for(var e=-1;++e0?n<1e-6-Xc&&(n=1e-6-Xc):n>Xc-1e-6&&(n=Xc-1e-6);var e=i/cf(vd(n),r);return[e*ff(r*t),i-e*rf(r*t)]}return o.invert=function(t,n){var e=i-n,o=sf(r)*lf(t*t+e*e),u=ef(t,tf(e))*sf(e);return e*r<0&&(u-=Gc*sf(t)*sf(e)),[u/r,2*nf(cf(i/o,1/r))-Xc]},o}var gd=function(){return nd(yd).scale(109.5).parallels([30,30])};function _d(t,n){return[t,n]}_d.invert=_d;var bd=function(){return Jh(_d).scale(152.63)};function md(t,n){var e=rf(t),r=t===n?ff(t):(e-rf(n))/(n-t),i=e/r+t;if(tf(r)<1e-6)return _d;function o(t,n){var e=i-n,o=r*t;return[e*ff(o),i-e*rf(o)]}return o.invert=function(t,n){var e=i-n,o=ef(t,tf(e))*sf(e);return e*r<0&&(o-=Gc*sf(t)*sf(e)),[o/r,i-sf(r)*lf(t*t+e*e)]},o}var xd=function(){return nd(md).scale(131.154).center([0,13.9389])},wd=1.340264,Md=-.081106,Ad=893e-6,Sd=.003796,kd=lf(3)/2;function Ed(t,n){var e=pf(kd*ff(n)),r=e*e,i=r*r*r;return[t*rf(e)/(kd*(wd+3*Md*r+i*(7*Ad+9*Sd*r))),e*(wd+Md*r+i*(Ad+Sd*r))]}Ed.invert=function(t,n){for(var e,r=n,i=r*r,o=i*i*i,u=0;u<12&&(o=(i=(r-=e=(r*(wd+Md*i+o*(Ad+Sd*i))-n)/(wd+3*Md*i+o*(7*Ad+9*Sd*i)))*r)*i*i,!(tf(e)<1e-12));++u);return[kd*t*(wd+3*Md*i+o*(7*Ad+9*Sd*i))/rf(r),pf(ff(r)/kd)]};var Cd=function(){return Jh(Ed).scale(177.158)};function Td(t,n){var e=rf(n),r=rf(t)*e;return[e*ff(t)/r,ff(n)/r]}Td.invert=ad(nf);var Nd=function(){return Jh(Td).scale(144.049).clipAngle(60)},Od=function(){var t,n,e,r,i,o,u,a=1,c=0,f=0,s=1,l=1,h=0,d=null,p=1,v=1,y=Bh({point:function(t,n){var e=b([t,n]);this.stream.point(e[0],e[1])}}),g=ql;function _(){return p=a*s,v=a*l,o=u=null,b}function b(e){var r=e[0]*p,i=e[1]*v;if(h){var o=i*t-r*n;r=r*t+i*n,i=o}return[r+c,i+f]}return b.invert=function(e){var r=e[0]-c,i=e[1]-f;if(h){var o=i*t+r*n;r=r*t-i*n,i=o}return[r/p,i/v]},b.stream=function(t){return o&&u===t?o:o=y(g(u=t))},b.postclip=function(t){return arguments.length?(g=t,d=e=r=i=null,_()):g},b.clipExtent=function(t){return arguments.length?(g=null==t?(d=e=r=i=null,ql):sl(d=+t[0][0],e=+t[0][1],r=+t[1][0],i=+t[1][1]),_()):null==d?null:[[d,e],[r,i]]},b.scale=function(t){return arguments.length?(a=+t,_()):a},b.translate=function(t){return arguments.length?(c=+t[0],f=+t[1],_()):[c,f]},b.angle=function(e){return arguments.length?(n=ff(h=e%360*Jc),t=rf(h),_()):h*Qc},b.reflectX=function(t){return arguments.length?(s=t?-1:1,_()):s<0},b.reflectY=function(t){return arguments.length?(l=t?-1:1,_()):l<0},b.fitExtent=function(t,n){return Yh(b,t,n)},b.fitSize=function(t,n){return Hh(b,t,n)},b.fitWidth=function(t,n){return $h(b,t,n)},b.fitHeight=function(t,n){return Wh(b,t,n)},b};function jd(t,n){var e=n*n,r=e*e;return[t*(.8707-.131979*e+r*(r*(.003971*e-.001529*r)-.013791)),n*(1.007226+e*(.015085+r*(.028874*e-.044475-.005916*r)))]}jd.invert=function(t,n){var e,r=n,i=25;do{var o=r*r,u=o*o;r-=e=(r*(1.007226+o*(.015085+u*(.028874*o-.044475-.005916*u)))-n)/(1.007226+o*(.045255+u*(.259866*o-.311325-.005916*11*u)))}while(tf(e)>1e-6&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var Rd=function(){return Jh(jd).scale(175.295)};function zd(t,n){return[rf(n)*ff(t),ff(n)]}zd.invert=ad(pf);var Pd=function(){return Jh(zd).scale(249.5).clipAngle(90.000001)};function Id(t,n){var e=rf(n),r=1+rf(t)*e;return[e*ff(t)/r,ff(n)/r]}Id.invert=ad((function(t){return 2*nf(t)}));var Ld=function(){return Jh(Id).scale(250).clipAngle(142)};function Dd(t,n){return[af(hf((Xc+n)/2)),-t]}Dd.invert=function(t,n){return[-n,2*nf(uf(t))-Xc]};var Fd=function(){var t=pd(Dd),n=t.center,e=t.rotate;return t.center=function(t){return arguments.length?n([-t[1],t[0]]):[(t=n())[1],-t[0]]},t.rotate=function(t){return arguments.length?e([t[0],t[1],t.length>2?t[2]+90:90]):[(t=e())[0],t[1],t[2]-90]},e([0,0,90]).scale(159.155)};function Ud(t,n){return t.parent===n.parent?1:2}function Bd(t,n){return t+n.x}function qd(t,n){return Math.max(t,n.y)}var Vd=function(){var t=Ud,n=1,e=1,r=!1;function i(i){var o,u=0;i.eachAfter((function(n){var e=n.children;e?(n.x=function(t){return t.reduce(Bd,0)/t.length}(e),n.y=function(t){return 1+t.reduce(qd,0)}(e)):(n.x=o?u+=t(n,o):0,n.y=0,o=n)}));var a=function(t){for(var n;n=t.children;)t=n[0];return t}(i),c=function(t){for(var n;n=t.children;)t=n[n.length-1];return t}(i),f=a.x-t(a,c)/2,s=c.x+t(c,a)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*n,t.y=(i.y-t.y)*e}:function(t){t.x=(t.x-f)/(s-f)*n,t.y=(1-(i.y?t.y/i.y:1))*e})}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i};function Yd(t){var n=0,e=t.children,r=e&&e.length;if(r)for(;--r>=0;)n+=e[r].value;else n=1;t.value=n}function Hd(t,n){var e,r,i,o,u,a=new Xd(t),c=+t.value&&(a.value=t.value),f=[a];for(null==n&&(n=$d);e=f.pop();)if(c&&(e.value=+e.data.value),(i=n(e.data))&&(u=i.length))for(e.children=new Array(u),o=u-1;o>=0;--o)f.push(r=e.children[o]=new Xd(i[o])),r.parent=e,r.depth=e.depth+1;return a.eachBefore(Gd)}function $d(t){return t.children}function Wd(t){t.data=t.data.data}function Gd(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function Xd(t){this.data=t,this.depth=this.height=0,this.parent=null}Xd.prototype=Hd.prototype={constructor:Xd,count:function(){return this.eachAfter(Yd)},each:function(t){var n,e,r,i,o=this,u=[o];do{for(n=u.reverse(),u=[];o=n.pop();)if(t(o),e=o.children)for(r=0,i=e.length;r=0;--e)i.push(n[e]);return this},sum:function(t){return this.eachAfter((function(n){for(var e=+t(n.data)||0,r=n.children,i=r&&r.length;--i>=0;)e+=r[i].value;n.value=e}))},sort:function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},path:function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();for(;t===n;)i=t,t=e.pop(),n=r.pop();return i}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var i=r.length;t!==e;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n},descendants:function(){var t=[];return this.each((function(n){t.push(n)})),t},leaves:function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},links:function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},copy:function(){return Hd(this).eachBefore(Wd)}};var Zd=Array.prototype.slice;var Kd=function(t){for(var n,e,r=0,i=(t=function(t){for(var n,e,r=t.length;r;)e=Math.random()*r--|0,n=t[r],t[r]=t[e],t[e]=n;return t}(Zd.call(t))).length,o=[];r0&&e*e>r*r+i*i}function np(t,n){for(var e=0;e(u*=u)?(r=(f+u-i)/(2*f),o=Math.sqrt(Math.max(0,u/f-r*r)),e.x=t.x-r*a-o*c,e.y=t.y-r*c+o*a):(r=(f+i-u)/(2*f),o=Math.sqrt(Math.max(0,i/f-r*r)),e.x=n.x+r*a-o*c,e.y=n.y+r*c+o*a)):(e.x=n.x+e.r,e.y=n.y)}function up(t,n){var e=t.r+n.r-1e-6,r=n.x-t.x,i=n.y-t.y;return e>0&&e*e>r*r+i*i}function ap(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 cp(t){this._=t,this.next=null,this.previous=null}function fp(t){if(!(i=t.length))return 0;var n,e,r,i,o,u,a,c,f,s,l;if((n=t[0]).x=0,n.y=0,!(i>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(i>2))return n.r+e.r;op(e,n,r=t[2]),n=new cp(n),e=new cp(e),r=new cp(r),n.next=r.previous=e,e.next=n.previous=r,r.next=e.previous=n;t:for(a=3;a0)throw new Error("cycle");return o}return e.id=function(n){return arguments.length?(t=hp(n),e):t},e.parentId=function(t){return arguments.length?(n=hp(t),e):n},e};function Cp(t,n){return t.parent===n.parent?1:2}function Tp(t){var n=t.children;return n?n[0]:t.t}function Np(t){var n=t.children;return n?n[n.length-1]:t.t}function Op(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 jp(t,n,e){return t.a.parent===n.parent?t.a:e}function Rp(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}Rp.prototype=Object.create(Xd.prototype);var zp=function(){var t=Cp,n=1,e=1,r=null;function i(i){var c=function(t){for(var n,e,r,i,o,u=new Rp(t,0),a=[u];n=a.pop();)if(r=n._.children)for(n.children=new Array(o=r.length),i=o-1;i>=0;--i)a.push(e=n.children[i]=new Rp(r[i],i)),e.parent=n;return(u.parent=new Rp(null,0)).children=[u],u}(i);if(c.eachAfter(o),c.parent.m=-c.z,c.eachBefore(u),r)i.eachBefore(a);else{var f=i,s=i,l=i;i.eachBefore((function(t){t.xs.x&&(s=t),t.depth>l.depth&&(l=t)}));var h=f===s?1:t(f,s)/2,d=h-f.x,p=n/(s.x+h+d),v=e/(l.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*v}))}return i}function o(n){var e=n.children,r=n.parent.children,i=n.i?r[n.i-1]:null;if(e){!function(t){for(var n,e=0,r=0,i=t.children,o=i.length;--o>=0;)(n=i[o]).z+=e,n.m+=e,e+=n.s+(r+=n.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=function(n,e,r){if(e){for(var i,o=n,u=n,a=e,c=o.parent.children[0],f=o.m,s=u.m,l=a.m,h=c.m;a=Np(a),o=Tp(o),a&&o;)c=Tp(c),(u=Np(u)).a=n,(i=a.z+l-o.z-f+t(a._,o._))>0&&(Op(jp(a,n,r),n,i),f+=i,s+=i),l+=a.m,f+=o.m,h+=c.m,s+=u.m;a&&!Np(u)&&(u.t=a,u.m+=l-s),o&&!Tp(c)&&(c.t=o,c.m+=f-h,r=n)}return r}(n,i,n.parent.A||r[0])}function u(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function a(t){t.x*=n,t.y=t.depth*e}return i.separation=function(n){return arguments.length?(t=n,i):t},i.size=function(t){return arguments.length?(r=!1,n=+t[0],e=+t[1],i):r?null:[n,e]},i.nodeSize=function(t){return arguments.length?(r=!0,n=+t[0],e=+t[1],i):r?[n,e]:null},i},Pp=function(t,n,e,r,i){for(var o,u=t.children,a=-1,c=u.length,f=t.value&&(i-e)/t.value;++ah&&(h=a),y=s*s*v,(d=Math.max(h/y,y/l))>p){s-=a;break}p=d}g.push(u={value:s,dice:c1?n:1)},e}(Ip),Fp=function(){var t=Dp,n=!1,e=1,r=1,i=[0],o=dp,u=dp,a=dp,c=dp,f=dp;function s(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(l),i=[0],n&&t.eachBefore(mp),t}function l(n){var e=i[n.depth],r=n.x0+e,s=n.y0+e,l=n.x1-e,h=n.y1-e;l=e-1){var s=a[n];return s.x0=i,s.y0=o,s.x1=u,void(s.y1=c)}var l=f[n],h=r/2+l,d=n+1,p=e-1;for(;d>>1;f[v]c-o){var _=(i*g+u*y)/r;t(n,d,y,i,o,_,c),t(d,e,g,_,o,u,c)}else{var b=(o*g+c*y)/r;t(n,d,y,i,o,u,b),t(d,e,g,i,b,u,c)}}(0,c,t.value,n,e,r,i)},Bp=function(t,n,e,r,i){(1&t.depth?Pp:xp)(t,n,e,r,i)},qp=function t(n){function e(t,e,r,i,o){if((u=t._squarify)&&u.ratio===n)for(var u,a,c,f,s,l=-1,h=u.length,d=t.value;++l1?n:1)},e}(Ip),Vp=function(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}},Yp=function(t,n){var e=He(+t,+n);return function(t){var n=e(t);return n-360*Math.floor(n/360)}},Hp=function(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}},$p=Math.SQRT2;function Wp(t){return((t=Math.exp(t))+1/t)/2}var Gp=function(t,n){var e,r,i=t[0],o=t[1],u=t[2],a=n[0],c=n[1],f=n[2],s=a-i,l=c-o,h=s*s+l*l;if(h<1e-12)r=Math.log(f/u)/$p,e=function(t){return[i+t*s,o+t*l,u*Math.exp($p*t*r)]};else{var d=Math.sqrt(h),p=(f*f-u*u+4*h)/(2*u*2*d),v=(f*f-u*u-4*h)/(2*f*2*d),y=Math.log(Math.sqrt(p*p+1)-p),g=Math.log(Math.sqrt(v*v+1)-v);r=(g-y)/$p,e=function(t){var n,e=t*r,a=Wp(y),c=u/(2*d)*(a*(n=$p*e+y,((n=Math.exp(2*n))-1)/(n+1))-function(t){return((t=Math.exp(t))-1/t)/2}(y));return[i+c*s,o+c*l,u*a/Wp($p*e+y)]}}return e.duration=1e3*r,e};function Xp(t){return function(n,e){var r=t((n=Le(n)).h,(e=Le(e)).h),i=We(n.s,e.s),o=We(n.l,e.l),u=We(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var Zp=Xp(He),Kp=Xp(We);function Qp(t,n){var e=We((t=Ko(t)).l,(n=Ko(n)).l),r=We(t.a,n.a),i=We(t.b,n.b),o=We(t.opacity,n.opacity);return function(n){return t.l=e(n),t.a=r(n),t.b=i(n),t.opacity=o(n),t+""}}function Jp(t){return function(n,e){var r=t((n=ou(n)).h,(e=ou(e)).h),i=We(n.c,e.c),o=We(n.l,e.l),u=We(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=u(t),n+""}}}var tv=Jp(He),nv=Jp(We);function ev(t){return function n(e){function r(n,r){var i=t((n=du(n)).h,(r=du(r)).h),o=We(n.s,r.s),u=We(n.l,r.l),a=We(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=u(Math.pow(t,e)),n.opacity=a(t),n+""}}return e=+e,r.gamma=n,r}(1)}var rv=ev(He),iv=ev(We);function ov(t,n){for(var e=0,r=n.length-1,i=n[0],o=new Array(r<0?0:r);e1&&(n=t[o[u-2]],e=t[o[u-1]],r=t[a],(e[0]-n[0])*(r[1]-n[1])-(e[1]-n[1])*(r[0]-n[0])<=0);)--u;o[u++]=a}return o.slice(0,u)}var lv=function(t){if((e=t.length)<3)return null;var n,e,r=new Array(e),i=new Array(e);for(n=0;n=0;--n)f.push(t[r[o[n]][2]]);for(n=+a;na!=f>a&&u<(c-e)*(a-r)/(f-r)+e&&(s=!s),c=e,f=r;return s},dv=function(t){for(var n,e,r=-1,i=t.length,o=t[i-1],u=o[0],a=o[1],c=0;++r1);return t+e*o*Math.sqrt(-2*Math.log(i)/i)}}return e.source=t,e}(pv),gv=function t(n){function e(){var t=yv.source(n).apply(this,arguments);return function(){return Math.exp(t())}}return e.source=t,e}(pv),_v=function t(n){function e(t){return function(){for(var e=0,r=0;rr&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function Iv(t,n,e){var r=t[0],i=t[1],o=n[0],u=n[1];return i2?Lv:Iv,i=o=null,l}function l(n){return isNaN(n=+n)?e:(i||(i=r(u.map(t),a,c)))(t(f(n)))}return l.invert=function(e){return f(n((o||(o=r(a,u.map(t),rr)))(e)))},l.domain=function(t){return arguments.length?(u=Av.call(t,Ov),f===Rv||(f=Pv(u)),s()):u.slice()},l.range=function(t){return arguments.length?(a=Sv.call(t),s()):a.slice()},l.rangeRound=function(t){return a=Sv.call(t),c=Hp,s()},l.clamp=function(t){return arguments.length?(f=t?Pv(u):Rv,l):f!==Rv},l.interpolate=function(t){return arguments.length?(c=t,s()):c},l.unknown=function(t){return arguments.length?(e=t,l):e},function(e,r){return t=e,n=r,s()}}function Uv(t,n){return Fv()(t,n)}var Bv=function(t,n,e,r){var i,o=st(t,n,e);switch((r=Cc(null==r?",f":r)).type){case"s":var u=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=qc(o,u))||(r.precision=i),Rc(r,u);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Vc(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Bc(o))||(r.precision=i-2*("%"===r.type))}return jc(r)};function qv(t){var n=t.domain;return t.ticks=function(t){var e=n();return ct(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Bv(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,u=i.length-1,a=i[o],c=i[u];return c0?r=ft(a=Math.floor(a/r)*r,c=Math.ceil(c/r)*r,e):r<0&&(r=ft(a=Math.ceil(a*r)/r,c=Math.floor(c*r)/r,e)),r>0?(i[o]=Math.floor(a/r)*r,i[u]=Math.ceil(c/r)*r,n(i)):r<0&&(i[o]=Math.ceil(a*r)/r,i[u]=Math.floor(c*r)/r,n(i)),t},t}function Vv(){var t=Uv(Rv,Rv);return t.copy=function(){return Dv(t,Vv())},xv.apply(t,arguments),qv(t)}function Yv(t){var n;function e(t){return isNaN(t=+t)?n:t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Av.call(n,Ov),e):t.slice()},e.unknown=function(t){return arguments.length?(n=t,e):n},e.copy=function(){return Yv(t).unknown(n)},t=arguments.length?Av.call(t,Ov):[0,1],qv(e)}var Hv=function(t,n){var e,r=0,i=(t=t.slice()).length-1,o=t[r],u=t[i];return u0){for(;hc)break;v.push(l)}}else for(;h=1;--s)if(!((l=f*s)c)break;v.push(l)}}else v=ct(h,d,Math.min(d-h,p)).map(e);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=jc(i)),t===1/0)return i;null==t&&(t=10);var u=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/e(Math.round(n(t)));return r*o0?r[i-1]:n[0],i=r?[i[r-1],e]:[i[u-1],i[u]]},u.unknown=function(n){return arguments.length?(t=n,u):u},u.thresholds=function(){return i.slice()},u.copy=function(){return ly().domain([n,e]).range(o).unknown(t)},xv.apply(qv(u),arguments)}function hy(){var t,n=[.5],e=[0,1],r=1;function i(i){return i<=i?e[Y(n,i,0,r)]:t}return i.domain=function(t){return arguments.length?(n=Sv.call(t),r=Math.min(n.length,e.length-1),i):n.slice()},i.range=function(t){return arguments.length?(e=Sv.call(t),r=Math.min(n.length,e.length-1),i):e.slice()},i.invertExtent=function(t){var r=e.indexOf(t);return[n[r-1],n[r]]},i.unknown=function(n){return arguments.length?(t=n,i):t},i.copy=function(){return hy().domain(n).range(e).unknown(t)},xv.apply(i,arguments)}var dy=new Date,py=new Date;function vy(t,n,e,r){function i(n){return t(n=0===arguments.length?new Date:new Date(+n)),n}return i.floor=function(n){return t(n=new Date(+n)),n},i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n0))return a;do{a.push(u=new Date(+e)),n(e,o),t(e)}while(u=n)for(;t(n),!e(n);)n.setTime(n-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););}))},e&&(i.count=function(n,r){return dy.setTime(+n),py.setTime(+r),t(dy),t(py),Math.floor(e(dy,py))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var yy=vy((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n)}),(function(t,n){return n.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));yy.every=function(t){return isFinite(t=Math.floor(t))&&t>0?vy((function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,e){n.setFullYear(n.getFullYear()+e*t)})):null};var gy=yy,_y=yy.range,by=vy((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,n){t.setMonth(t.getMonth()+n)}),(function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),my=by,xy=by.range;function wy(t){return vy((function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+7*n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var My=wy(0),Ay=wy(1),Sy=wy(2),ky=wy(3),Ey=wy(4),Cy=wy(5),Ty=wy(6),Ny=My.range,Oy=Ay.range,jy=Sy.range,Ry=ky.range,zy=Ey.range,Py=Cy.range,Iy=Ty.range,Ly=vy((function(t){t.setHours(0,0,0,0)}),(function(t,n){t.setDate(t.getDate()+n)}),(function(t,n){return(n-t-6e4*(n.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1})),Dy=Ly,Fy=Ly.range,Uy=vy((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,n){t.setTime(+t+36e5*n)}),(function(t,n){return(n-t)/36e5}),(function(t){return t.getHours()})),By=Uy,qy=Uy.range,Vy=vy((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,n){t.setTime(+t+6e4*n)}),(function(t,n){return(n-t)/6e4}),(function(t){return t.getMinutes()})),Yy=Vy,Hy=Vy.range,$y=vy((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,n){t.setTime(+t+1e3*n)}),(function(t,n){return(n-t)/1e3}),(function(t){return t.getUTCSeconds()})),Wy=$y,Gy=$y.range,Xy=vy((function(){}),(function(t,n){t.setTime(+t+n)}),(function(t,n){return n-t}));Xy.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?vy((function(n){n.setTime(Math.floor(n/t)*t)}),(function(n,e){n.setTime(+n+e*t)}),(function(n,e){return(e-n)/t})):Xy:null};var Zy=Xy,Ky=Xy.range;function Qy(t){return vy((function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+7*n)}),(function(t,n){return(n-t)/6048e5}))}var Jy=Qy(0),tg=Qy(1),ng=Qy(2),eg=Qy(3),rg=Qy(4),ig=Qy(5),og=Qy(6),ug=Jy.range,ag=tg.range,cg=ng.range,fg=eg.range,sg=rg.range,lg=ig.range,hg=og.range,dg=vy((function(t){t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCDate(t.getUTCDate()+n)}),(function(t,n){return(n-t)/864e5}),(function(t){return t.getUTCDate()-1})),pg=dg,vg=dg.range,yg=vy((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)}),(function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));yg.every=function(t){return isFinite(t=Math.floor(t))&&t>0?vy((function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)})):null};var gg=yg,_g=yg.range;function bg(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function mg(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function xg(t,n,e){return{y:t,m:n,d:e,H:0,M:0,S:0,L:0}}function wg(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,u=t.shortDays,a=t.months,c=t.shortMonths,f=zg(i),s=Pg(i),l=zg(o),h=Pg(o),d=zg(u),p=Pg(u),v=zg(a),y=Pg(a),g=zg(c),_=Pg(c),b={a:function(t){return u[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return a[t.getMonth()]},c:null,d:e_,e:e_,f:a_,g:__,G:m_,H:r_,I:i_,j:o_,L:u_,m:c_,M:f_,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:V_,s:Y_,S:s_,u:l_,U:h_,V:p_,w:v_,W:y_,x:null,X:null,y:g_,Y:b_,Z:x_,"%":q_},m={a:function(t){return u[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return a[t.getUTCMonth()]},c:null,d:w_,e:w_,f:E_,g:D_,G:U_,H:M_,I:A_,j:S_,L:k_,m:C_,M:T_,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:V_,s:Y_,S:N_,u:O_,U:j_,V:z_,w:P_,W:I_,x:null,X:null,y:L_,Y:F_,Z:B_,"%":q_},x={a:function(t,n,e){var r=d.exec(n.slice(e));return r?(t.w=p[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=l.exec(n.slice(e));return r?(t.w=h[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=_[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=y[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return A(t,n,e,r)},d:$g,e:$g,f:Qg,g:qg,G:Bg,H:Gg,I:Gg,j:Wg,L:Kg,m:Hg,M:Xg,p:function(t,n,e){var r=f.exec(n.slice(e));return r?(t.p=s[r[0].toLowerCase()],e+r[0].length):-1},q:Yg,Q:t_,s:n_,S:Zg,u:Lg,U:Dg,V:Fg,w:Ig,W:Ug,x:function(t,n,r){return A(t,e,n,r)},X:function(t,n,e){return A(t,r,n,e)},y:qg,Y:Bg,Z:Vg,"%":Jg};function w(t,n){return function(e){var r,i,o,u=[],a=-1,c=0,f=t.length;for(e instanceof Date||(e=new Date(+e));++a53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=mg(xg(o.y,0,1))).getUTCDay(),r=i>4||0===i?tg.ceil(r):tg(r),r=pg.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=bg(xg(o.y,0,1))).getDay(),r=i>4||0===i?Ay.ceil(r):Ay(r),r=Dy.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?mg(xg(o.y,0,1)).getUTCDay():bg(xg(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,mg(o)):bg(o)}}function A(t,n,e,r){for(var i,o,u=0,a=n.length,c=e.length;u=c)return-1;if(37===(i=n.charCodeAt(u++))){if(i=n.charAt(u++),!(o=x[i in Cg?n.charAt(u++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return b.x=w(e,b),b.X=w(r,b),b.c=w(n,b),m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),{format:function(t){var n=w(t+="",b);return n.toString=function(){return t},n},parse:function(t){var n=M(t+="",!1);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},utcParse:function(t){var n=M(t+="",!0);return n.toString=function(){return t},n}}}var Mg,Ag,Sg,kg,Eg,Cg={"-":"",_:" ",0:"0"},Tg=/^\s*\d+/,Ng=/^%/,Og=/[\\^$*+?|[\]().{}]/g;function jg(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),e+r[0].length):-1}function Vg(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Yg(t,n,e){var r=Tg.exec(n.slice(e,e+1));return r?(t.q=3*r[0]-3,e+r[0].length):-1}function Hg(t,n,e){var r=Tg.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function $g(t,n,e){var r=Tg.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Wg(t,n,e){var r=Tg.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Gg(t,n,e){var r=Tg.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function Xg(t,n,e){var r=Tg.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Zg(t,n,e){var r=Tg.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function Kg(t,n,e){var r=Tg.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Qg(t,n,e){var r=Tg.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Jg(t,n,e){var r=Ng.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function t_(t,n,e){var r=Tg.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function n_(t,n,e){var r=Tg.exec(n.slice(e));return r?(t.s=+r[0],e+r[0].length):-1}function e_(t,n){return jg(t.getDate(),n,2)}function r_(t,n){return jg(t.getHours(),n,2)}function i_(t,n){return jg(t.getHours()%12||12,n,2)}function o_(t,n){return jg(1+Dy.count(gy(t),t),n,3)}function u_(t,n){return jg(t.getMilliseconds(),n,3)}function a_(t,n){return u_(t,n)+"000"}function c_(t,n){return jg(t.getMonth()+1,n,2)}function f_(t,n){return jg(t.getMinutes(),n,2)}function s_(t,n){return jg(t.getSeconds(),n,2)}function l_(t){var n=t.getDay();return 0===n?7:n}function h_(t,n){return jg(My.count(gy(t)-1,t),n,2)}function d_(t){var n=t.getDay();return n>=4||0===n?Ey(t):Ey.ceil(t)}function p_(t,n){return t=d_(t),jg(Ey.count(gy(t),t)+(4===gy(t).getDay()),n,2)}function v_(t){return t.getDay()}function y_(t,n){return jg(Ay.count(gy(t)-1,t),n,2)}function g_(t,n){return jg(t.getFullYear()%100,n,2)}function __(t,n){return jg((t=d_(t)).getFullYear()%100,n,2)}function b_(t,n){return jg(t.getFullYear()%1e4,n,4)}function m_(t,n){var e=t.getDay();return jg((t=e>=4||0===e?Ey(t):Ey.ceil(t)).getFullYear()%1e4,n,4)}function x_(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+jg(n/60|0,"0",2)+jg(n%60,"0",2)}function w_(t,n){return jg(t.getUTCDate(),n,2)}function M_(t,n){return jg(t.getUTCHours(),n,2)}function A_(t,n){return jg(t.getUTCHours()%12||12,n,2)}function S_(t,n){return jg(1+pg.count(gg(t),t),n,3)}function k_(t,n){return jg(t.getUTCMilliseconds(),n,3)}function E_(t,n){return k_(t,n)+"000"}function C_(t,n){return jg(t.getUTCMonth()+1,n,2)}function T_(t,n){return jg(t.getUTCMinutes(),n,2)}function N_(t,n){return jg(t.getUTCSeconds(),n,2)}function O_(t){var n=t.getUTCDay();return 0===n?7:n}function j_(t,n){return jg(Jy.count(gg(t)-1,t),n,2)}function R_(t){var n=t.getUTCDay();return n>=4||0===n?rg(t):rg.ceil(t)}function z_(t,n){return t=R_(t),jg(rg.count(gg(t),t)+(4===gg(t).getUTCDay()),n,2)}function P_(t){return t.getUTCDay()}function I_(t,n){return jg(tg.count(gg(t)-1,t),n,2)}function L_(t,n){return jg(t.getUTCFullYear()%100,n,2)}function D_(t,n){return jg((t=R_(t)).getUTCFullYear()%100,n,2)}function F_(t,n){return jg(t.getUTCFullYear()%1e4,n,4)}function U_(t,n){var e=t.getUTCDay();return jg((t=e>=4||0===e?rg(t):rg.ceil(t)).getUTCFullYear()%1e4,n,4)}function B_(){return"+0000"}function q_(){return"%"}function V_(t){return+t}function Y_(t){return Math.floor(+t/1e3)}function H_(t){return Mg=wg(t),Ag=Mg.format,Sg=Mg.parse,kg=Mg.utcFormat,Eg=Mg.utcParse,Mg}H_({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function $_(t){return new Date(t)}function W_(t){return t instanceof Date?+t:+new Date(+t)}function G_(t,n,e,r,i,o,u,a,c){var f=Uv(Rv,Rv),s=f.invert,l=f.domain,h=c(".%L"),d=c(":%S"),p=c("%I:%M"),v=c("%I %p"),y=c("%a %d"),g=c("%b %d"),_=c("%B"),b=c("%Y"),m=[[u,1,1e3],[u,5,5e3],[u,15,15e3],[u,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[e,1,6048e5],[n,1,2592e6],[n,3,7776e6],[t,1,31536e6]];function x(a){return(u(a)1)&&(t-=Math.floor(t));var n=Math.abs(t-.5);return Im.h=360*t-100,Im.s=1.5-1.5*n,Im.l=.8-.9*n,Im+""},Dm=Ne(),Fm=Math.PI/3,Um=2*Math.PI/3,Bm=function(t){var n;return t=(.5-t)*Math.PI,Dm.r=255*(n=Math.sin(t))*n,Dm.g=255*(n=Math.sin(t+Fm))*n,Dm.b=255*(n=Math.sin(t+Um))*n,Dm+""},qm=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function Vm(t){var n=t.length;return function(e){return t[Math.max(0,Math.min(n-1,Math.floor(e*n)))]}}var Ym=Vm(mb("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Hm=Vm(mb("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),$m=Vm(mb("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Wm=Vm(mb("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),Gm=function(t){return oe(Fn(t).call(document.documentElement))},Xm=0;function Zm(){return new Km}function Km(){this._="@"+(++Xm).toString(36)}Km.prototype=Zm.prototype={constructor:Km,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var Qm=function(t){return"string"==typeof t?new ee([document.querySelectorAll(t)],[document.documentElement]):new ee([null==t?[]:t],ne)},Jm=function(t,n){null==n&&(n=lr().touches);for(var e=0,r=n?n.length:0,i=new Array(r);e1?0:t<-1?cx:Math.acos(t)}function hx(t){return t>=1?fx:t<=-1?-fx:Math.asin(t)}function dx(t){return t.innerRadius}function px(t){return t.outerRadius}function vx(t){return t.startAngle}function yx(t){return t.endAngle}function gx(t){return t&&t.padAngle}function _x(t,n,e,r,i,o,u,a){var c=e-t,f=r-n,s=u-i,l=a-o,h=l*c-s*f;if(!(h*h<1e-12))return[t+(h=(s*(n-o)-l*(t-i))/h)*c,n+h*f]}function bx(t,n,e,r,i,o,u){var a=t-e,c=n-r,f=(u?o:-o)/ax(a*a+c*c),s=f*c,l=-f*a,h=t+s,d=n+l,p=e+s,v=r+l,y=(h+p)/2,g=(d+v)/2,_=p-h,b=v-d,m=_*_+b*b,x=i-o,w=h*v-p*d,M=(b<0?-1:1)*ax(ix(0,x*x*m-w*w)),A=(w*b-_*M)/m,S=(-w*_-b*M)/m,k=(w*b+_*M)/m,E=(-w*_+b*M)/m,C=A-y,T=S-g,N=k-y,O=E-g;return C*C+T*T>N*N+O*O&&(A=k,S=E),{cx:A,cy:S,x01:-s,y01:-l,x11:A*(i/x-1),y11:S*(i/x-1)}}var mx=function(){var t=dx,n=px,e=tx(0),r=null,i=vx,o=yx,u=gx,a=null;function c(){var c,f,s=+t.apply(this,arguments),l=+n.apply(this,arguments),h=i.apply(this,arguments)-fx,d=o.apply(this,arguments)-fx,p=nx(d-h),v=d>h;if(a||(a=c=So()),l1e-12)if(p>sx-1e-12)a.moveTo(l*rx(h),l*ux(h)),a.arc(0,0,l,h,d,!v),s>1e-12&&(a.moveTo(s*rx(d),s*ux(d)),a.arc(0,0,s,d,h,v));else{var y,g,_=h,b=d,m=h,x=d,w=p,M=p,A=u.apply(this,arguments)/2,S=A>1e-12&&(r?+r.apply(this,arguments):ax(s*s+l*l)),k=ox(nx(l-s)/2,+e.apply(this,arguments)),E=k,C=k;if(S>1e-12){var T=hx(S/s*ux(A)),N=hx(S/l*ux(A));(w-=2*T)>1e-12?(m+=T*=v?1:-1,x-=T):(w=0,m=x=(h+d)/2),(M-=2*N)>1e-12?(_+=N*=v?1:-1,b-=N):(M=0,_=b=(h+d)/2)}var O=l*rx(_),j=l*ux(_),R=s*rx(x),z=s*ux(x);if(k>1e-12){var P,I=l*rx(b),L=l*ux(b),D=s*rx(m),F=s*ux(m);if(p1e-12?C>1e-12?(y=bx(D,F,O,j,l,C,v),g=bx(I,L,R,z,l,C,v),a.moveTo(y.cx+y.x01,y.cy+y.y01),C1e-12&&w>1e-12?E>1e-12?(y=bx(R,z,I,L,s,-E,v),g=bx(O,j,D,F,s,-E,v),a.lineTo(y.cx+y.x01,y.cy+y.y01),E=s;--l)a.point(y[l],g[l]);a.lineEnd(),a.areaEnd()}v&&(y[f]=+t(h,f,c),g[f]=+e(h,f,c),a.point(n?+n(h,f,c):y[f],r?+r(h,f,c):g[f]))}if(d)return a=null,d+""||null}function f(){return Sx().defined(i).curve(u).context(o)}return c.x=function(e){return arguments.length?(t="function"==typeof e?e:tx(+e),n=null,c):t},c.x0=function(n){return arguments.length?(t="function"==typeof n?n:tx(+n),c):t},c.x1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:tx(+t),c):n},c.y=function(t){return arguments.length?(e="function"==typeof t?t:tx(+t),r=null,c):e},c.y0=function(t){return arguments.length?(e="function"==typeof t?t:tx(+t),c):e},c.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:tx(+t),c):r},c.lineX0=c.lineY0=function(){return f().x(t).y(e)},c.lineY1=function(){return f().x(t).y(r)},c.lineX1=function(){return f().x(n).y(e)},c.defined=function(t){return arguments.length?(i="function"==typeof t?t:tx(!!t),c):i},c.curve=function(t){return arguments.length?(u=t,null!=o&&(a=u(o)),c):u},c.context=function(t){return arguments.length?(null==t?o=a=null:a=u(o=t),c):o},c},Ex=function(t,n){return nt?1:n>=t?0:NaN},Cx=function(t){return t},Tx=function(){var t=Cx,n=Ex,e=null,r=tx(0),i=tx(sx),o=tx(0);function u(u){var a,c,f,s,l,h=u.length,d=0,p=new Array(h),v=new Array(h),y=+r.apply(this,arguments),g=Math.min(sx,Math.max(-sx,i.apply(this,arguments)-y)),_=Math.min(Math.abs(g)/h,o.apply(this,arguments)),b=_*(g<0?-1:1);for(a=0;a0&&(d+=l);for(null!=n?p.sort((function(t,e){return n(v[t],v[e])})):null!=e&&p.sort((function(t,n){return e(u[t],u[n])})),a=0,f=d?(g-h*b)/d:0;a0?l*f:0)+b,v[c]={data:u[c],index:a,value:l,startAngle:y,endAngle:s,padAngle:_};return v}return u.value=function(n){return arguments.length?(t="function"==typeof n?n:tx(+n),u):t},u.sortValues=function(t){return arguments.length?(n=t,e=null,u):n},u.sort=function(t){return arguments.length?(e=t,n=null,u):e},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:tx(+t),u):r},u.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:tx(+t),u):i},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:tx(+t),u):o},u},Nx=jx(wx);function Ox(t){this._curve=t}function jx(t){function n(n){return new Ox(t(n))}return n._curve=t,n}function Rx(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(jx(t)):n()._curve},t}Ox.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var zx=function(){return Rx(Sx().curve(Nx))},Px=function(){var t=kx().curve(Nx),n=t.curve,e=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Rx(e())},delete t.lineX0,t.lineEndAngle=function(){return Rx(r())},delete t.lineX1,t.lineInnerRadius=function(){return Rx(i())},delete t.lineY0,t.lineOuterRadius=function(){return Rx(o())},delete t.lineY1,t.curve=function(t){return arguments.length?n(jx(t)):n()._curve},t},Ix=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]},Lx=Array.prototype.slice;function Dx(t){return t.source}function Fx(t){return t.target}function Ux(t){var n=Dx,e=Fx,r=Mx,i=Ax,o=null;function u(){var u,a=Lx.call(arguments),c=n.apply(this,a),f=e.apply(this,a);if(o||(o=u=So()),t(o,+r.apply(this,(a[0]=c,a)),+i.apply(this,a),+r.apply(this,(a[0]=f,a)),+i.apply(this,a)),u)return o=null,u+""||null}return u.source=function(t){return arguments.length?(n=t,u):n},u.target=function(t){return arguments.length?(e=t,u):e},u.x=function(t){return arguments.length?(r="function"==typeof t?t:tx(+t),u):r},u.y=function(t){return arguments.length?(i="function"==typeof t?t:tx(+t),u):i},u.context=function(t){return arguments.length?(o=null==t?null:t,u):o},u}function Bx(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,i,r,i)}function qx(t,n,e,r,i){t.moveTo(n,e),t.bezierCurveTo(n,e=(e+i)/2,r,e,r,i)}function Vx(t,n,e,r,i){var o=Ix(n,e),u=Ix(n,e=(e+i)/2),a=Ix(r,e),c=Ix(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(u[0],u[1],a[0],a[1],c[0],c[1])}function Yx(){return Ux(Bx)}function Hx(){return Ux(qx)}function $x(){var t=Ux(Vx);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var Wx={draw:function(t,n){var e=Math.sqrt(n/cx);t.moveTo(e,0),t.arc(0,0,e,0,sx)}},Gx={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()}},Xx=Math.sqrt(1/3),Zx=2*Xx,Kx={draw:function(t,n){var e=Math.sqrt(n/Zx),r=e*Xx;t.moveTo(0,-e),t.lineTo(r,0),t.lineTo(0,e),t.lineTo(-r,0),t.closePath()}},Qx=Math.sin(cx/10)/Math.sin(7*cx/10),Jx=Math.sin(sx/10)*Qx,tw=-Math.cos(sx/10)*Qx,nw={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),r=Jx*e,i=tw*e;t.moveTo(0,-e),t.lineTo(r,i);for(var o=1;o<5;++o){var u=sx*o/5,a=Math.cos(u),c=Math.sin(u);t.lineTo(c*e,-a*e),t.lineTo(a*r-c*i,c*r+a*i)}t.closePath()}},ew={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}},rw=Math.sqrt(3),iw={draw:function(t,n){var e=-Math.sqrt(n/(3*rw));t.moveTo(0,2*e),t.lineTo(-rw*e,-e),t.lineTo(rw*e,-e),t.closePath()}},ow=Math.sqrt(3)/2,uw=1/Math.sqrt(12),aw=3*(uw/2+1),cw={draw:function(t,n){var e=Math.sqrt(n/aw),r=e/2,i=e*uw,o=r,u=e*uw+e,a=-o,c=u;t.moveTo(r,i),t.lineTo(o,u),t.lineTo(a,c),t.lineTo(-.5*r-ow*i,ow*r+-.5*i),t.lineTo(-.5*o-ow*u,ow*o+-.5*u),t.lineTo(-.5*a-ow*c,ow*a+-.5*c),t.lineTo(-.5*r+ow*i,-.5*i-ow*r),t.lineTo(-.5*o+ow*u,-.5*u-ow*o),t.lineTo(-.5*a+ow*c,-.5*c-ow*a),t.closePath()}},fw=[Wx,Gx,Kx,ew,nw,iw,cw],sw=function(){var t=tx(Wx),n=tx(64),e=null;function r(){var r;if(e||(e=r=So()),t.apply(this,arguments).draw(e,+n.apply(this,arguments)),r)return e=null,r+""||null}return r.type=function(n){return arguments.length?(t="function"==typeof n?n:tx(n),r):t},r.size=function(t){return arguments.length?(n="function"==typeof t?t:tx(+t),r):n},r.context=function(t){return arguments.length?(e=null==t?null:t,r):e},r},lw=function(){};function hw(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function dw(t){this._context=t}dw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:hw(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:hw(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var pw=function(t){return new dw(t)};function vw(t){this._context=t}vw.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,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:hw(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var yw=function(t){return new vw(t)};function gw(t){this._context=t}gw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:hw(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};var _w=function(t){return new gw(t)};function bw(t,n){this._basis=new dw(t),this._beta=n}bw.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)for(var r,i=t[0],o=n[0],u=t[e]-i,a=n[e]-o,c=-1;++c<=e;)r=c/e,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*u),this._beta*n[c]+(1-this._beta)*(o+r*a));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var mw=function t(n){function e(t){return 1===n?new dw(t):new bw(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function xw(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function ww(t,n){this._context=t,this._k=(1-n)/6}ww.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:xw(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:xw(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Mw=function t(n){function e(t){return new ww(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Aw(t,n){this._context=t,this._k=(1-n)/6}Aw.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,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:xw(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Sw=function t(n){function e(t){return new Aw(t,n)}return e.tension=function(n){return t(+n)},e}(0);function kw(t,n){this._context=t,this._k=(1-n)/6}kw.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:xw(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ew=function t(n){function e(t){return new kw(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Cw(t,n,e){var r=t._x1,i=t._y1,o=t._x2,u=t._y2;if(t._l01_a>1e-12){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>1e-12){var f=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,s=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*f+t._x1*t._l23_2a-n*t._l12_2a)/s,u=(u*f+t._y1*t._l23_2a-e*t._l12_2a)/s}t._context.bezierCurveTo(r,i,o,u,t._x2,t._y2)}function Tw(t,n){this._context=t,this._alpha=n}Tw.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,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:Cw(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Nw=function t(n){function e(t){return n?new Tw(t,n):new ww(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Ow(t,n){this._context=t,this._alpha=n}Ow.prototype={areaStart:lw,areaEnd:lw,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,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:Cw(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var jw=function t(n){function e(t){return n?new Ow(t,n):new Aw(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Rw(t,n){this._context=t,this._alpha=n}Rw.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:Cw(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var zw=function t(n){function e(t){return n?new Rw(t,n):new kw(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Pw(t){this._context=t}Pw.prototype={areaStart:lw,areaEnd:lw,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))}};var Iw=function(t){return new Pw(t)};function Lw(t){return t<0?-1:1}function Dw(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),u=(e-t._y1)/(i||r<0&&-0),a=(o*i+u*r)/(r+i);return(Lw(o)+Lw(u))*Math.min(Math.abs(o),Math.abs(u),.5*Math.abs(a))||0}function Fw(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Uw(t,n,e){var r=t._x0,i=t._y0,o=t._x1,u=t._y1,a=(o-r)/3;t._context.bezierCurveTo(r+a,i+a*n,o-a,u-a*e,o,u)}function Bw(t){this._context=t}function qw(t){this._context=new Vw(t)}function Vw(t){this._context=t}function Yw(t){return new Bw(t)}function Hw(t){return new qw(t)}function $w(t){this._context=t}function Ww(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),u=new Array(r);for(i[0]=0,o[0]=2,u[0]=t[0]+2*t[1],n=1;n=0;--n)i[n]=(u[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)}}this._x=t,this._y=n}};var Zw=function(t){return new Xw(t,.5)};function Kw(t){return new Xw(t,0)}function Qw(t){return new Xw(t,1)}var Jw=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,u=t[n[0]],a=u.length;o=0;)e[n]=n;return e};function nM(t,n){return t[n]}var eM=function(){var t=tx([]),n=tM,e=Jw,r=nM;function i(i){var o,u,a=t.apply(this,arguments),c=i.length,f=a.length,s=new Array(f);for(o=0;o0){for(var e,r,i,o=0,u=t[0].length;o0)for(var e,r,i,o,u,a,c=0,f=t[n[0]].length;c0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=u,r[0]=u+=i):(r[0]=0,r[1]=i)},oM=function(t,n){if((e=t.length)>0){for(var e,r=0,i=t[n[0]],o=i.length;r0&&(r=(e=t[n[0]]).length)>0){for(var e,r,i,o=0,u=1;uo&&(o=n,r=e);return r}var fM=function(t){var n=t.map(sM);return tM(t).sort((function(t,e){return n[t]-n[e]}))};function sM(t){for(var n,e=0,r=-1,i=t.length;++r0)){if(o/=h,h<0){if(o0){if(o>l)return;o>s&&(s=o)}if(o=r-c,h||!(o<0)){if(o/=h,h<0){if(o>l)return;o>s&&(s=o)}else if(h>0){if(o0)){if(o/=d,d<0){if(o0){if(o>l)return;o>s&&(s=o)}if(o=i-f,d||!(o<0)){if(o/=d,d<0){if(o>l)return;o>s&&(s=o)}else if(d>0){if(o0||l<1)||(s>0&&(t[0]=[c+s*h,f+s*d]),l<1&&(t[1]=[c+l*h,f+l*d]),!0)}}}}}function NM(t,n,e,r,i){var o=t[1];if(o)return!0;var u,a,c=t[0],f=t.left,s=t.right,l=f[0],h=f[1],d=s[0],p=s[1],v=(l+d)/2,y=(h+p)/2;if(p===h){if(v=r)return;if(l>d){if(c){if(c[1]>=i)return}else c=[v,e];o=[v,i]}else{if(c){if(c[1]1)if(l>d){if(c){if(c[1]>=i)return}else c=[(e-a)/u,e];o=[(i-a)/u,i]}else{if(c){if(c[1]=r)return}else c=[n,u*n+a];o=[r,u*r+a]}else{if(c){if(c[0]=-QM)){var d=c*c+f*f,p=s*s+l*l,v=(l*d-f*p)/h,y=(c*p-s*d)/h,g=PM.pop()||new IM;g.arc=t,g.site=i,g.x=v+u,g.y=(g.cy=y+a)+Math.sqrt(v*v+y*y),t.circle=g;for(var _=null,b=XM._;b;)if(g.yKM)a=a.L;else{if(!((i=o-$M(a,u))>KM)){r>-KM?(n=a.P,e=a):i>-KM?(n=a,e=a.N):n=e=a;break}if(!a.R){n=a;break}a=a.R}!function(t){GM[t.index]={site:t,halfedges:[]}}(t);var c=BM(t);if(WM.insert(n,c),n||e){if(n===e)return DM(n),e=BM(n.site),WM.insert(c,e),c.edge=e.edge=kM(n.site,c.site),LM(n),void LM(e);if(e){DM(n),DM(e);var f=n.site,s=f[0],l=f[1],h=t[0]-s,d=t[1]-l,p=e.site,v=p[0]-s,y=p[1]-l,g=2*(h*y-d*v),_=h*h+d*d,b=v*v+y*y,m=[(y*_-d*b)/g+s,(h*b-v*_)/g+l];CM(e.edge,f,p,m),c.edge=kM(f,t,null,m),e.edge=kM(t,p,null,m),LM(n),LM(e)}else c.edge=kM(n.site,c.site)}}function HM(t,n){var e=t.site,r=e[0],i=e[1],o=i-n;if(!o)return r;var u=t.P;if(!u)return-1/0;var a=(e=u.site)[0],c=e[1],f=c-n;if(!f)return a;var s=a-r,l=1/o-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-c+f/2+i-o/2)))/l+r:(r+a)/2}function $M(t,n){var e=t.N;if(e)return HM(e,n);var r=t.site;return r[1]===n?r[0]:1/0}var WM,GM,XM,ZM,KM=1e-6,QM=1e-12;function JM(t,n){return n[1]-t[1]||n[0]-t[0]}function tA(t,n){var e,r,i,o=t.sort(JM).pop();for(ZM=[],GM=new Array(t.length),WM=new SM,XM=new SM;;)if(i=zM,o&&(!i||o[1]KM||Math.abs(i[0][1]-i[1][1])>KM)||delete ZM[o]}(u,a,c,f),function(t,n,e,r){var i,o,u,a,c,f,s,l,h,d,p,v,y=GM.length,g=!0;for(i=0;iKM||Math.abs(v-h)>KM)&&(c.splice(a,0,ZM.push(EM(u,d,Math.abs(p-t)KM?[t,Math.abs(l-t)KM?[Math.abs(h-r)KM?[e,Math.abs(l-e)KM?[Math.abs(h-n)=a)return null;var c=t-i.site[0],f=n-i.site[1],s=c*c+f*f;do{i=o.cells[r=u],u=null,i.halfedges.forEach((function(e){var r=o.edges[e],a=r.left;if(a!==i.site&&a||(a=r.right)){var c=t-a[0],f=n-a[1],l=c*c+f*f;lr?(r+i)/2:Math.min(0,r)||Math.max(0,i),u>o?(o+u)/2:Math.min(0,o)||Math.max(0,u))}var vA,yA=function(){var t,n,e=fA,r=sA,i=pA,o=hA,u=dA,a=[0,1/0],c=[[-1/0,-1/0],[1/0,1/0]],f=250,s=Gp,l=$t("start","zoom","end"),h=0;function d(t){t.property("__zoom",lA).on("wheel.zoom",m).on("mousedown.zoom",x).on("dblclick.zoom",w).filter(u).on("touchstart.zoom",M).on("touchmove.zoom",A).on("touchend.zoom touchcancel.zoom",S).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(t,n){return(n=Math.max(a[0],Math.min(a[1],n)))===t.k?t:new iA(n,t.x,t.y)}function v(t,n,e){var r=n[0]-e[0]*t.k,i=n[1]-e[1]*t.k;return r===t.x&&i===t.y?t:new iA(t.k,r,i)}function y(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function g(t,n,e){t.on("start.zoom",(function(){_(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){_(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=_(t,i),u=r.apply(t,i),a=null==e?y(u):"function"==typeof e?e.apply(t,i):e,c=Math.max(u[1][0]-u[0][0],u[1][1]-u[0][1]),f=t.__zoom,l="function"==typeof n?n.apply(t,i):n,h=s(f.invert(a).concat(c/f.k),l.invert(a).concat(c/l.k));return function(t){if(1===t)t=l;else{var n=h(t),e=c/n[2];t=new iA(e,a[0]-n[0]*e,a[1]-n[1]*e)}o.zoom(null,t)}}))}function _(t,n,e){return!e&&t.__zooming||new b(t,n)}function b(t,n){this.that=t,this.args=n,this.active=0,this.extent=r.apply(t,n),this.taps=0}function m(){if(e.apply(this,arguments)){var t=_(this,arguments),n=this.__zoom,r=Math.max(a[0],Math.min(a[1],n.k*Math.pow(2,o.apply(this,arguments)))),u=pr(this);if(t.wheel)t.mouse[0][0]===u[0]&&t.mouse[0][1]===u[1]||(t.mouse[1]=n.invert(t.mouse[0]=u)),clearTimeout(t.wheel);else{if(n.k===r)return;t.mouse=[u,n.invert(u)],qr(this),t.start()}cA(),t.wheel=setTimeout(f,150),t.zoom("mouse",i(v(p(n,r),t.mouse[0],t.mouse[1]),t.extent,c))}function f(){t.wheel=null,t.end()}}function x(){if(!n&&e.apply(this,arguments)){var t=_(this,arguments,!0),r=oe(Hn.view).on("mousemove.zoom",f,!0).on("mouseup.zoom",s,!0),o=pr(this),u=Hn.clientX,a=Hn.clientY;ce(Hn.view),aA(),t.mouse=[o,this.__zoom.invert(o)],qr(this),t.start()}function f(){if(cA(),!t.moved){var n=Hn.clientX-u,e=Hn.clientY-a;t.moved=n*n+e*e>h}t.zoom("mouse",i(v(t.that.__zoom,t.mouse[0]=pr(t.that),t.mouse[1]),t.extent,c))}function s(){r.on("mousemove.zoom mouseup.zoom",null),fe(Hn.view,t.moved),cA(),t.end()}}function w(){if(e.apply(this,arguments)){var t=this.__zoom,n=pr(this),o=t.invert(n),u=t.k*(Hn.shiftKey?.5:2),a=i(v(p(t,u),n,o),r.apply(this,arguments),c);cA(),f>0?oe(this).transition().duration(f).call(g,a,n):oe(this).call(d.transform,a)}}function M(){if(e.apply(this,arguments)){var n,r,i,o,u=Hn.touches,a=u.length,c=_(this,arguments,Hn.changedTouches.length===a);for(aA(),r=0;r; +export declare type ScatterOptions = Options & Partial; +export declare enum PointType { + NONE = "none", + CIRCLE = "circle", + RECTANGLE = "rectangle" +} +export declare enum LineType { + NONE = "none", + SOLID = "solid", + DASHED = "dashed" +} +export declare type ColorFormatter = (datapoint: number[]) => string; +export {}; diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..9838ac3 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,4662 @@ +{ + "name": "@chartwerk/scatter-pod", + "version": "0.2.4", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@chartwerk/core": { + "version": "github:chartwerk/core#532eddbc8ad938091b1d9ec1693cec5eddfdbfc2", + "from": "github:chartwerk/core#532eddbc8ad938091b1d9ec1693cec5eddfdbfc2" + }, + "@types/d3": { + "version": "5.16.4", + "resolved": "https://registry.npmjs.org/@types/d3/-/d3-5.16.4.tgz", + "integrity": "sha512-2u0O9iP1MubFiQ+AhR1id4Egs+07BLtvRATG6IL2Gs9+KzdrfaxCKNq5hxEyw1kxwsqB/lCgr108XuHcKtb/5w==", + "dev": true, + "requires": { + "@types/d3-array": "^1", + "@types/d3-axis": "^1", + "@types/d3-brush": "^1", + "@types/d3-chord": "^1", + "@types/d3-collection": "*", + "@types/d3-color": "^1", + "@types/d3-contour": "^1", + "@types/d3-dispatch": "^1", + "@types/d3-drag": "^1", + "@types/d3-dsv": "^1", + "@types/d3-ease": "^1", + "@types/d3-fetch": "^1", + "@types/d3-force": "^1", + "@types/d3-format": "^1", + "@types/d3-geo": "^1", + "@types/d3-hierarchy": "^1", + "@types/d3-interpolate": "^1", + "@types/d3-path": "^1", + "@types/d3-polygon": "^1", + "@types/d3-quadtree": "^1", + "@types/d3-random": "^1", + "@types/d3-scale": "^2", + "@types/d3-scale-chromatic": "^1", + "@types/d3-selection": "^1", + "@types/d3-shape": "^1", + "@types/d3-time": "^1", + "@types/d3-time-format": "^2", + "@types/d3-timer": "^1", + "@types/d3-transition": "^1", + "@types/d3-voronoi": "*", + "@types/d3-zoom": "^1" + } + }, + "@types/d3-array": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@types/d3-array/-/d3-array-1.2.8.tgz", + "integrity": "sha512-wWV0wT6oLUGprrOR5LMK7Dh8EBiondhnqINsvazv6UucYfTdb2oaFF4knlqzZV2RKB9ZC9G7G1Iojt8b/wolsw==", + "dev": true + }, + "@types/d3-axis": { + "version": "1.0.14", + "resolved": "https://registry.npmjs.org/@types/d3-axis/-/d3-axis-1.0.14.tgz", + "integrity": "sha512-wZAKX/dtFT5t5iuCaiU0QL0BWB19TE6h7C7kgfBVyoka7zidQWvf8E9zQTJ5bNPBQxd0+JmplNqwy1M8O8FOjA==", + "dev": true, + "requires": { + "@types/d3-selection": "^1" + } + }, + "@types/d3-brush": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/@types/d3-brush/-/d3-brush-1.1.4.tgz", + "integrity": "sha512-2t8CgWaha9PsPdSZJ9m6Jl4awqf3DGIXek2e7gfheyfP2R0a/18MX+wuLHx+LyI1Ad7lxDsPWcswKD0XhQEjmg==", + "dev": true, + "requires": { + "@types/d3-selection": "^1" + } + }, + "@types/d3-chord": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/d3-chord/-/d3-chord-1.0.10.tgz", + "integrity": "sha512-U6YojfET6ITL1/bUJo+/Lh3pMV9XPAfOWwbshl3y3RlgAX9VO/Bxa13IMAylZIDY4VsA3Gkh29kZP1AcAeyoYA==", + "dev": true + }, + "@types/d3-collection": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/d3-collection/-/d3-collection-1.0.10.tgz", + "integrity": "sha512-54Fdv8u5JbuXymtmXm2SYzi1x/Svt+jfWBU5junkhrCewL92VjqtCBDn97coBRVwVFmYNnVTNDyV8gQyPYfm+A==", + "dev": true + }, + "@types/d3-color": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@types/d3-color/-/d3-color-1.4.1.tgz", + "integrity": "sha512-xkPLi+gbgUU9ED6QX4g6jqYL2KCB0/3AlM+ncMGqn49OgH0gFMY/ITGqPF8HwEiLzJaC+2L0I+gNwBgABv1Pvg==", + "dev": true + }, + "@types/d3-contour": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@types/d3-contour/-/d3-contour-1.3.1.tgz", + "integrity": "sha512-wWwsM/3NfKTRBdH00cSf+XlsaHlNTkvH66PgDedobyvKQZ4sJrXXpr16LXvDnAal4B67v8JGrWDgyx6dqqKLuQ==", + "dev": true, + "requires": { + "@types/d3-array": "^1", + "@types/geojson": "*" + } + }, + "@types/d3-dispatch": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-dispatch/-/d3-dispatch-1.0.9.tgz", + "integrity": "sha512-zJ44YgjqALmyps+II7b1mZLhrtfV/FOxw9owT87mrweGWcg+WK5oiJX2M3SYJ0XUAExBduarysfgbR11YxzojQ==", + "dev": true + }, + "@types/d3-drag": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@types/d3-drag/-/d3-drag-1.2.5.tgz", + "integrity": "sha512-7NeTnfolst1Js3Vs7myctBkmJWu6DMI3k597AaHUX98saHjHWJ6vouT83UrpE+xfbSceHV+8A0JgxuwgqgmqWw==", + "dev": true, + "requires": { + "@types/d3-selection": "^1" + } + }, + "@types/d3-dsv": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@types/d3-dsv/-/d3-dsv-1.2.1.tgz", + "integrity": "sha512-LLmJmjiqp/fTNEdij5bIwUJ6P6TVNk5hKM9/uk5RPO2YNgEu9XvKO0dJ7Iqd3psEdmZN1m7gB1bOsjr4HmO2BA==", + "dev": true + }, + "@types/d3-ease": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/d3-ease/-/d3-ease-1.0.10.tgz", + "integrity": "sha512-fMFTCzd8DOwruE9zlu2O8ci5ct+U5jkGcDS+cH+HCidnJlDs0MZ+TuSVCFtEzh4E5MasItwy+HvgoFtxPHa5Cw==", + "dev": true + }, + "@types/d3-fetch": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-fetch/-/d3-fetch-1.2.2.tgz", + "integrity": "sha512-rtFs92GugtV/NpiJQd0WsmGLcg52tIL0uF0bKbbJg231pR9JEb6HT4AUwrtuLq3lOeKdLBhsjV14qb0pMmd0Aw==", + "dev": true, + "requires": { + "@types/d3-dsv": "^1" + } + }, + "@types/d3-force": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/@types/d3-force/-/d3-force-1.2.2.tgz", + "integrity": "sha512-TN7KO7sk0tJauedIt0q20RQRFo4V3v97pJKO/TDK40X3LaPM1aXRM2+zFF+nRMtseEiszg4KffudhjR8a3+4cg==", + "dev": true + }, + "@types/d3-format": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@types/d3-format/-/d3-format-1.4.1.tgz", + "integrity": "sha512-ss9G2snEKmp2In5Z3T0Jpqv8QaDBc2xHltBw83KjnV5B5w+Iwphbvq5ph/Xnu4d03fmmsdt+o1aWch379rxIbA==", + "dev": true + }, + "@types/d3-geo": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/@types/d3-geo/-/d3-geo-1.12.1.tgz", + "integrity": "sha512-8+gyGFyMCXIHtnMNKQDT++tZ4XYFXgiP5NK7mcv34aYXA16GQFiBBITjKzxghpO8QNVceOd9rUn1JY92WLNGQw==", + "dev": true, + "requires": { + "@types/geojson": "*" + } + }, + "@types/d3-hierarchy": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/@types/d3-hierarchy/-/d3-hierarchy-1.1.7.tgz", + "integrity": "sha512-fvht6DOYKzqmXjMb/+xfgkmrWM4SD7rMA/ZbM+gGwr9ZTuIDfky95J8CARtaJo/ExeWyS0xGVdL2gqno2zrQ0Q==", + "dev": true + }, + "@types/d3-interpolate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/@types/d3-interpolate/-/d3-interpolate-1.4.2.tgz", + "integrity": "sha512-ylycts6llFf8yAEs1tXzx2loxxzDZHseuhPokrqKprTQSTcD3JbJI1omZP1rphsELZO3Q+of3ff0ZS7+O6yVzg==", + "dev": true, + "requires": { + "@types/d3-color": "^1" + } + }, + "@types/d3-path": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/d3-path/-/d3-path-1.0.9.tgz", + "integrity": "sha512-NaIeSIBiFgSC6IGUBjZWcscUJEq7vpVu7KthHN8eieTV9d9MqkSOZLH4chq1PmcKy06PNe3axLeKmRIyxJ+PZQ==", + "dev": true + }, + "@types/d3-polygon": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/d3-polygon/-/d3-polygon-1.0.8.tgz", + "integrity": "sha512-1TOJPXCBJC9V3+K3tGbTqD/CsqLyv/YkTXAcwdsZzxqw5cvpdnCuDl42M4Dvi8XzMxZNCT9pL4ibrK2n4VmAcw==", + "dev": true + }, + "@types/d3-quadtree": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@types/d3-quadtree/-/d3-quadtree-1.0.8.tgz", + "integrity": "sha512-FuqYiexeSQZlc+IcGAVK8jSJKDFKHcSf/jx8rqJUUVx6rzv7ecQiXKyatrLHHh3W4CAvgNeVI23JKgk4+x2wFg==", + "dev": true + }, + "@types/d3-random": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@types/d3-random/-/d3-random-1.1.3.tgz", + "integrity": "sha512-XXR+ZbFCoOd4peXSMYJzwk0/elP37WWAzS/DG+90eilzVbUSsgKhBcWqylGWe+lA2ubgr7afWAOBaBxRgMUrBQ==", + "dev": true + }, + "@types/d3-scale": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/@types/d3-scale/-/d3-scale-2.2.4.tgz", + "integrity": "sha512-wkQXT+IfgfAnKB5rtS1qMJg3FS32r1rVFHvqtiqk8pX8o5aQR3VwX1P7ErHjzNIicTlkWsaMiUTrYB+E75HFeA==", + "dev": true, + "requires": { + "@types/d3-time": "^1" + } + }, + "@types/d3-scale-chromatic": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@types/d3-scale-chromatic/-/d3-scale-chromatic-1.5.1.tgz", + "integrity": "sha512-7FtJYrmXTEWLykShjYhoGuDNR/Bda0+tstZMkFj4RRxUEryv16AGh3be21tqg84B6KfEwiZyEpBcTyPyU+GWjg==", + "dev": true + }, + "@types/d3-selection": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/@types/d3-selection/-/d3-selection-1.4.3.tgz", + "integrity": "sha512-GjKQWVZO6Sa96HiKO6R93VBE8DUW+DDkFpIMf9vpY5S78qZTlRRSNUsHr/afDpF7TvLDV7VxrUFOWW7vdIlYkA==", + "dev": true + }, + "@types/d3-shape": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/@types/d3-shape/-/d3-shape-1.3.5.tgz", + "integrity": "sha512-aPEax03owTAKynoK8ZkmkZEDZvvT4Y5pWgii4Jp4oQt0gH45j6siDl9gNDVC5kl64XHN2goN9jbYoHK88tFAcA==", + "dev": true, + "requires": { + "@types/d3-path": "^1" + } + }, + "@types/d3-time": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/d3-time/-/d3-time-1.1.1.tgz", + "integrity": "sha512-ULX7LoqXTCYtM+tLYOaeAJK7IwCT+4Gxlm2MaH0ErKLi07R5lh8NHCAyWcDkCCmx1AfRcBEV6H9QE9R25uP7jw==", + "dev": true + }, + "@types/d3-time-format": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/@types/d3-time-format/-/d3-time-format-2.3.1.tgz", + "integrity": "sha512-fck0Z9RGfIQn3GJIEKVrp15h9m6Vlg0d5XXeiE/6+CQiBmMDZxfR21XtjEPuDeg7gC3bBM0SdieA5XF3GW1wKA==", + "dev": true + }, + "@types/d3-timer": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/@types/d3-timer/-/d3-timer-1.0.10.tgz", + "integrity": "sha512-ZnAbquVqy+4ZjdW0cY6URp+qF/AzTVNda2jYyOzpR2cPT35FTXl78s15Bomph9+ckOiI1TtkljnWkwbIGAb6rg==", + "dev": true + }, + "@types/d3-transition": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@types/d3-transition/-/d3-transition-1.3.1.tgz", + "integrity": "sha512-U9CpMlTL/NlqdGXBlHYxTZwbmy/vN1cFv8TuAIFPX+xOW/1iChbeJBY2xmINhDQfkGJbgkH4IovafCwI1ZDrgg==", + "dev": true, + "requires": { + "@types/d3-selection": "^1" + } + }, + "@types/d3-voronoi": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@types/d3-voronoi/-/d3-voronoi-1.1.9.tgz", + "integrity": "sha512-DExNQkaHd1F3dFPvGA/Aw2NGyjMln6E9QzsiqOcBgnE+VInYnFBHBBySbZQts6z6xD+5jTfKCP7M4OqMyVjdwQ==", + "dev": true + }, + "@types/d3-zoom": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/@types/d3-zoom/-/d3-zoom-1.8.2.tgz", + "integrity": "sha512-rU0LirorUxkLxEHSzkFs7pPC0KWsxRGc0sHrxEDR0/iQq+7/xpNkKuuOOwthlgvOtpOvtTLJ2JFOD6Kr0Si4Uw==", + "dev": true, + "requires": { + "@types/d3-interpolate": "^1", + "@types/d3-selection": "^1" + } + }, + "@types/geojson": { + "version": "7946.0.7", + "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.7.tgz", + "integrity": "sha512-wE2v81i4C4Ol09RtsWFAqg3BUitWbHSpSlIo+bNdsCJijO9sjme+zm+73ZMCa/qMC8UEERxzGbvmr1cffo2SiQ==", + "dev": true + }, + "@types/json-schema": { + "version": "7.0.7", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.7.tgz", + "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==", + "dev": true + }, + "@types/lodash": { + "version": "4.14.168", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", + "integrity": "sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==", + "dev": true + }, + "@webassemblyjs/ast": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.9.0.tgz", + "integrity": "sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==", + "dev": true, + "requires": { + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0" + } + }, + "@webassemblyjs/floating-point-hex-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.9.0.tgz", + "integrity": "sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==", + "dev": true + }, + "@webassemblyjs/helper-api-error": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.9.0.tgz", + "integrity": "sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==", + "dev": true + }, + "@webassemblyjs/helper-buffer": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.9.0.tgz", + "integrity": "sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==", + "dev": true + }, + "@webassemblyjs/helper-code-frame": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.9.0.tgz", + "integrity": "sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==", + "dev": true, + "requires": { + "@webassemblyjs/wast-printer": "1.9.0" + } + }, + "@webassemblyjs/helper-fsm": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.9.0.tgz", + "integrity": "sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==", + "dev": true + }, + "@webassemblyjs/helper-module-context": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.9.0.tgz", + "integrity": "sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0" + } + }, + "@webassemblyjs/helper-wasm-bytecode": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.9.0.tgz", + "integrity": "sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==", + "dev": true + }, + "@webassemblyjs/helper-wasm-section": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.9.0.tgz", + "integrity": "sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0" + } + }, + "@webassemblyjs/ieee754": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.9.0.tgz", + "integrity": "sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==", + "dev": true, + "requires": { + "@xtuc/ieee754": "^1.2.0" + } + }, + "@webassemblyjs/leb128": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.9.0.tgz", + "integrity": "sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==", + "dev": true, + "requires": { + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/utf8": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.9.0.tgz", + "integrity": "sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==", + "dev": true + }, + "@webassemblyjs/wasm-edit": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.9.0.tgz", + "integrity": "sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/helper-wasm-section": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-opt": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "@webassemblyjs/wast-printer": "1.9.0" + } + }, + "@webassemblyjs/wasm-gen": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.9.0.tgz", + "integrity": "sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" + } + }, + "@webassemblyjs/wasm-opt": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.9.0.tgz", + "integrity": "sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-buffer": "1.9.0", + "@webassemblyjs/wasm-gen": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0" + } + }, + "@webassemblyjs/wasm-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.9.0.tgz", + "integrity": "sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-wasm-bytecode": "1.9.0", + "@webassemblyjs/ieee754": "1.9.0", + "@webassemblyjs/leb128": "1.9.0", + "@webassemblyjs/utf8": "1.9.0" + } + }, + "@webassemblyjs/wast-parser": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.9.0.tgz", + "integrity": "sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/floating-point-hex-parser": "1.9.0", + "@webassemblyjs/helper-api-error": "1.9.0", + "@webassemblyjs/helper-code-frame": "1.9.0", + "@webassemblyjs/helper-fsm": "1.9.0", + "@xtuc/long": "4.2.2" + } + }, + "@webassemblyjs/wast-printer": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.9.0.tgz", + "integrity": "sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/wast-parser": "1.9.0", + "@xtuc/long": "4.2.2" + } + }, + "@xtuc/ieee754": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", + "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==", + "dev": true + }, + "@xtuc/long": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz", + "integrity": "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==", + "dev": true + }, + "acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "dev": true + }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ajv-errors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", + "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", + "dev": true + }, + "ajv-keywords": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", + "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", + "dev": true + }, + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "anymatch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", + "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", + "dev": true, + "optional": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==", + "dev": true + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "asn1.js": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", + "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "safer-buffer": "^2.1.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "assert": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", + "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", + "dev": true, + "requires": { + "object-assign": "^4.1.1", + "util": "0.10.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", + "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=", + "dev": true + }, + "util": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", + "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", + "dev": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "async-each": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", + "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==", + "dev": true, + "optional": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true + }, + "big.js": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", + "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", + "dev": true + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "optional": true + }, + "bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "dev": true + }, + "bn.js": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", + "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==", + "dev": true + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "brorand": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", + "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=", + "dev": true + }, + "browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", + "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", + "dev": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", + "integrity": "sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", + "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", + "dev": true, + "requires": { + "bn.js": "^5.0.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", + "integrity": "sha512-/vrA5fguVAKKAVTNJjgSm1tRQDHUU6DbwO9IROu/0WAzC8PKhucDSh18J0RMvVeHAn5puMd+QHC2erPRNf8lmg==", + "dev": true, + "requires": { + "bn.js": "^5.1.1", + "browserify-rsa": "^4.0.1", + "create-hash": "^1.2.0", + "create-hmac": "^1.1.7", + "elliptic": "^6.5.3", + "inherits": "^2.0.4", + "parse-asn1": "^5.1.5", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "browserify-zlib": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", + "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", + "dev": true, + "requires": { + "pako": "~1.0.5" + } + }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dev": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=", + "dev": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", + "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=", + "dev": true + }, + "cacache": { + "version": "12.0.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-12.0.4.tgz", + "integrity": "sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==", + "dev": true, + "requires": { + "bluebird": "^3.5.5", + "chownr": "^1.1.1", + "figgy-pudding": "^3.5.1", + "glob": "^7.1.4", + "graceful-fs": "^4.1.15", + "infer-owner": "^1.0.3", + "lru-cache": "^5.1.1", + "mississippi": "^3.0.0", + "mkdirp": "^0.5.1", + "move-concurrently": "^1.0.1", + "promise-inflight": "^1.0.1", + "rimraf": "^2.6.3", + "ssri": "^6.0.1", + "unique-filename": "^1.1.1", + "y18n": "^4.0.0" + } + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "dependencies": { + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + } + } + }, + "chokidar": { + "version": "3.5.1", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", + "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", + "dev": true, + "optional": true, + "requires": { + "anymatch": "~3.1.1", + "braces": "~3.0.2", + "fsevents": "~2.3.1", + "glob-parent": "~5.1.0", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.5.0" + } + }, + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "dev": true + }, + "chrome-trace-event": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz", + "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "cliui": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", + "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", + "dev": true, + "requires": { + "string-width": "^3.1.0", + "strip-ansi": "^5.2.0", + "wrap-ansi": "^5.1.0" + } + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "console-browserify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", + "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==", + "dev": true + }, + "constants-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", + "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=", + "dev": true + }, + "copy-concurrently": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", + "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "fs-write-stream-atomic": "^1.0.8", + "iferr": "^0.1.5", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.0" + } + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "create-ecdh": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", + "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.5.3" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "crypto-browserify": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", + "integrity": "sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==", + "dev": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "css-loader": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.6.0.tgz", + "integrity": "sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==", + "dev": true, + "requires": { + "camelcase": "^5.3.1", + "cssesc": "^3.0.0", + "icss-utils": "^4.1.1", + "loader-utils": "^1.2.3", + "normalize-path": "^3.0.0", + "postcss": "^7.0.32", + "postcss-modules-extract-imports": "^2.0.0", + "postcss-modules-local-by-default": "^3.0.2", + "postcss-modules-scope": "^2.2.0", + "postcss-modules-values": "^3.0.0", + "postcss-value-parser": "^4.1.0", + "schema-utils": "^2.7.0", + "semver": "^6.3.0" + } + }, + "cssesc": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", + "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", + "dev": true + }, + "cyclist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", + "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=", + "dev": true + }, + "d3": { + "version": "5.16.0", + "resolved": "https://registry.npmjs.org/d3/-/d3-5.16.0.tgz", + "integrity": "sha512-4PL5hHaHwX4m7Zr1UapXW23apo6pexCgdetdJ5kTmADpG/7T9Gkxw0M0tf/pjoB63ezCCm0u5UaFYy2aMt0Mcw==", + "dev": true, + "requires": { + "d3-array": "1", + "d3-axis": "1", + "d3-brush": "1", + "d3-chord": "1", + "d3-collection": "1", + "d3-color": "1", + "d3-contour": "1", + "d3-dispatch": "1", + "d3-drag": "1", + "d3-dsv": "1", + "d3-ease": "1", + "d3-fetch": "1", + "d3-force": "1", + "d3-format": "1", + "d3-geo": "1", + "d3-hierarchy": "1", + "d3-interpolate": "1", + "d3-path": "1", + "d3-polygon": "1", + "d3-quadtree": "1", + "d3-random": "1", + "d3-scale": "2", + "d3-scale-chromatic": "1", + "d3-selection": "1", + "d3-shape": "1", + "d3-time": "1", + "d3-time-format": "2", + "d3-timer": "1", + "d3-transition": "1", + "d3-voronoi": "1", + "d3-zoom": "1" + } + }, + "d3-array": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/d3-array/-/d3-array-1.2.4.tgz", + "integrity": "sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==", + "dev": true + }, + "d3-axis": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/d3-axis/-/d3-axis-1.0.12.tgz", + "integrity": "sha512-ejINPfPSNdGFKEOAtnBtdkpr24c4d4jsei6Lg98mxf424ivoDP2956/5HDpIAtmHo85lqT4pruy+zEgvRUBqaQ==", + "dev": true + }, + "d3-brush": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/d3-brush/-/d3-brush-1.1.6.tgz", + "integrity": "sha512-7RW+w7HfMCPyZLifTz/UnJmI5kdkXtpCbombUSs8xniAyo0vIbrDzDwUJB6eJOgl9u5DQOt2TQlYumxzD1SvYA==", + "dev": true, + "requires": { + "d3-dispatch": "1", + "d3-drag": "1", + "d3-interpolate": "1", + "d3-selection": "1", + "d3-transition": "1" + } + }, + "d3-chord": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/d3-chord/-/d3-chord-1.0.6.tgz", + "integrity": "sha512-JXA2Dro1Fxw9rJe33Uv+Ckr5IrAa74TlfDEhE/jfLOaXegMQFQTAgAw9WnZL8+HxVBRXaRGCkrNU7pJeylRIuA==", + "dev": true, + "requires": { + "d3-array": "1", + "d3-path": "1" + } + }, + "d3-collection": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-collection/-/d3-collection-1.0.7.tgz", + "integrity": "sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==", + "dev": true + }, + "d3-color": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/d3-color/-/d3-color-1.4.1.tgz", + "integrity": "sha512-p2sTHSLCJI2QKunbGb7ocOh7DgTAn8IrLx21QRc/BSnodXM4sv6aLQlnfpvehFMLZEfBc6g9pH9SWQccFYfJ9Q==", + "dev": true + }, + "d3-contour": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/d3-contour/-/d3-contour-1.3.2.tgz", + "integrity": "sha512-hoPp4K/rJCu0ladiH6zmJUEz6+u3lgR+GSm/QdM2BBvDraU39Vr7YdDCicJcxP1z8i9B/2dJLgDC1NcvlF8WCg==", + "dev": true, + "requires": { + "d3-array": "^1.1.1" + } + }, + "d3-delaunay": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/d3-delaunay/-/d3-delaunay-6.0.2.tgz", + "integrity": "sha512-IMLNldruDQScrcfT+MWnazhHbDJhcRJyOEBAJfwQnHle1RPh6WDuLvxNArUju2VSMSUuKlY5BGHRJ2cYyoFLQQ==", + "dev": true, + "requires": { + "delaunator": "5" + } + }, + "d3-dispatch": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/d3-dispatch/-/d3-dispatch-1.0.6.tgz", + "integrity": "sha512-fVjoElzjhCEy+Hbn8KygnmMS7Or0a9sI2UzGwoB7cCtvI1XpVN9GpoYlnb3xt2YV66oXYb1fLJ8GMvP4hdU1RA==", + "dev": true + }, + "d3-drag": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/d3-drag/-/d3-drag-1.2.5.tgz", + "integrity": "sha512-rD1ohlkKQwMZYkQlYVCrSFxsWPzI97+W+PaEIBNTMxRuxz9RF0Hi5nJWHGVJ3Om9d2fRTe1yOBINJyy/ahV95w==", + "dev": true, + "requires": { + "d3-dispatch": "1", + "d3-selection": "1" + } + }, + "d3-dsv": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/d3-dsv/-/d3-dsv-1.2.0.tgz", + "integrity": "sha512-9yVlqvZcSOMhCYzniHE7EVUws7Fa1zgw+/EAV2BxJoG3ME19V6BQFBwI855XQDsxyOuG7NibqRMTtiF/Qup46g==", + "dev": true, + "requires": { + "commander": "2", + "iconv-lite": "0.4", + "rw": "1" + } + }, + "d3-ease": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-ease/-/d3-ease-1.0.7.tgz", + "integrity": "sha512-lx14ZPYkhNx0s/2HX5sLFUI3mbasHjSSpwO/KaaNACweVwxUruKyWVcb293wMv1RqTPZyZ8kSZ2NogUZNcLOFQ==", + "dev": true + }, + "d3-fetch": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/d3-fetch/-/d3-fetch-1.2.0.tgz", + "integrity": "sha512-yC78NBVcd2zFAyR/HnUiBS7Lf6inSCoWcSxFfw8FYL7ydiqe80SazNwoffcqOfs95XaLo7yebsmQqDKSsXUtvA==", + "dev": true, + "requires": { + "d3-dsv": "1" + } + }, + "d3-force": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/d3-force/-/d3-force-1.2.1.tgz", + "integrity": "sha512-HHvehyaiUlVo5CxBJ0yF/xny4xoaxFxDnBXNvNcfW9adORGZfyNF1dj6DGLKyk4Yh3brP/1h3rnDzdIAwL08zg==", + "dev": true, + "requires": { + "d3-collection": "1", + "d3-dispatch": "1", + "d3-quadtree": "1", + "d3-timer": "1" + } + }, + "d3-format": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/d3-format/-/d3-format-1.4.5.tgz", + "integrity": "sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==", + "dev": true + }, + "d3-geo": { + "version": "1.12.1", + "resolved": "https://registry.npmjs.org/d3-geo/-/d3-geo-1.12.1.tgz", + "integrity": "sha512-XG4d1c/UJSEX9NfU02KwBL6BYPj8YKHxgBEw5om2ZnTRSbIcego6dhHwcxuSR3clxh0EpE38os1DVPOmnYtTPg==", + "dev": true, + "requires": { + "d3-array": "1" + } + }, + "d3-hierarchy": { + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/d3-hierarchy/-/d3-hierarchy-1.1.9.tgz", + "integrity": "sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==", + "dev": true + }, + "d3-interpolate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/d3-interpolate/-/d3-interpolate-1.4.0.tgz", + "integrity": "sha512-V9znK0zc3jOPV4VD2zZn0sDhZU3WAE2bmlxdIwwQPPzPjvyLkd8B3JUVdS1IDUFDkWZ72c9qnv1GK2ZagTZ8EA==", + "dev": true, + "requires": { + "d3-color": "1" + } + }, + "d3-path": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/d3-path/-/d3-path-1.0.9.tgz", + "integrity": "sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==", + "dev": true + }, + "d3-polygon": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/d3-polygon/-/d3-polygon-1.0.6.tgz", + "integrity": "sha512-k+RF7WvI08PC8reEoXa/w2nSg5AUMTi+peBD9cmFc+0ixHfbs4QmxxkarVal1IkVkgxVuk9JSHhJURHiyHKAuQ==", + "dev": true + }, + "d3-quadtree": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/d3-quadtree/-/d3-quadtree-1.0.7.tgz", + "integrity": "sha512-RKPAeXnkC59IDGD0Wu5mANy0Q2V28L+fNe65pOCXVdVuTJS3WPKaJlFHer32Rbh9gIo9qMuJXio8ra4+YmIymA==", + "dev": true + }, + "d3-random": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/d3-random/-/d3-random-1.1.2.tgz", + "integrity": "sha512-6AK5BNpIFqP+cx/sreKzNjWbwZQCSUatxq+pPRmFIQaWuoD+NrbVWw7YWpHiXpCQ/NanKdtGDuB+VQcZDaEmYQ==", + "dev": true + }, + "d3-scale": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/d3-scale/-/d3-scale-2.2.2.tgz", + "integrity": "sha512-LbeEvGgIb8UMcAa0EATLNX0lelKWGYDQiPdHj+gLblGVhGLyNbaCn3EvrJf0A3Y/uOOU5aD6MTh5ZFCdEwGiCw==", + "dev": true, + "requires": { + "d3-array": "^1.2.0", + "d3-collection": "1", + "d3-format": "1", + "d3-interpolate": "1", + "d3-time": "1", + "d3-time-format": "2" + } + }, + "d3-scale-chromatic": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/d3-scale-chromatic/-/d3-scale-chromatic-1.5.0.tgz", + "integrity": "sha512-ACcL46DYImpRFMBcpk9HhtIyC7bTBR4fNOPxwVSl0LfulDAwyiHyPOTqcDG1+t5d4P9W7t/2NAuWu59aKko/cg==", + "dev": true, + "requires": { + "d3-color": "1", + "d3-interpolate": "1" + } + }, + "d3-selection": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/d3-selection/-/d3-selection-1.4.2.tgz", + "integrity": "sha512-SJ0BqYihzOjDnnlfyeHT0e30k0K1+5sR3d5fNueCNeuhZTnGw4M4o8mqJchSwgKMXCNFo+e2VTChiSJ0vYtXkg==", + "dev": true + }, + "d3-shape": { + "version": "1.3.7", + "resolved": "https://registry.npmjs.org/d3-shape/-/d3-shape-1.3.7.tgz", + "integrity": "sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==", + "dev": true, + "requires": { + "d3-path": "1" + } + }, + "d3-time": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/d3-time/-/d3-time-1.1.0.tgz", + "integrity": "sha512-Xh0isrZ5rPYYdqhAVk8VLnMEidhz5aP7htAADH6MfzgmmicPkTo8LhkLxci61/lCB7n7UmE3bN0leRt+qvkLxA==", + "dev": true + }, + "d3-time-format": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/d3-time-format/-/d3-time-format-2.3.0.tgz", + "integrity": "sha512-guv6b2H37s2Uq/GefleCDtbe0XZAuy7Wa49VGkPVPMfLL9qObgBST3lEHJBMUp8S7NdLQAGIvr2KXk8Hc98iKQ==", + "dev": true, + "requires": { + "d3-time": "1" + } + }, + "d3-timer": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/d3-timer/-/d3-timer-1.0.10.tgz", + "integrity": "sha512-B1JDm0XDaQC+uvo4DT79H0XmBskgS3l6Ve+1SBCfxgmtIb1AVrPIoqd+nPSv+loMX8szQ0sVUhGngL7D5QPiXw==", + "dev": true + }, + "d3-transition": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/d3-transition/-/d3-transition-1.3.2.tgz", + "integrity": "sha512-sc0gRU4PFqZ47lPVHloMn9tlPcv8jxgOQg+0zjhfZXMQuvppjG6YuwdMBE0TuqCZjeJkLecku/l9R0JPcRhaDA==", + "dev": true, + "requires": { + "d3-color": "1", + "d3-dispatch": "1", + "d3-ease": "1", + "d3-interpolate": "1", + "d3-selection": "^1.1.0", + "d3-timer": "1" + } + }, + "d3-voronoi": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/d3-voronoi/-/d3-voronoi-1.1.4.tgz", + "integrity": "sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==", + "dev": true + }, + "d3-zoom": { + "version": "1.8.3", + "resolved": "https://registry.npmjs.org/d3-zoom/-/d3-zoom-1.8.3.tgz", + "integrity": "sha512-VoLXTK4wvy1a0JpH2Il+F2CiOhVu7VRXWF5M/LroMIh3/zBAC3WAt7QoIvPibOavVo20hN6/37vwAsdBejLyKQ==", + "dev": true, + "requires": { + "d3-dispatch": "1", + "d3-drag": "1", + "d3-interpolate": "1", + "d3-selection": "1", + "d3-transition": "1" + } + }, + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "delaunator": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/delaunator/-/delaunator-5.0.0.tgz", + "integrity": "sha512-AyLvtyJdbv/U1GkiS6gUUzclRoAY4Gs75qkMygJJhU75LW4DNuSF2RMzpxs9jw9Oz1BobHjTdkG3zdP55VxAqw==", + "dev": true, + "requires": { + "robust-predicates": "^3.0.0" + } + }, + "des.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", + "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "detect-file": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", + "dev": true + }, + "diffie-hellman": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", + "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "domain-browser": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", + "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", + "dev": true + }, + "duplexify": { + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", + "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", + "dev": true, + "requires": { + "end-of-stream": "^1.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.0.0", + "stream-shift": "^1.0.0" + } + }, + "elliptic": { + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", + "integrity": "sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ==", + "dev": true, + "requires": { + "bn.js": "^4.11.9", + "brorand": "^1.1.0", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.1", + "inherits": "^2.0.4", + "minimalistic-assert": "^1.0.1", + "minimalistic-crypto-utils": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "emojis-list": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", + "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", + "dev": true + }, + "end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "requires": { + "once": "^1.4.0" + } + }, + "enhanced-resolve": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", + "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "memory-fs": "^0.5.0", + "tapable": "^1.0.0" + } + }, + "errno": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", + "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", + "dev": true, + "requires": { + "prr": "~1.0.1" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "eslint-scope": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", + "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "requires": { + "estraverse": "^5.2.0" + }, + "dependencies": { + "estraverse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", + "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", + "dev": true + } + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true + }, + "evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "expand-tilde": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", + "dev": true, + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "figgy-pudding": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", + "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==", + "dev": true + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-cache-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", + "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", + "dev": true, + "requires": { + "commondir": "^1.0.1", + "make-dir": "^2.0.0", + "pkg-dir": "^3.0.0" + } + }, + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "findup-sync": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/findup-sync/-/findup-sync-3.0.0.tgz", + "integrity": "sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==", + "dev": true, + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.0", + "micromatch": "^3.0.4", + "resolve-dir": "^1.0.1" + }, + "dependencies": { + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "flush-write-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", + "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "readable-stream": "^2.3.6" + } + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "from2": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", + "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "^2.0.0" + } + }, + "fs-write-stream-atomic": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", + "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "iferr": "^0.1.5", + "imurmurhash": "^0.1.4", + "readable-stream": "1 || 2" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "optional": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "global-modules": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", + "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", + "dev": true, + "requires": { + "global-prefix": "^3.0.0" + }, + "dependencies": { + "global-prefix": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", + "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", + "dev": true, + "requires": { + "ini": "^1.3.5", + "kind-of": "^6.0.2", + "which": "^1.3.1" + } + } + } + }, + "global-prefix": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", + "dev": true, + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + } + }, + "graceful-fs": { + "version": "4.2.6", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", + "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==", + "dev": true + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "requires": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "dependencies": { + "readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + } + } + }, + "hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "hmac-drbg": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", + "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", + "dev": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "homedir-polyfill": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", + "dev": true, + "requires": { + "parse-passwd": "^1.0.0" + } + }, + "https-browserify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", + "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=", + "dev": true + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "icss-utils": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-4.1.1.tgz", + "integrity": "sha512-4aFq7wvWyMHKgxsH8QQtGpvbASCf+eM3wPRLI6R+MgAnTCZ6STYsRvttLvRWK0Nfif5piF394St3HeJDaljGPA==", + "dev": true, + "requires": { + "postcss": "^7.0.14" + } + }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, + "iferr": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", + "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=", + "dev": true + }, + "import-local": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", + "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", + "dev": true, + "requires": { + "pkg-dir": "^3.0.0", + "resolve-cwd": "^2.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "indexes-of": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", + "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=", + "dev": true + }, + "infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "optional": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "is-wsl": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", + "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "loader-runner": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", + "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", + "dev": true + }, + "loader-utils": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", + "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^1.0.1" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "requires": { + "yallist": "^3.0.2" + } + }, + "make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "requires": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "dependencies": { + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + } + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "memory-fs": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", + "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "micromatch": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz", + "integrity": "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==", + "dev": true, + "requires": { + "braces": "^3.0.1", + "picomatch": "^2.0.5" + } + }, + "miller-rabin": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", + "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", + "dev": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", + "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "mississippi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", + "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", + "dev": true, + "requires": { + "concat-stream": "^1.5.0", + "duplexify": "^3.4.2", + "end-of-stream": "^1.1.0", + "flush-write-stream": "^1.0.0", + "from2": "^2.1.0", + "parallel-transform": "^1.1.0", + "pump": "^3.0.0", + "pumpify": "^1.3.3", + "stream-each": "^1.1.0", + "through2": "^2.0.0" + } + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "move-concurrently": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", + "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", + "dev": true, + "requires": { + "aproba": "^1.1.1", + "copy-concurrently": "^1.0.0", + "fs-write-stream-atomic": "^1.0.8", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.4", + "run-queue": "^1.0.3" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node-libs-browser": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", + "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", + "dev": true, + "requires": { + "assert": "^1.1.1", + "browserify-zlib": "^0.2.0", + "buffer": "^4.3.0", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.11.0", + "domain-browser": "^1.1.1", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "0.0.1", + "process": "^0.11.10", + "punycode": "^1.2.4", + "querystring-es3": "^0.2.0", + "readable-stream": "^2.3.3", + "stream-browserify": "^2.0.1", + "stream-http": "^2.7.2", + "string_decoder": "^1.0.0", + "timers-browserify": "^2.0.4", + "tty-browserify": "0.0.0", + "url": "^0.11.0", + "util": "^0.11.0", + "vm-browserify": "^1.0.1" + }, + "dependencies": { + "punycode": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", + "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=", + "dev": true + } + } + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "os-browserify": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", + "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=", + "dev": true + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==", + "dev": true + }, + "parallel-transform": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz", + "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", + "dev": true, + "requires": { + "cyclist": "^1.0.1", + "inherits": "^2.0.3", + "readable-stream": "^2.1.5" + } + }, + "parse-asn1": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", + "integrity": "sha512-RnZRo1EPU6JBnra2vGHj0yhp6ebyjBZpmUCLHWiFhxlzvBCCpAuZ7elsBp1PVAbQN0/04VD/19rfzlBSwLstMw==", + "dev": true, + "requires": { + "asn1.js": "^5.2.0", + "browserify-aes": "^1.0.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "parse-passwd": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/parse-passwd/-/parse-passwd-1.0.0.tgz", + "integrity": "sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY=", + "dev": true + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-browserify": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", + "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", + "dev": true + }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=", + "dev": true, + "optional": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "pbkdf2": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", + "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", + "dev": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "picomatch": { + "version": "2.2.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", + "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", + "dev": true + }, + "pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true + }, + "pkg-dir": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", + "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", + "dev": true, + "requires": { + "find-up": "^3.0.0" + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "postcss": { + "version": "7.0.35", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", + "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "source-map": "^0.6.1", + "supports-color": "^6.1.0" + } + }, + "postcss-modules-extract-imports": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz", + "integrity": "sha512-LaYLDNS4SG8Q5WAWqIJgdHPJrDDr/Lv775rMBFUbgjTz6j34lUznACHcdRWroPvXANP2Vj7yNK57vp9eFqzLWQ==", + "dev": true, + "requires": { + "postcss": "^7.0.5" + } + }, + "postcss-modules-local-by-default": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz", + "integrity": "sha512-e3xDq+LotiGesympRlKNgaJ0PCzoUIdpH0dj47iWAui/kyTgh3CiAr1qP54uodmJhl6p9rN6BoNcdEDVJx9RDw==", + "dev": true, + "requires": { + "icss-utils": "^4.1.1", + "postcss": "^7.0.32", + "postcss-selector-parser": "^6.0.2", + "postcss-value-parser": "^4.1.0" + } + }, + "postcss-modules-scope": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz", + "integrity": "sha512-YyEgsTMRpNd+HmyC7H/mh3y+MeFWevy7V1evVhJWewmMbjDHIbZbOXICC2y+m1xI1UVfIT1HMW/O04Hxyu9oXQ==", + "dev": true, + "requires": { + "postcss": "^7.0.6", + "postcss-selector-parser": "^6.0.0" + } + }, + "postcss-modules-values": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz", + "integrity": "sha512-1//E5jCBrZ9DmRX+zCtmQtRSV6PV42Ix7Bzj9GbwJceduuf7IqP8MgeTXuRDHOWj2m0VzZD5+roFWDuU8RQjcg==", + "dev": true, + "requires": { + "icss-utils": "^4.0.0", + "postcss": "^7.0.6" + } + }, + "postcss-selector-parser": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", + "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", + "dev": true, + "requires": { + "cssesc": "^3.0.0", + "indexes-of": "^1.0.1", + "uniq": "^1.0.1", + "util-deprecate": "^1.0.2" + } + }, + "postcss-value-parser": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", + "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==", + "dev": true + }, + "process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=", + "dev": true + }, + "prr": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", + "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=", + "dev": true + }, + "public-encrypt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", + "integrity": "sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==", + "dev": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + }, + "dependencies": { + "bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + } + } + }, + "pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "pumpify": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", + "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", + "dev": true, + "requires": { + "duplexify": "^3.6.0", + "inherits": "^2.0.3", + "pump": "^2.0.0" + }, + "dependencies": { + "pump": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", + "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + } + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "dev": true + }, + "querystring-es3": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", + "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", + "dev": true + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", + "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", + "dev": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "readdirp": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", + "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", + "dev": true, + "optional": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "remove-trailing-separator": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", + "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=", + "dev": true, + "optional": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "resolve-cwd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", + "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", + "dev": true, + "requires": { + "resolve-from": "^3.0.0" + } + }, + "resolve-dir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", + "dev": true, + "requires": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + }, + "dependencies": { + "global-modules": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "dev": true, + "requires": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + } + } + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "robust-predicates": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.1.tgz", + "integrity": "sha512-ndEIpszUHiG4HtDsQLeIuMvRsDnn8c8rYStabochtUeCvfuvNptb5TUbVD68LRAILPX7p9nqQGh4xJgn3EHS/g==", + "dev": true + }, + "run-queue": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", + "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", + "dev": true, + "requires": { + "aproba": "^1.1.1" + } + }, + "rw": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/rw/-/rw-1.3.3.tgz", + "integrity": "sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q=", + "dev": true + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "schema-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.1.tgz", + "integrity": "sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.5", + "ajv": "^6.12.4", + "ajv-keywords": "^3.5.2" + } + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + }, + "serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "setimmediate": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", + "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=", + "dev": true + }, + "sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "source-list-map": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", + "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "dev": true, + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "source-map-url": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", + "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==", + "dev": true + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "ssri": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", + "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "dev": true, + "requires": { + "figgy-pudding": "^3.5.1" + } + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "stream-browserify": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", + "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", + "dev": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + } + }, + "stream-each": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", + "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", + "dev": true, + "requires": { + "end-of-stream": "^1.1.0", + "stream-shift": "^1.0.0" + } + }, + "stream-http": { + "version": "2.8.3", + "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", + "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", + "dev": true, + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^2.3.6", + "to-arraybuffer": "^1.0.0", + "xtend": "^4.0.0" + } + }, + "stream-shift": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", + "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==", + "dev": true + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + }, + "style-loader": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-1.3.0.tgz", + "integrity": "sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==", + "dev": true, + "requires": { + "loader-utils": "^2.0.0", + "schema-utils": "^2.7.0" + }, + "dependencies": { + "json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "loader-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz", + "integrity": "sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ==", + "dev": true, + "requires": { + "big.js": "^5.2.2", + "emojis-list": "^3.0.0", + "json5": "^2.1.2" + } + } + } + }, + "supports-color": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", + "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "tapable": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", + "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", + "dev": true + }, + "terser": { + "version": "4.8.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-4.8.0.tgz", + "integrity": "sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==", + "dev": true, + "requires": { + "commander": "^2.20.0", + "source-map": "~0.6.1", + "source-map-support": "~0.5.12" + } + }, + "terser-webpack-plugin": { + "version": "1.4.5", + "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.4.5.tgz", + "integrity": "sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==", + "dev": true, + "requires": { + "cacache": "^12.0.2", + "find-cache-dir": "^2.1.0", + "is-wsl": "^1.1.0", + "schema-utils": "^1.0.0", + "serialize-javascript": "^4.0.0", + "source-map": "^0.6.1", + "terser": "^4.1.2", + "webpack-sources": "^1.4.0", + "worker-farm": "^1.7.0" + }, + "dependencies": { + "schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + } + } + } + }, + "through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "requires": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "timers-browserify": { + "version": "2.0.12", + "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", + "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", + "dev": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, + "to-arraybuffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", + "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=", + "dev": true + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "ts-loader": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/ts-loader/-/ts-loader-6.2.2.tgz", + "integrity": "sha512-HDo5kXZCBml3EUPcc7RlZOV/JGlLHwppTLEHb3SHnr5V7NXD4klMEkrhJe5wgRbaWsSXi+Y1SIBN/K9B6zWGWQ==", + "dev": true, + "requires": { + "chalk": "^2.3.0", + "enhanced-resolve": "^4.0.0", + "loader-utils": "^1.0.2", + "micromatch": "^4.0.0", + "semver": "^6.0.0" + } + }, + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "tty-browserify": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", + "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "typescript": { + "version": "3.9.9", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.9.tgz", + "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==", + "dev": true + }, + "union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + } + }, + "uniq": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", + "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=", + "dev": true + }, + "unique-filename": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", + "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", + "dev": true, + "requires": { + "unique-slug": "^2.0.0" + } + }, + "unique-slug": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", + "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", + "dev": true, + "requires": { + "imurmurhash": "^0.1.4" + } + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + } + } + }, + "upath": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", + "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", + "dev": true, + "optional": true + }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "url": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", + "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", + "dev": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=", + "dev": true + } + } + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "util": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", + "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", + "dev": true, + "requires": { + "inherits": "2.0.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true + }, + "vm-browserify": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", + "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==", + "dev": true + }, + "watchpack": { + "version": "1.7.5", + "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", + "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", + "dev": true, + "requires": { + "chokidar": "^3.4.1", + "graceful-fs": "^4.1.2", + "neo-async": "^2.5.0", + "watchpack-chokidar2": "^2.0.1" + } + }, + "watchpack-chokidar2": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", + "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", + "dev": true, + "optional": true, + "requires": { + "chokidar": "^2.1.8" + }, + "dependencies": { + "anymatch": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", + "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", + "dev": true, + "optional": true, + "requires": { + "micromatch": "^3.1.4", + "normalize-path": "^2.1.1" + }, + "dependencies": { + "normalize-path": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", + "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", + "dev": true, + "optional": true, + "requires": { + "remove-trailing-separator": "^1.0.1" + } + } + } + }, + "binary-extensions": { + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", + "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", + "dev": true, + "optional": true + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "optional": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "chokidar": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", + "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", + "dev": true, + "optional": true, + "requires": { + "anymatch": "^2.0.0", + "async-each": "^1.0.1", + "braces": "^2.3.2", + "fsevents": "^1.2.7", + "glob-parent": "^3.1.0", + "inherits": "^2.0.3", + "is-binary-path": "^1.0.0", + "is-glob": "^4.0.0", + "normalize-path": "^3.0.0", + "path-is-absolute": "^1.0.0", + "readdirp": "^2.2.1", + "upath": "^1.1.1" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "optional": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "optional": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fsevents": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", + "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", + "dev": true, + "optional": true + }, + "glob-parent": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", + "dev": true, + "optional": true, + "requires": { + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", + "dev": true, + "optional": true, + "requires": { + "is-extglob": "^2.1.0" + } + } + } + }, + "is-binary-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", + "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", + "dev": true, + "optional": true, + "requires": { + "binary-extensions": "^1.0.0" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "optional": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "optional": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "optional": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "readdirp": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", + "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", + "dev": true, + "optional": true, + "requires": { + "graceful-fs": "^4.1.11", + "micromatch": "^3.1.10", + "readable-stream": "^2.0.2" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "optional": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "webpack": { + "version": "4.46.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.46.0.tgz", + "integrity": "sha512-6jJuJjg8znb/xRItk7bkT0+Q7AHCYjjFnvKIWQPkNIOyRqoCGvkOs0ipeQzrqz4l5FtN5ZI/ukEHroeX/o1/5Q==", + "dev": true, + "requires": { + "@webassemblyjs/ast": "1.9.0", + "@webassemblyjs/helper-module-context": "1.9.0", + "@webassemblyjs/wasm-edit": "1.9.0", + "@webassemblyjs/wasm-parser": "1.9.0", + "acorn": "^6.4.1", + "ajv": "^6.10.2", + "ajv-keywords": "^3.4.1", + "chrome-trace-event": "^1.0.2", + "enhanced-resolve": "^4.5.0", + "eslint-scope": "^4.0.3", + "json-parse-better-errors": "^1.0.2", + "loader-runner": "^2.4.0", + "loader-utils": "^1.2.3", + "memory-fs": "^0.4.1", + "micromatch": "^3.1.10", + "mkdirp": "^0.5.3", + "neo-async": "^2.6.1", + "node-libs-browser": "^2.2.1", + "schema-utils": "^1.0.0", + "tapable": "^1.1.3", + "terser-webpack-plugin": "^1.4.3", + "watchpack": "^1.7.4", + "webpack-sources": "^1.4.1" + }, + "dependencies": { + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "memory-fs": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", + "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", + "dev": true, + "requires": { + "errno": "^0.1.3", + "readable-stream": "^2.0.1" + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "schema-utils": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", + "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", + "dev": true, + "requires": { + "ajv": "^6.1.0", + "ajv-errors": "^1.0.0", + "ajv-keywords": "^3.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + } + } + }, + "webpack-cli": { + "version": "3.3.12", + "resolved": "https://registry.npmjs.org/webpack-cli/-/webpack-cli-3.3.12.tgz", + "integrity": "sha512-NVWBaz9k839ZH/sinurM+HcDvJOTXwSjYp1ku+5XKeOC03z8v5QitnK/x+lAxGXFyhdayoIf/GOpv85z3/xPag==", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "cross-spawn": "^6.0.5", + "enhanced-resolve": "^4.1.1", + "findup-sync": "^3.0.0", + "global-modules": "^2.0.0", + "import-local": "^2.0.0", + "interpret": "^1.4.0", + "loader-utils": "^1.4.0", + "supports-color": "^6.1.0", + "v8-compile-cache": "^2.1.1", + "yargs": "^13.3.2" + } + }, + "webpack-sources": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", + "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", + "dev": true, + "requires": { + "source-list-map": "^2.0.0", + "source-map": "~0.6.1" + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "worker-farm": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", + "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", + "dev": true, + "requires": { + "errno": "~0.1.7" + } + }, + "wrap-ansi": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", + "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.0", + "string-width": "^3.0.0", + "strip-ansi": "^5.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true + }, + "y18n": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", + "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==", + "dev": true + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true + }, + "yargs": { + "version": "13.3.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.2.tgz", + "integrity": "sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==", + "dev": true, + "requires": { + "cliui": "^5.0.0", + "find-up": "^3.0.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^3.0.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^13.1.2" + } + }, + "yargs-parser": { + "version": "13.1.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.2.tgz", + "integrity": "sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==", + "dev": true, + "requires": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..cda7bd9 --- /dev/null +++ b/package.json @@ -0,0 +1,30 @@ +{ + "name": "@chartwerk/scatter-pod", + "version": "0.2.4", + "description": "Chartwerk scatter pod", + "main": "dist/index.js", + "scripts": { + "build": "webpack --config build/webpack.prod.conf.js", + "dev": "webpack --config build/webpack.dev.conf.js", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": {}, + "author": "CorpGlory", + "license": "Apache-2.0", + "dependencies": { + "@chartwerk/core": "github:chartwerk/core#532eddbc8ad938091b1d9ec1693cec5eddfdbfc2" + }, + "devDependencies": { + "@types/d3": "^5.7.2", + "@types/lodash": "^4.14.149", + "css-loader": "^3.4.2", + "d3": "^5.15.0", + "d3-delaunay": "^6.0.2", + "lodash": "^4.17.15", + "style-loader": "^1.1.3", + "ts-loader": "^6.2.1", + "typescript": "^3.8.3", + "webpack": "^4.42.0", + "webpack-cli": "^3.3.11" + } +} diff --git a/src/delaunay.ts b/src/delaunay.ts new file mode 100644 index 0000000..a05b634 --- /dev/null +++ b/src/delaunay.ts @@ -0,0 +1,89 @@ +import { ScatterData, PointType } from './types'; + +import { Delaunay } from 'd3-delaunay'; + +import * as _ from 'lodash'; +import * as d3 from 'd3'; // only types + + +export class DelaunayDiagram { + private _delaunayData: number[][]; // [ 0:y, 1:x, ..., last:serieIdx ][] + private _delaunayDiagram: any; + + constructor( + protected series: ScatterData[], + xScale: d3.ScaleLinear, yScale: (string) => d3.ScaleLinear, // TODO: bad, but idk how to do it better + ) { + this._delaunayData = this.getDatapointsForDelaunay(); + this.setDelaunayDiagram(xScale, yScale); + } + + public get data(): number[][] | undefined { + if(!this._delaunayData || this._delaunayData.length === 0) { + return undefined; + } + return this._delaunayData; + } + + public setDelaunayDiagram(xScale: d3.ScaleLinear, yScale: (string) => d3.ScaleLinear) { + if(!this._delaunayData) { + console.warn('No data for delaunay initialization'); + return; + } + console.time('delaunay-init'); + this._delaunayDiagram = Delaunay.from( + this._delaunayData, + (d: number[]) => xScale(d[1]), + (d: number[]) => yScale(this.series[_.last(d)].yOrientation)(d[0]), + ); + console.timeEnd('delaunay-init'); + } + + public findPointIndex(eventX: number, eventY: number): number | undefined { + if(!this._delaunayDiagram) { + return undefined; + } + let pointIndex = this._delaunayDiagram.find(eventX, eventY); + if(pointIndex === -1) { + return undefined; + } + // TODO: add search radius via https://github.com/d3/d3-delaunay/issues/45 + return pointIndex; + } + + public getDataRowByIndex(index: number): number[] | undefined { + if(!this.data) { + return undefined; + } + return this.data[index]; + } + + private getDatapointsForDelaunay(): number[][] | undefined { + // here we union all datapoints with point render type(circle or rectangle) + // it means that circles and rectangles will be highlighted(not lines) + // TODO: set Defaults (if pointType === undefined, Circle type will be used futher) + const seriesForPointType = this.series.filter((serie: ScatterData) => serie.pointType !== PointType.NONE); + if(seriesForPointType.length === 0) { + return undefined; // to avoid ts error + } + return this.concatSeriesDatapoints(seriesForPointType); + } + + private concatSeriesDatapoints(series: ScatterData[]): number[][] { + // return type row: [ 0:y, 1:x, 2?:custom value, last:serieIdx ] + const datapointsList = _.map(series, serie => { + const serieIdx = this.getSerieIdxByTarget(serie.target); + const datapointsWithOptions = _.map(serie.datapoints, row => _.concat(row, serieIdx)); + return datapointsWithOptions; + }); + return _.union(...datapointsList); + } + + private getSerieIdxByTarget(target: string): number { + const idx = _.findIndex(this.series, serie => serie.target === target); + if(idx === -1) { + throw new Error(`Can't find serie with target: ${target}`); + } + return idx; + } +} diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..a0c4195 --- /dev/null +++ b/src/index.ts @@ -0,0 +1,359 @@ +import { ChartwerkPod, VueChartwerkPodMixin, TickOrientation, TimeFormat, yAxisOrientation, CrosshairOrientation, PanOrientation } from '@chartwerk/core'; +import { ScatterData, ScatterOptions, PointType, LineType, ColorFormatter } from './types'; + +import { DelaunayDiagram } from './delaunay'; + +import * as d3 from 'd3'; +import * as _ from 'lodash'; + +// TODO: use pod state with defaults +const DEFAULT_POINT_SIZE = 4; +const POINT_HIGHLIGHT_DIAMETER = 4; +const CROSSHAIR_BACKGROUND_OPACITY = 0.3; +const DEFAULT_POINT_TYPE = PointType.CIRCLE; +const DEFAULT_LINE_TYPE = LineType.NONE; +const DEFAULT_LINE_DASHED_AMOUNT = 4; + +export class ChartwerkScatterPod extends ChartwerkPod { + _metricsContainer: any; + _delaunayDiagram: DelaunayDiagram; + + constructor(el: HTMLElement, _series: ScatterData[] = [], _options: ScatterOptions = {}) { + super(d3, el, _series, _options); + } + + renderMetrics(): void { + if(this.series.length === 0) { + this.renderNoDataPointsMessage(); + return; + } + this.updateCrosshair(); + this.renderMetricContainer(); + + this._delaunayDiagram = new DelaunayDiagram(this.series, this.xScale, this.getYScale.bind(this)); + + this.renderLines(); + this.renderPoints(); + } + + renderMetricContainer(): void { + // container for clip path + const clipContatiner = this.chartContainer + .append('g') + .attr('clip-path', `url(#${this.rectClipId})`) + .attr('class', 'metrics-container'); + // container for panning + this._metricsContainer = clipContatiner + .append('g') + .attr('class', ' metrics-rect'); + } + + protected updateCrosshair(): void { + // TODO: Crosshair class, which can be used as Pod + this.appendCrosshairPoints(); + } + + appendCrosshairPoints(): void { + this.series.forEach((serie: ScatterData, serieIdx: number) => { + this.appendCrosshairPoint(serieIdx); + }); + } + + protected appendCrosshairPoint(serieIdx: number): void { + // TODO: add Crosshair type options + const pointType = this.series[serieIdx].pointType || DEFAULT_POINT_TYPE; + switch(pointType) { + case PointType.NONE: + return; + case PointType.CIRCLE: + this.crosshair.append('circle') + .attr('class', `crosshair-point crosshair-point-${serieIdx} crosshair-background`) + .attr('r', this.getCrosshairCircleBackgroundSize(serieIdx)) + .attr('clip-path', `url(#${this.rectClipId})`) + .style('opacity', CROSSHAIR_BACKGROUND_OPACITY) + .style('pointer-events', 'none') + .style('display', 'none'); + return; + case PointType.RECTANGLE: + this.crosshair.append('rect') + .attr('class', `crosshair-point crosshair-point-${serieIdx} crosshair-background`) + .attr('width', this.getCrosshairCircleBackgroundSize(serieIdx)) + .attr('height', this.getCrosshairCircleBackgroundSize(serieIdx)) + .attr('clip-path', `url(#${this.rectClipId})`) + .style('opacity', CROSSHAIR_BACKGROUND_OPACITY) + .style('pointer-events', 'none') + .style('display', 'none'); + return; + default: + throw new Error(`Unknown render point type: ${pointType}`); + } + } + + protected renderLines(): void { + this.series.forEach((serie, serieIdx) => { + if(serie.visible === false) { + return; + } + const lineType = serie.lineType || DEFAULT_LINE_TYPE; + this.renderLine(serie.datapoints, lineType, this.getSerieColor(serieIdx), serie.yOrientation); + }); + } + + renderLine(datapoints: number[][], lineType: LineType, color: string, orientation: yAxisOrientation): void { + if(lineType === LineType.NONE) { + return; + } + let strokeDasharray; + // TODO: move to option + if(lineType === LineType.DASHED) { + strokeDasharray = DEFAULT_LINE_DASHED_AMOUNT; + } + const lineGenerator = this.d3.line() + .x((d: [number, number]) => this.xScale(d[1])) + .y((d: [number, number]) => this.getYScale(orientation)(d[0])); + + this._metricsContainer + .append('path') + .datum(datapoints) + .attr('class', 'metric-path') + .attr('fill', 'none') + .style('pointer-events', 'none') + .attr('stroke', color) + .attr('stroke-width', 1) + .attr('stroke-opacity', 0.7) + .attr('stroke-dasharray', strokeDasharray) + .attr('d', lineGenerator); + } + + protected renderPoints(): void { + if(!this._delaunayDiagram.data) { + return; + } + + this._metricsContainer.selectAll(null) + .data(this._delaunayDiagram.data) + .enter() + .append('circle') + .filter((d: number[]) => this.series[_.last(d)].pointType !== PointType.RECTANGLE) + .attr('class', (d, i: number) => `metric-element metric-circle point-${i}`) + .attr('r', (d: number[]) => this.series[_.last(d)].pointSize || DEFAULT_POINT_SIZE) + .style('fill', (d: number[]) => this.getSerieColor(_.last(d))) + .style('pointer-events', 'none') + .attr('cx', (d: any[]) => this.xScale(d[1])) + .attr('cy', (d: any[]) => this.getYScale(this.series[_.last(d)].yOrientation)(d[0])); + + this._metricsContainer.selectAll(null) + .data(this._delaunayDiagram.data) + .enter() + .append('rect') + .filter((d: number[]) => this.series[_.last(d)].pointType === PointType.RECTANGLE) + .attr('class', (d, i: number) => `metric-element metric-circle point-${i}`) + .attr('r', (d: number[]) => this.series[_.last(d)].pointSize || DEFAULT_POINT_SIZE) + .style('fill', (d: number[]) => this.getSerieColor(_.last(d))) + .style('pointer-events', 'none') + .attr('x', (d: number[]) => this.xScale(d[1]) - (this.series[_.last(d)].pointSize || DEFAULT_POINT_SIZE) / 2) + .attr('y', (d: number[]) => this.getYScale(this.series[_.last(d)].yOrientation)(d[0]) - (this.series[_.last(d)].pointSize || DEFAULT_POINT_SIZE) / 2) + .attr('width', (d: number[]) => this.series[_.last(d)].pointSize || DEFAULT_POINT_SIZE) + .attr('height', (d: number[]) => this.series[_.last(d)].pointSize || DEFAULT_POINT_SIZE); + } + + onPanningEnd(): void { + this.isPanning = false; + this.onMouseOut(); + this._delaunayDiagram.setDelaunayDiagram(this.xScale, this.getYScale.bind(this)); + if(this.options.eventsCallbacks !== undefined && this.options.eventsCallbacks.panningEnd !== undefined) { + this.options.eventsCallbacks.panningEnd([this.state.xValueRange, this.state.yValueRange, this.state.y1ValueRange]); + } else { + console.log('on panning end, but there is no callback'); + } + } + + unhighlight(): void { + this.crosshair.selectAll('.crosshair-point').style('display', 'none'); + } + + highlight(pointIdx: number): void { + this.unhighlight(); + + const datapoint = this._delaunayDiagram.getDataRowByIndex(pointIdx); + if(datapoint === undefined || datapoint === null) { + return; + } + + const serieIdx = _.last(datapoint); + const serieOrientation = this.series[serieIdx].yOrientation; + const size = this.getCrosshairCircleBackgroundSize(serieIdx); + const colorFormatter = this.series[serieIdx].colorFormatter; + this.crosshair.selectAll(`.crosshair-point-${serieIdx}`) + .attr('cx', this.xScale(datapoint[1])) + .attr('cy', this.getYScale(serieOrientation)(datapoint[0])) + .attr('x', this.xScale(datapoint[1]) - size / 2) + .attr('y', this.getYScale(serieOrientation)(datapoint[0]) - size / 2) + .attr('fill', colorFormatter !== undefined ? colorFormatter(datapoint) : this.series[serieIdx].color) + .style('display', null); + } + + protected getCrosshairCircleBackgroundSize(serieIdx: number): number { + const seriePointSize = this.series[serieIdx].pointSize || DEFAULT_POINT_SIZE; + const pointType = this.series[serieIdx].pointType || DEFAULT_POINT_TYPE; + let highlightDiameter = POINT_HIGHLIGHT_DIAMETER; + if(pointType === PointType.RECTANGLE) { + highlightDiameter = highlightDiameter * 2; + } + return seriePointSize + highlightDiameter; + } + + public renderSharedCrosshair(values: { x?: number, y?: number }): void { + this.onMouseOver(); // TODO: refactor to use it once + const eventX = this.xScale(values.x); + const eventY = this.yScale(values.y); + this.moveCrosshairLine(eventX, eventY); + const datapoints = this.findAndHighlightDatapoints(values.x, values.y); + + if(this.options.eventsCallbacks === undefined || this.options.eventsCallbacks.sharedCrosshairMove === undefined) { + console.log('Shared crosshair move, but there is no callback'); + return; + } + + this.options.eventsCallbacks.sharedCrosshairMove({ + datapoints, + eventX, eventY + }); + } + + moveCrosshairLine(xPosition: number, yPosition: number): void { + switch (this.options.crosshair.orientation) { + case CrosshairOrientation.VERTICAL: + this.crosshair.select('#crosshair-line-x') + .attr('x1', xPosition) + .attr('x2', xPosition); + return; + case CrosshairOrientation.HORIZONTAL: + this.crosshair.select('#crosshair-line-y') + .attr('y1', yPosition) + .attr('y2', yPosition); + return; + case CrosshairOrientation.BOTH: + this.crosshair.select('#crosshair-line-x') + .attr('x1', xPosition) + .attr('x2', xPosition); + this.crosshair.select('#crosshair-line-y') + .attr('y1', yPosition) + .attr('y2', yPosition); + return; + default: + throw new Error(`Unknown type of crosshair orientaion: ${this.options.crosshair.orientation}`); + } + } + + findAndHighlightDatapoints(eventX: number, eventY: number): { values: any[], pointIdx: number } | null { + if(this.series === undefined || this.series.length === 0) { + return null; + } + + const pointIndex = this._delaunayDiagram.findPointIndex(eventX, eventY); + if(pointIndex === undefined) { + this.unhighlight(); + return null; + } + this.highlight(pointIndex); + + return { + values: this._delaunayDiagram.data[pointIndex], + pointIdx: pointIndex, + }; + } + + protected getYScale(orientation: yAxisOrientation): d3.ScaleLinear { + if(orientation === undefined || orientation === yAxisOrientation.BOTH) { + return this.yScale; + } + switch(orientation) { + case yAxisOrientation.LEFT: + return this.yScale; + case yAxisOrientation.RIGHT: + return this.y1Scale; + default: + throw new Error(`Unknown type of y axis orientation: ${orientation}`) + } + } + + public hideSharedCrosshair(): void { + this.crosshair.style('display', 'none'); + } + + onMouseMove(): void { + const mousePosition = this.d3.mouse(this.chartContainer.node()); + const eventX = mousePosition[0]; + const eventY = mousePosition[1]; + + // TODO: seems isOutOfChart is deprecated (check clippath correctness) + if(this.isOutOfChart() === true || this.isPanning === true || this.isBrushing === true) { + this.crosshair.style('display', 'none'); + return; + } else { + this.crosshair.style('display', null); + } + + this.moveCrosshairLine(eventX, eventY); + + // TOOD: it should be two different methods + const highlighted = this.findAndHighlightDatapoints(eventX, eventY); + if(this.options.eventsCallbacks === undefined || this.options.eventsCallbacks.mouseMove === undefined) { + console.log('Mouse move, but there is no callback'); + return; + } + // TODO: group fields + this.options.eventsCallbacks.mouseMove({ + x: this.d3.event.clientX, + y: this.d3.event.clientY, + xval: this.xScale.invert(eventX), + yval: this.xScale.invert(eventY), + highlighted, + chartX: eventX, + chartWidth: this.width + }); + } + + onMouseOver(): void { + if(this.isOutOfChart() === true || this.isPanning === true || this.isBrushing === true) { + this.crosshair.style('display', 'none'); + return; + } + this.crosshair.style('display', null); + } + + onMouseOut(): void { + if(this.options.eventsCallbacks !== undefined && this.options.eventsCallbacks.mouseOut !== undefined) { + this.options.eventsCallbacks.mouseOut(); + } + this.crosshair.style('display', 'none'); + } +} + +// it is used with Vue.component, e.g.: Vue.component('chartwerk-scatter-pod', VueChartwerkScatterPodObject) +export const VueChartwerkScatterPodObject = { + // alternative to `template: '
'` + render(createElement) { + return createElement( + 'div', + { + class: { 'chartwerk-scatter-pod': true }, + attrs: { id: this.id } + } + ); + }, + mixins: [VueChartwerkPodMixin], + methods: { + render() { + if(this.pod === undefined) { + this.pod = new ChartwerkScatterPod(document.getElementById(this.id), this.series, this.options); + this.pod.render(); + } else { + this.pod.updateData(this.series, this.options); + } + }, + } +}; + +export { ScatterData, ScatterOptions, TickOrientation, TimeFormat, PointType, LineType }; diff --git a/src/types.ts b/src/types.ts new file mode 100644 index 0000000..3b9b489 --- /dev/null +++ b/src/types.ts @@ -0,0 +1,30 @@ +import { TimeSerie, Options } from '@chartwerk/core'; + + +type ScatterDataParams = { + pointType: PointType; + lineType: LineType; + pointSize: number; + colorFormatter?: ColorFormatter +} +type ScatterOptionsParams = { + voronoiRadius: number; + circleView: boolean; + renderGrid: boolean; +} +export type ScatterData = TimeSerie & Partial; +export type ScatterOptions = Options & Partial; + +export enum PointType { + NONE = 'none', + CIRCLE = 'circle', + RECTANGLE = 'rectangle' +} + +export enum LineType { + NONE = 'none', + SOLID = 'solid', + DASHED = 'dashed' +} + +export type ColorFormatter = (datapoint: number[]) => string; diff --git a/tsconfig.json b/tsconfig.json new file mode 100755 index 0000000..2c5e342 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,22 @@ +{ + "compilerOptions": { + "target": "es5", + "rootDir": "./src", + "module": "esnext", + "moduleResolution": "node", + "declaration": true, + "declarationDir": "dist", + "allowSyntheticDefaultImports": true, + "inlineSourceMap": false, + "sourceMap": true, + "noEmitOnError": false, + "emitDecoratorMetadata": false, + "experimentalDecorators": true, + "noImplicitReturns": true, + "noImplicitThis": false, + "noImplicitUseStrict": false, + "noImplicitAny": false, + "noUnusedLocals": false, + "baseUrl": "./src" + } +}