diff --git a/documentation/importdata/importsettings/datatable.rst b/documentation/importdata/importsettings/datatable.rst index 24039a118a..0e70e82aca 100644 --- a/documentation/importdata/importsettings/datatable.rst +++ b/documentation/importdata/importsettings/datatable.rst @@ -31,6 +31,9 @@ icon *Text.* Specifies an icon that will be associated with the data table. The icon name can be chosen from the list specified in http://fortawesome.github.io/Font-Awesome/icons/. +hdfPath + *Text.* If the data source is HDF5 then this can be used to specify the path within the HDF5 file to the arrays. + isHidden *Boolean.* If set to true, the data table will not be displayed as a standalone entity (i.e. not mentioned on the intro page and no tab). diff --git a/documentation/importdata/importsettings/twoddatatable.rst b/documentation/importdata/importsettings/twoddatatable.rst index 0e90ba29ba..8bde02577a 100644 --- a/documentation/importdata/importsettings/twoddatatable.rst +++ b/documentation/importdata/importsettings/twoddatatable.rst @@ -32,7 +32,7 @@ columnDataTable columnIndexField *Text (required).* The property ID in the ``columnDataTable`` data table that maps into the ``columnIndexArray`` - array in the zarr source file. ``columnIndexField`` and ``columnIndexArray`` together establish the link between the column data table values, and the data present in the zarr source file. + array in the zarr source dir. ``columnIndexField`` and ``columnIndexArray`` together establish the link between the column data table values, and the data present in the zarr source dir. Alternatively ``columnIndexArray`` can be omitted implying that the columns in zarr are in the same order as ``columnIndexField`` sorted. Note that "AutoKey" can be used if your rows do not have Unique IDs. @@ -47,7 +47,7 @@ rowDataTable rowIndexField *Text (required).* The property ID in the ``rowDataTable`` data table that maps into ``rowIndexArray`` - array in the zarr source file. ``rowIndexField`` and ``rowIndexArray`` together establish the link between the row data table values, and the data present in the zarr source dir. + array in the zarr source dir. ``rowIndexField`` and ``rowIndexArray`` together establish the link between the row data table values, and the data present in the zarr source dir. Alternatively ``rowIndexArray`` can be omitted implying that the rows in zarr are in the same order as ``rowIndexField`` sorted. Note that "AutoKey" can be used if your rows do not have Unique IDs. diff --git a/webapp/dist/panoptes/babel.js b/webapp/dist/panoptes/babel.js index 1cd3e78ba3..cbc7a01893 100644 --- a/webapp/dist/panoptes/babel.js +++ b/webapp/dist/panoptes/babel.js @@ -1,3 +1 @@ -!function(t){function n(e){if(r[e])return r[e].exports;var i=r[e]={exports:{},id:e,loaded:!1};return t[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}var r={};return n.m=t,n.c=r,n.p="/panoptes/",n(0)}([function(t,n,r){t.exports=r(1)},function(t,n,r){(function(t){"use strict";function n(t,n,r){t[n]||Object[e](t,n,{writable:!0,configurable:!0,value:r})}if(r(2),r(293),r(295),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var e="defineProperty";n(String.prototype,"padLeft","".padStart),n(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&n(Array,t,Function.call.bind([][t]))})}).call(n,function(){return this}())},function(t,n,r){r(3),r(52),r(53),r(54),r(55),r(57),r(60),r(61),r(62),r(63),r(64),r(65),r(66),r(67),r(68),r(70),r(72),r(74),r(76),r(79),r(80),r(81),r(85),r(87),r(89),r(92),r(93),r(94),r(95),r(97),r(98),r(99),r(100),r(101),r(102),r(103),r(105),r(106),r(107),r(109),r(110),r(111),r(113),r(114),r(115),r(116),r(117),r(118),r(119),r(120),r(121),r(122),r(123),r(124),r(125),r(126),r(131),r(132),r(136),r(137),r(138),r(139),r(141),r(142),r(143),r(144),r(145),r(146),r(147),r(148),r(149),r(150),r(151),r(152),r(153),r(154),r(155),r(156),r(157),r(159),r(160),r(166),r(167),r(169),r(170),r(171),r(175),r(176),r(177),r(178),r(179),r(181),r(182),r(183),r(184),r(187),r(189),r(190),r(191),r(193),r(195),r(197),r(198),r(199),r(201),r(202),r(203),r(204),r(211),r(214),r(215),r(217),r(218),r(221),r(222),r(224),r(225),r(226),r(227),r(228),r(229),r(230),r(231),r(232),r(233),r(234),r(235),r(236),r(237),r(238),r(239),r(240),r(241),r(242),r(244),r(245),r(246),r(247),r(248),r(249),r(251),r(252),r(253),r(254),r(255),r(256),r(257),r(258),r(260),r(261),r(263),r(264),r(265),r(266),r(269),r(270),r(271),r(272),r(273),r(274),r(275),r(276),r(278),r(279),r(280),r(281),r(282),r(283),r(284),r(285),r(286),r(287),r(288),r(291),r(292),t.exports=r(9)},function(t,n,r){"use strict";var e=r(4),i=r(5),o=r(6),u=r(8),c=r(18),f=r(22).KEY,a=r(7),s=r(23),l=r(24),h=r(19),v=r(25),p=r(26),y=r(27),d=r(29),g=r(42),b=r(45),m=r(12),w=r(32),x=r(16),_=r(17),S=r(46),E=r(49),O=r(51),F=r(11),P=r(30),M=O.f,A=F.f,j=E.f,N=e.Symbol,I=e.JSON,T=I&&I.stringify,R="prototype",k=v("_hidden"),L=v("toPrimitive"),C={}.propertyIsEnumerable,U=s("symbol-registry"),D=s("symbols"),W=s("op-symbols"),G=Object[R],B="function"==typeof N,V=e.QObject,z=!V||!V[R]||!V[R].findChild,Y=o&&a(function(){return 7!=S(A({},"a",{get:function(){return A(this,"a",{value:7}).a}})).a})?function(t,n,r){var e=M(G,n);e&&delete G[n],A(t,n,r),e&&t!==G&&A(G,n,e)}:A,J=function(t){var n=D[t]=S(N[R]);return n._k=t,n},K=B&&"symbol"==typeof N.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof N},q=function(t,n,r){return t===G&&q(W,n,r),m(t),n=x(n,!0),m(r),i(D,n)?(r.enumerable?(i(t,k)&&t[k][n]&&(t[k][n]=!1),r=S(r,{enumerable:_(0,!1)})):(i(t,k)||A(t,k,_(1,{})),t[k][n]=!0),Y(t,n,r)):A(t,n,r)},X=function(t,n){m(t);for(var r,e=g(n=w(n)),i=0,o=e.length;o>i;)q(t,r=e[i++],n[r]);return t},$=function(t,n){return void 0===n?S(t):X(S(t),n)},H=function(t){var n=C.call(this,t=x(t,!0));return!(this===G&&i(D,t)&&!i(W,t))&&(!(n||!i(this,t)||!i(D,t)||i(this,k)&&this[k][t])||n)},Z=function(t,n){if(t=w(t),n=x(n,!0),t!==G||!i(D,n)||i(W,n)){var r=M(t,n);return!r||!i(D,n)||i(t,k)&&t[k][n]||(r.enumerable=!0),r}},Q=function(t){for(var n,r=j(w(t)),e=[],o=0;r.length>o;)i(D,n=r[o++])||n==k||n==f||e.push(n);return e},tt=function(t){for(var n,r=t===G,e=j(r?W:w(t)),o=[],u=0;e.length>u;)!i(D,n=e[u++])||r&&!i(G,n)||o.push(D[n]);return o};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(r){this===G&&n.call(W,r),i(this,k)&&i(this[k],t)&&(this[k][t]=!1),Y(this,t,_(1,r))};return o&&z&&Y(G,t,{configurable:!0,set:n}),J(t)},c(N[R],"toString",function(){return this._k}),O.f=Z,F.f=q,r(50).f=E.f=Q,r(44).f=H,r(43).f=tt,o&&!r(28)&&c(G,"propertyIsEnumerable",H,!0),p.f=function(t){return J(v(t))}),u(u.G+u.W+u.F*!B,{Symbol:N});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)v(nt[rt++]);for(var nt=P(v.store),rt=0;nt.length>rt;)y(nt[rt++]);u(u.S+u.F*!B,"Symbol",{for:function(t){return i(U,t+="")?U[t]:U[t]=N(t)},keyFor:function(t){if(K(t))return d(U,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!B,"Object",{create:$,defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt}),I&&u(u.S+u.F*(!B||a(function(){var t=N();return"[null]"!=T([t])||"{}"!=T({a:t})||"{}"!=T(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!K(t)){for(var n,r,e=[t],i=1;arguments.length>i;)e.push(arguments[i++]);return n=e[1],"function"==typeof n&&(r=n),!r&&b(n)||(n=function(t,n){if(r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,T.apply(I,e)}}}),N[R][L]||r(10)(N[R],L,N[R].valueOf),l(N,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){t.exports=!r(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(4),i=r(9),o=r(10),u=r(18),c=r(20),f="prototype",a=function(t,n,r){var s,l,h,v,p=t&a.F,y=t&a.G,d=t&a.S,g=t&a.P,b=t&a.B,m=y?e:d?e[n]||(e[n]={}):(e[n]||{})[f],w=y?i:i[n]||(i[n]={}),x=w[f]||(w[f]={});y&&(r=n);for(s in r)l=!p&&m&&void 0!==m[s],h=(l?m:r)[s],v=b&&l?c(h,e):g&&"function"==typeof h?c(Function.call,h):h,m&&u(m,s,h,t&a.U),w[s]!=h&&o(w,s,v),g&&x[s]!=h&&(x[s]=h)};e.core=i,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n){var r=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},function(t,n,r){var e=r(11),i=r(17);t.exports=r(6)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(12),i=r(14),o=r(16),u=Object.defineProperty;n.f=r(6)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(13);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(6)&&!r(7)(function(){return 7!=Object.defineProperty(r(15)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(13),i=r(4).document,o=e(i)&&e(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,r){var e=r(13);t.exports=function(t,n){if(!e(t))return t;var r,i;if(n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!e(i=r.call(t)))return i;if(!n&&"function"==typeof(r=t.toString)&&!e(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(4),i=r(10),o=r(5),u=r(19)("src"),c="toString",f=Function[c],a=(""+f).split(c);r(9).inspectSource=function(t){return f.call(t)},(t.exports=function(t,n,r,c){var f="function"==typeof r;f&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(f&&(o(r,u)||i(r,u,t[n]?""+t[n]:a.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,c,function(){return"function"==typeof this&&this[u]||f.call(this)})},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(21);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(19)("meta"),i=r(13),o=r(5),u=r(11).f,c=0,f=Object.isExtensible||function(){return!0},a=!r(7)(function(){return f(Object.preventExtensions({}))}),s=function(t){u(t,e,{value:{i:"O"+ ++c,w:{}}})},l=function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,e)){if(!f(t))return"F";if(!n)return"E";s(t)}return t[e].i},h=function(t,n){if(!o(t,e)){if(!f(t))return!0;if(!n)return!1;s(t)}return t[e].w},v=function(t){return a&&p.NEED&&f(t)&&!o(t,e)&&s(t),t},p=t.exports={KEY:e,NEED:!1,fastKey:l,getWeak:h,onFreeze:v}},function(t,n,r){var e=r(4),i="__core-js_shared__",o=e[i]||(e[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(11).f,i=r(5),o=r(25)("toStringTag");t.exports=function(t,n,r){t&&!i(t=r?t:t.prototype,o)&&e(t,o,{configurable:!0,value:n})}},function(t,n,r){var e=r(23)("wks"),i=r(19),o=r(4).Symbol,u="function"==typeof o,c=t.exports=function(t){return e[t]||(e[t]=u&&o[t]||(u?o:i)("Symbol."+t))};c.store=e},function(t,n,r){n.f=r(25)},function(t,n,r){var e=r(4),i=r(9),o=r(28),u=r(26),c=r(11).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n){t.exports=!1},function(t,n,r){var e=r(30),i=r(32);t.exports=function(t,n){for(var r,o=i(t),u=e(o),c=u.length,f=0;c>f;)if(o[r=u[f++]]===n)return r}},function(t,n,r){var e=r(31),i=r(41);t.exports=Object.keys||function(t){return e(t,i)}},function(t,n,r){var e=r(5),i=r(32),o=r(36)(!1),u=r(40)("IE_PROTO");t.exports=function(t,n){var r,c=i(t),f=0,a=[];for(r in c)r!=u&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~o(a,r)||a.push(r));return a}},function(t,n,r){var e=r(33),i=r(35);t.exports=function(t){return e(i(t))}},function(t,n,r){var e=r(34);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(32),i=r(37),o=r(39);t.exports=function(t){return function(n,r,u){var c,f=e(n),a=i(f.length),s=o(u,a);if(t&&r!=r){for(;a>s;)if(c=f[s++],c!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}}},function(t,n,r){var e=r(38),i=Math.min;t.exports=function(t){return t>0?i(e(t),9007199254740991):0}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(38),i=Math.max,o=Math.min;t.exports=function(t,n){return t=e(t),t<0?i(t+n,0):o(t,n)}},function(t,n,r){var e=r(23)("keys"),i=r(19);t.exports=function(t){return e[t]||(e[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(30),i=r(43),o=r(44);t.exports=function(t){var n=e(t),r=i.f;if(r)for(var u,c=r(t),f=o.f,a=0;c.length>a;)f.call(t,u=c[a++])&&n.push(u);return n}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(34);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(12),i=r(47),o=r(41),u=r(40)("IE_PROTO"),c=function(){},f="prototype",a=function(){var t,n=r(15)("iframe"),e=o.length,i="<",u=">";for(n.style.display="none",r(48).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(i+"script"+u+"document.F=Object"+i+"/script"+u),t.close(),a=t.F;e--;)delete a[f][o[e]];return a()};t.exports=Object.create||function(t,n){var r;return null!==t?(c[f]=e(t),r=new c,c[f]=null,r[u]=t):r=a(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(11),i=r(12),o=r(30);t.exports=r(6)?Object.defineProperties:function(t,n){i(t);for(var r,u=o(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){t.exports=r(4).document&&document.documentElement},function(t,n,r){var e=r(32),i=r(50).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(t){try{return i(t)}catch(t){return u.slice()}};t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?c(t):i(e(t))}},function(t,n,r){var e=r(31),i=r(41).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,i)}},function(t,n,r){var e=r(44),i=r(17),o=r(32),u=r(16),c=r(5),f=r(14),a=Object.getOwnPropertyDescriptor;n.f=r(6)?a:function(t,n){if(t=o(t),n=u(n,!0),f)try{return a(t,n)}catch(t){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(8);e(e.S,"Object",{create:r(46)})},function(t,n,r){var e=r(8);e(e.S+e.F*!r(6),"Object",{defineProperty:r(11).f})},function(t,n,r){var e=r(8);e(e.S+e.F*!r(6),"Object",{defineProperties:r(47)})},function(t,n,r){var e=r(32),i=r(51).f;r(56)("getOwnPropertyDescriptor",function(){return function(t,n){return i(e(t),n)}})},function(t,n,r){var e=r(8),i=r(9),o=r(7);t.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o(function(){r(1)}),"Object",u)}},function(t,n,r){var e=r(58),i=r(59);r(56)("getPrototypeOf",function(){return function(t){return i(e(t))}})},function(t,n,r){var e=r(35);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(5),i=r(58),o=r(40)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(58),i=r(30);r(56)("keys",function(){return function(t){return i(e(t))}})},function(t,n,r){r(56)("getOwnPropertyNames",function(){return r(49).f})},function(t,n,r){var e=r(13),i=r(22).onFreeze;r(56)("freeze",function(t){return function(n){return t&&e(n)?t(i(n)):n}})},function(t,n,r){var e=r(13),i=r(22).onFreeze;r(56)("seal",function(t){return function(n){return t&&e(n)?t(i(n)):n}})},function(t,n,r){var e=r(13),i=r(22).onFreeze;r(56)("preventExtensions",function(t){return function(n){return t&&e(n)?t(i(n)):n}})},function(t,n,r){var e=r(13);r(56)("isFrozen",function(t){return function(n){return!e(n)||!!t&&t(n)}})},function(t,n,r){var e=r(13);r(56)("isSealed",function(t){return function(n){return!e(n)||!!t&&t(n)}})},function(t,n,r){var e=r(13);r(56)("isExtensible",function(t){return function(n){return!!e(n)&&(!t||t(n))}})},function(t,n,r){var e=r(8);e(e.S+e.F,"Object",{assign:r(69)})},function(t,n,r){"use strict";var e=r(30),i=r(43),o=r(44),u=r(58),c=r(33),f=Object.assign;t.exports=!f||r(7)(function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach(function(t){n[t]=t}),7!=f({},t)[r]||Object.keys(f({},n)).join("")!=e})?function(t,n){for(var r=u(t),f=arguments.length,a=1,s=i.f,l=o.f;f>a;)for(var h,v=c(arguments[a++]),p=s?e(v).concat(s(v)):e(v),y=p.length,d=0;y>d;)l.call(v,h=p[d++])&&(r[h]=v[h]);return r}:f},function(t,n,r){var e=r(8);e(e.S,"Object",{is:r(71)})},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t===1/n:t!=t&&n!=n}},function(t,n,r){var e=r(8);e(e.S,"Object",{setPrototypeOf:r(73).set})},function(t,n,r){var e=r(13),i=r(12),o=function(t,n){if(i(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{e=r(20)(Function.call,r(51).f(Object.prototype,"__proto__").set,2),e(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return o(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:o}},function(t,n,r){"use strict";var e=r(75),i={};i[r(25)("toStringTag")]="z",i+""!="[object z]"&&r(18)(Object.prototype,"toString",function(){return"[object "+e(this)+"]"},!0)},function(t,n,r){var e=r(34),i=r(25)("toStringTag"),o="Arguments"==e(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,r,c;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=u(n=Object(t),i))?r:o?e(n):"Object"==(c=e(n))&&"function"==typeof n.callee?"Arguments":c}},function(t,n,r){var e=r(8);e(e.P,"Function",{bind:r(77)})},function(t,n,r){"use strict";var e=r(21),i=r(13),o=r(78),u=[].slice,c={},f=function(t,n,r){if(!(n in c)){for(var e=[],i=0;i>>0||(u.test(r)?16:10))}:e},function(t,n,r){var e=r(8),i=r(35),o=r(7),u=r(84),c="["+u+"]",f="​…",a=RegExp("^"+c+c+"*"),s=RegExp(c+c+"*$"),l=function(t,n,r){var i={},c=o(function(){return!!u[t]()||f[t]()!=f}),a=i[t]=c?n(h):u[t];r&&(i[r]=a),e(e.P+e.F*c,"String",i)},h=l.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(a,"")),2&n&&(t=t.replace(s,"")),t};t.exports=l},function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,n,r){var e=r(8),i=r(86);e(e.G+e.F*(parseFloat!=i),{parseFloat:i})},function(t,n,r){var e=r(4).parseFloat,i=r(83).trim;t.exports=1/e(r(84)+"-0")!==-(1/0)?function(t){var n=i(String(t),3),r=e(n);return 0===r&&"-"==n.charAt(0)?-0:r}:e},function(t,n,r){"use strict";var e=r(4),i=r(5),o=r(34),u=r(88),c=r(16),f=r(7),a=r(50).f,s=r(51).f,l=r(11).f,h=r(83).trim,v="Number",p=e[v],y=p,d=p.prototype,g=o(r(46)(d))==v,b="trim"in String.prototype,m=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){n=b?n.trim():h(n,3);var r,e,i,o=n.charCodeAt(0);if(43===o||45===o){if(r=n.charCodeAt(2),88===r||120===r)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:e=2,i=49;break;case 79:case 111:e=8,i=55;break;default:return+n}for(var u,f=n.slice(2),a=0,s=f.length;ai)return NaN;return parseInt(f,e)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof p&&(g?f(function(){d.valueOf.call(r)}):o(r)!=v)?u(new y(m(n)),r,p):m(n)};for(var w,x=r(6)?a(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;x.length>_;_++)i(y,w=x[_])&&!i(p,w)&&l(p,w,s(y,w));p.prototype=d,d.constructor=p,r(18)(e,v,p)}},function(t,n,r){var e=r(13),i=r(73).set;t.exports=function(t,n,r){var o,u=n.constructor;return u!==r&&"function"==typeof u&&(o=u.prototype)!==r.prototype&&e(o)&&i&&i(t,o),t}},function(t,n,r){"use strict";var e=r(8),i=r(38),o=r(90),u=r(91),c=1..toFixed,f=Math.floor,a=[0,0,0,0,0,0],s="Number.toFixed: incorrect invocation!",l="0",h=function(t,n){for(var r=-1,e=n;++r<6;)e+=t*a[r],a[r]=e%1e7,e=f(e/1e7)},v=function(t){for(var n=6,r=0;--n>=0;)r+=a[n],a[n]=f(r/t),r=r%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var r=String(a[t]);n=""===n?r:n+u.call(l,7-r.length)+r}return n},y=function(t,n,r){return 0===n?r:n%2===1?y(t,n-1,r*t):y(t*t,n/2,r)},d=function(t){for(var n=0,r=t;r>=4096;)n+=12,r/=4096;for(;r>=2;)n+=1,r/=2;return n};e(e.P+e.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r(7)(function(){c.call({})})),"Number",{toFixed:function(t){var n,r,e,c,f=o(this,s),a=i(t),g="",b=l;if(a<0||a>20)throw RangeError(s);if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return String(f);if(f<0&&(g="-",f=-f),f>1e-21)if(n=d(f*y(2,69,1))-69,r=n<0?f*y(2,-n,1):f/y(2,n,1),r*=4503599627370496,n=52-n,n>0){for(h(0,r),e=a;e>=7;)h(1e7,0),e-=7;for(h(y(10,e,1),0),e=n-1;e>=23;)v(1<<23),e-=23;v(1<0?(c=b.length,b=g+(c<=a?"0."+u.call(l,a-c)+b:b.slice(0,c-a)+"."+b.slice(c-a))):b=g+b,b}})},function(t,n,r){var e=r(34);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=e(t))throw TypeError(n);return+t}},function(t,n,r){"use strict";var e=r(38),i=r(35);t.exports=function(t){var n=String(i(this)),r="",o=e(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(r+=n);return r}},function(t,n,r){"use strict";var e=r(8),i=r(7),o=r(90),u=1..toPrecision;e(e.P+e.F*(i(function(){return"1"!==u.call(1,void 0)})||!i(function(){u.call({})})),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,r){var e=r(8);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,r){var e=r(8),i=r(4).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,r){var e=r(8);e(e.S,"Number",{isInteger:r(96)})},function(t,n,r){var e=r(13),i=Math.floor;t.exports=function(t){return!e(t)&&isFinite(t)&&i(t)===t}},function(t,n,r){var e=r(8);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){var e=r(8),i=r(96),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,r){var e=r(8);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,r){var e=r(8);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,r){var e=r(8),i=r(86);e(e.S+e.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,r){var e=r(8),i=r(82);e(e.S+e.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,r){var e=r(8),i=r(104),o=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,r){function e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):Math.log(t+Math.sqrt(t*t+1)):t}var i=r(8),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:e})},function(t,n,r){var e=r(8),i=Math.atanh;e(e.S+e.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,r){var e=r(8),i=r(108);e(e.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n,r){var e=r(8);e(e.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,r){var e=r(8),i=Math.exp;e(e.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,r){var e=r(8),i=r(112);e(e.S+e.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||r(-2e-17)!=-2e-17?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,n,r){var e=r(8),i=r(108),o=Math.pow,u=o(2,-52),c=o(2,-23),f=o(2,127)*(2-c),a=o(2,-126),s=function(t){return t+1/u-1/u};e(e.S,"Math",{fround:function(t){var n,r,e=Math.abs(t),o=i(t);return ef||r!=r?o*(1/0):o*r)}})},function(t,n,r){var e=r(8),i=Math.abs;e(e.S,"Math",{hypot:function(t,n){for(var r,e,o=0,u=0,c=arguments.length,f=0;u0?(e=r/f,o+=e*e):o+=r;return f===1/0?1/0:f*Math.sqrt(o)}})},function(t,n,r){var e=r(8),i=Math.imul;e(e.S+e.F*r(7)(function(){return i(4294967295,5)!=-5||2!=i.length}),"Math",{imul:function(t,n){var r=65535,e=+t,i=+n,o=r&e,u=r&i;return 0|o*u+((r&e>>>16)*u+o*(r&i>>>16)<<16>>>0)}})},function(t,n,r){var e=r(8);e(e.S,"Math",{log10:function(t){return Math.log(t)/Math.LN10}})},function(t,n,r){var e=r(8);e(e.S,"Math",{log1p:r(104)})},function(t,n,r){var e=r(8);e(e.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,r){var e=r(8);e(e.S,"Math",{sign:r(108)})},function(t,n,r){var e=r(8),i=r(112),o=Math.exp;e(e.S+e.F*r(7)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,r){var e=r(8),i=r(112),o=Math.exp;e(e.S,"Math",{tanh:function(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},function(t,n,r){var e=r(8);e(e.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,r){var e=r(8),i=r(39),o=String.fromCharCode,u=String.fromCodePoint;e(e.S+e.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,r=[],e=arguments.length,u=0;e>u;){if(n=+arguments[u++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");r.push(n<65536?o(n):o(((n-=65536)>>10)+55296,n%1024+56320))}return r.join("")}})},function(t,n,r){var e=r(8),i=r(32),o=r(37);e(e.S,"String",{raw:function(t){for(var n=i(t.raw),r=o(n.length),e=arguments.length,u=[],c=0;r>c;)u.push(String(n[c++])),c=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})})},function(t,n,r){var e=r(38),i=r(35);t.exports=function(t){return function(n,r){var o,u,c=String(i(n)),f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(o=c.charCodeAt(f),o<55296||o>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):o:t?c.slice(f,f+2):(o-55296<<10)+(u-56320)+65536)}}},function(t,n,r){"use strict";var e=r(28),i=r(8),o=r(18),u=r(10),c=r(5),f=r(129),a=r(130),s=r(24),l=r(59),h=r(25)("iterator"),v=!([].keys&&"next"in[].keys()),p="@@iterator",y="keys",d="values",g=function(){return this};t.exports=function(t,n,r,b,m,w,x){a(r,n,b);var _,S,E,O=function(t){if(!v&&t in A)return A[t];switch(t){case y:return function(){return new r(this,t)};case d:return function(){return new r(this,t)}}return function(){return new r(this,t)}},F=n+" Iterator",P=m==d,M=!1,A=t.prototype,j=A[h]||A[p]||m&&A[m],N=j||O(m),I=m?P?O("entries"):N:void 0,T="Array"==n?A.entries||j:j;if(T&&(E=l(T.call(new t)),E!==Object.prototype&&(s(E,F,!0),e||c(E,h)||u(E,h,g))),P&&j&&j.name!==d&&(M=!0,N=function(){return j.call(this)}),e&&!x||!v&&!M&&A[h]||u(A,h,N),f[n]=N,f[F]=g,m)if(_={values:P?N:O(d),keys:w?N:O(y),entries:I},x)for(S in _)S in A||o(A,S,_[S]);else i(i.P+i.F*(v||M),n,_);return _}},function(t,n){t.exports={}},function(t,n,r){"use strict";var e=r(46),i=r(17),o=r(24),u={};r(10)(u,r(25)("iterator"),function(){return this}),t.exports=function(t,n,r){t.prototype=e(u,{next:i(1,r)}),o(t,n+" Iterator")}},function(t,n,r){"use strict";var e=r(8),i=r(127)(!1);e(e.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,r){"use strict";var e=r(8),i=r(37),o=r(133),u="endsWith",c=""[u];e(e.P+e.F*r(135)(u),"String",{endsWith:function(t){var n=o(this,t,u),r=arguments.length>1?arguments[1]:void 0,e=i(n.length),f=void 0===r?e:Math.min(i(r),e),a=String(t);return c?c.call(n,a,f):n.slice(f-a.length,f)===a}})},function(t,n,r){var e=r(134),i=r(35);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(t))}},function(t,n,r){var e=r(13),i=r(34),o=r(25)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,r){var e=r(25)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,r){"use strict";var e=r(8),i=r(133),o="includes";e(e.P+e.F*r(135)(o),"String",{includes:function(t){return!!~i(this,t,o).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,r){var e=r(8);e(e.P,"String",{repeat:r(91)})},function(t,n,r){"use strict";var e=r(8),i=r(37),o=r(133),u="startsWith",c=""[u];e(e.P+e.F*r(135)(u),"String",{startsWith:function(t){var n=o(this,t,u),r=i(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),e=String(t);return c?c.call(n,e,r):n.slice(r,r+e.length)===e}})},function(t,n,r){"use strict";r(140)("anchor",function(t){return function(n){return t(this,"a","name",n)}})},function(t,n,r){var e=r(8),i=r(7),o=r(35),u=/"/g,c=function(t,n,r,e){var i=String(o(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+i+""};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",r)}},function(t,n,r){"use strict";r(140)("big",function(t){return function(){return t(this,"big","","")}})},function(t,n,r){"use strict";r(140)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,n,r){"use strict";r(140)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,n,r){"use strict";r(140)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,n,r){"use strict";r(140)("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})},function(t,n,r){"use strict";r(140)("fontsize",function(t){return function(n){return t(this,"font","size",n)}})},function(t,n,r){"use strict";r(140)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,n,r){"use strict";r(140)("link",function(t){return function(n){return t(this,"a","href",n)}})},function(t,n,r){"use strict";r(140)("small",function(t){return function(){return t(this,"small","","")}})},function(t,n,r){"use strict";r(140)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,n,r){"use strict";r(140)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,n,r){"use strict";r(140)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,n,r){var e=r(8);e(e.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,r){"use strict";var e=r(8),i=r(58),o=r(16);e(e.P+e.F*r(7)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=i(this),r=o(n);return"number"!=typeof r||isFinite(r)?n.toISOString():null}})},function(t,n,r){"use strict";var e=r(8),i=r(7),o=Date.prototype.getTime,u=function(t){return t>9?t:"0"+t};e(e.P+e.F*(i(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!i(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),r=t.getUTCMilliseconds(),e=n<0?"-":n>9999?"+":"";return e+("00000"+Math.abs(n)).slice(e?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(r>99?r:"0"+u(r))+"Z"; -}})},function(t,n,r){var e=Date.prototype,i="Invalid Date",o="toString",u=e[o],c=e.getTime;new Date(NaN)+""!=i&&r(18)(e,o,function(){var t=c.call(this);return t===t?u.call(this):i})},function(t,n,r){var e=r(25)("toPrimitive"),i=Date.prototype;e in i||r(10)(i,e,r(158))},function(t,n,r){"use strict";var e=r(12),i=r(16),o="number";t.exports=function(t){if("string"!==t&&t!==o&&"default"!==t)throw TypeError("Incorrect hint");return i(e(this),t!=o)}},function(t,n,r){var e=r(8);e(e.S,"Array",{isArray:r(45)})},function(t,n,r){"use strict";var e=r(20),i=r(8),o=r(58),u=r(161),c=r(162),f=r(37),a=r(163),s=r(164);i(i.S+i.F*!r(165)(function(t){Array.from(t)}),"Array",{from:function(t){var n,r,i,l,h=o(t),v="function"==typeof this?this:Array,p=arguments.length,y=p>1?arguments[1]:void 0,d=void 0!==y,g=0,b=s(h);if(d&&(y=e(y,p>2?arguments[2]:void 0,2)),void 0==b||v==Array&&c(b))for(n=f(h.length),r=new v(n);n>g;g++)a(r,g,d?y(h[g],g):h[g]);else for(l=b.call(h),r=new v;!(i=l.next()).done;g++)a(r,g,d?u(l,y,[i.value,g],!0):i.value);return r.length=g,r}})},function(t,n,r){var e=r(12);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){var o=t.return;throw void 0!==o&&e(o.call(t)),n}}},function(t,n,r){var e=r(129),i=r(25)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||o[i]===t)}},function(t,n,r){"use strict";var e=r(11),i=r(17);t.exports=function(t,n,r){n in t?e.f(t,n,i(0,r)):t[n]=r}},function(t,n,r){var e=r(75),i=r(25)("iterator"),o=r(129);t.exports=r(9).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,n,r){var e=r(25)("iterator"),i=!1;try{var o=[7][e]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var r=!1;try{var o=[7],u=o[e]();u.next=function(){return{done:r=!0}},o[e]=function(){return u},t(o)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(8),i=r(163);e(e.S+e.F*r(7)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)i(r,t,arguments[t++]);return r.length=n,r}})},function(t,n,r){"use strict";var e=r(8),i=r(32),o=[].join;e(e.P+e.F*(r(33)!=Object||!r(168)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,r){var e=r(7);t.exports=function(t,n){return!!t&&e(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,r){"use strict";var e=r(8),i=r(48),o=r(34),u=r(39),c=r(37),f=[].slice;e(e.P+e.F*r(7)(function(){i&&f.call(i)}),"Array",{slice:function(t,n){var r=c(this.length),e=o(this);if(n=void 0===n?r:n,"Array"==e)return f.call(this,t,n);for(var i=u(t,r),a=u(n,r),s=c(a-i),l=Array(s),h=0;hx;x++)if((h||x in b)&&(y=b[x],d=m(y,x,g),t))if(r)_[x]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:_.push(y)}else if(s)return!1;return l?-1:a||s?s:_}}},function(t,n,r){var e=r(174);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(13),i=r(45),o=r(25)("species");t.exports=function(t){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)||(n=void 0),e(n)&&(n=n[o],null===n&&(n=void 0))),void 0===n?Array:n}},function(t,n,r){"use strict";var e=r(8),i=r(172)(1);e(e.P+e.F*!r(168)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,n,r){"use strict";var e=r(8),i=r(172)(2);e(e.P+e.F*!r(168)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,n,r){"use strict";var e=r(8),i=r(172)(3);e(e.P+e.F*!r(168)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,n,r){"use strict";var e=r(8),i=r(172)(4);e(e.P+e.F*!r(168)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,n,r){"use strict";var e=r(8),i=r(180);e(e.P+e.F*!r(168)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,n,r){var e=r(21),i=r(58),o=r(33),u=r(37);t.exports=function(t,n,r,c,f){e(n);var a=i(t),s=o(a),l=u(a.length),h=f?l-1:0,v=f?-1:1;if(r<2)for(;;){if(h in s){c=s[h],h+=v;break}if(h+=v,f?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;f?h>=0:l>h;h+=v)h in s&&(c=n(c,s[h],h,a));return c}},function(t,n,r){"use strict";var e=r(8),i=r(180);e(e.P+e.F*!r(168)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,n,r){"use strict";var e=r(8),i=r(36)(!1),o=[].indexOf,u=!!o&&1/[1].indexOf(1,-0)<0;e(e.P+e.F*(u||!r(168)(o)),"Array",{indexOf:function(t){return u?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,n,r){"use strict";var e=r(8),i=r(32),o=r(38),u=r(37),c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0;e(e.P+e.F*(f||!r(168)(c)),"Array",{lastIndexOf:function(t){if(f)return c.apply(this,arguments)||0;var n=i(this),r=u(n.length),e=r-1;for(arguments.length>1&&(e=Math.min(e,o(arguments[1]))),e<0&&(e=r+e);e>=0;e--)if(e in n&&n[e]===t)return e||0;return-1}})},function(t,n,r){var e=r(8);e(e.P,"Array",{copyWithin:r(185)}),r(186)("copyWithin")},function(t,n,r){"use strict";var e=r(58),i=r(39),o=r(37);t.exports=[].copyWithin||function(t,n){var r=e(this),u=o(r.length),c=i(t,u),f=i(n,u),a=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===a?u:i(a,u))-f,u-c),l=1;for(f0;)f in r?r[c]=r[f]:delete r[c],c+=l,f+=l;return r}},function(t,n,r){var e=r(25)("unscopables"),i=Array.prototype;void 0==i[e]&&r(10)(i,e,{}),t.exports=function(t){i[e][t]=!0}},function(t,n,r){var e=r(8);e(e.P,"Array",{fill:r(188)}),r(186)("fill")},function(t,n,r){"use strict";var e=r(58),i=r(39),o=r(37);t.exports=function(t){for(var n=e(this),r=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void 0,r),f=u>2?arguments[2]:void 0,a=void 0===f?r:i(f,r);a>c;)n[c++]=t;return n}},function(t,n,r){"use strict";var e=r(8),i=r(172)(5),o="find",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(186)(o)},function(t,n,r){"use strict";var e=r(8),i=r(172)(6),o="findIndex",u=!0;o in[]&&Array(1)[o](function(){u=!1}),e(e.P+e.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(186)(o)},function(t,n,r){r(192)("Array")},function(t,n,r){"use strict";var e=r(4),i=r(11),o=r(6),u=r(25)("species");t.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){"use strict";var e=r(186),i=r(194),o=r(129),u=r(32);t.exports=r(128)(Array,"Array",function(t,n){this._t=u(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):"keys"==n?i(0,r):"values"==n?i(0,t[r]):i(0,[r,t[r]])},"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){var e=r(4),i=r(88),o=r(11).f,u=r(50).f,c=r(134),f=r(196),a=e.RegExp,s=a,l=a.prototype,h=/a/g,v=/a/g,p=new a(h)!==h;if(r(6)&&(!p||r(7)(function(){return v[r(25)("match")]=!1,a(h)!=h||a(v)==v||"/a/i"!=a(h,"i")}))){a=function(t,n){var r=this instanceof a,e=c(t),o=void 0===n;return!r&&e&&t.constructor===a&&o?t:i(p?new s(e&&!o?t.source:t,n):s((e=t instanceof a)?t.source:t,e&&o?f.call(t):n),r?this:l,a)};for(var y=(function(t){t in a||o(a,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})}),d=u(s),g=0;d.length>g;)y(d[g++]);l.constructor=a,a.prototype=l,r(18)(e,"RegExp",a)}r(192)("RegExp")},function(t,n,r){"use strict";var e=r(12);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";r(198);var e=r(12),i=r(196),o=r(6),u="toString",c=/./[u],f=function(t){r(18)(RegExp.prototype,u,t,!0)};r(7)(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})?f(function(){var t=e(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):c.name!=u&&f(function(){return c.call(this)})},function(t,n,r){r(6)&&"g"!=/./g.flags&&r(11).f(RegExp.prototype,"flags",{configurable:!0,get:r(196)})},function(t,n,r){r(200)("match",1,function(t,n,r){return[function(r){"use strict";var e=t(this),i=void 0==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},r]})},function(t,n,r){"use strict";var e=r(10),i=r(18),o=r(7),u=r(35),c=r(25);t.exports=function(t,n,r){var f=c(t),a=r(u,f,""[t]),s=a[0],l=a[1];o(function(){var n={};return n[f]=function(){return 7},7!=""[t](n)})&&(i(String.prototype,t,s),e(RegExp.prototype,f,2==n?function(t,n){return l.call(t,this,n)}:function(t){return l.call(t,this)}))}},function(t,n,r){r(200)("replace",2,function(t,n,r){return[function(e,i){"use strict";var o=t(this),u=void 0==e?void 0:e[n];return void 0!==u?u.call(e,o,i):r.call(String(o),e,i)},r]})},function(t,n,r){r(200)("search",1,function(t,n,r){return[function(r){"use strict";var e=t(this),i=void 0==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},r]})},function(t,n,r){r(200)("split",2,function(t,n,e){"use strict";var i=r(134),o=e,u=[].push,c="split",f="length",a="lastIndex";if("c"=="abbc"[c](/(b)*/)[1]||4!="test"[c](/(?:)/,-1)[f]||2!="ab"[c](/(?:ab)*/)[f]||4!="."[c](/(.?)(.?)/)[f]||"."[c](/()()/)[f]>1||""[c](/.?/)[f]){var s=void 0===/()??/.exec("")[1];e=function(t,n){var r=String(this);if(void 0===t&&0===n)return[];if(!i(t))return o.call(r,t,n);var e,c,l,h,v,p=[],y=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,g=void 0===n?4294967295:n>>>0,b=new RegExp(t.source,y+"g");for(s||(e=new RegExp("^"+b.source+"$(?!\\s)",y));(c=b.exec(r))&&(l=c.index+c[0][f],!(l>d&&(p.push(r.slice(d,c.index)),!s&&c[f]>1&&c[0].replace(e,function(){for(v=1;v1&&c.index=g)));)b[a]===c.index&&b[a]++;return d===r[f]?!h&&b.test("")||p.push(""):p.push(r.slice(d)),p[f]>g?p.slice(0,g):p}}else"0"[c](void 0,0)[f]&&(e=function(t,n){return void 0===t&&0===n?[]:o.call(this,t,n)});return[function(r,i){var o=t(this),u=void 0==r?void 0:r[n];return void 0!==u?u.call(r,o,i):e.call(String(o),r,i)},e]})},function(t,n,r){"use strict";var e,i,o,u=r(28),c=r(4),f=r(20),a=r(75),s=r(8),l=r(13),h=r(21),v=r(205),p=r(206),y=r(207),d=r(208).set,g=r(209)(),b="Promise",m=c.TypeError,w=c.process,x=c[b],w=c.process,_="process"==a(w),S=function(){},E=!!function(){try{var t=x.resolve(1),n=(t.constructor={})[r(25)("species")]=function(t){t(S,S)};return(_||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof n}catch(t){}}(),O=function(t,n){return t===n||t===x&&n===o},F=function(t){var n;return!(!l(t)||"function"!=typeof(n=t.then))&&n},P=function(t){return O(x,t)?new M(t):new i(t)},M=i=function(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw m("Bad Promise constructor");n=t,r=e}),this.resolve=h(n),this.reject=h(r)},A=function(t){try{t()}catch(t){return{error:t}}},j=function(t,n){if(!t._n){t._n=!0;var r=t._c;g(function(){for(var e=t._v,i=1==t._s,o=0,u=function(n){var r,o,u=i?n.ok:n.fail,c=n.resolve,f=n.reject,a=n.domain;try{u?(i||(2==t._h&&T(t),t._h=1),u===!0?r=e:(a&&a.enter(),r=u(e),a&&a.exit()),r===n.promise?f(m("Promise-chain cycle")):(o=F(r))?o.call(r,c,f):c(r)):f(e)}catch(t){f(t)}};r.length>o;)u(r[o++]);t._c=[],t._n=!1,n&&!t._h&&N(t)})}},N=function(t){d.call(c,function(){var n,r,e,i=t._v;if(I(t)&&(n=A(function(){_?w.emit("unhandledRejection",i,t):(r=c.onunhandledrejection)?r({promise:t,reason:i}):(e=c.console)&&e.error&&e.error("Unhandled promise rejection",i)}),t._h=_||I(t)?2:1),t._a=void 0,n)throw n.error})},I=function(t){if(1==t._h)return!1;for(var n,r=t._a||t._c,e=0;r.length>e;)if(n=r[e++],n.fail||!I(n.promise))return!1;return!0},T=function(t){d.call(c,function(){var n;_?w.emit("rejectionHandled",t):(n=c.onrejectionhandled)&&n({promise:t,reason:t._v})})},R=function(t){var n=this;n._d||(n._d=!0,n=n._w||n,n._v=t,n._s=2,n._a||(n._a=n._c.slice()),j(n,!0))},k=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw m("Promise can't be resolved itself");(n=F(t))?g(function(){var e={_w:r,_d:!1};try{n.call(t,f(k,e,1),f(R,e,1))}catch(t){R.call(e,t)}}):(r._v=t,r._s=1,j(r,!1))}catch(t){R.call({_w:r,_d:!1},t)}}};E||(x=function(t){v(this,x,b,"_h"),h(t),e.call(this);try{t(f(k,this,1),f(R,this,1))}catch(t){R.call(this,t)}},e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},e.prototype=r(210)(x.prototype,{then:function(t,n){var r=P(y(this,x));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=_?w.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&j(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),M=function(){var t=new e;this.promise=t,this.resolve=f(k,t,1),this.reject=f(R,t,1)}),s(s.G+s.W+s.F*!E,{Promise:x}),r(24)(x,b),r(192)(b),o=r(9)[b],s(s.S+s.F*!E,b,{reject:function(t){var n=P(this),r=n.reject;return r(t),n.promise}}),s(s.S+s.F*(u||!E),b,{resolve:function(t){if(t instanceof x&&O(t.constructor,this))return t;var n=P(this),r=n.resolve;return r(t),n.promise}}),s(s.S+s.F*!(E&&r(165)(function(t){x.all(t).catch(S)})),b,{all:function(t){var n=this,r=P(n),e=r.resolve,i=r.reject,o=A(function(){var r=[],o=0,u=1;p(t,!1,function(t){var c=o++,f=!1;r.push(void 0),u++,n.resolve(t).then(function(t){f||(f=!0,r[c]=t,--u||e(r))},i)}),--u||e(r)});return o&&i(o.error),r.promise},race:function(t){var n=this,r=P(n),e=r.reject,i=A(function(){p(t,!1,function(t){n.resolve(t).then(r.resolve,e)})});return i&&e(i.error),r.promise}})},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(20),i=r(161),o=r(162),u=r(12),c=r(37),f=r(164),a={},s={},n=t.exports=function(t,n,r,l,h){var v,p,y,d,g=h?function(){return t}:f(t),b=e(r,l,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(v=c(t.length);v>m;m++)if(d=n?b(u(p=t[m])[0],p[1]):b(t[m]),d===a||d===s)return d}else for(y=g.call(t);!(p=y.next()).done;)if(d=i(y,b,p.value,n),d===a||d===s)return d};n.BREAK=a,n.RETURN=s},function(t,n,r){var e=r(12),i=r(21),o=r(25)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||void 0==(r=e(u)[o])?n:i(r)}},function(t,n,r){var e,i,o,u=r(20),c=r(78),f=r(48),a=r(15),s=r(4),l=s.process,h=s.setImmediate,v=s.clearImmediate,p=s.MessageChannel,y=0,d={},g="onreadystatechange",b=function(){var t=+this;if(d.hasOwnProperty(t)){var n=d[t];delete d[t],n()}},m=function(t){b.call(t.data)};h&&v||(h=function(t){for(var n=[],r=1;arguments.length>r;)n.push(arguments[r++]);return d[++y]=function(){c("function"==typeof t?t:Function(t),n)},e(y),y},v=function(t){delete d[t]},"process"==r(34)(l)?e=function(t){l.nextTick(u(b,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=m,e=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):e=g in a("script")?function(t){f.appendChild(a("script"))[g]=function(){f.removeChild(this),b.call(t)}}:function(t){setTimeout(u(b,t,1),0)}),t.exports={set:h,clear:v}},function(t,n,r){var e=r(4),i=r(208).set,o=e.MutationObserver||e.WebKitMutationObserver,u=e.process,c=e.Promise,f="process"==r(34)(u);t.exports=function(){var t,n,r,a=function(){var e,i;for(f&&(e=u.domain)&&e.exit();t;){i=t.fn,t=t.next;try{i()}catch(e){throw t?r():n=void 0,e}}n=void 0,e&&e.enter()};if(f)r=function(){u.nextTick(a)};else if(o){var s=!0,l=document.createTextNode("");new o(a).observe(l,{characterData:!0}),r=function(){l.data=s=!s}}else if(c&&c.resolve){var h=c.resolve();r=function(){h.then(a)}}else r=function(){i.call(e,a)};return function(e){var i={fn:e,next:void 0};n&&(n.next=i),t||(t=i,r()),n=i}}},function(t,n,r){var e=r(18);t.exports=function(t,n,r){for(var i in n)e(t,i,n[i],r);return t}},function(t,n,r){"use strict";var e=r(212);t.exports=r(213)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=e.getEntry(this,t);return n&&n.v},set:function(t,n){return e.def(this,0===t?0:t,n)}},e,!0)},function(t,n,r){"use strict";var e=r(11).f,i=r(46),o=r(210),u=r(20),c=r(205),f=r(35),a=r(206),s=r(128),l=r(194),h=r(192),v=r(6),p=r(22).fastKey,y=v?"_s":"size",d=function(t,n){var r,e=p(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,s){var l=t(function(t,e){c(t,l,n,"_i"),t._i=i(null),t._f=void 0,t._l=void 0,t[y]=0,void 0!=e&&a(e,r,t[s],t)});return o(l.prototype,{clear:function(){for(var t=this,n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var n=this,r=d(n,t);if(r){var e=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=e),e&&(e.p=i),n._f==r&&(n._f=e),n._l==r&&(n._l=i),n[y]--}return!!r},forEach:function(t){c(this,l,"forEach");for(var n,r=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!d(this,t)}}),v&&e(l.prototype,"size",{get:function(){return f(this[y])}}),l},def:function(t,n,r){var e,i,o=d(t,n);return o?o.v=r:(t._l=o={i:i=p(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=o),e&&(e.n=o),t[y]++,"F"!==i&&(t._i[i]=o)),t},getEntry:d,setStrong:function(t,n,r){s(t,n,function(t,n){this._t=t,this._k=n,this._l=void 0},function(){for(var t=this,n=t._k,r=t._l;r&&r.r;)r=r.p;return t._t&&(t._l=r=r?r.n:t._t._f)?"keys"==n?l(0,r.k):"values"==n?l(0,r.v):l(0,[r.k,r.v]):(t._t=void 0,l(1))},r?"entries":"values",!r,!0),h(n)}}},function(t,n,r){"use strict";var e=r(4),i=r(8),o=r(18),u=r(210),c=r(22),f=r(206),a=r(205),s=r(13),l=r(7),h=r(165),v=r(24),p=r(88);t.exports=function(t,n,r,y,d,g){var b=e[t],m=b,w=d?"set":"add",x=m&&m.prototype,_={},S=function(t){var n=x[t];o(x,t,"delete"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,r){return n.call(this,0===t?0:t,r),this})};if("function"==typeof m&&(g||x.forEach&&!l(function(){(new m).entries().next()}))){var E=new m,O=E[w](g?{}:-0,1)!=E,F=l(function(){E.has(1)}),P=h(function(t){new m(t)}),M=!g&&l(function(){for(var t=new m,n=5;n--;)t[w](n,n);return!t.has(-0)});P||(m=n(function(n,r){a(n,m,t);var e=p(new b,n,m);return void 0!=r&&f(r,d,e[w],e),e}),m.prototype=x,x.constructor=m),(F||M)&&(S("delete"),S("has"),d&&S("get")),(M||O)&&S(w),g&&x.clear&&delete x.clear}else m=y.getConstructor(n,t,d,w),u(m.prototype,r),c.NEED=!0;return v(m,t),_[t]=m,i(i.G+i.W+i.F*(m!=b),_),g||y.setStrong(m,t,d),m}},function(t,n,r){"use strict";var e=r(212);t.exports=r(213)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(this,t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e,i=r(172)(0),o=r(18),u=r(22),c=r(69),f=r(216),a=r(13),s=u.getWeak,l=Object.isExtensible,h=f.ufstore,v={},p=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(t){if(a(t)){var n=s(t);return n===!0?h(this).get(t):n?n[this._i]:void 0}},set:function(t,n){return f.def(this,t,n)}},d=t.exports=r(213)("WeakMap",p,y,f,!0,!0);7!=(new d).set((Object.freeze||Object)(v),7).get(v)&&(e=f.getConstructor(p),c(e.prototype,y),u.NEED=!0,i(["delete","has","get","set"],function(t){var n=d.prototype,r=n[t];o(n,t,function(n,i){if(a(n)&&!l(n)){this._f||(this._f=new e);var o=this._f[t](n,i);return"set"==t?this:o}return r.call(this,n,i)})}))},function(t,n,r){"use strict";var e=r(210),i=r(22).getWeak,o=r(12),u=r(13),c=r(205),f=r(206),a=r(172),s=r(5),l=a(5),h=a(6),v=0,p=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},d=function(t,n){return l(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=d(this,t);if(n)return n[1]},has:function(t){return!!d(this,t)},set:function(t,n){var r=d(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=h(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,o){var a=t(function(t,e){c(t,a,n,"_i"),t._i=v++,t._l=void 0,void 0!=e&&f(e,r,t[o],t)});return e(a.prototype,{delete:function(t){if(!u(t))return!1;var n=i(t);return n===!0?p(this).delete(t):n&&s(n,this._i)&&delete n[this._i]},has:function(t){if(!u(t))return!1;var n=i(t);return n===!0?p(this).has(t):n&&s(n,this._i)}}),a},def:function(t,n,r){var e=i(o(n),!0);return e===!0?p(t).set(n,r):e[t._i]=r,t},ufstore:p}},function(t,n,r){"use strict";var e=r(216);r(213)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return e.def(this,t,!0)}},e,!1,!0)},function(t,n,r){"use strict";var e=r(8),i=r(219),o=r(220),u=r(12),c=r(39),f=r(37),a=r(13),s=r(4).ArrayBuffer,l=r(207),h=o.ArrayBuffer,v=o.DataView,p=i.ABV&&s.isView,y=h.prototype.slice,d=i.VIEW,g="ArrayBuffer";e(e.G+e.W+e.F*(s!==h),{ArrayBuffer:h}),e(e.S+e.F*!i.CONSTR,g,{isView:function(t){return p&&p(t)||a(t)&&d in t}}),e(e.P+e.U+e.F*r(7)(function(){return!new h(2).slice(1,void 0).byteLength}),g,{slice:function(t,n){if(void 0!==y&&void 0===n)return y.call(u(this),t);for(var r=u(this).byteLength,e=c(t,r),i=c(void 0===n?r:n,r),o=new(l(this,h))(f(i-e)),a=new v(this),s=new v(o),p=0;e>1,s=23===n?A(2,-24)-A(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for(t=M(t),t!=t||t===F?(i=t!=t?1:0,e=f):(e=j(N(t)/I),t*(o=A(2,-e))<1&&(e--,o*=2),t+=e+a>=1?s/o:s*A(2,1-a),t*o>=2&&(e++,o/=2),e+a>=f?(i=0,e=f):e+a>=1?(i=(t*o-1)*A(2,n),e+=a):(i=t*A(2,a-1)*A(2,n),e=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(e=e<0;u[l++]=255&e,e/=256,c-=8);return u[--l]|=128*h,u},W=function(t,n,r){var e,i=8*r-n-1,o=(1<>1,c=i-7,f=r-1,a=t[f--],s=127&a;for(a>>=7;c>0;s=256*s+t[f],f--,c-=8);for(e=s&(1<<-c)-1,s>>=-c,c+=n;c>0;e=256*e+t[f],f--,c-=8);if(0===s)s=1-u;else{if(s===o)return e?NaN:a?-F:F;e+=A(2,n),s-=u}return(a?-1:1)*e*A(2,s-n)},G=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},B=function(t){return[255&t]},V=function(t){return[255&t,t>>8&255]},z=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},Y=function(t){return D(t,52,8)},J=function(t){return D(t,23,4)},K=function(t,n,r){p(t[m],n,{get:function(){return this[r]}})},q=function(t,n,r,e){var i=+r,o=l(i);if(i!=o||o<0||o+n>t[C])throw O(x);var u=t[L]._b,c=o+t[U],f=u.slice(c,c+n);return e?f:f.reverse()},X=function(t,n,r,e,i,o){var u=+r,c=l(u);if(u!=c||c<0||c+n>t[C])throw O(x);for(var f=t[L]._b,a=c+t[U],s=e(+i),h=0;htt;)(H=Q[tt++])in _||c(_,H,P[H]);o||(Z.constructor=_)}var nt=new S(new _(2)),rt=S[m].setInt8;nt.setInt8(0,2147483648),nt.setInt8(1,2147483649),!nt.getInt8(0)&&nt.getInt8(1)||f(S[m],{setInt8:function(t,n){rt.call(this,t,n<<24>>24)},setUint8:function(t,n){rt.call(this,t,n<<24>>24)}},!0)}else _=function(t){var n=$(this,t);this._b=y.call(Array(n),0),this[C]=n},S=function(t,n,r){s(this,S,b),s(t,_,b);var e=t[C],i=l(n);if(i<0||i>e)throw O("Wrong offset!");if(r=void 0===r?e-i:h(r),i+r>e)throw O(w);this[L]=t,this[U]=i,this[C]=r},i&&(K(_,R,"_l"),K(S,T,"_b"),K(S,R,"_l"),K(S,k,"_o")),f(S[m],{getInt8:function(t){return q(this,1,t)[0]<<24>>24},getUint8:function(t){return q(this,1,t)[0]},getInt16:function(t){var n=q(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=q(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return G(q(this,4,t,arguments[1]))},getUint32:function(t){return G(q(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return W(q(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return W(q(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){X(this,1,t,B,n)},setUint8:function(t,n){X(this,1,t,B,n)},setInt16:function(t,n){X(this,2,t,V,n,arguments[2])},setUint16:function(t,n){X(this,2,t,V,n,arguments[2])},setInt32:function(t,n){X(this,4,t,z,n,arguments[2])},setUint32:function(t,n){X(this,4,t,z,n,arguments[2])},setFloat32:function(t,n){X(this,4,t,J,n,arguments[2])},setFloat64:function(t,n){X(this,8,t,Y,n,arguments[2])}});d(_,g),d(S,b),c(S[m],u.VIEW,!0),n[g]=_,n[b]=S},function(t,n,r){var e=r(8);e(e.G+e.W+e.F*!r(219).ABV,{DataView:r(220).DataView})},function(t,n,r){r(223)("Int8",1,function(t){return function(n,r,e){return t(this,n,r,e)}})},function(t,n,r){"use strict";if(r(6)){var e=r(28),i=r(4),o=r(7),u=r(8),c=r(219),f=r(220),a=r(20),s=r(205),l=r(17),h=r(10),v=r(210),p=r(38),y=r(37),d=r(39),g=r(16),b=r(5),m=r(71),w=r(75),x=r(13),_=r(58),S=r(162),E=r(46),O=r(59),F=r(50).f,P=r(164),M=r(19),A=r(25),j=r(172),N=r(36),I=r(207),T=r(193),R=r(129),k=r(165),L=r(192),C=r(188),U=r(185),D=r(11),W=r(51),G=D.f,B=W.f,V=i.RangeError,z=i.TypeError,Y=i.Uint8Array,J="ArrayBuffer",K="Shared"+J,q="BYTES_PER_ELEMENT",X="prototype",$=Array[X],H=f.ArrayBuffer,Z=f.DataView,Q=j(0),tt=j(2),nt=j(3),rt=j(4),et=j(5),it=j(6),ot=N(!0),ut=N(!1),ct=T.values,ft=T.keys,at=T.entries,st=$.lastIndexOf,lt=$.reduce,ht=$.reduceRight,vt=$.join,pt=$.sort,yt=$.slice,dt=$.toString,gt=$.toLocaleString,bt=A("iterator"),mt=A("toStringTag"),wt=M("typed_constructor"),xt=M("def_constructor"),_t=c.CONSTR,St=c.TYPED,Et=c.VIEW,Ot="Wrong length!",Ft=j(1,function(t,n){return It(I(t,t[xt]),n)}),Pt=o(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),Mt=!!Y&&!!Y[X].set&&o(function(){new Y(1).set({})}),At=function(t,n){if(void 0===t)throw z(Ot);var r=+t,e=y(t);if(n&&!m(r,e))throw V(Ot);return e},jt=function(t,n){var r=p(t);if(r<0||r%n)throw V("Wrong offset!");return r},Nt=function(t){if(x(t)&&St in t)return t;throw z(t+" is not a typed array!")},It=function(t,n){if(!(x(t)&&wt in t))throw z("It is not a typed array constructor!");return new t(n)},Tt=function(t,n){return Rt(I(t,t[xt]),n)},Rt=function(t,n){for(var r=0,e=n.length,i=It(t,e);e>r;)i[r]=n[r++];return i},kt=function(t,n,r){G(t,n,{get:function(){return this._d[r]}})},Lt=function(t){var n,r,e,i,o,u,c=_(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,h=P(c);if(void 0!=h&&!S(h)){for(u=h.call(c),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);c=e}for(l&&f>2&&(s=a(s,arguments[2],2)),n=0,r=y(c.length),i=It(this,r);r>n;n++)i[n]=l?s(c[n],n):c[n];return i},Ct=function(){for(var t=0,n=arguments.length,r=It(this,n);n>t;)r[t]=arguments[t++];return r},Ut=!!Y&&o(function(){gt.call(new Y(1))}),Dt=function(){return gt.apply(Ut?yt.call(Nt(this)):Nt(this),arguments)},Wt={copyWithin:function(t,n){return U.call(Nt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return rt(Nt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Nt(this),arguments)},filter:function(t){return Tt(this,tt(Nt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return et(Nt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return it(Nt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){Q(Nt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return ut(Nt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return ot(Nt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return vt.apply(Nt(this),arguments)},lastIndexOf:function(t){return st.apply(Nt(this),arguments)},map:function(t){return Ft(Nt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return lt.apply(Nt(this),arguments)},reduceRight:function(t){return ht.apply(Nt(this),arguments)},reverse:function(){for(var t,n=this,r=Nt(n).length,e=Math.floor(r/2),i=0;i1?arguments[1]:void 0)},sort:function(t){return pt.call(Nt(this),t)},subarray:function(t,n){var r=Nt(this),e=r.length,i=d(t,e);return new(I(r,r[xt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,y((void 0===n?e:d(n,e))-i))}},Gt=function(t,n){return Tt(this,yt.call(Nt(this),t,n))},Bt=function(t){Nt(this);var n=jt(arguments[1],1),r=this.length,e=_(t),i=y(e.length),o=0;if(i+n>r)throw V(Ot);for(;o255?255:255&e),i.v[p](r*n+i.o,e,Pt)},A=function(t,n){G(t,n,{get:function(){return P(this,n)},set:function(t){return M(this,n,t)},enumerable:!0})};m?(d=r(function(t,r,e,i){s(t,d,a,"_d");var o,u,c,f,l=0,v=0;if(x(r)){if(!(r instanceof H||(f=w(r))==J||f==K))return St in r?Rt(d,r):Lt.call(d,r);o=r,v=jt(e,n);var p=r.byteLength;if(void 0===i){if(p%n)throw V(Ot);if(u=p-v,u<0)throw V(Ot)}else if(u=y(i)*n,u+v>p)throw V(Ot);c=u/n}else c=At(r,!0),u=c*n,o=new H(u);for(h(t,"_d",{b:o,o:v,l:u,e:c,v:new Z(o)});l=r.length)return{value:void 0,done:!0};while(!((t=r[n._i++])in n._t));return{value:t,done:!1}}),e(e.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,r){function e(t,n){var r,c,s=arguments.length<3?t:arguments[2];return a(t)===s?t[n]:(r=i.f(t,n))?u(r,"value")?r.value:void 0!==r.get?r.get.call(s):void 0:f(c=o(t))?e(c,n,s):void 0}var i=r(51),o=r(59),u=r(5),c=r(8),f=r(13),a=r(12);c(c.S,"Reflect",{get:e})},function(t,n,r){var e=r(51),i=r(8),o=r(12);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return e.f(o(t),n)}})},function(t,n,r){var e=r(8),i=r(59),o=r(12);e(e.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,r){var e=r(8);e(e.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,r){var e=r(8),i=r(12),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,r){var e=r(8);e(e.S,"Reflect",{ownKeys:r(243)})},function(t,n,r){var e=r(50),i=r(43),o=r(12),u=r(4).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(o(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(8),i=r(12),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,r){function e(t,n,r){var f,h,v=arguments.length<4?t:arguments[3],p=o.f(s(t),n);if(!p){if(l(h=u(t)))return e(h,n,r,v);p=a(0)}return c(p,"value")?!(p.writable===!1||!l(v))&&(f=o.f(v,n)||a(0),f.value=r,i.f(v,n,f),!0):void 0!==p.set&&(p.set.call(v,r),!0)}var i=r(11),o=r(51),u=r(59),c=r(5),f=r(8),a=r(17),s=r(12),l=r(13);f(f.S,"Reflect",{set:e})},function(t,n,r){var e=r(8),i=r(73);i&&e(e.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,r){"use strict";var e=r(8),i=r(36)(!0);e(e.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(186)("includes")},function(t,n,r){"use strict";var e=r(8),i=r(127)(!0);e(e.P,"String",{at:function(t){return i(this,t)}})},function(t,n,r){"use strict";var e=r(8),i=r(250);e(e.P,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,r){var e=r(37),i=r(91),o=r(35);t.exports=function(t,n,r,u){var c=String(o(t)),f=c.length,a=void 0===r?" ":String(r),s=e(n);if(s<=f||""==a)return c;var l=s-f,h=i.call(a,Math.ceil(l/a.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},function(t,n,r){"use strict";var e=r(8),i=r(250);e(e.P,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,r){"use strict";r(83)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,n,r){"use strict";r(83)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,n,r){"use strict";var e=r(8),i=r(35),o=r(37),u=r(134),c=r(196),f=RegExp.prototype,a=function(t,n){this._r=t,this._s=n};r(130)(a,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),e(e.P,"String",{matchAll:function(t){if(i(this),!u(t))throw TypeError(t+" is not a regexp!");var n=String(this),r="flags"in f?String(t.flags):c.call(t),e=new RegExp(t.source,~r.indexOf("g")?r:"g"+r);return e.lastIndex=o(t.lastIndex),new a(e,n)}})},function(t,n,r){r(27)("asyncIterator")},function(t,n,r){r(27)("observable")},function(t,n,r){var e=r(8),i=r(243),o=r(32),u=r(51),c=r(163);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r=o(t),e=u.f,f=i(r),a={},s=0;f.length>s;)c(a,n=f[s++],e(r,n));return a}})},function(t,n,r){var e=r(8),i=r(259)(!1);e(e.S,"Object",{values:function(t){return i(t)}})},function(t,n,r){var e=r(30),i=r(32),o=r(44).f;t.exports=function(t){return function(n){for(var r,u=i(n),c=e(u),f=c.length,a=0,s=[];f>a;)o.call(u,r=c[a++])&&s.push(t?[r,u[r]]:u[r]);return s}}},function(t,n,r){var e=r(8),i=r(259)(!0);e(e.S,"Object",{entries:function(t){return i(t)}})},function(t,n,r){"use strict";var e=r(8),i=r(58),o=r(21),u=r(11);r(6)&&e(e.P+r(262),"Object",{__defineGetter__:function(t,n){u.f(i(this),t,{get:o(n),enumerable:!0,configurable:!0})}})},function(t,n,r){t.exports=r(28)||!r(7)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete r(4)[t]})},function(t,n,r){"use strict";var e=r(8),i=r(58),o=r(21),u=r(11);r(6)&&e(e.P+r(262),"Object",{__defineSetter__:function(t,n){u.f(i(this),t,{set:o(n),enumerable:!0,configurable:!0})}})},function(t,n,r){"use strict";var e=r(8),i=r(58),o=r(16),u=r(59),c=r(51).f;r(6)&&e(e.P+r(262),"Object",{__lookupGetter__:function(t){var n,r=i(this),e=o(t,!0);do if(n=c(r,e))return n.get;while(r=u(r))}})},function(t,n,r){"use strict";var e=r(8),i=r(58),o=r(16),u=r(59),c=r(51).f;r(6)&&e(e.P+r(262),"Object",{__lookupSetter__:function(t){var n,r=i(this),e=o(t,!0);do if(n=c(r,e))return n.set;while(r=u(r))}})},function(t,n,r){var e=r(8);e(e.P+e.R,"Map",{toJSON:r(267)("Map")})},function(t,n,r){var e=r(75),i=r(268);t.exports=function(t){return function(){if(e(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,n,r){var e=r(206);t.exports=function(t,n){var r=[];return e(t,!1,r.push,r,n),r}},function(t,n,r){var e=r(8);e(e.P+e.R,"Set",{toJSON:r(267)("Set")})},function(t,n,r){var e=r(8);e(e.S,"System",{global:r(4)})},function(t,n,r){var e=r(8),i=r(34);e(e.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,n,r){var e=r(8);e(e.S,"Math",{iaddh:function(t,n,r,e){var i=t>>>0,o=n>>>0,u=r>>>0;return o+(e>>>0)+((i&u|(i|u)&~(i+u>>>0))>>>31)|0}})},function(t,n,r){var e=r(8);e(e.S,"Math",{isubh:function(t,n,r,e){var i=t>>>0,o=n>>>0,u=r>>>0;return o-(e>>>0)-((~i&u|~(i^u)&i-u>>>0)>>>31)|0}})},function(t,n,r){var e=r(8);e(e.S,"Math",{imulh:function(t,n){var r=65535,e=+t,i=+n,o=e&r,u=i&r,c=e>>16,f=i>>16,a=(c*u>>>0)+(o*u>>>16);return c*f+(a>>16)+((o*f>>>0)+(a&r)>>16)}})},function(t,n,r){var e=r(8);e(e.S,"Math",{umulh:function(t,n){var r=65535,e=+t,i=+n,o=e&r,u=i&r,c=e>>>16,f=i>>>16,a=(c*u>>>0)+(o*u>>>16);return c*f+(a>>>16)+((o*f>>>0)+(a&r)>>>16)}})},function(t,n,r){var e=r(277),i=r(12),o=e.key,u=e.set;e.exp({defineMetadata:function(t,n,r,e){u(t,n,i(r),o(e))}})},function(t,n,r){var e=r(211),i=r(8),o=r(23)("metadata"),u=o.store||(o.store=new(r(215))),c=function(t,n,r){var i=u.get(t);if(!i){if(!r)return;u.set(t,i=new e)}var o=i.get(n);if(!o){if(!r)return;i.set(n,o=new e)}return o},f=function(t,n,r){var e=c(n,r,!1);return void 0!==e&&e.has(t)},a=function(t,n,r){var e=c(n,r,!1);return void 0===e?void 0:e.get(t)},s=function(t,n,r,e){c(r,e,!0).set(t,n)},l=function(t,n){var r=c(t,n,!1),e=[];return r&&r.forEach(function(t,n){e.push(n)}),e},h=function(t){return void 0===t||"symbol"==typeof t?t:String(t)},v=function(t){i(i.S,"Reflect",t)};t.exports={store:u,map:c,has:f,get:a,set:s,keys:l,key:h,exp:v}},function(t,n,r){var e=r(277),i=r(12),o=e.key,u=e.map,c=e.store;e.exp({deleteMetadata:function(t,n){var r=arguments.length<3?void 0:o(arguments[2]),e=u(i(n),r,!1);if(void 0===e||!e.delete(t))return!1;if(e.size)return!0;var f=c.get(n);return f.delete(r),!!f.size||c.delete(n)}})},function(t,n,r){var e=r(277),i=r(12),o=r(59),u=e.has,c=e.get,f=e.key,a=function(t,n,r){var e=u(t,n,r);if(e)return c(t,n,r);var i=o(n);return null!==i?a(t,i,r):void 0};e.exp({getMetadata:function(t,n){return a(t,i(n),arguments.length<3?void 0:f(arguments[2]))}})},function(t,n,r){var e=r(214),i=r(268),o=r(277),u=r(12),c=r(59),f=o.keys,a=o.key,s=function(t,n){var r=f(t,n),o=c(t);if(null===o)return r;var u=s(o,n);return u.length?r.length?i(new e(r.concat(u))):u:r};o.exp({getMetadataKeys:function(t){return s(u(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,n,r){var e=r(277),i=r(12),o=e.get,u=e.key;e.exp({getOwnMetadata:function(t,n){return o(t,i(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,r){var e=r(277),i=r(12),o=e.keys,u=e.key;e.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:u(arguments[1]))}})},function(t,n,r){var e=r(277),i=r(12),o=r(59),u=e.has,c=e.key,f=function(t,n,r){var e=u(t,n,r);if(e)return!0;var i=o(n);return null!==i&&f(t,i,r)};e.exp({hasMetadata:function(t,n){return f(t,i(n),arguments.length<3?void 0:c(arguments[2]))}})},function(t,n,r){var e=r(277),i=r(12),o=e.has,u=e.key;e.exp({hasOwnMetadata:function(t,n){return o(t,i(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,r){var e=r(277),i=r(12),o=r(21),u=e.key,c=e.set;e.exp({metadata:function(t,n){return function(r,e){c(t,n,(void 0!==e?i:o)(r),u(e))}}})},function(t,n,r){var e=r(8),i=r(209)(),o=r(4).process,u="process"==r(34)(o);e(e.G,{asap:function(t){var n=u&&o.domain;i(n?n.bind(t):t)}})},function(t,n,r){"use strict";var e=r(8),i=r(4),o=r(9),u=r(209)(),c=r(25)("observable"),f=r(21),a=r(12),s=r(205),l=r(210),h=r(10),v=r(206),p=v.RETURN,y=function(t){return null==t?void 0:f(t)},d=function(t){var n=t._c;n&&(t._c=void 0,n())},g=function(t){return void 0===t._o},b=function(t){g(t)||(t._o=void 0,d(t))},m=function(t,n){a(t),this._c=void 0,this._o=t,t=new w(this);try{var r=n(t),e=r;null!=r&&("function"==typeof r.unsubscribe?r=function(){e.unsubscribe()}:f(r),this._c=r)}catch(n){return void t.error(n)}g(this)&&d(this)};m.prototype=l({},{unsubscribe:function(){b(this)}});var w=function(t){this._s=t};w.prototype=l({},{next:function(t){var n=this._s;if(!g(n)){var r=n._o;try{var e=y(r.next);if(e)return e.call(r,t)}catch(t){try{b(n)}finally{throw t}}}},error:function(t){var n=this._s;if(g(n))throw t;var r=n._o;n._o=void 0;try{var e=y(r.error);if(!e)throw t;t=e.call(r,t)}catch(t){try{d(n)}finally{throw t}}return d(n),t},complete:function(t){var n=this._s;if(!g(n)){var r=n._o;n._o=void 0;try{var e=y(r.complete);t=e?e.call(r,t):void 0}catch(t){try{d(n)}finally{throw t}}return d(n),t}}});var x=function(t){s(this,x,"Observable","_f")._f=f(t)};l(x.prototype,{subscribe:function(t){return new m(t,this._f)},forEach:function(t){var n=this;return new(o.Promise||i.Promise)(function(r,e){f(t);var i=n.subscribe({next:function(n){try{return t(n)}catch(t){e(t),i.unsubscribe()}},error:e,complete:r})})}}),l(x,{from:function(t){var n="function"==typeof this?this:x,r=y(a(t)[c]);if(r){var e=a(r.call(t));return e.constructor===n?e:new n(function(t){return e.subscribe(t)})}return new n(function(n){var r=!1;return u(function(){if(!r){try{if(v(t,!1,function(t){if(n.next(t),r)return p})===p)return}catch(t){if(r)throw t;return void n.error(t)}n.complete()}}),function(){r=!0}})},of:function(){for(var t=0,n=arguments.length,r=Array(n);tu;)(r[u]=arguments[u++])===c&&(f=!0);return function(){var e,o=this,u=arguments.length,a=0,s=0;if(!f&&!u)return i(t,r,o);if(e=r.slice(),f)for(;n>a;a++)e[a]===c&&(e[a]=arguments[s++]);for(;u>s;)e.push(arguments[s++]);return i(t,e,o)}}},function(t,n,r){t.exports=r(4)},function(t,n,r){var e=r(8),i=r(208);e(e.G+e.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,r){for(var e=r(193),i=r(18),o=r(4),u=r(10),c=r(129),f=r(25),a=f("iterator"),s=f("toStringTag"),l=c.Array,h=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],v=0;v<5;v++){var p,y=h[v],d=o[y],g=d&&d.prototype;if(g){g[a]||u(g,a,l),g[s]||u(g,s,y),c[y]=l;for(p in e)g[p]||i(g,p,e[p],!0)}}},function(t,n,r){(function(n,r){!function(n){"use strict";function e(t,n,r,e){var i=n&&n.prototype instanceof o?n:o,u=Object.create(i.prototype),c=new v(e||[]);return u._invoke=s(t,r,c),u}function i(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}function o(){}function u(){}function c(){}function f(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function a(t){function n(r,e,o,u){var c=i(t[r],t,e);if("throw"!==c.type){var f=c.arg,a=f.value;return a&&"object"==typeof a&&b.call(a,"__await")?Promise.resolve(a.__await).then(function(t){n("next",t,o,u)},function(t){n("throw",t,o,u)}):Promise.resolve(a).then(function(t){f.value=t,o(f)},u)}u(c.arg)}function e(t,r){function e(){return new Promise(function(e,i){n(t,r,e,i)})}return o=o?o.then(e,e):e()}"object"==typeof r&&r.domain&&(n=r.domain.bind(n));var o;this._invoke=e}function s(t,n,r){var e=E;return function(o,u){if(e===F)throw new Error("Generator is already running");if(e===P){if("throw"===o)throw u;return y()}for(;;){var c=r.delegate;if(c){if("return"===o||"throw"===o&&c.iterator[o]===d){r.delegate=null;var f=c.iterator.return;if(f){var a=i(f,c.iterator,u);if("throw"===a.type){o="throw",u=a.arg;continue}}if("return"===o)continue}var a=i(c.iterator[o],c.iterator,u);if("throw"===a.type){r.delegate=null,o="throw",u=a.arg;continue}o="next",u=d;var s=a.arg;if(!s.done)return e=O,s;r[c.resultName]=s.value,r.next=c.nextLoc,r.delegate=null}if("next"===o)r.sent=r._sent=u;else if("throw"===o){if(e===E)throw e=P,u;r.dispatchException(u)&&(o="next",u=d)}else"return"===o&&r.abrupt("return",u);e=F;var a=i(t,n,r);if("normal"===a.type){e=r.done?P:O;var s={value:a.arg,done:r.done};if(a.arg!==M)return s;r.delegate&&"next"===o&&(u=d)}else"throw"===a.type&&(e=P,o="throw",u=a.arg)}}}function l(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function h(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function v(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function p(t){if(t){var n=t[w];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,e=function n(){for(;++r=0;--e){var i=this.tryEntries[e],o=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var u=b.call(i,"catchLoc"),c=b.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var e=this.tryEntries[r];if(e.tryLoc<=this.prev&&b.call(e,"finallyLoc")&&this.prev=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),h(r),M}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var i=e.arg;h(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:p(t),resultName:n,nextLoc:r},M}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(n,function(){return this}(),r(294))},function(t,n){function r(){throw new Error("setTimeout has not been defined")}function e(){throw new Error("clearTimeout has not been defined")}function i(t){if(s===setTimeout)return setTimeout(t,0);if((s===r||!s)&&setTimeout)return s=setTimeout,setTimeout(t,0);try{return s(t,0)}catch(n){try{return s.call(null,t,0)}catch(n){return s.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===e||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(n){try{return l.call(null,t)}catch(n){return l.call(this,t)}}}function u(){y&&v&&(y=!1,v.length?p=v.concat(p):d=-1,p.length&&c())}function c(){if(!y){var t=i(u);y=!0;for(var n=p.length;n;){for(v=p,p=[];++d1)for(var r=1;r2?arguments[2]:void 0,i=Math.min((void 0===c?u:n(c,u))-l,u-d),m=1;for(l0;)l in s?s[d]=s[l]:delete s[d],d+=m,l+=m;return s}},"./node_modules/core-js/modules/_array-fill.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_to-object.js"),n=s("./node_modules/core-js/modules/_to-index.js"),t=s("./node_modules/core-js/modules/_to-length.js");e.exports=function(e){for(var o=r(this),s=t(o.length),u=arguments.length,d=n(u>1?arguments[1]:void 0,s),l=u>2?arguments[2]:void 0,c=void 0===l?s:n(l,s);c>d;)o[d++]=e;return o}},"./node_modules/core-js/modules/_array-from-iterable.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_for-of.js");e.exports=function(e,o){var s=[];return r(e,!1,s.push,s,o),s}},"./node_modules/core-js/modules/_array-includes.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-iobject.js"),n=s("./node_modules/core-js/modules/_to-length.js"),t=s("./node_modules/core-js/modules/_to-index.js");e.exports=function(e){return function(o,s,u){var d,l=r(o),c=n(l.length),i=t(u,c);if(e&&s!=s){for(;c>i;)if((d=l[i++])!=d)return!0}else for(;c>i;i++)if((e||i in l)&&l[i]===s)return e||i||0;return!e&&-1}}},"./node_modules/core-js/modules/_array-methods.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_ctx.js"),n=s("./node_modules/core-js/modules/_iobject.js"),t=s("./node_modules/core-js/modules/_to-object.js"),u=s("./node_modules/core-js/modules/_to-length.js"),d=s("./node_modules/core-js/modules/_array-species-create.js");e.exports=function(e,o){var s=1==e,l=2==e,c=3==e,i=4==e,m=6==e,j=5==e||m,_=o||d;return function(o,d,a){for(var f,p,h=t(o),v=n(h),g=r(d,a,3),y=u(v.length),b=0,x=s?_(o,y):l?_(o,0):void 0;y>b;b++)if((j||b in v)&&(f=v[b],p=g(f,b,h),e))if(s)x[b]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return b;case 2:x.push(f)}else if(i)return!1;return m?-1:c||i?i:x}}},"./node_modules/core-js/modules/_array-reduce.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_a-function.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_iobject.js"),u=s("./node_modules/core-js/modules/_to-length.js");e.exports=function(e,o,s,d,l){r(o);var c=n(e),i=t(c),m=u(c.length),j=l?m-1:0,_=l?-1:1;if(s<2)for(;;){if(j in i){d=i[j],j+=_;break}if(j+=_,l?j<0:m<=j)throw TypeError("Reduce of empty array with no initial value")}for(;l?j>=0:m>j;j+=_)j in i&&(d=o(d,i[j],j,c));return d}},"./node_modules/core-js/modules/_array-species-constructor.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_is-array.js"),t=s("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e){var o;return n(e)&&(o=e.constructor,"function"!=typeof o||o!==Array&&!n(o.prototype)||(o=void 0),r(o)&&null===(o=o[t])&&(o=void 0)),void 0===o?Array:o}},"./node_modules/core-js/modules/_array-species-create.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_array-species-constructor.js");e.exports=function(e,o){return new(r(e))(o)}},"./node_modules/core-js/modules/_bind.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_a-function.js"),n=s("./node_modules/core-js/modules/_is-object.js"),t=s("./node_modules/core-js/modules/_invoke.js"),u=[].slice,d={},l=function(e,o,s){if(!(o in d)){for(var r=[],n=0;n1?arguments[1]:void 0,3);o=o?o.n:this._f;)for(s(o.v,o.k,this);o&&o.r;)o=o.p},has:function(e){return!!p(this,e)}}),_&&r(m.prototype,"size",{get:function(){return l(this[f])}}),m},def:function(e,o,s){var r,n,t=p(e,o);return t?t.v=s:(e._l=t={i:n=a(o,!0),k:o,v:s,p:r=e._l,n:void 0,r:!1},e._f||(e._f=t),r&&(r.n=t),e[f]++,"F"!==n&&(e._i[n]=t)),e},getEntry:p,setStrong:function(e,o,s){i(e,o,function(e,o){this._t=e,this._k=o,this._l=void 0},function(){for(var e=this,o=e._k,s=e._l;s&&s.r;)s=s.p;return e._t&&(e._l=s=s?s.n:e._t._f)?"keys"==o?m(0,s.k):"values"==o?m(0,s.v):m(0,[s.k,s.v]):(e._t=void 0,m(1))},s?"entries":"values",!s,!0),j(o)}}},"./node_modules/core-js/modules/_collection-to-json.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_classof.js"),n=s("./node_modules/core-js/modules/_array-from-iterable.js");e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return n(this)}}},"./node_modules/core-js/modules/_collection-weak.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_redefine-all.js"),n=s("./node_modules/core-js/modules/_meta.js").getWeak,t=s("./node_modules/core-js/modules/_an-object.js"),u=s("./node_modules/core-js/modules/_is-object.js"),d=s("./node_modules/core-js/modules/_an-instance.js"),l=s("./node_modules/core-js/modules/_for-of.js"),c=s("./node_modules/core-js/modules/_array-methods.js"),i=s("./node_modules/core-js/modules/_has.js"),m=c(5),j=c(6),_=0,a=function(e){return e._l||(e._l=new f)},f=function(){this.a=[]},p=function(e,o){return m(e.a,function(e){return e[0]===o})};f.prototype={get:function(e){var o=p(this,e);if(o)return o[1]},has:function(e){return!!p(this,e)},set:function(e,o){var s=p(this,e);s?s[1]=o:this.a.push([e,o])},delete:function(e){var o=j(this.a,function(o){return o[0]===e});return~o&&this.a.splice(o,1),!!~o}},e.exports={getConstructor:function(e,o,s,t){var c=e(function(e,r){d(e,c,o,"_i"),e._i=_++,e._l=void 0,void 0!=r&&l(r,s,e[t],e)});return r(c.prototype,{delete:function(e){if(!u(e))return!1;var o=n(e);return o===!0?a(this).delete(e):o&&i(o,this._i)&&delete o[this._i]},has:function(e){if(!u(e))return!1;var o=n(e);return o===!0?a(this).has(e):o&&i(o,this._i)}}),c},def:function(e,o,s){var r=n(t(o),!0);return r===!0?a(e).set(o,s):r[e._i]=s,e},ufstore:a}},"./node_modules/core-js/modules/_collection.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_redefine.js"),u=s("./node_modules/core-js/modules/_redefine-all.js"),d=s("./node_modules/core-js/modules/_meta.js"),l=s("./node_modules/core-js/modules/_for-of.js"),c=s("./node_modules/core-js/modules/_an-instance.js"),i=s("./node_modules/core-js/modules/_is-object.js"),m=s("./node_modules/core-js/modules/_fails.js"),j=s("./node_modules/core-js/modules/_iter-detect.js"),_=s("./node_modules/core-js/modules/_set-to-string-tag.js"),a=s("./node_modules/core-js/modules/_inherit-if-required.js");e.exports=function(e,o,s,f,p,h){var v=r[e],g=v,y=p?"set":"add",b=g&&g.prototype,x={},w=function(e){var o=b[e];t(b,e,"delete"==e?function(e){return!(h&&!i(e))&&o.call(this,0===e?0:e)}:"has"==e?function(e){return!(h&&!i(e))&&o.call(this,0===e?0:e)}:"get"==e?function(e){return h&&!i(e)?void 0:o.call(this,0===e?0:e)}:"add"==e?function(e){return o.call(this,0===e?0:e),this}:function(e,s){return o.call(this,0===e?0:e,s),this})};if("function"==typeof g&&(h||b.forEach&&!m(function(){(new g).entries().next()}))){var S=new g,k=S[y](h?{}:-0,1)!=S,E=m(function(){S.has(1)}),O=j(function(e){new g(e)}),F=!h&&m(function(){for(var e=new g,o=5;o--;)e[y](o,o);return!e.has(-0)});O||(g=o(function(o,s){c(o,g,e);var r=a(new v,o,g);return void 0!=s&&l(s,p,r[y],r),r}),g.prototype=b,b.constructor=g),(E||F)&&(w("delete"),w("has"),p&&w("get")),(F||k)&&w(y),h&&b.clear&&delete b.clear}else g=f.getConstructor(o,e,p,y),u(g.prototype,s),d.NEED=!0;return _(g,e),x[e]=g,n(n.G+n.W+n.F*(g!=v),x),h||f.setStrong(g,e,p),g}},"./node_modules/core-js/modules/_core.js":function(e,o){var s=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=s)},"./node_modules/core-js/modules/_create-property.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_object-dp.js"),n=s("./node_modules/core-js/modules/_property-desc.js");e.exports=function(e,o,s){o in e?r.f(e,o,n(0,s)):e[o]=s}},"./node_modules/core-js/modules/_ctx.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_a-function.js");e.exports=function(e,o,s){if(r(e),void 0===o)return e;switch(s){case 1:return function(s){return e.call(o,s)};case 2:return function(s,r){return e.call(o,s,r)};case 3:return function(s,r,n){return e.call(o,s,r,n)}}return function(){return e.apply(o,arguments)}}},"./node_modules/core-js/modules/_date-to-primitive.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_an-object.js"),n=s("./node_modules/core-js/modules/_to-primitive.js"),t="number";e.exports=function(e){if("string"!==e&&e!==t&&"default"!==e)throw TypeError("Incorrect hint");return n(r(this),e!=t)}},"./node_modules/core-js/modules/_defined.js":function(e,o){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/modules/_descriptors.js":function(e,o,s){e.exports=!s("./node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/modules/_dom-create.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_global.js").document,t=r(n)&&r(n.createElement);e.exports=function(e){return t?n.createElement(e):{}}},"./node_modules/core-js/modules/_enum-bug-keys.js":function(e,o){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/modules/_enum-keys.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-keys.js"),n=s("./node_modules/core-js/modules/_object-gops.js"),t=s("./node_modules/core-js/modules/_object-pie.js");e.exports=function(e){var o=r(e),s=n.f;if(s)for(var u,d=s(e),l=t.f,c=0;d.length>c;)l.call(e,u=d[c++])&&o.push(u);return o}},"./node_modules/core-js/modules/_export.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_core.js"),t=s("./node_modules/core-js/modules/_hide.js"),u=s("./node_modules/core-js/modules/_redefine.js"),d=s("./node_modules/core-js/modules/_ctx.js"),l="prototype",c=function(e,o,s){var i,m,j,_,a=e&c.F,f=e&c.G,p=e&c.S,h=e&c.P,v=e&c.B,g=f?r:p?r[o]||(r[o]={}):(r[o]||{})[l],y=f?n:n[o]||(n[o]={}),b=y[l]||(y[l]={});f&&(s=o);for(i in s)m=!a&&g&&void 0!==g[i],j=(m?g:s)[i],_=v&&m?d(j,r):h&&"function"==typeof j?d(Function.call,j):j,g&&u(g,i,j,e&c.U),y[i]!=j&&t(y,i,_),h&&b[i]!=j&&(b[i]=j)};r.core=n,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},"./node_modules/core-js/modules/_fails-is-regexp.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var o=/./;try{"/./"[e](o)}catch(s){try{return o[r]=!1,!"/./"[e](o)}catch(e){}}return!0}},"./node_modules/core-js/modules/_fails.js":function(e,o){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/modules/_fix-re-wks.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_hide.js"),n=s("./node_modules/core-js/modules/_redefine.js"),t=s("./node_modules/core-js/modules/_fails.js"),u=s("./node_modules/core-js/modules/_defined.js"),d=s("./node_modules/core-js/modules/_wks.js");e.exports=function(e,o,s){var l=d(e),c=s(u,l,""[e]),i=c[0],m=c[1];t(function(){var o={};return o[l]=function(){return 7},7!=""[e](o)})&&(n(String.prototype,e,i),r(RegExp.prototype,l,2==o?function(e,o){return m.call(e,this,o)}:function(e){return m.call(e,this)}))}},"./node_modules/core-js/modules/_flags.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_an-object.js");e.exports=function(){var e=r(this),o="";return e.global&&(o+="g"),e.ignoreCase&&(o+="i"),e.multiline&&(o+="m"),e.unicode&&(o+="u"),e.sticky&&(o+="y"),o}},"./node_modules/core-js/modules/_for-of.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_ctx.js"),n=s("./node_modules/core-js/modules/_iter-call.js"),t=s("./node_modules/core-js/modules/_is-array-iter.js"),u=s("./node_modules/core-js/modules/_an-object.js"),d=s("./node_modules/core-js/modules/_to-length.js"),l=s("./node_modules/core-js/modules/core.get-iterator-method.js"),c={},i={},o=e.exports=function(e,o,s,m,j){var _,a,f,p,h=j?function(){return e}:l(e),v=r(s,m,o?2:1),g=0;if("function"!=typeof h)throw TypeError(e+" is not iterable!");if(t(h)){for(_=d(e.length);_>g;g++)if((p=o?v(u(a=e[g])[0],a[1]):v(e[g]))===c||p===i)return p}else for(f=h.call(e);!(a=f.next()).done;)if((p=n(f,v,a.value,o))===c||p===i)return p};o.BREAK=c,o.RETURN=i},"./node_modules/core-js/modules/_global.js":function(e,o){var s=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=s)},"./node_modules/core-js/modules/_has.js":function(e,o){var s={}.hasOwnProperty;e.exports=function(e,o){return s.call(e,o)}},"./node_modules/core-js/modules/_hide.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-dp.js"),n=s("./node_modules/core-js/modules/_property-desc.js");e.exports=s("./node_modules/core-js/modules/_descriptors.js")?function(e,o,s){return r.f(e,o,n(1,s))}:function(e,o,s){return e[o]=s,e}},"./node_modules/core-js/modules/_html.js":function(e,o,s){e.exports=s("./node_modules/core-js/modules/_global.js").document&&document.documentElement},"./node_modules/core-js/modules/_ie8-dom-define.js":function(e,o,s){e.exports=!s("./node_modules/core-js/modules/_descriptors.js")&&!s("./node_modules/core-js/modules/_fails.js")(function(){return 7!=Object.defineProperty(s("./node_modules/core-js/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/modules/_inherit-if-required.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_set-proto.js").set;e.exports=function(e,o,s){var t,u=o.constructor;return u!==s&&"function"==typeof u&&(t=u.prototype)!==s.prototype&&r(t)&&n&&n(e,t),e}},"./node_modules/core-js/modules/_invoke.js":function(e,o){e.exports=function(e,o,s){var r=void 0===s;switch(o.length){case 0:return r?e():e.call(s);case 1:return r?e(o[0]):e.call(s,o[0]);case 2:return r?e(o[0],o[1]):e.call(s,o[0],o[1]);case 3:return r?e(o[0],o[1],o[2]):e.call(s,o[0],o[1],o[2]);case 4:return r?e(o[0],o[1],o[2],o[3]):e.call(s,o[0],o[1],o[2],o[3])}return e.apply(s,o)}},"./node_modules/core-js/modules/_iobject.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"./node_modules/core-js/modules/_is-array-iter.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_iterators.js"),n=s("./node_modules/core-js/modules/_wks.js")("iterator"),t=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||t[n]===e)}},"./node_modules/core-js/modules/_is-array.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/core-js/modules/_is-integer.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&n(e)===e}},"./node_modules/core-js/modules/_is-object.js":function(e,o){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/modules/_is-regexp.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_cof.js"),t=s("./node_modules/core-js/modules/_wks.js")("match");e.exports=function(e){var o;return r(e)&&(void 0!==(o=e[t])?!!o:"RegExp"==n(e))}},"./node_modules/core-js/modules/_iter-call.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_an-object.js");e.exports=function(e,o,s,n){try{return n?o(r(s)[0],s[1]):o(s)}catch(o){var t=e.return;throw void 0!==t&&r(t.call(e)),o}}},"./node_modules/core-js/modules/_iter-create.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_object-create.js"),n=s("./node_modules/core-js/modules/_property-desc.js"),t=s("./node_modules/core-js/modules/_set-to-string-tag.js"),u={};s("./node_modules/core-js/modules/_hide.js")(u,s("./node_modules/core-js/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,o,s){e.prototype=r(u,{next:n(1,s)}),t(e,o+" Iterator")}},"./node_modules/core-js/modules/_iter-define.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_library.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_redefine.js"),u=s("./node_modules/core-js/modules/_hide.js"),d=s("./node_modules/core-js/modules/_has.js"),l=s("./node_modules/core-js/modules/_iterators.js"),c=s("./node_modules/core-js/modules/_iter-create.js"),i=s("./node_modules/core-js/modules/_set-to-string-tag.js"),m=s("./node_modules/core-js/modules/_object-gpo.js"),j=s("./node_modules/core-js/modules/_wks.js")("iterator"),_=!([].keys&&"next"in[].keys()),a="keys",f="values",p=function(){return this};e.exports=function(e,o,s,h,v,g,y){c(s,o,h);var b,x,w,S=function(e){if(!_&&e in F)return F[e];switch(e){case a:return function(){return new s(this,e)};case f:return function(){return new s(this,e)}}return function(){return new s(this,e)}},k=o+" Iterator",E=v==f,O=!1,F=e.prototype,P=F[j]||F["@@iterator"]||v&&F[v],M=P||S(v),A=v?E?S("entries"):M:void 0,N="Array"==o?F.entries||P:P;if(N&&(w=m(N.call(new e)))!==Object.prototype&&(i(w,k,!0),r||d(w,j)||u(w,j,p)),E&&P&&P.name!==f&&(O=!0,M=function(){return P.call(this)}),r&&!y||!_&&!O&&F[j]||u(F,j,M),l[o]=M,l[k]=p,v)if(b={values:E?M:S(f),keys:g?M:S(a),entries:A},y)for(x in b)x in F||t(F,x,b[x]);else n(n.P+n.F*(_||O),o,b);return b}},"./node_modules/core-js/modules/_iter-detect.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_wks.js")("iterator"),n=!1;try{var t=[7][r]();t.return=function(){n=!0},Array.from(t,function(){throw 2})}catch(e){}e.exports=function(e,o){if(!o&&!n)return!1;var s=!1;try{var t=[7],u=t[r]();u.next=function(){return{done:s=!0}},t[r]=function(){return u},e(t)}catch(e){}return s}},"./node_modules/core-js/modules/_iter-step.js":function(e,o){e.exports=function(e,o){return{value:o,done:!!e}}},"./node_modules/core-js/modules/_iterators.js":function(e,o){e.exports={}},"./node_modules/core-js/modules/_keyof.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-keys.js"),n=s("./node_modules/core-js/modules/_to-iobject.js");e.exports=function(e,o){for(var s,t=n(e),u=r(t),d=u.length,l=0;d>l;)if(t[s=u[l++]]===o)return s}},"./node_modules/core-js/modules/_library.js":function(e,o){e.exports=!1},"./node_modules/core-js/modules/_math-expm1.js":function(e,o){var s=Math.expm1;e.exports=!s||s(10)>22025.465794806718||s(10)<22025.465794806718||s(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:s},"./node_modules/core-js/modules/_math-log1p.js":function(e,o){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},"./node_modules/core-js/modules/_math-sign.js":function(e,o){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},"./node_modules/core-js/modules/_meta.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_uid.js")("meta"),n=s("./node_modules/core-js/modules/_is-object.js"),t=s("./node_modules/core-js/modules/_has.js"),u=s("./node_modules/core-js/modules/_object-dp.js").f,d=0,l=Object.isExtensible||function(){return!0},c=!s("./node_modules/core-js/modules/_fails.js")(function(){return l(Object.preventExtensions({}))}),i=function(e){u(e,r,{value:{i:"O"+ ++d,w:{}}})},m=function(e,o){if(!n(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!t(e,r)){if(!l(e))return"F";if(!o)return"E";i(e)}return e[r].i},j=function(e,o){if(!t(e,r)){if(!l(e))return!0;if(!o)return!1;i(e)}return e[r].w},_=function(e){return c&&a.NEED&&l(e)&&!t(e,r)&&i(e),e},a=e.exports={KEY:r,NEED:!1,fastKey:m,getWeak:j,onFreeze:_}},"./node_modules/core-js/modules/_metadata.js":function(e,o,s){var r=s("./node_modules/core-js/modules/es6.map.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_shared.js")("metadata"),u=t.store||(t.store=new(s("./node_modules/core-js/modules/es6.weak-map.js"))),d=function(e,o,s){var n=u.get(e);if(!n){if(!s)return;u.set(e,n=new r)}var t=n.get(o);if(!t){if(!s)return;n.set(o,t=new r)}return t},l=function(e,o,s){var r=d(o,s,!1);return void 0!==r&&r.has(e)},c=function(e,o,s){var r=d(o,s,!1);return void 0===r?void 0:r.get(e)},i=function(e,o,s,r){d(s,r,!0).set(e,o)},m=function(e,o){var s=d(e,o,!1),r=[];return s&&s.forEach(function(e,o){r.push(o)}),r},j=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},_=function(e){n(n.S,"Reflect",e)};e.exports={store:u,map:d,has:l,get:c,set:i,keys:m,key:j,exp:_}},"./node_modules/core-js/modules/_microtask.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_task.js").set,t=r.MutationObserver||r.WebKitMutationObserver,u=r.process,d=r.Promise,l="process"==s("./node_modules/core-js/modules/_cof.js")(u);e.exports=function(){var e,o,s,c=function(){var r,n;for(l&&(r=u.domain)&&r.exit();e;){n=e.fn,e=e.next;try{n()}catch(r){throw e?s():o=void 0,r}}o=void 0,r&&r.enter()};if(l)s=function(){u.nextTick(c)};else if(t){var i=!0,m=document.createTextNode("");new t(c).observe(m,{characterData:!0}),s=function(){m.data=i=!i}}else if(d&&d.resolve){var j=d.resolve();s=function(){j.then(c)}}else s=function(){n.call(r,c)};return function(r){var n={fn:r,next:void 0};o&&(o.next=n),e||(e=n,s()),o=n}}},"./node_modules/core-js/modules/_object-assign.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_object-keys.js"),n=s("./node_modules/core-js/modules/_object-gops.js"),t=s("./node_modules/core-js/modules/_object-pie.js"),u=s("./node_modules/core-js/modules/_to-object.js"),d=s("./node_modules/core-js/modules/_iobject.js"),l=Object.assign;e.exports=!l||s("./node_modules/core-js/modules/_fails.js")(function(){var e={},o={},s=Symbol(),r="abcdefghijklmnopqrst";return e[s]=7,r.split("").forEach(function(e){o[e]=e}),7!=l({},e)[s]||Object.keys(l({},o)).join("")!=r})?function(e,o){for(var s=u(e),l=arguments.length,c=1,i=n.f,m=t.f;l>c;)for(var j,_=d(arguments[c++]),a=i?r(_).concat(i(_)):r(_),f=a.length,p=0;f>p;)m.call(_,j=a[p++])&&(s[j]=_[j]);return s}:l},"./node_modules/core-js/modules/_object-create.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_an-object.js"),n=s("./node_modules/core-js/modules/_object-dps.js"),t=s("./node_modules/core-js/modules/_enum-bug-keys.js"),u=s("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),d=function(){},l="prototype",c=function(){var e,o=s("./node_modules/core-js/modules/_dom-create.js")("iframe"),r=t.length,n="<",u=">";for(o.style.display="none",s("./node_modules/core-js/modules/_html.js").appendChild(o),o.src="javascript:",e=o.contentWindow.document,e.open(),e.write(n+"script"+u+"document.F=Object"+n+"/script"+u),e.close(),c=e.F;r--;)delete c[l][t[r]];return c()};e.exports=Object.create||function(e,o){var s;return null!==e?(d[l]=r(e),s=new d,d[l]=null,s[u]=e):s=c(),void 0===o?s:n(s,o)}},"./node_modules/core-js/modules/_object-dp.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_an-object.js"),n=s("./node_modules/core-js/modules/_ie8-dom-define.js"),t=s("./node_modules/core-js/modules/_to-primitive.js"),u=Object.defineProperty;o.f=s("./node_modules/core-js/modules/_descriptors.js")?Object.defineProperty:function(e,o,s){if(r(e),o=t(o,!0),r(s),n)try{return u(e,o,s)}catch(e){}if("get"in s||"set"in s)throw TypeError("Accessors not supported!");return"value"in s&&(e[o]=s.value),e}},"./node_modules/core-js/modules/_object-dps.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-dp.js"),n=s("./node_modules/core-js/modules/_an-object.js"),t=s("./node_modules/core-js/modules/_object-keys.js");e.exports=s("./node_modules/core-js/modules/_descriptors.js")?Object.defineProperties:function(e,o){n(e);for(var s,u=t(o),d=u.length,l=0;d>l;)r.f(e,s=u[l++],o[s]);return e}},"./node_modules/core-js/modules/_object-forced-pam.js":function(e,o,s){e.exports=s("./node_modules/core-js/modules/_library.js")||!s("./node_modules/core-js/modules/_fails.js")(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete s("./node_modules/core-js/modules/_global.js")[e]})},"./node_modules/core-js/modules/_object-gopd.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-pie.js"),n=s("./node_modules/core-js/modules/_property-desc.js"),t=s("./node_modules/core-js/modules/_to-iobject.js"),u=s("./node_modules/core-js/modules/_to-primitive.js"),d=s("./node_modules/core-js/modules/_has.js"),l=s("./node_modules/core-js/modules/_ie8-dom-define.js"),c=Object.getOwnPropertyDescriptor;o.f=s("./node_modules/core-js/modules/_descriptors.js")?c:function(e,o){if(e=t(e),o=u(o,!0),l)try{return c(e,o)}catch(e){}if(d(e,o))return n(!r.f.call(e,o),e[o])}},"./node_modules/core-js/modules/_object-gopn-ext.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-iobject.js"),n=s("./node_modules/core-js/modules/_object-gopn.js").f,t={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(e){try{return n(e)}catch(e){return u.slice()}};e.exports.f=function(e){return u&&"[object Window]"==t.call(e)?d(e):n(r(e))}},"./node_modules/core-js/modules/_object-gopn.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-keys-internal.js"),n=s("./node_modules/core-js/modules/_enum-bug-keys.js").concat("length","prototype");o.f=Object.getOwnPropertyNames||function(e){return r(e,n)}},"./node_modules/core-js/modules/_object-gops.js":function(e,o){o.f=Object.getOwnPropertySymbols},"./node_modules/core-js/modules/_object-gpo.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_has.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO"),u=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=n(e),r(e,t)?e[t]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},"./node_modules/core-js/modules/_object-keys-internal.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_has.js"),n=s("./node_modules/core-js/modules/_to-iobject.js"),t=s("./node_modules/core-js/modules/_array-includes.js")(!1),u=s("./node_modules/core-js/modules/_shared-key.js")("IE_PROTO");e.exports=function(e,o){var s,d=n(e),l=0,c=[];for(s in d)s!=u&&r(d,s)&&c.push(s);for(;o.length>l;)r(d,s=o[l++])&&(~t(c,s)||c.push(s));return c}},"./node_modules/core-js/modules/_object-keys.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-keys-internal.js"),n=s("./node_modules/core-js/modules/_enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,n)}},"./node_modules/core-js/modules/_object-pie.js":function(e,o){o.f={}.propertyIsEnumerable},"./node_modules/core-js/modules/_object-sap.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_core.js"),t=s("./node_modules/core-js/modules/_fails.js");e.exports=function(e,o){var s=(n.Object||{})[e]||Object[e],u={};u[e]=o(s),r(r.S+r.F*t(function(){s(1)}),"Object",u)}},"./node_modules/core-js/modules/_object-to-array.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-keys.js"),n=s("./node_modules/core-js/modules/_to-iobject.js"),t=s("./node_modules/core-js/modules/_object-pie.js").f;e.exports=function(e){return function(o){for(var s,u=n(o),d=r(u),l=d.length,c=0,i=[];l>c;)t.call(u,s=d[c++])&&i.push(e?[s,u[s]]:u[s]);return i}}},"./node_modules/core-js/modules/_own-keys.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-gopn.js"),n=s("./node_modules/core-js/modules/_object-gops.js"),t=s("./node_modules/core-js/modules/_an-object.js"),u=s("./node_modules/core-js/modules/_global.js").Reflect;e.exports=u&&u.ownKeys||function(e){var o=r.f(t(e)),s=n.f;return s?o.concat(s(e)):o}},"./node_modules/core-js/modules/_parse-float.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js").parseFloat,n=s("./node_modules/core-js/modules/_string-trim.js").trim;e.exports=1/r(s("./node_modules/core-js/modules/_string-ws.js")+"-0")!=-(1/0)?function(e){var o=n(String(e),3),s=r(o);return 0===s&&"-"==o.charAt(0)?-0:s}:r},"./node_modules/core-js/modules/_parse-int.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js").parseInt,n=s("./node_modules/core-js/modules/_string-trim.js").trim,t=s("./node_modules/core-js/modules/_string-ws.js"),u=/^[\-+]?0[xX]/;e.exports=8!==r(t+"08")||22!==r(t+"0x16")?function(e,o){var s=n(String(e),3);return r(s,o>>>0||(u.test(s)?16:10))}:r},"./node_modules/core-js/modules/_partial.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_path.js"),n=s("./node_modules/core-js/modules/_invoke.js"),t=s("./node_modules/core-js/modules/_a-function.js");e.exports=function(){for(var e=t(this),o=arguments.length,s=Array(o),u=0,d=r._,l=!1;o>u;)(s[u]=arguments[u++])===d&&(l=!0);return function(){var r,t=this,u=arguments.length,c=0,i=0;if(!l&&!u)return n(e,s,t);if(r=s.slice(),l)for(;o>c;c++)r[c]===d&&(r[c]=arguments[i++]);for(;u>i;)r.push(arguments[i++]);return n(e,r,t)}}},"./node_modules/core-js/modules/_path.js":function(e,o,s){e.exports=s("./node_modules/core-js/modules/_global.js")},"./node_modules/core-js/modules/_property-desc.js":function(e,o){e.exports=function(e,o){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:o}}},"./node_modules/core-js/modules/_redefine-all.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_redefine.js");e.exports=function(e,o,s){for(var n in o)r(e,n,o[n],s);return e}},"./node_modules/core-js/modules/_redefine.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_hide.js"),t=s("./node_modules/core-js/modules/_has.js"),u=s("./node_modules/core-js/modules/_uid.js")("src"),d="toString",l=Function[d],c=(""+l).split(d);s("./node_modules/core-js/modules/_core.js").inspectSource=function(e){return l.call(e)},(e.exports=function(e,o,s,d){var l="function"==typeof s;l&&(t(s,"name")||n(s,"name",o)),e[o]!==s&&(l&&(t(s,u)||n(s,u,e[o]?""+e[o]:c.join(String(o)))),e===r?e[o]=s:d?e[o]?e[o]=s:n(e,o,s):(delete e[o],n(e,o,s)))})(Function.prototype,d,function(){return"function"==typeof this&&this[u]||l.call(this)})},"./node_modules/core-js/modules/_replacer.js":function(e,o){e.exports=function(e,o){var s=o===Object(o)?function(e){return o[e]}:o;return function(o){return String(o).replace(e,s)}}},"./node_modules/core-js/modules/_same-value.js":function(e,o){e.exports=Object.is||function(e,o){return e===o?0!==e||1/e==1/o:e!=e&&o!=o}},"./node_modules/core-js/modules/_set-proto.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_an-object.js"),t=function(e,o){if(n(e),!r(o)&&null!==o)throw TypeError(o+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,o,r){try{r=s("./node_modules/core-js/modules/_ctx.js")(Function.call,s("./node_modules/core-js/modules/_object-gopd.js").f(Object.prototype,"__proto__").set,2),r(e,[]),o=!(e instanceof Array)}catch(e){o=!0}return function(e,s){return t(e,s),o?e.__proto__=s:r(e,s),e}}({},!1):void 0),check:t}},"./node_modules/core-js/modules/_set-species.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_object-dp.js"),t=s("./node_modules/core-js/modules/_descriptors.js"),u=s("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e){var o=r[e];t&&o&&!o[u]&&n.f(o,u,{configurable:!0,get:function(){return this}})}},"./node_modules/core-js/modules/_set-to-string-tag.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-dp.js").f,n=s("./node_modules/core-js/modules/_has.js"),t=s("./node_modules/core-js/modules/_wks.js")("toStringTag");e.exports=function(e,o,s){e&&!n(e=s?e:e.prototype,t)&&r(e,t,{configurable:!0,value:o})}},"./node_modules/core-js/modules/_shared-key.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_shared.js")("keys"),n=s("./node_modules/core-js/modules/_uid.js");e.exports=function(e){return r[e]||(r[e]=n(e))}},"./node_modules/core-js/modules/_shared.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js"),n="__core-js_shared__",t=r[n]||(r[n]={});e.exports=function(e){return t[e]||(t[e]={})}},"./node_modules/core-js/modules/_species-constructor.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_an-object.js"),n=s("./node_modules/core-js/modules/_a-function.js"),t=s("./node_modules/core-js/modules/_wks.js")("species");e.exports=function(e,o){var s,u=r(e).constructor;return void 0===u||void 0==(s=r(u)[t])?o:n(s)}},"./node_modules/core-js/modules/_strict-method.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_fails.js");e.exports=function(e,o){return!!e&&r(function(){o?e.call(null,function(){},1):e.call(null)})}},"./node_modules/core-js/modules/_string-at.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-integer.js"),n=s("./node_modules/core-js/modules/_defined.js");e.exports=function(e){return function(o,s){var t,u,d=String(n(o)),l=r(s),c=d.length;return l<0||l>=c?e?"":void 0:(t=d.charCodeAt(l),t<55296||t>56319||l+1===c||(u=d.charCodeAt(l+1))<56320||u>57343?e?d.charAt(l):t:e?d.slice(l,l+2):u-56320+(t-55296<<10)+65536)}}},"./node_modules/core-js/modules/_string-context.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-regexp.js"),n=s("./node_modules/core-js/modules/_defined.js");e.exports=function(e,o,s){if(r(o))throw TypeError("String#"+s+" doesn't accept regex!");return String(n(e))}},"./node_modules/core-js/modules/_string-html.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_fails.js"),t=s("./node_modules/core-js/modules/_defined.js"),u=/"/g,d=function(e,o,s,r){var n=String(t(e)),d="<"+o;return""!==s&&(d+=" "+s+'="'+String(r).replace(u,""")+'"'),d+">"+n+""};e.exports=function(e,o){var s={};s[e]=o(d),r(r.P+r.F*n(function(){var o=""[e]('"');return o!==o.toLowerCase()||o.split('"').length>3}),"String",s)}},"./node_modules/core-js/modules/_string-pad.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-length.js"),n=s("./node_modules/core-js/modules/_string-repeat.js"),t=s("./node_modules/core-js/modules/_defined.js");e.exports=function(e,o,s,u){var d=String(t(e)),l=d.length,c=void 0===s?" ":String(s),i=r(o);if(i<=l||""==c)return d;var m=i-l,j=n.call(c,Math.ceil(m/c.length));return j.length>m&&(j=j.slice(0,m)),u?j+d:d+j}},"./node_modules/core-js/modules/_string-repeat.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_to-integer.js"),n=s("./node_modules/core-js/modules/_defined.js");e.exports=function(e){var o=String(n(this)),s="",t=r(e);if(t<0||t==1/0)throw RangeError("Count can't be negative");for(;t>0;(t>>>=1)&&(o+=o))1&t&&(s+=o);return s}},"./node_modules/core-js/modules/_string-trim.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_defined.js"),t=s("./node_modules/core-js/modules/_fails.js"),u=s("./node_modules/core-js/modules/_string-ws.js"),d="["+u+"]",l="​…",c=RegExp("^"+d+d+"*"),i=RegExp(d+d+"*$"),m=function(e,o,s){var n={},d=t(function(){return!!u[e]()||l[e]()!=l}),c=n[e]=d?o(j):u[e];s&&(n[s]=c),r(r.P+r.F*d,"String",n)},j=m.trim=function(e,o){return e=String(n(e)),1&o&&(e=e.replace(c,"")),2&o&&(e=e.replace(i,"")),e};e.exports=m},"./node_modules/core-js/modules/_string-ws.js":function(e,o){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},"./node_modules/core-js/modules/_task.js":function(e,o,s){var r,n,t,u=s("./node_modules/core-js/modules/_ctx.js"),d=s("./node_modules/core-js/modules/_invoke.js"),l=s("./node_modules/core-js/modules/_html.js"),c=s("./node_modules/core-js/modules/_dom-create.js"),i=s("./node_modules/core-js/modules/_global.js"),m=i.process,j=i.setImmediate,_=i.clearImmediate,a=i.MessageChannel,f=0,p={},h="onreadystatechange",v=function(){var e=+this;if(p.hasOwnProperty(e)){var o=p[e];delete p[e],o()}},g=function(e){v.call(e.data)};j&&_||(j=function(e){for(var o=[],s=1;arguments.length>s;)o.push(arguments[s++]);return p[++f]=function(){d("function"==typeof e?e:Function(e),o)},r(f),f},_=function(e){delete p[e]},"process"==s("./node_modules/core-js/modules/_cof.js")(m)?r=function(e){m.nextTick(u(v,e,1))}:a?(n=new a,t=n.port2,n.port1.onmessage=g,r=u(t.postMessage,t,1)):i.addEventListener&&"function"==typeof postMessage&&!i.importScripts?(r=function(e){i.postMessage(e+"","*")},i.addEventListener("message",g,!1)):r=h in c("script")?function(e){l.appendChild(c("script"))[h]=function(){l.removeChild(this),v.call(e)}}:function(e){setTimeout(u(v,e,1),0)}),e.exports={set:j,clear:_}},"./node_modules/core-js/modules/_to-index.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-integer.js"),n=Math.max,t=Math.min;e.exports=function(e,o){return e=r(e),e<0?n(e+o,0):t(e,o)}},"./node_modules/core-js/modules/_to-integer.js":function(e,o){var s=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:s)(e)}},"./node_modules/core-js/modules/_to-iobject.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_iobject.js"),n=s("./node_modules/core-js/modules/_defined.js");e.exports=function(e){return r(n(e))}},"./node_modules/core-js/modules/_to-length.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-integer.js"),n=Math.min;e.exports=function(e){return e>0?n(r(e),9007199254740991):0}},"./node_modules/core-js/modules/_to-object.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_defined.js");e.exports=function(e){return Object(r(e))}},"./node_modules/core-js/modules/_to-primitive.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js");e.exports=function(e,o){if(!r(e))return e;var s,n;if(o&&"function"==typeof(s=e.toString)&&!r(n=s.call(e)))return n;if("function"==typeof(s=e.valueOf)&&!r(n=s.call(e)))return n;if(!o&&"function"==typeof(s=e.toString)&&!r(n=s.call(e)))return n;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/modules/_typed-array.js":function(e,o,s){"use strict";if(s("./node_modules/core-js/modules/_descriptors.js")){var r=s("./node_modules/core-js/modules/_library.js"),n=s("./node_modules/core-js/modules/_global.js"),t=s("./node_modules/core-js/modules/_fails.js"),u=s("./node_modules/core-js/modules/_export.js"),d=s("./node_modules/core-js/modules/_typed.js"),l=s("./node_modules/core-js/modules/_typed-buffer.js"),c=s("./node_modules/core-js/modules/_ctx.js"),i=s("./node_modules/core-js/modules/_an-instance.js"),m=s("./node_modules/core-js/modules/_property-desc.js"),j=s("./node_modules/core-js/modules/_hide.js"),_=s("./node_modules/core-js/modules/_redefine-all.js"),a=s("./node_modules/core-js/modules/_to-integer.js"),f=s("./node_modules/core-js/modules/_to-length.js"),p=s("./node_modules/core-js/modules/_to-index.js"),h=s("./node_modules/core-js/modules/_to-primitive.js"),v=s("./node_modules/core-js/modules/_has.js"),g=s("./node_modules/core-js/modules/_same-value.js"),y=s("./node_modules/core-js/modules/_classof.js"),b=s("./node_modules/core-js/modules/_is-object.js"),x=s("./node_modules/core-js/modules/_to-object.js"),w=s("./node_modules/core-js/modules/_is-array-iter.js"),S=s("./node_modules/core-js/modules/_object-create.js"),k=s("./node_modules/core-js/modules/_object-gpo.js"),E=s("./node_modules/core-js/modules/_object-gopn.js").f,O=s("./node_modules/core-js/modules/core.get-iterator-method.js"),F=s("./node_modules/core-js/modules/_uid.js"),P=s("./node_modules/core-js/modules/_wks.js"),M=s("./node_modules/core-js/modules/_array-methods.js"),A=s("./node_modules/core-js/modules/_array-includes.js"),N=s("./node_modules/core-js/modules/_species-constructor.js"),I=s("./node_modules/core-js/modules/es6.array.iterator.js"),T=s("./node_modules/core-js/modules/_iterators.js"),R=s("./node_modules/core-js/modules/_iter-detect.js"),L=s("./node_modules/core-js/modules/_set-species.js"),C=s("./node_modules/core-js/modules/_array-fill.js"),U=s("./node_modules/core-js/modules/_array-copy-within.js"),D=s("./node_modules/core-js/modules/_object-dp.js"),W=s("./node_modules/core-js/modules/_object-gopd.js"),G=D.f,z=W.f,B=n.RangeError,V=n.TypeError,Y=n.Uint8Array,J="ArrayBuffer",K="Shared"+J,q="BYTES_PER_ELEMENT",X="prototype",$=Array[X],H=l.ArrayBuffer,Z=l.DataView,Q=M(0),ee=M(2),oe=M(3),se=M(4),re=M(5),ne=M(6),te=A(!0),ue=A(!1),de=I.values,le=I.keys,ce=I.entries,ie=$.lastIndexOf,me=$.reduce,je=$.reduceRight,_e=$.join,ae=$.sort,fe=$.slice,pe=$.toString,he=$.toLocaleString,ve=P("iterator"),ge=P("toStringTag"),ye=F("typed_constructor"),be=F("def_constructor"),xe=d.CONSTR,we=d.TYPED,Se=d.VIEW,ke="Wrong length!",Ee=M(1,function(e,o){return Ne(N(e,e[be]),o)}),Oe=t(function(){return 1===new Y(new Uint16Array([1]).buffer)[0]}),Fe=!!Y&&!!Y[X].set&&t(function(){new Y(1).set({})}),Pe=function(e,o){if(void 0===e)throw V(ke);var s=+e,r=f(e);if(o&&!g(s,r))throw B(ke);return r},Me=function(e,o){var s=a(e);if(s<0||s%o)throw B("Wrong offset!");return s},Ae=function(e){if(b(e)&&we in e)return e;throw V(e+" is not a typed array!")},Ne=function(e,o){if(!(b(e)&&ye in e))throw V("It is not a typed array constructor!");return new e(o)},Ie=function(e,o){return Te(N(e,e[be]),o)},Te=function(e,o){for(var s=0,r=o.length,n=Ne(e,r);r>s;)n[s]=o[s++];return n},Re=function(e,o,s){G(e,o,{get:function(){return this._d[s]}})},Le=function(e){var o,s,r,n,t,u,d=x(e),l=arguments.length,i=l>1?arguments[1]:void 0,m=void 0!==i,j=O(d);if(void 0!=j&&!w(j)){for(u=j.call(d),r=[],o=0;!(t=u.next()).done;o++)r.push(t.value);d=r}for(m&&l>2&&(i=c(i,arguments[2],2)),o=0,s=f(d.length),n=Ne(this,s);s>o;o++)n[o]=m?i(d[o],o):d[o];return n},Ce=function(){for(var e=0,o=arguments.length,s=Ne(this,o);o>e;)s[e]=arguments[e++];return s},Ue=!!Y&&t(function(){he.call(new Y(1))}),De=function(){return he.apply(Ue?fe.call(Ae(this)):Ae(this),arguments)},We={copyWithin:function(e,o){return U.call(Ae(this),e,o,arguments.length>2?arguments[2]:void 0)},every:function(e){return se(Ae(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return C.apply(Ae(this),arguments)},filter:function(e){return Ie(this,ee(Ae(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Ae(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ne(Ae(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Q(Ae(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ue(Ae(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Ae(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return _e.apply(Ae(this),arguments)},lastIndexOf:function(e){return ie.apply(Ae(this),arguments)},map:function(e){return Ee(Ae(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return me.apply(Ae(this),arguments)},reduceRight:function(e){return je.apply(Ae(this),arguments)},reverse:function(){for(var e,o=this,s=Ae(o).length,r=Math.floor(s/2),n=0;n1?arguments[1]:void 0)},sort:function(e){return ae.call(Ae(this),e)},subarray:function(e,o){var s=Ae(this),r=s.length,n=p(e,r);return new(N(s,s[be]))(s.buffer,s.byteOffset+n*s.BYTES_PER_ELEMENT,f((void 0===o?r:p(o,r))-n))}},Ge=function(e,o){return Ie(this,fe.call(Ae(this),e,o))},ze=function(e){Ae(this);var o=Me(arguments[1],1),s=this.length,r=x(e),n=f(r.length),t=0;if(n+o>s)throw B(ke);for(;t255?255:255&r),n.v[a](s*o+n.o,r,Oe)},P=function(e,o){G(e,o,{get:function(){return O(this,o)},set:function(e){return F(this,o,e)},enumerable:!0})};g?(p=s(function(e,s,r,n){i(e,p,c,"_d");var t,u,d,l,m=0,_=0;if(b(s)){if(!(s instanceof H||(l=y(s))==J||l==K))return we in s?Te(p,s):Le.call(p,s);t=s,_=Me(r,o);var a=s.byteLength;if(void 0===n){if(a%o)throw B(ke);if((u=a-_)<0)throw B(ke)}else if((u=f(n)*o)+_>a)throw B(ke);d=u/o}else d=Pe(s,!0),u=d*o,t=new H(u);for(j(e,"_d",{b:t,o:_,l:u,e:d,v:new Z(t)});m>1,i=23===o?P(2,-24)-P(2,-77):0,m=0,j=e<0||0===e&&1/e<0?1:0;for(e=F(e),e!=e||e===E?(n=e!=e?1:0,r=l):(r=M(A(e)/N),e*(t=P(2,-r))<1&&(r--,t*=2),e+=r+c>=1?i/t:i*P(2,1-c),e*t>=2&&(r++,t/=2),r+c>=l?(n=0,r=l):r+c>=1?(n=(e*t-1)*P(2,o),r+=c):(n=e*P(2,c-1)*P(2,o),r=0));o>=8;u[m++]=255&n,n/=256,o-=8);for(r=r<0;u[m++]=255&r,r/=256,d-=8);return u[--m]|=128*j,u},W=function(e,o,s){var r,n=8*s-o-1,t=(1<>1,d=n-7,l=s-1,c=e[l--],i=127&c;for(c>>=7;d>0;i=256*i+e[l],l--,d-=8);for(r=i&(1<<-d)-1,i>>=-d,d+=o;d>0;r=256*r+e[l],l--,d-=8);if(0===i)i=1-u;else{if(i===t)return r?NaN:c?-E:E;r+=P(2,o),i-=u}return(c?-1:1)*r*P(2,i-o)},G=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},z=function(e){return[255&e]},B=function(e){return[255&e,e>>8&255]},V=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Y=function(e){return D(e,52,8)},J=function(e){return D(e,23,4)},K=function(e,o,s){a(e[g],o,{get:function(){return this[s]}})},q=function(e,o,s,r){var n=+s,t=m(n);if(n!=t||t<0||t+o>e[C])throw k(b);var u=e[L]._b,d=t+e[U],l=u.slice(d,d+o);return r?l:l.reverse()},X=function(e,o,s,r,n,t){var u=+s,d=m(u);if(u!=d||d<0||d+o>e[C])throw k(b);for(var l=e[L]._b,c=d+e[U],i=r(+n),j=0;jee;)(H=Q[ee++])in x||d(x,H,O[H]);t||(Z.constructor=x)}var oe=new w(new x(2)),se=w[g].setInt8;oe.setInt8(0,2147483648),oe.setInt8(1,2147483649),!oe.getInt8(0)&&oe.getInt8(1)||l(w[g],{setInt8:function(e,o){se.call(this,e,o<<24>>24)},setUint8:function(e,o){se.call(this,e,o<<24>>24)}},!0)}else x=function(e){var o=$(this,e);this._b=f.call(Array(o),0),this[C]=o},w=function(e,o,s){i(this,w,v),i(e,x,v);var r=e[C],n=m(o);if(n<0||n>r)throw k("Wrong offset!");if(s=void 0===s?r-n:j(s),n+s>r)throw k(y);this[L]=e,this[U]=n,this[C]=s},n&&(K(x,T,"_l"),K(w,I,"_b"),K(w,T,"_l"),K(w,R,"_o")),l(w[g],{getInt8:function(e){return q(this,1,e)[0]<<24>>24},getUint8:function(e){return q(this,1,e)[0]},getInt16:function(e){var o=q(this,2,e,arguments[1]);return(o[1]<<8|o[0])<<16>>16},getUint16:function(e){var o=q(this,2,e,arguments[1]);return o[1]<<8|o[0]},getInt32:function(e){return G(q(this,4,e,arguments[1]))},getUint32:function(e){return G(q(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return W(q(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return W(q(this,8,e,arguments[1]),52,8)},setInt8:function(e,o){X(this,1,e,z,o)},setUint8:function(e,o){X(this,1,e,z,o)},setInt16:function(e,o){X(this,2,e,B,o,arguments[2])},setUint16:function(e,o){X(this,2,e,B,o,arguments[2])},setInt32:function(e,o){X(this,4,e,V,o,arguments[2])},setUint32:function(e,o){X(this,4,e,V,o,arguments[2])},setFloat32:function(e,o){X(this,4,e,J,o,arguments[2])},setFloat64:function(e,o){X(this,8,e,Y,o,arguments[2])}});p(x,h),p(w,v),d(w[g],u.VIEW,!0),o[h]=x,o[v]=w},"./node_modules/core-js/modules/_typed.js":function(e,o,s){for(var r,n=s("./node_modules/core-js/modules/_global.js"),t=s("./node_modules/core-js/modules/_hide.js"),u=s("./node_modules/core-js/modules/_uid.js"),d=u("typed_array"),l=u("view"),c=!(!n.ArrayBuffer||!n.DataView),i=c,m=0,j=9,_="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");m1?arguments[1]:void 0)}}),s("./node_modules/core-js/modules/_add-to-unscopables.js")(t)},"./node_modules/core-js/modules/es6.array.find.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-methods.js")(5),t="find",u=!0;t in[]&&Array(1)[t](function(){u=!1}),r(r.P+r.F*u,"Array",{find:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),s("./node_modules/core-js/modules/_add-to-unscopables.js")(t)},"./node_modules/core-js/modules/es6.array.for-each.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-methods.js")(0),t=s("./node_modules/core-js/modules/_strict-method.js")([].forEach,!0);r(r.P+r.F*!t,"Array",{forEach:function(e){return n(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.from.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_ctx.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_to-object.js"),u=s("./node_modules/core-js/modules/_iter-call.js"),d=s("./node_modules/core-js/modules/_is-array-iter.js"),l=s("./node_modules/core-js/modules/_to-length.js"),c=s("./node_modules/core-js/modules/_create-property.js"),i=s("./node_modules/core-js/modules/core.get-iterator-method.js");n(n.S+n.F*!s("./node_modules/core-js/modules/_iter-detect.js")(function(e){Array.from(e)}),"Array",{from:function(e){var o,s,n,m,j=t(e),_="function"==typeof this?this:Array,a=arguments.length,f=a>1?arguments[1]:void 0,p=void 0!==f,h=0,v=i(j);if(p&&(f=r(f,a>2?arguments[2]:void 0,2)),void 0==v||_==Array&&d(v))for(o=l(j.length),s=new _(o);o>h;h++)c(s,h,p?f(j[h],h):j[h]);else for(m=v.call(j),s=new _;!(n=m.next()).done;h++)c(s,h,p?u(m,f,[n.value,h],!0):n.value);return s.length=h,s}})},"./node_modules/core-js/modules/es6.array.index-of.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-includes.js")(!1),t=[].indexOf,u=!!t&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(u||!s("./node_modules/core-js/modules/_strict-method.js")(t)),"Array",{indexOf:function(e){return u?t.apply(this,arguments)||0:n(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.is-array.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Array",{isArray:s("./node_modules/core-js/modules/_is-array.js")})},"./node_modules/core-js/modules/es6.array.iterator.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_add-to-unscopables.js"),n=s("./node_modules/core-js/modules/_iter-step.js"),t=s("./node_modules/core-js/modules/_iterators.js"),u=s("./node_modules/core-js/modules/_to-iobject.js");e.exports=s("./node_modules/core-js/modules/_iter-define.js")(Array,"Array",function(e,o){this._t=u(e),this._i=0,this._k=o},function(){var e=this._t,o=this._k,s=this._i++;return!e||s>=e.length?(this._t=void 0,n(1)):"keys"==o?n(0,s):"values"==o?n(0,e[s]):n(0,[s,e[s]])},"values"),t.Arguments=t.Array,r("keys"),r("values"),r("entries")},"./node_modules/core-js/modules/es6.array.join.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-iobject.js"),t=[].join;r(r.P+r.F*(s("./node_modules/core-js/modules/_iobject.js")!=Object||!s("./node_modules/core-js/modules/_strict-method.js")(t)),"Array",{join:function(e){return t.call(n(this),void 0===e?",":e)}})},"./node_modules/core-js/modules/es6.array.last-index-of.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-iobject.js"),t=s("./node_modules/core-js/modules/_to-integer.js"),u=s("./node_modules/core-js/modules/_to-length.js"),d=[].lastIndexOf,l=!!d&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!s("./node_modules/core-js/modules/_strict-method.js")(d)),"Array",{lastIndexOf:function(e){if(l)return d.apply(this,arguments)||0;var o=n(this),s=u(o.length),r=s-1;for(arguments.length>1&&(r=Math.min(r,t(arguments[1]))),r<0&&(r=s+r);r>=0;r--)if(r in o&&o[r]===e)return r||0;return-1}})},"./node_modules/core-js/modules/es6.array.map.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-methods.js")(1);r(r.P+r.F*!s("./node_modules/core-js/modules/_strict-method.js")([].map,!0),"Array",{map:function(e){return n(this,e,arguments[1])}})},"./node_modules/core-js/modules/es6.array.of.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_create-property.js");r(r.S+r.F*s("./node_modules/core-js/modules/_fails.js")(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,o=arguments.length,s=new("function"==typeof this?this:Array)(o);o>e;)n(s,e,arguments[e++]);return s.length=o,s}})},"./node_modules/core-js/modules/es6.array.reduce-right.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-reduce.js");r(r.P+r.F*!s("./node_modules/core-js/modules/_strict-method.js")([].reduceRight,!0),"Array",{reduceRight:function(e){return n(this,e,arguments.length,arguments[1],!0)}})},"./node_modules/core-js/modules/es6.array.reduce.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-reduce.js");r(r.P+r.F*!s("./node_modules/core-js/modules/_strict-method.js")([].reduce,!0),"Array",{reduce:function(e){return n(this,e,arguments.length,arguments[1],!1)}})},"./node_modules/core-js/modules/es6.array.slice.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_html.js"),t=s("./node_modules/core-js/modules/_cof.js"),u=s("./node_modules/core-js/modules/_to-index.js"),d=s("./node_modules/core-js/modules/_to-length.js"),l=[].slice;r(r.P+r.F*s("./node_modules/core-js/modules/_fails.js")(function(){n&&l.call(n)}),"Array",{slice:function(e,o){var s=d(this.length),r=t(this);if(o=void 0===o?s:o,"Array"==r)return l.call(this,e,o);for(var n=u(e,s),c=u(o,s),i=d(c-n),m=Array(i),j=0;j9?e:"0"+e};r(r.P+r.F*(n(function(){return"0385-07-25T07:06:39.999Z"!=new Date(-5e13-1).toISOString()})||!n(function(){new Date(NaN).toISOString()})),"Date",{toISOString:function(){if(!isFinite(t.call(this)))throw RangeError("Invalid time value");var e=this,o=e.getUTCFullYear(),s=e.getUTCMilliseconds(),r=o<0?"-":o>9999?"+":"";return r+("00000"+Math.abs(o)).slice(r?-6:-4)+"-"+u(e.getUTCMonth()+1)+"-"+u(e.getUTCDate())+"T"+u(e.getUTCHours())+":"+u(e.getUTCMinutes())+":"+u(e.getUTCSeconds())+"."+(s>99?s:"0"+u(s))+"Z"}})},"./node_modules/core-js/modules/es6.date.to-json.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_to-primitive.js");r(r.P+r.F*s("./node_modules/core-js/modules/_fails.js")(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var o=n(this),s=t(o);return"number"!=typeof s||isFinite(s)?o.toISOString():null}})},"./node_modules/core-js/modules/es6.date.to-primitive.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_wks.js")("toPrimitive"),n=Date.prototype;r in n||s("./node_modules/core-js/modules/_hide.js")(n,r,s("./node_modules/core-js/modules/_date-to-primitive.js"))},"./node_modules/core-js/modules/es6.date.to-string.js":function(e,o,s){var r=Date.prototype,n="Invalid Date",t="toString",u=r[t],d=r.getTime;new Date(NaN)+""!=n&&s("./node_modules/core-js/modules/_redefine.js")(r,t,function(){var e=d.call(this);return e===e?u.call(this):n})},"./node_modules/core-js/modules/es6.function.bind.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.P,"Function",{bind:s("./node_modules/core-js/modules/_bind.js")})},"./node_modules/core-js/modules/es6.function.has-instance.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_object-gpo.js"),t=s("./node_modules/core-js/modules/_wks.js")("hasInstance"),u=Function.prototype;t in u||s("./node_modules/core-js/modules/_object-dp.js").f(u,t,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=n(e);)if(this.prototype===e)return!0;return!1}})},"./node_modules/core-js/modules/es6.function.name.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-dp.js").f,n=s("./node_modules/core-js/modules/_property-desc.js"),t=s("./node_modules/core-js/modules/_has.js"),u=Function.prototype,d=/^\s*function ([^ (]*)/,l="name",c=Object.isExtensible||function(){return!0};l in u||s("./node_modules/core-js/modules/_descriptors.js")&&r(u,l,{configurable:!0,get:function(){try{var e=this,o=(""+e).match(d)[1];return t(e,l)||!c(e)||r(e,l,n(5,o)),o}catch(e){return""}}})},"./node_modules/core-js/modules/es6.map.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_collection-strong.js");e.exports=s("./node_modules/core-js/modules/_collection.js")("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var o=r.getEntry(this,e);return o&&o.v},set:function(e,o){return r.def(this,0===e?0:e,o)}},r,!0)},"./node_modules/core-js/modules/es6.math.acosh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_math-log1p.js"),t=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:n(e-1+t(e-1)*t(e+1))}})},"./node_modules/core-js/modules/es6.math.asinh.js":function(e,o,s){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var n=s("./node_modules/core-js/modules/_export.js"),t=Math.asinh;n(n.S+n.F*!(t&&1/t(0)>0),"Math",{asinh:r})},"./node_modules/core-js/modules/es6.math.atanh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=Math.atanh;r(r.S+r.F*!(n&&1/n(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},"./node_modules/core-js/modules/es6.math.cbrt.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_math-sign.js");r(r.S,"Math",{cbrt:function(e){return n(e=+e)*Math.pow(Math.abs(e),1/3)}})},"./node_modules/core-js/modules/es6.math.clz32.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},"./node_modules/core-js/modules/es6.math.cosh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=Math.exp;r(r.S,"Math",{cosh:function(e){return(n(e=+e)+n(-e))/2}})},"./node_modules/core-js/modules/es6.math.expm1.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_math-expm1.js");r(r.S+r.F*(n!=Math.expm1),"Math",{expm1:n})},"./node_modules/core-js/modules/es6.math.fround.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_math-sign.js"),t=Math.pow,u=t(2,-52),d=t(2,-23),l=t(2,127)*(2-d),c=t(2,-126),i=function(e){return e+1/u-1/u};r(r.S,"Math",{fround:function(e){var o,s,r=Math.abs(e),t=n(e);return rl||s!=s?t*(1/0):t*s)}})},"./node_modules/core-js/modules/es6.math.hypot.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=Math.abs;r(r.S,"Math",{hypot:function(e,o){for(var s,r,t=0,u=0,d=arguments.length,l=0;u0?(r=s/l,t+=r*r):t+=s;return l===1/0?1/0:l*Math.sqrt(t)}})},"./node_modules/core-js/modules/es6.math.imul.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=Math.imul;r(r.S+r.F*s("./node_modules/core-js/modules/_fails.js")(function(){return n(4294967295,5)!=-5||2!=n.length}),"Math",{imul:function(e,o){var s=65535,r=+e,n=+o,t=s&r,u=s&n;return 0|t*u+((s&r>>>16)*u+t*(s&n>>>16)<<16>>>0)}})},"./node_modules/core-js/modules/es6.math.log10.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{log10:function(e){return Math.log(e)/Math.LN10}})},"./node_modules/core-js/modules/es6.math.log1p.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{log1p:s("./node_modules/core-js/modules/_math-log1p.js")})},"./node_modules/core-js/modules/es6.math.log2.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},"./node_modules/core-js/modules/es6.math.sign.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{sign:s("./node_modules/core-js/modules/_math-sign.js")})},"./node_modules/core-js/modules/es6.math.sinh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_math-expm1.js"),t=Math.exp;r(r.S+r.F*s("./node_modules/core-js/modules/_fails.js")(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(n(e)-n(-e))/2:(t(e-1)-t(-e-1))*(Math.E/2)}})},"./node_modules/core-js/modules/es6.math.tanh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_math-expm1.js"),t=Math.exp;r(r.S,"Math",{tanh:function(e){var o=n(e=+e),s=n(-e);return o==1/0?1:s==1/0?-1:(o-s)/(t(e)+t(-e))}})},"./node_modules/core-js/modules/es6.math.trunc.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},"./node_modules/core-js/modules/es6.number.constructor.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_has.js"),t=s("./node_modules/core-js/modules/_cof.js"),u=s("./node_modules/core-js/modules/_inherit-if-required.js"),d=s("./node_modules/core-js/modules/_to-primitive.js"),l=s("./node_modules/core-js/modules/_fails.js"),c=s("./node_modules/core-js/modules/_object-gopn.js").f,i=s("./node_modules/core-js/modules/_object-gopd.js").f,m=s("./node_modules/core-js/modules/_object-dp.js").f,j=s("./node_modules/core-js/modules/_string-trim.js").trim,_="Number",a=r[_],f=a,p=a.prototype,h=t(s("./node_modules/core-js/modules/_object-create.js")(p))==_,v="trim"in String.prototype,g=function(e){var o=d(e,!1);if("string"==typeof o&&o.length>2){o=v?o.trim():j(o,3);var s,r,n,t=o.charCodeAt(0);if(43===t||45===t){if(88===(s=o.charCodeAt(2))||120===s)return NaN}else if(48===t){switch(o.charCodeAt(1)){case 66:case 98:r=2,n=49;break;case 79:case 111:r=8,n=55;break;default:return+o}for(var u,l=o.slice(2),c=0,i=l.length;cn)return NaN;return parseInt(l,r)}}return+o};if(!a(" 0o1")||!a("0b1")||a("+0x1")){a=function(e){var o=arguments.length<1?0:e,s=this;return s instanceof a&&(h?l(function(){p.valueOf.call(s)}):t(s)!=_)?u(new f(g(o)),s,a):g(o)};for(var y,b=s("./node_modules/core-js/modules/_descriptors.js")?c(f):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;b.length>x;x++)n(f,y=b[x])&&!n(a,y)&&m(a,y,i(f,y));a.prototype=p,p.constructor=a,s("./node_modules/core-js/modules/_redefine.js")(r,_,a)}},"./node_modules/core-js/modules/es6.number.epsilon.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},"./node_modules/core-js/modules/es6.number.is-finite.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_global.js").isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&n(e)}})},"./node_modules/core-js/modules/es6.number.is-integer.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Number",{isInteger:s("./node_modules/core-js/modules/_is-integer.js")})},"./node_modules/core-js/modules/es6.number.is-nan.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Number",{isNaN:function(e){return e!=e}})},"./node_modules/core-js/modules/es6.number.is-safe-integer.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_is-integer.js"),t=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return n(e)&&t(e)<=9007199254740991}})},"./node_modules/core-js/modules/es6.number.max-safe-integer.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},"./node_modules/core-js/modules/es6.number.min-safe-integer.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"./node_modules/core-js/modules/es6.number.parse-float.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_parse-float.js");r(r.S+r.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},"./node_modules/core-js/modules/es6.number.parse-int.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_parse-int.js");r(r.S+r.F*(Number.parseInt!=n),"Number",{parseInt:n})},"./node_modules/core-js/modules/es6.number.to-fixed.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-integer.js"),t=s("./node_modules/core-js/modules/_a-number-value.js"),u=s("./node_modules/core-js/modules/_string-repeat.js"),d=1..toFixed,l=Math.floor,c=[0,0,0,0,0,0],i="Number.toFixed: incorrect invocation!",m="0",j=function(e,o){for(var s=-1,r=o;++s<6;)r+=e*c[s],c[s]=r%1e7,r=l(r/1e7)},_=function(e){for(var o=6,s=0;--o>=0;)s+=c[o],c[o]=l(s/e),s=s%e*1e7},a=function(){for(var e=6,o="";--e>=0;)if(""!==o||0===e||0!==c[e]){var s=String(c[e]);o=""===o?s:o+u.call(m,7-s.length)+s}return o},f=function(e,o,s){return 0===o?s:o%2==1?f(e,o-1,s*e):f(e*e,o/2,s)},p=function(e){for(var o=0,s=e;s>=4096;)o+=12,s/=4096;for(;s>=2;)o+=1,s/=2;return o};r(r.P+r.F*(!!d&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s("./node_modules/core-js/modules/_fails.js")(function(){d.call({})})),"Number",{toFixed:function(e){var o,s,r,d,l=t(this,i),c=n(e),h="",v=m;if(c<0||c>20)throw RangeError(i);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(h="-",l=-l),l>1e-21)if(o=p(l*f(2,69,1))-69,s=o<0?l*f(2,-o,1):l/f(2,o,1),s*=4503599627370496,(o=52-o)>0){for(j(0,s),r=c;r>=7;)j(1e7,0),r-=7;for(j(f(10,r,1),0),r=o-1;r>=23;)_(1<<23),r-=23;_(1<0?(d=v.length,v=h+(d<=c?"0."+u.call(m,c-d)+v:v.slice(0,d-c)+"."+v.slice(d-c))):v=h+v,v}})},"./node_modules/core-js/modules/es6.number.to-precision.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_fails.js"),t=s("./node_modules/core-js/modules/_a-number-value.js"),u=1..toPrecision;r(r.P+r.F*(n(function(){return"1"!==u.call(1,void 0)})||!n(function(){u.call({})})),"Number",{toPrecision:function(e){var o=t(this,"Number#toPrecision: incorrect invocation!");return void 0===e?u.call(o):u.call(o,e)}})},"./node_modules/core-js/modules/es6.object.assign.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S+r.F,"Object",{assign:s("./node_modules/core-js/modules/_object-assign.js")})},"./node_modules/core-js/modules/es6.object.create.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Object",{create:s("./node_modules/core-js/modules/_object-create.js")})},"./node_modules/core-js/modules/es6.object.define-properties.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S+r.F*!s("./node_modules/core-js/modules/_descriptors.js"),"Object",{defineProperties:s("./node_modules/core-js/modules/_object-dps.js")})},"./node_modules/core-js/modules/es6.object.define-property.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S+r.F*!s("./node_modules/core-js/modules/_descriptors.js"),"Object",{defineProperty:s("./node_modules/core-js/modules/_object-dp.js").f})},"./node_modules/core-js/modules/es6.object.freeze.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_meta.js").onFreeze;s("./node_modules/core-js/modules/_object-sap.js")("freeze",function(e){return function(o){return e&&r(o)?e(n(o)):o}})},"./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-iobject.js"),n=s("./node_modules/core-js/modules/_object-gopd.js").f;s("./node_modules/core-js/modules/_object-sap.js")("getOwnPropertyDescriptor",function(){return function(e,o){return n(r(e),o)}})},"./node_modules/core-js/modules/es6.object.get-own-property-names.js":function(e,o,s){s("./node_modules/core-js/modules/_object-sap.js")("getOwnPropertyNames",function(){return s("./node_modules/core-js/modules/_object-gopn-ext.js").f})},"./node_modules/core-js/modules/es6.object.get-prototype-of.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-object.js"),n=s("./node_modules/core-js/modules/_object-gpo.js");s("./node_modules/core-js/modules/_object-sap.js")("getPrototypeOf",function(){return function(e){return n(r(e))}})},"./node_modules/core-js/modules/es6.object.is-extensible.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js");s("./node_modules/core-js/modules/_object-sap.js")("isExtensible",function(e){return function(o){return!!r(o)&&(!e||e(o))}})},"./node_modules/core-js/modules/es6.object.is-frozen.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js");s("./node_modules/core-js/modules/_object-sap.js")("isFrozen",function(e){return function(o){return!r(o)||!!e&&e(o)}})},"./node_modules/core-js/modules/es6.object.is-sealed.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js");s("./node_modules/core-js/modules/_object-sap.js")("isSealed",function(e){return function(o){return!r(o)||!!e&&e(o)}})},"./node_modules/core-js/modules/es6.object.is.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Object",{is:s("./node_modules/core-js/modules/_same-value.js")})},"./node_modules/core-js/modules/es6.object.keys.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_to-object.js"),n=s("./node_modules/core-js/modules/_object-keys.js");s("./node_modules/core-js/modules/_object-sap.js")("keys",function(){return function(e){return n(r(e))}})},"./node_modules/core-js/modules/es6.object.prevent-extensions.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_meta.js").onFreeze;s("./node_modules/core-js/modules/_object-sap.js")("preventExtensions",function(e){return function(o){return e&&r(o)?e(n(o)):o}})},"./node_modules/core-js/modules/es6.object.seal.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_is-object.js"),n=s("./node_modules/core-js/modules/_meta.js").onFreeze;s("./node_modules/core-js/modules/_object-sap.js")("seal",function(e){return function(o){return e&&r(o)?e(n(o)):o}})},"./node_modules/core-js/modules/es6.object.set-prototype-of.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Object",{setPrototypeOf:s("./node_modules/core-js/modules/_set-proto.js").set})},"./node_modules/core-js/modules/es6.object.to-string.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_classof.js"),n={};n[s("./node_modules/core-js/modules/_wks.js")("toStringTag")]="z",n+""!="[object z]"&&s("./node_modules/core-js/modules/_redefine.js")(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},"./node_modules/core-js/modules/es6.parse-float.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_parse-float.js");r(r.G+r.F*(parseFloat!=n),{parseFloat:n})},"./node_modules/core-js/modules/es6.parse-int.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_parse-int.js");r(r.G+r.F*(parseInt!=n),{parseInt:n})},"./node_modules/core-js/modules/es6.promise.js":function(e,o,s){"use strict";var r,n,t,u=s("./node_modules/core-js/modules/_library.js"),d=s("./node_modules/core-js/modules/_global.js"),l=s("./node_modules/core-js/modules/_ctx.js"),c=s("./node_modules/core-js/modules/_classof.js"),i=s("./node_modules/core-js/modules/_export.js"),m=s("./node_modules/core-js/modules/_is-object.js"),j=s("./node_modules/core-js/modules/_a-function.js"),_=s("./node_modules/core-js/modules/_an-instance.js"),a=s("./node_modules/core-js/modules/_for-of.js"),f=s("./node_modules/core-js/modules/_species-constructor.js"),p=s("./node_modules/core-js/modules/_task.js").set,h=s("./node_modules/core-js/modules/_microtask.js")(),v="Promise",g=d.TypeError,y=d.process,b=d[v],y=d.process,x="process"==c(y),w=function(){},S=!!function(){try{var e=b.resolve(1),o=(e.constructor={})[s("./node_modules/core-js/modules/_wks.js")("species")]=function(e){e(w,w)};return(x||"function"==typeof PromiseRejectionEvent)&&e.then(w)instanceof o}catch(e){}}(),k=function(e,o){return e===o||e===b&&o===t},E=function(e){var o;return!(!m(e)||"function"!=typeof(o=e.then))&&o},O=function(e){return k(b,e)?new F(e):new n(e)},F=n=function(e){var o,s;this.promise=new e(function(e,r){if(void 0!==o||void 0!==s)throw g("Bad Promise constructor");o=e,s=r}),this.resolve=j(o),this.reject=j(s)},P=function(e){try{e()}catch(e){return{error:e}}},M=function(e,o){if(!e._n){e._n=!0;var s=e._c;h(function(){for(var r=e._v,n=1==e._s,t=0,u=function(o){var s,t,u=n?o.ok:o.fail,d=o.resolve,l=o.reject,c=o.domain;try{u?(n||(2==e._h&&I(e),e._h=1),u===!0?s=r:(c&&c.enter(),s=u(r),c&&c.exit()),s===o.promise?l(g("Promise-chain cycle")):(t=E(s))?t.call(s,d,l):d(s)):l(r)}catch(e){l(e)}};s.length>t;)u(s[t++]);e._c=[],e._n=!1,o&&!e._h&&A(e)})}},A=function(e){p.call(d,function(){var o,s,r,n=e._v;if(N(e)&&(o=P(function(){x?y.emit("unhandledRejection",n,e):(s=d.onunhandledrejection)?s({promise:e,reason:n}):(r=d.console)&&r.error&&r.error("Unhandled promise rejection",n)}),e._h=x||N(e)?2:1),e._a=void 0,o)throw o.error})},N=function(e){if(1==e._h)return!1;for(var o,s=e._a||e._c,r=0;s.length>r;)if(o=s[r++],o.fail||!N(o.promise))return!1;return!0},I=function(e){p.call(d,function(){var o;x?y.emit("rejectionHandled",e):(o=d.onrejectionhandled)&&o({promise:e,reason:e._v})})},T=function(e){var o=this;o._d||(o._d=!0,o=o._w||o,o._v=e,o._s=2,o._a||(o._a=o._c.slice()),M(o,!0))},R=function(e){var o,s=this;if(!s._d){s._d=!0,s=s._w||s;try{if(s===e)throw g("Promise can't be resolved itself");(o=E(e))?h(function(){var r={_w:s,_d:!1};try{o.call(e,l(R,r,1),l(T,r,1))}catch(e){T.call(r,e)}}):(s._v=e,s._s=1,M(s,!1))}catch(e){T.call({_w:s,_d:!1},e)}}};S||(b=function(e){_(this,b,v,"_h"),j(e),r.call(this);try{e(l(R,this,1),l(T,this,1))}catch(e){T.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=s("./node_modules/core-js/modules/_redefine-all.js")(b.prototype,{then:function(e,o){var s=O(f(this,b));return s.ok="function"!=typeof e||e,s.fail="function"==typeof o&&o,s.domain=x?y.domain:void 0,this._c.push(s),this._a&&this._a.push(s),this._s&&M(this,!1),s.promise},catch:function(e){return this.then(void 0,e)}}),F=function(){var e=new r;this.promise=e,this.resolve=l(R,e,1),this.reject=l(T,e,1)}),i(i.G+i.W+i.F*!S,{Promise:b}),s("./node_modules/core-js/modules/_set-to-string-tag.js")(b,v),s("./node_modules/core-js/modules/_set-species.js")(v),t=s("./node_modules/core-js/modules/_core.js")[v],i(i.S+i.F*!S,v,{reject:function(e){var o=O(this);return(0,o.reject)(e),o.promise}}),i(i.S+i.F*(u||!S),v,{resolve:function(e){if(e instanceof b&&k(e.constructor,this))return e;var o=O(this);return(0,o.resolve)(e),o.promise}}),i(i.S+i.F*!(S&&s("./node_modules/core-js/modules/_iter-detect.js")(function(e){b.all(e).catch(w)})),v,{all:function(e){var o=this,s=O(o),r=s.resolve,n=s.reject,t=P(function(){var s=[],t=0,u=1;a(e,!1,function(e){var d=t++,l=!1;s.push(void 0),u++,o.resolve(e).then(function(e){l||(l=!0,s[d]=e,--u||r(s))},n)}),--u||r(s)});return t&&n(t.error),s.promise},race:function(e){var o=this,s=O(o),r=s.reject,n=P(function(){a(e,!1,function(e){o.resolve(e).then(s.resolve,r)})});return n&&r(n.error),s.promise}})},"./node_modules/core-js/modules/es6.reflect.apply.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_a-function.js"),t=s("./node_modules/core-js/modules/_an-object.js"),u=(s("./node_modules/core-js/modules/_global.js").Reflect||{}).apply,d=Function.apply;r(r.S+r.F*!s("./node_modules/core-js/modules/_fails.js")(function(){u(function(){})}),"Reflect",{apply:function(e,o,s){var r=n(e),l=t(s);return u?u(r,o,l):d.call(r,o,l)}})},"./node_modules/core-js/modules/es6.reflect.construct.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_object-create.js"),t=s("./node_modules/core-js/modules/_a-function.js"),u=s("./node_modules/core-js/modules/_an-object.js"),d=s("./node_modules/core-js/modules/_is-object.js"),l=s("./node_modules/core-js/modules/_fails.js"),c=s("./node_modules/core-js/modules/_bind.js"),i=(s("./node_modules/core-js/modules/_global.js").Reflect||{}).construct,m=l(function(){function e(){}return!(i(function(){},[],e)instanceof e)}),j=!l(function(){i(function(){})});r(r.S+r.F*(m||j),"Reflect",{construct:function(e,o){t(e),u(o);var s=arguments.length<3?e:t(arguments[2]);if(j&&!m)return i(e,o,s);if(e==s){switch(o.length){case 0:return new e;case 1:return new e(o[0]);case 2:return new e(o[0],o[1]);case 3:return new e(o[0],o[1],o[2]);case 4:return new e(o[0],o[1],o[2],o[3])}var r=[null];return r.push.apply(r,o),new(c.apply(e,r))}var l=s.prototype,_=n(d(l)?l:Object.prototype),a=Function.apply.call(e,_,o);return d(a)?a:_}})},"./node_modules/core-js/modules/es6.reflect.define-property.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-dp.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_an-object.js"),u=s("./node_modules/core-js/modules/_to-primitive.js");n(n.S+n.F*s("./node_modules/core-js/modules/_fails.js")(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,o,s){t(e),o=u(o,!0),t(s);try{return r.f(e,o,s),!0}catch(e){return!1}}})},"./node_modules/core-js/modules/es6.reflect.delete-property.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_object-gopd.js").f,t=s("./node_modules/core-js/modules/_an-object.js");r(r.S,"Reflect",{deleteProperty:function(e,o){var s=n(t(e),o);return!(s&&!s.configurable)&&delete e[o]}})},"./node_modules/core-js/modules/es6.reflect.enumerate.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_an-object.js"),t=function(e){this._t=n(e),this._i=0;var o,s=this._k=[];for(o in e)s.push(o)};s("./node_modules/core-js/modules/_iter-create.js")(t,"Object",function(){var e,o=this,s=o._k;do{if(o._i>=s.length)return{value:void 0,done:!0}}while(!((e=s[o._i++])in o._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new t(e)}})},"./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_object-gopd.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_an-object.js");n(n.S,"Reflect",{getOwnPropertyDescriptor:function(e,o){return r.f(t(e),o)}})},"./node_modules/core-js/modules/es6.reflect.get-prototype-of.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_object-gpo.js"),t=s("./node_modules/core-js/modules/_an-object.js");r(r.S,"Reflect",{getPrototypeOf:function(e){return n(t(e))}})},"./node_modules/core-js/modules/es6.reflect.get.js":function(e,o,s){function r(e,o){var s,d,i=arguments.length<3?e:arguments[2];return c(e)===i?e[o]:(s=n.f(e,o))?u(s,"value")?s.value:void 0!==s.get?s.get.call(i):void 0:l(d=t(e))?r(d,o,i):void 0}var n=s("./node_modules/core-js/modules/_object-gopd.js"),t=s("./node_modules/core-js/modules/_object-gpo.js"),u=s("./node_modules/core-js/modules/_has.js"),d=s("./node_modules/core-js/modules/_export.js"),l=s("./node_modules/core-js/modules/_is-object.js"),c=s("./node_modules/core-js/modules/_an-object.js");d(d.S,"Reflect",{get:r})},"./node_modules/core-js/modules/es6.reflect.has.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Reflect",{has:function(e,o){return o in e}})},"./node_modules/core-js/modules/es6.reflect.is-extensible.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_an-object.js"),t=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return n(e),!t||t(e)}})},"./node_modules/core-js/modules/es6.reflect.own-keys.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Reflect",{ownKeys:s("./node_modules/core-js/modules/_own-keys.js")})},"./node_modules/core-js/modules/es6.reflect.prevent-extensions.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_an-object.js"),t=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){n(e);try{return t&&t(e),!0}catch(e){return!1}}})},"./node_modules/core-js/modules/es6.reflect.set-prototype-of.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_set-proto.js");n&&r(r.S,"Reflect",{setPrototypeOf:function(e,o){n.check(e,o);try{return n.set(e,o),!0}catch(e){return!1}}})},"./node_modules/core-js/modules/es6.reflect.set.js":function(e,o,s){function r(e,o,s){var l,j,_=arguments.length<4?e:arguments[3],a=t.f(i(e),o);if(!a){if(m(j=u(e)))return r(j,o,s,_);a=c(0)}return d(a,"value")?!(a.writable===!1||!m(_))&&(l=t.f(_,o)||c(0),l.value=s,n.f(_,o,l),!0):void 0!==a.set&&(a.set.call(_,s),!0)}var n=s("./node_modules/core-js/modules/_object-dp.js"),t=s("./node_modules/core-js/modules/_object-gopd.js"),u=s("./node_modules/core-js/modules/_object-gpo.js"),d=s("./node_modules/core-js/modules/_has.js"),l=s("./node_modules/core-js/modules/_export.js"),c=s("./node_modules/core-js/modules/_property-desc.js"),i=s("./node_modules/core-js/modules/_an-object.js"),m=s("./node_modules/core-js/modules/_is-object.js");l(l.S,"Reflect",{set:r})},"./node_modules/core-js/modules/es6.regexp.constructor.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_inherit-if-required.js"),t=s("./node_modules/core-js/modules/_object-dp.js").f,u=s("./node_modules/core-js/modules/_object-gopn.js").f,d=s("./node_modules/core-js/modules/_is-regexp.js"),l=s("./node_modules/core-js/modules/_flags.js"),c=r.RegExp,i=c,m=c.prototype,j=/a/g,_=/a/g,a=new c(j)!==j;if(s("./node_modules/core-js/modules/_descriptors.js")&&(!a||s("./node_modules/core-js/modules/_fails.js")(function(){return _[s("./node_modules/core-js/modules/_wks.js")("match")]=!1,c(j)!=j||c(_)==_||"/a/i"!=c(j,"i")}))){c=function(e,o){var s=this instanceof c,r=d(e),t=void 0===o;return!s&&r&&e.constructor===c&&t?e:n(a?new i(r&&!t?e.source:e,o):i((r=e instanceof c)?e.source:e,r&&t?l.call(e):o),s?this:m,c)};for(var f=(function(e){e in c||t(c,e,{configurable:!0,get:function(){return i[e]},set:function(o){i[e]=o}})}),p=u(i),h=0;p.length>h;)f(p[h++]);m.constructor=c,c.prototype=m,s("./node_modules/core-js/modules/_redefine.js")(r,"RegExp",c)}s("./node_modules/core-js/modules/_set-species.js")("RegExp")},"./node_modules/core-js/modules/es6.regexp.flags.js":function(e,o,s){s("./node_modules/core-js/modules/_descriptors.js")&&"g"!=/./g.flags&&s("./node_modules/core-js/modules/_object-dp.js").f(RegExp.prototype,"flags",{configurable:!0,get:s("./node_modules/core-js/modules/_flags.js")})},"./node_modules/core-js/modules/es6.regexp.match.js":function(e,o,s){s("./node_modules/core-js/modules/_fix-re-wks.js")("match",1,function(e,o,s){return[function(s){"use strict";var r=e(this),n=void 0==s?void 0:s[o];return void 0!==n?n.call(s,r):new RegExp(s)[o](String(r))},s]})},"./node_modules/core-js/modules/es6.regexp.replace.js":function(e,o,s){s("./node_modules/core-js/modules/_fix-re-wks.js")("replace",2,function(e,o,s){return[function(r,n){"use strict";var t=e(this),u=void 0==r?void 0:r[o];return void 0!==u?u.call(r,t,n):s.call(String(t),r,n)},s]})},"./node_modules/core-js/modules/es6.regexp.search.js":function(e,o,s){s("./node_modules/core-js/modules/_fix-re-wks.js")("search",1,function(e,o,s){return[function(s){"use strict";var r=e(this),n=void 0==s?void 0:s[o];return void 0!==n?n.call(s,r):new RegExp(s)[o](String(r))},s]})},"./node_modules/core-js/modules/es6.regexp.split.js":function(e,o,s){s("./node_modules/core-js/modules/_fix-re-wks.js")("split",2,function(e,o,r){"use strict";var n=s("./node_modules/core-js/modules/_is-regexp.js"),t=r,u=[].push,d="split",l="length",c="lastIndex";if("c"=="abbc"[d](/(b)*/)[1]||4!="test"[d](/(?:)/,-1)[l]||2!="ab"[d](/(?:ab)*/)[l]||4!="."[d](/(.?)(.?)/)[l]||"."[d](/()()/)[l]>1||""[d](/.?/)[l]){var i=void 0===/()??/.exec("")[1];r=function(e,o){var s=String(this);if(void 0===e&&0===o)return[];if(!n(e))return t.call(s,e,o);var r,d,m,j,_,a=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),p=0,h=void 0===o?4294967295:o>>>0,v=new RegExp(e.source,f+"g");for(i||(r=new RegExp("^"+v.source+"$(?!\\s)",f));(d=v.exec(s))&&!((m=d.index+d[0][l])>p&&(a.push(s.slice(p,d.index)),!i&&d[l]>1&&d[0].replace(r,function(){for(_=1;_1&&d.index=h));)v[c]===d.index&&v[c]++;return p===s[l]?!j&&v.test("")||a.push(""):a.push(s.slice(p)),a[l]>h?a.slice(0,h):a}}else"0"[d](void 0,0)[l]&&(r=function(e,o){return void 0===e&&0===o?[]:t.call(this,e,o)});return[function(s,n){var t=e(this),u=void 0==s?void 0:s[o];return void 0!==u?u.call(s,t,n):r.call(String(t),s,n)},r]})},"./node_modules/core-js/modules/es6.regexp.to-string.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/es6.regexp.flags.js");var r=s("./node_modules/core-js/modules/_an-object.js"),n=s("./node_modules/core-js/modules/_flags.js"),t=s("./node_modules/core-js/modules/_descriptors.js"),u="toString",d=/./[u],l=function(e){s("./node_modules/core-js/modules/_redefine.js")(RegExp.prototype,u,e,!0)};s("./node_modules/core-js/modules/_fails.js")(function(){return"/a/b"!=d.call({source:"a",flags:"b"})})?l(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!t&&e instanceof RegExp?n.call(e):void 0)}):d.name!=u&&l(function(){return d.call(this)})},"./node_modules/core-js/modules/es6.set.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_collection-strong.js");e.exports=s("./node_modules/core-js/modules/_collection.js")("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e=0===e?0:e,e)}},r)},"./node_modules/core-js/modules/es6.string.anchor.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("anchor",function(e){return function(o){return e(this,"a","name",o)}})},"./node_modules/core-js/modules/es6.string.big.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("big",function(e){return function(){return e(this,"big","","")}})},"./node_modules/core-js/modules/es6.string.blink.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("blink",function(e){return function(){return e(this,"blink","","")}})},"./node_modules/core-js/modules/es6.string.bold.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("bold",function(e){return function(){return e(this,"b","","")}})},"./node_modules/core-js/modules/es6.string.code-point-at.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_string-at.js")(!1);r(r.P,"String",{codePointAt:function(e){return n(this,e)}})},"./node_modules/core-js/modules/es6.string.ends-with.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-length.js"),t=s("./node_modules/core-js/modules/_string-context.js"),u="endsWith",d=""[u];r(r.P+r.F*s("./node_modules/core-js/modules/_fails-is-regexp.js")(u),"String",{endsWith:function(e){var o=t(this,e,u),s=arguments.length>1?arguments[1]:void 0,r=n(o.length),l=void 0===s?r:Math.min(n(s),r),c=String(e);return d?d.call(o,c,l):o.slice(l-c.length,l)===c}})},"./node_modules/core-js/modules/es6.string.fixed.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("fixed",function(e){return function(){return e(this,"tt","","")}})},"./node_modules/core-js/modules/es6.string.fontcolor.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("fontcolor",function(e){return function(o){return e(this,"font","color",o)}})},"./node_modules/core-js/modules/es6.string.fontsize.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("fontsize",function(e){return function(o){return e(this,"font","size",o)}})},"./node_modules/core-js/modules/es6.string.from-code-point.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-index.js"),t=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(e){for(var o,s=[],r=arguments.length,u=0;r>u;){if(o=+arguments[u++],n(o,1114111)!==o)throw RangeError(o+" is not a valid code point");s.push(o<65536?t(o):t(55296+((o-=65536)>>10),o%1024+56320))}return s.join("")}})},"./node_modules/core-js/modules/es6.string.includes.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_string-context.js"),t="includes";r(r.P+r.F*s("./node_modules/core-js/modules/_fails-is-regexp.js")(t),"String",{includes:function(e){return!!~n(this,e,t).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es6.string.italics.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("italics",function(e){return function(){return e(this,"i","","")}})},"./node_modules/core-js/modules/es6.string.iterator.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_string-at.js")(!0);s("./node_modules/core-js/modules/_iter-define.js")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,o=this._t,s=this._i;return s>=o.length?{value:void 0,done:!0}:(e=r(o,s),this._i+=e.length,{value:e,done:!1})})},"./node_modules/core-js/modules/es6.string.link.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("link",function(e){return function(o){return e(this,"a","href",o)}})},"./node_modules/core-js/modules/es6.string.raw.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-iobject.js"),t=s("./node_modules/core-js/modules/_to-length.js");r(r.S,"String",{raw:function(e){for(var o=n(e.raw),s=t(o.length),r=arguments.length,u=[],d=0;s>d;)u.push(String(o[d++])),d1?arguments[1]:void 0,o.length)),r=String(e);return d?d.call(o,r,s):o.slice(s,s+r.length)===r}})},"./node_modules/core-js/modules/es6.string.strike.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("strike",function(e){return function(){return e(this,"strike","","")}})},"./node_modules/core-js/modules/es6.string.sub.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("sub",function(e){return function(){return e(this,"sub","","")}})},"./node_modules/core-js/modules/es6.string.sup.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-html.js")("sup",function(e){return function(){return e(this,"sup","","")}})},"./node_modules/core-js/modules/es6.string.trim.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-trim.js")("trim",function(e){return function(){return e(this,3)}})},"./node_modules/core-js/modules/es6.symbol.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_has.js"),t=s("./node_modules/core-js/modules/_descriptors.js"),u=s("./node_modules/core-js/modules/_export.js"),d=s("./node_modules/core-js/modules/_redefine.js"),l=s("./node_modules/core-js/modules/_meta.js").KEY,c=s("./node_modules/core-js/modules/_fails.js"),i=s("./node_modules/core-js/modules/_shared.js"),m=s("./node_modules/core-js/modules/_set-to-string-tag.js"),j=s("./node_modules/core-js/modules/_uid.js"),_=s("./node_modules/core-js/modules/_wks.js"),a=s("./node_modules/core-js/modules/_wks-ext.js"),f=s("./node_modules/core-js/modules/_wks-define.js"),p=s("./node_modules/core-js/modules/_keyof.js"),h=s("./node_modules/core-js/modules/_enum-keys.js"),v=s("./node_modules/core-js/modules/_is-array.js"),g=s("./node_modules/core-js/modules/_an-object.js"),y=s("./node_modules/core-js/modules/_to-iobject.js"),b=s("./node_modules/core-js/modules/_to-primitive.js"),x=s("./node_modules/core-js/modules/_property-desc.js"),w=s("./node_modules/core-js/modules/_object-create.js"),S=s("./node_modules/core-js/modules/_object-gopn-ext.js"),k=s("./node_modules/core-js/modules/_object-gopd.js"),E=s("./node_modules/core-js/modules/_object-dp.js"),O=s("./node_modules/core-js/modules/_object-keys.js"),F=k.f,P=E.f,M=S.f,A=r.Symbol,N=r.JSON,I=N&&N.stringify,T="prototype",R=_("_hidden"),L=_("toPrimitive"),C={}.propertyIsEnumerable,U=i("symbol-registry"),D=i("symbols"),W=i("op-symbols"),G=Object[T],z="function"==typeof A,B=r.QObject,V=!B||!B[T]||!B[T].findChild,Y=t&&c(function(){return 7!=w(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,o,s){var r=F(G,o);r&&delete G[o],P(e,o,s),r&&e!==G&&P(G,o,r)}:P,J=function(e){var o=D[e]=w(A[T]);return o._k=e,o},K=z&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},q=function(e,o,s){return e===G&&q(W,o,s),g(e),o=b(o,!0),g(s),n(D,o)?(s.enumerable?(n(e,R)&&e[R][o]&&(e[R][o]=!1),s=w(s,{enumerable:x(0,!1)})):(n(e,R)||P(e,R,x(1,{})),e[R][o]=!0),Y(e,o,s)):P(e,o,s)},X=function(e,o){g(e);for(var s,r=h(o=y(o)),n=0,t=r.length;t>n;)q(e,s=r[n++],o[s]);return e},$=function(e,o){return void 0===o?w(e):X(w(e),o)},H=function(e){var o=C.call(this,e=b(e,!0));return!(this===G&&n(D,e)&&!n(W,e))&&(!(o||!n(this,e)||!n(D,e)||n(this,R)&&this[R][e])||o)},Z=function(e,o){if(e=y(e),o=b(o,!0),e!==G||!n(D,o)||n(W,o)){var s=F(e,o);return!s||!n(D,o)||n(e,R)&&e[R][o]||(s.enumerable=!0),s}},Q=function(e){for(var o,s=M(y(e)),r=[],t=0;s.length>t;)n(D,o=s[t++])||o==R||o==l||r.push(o);return r},ee=function(e){for(var o,s=e===G,r=M(s?W:y(e)),t=[],u=0;r.length>u;)!n(D,o=r[u++])||s&&!n(G,o)||t.push(D[o]);return t};z||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=j(arguments.length>0?arguments[0]:void 0),o=function(s){this===G&&o.call(W,s),n(this,R)&&n(this[R],e)&&(this[R][e]=!1),Y(this,e,x(1,s))};return t&&V&&Y(G,e,{configurable:!0,set:o}),J(e)},d(A[T],"toString",function(){return this._k}),k.f=Z,E.f=q,s("./node_modules/core-js/modules/_object-gopn.js").f=S.f=Q,s("./node_modules/core-js/modules/_object-pie.js").f=H,s("./node_modules/core-js/modules/_object-gops.js").f=ee,t&&!s("./node_modules/core-js/modules/_library.js")&&d(G,"propertyIsEnumerable",H,!0),a.f=function(e){return J(_(e))}),u(u.G+u.W+u.F*!z,{Symbol:A});for(var oe="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),se=0;oe.length>se;)_(oe[se++]);for(var oe=O(_.store),se=0;oe.length>se;)f(oe[se++]);u(u.S+u.F*!z,"Symbol",{for:function(e){return n(U,e+="")?U[e]:U[e]=A(e)},keyFor:function(e){if(K(e))return p(U,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),u(u.S+u.F*!z,"Object",{create:$,defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),N&&u(u.S+u.F*(!z||c(function(){var e=A();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!K(e)){for(var o,s,r=[e],n=1;arguments.length>n;)r.push(arguments[n++]);return o=r[1],"function"==typeof o&&(s=o),!s&&v(o)||(o=function(e,o){if(s&&(o=s.call(this,e,o)),!K(o))return o}),r[1]=o,I.apply(N,r)}}}),A[T][L]||s("./node_modules/core-js/modules/_hide.js")(A[T],L,A[T].valueOf),m(A,"Symbol"),m(Math,"Math",!0),m(r.JSON,"JSON",!0)},"./node_modules/core-js/modules/es6.typed.array-buffer.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_typed.js"),t=s("./node_modules/core-js/modules/_typed-buffer.js"),u=s("./node_modules/core-js/modules/_an-object.js"),d=s("./node_modules/core-js/modules/_to-index.js"),l=s("./node_modules/core-js/modules/_to-length.js"),c=s("./node_modules/core-js/modules/_is-object.js"),i=s("./node_modules/core-js/modules/_global.js").ArrayBuffer,m=s("./node_modules/core-js/modules/_species-constructor.js"),j=t.ArrayBuffer,_=t.DataView,a=n.ABV&&i.isView,f=j.prototype.slice,p=n.VIEW,h="ArrayBuffer";r(r.G+r.W+r.F*(i!==j),{ArrayBuffer:j}),r(r.S+r.F*!n.CONSTR,h,{isView:function(e){return a&&a(e)||c(e)&&p in e}}),r(r.P+r.U+r.F*s("./node_modules/core-js/modules/_fails.js")(function(){return!new j(2).slice(1,void 0).byteLength}),h,{slice:function(e,o){if(void 0!==f&&void 0===o)return f.call(u(this),e);for(var s=u(this).byteLength,r=d(e,s),n=d(void 0===o?s:o,s),t=new(m(this,j))(l(n-r)),c=new _(this),i=new _(t),a=0;r0?arguments[0]:void 0)}},f={get:function(e){if(c(e)){var o=i(e);return o===!0?j(this).get(e):o?o[this._i]:void 0}},set:function(e,o){return l.def(this,e,o)}},p=e.exports=s("./node_modules/core-js/modules/_collection.js")("WeakMap",a,f,l,!0,!0);7!=(new p).set((Object.freeze||Object)(_),7).get(_)&&(r=l.getConstructor(a),d(r.prototype,f),u.NEED=!0,n(["delete","has","get","set"],function(e){var o=p.prototype,s=o[e];t(o,e,function(o,n){if(c(o)&&!m(o)){this._f||(this._f=new r);var t=this._f[e](o,n);return"set"==e?this:t}return s.call(this,o,n)})}))},"./node_modules/core-js/modules/es6.weak-set.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_collection-weak.js");s("./node_modules/core-js/modules/_collection.js")("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},"./node_modules/core-js/modules/es7.array.includes.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_array-includes.js")(!0);r(r.P,"Array",{includes:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}}),s("./node_modules/core-js/modules/_add-to-unscopables.js")("includes")},"./node_modules/core-js/modules/es7.asap.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_microtask.js")(),t=s("./node_modules/core-js/modules/_global.js").process,u="process"==s("./node_modules/core-js/modules/_cof.js")(t);r(r.G,{asap:function(e){var o=u&&t.domain;n(o?o.bind(e):e)}})},"./node_modules/core-js/modules/es7.error.is-error.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_cof.js");r(r.S,"Error",{isError:function(e){return"Error"===n(e)}})},"./node_modules/core-js/modules/es7.map.to-json.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.P+r.R,"Map",{toJSON:s("./node_modules/core-js/modules/_collection-to-json.js")("Map")})},"./node_modules/core-js/modules/es7.math.iaddh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{iaddh:function(e,o,s,r){var n=e>>>0,t=o>>>0,u=s>>>0;return t+(r>>>0)+((n&u|(n|u)&~(n+u>>>0))>>>31)|0}})},"./node_modules/core-js/modules/es7.math.imulh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{imulh:function(e,o){var s=65535,r=+e,n=+o,t=r&s,u=n&s,d=r>>16,l=n>>16,c=(d*u>>>0)+(t*u>>>16);return d*l+(c>>16)+((t*l>>>0)+(c&s)>>16)}})},"./node_modules/core-js/modules/es7.math.isubh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{isubh:function(e,o,s,r){var n=e>>>0,t=o>>>0,u=s>>>0;return t-(r>>>0)-((~n&u|~(n^u)&n-u>>>0)>>>31)|0}})},"./node_modules/core-js/modules/es7.math.umulh.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"Math",{umulh:function(e,o){var s=65535,r=+e,n=+o,t=r&s,u=n&s,d=r>>>16,l=n>>>16,c=(d*u>>>0)+(t*u>>>16);return d*l+(c>>>16)+((t*l>>>0)+(c&s)>>>16)}})},"./node_modules/core-js/modules/es7.object.define-getter.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_a-function.js"),u=s("./node_modules/core-js/modules/_object-dp.js");s("./node_modules/core-js/modules/_descriptors.js")&&r(r.P+s("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__defineGetter__:function(e,o){u.f(n(this),e,{get:t(o),enumerable:!0,configurable:!0})}})},"./node_modules/core-js/modules/es7.object.define-setter.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_a-function.js"),u=s("./node_modules/core-js/modules/_object-dp.js");s("./node_modules/core-js/modules/_descriptors.js")&&r(r.P+s("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__defineSetter__:function(e,o){u.f(n(this),e,{set:t(o),enumerable:!0,configurable:!0})}})},"./node_modules/core-js/modules/es7.object.entries.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_object-to-array.js")(!0);r(r.S,"Object",{entries:function(e){return n(e)}})},"./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_own-keys.js"),t=s("./node_modules/core-js/modules/_to-iobject.js"),u=s("./node_modules/core-js/modules/_object-gopd.js"),d=s("./node_modules/core-js/modules/_create-property.js");r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var o,s=t(e),r=u.f,l=n(s),c={},i=0;l.length>i;)d(c,o=l[i++],r(s,o));return c}})},"./node_modules/core-js/modules/es7.object.lookup-getter.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_to-primitive.js"),u=s("./node_modules/core-js/modules/_object-gpo.js"),d=s("./node_modules/core-js/modules/_object-gopd.js").f;s("./node_modules/core-js/modules/_descriptors.js")&&r(r.P+s("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__lookupGetter__:function(e){var o,s=n(this),r=t(e,!0);do{if(o=d(s,r))return o.get}while(s=u(s))}})},"./node_modules/core-js/modules/es7.object.lookup-setter.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_to-object.js"),t=s("./node_modules/core-js/modules/_to-primitive.js"),u=s("./node_modules/core-js/modules/_object-gpo.js"),d=s("./node_modules/core-js/modules/_object-gopd.js").f;s("./node_modules/core-js/modules/_descriptors.js")&&r(r.P+s("./node_modules/core-js/modules/_object-forced-pam.js"),"Object",{__lookupSetter__:function(e){var o,s=n(this),r=t(e,!0);do{if(o=d(s,r))return o.set}while(s=u(s))}})},"./node_modules/core-js/modules/es7.object.values.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_object-to-array.js")(!1);r(r.S,"Object",{values:function(e){return n(e)}})},"./node_modules/core-js/modules/es7.observable.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_global.js"),t=s("./node_modules/core-js/modules/_core.js"),u=s("./node_modules/core-js/modules/_microtask.js")(),d=s("./node_modules/core-js/modules/_wks.js")("observable"),l=s("./node_modules/core-js/modules/_a-function.js"),c=s("./node_modules/core-js/modules/_an-object.js"),i=s("./node_modules/core-js/modules/_an-instance.js"),m=s("./node_modules/core-js/modules/_redefine-all.js"),j=s("./node_modules/core-js/modules/_hide.js"),_=s("./node_modules/core-js/modules/_for-of.js"),a=_.RETURN,f=function(e){return null==e?void 0:l(e)},p=function(e){var o=e._c;o&&(e._c=void 0,o())},h=function(e){return void 0===e._o},v=function(e){h(e)||(e._o=void 0,p(e))},g=function(e,o){c(e),this._c=void 0,this._o=e,e=new y(this);try{var s=o(e),r=s;null!=s&&("function"==typeof s.unsubscribe?s=function(){r.unsubscribe()}:l(s),this._c=s)}catch(o){return void e.error(o)}h(this)&&p(this)};g.prototype=m({},{unsubscribe:function(){v(this)}});var y=function(e){this._s=e};y.prototype=m({},{next:function(e){var o=this._s;if(!h(o)){var s=o._o;try{var r=f(s.next);if(r)return r.call(s,e)}catch(e){try{v(o)}finally{throw e}}}},error:function(e){var o=this._s;if(h(o))throw e;var s=o._o;o._o=void 0;try{var r=f(s.error);if(!r)throw e;e=r.call(s,e)}catch(e){try{p(o)}finally{throw e}}return p(o),e},complete:function(e){var o=this._s;if(!h(o)){var s=o._o;o._o=void 0;try{var r=f(s.complete);e=r?r.call(s,e):void 0}catch(e){try{p(o)}finally{throw e}}return p(o),e}}});var b=function(e){i(this,b,"Observable","_f")._f=l(e)};m(b.prototype,{subscribe:function(e){return new g(e,this._f)},forEach:function(e){var o=this;return new(t.Promise||n.Promise)(function(s,r){l(e);var n=o.subscribe({next:function(o){try{return e(o)}catch(e){r(e),n.unsubscribe()}},error:r,complete:s})})}}),m(b,{from:function(e){var o="function"==typeof this?this:b,s=f(c(e)[d]);if(s){var r=c(s.call(e));return r.constructor===o?r:new o(function(e){return r.subscribe(e)})}return new o(function(o){var s=!1;return u(function(){if(!s){try{if(_(e,!1,function(e){if(o.next(e),s)return a})===a)return}catch(e){if(s)throw e;return void o.error(e)}o.complete()}}),function(){s=!0}})},of:function(){for(var e=0,o=arguments.length,s=Array(o);e1?arguments[1]:void 0,!1)}})},"./node_modules/core-js/modules/es7.string.pad-start.js":function(e,o,s){"use strict";var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_string-pad.js");r(r.P,"String",{padStart:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},"./node_modules/core-js/modules/es7.string.trim-left.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-trim.js")("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},"./node_modules/core-js/modules/es7.string.trim-right.js":function(e,o,s){"use strict";s("./node_modules/core-js/modules/_string-trim.js")("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},"./node_modules/core-js/modules/es7.symbol.async-iterator.js":function(e,o,s){s("./node_modules/core-js/modules/_wks-define.js")("asyncIterator")},"./node_modules/core-js/modules/es7.symbol.observable.js":function(e,o,s){s("./node_modules/core-js/modules/_wks-define.js")("observable")},"./node_modules/core-js/modules/es7.system.global.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js");r(r.S,"System",{global:s("./node_modules/core-js/modules/_global.js")})},"./node_modules/core-js/modules/web.dom.iterable.js":function(e,o,s){for(var r=s("./node_modules/core-js/modules/es6.array.iterator.js"),n=s("./node_modules/core-js/modules/_redefine.js"),t=s("./node_modules/core-js/modules/_global.js"),u=s("./node_modules/core-js/modules/_hide.js"),d=s("./node_modules/core-js/modules/_iterators.js"),l=s("./node_modules/core-js/modules/_wks.js"),c=l("iterator"),i=l("toStringTag"),m=d.Array,j=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],_=0;_<5;_++){var a,f=j[_],p=t[f],h=p&&p.prototype;if(h){h[c]||u(h,c,m),h[i]||u(h,i,f),d[f]=m;for(a in r)h[a]||n(h,a,r[a],!0)}}},"./node_modules/core-js/modules/web.immediate.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_export.js"),n=s("./node_modules/core-js/modules/_task.js");r(r.G+r.B,{setImmediate:n.set,clearImmediate:n.clear})},"./node_modules/core-js/modules/web.timers.js":function(e,o,s){var r=s("./node_modules/core-js/modules/_global.js"),n=s("./node_modules/core-js/modules/_export.js"),t=s("./node_modules/core-js/modules/_invoke.js"),u=s("./node_modules/core-js/modules/_partial.js"),d=r.navigator,l=!!d&&/MSIE .\./.test(d.userAgent),c=function(e){return l?function(o,s){return e(t(u,[].slice.call(arguments,2),"function"==typeof o?o:Function(o)),s)}:e};n(n.G+n.B+n.F*l,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},"./node_modules/core-js/shim.js":function(e,o,s){s("./node_modules/core-js/modules/es6.symbol.js"),s("./node_modules/core-js/modules/es6.object.create.js"),s("./node_modules/core-js/modules/es6.object.define-property.js"),s("./node_modules/core-js/modules/es6.object.define-properties.js"),s("./node_modules/core-js/modules/es6.object.get-own-property-descriptor.js"),s("./node_modules/core-js/modules/es6.object.get-prototype-of.js"),s("./node_modules/core-js/modules/es6.object.keys.js"),s("./node_modules/core-js/modules/es6.object.get-own-property-names.js"),s("./node_modules/core-js/modules/es6.object.freeze.js"),s("./node_modules/core-js/modules/es6.object.seal.js"),s("./node_modules/core-js/modules/es6.object.prevent-extensions.js"),s("./node_modules/core-js/modules/es6.object.is-frozen.js"),s("./node_modules/core-js/modules/es6.object.is-sealed.js"),s("./node_modules/core-js/modules/es6.object.is-extensible.js"),s("./node_modules/core-js/modules/es6.object.assign.js"),s("./node_modules/core-js/modules/es6.object.is.js"),s("./node_modules/core-js/modules/es6.object.set-prototype-of.js"),s("./node_modules/core-js/modules/es6.object.to-string.js"),s("./node_modules/core-js/modules/es6.function.bind.js"),s("./node_modules/core-js/modules/es6.function.name.js"),s("./node_modules/core-js/modules/es6.function.has-instance.js"),s("./node_modules/core-js/modules/es6.parse-int.js"),s("./node_modules/core-js/modules/es6.parse-float.js"),s("./node_modules/core-js/modules/es6.number.constructor.js"),s("./node_modules/core-js/modules/es6.number.to-fixed.js"),s("./node_modules/core-js/modules/es6.number.to-precision.js"),s("./node_modules/core-js/modules/es6.number.epsilon.js"),s("./node_modules/core-js/modules/es6.number.is-finite.js"),s("./node_modules/core-js/modules/es6.number.is-integer.js"),s("./node_modules/core-js/modules/es6.number.is-nan.js"),s("./node_modules/core-js/modules/es6.number.is-safe-integer.js"),s("./node_modules/core-js/modules/es6.number.max-safe-integer.js"),s("./node_modules/core-js/modules/es6.number.min-safe-integer.js"),s("./node_modules/core-js/modules/es6.number.parse-float.js"),s("./node_modules/core-js/modules/es6.number.parse-int.js"),s("./node_modules/core-js/modules/es6.math.acosh.js"),s("./node_modules/core-js/modules/es6.math.asinh.js"),s("./node_modules/core-js/modules/es6.math.atanh.js"),s("./node_modules/core-js/modules/es6.math.cbrt.js"),s("./node_modules/core-js/modules/es6.math.clz32.js"),s("./node_modules/core-js/modules/es6.math.cosh.js"),s("./node_modules/core-js/modules/es6.math.expm1.js"),s("./node_modules/core-js/modules/es6.math.fround.js"),s("./node_modules/core-js/modules/es6.math.hypot.js"),s("./node_modules/core-js/modules/es6.math.imul.js"),s("./node_modules/core-js/modules/es6.math.log10.js"),s("./node_modules/core-js/modules/es6.math.log1p.js"),s("./node_modules/core-js/modules/es6.math.log2.js"),s("./node_modules/core-js/modules/es6.math.sign.js"),s("./node_modules/core-js/modules/es6.math.sinh.js"),s("./node_modules/core-js/modules/es6.math.tanh.js"),s("./node_modules/core-js/modules/es6.math.trunc.js"),s("./node_modules/core-js/modules/es6.string.from-code-point.js"),s("./node_modules/core-js/modules/es6.string.raw.js"),s("./node_modules/core-js/modules/es6.string.trim.js"),s("./node_modules/core-js/modules/es6.string.iterator.js"),s("./node_modules/core-js/modules/es6.string.code-point-at.js"),s("./node_modules/core-js/modules/es6.string.ends-with.js"),s("./node_modules/core-js/modules/es6.string.includes.js"),s("./node_modules/core-js/modules/es6.string.repeat.js"),s("./node_modules/core-js/modules/es6.string.starts-with.js"),s("./node_modules/core-js/modules/es6.string.anchor.js"),s("./node_modules/core-js/modules/es6.string.big.js"),s("./node_modules/core-js/modules/es6.string.blink.js"),s("./node_modules/core-js/modules/es6.string.bold.js"),s("./node_modules/core-js/modules/es6.string.fixed.js"),s("./node_modules/core-js/modules/es6.string.fontcolor.js"),s("./node_modules/core-js/modules/es6.string.fontsize.js"),s("./node_modules/core-js/modules/es6.string.italics.js"),s("./node_modules/core-js/modules/es6.string.link.js"),s("./node_modules/core-js/modules/es6.string.small.js"),s("./node_modules/core-js/modules/es6.string.strike.js"),s("./node_modules/core-js/modules/es6.string.sub.js"),s("./node_modules/core-js/modules/es6.string.sup.js"),s("./node_modules/core-js/modules/es6.date.now.js"),s("./node_modules/core-js/modules/es6.date.to-json.js"),s("./node_modules/core-js/modules/es6.date.to-iso-string.js"),s("./node_modules/core-js/modules/es6.date.to-string.js"),s("./node_modules/core-js/modules/es6.date.to-primitive.js"),s("./node_modules/core-js/modules/es6.array.is-array.js"),s("./node_modules/core-js/modules/es6.array.from.js"),s("./node_modules/core-js/modules/es6.array.of.js"),s("./node_modules/core-js/modules/es6.array.join.js"),s("./node_modules/core-js/modules/es6.array.slice.js"),s("./node_modules/core-js/modules/es6.array.sort.js"),s("./node_modules/core-js/modules/es6.array.for-each.js"),s("./node_modules/core-js/modules/es6.array.map.js"),s("./node_modules/core-js/modules/es6.array.filter.js"),s("./node_modules/core-js/modules/es6.array.some.js"),s("./node_modules/core-js/modules/es6.array.every.js"),s("./node_modules/core-js/modules/es6.array.reduce.js"),s("./node_modules/core-js/modules/es6.array.reduce-right.js"),s("./node_modules/core-js/modules/es6.array.index-of.js"),s("./node_modules/core-js/modules/es6.array.last-index-of.js"),s("./node_modules/core-js/modules/es6.array.copy-within.js"),s("./node_modules/core-js/modules/es6.array.fill.js"),s("./node_modules/core-js/modules/es6.array.find.js"),s("./node_modules/core-js/modules/es6.array.find-index.js"),s("./node_modules/core-js/modules/es6.array.species.js"),s("./node_modules/core-js/modules/es6.array.iterator.js"),s("./node_modules/core-js/modules/es6.regexp.constructor.js"),s("./node_modules/core-js/modules/es6.regexp.to-string.js"),s("./node_modules/core-js/modules/es6.regexp.flags.js"),s("./node_modules/core-js/modules/es6.regexp.match.js"),s("./node_modules/core-js/modules/es6.regexp.replace.js"),s("./node_modules/core-js/modules/es6.regexp.search.js"),s("./node_modules/core-js/modules/es6.regexp.split.js"),s("./node_modules/core-js/modules/es6.promise.js"),s("./node_modules/core-js/modules/es6.map.js"),s("./node_modules/core-js/modules/es6.set.js"),s("./node_modules/core-js/modules/es6.weak-map.js"),s("./node_modules/core-js/modules/es6.weak-set.js"),s("./node_modules/core-js/modules/es6.typed.array-buffer.js"),s("./node_modules/core-js/modules/es6.typed.data-view.js"),s("./node_modules/core-js/modules/es6.typed.int8-array.js"),s("./node_modules/core-js/modules/es6.typed.uint8-array.js"),s("./node_modules/core-js/modules/es6.typed.uint8-clamped-array.js"),s("./node_modules/core-js/modules/es6.typed.int16-array.js"),s("./node_modules/core-js/modules/es6.typed.uint16-array.js"),s("./node_modules/core-js/modules/es6.typed.int32-array.js"),s("./node_modules/core-js/modules/es6.typed.uint32-array.js"),s("./node_modules/core-js/modules/es6.typed.float32-array.js"),s("./node_modules/core-js/modules/es6.typed.float64-array.js"),s("./node_modules/core-js/modules/es6.reflect.apply.js"),s("./node_modules/core-js/modules/es6.reflect.construct.js"),s("./node_modules/core-js/modules/es6.reflect.define-property.js"),s("./node_modules/core-js/modules/es6.reflect.delete-property.js"),s("./node_modules/core-js/modules/es6.reflect.enumerate.js"),s("./node_modules/core-js/modules/es6.reflect.get.js"),s("./node_modules/core-js/modules/es6.reflect.get-own-property-descriptor.js"),s("./node_modules/core-js/modules/es6.reflect.get-prototype-of.js"),s("./node_modules/core-js/modules/es6.reflect.has.js"),s("./node_modules/core-js/modules/es6.reflect.is-extensible.js"),s("./node_modules/core-js/modules/es6.reflect.own-keys.js"),s("./node_modules/core-js/modules/es6.reflect.prevent-extensions.js"),s("./node_modules/core-js/modules/es6.reflect.set.js"),s("./node_modules/core-js/modules/es6.reflect.set-prototype-of.js"),s("./node_modules/core-js/modules/es7.array.includes.js"),s("./node_modules/core-js/modules/es7.string.at.js"),s("./node_modules/core-js/modules/es7.string.pad-start.js"),s("./node_modules/core-js/modules/es7.string.pad-end.js"),s("./node_modules/core-js/modules/es7.string.trim-left.js"),s("./node_modules/core-js/modules/es7.string.trim-right.js"),s("./node_modules/core-js/modules/es7.string.match-all.js"),s("./node_modules/core-js/modules/es7.symbol.async-iterator.js"),s("./node_modules/core-js/modules/es7.symbol.observable.js"),s("./node_modules/core-js/modules/es7.object.get-own-property-descriptors.js"),s("./node_modules/core-js/modules/es7.object.values.js"),s("./node_modules/core-js/modules/es7.object.entries.js"),s("./node_modules/core-js/modules/es7.object.define-getter.js"),s("./node_modules/core-js/modules/es7.object.define-setter.js"),s("./node_modules/core-js/modules/es7.object.lookup-getter.js"),s("./node_modules/core-js/modules/es7.object.lookup-setter.js"),s("./node_modules/core-js/modules/es7.map.to-json.js"),s("./node_modules/core-js/modules/es7.set.to-json.js"),s("./node_modules/core-js/modules/es7.system.global.js"),s("./node_modules/core-js/modules/es7.error.is-error.js"),s("./node_modules/core-js/modules/es7.math.iaddh.js"),s("./node_modules/core-js/modules/es7.math.isubh.js"),s("./node_modules/core-js/modules/es7.math.imulh.js"),s("./node_modules/core-js/modules/es7.math.umulh.js"),s("./node_modules/core-js/modules/es7.reflect.define-metadata.js"),s("./node_modules/core-js/modules/es7.reflect.delete-metadata.js"),s("./node_modules/core-js/modules/es7.reflect.get-metadata.js"),s("./node_modules/core-js/modules/es7.reflect.get-metadata-keys.js"),s("./node_modules/core-js/modules/es7.reflect.get-own-metadata.js"),s("./node_modules/core-js/modules/es7.reflect.get-own-metadata-keys.js"),s("./node_modules/core-js/modules/es7.reflect.has-metadata.js"),s("./node_modules/core-js/modules/es7.reflect.has-own-metadata.js"),s("./node_modules/core-js/modules/es7.reflect.metadata.js"),s("./node_modules/core-js/modules/es7.asap.js"),s("./node_modules/core-js/modules/es7.observable.js"),s("./node_modules/core-js/modules/web.timers.js"),s("./node_modules/core-js/modules/web.immediate.js"),s("./node_modules/core-js/modules/web.dom.iterable.js"),e.exports=s("./node_modules/core-js/modules/_core.js")},"./node_modules/process/browser.js":function(e,o){function s(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function n(e){if(i===setTimeout)return setTimeout(e,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(o){try{return i.call(null,e,0)}catch(o){return i.call(this,e,0)}}}function t(e){if(m===clearTimeout)return clearTimeout(e);if((m===r||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(e);try{return m(e)}catch(o){try{return m.call(null,e)}catch(o){return m.call(this,e)}}}function u(){f&&_&&(f=!1,_.length?a=_.concat(a):p=-1,a.length&&d())}function d(){if(!f){var e=n(u);f=!0;for(var o=a.length;o;){for(_=a,a=[];++p1)for(var s=1;s=0;--r){var n=this.tryEntries[r],t=n.completion;if("root"===n.tryLoc)return o("end");if(n.tryLoc<=this.prev){var u=g.call(n,"catchLoc"),d=g.call(n,"finallyLoc");if(u&&d){if(this.prev=0;--s){var r=this.tryEntries[s];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev=0;--o){var s=this.tryEntries[o];if(s.finallyLoc===e)return this.complete(s.completion,s.afterLoc),_(s),P}},catch:function(e){for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o];if(s.tryLoc===e){var r=s.completion;if("throw"===r.type){var n=r.arg;_(s)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,o,s){return this.delegate={iterator:f(e),resultName:o,nextLoc:s},"next"===this.method&&(this.arg=h),P}}}("object"==typeof o?o:"object"==typeof window?window:"object"==typeof self?self:this)}).call(o,s("./node_modules/webpack/buildin/global.js"),s("./node_modules/process/browser.js"))},"./node_modules/webpack/buildin/global.js":function(e,o){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(s=window)}e.exports=s},3:function(e,o,s){e.exports=s("./node_modules/babel-polyfill/lib/index.js")}}); \ No newline at end of file diff --git a/webapp/dist/panoptes/index.html b/webapp/dist/panoptes/index.html index 4051b46547..d85da3d68f 100644 --- a/webapp/dist/panoptes/index.html +++ b/webapp/dist/panoptes/index.html @@ -3,7 +3,7 @@ Panoptes - + @@ -250,5 +250,5 @@
Loading Panoptes...
- + diff --git a/webapp/dist/panoptes/panoptes.js b/webapp/dist/panoptes/panoptes.js index ca71153cba..c88c68a691 100644 --- a/webapp/dist/panoptes/panoptes.js +++ b/webapp/dist/panoptes/panoptes.js @@ -1,289 +1 @@ -!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/panoptes/",t(0)}(function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))switch(typeof e[t]){case"function":break;case"object":e[t]=function(t){var n=t.slice(1),r=e[t[0]];return function(e,t,o){r.apply(this,[e,t,o].concat(n))}}(e[t]);break;default:e[t]=e[e[t]]}return e}([function(e,t,n){e.exports=n(298)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){m&&p&&(m=!1,p.length?h=p.concat(h):g=-1,h.length&&s())}function s(){if(!m){var e=o(i);m=!0;for(var t=h.length;t;){for(p=h,h=[];++g1)for(var n=1;n=t||n<0||T&&r>=A}function p(){var e=a();return d(e)?h(e):void(_=setTimeout(p,f(e)))}function h(e){return _=void 0,k&&y?r(e):(y=b=void 0,x)}function m(){void 0!==_&&clearTimeout(_),C=0,y=w=b=_=void 0}function g(){return void 0===_?x:h(a())}function v(){var e=a(),n=d(e);if(y=arguments,b=this,w=e,n){if(void 0===_)return c(w);if(T)return _=setTimeout(p,t),r(w)}return void 0===_&&(_=setTimeout(p,t)),x}var y,b,A,x,_,w,C=0,E=!1,T=!1,k=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,o(n)&&(E=!!n.leading,T="maxWait"in n,A=T?l(i(n.maxWait)||0,t):A,k="trailing"in n?!!n.trailing:k),v.cancel=m,v.flush=g,v}var o=n(300),a=n(301),i=n(304),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){var r=n(302),o=function(){return r.Date.now()};e.exports=o},function(e,t,n){var r=n(303),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e){if("number"==typeof e)return e;if(a(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):l.test(e)?i:+e}var o=n(300),a=n(305),i=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){function r(e){return"symbol"==typeof e||a(e)&&o(e)==i}var o=n(306),a=n(310),i="[object Symbol]";e.exports=r},function(e,t,n){function r(e){return null==e?void 0===e?l:s:u&&u in Object(e)?a(e):i(e)}var o=n(307),a=n(308),i=n(309),s="[object Null]",l="[object Undefined]",u=o?o.toStringTag:void 0;e.exports=r},function(e,t,n){var r=n(302),o=r.Symbol;e.exports=o},function(e,t,n){function r(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=n(307),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,l=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};d.canUseDOM?void 0:(0,s.default)(!1);var t=window.history,n=(0,p.supportsHistory)(),r=!(0,p.supportsPopStateOnHashChange)(),a=e.basename,i=void 0===a?"":a,c=e.forceRefresh,v=void 0!==c&&c,y=e.getUserConfirmation,b=void 0===y?p.getConfirmation:y,A=e.keyLength,x=void 0===A?6:A,_=function(e){var t=e||{},n=t.key,r=t.state,a=window.location,s=a.pathname,l=a.search,c=a.hash,f=s+l+c;return i&&(f=(0,u.stripPrefix)(f,i)),o({},(0,u.parsePath)(f),{state:r,key:n})},w=function(){return Math.random().toString(36).substr(2,x)},C=(0,f.default)(),E=function(e){o(q,e),q.length=t.length,C.notifyListeners(q.location,q.action)},T=function(e){(0,p.isExtraneousPopstateEvent)(e)||M(_(e.state))},k=function(){M(_(g()))},P=!1,M=function(e){P?(P=!1,E()):!function(){var t="POP";C.confirmTransitionTo(e,t,b,function(n){n?E({action:t,location:e}):S(e)})}()},S=function(e){var t=q.location,n=O.indexOf(t.key);n===-1&&(n=0);var r=O.indexOf(e.key);r===-1&&(r=0);var o=n-r;o&&(P=!0,B(o))},D=_(g()),O=[D.key],I=function(e){return i+(0,u.createPath)(e)},L=function(e,r){var o="PUSH",a=(0,l.createLocation)(e,r,w(),q.location);C.confirmTransitionTo(a,o,b,function(e){if(e){var r=I(a),i=a.key,s=a.state;if(n)if(t.pushState({key:i,state:s},null,r),v)window.location.href=r;else{var l=O.indexOf(q.location.key),u=O.slice(0,l===-1?0:l+1);u.push(a.key),O=u,E({action:o,location:a})}else window.location.href=r}})},N=function(e,r){var o="REPLACE",a=(0,l.createLocation)(e,r,w(),q.location);C.confirmTransitionTo(a,o,b,function(e){if(e){var r=I(a),i=a.key,s=a.state;if(n)if(t.replaceState({key:i,state:s},null,r),v)window.location.replace(r);else{var l=O.indexOf(q.location.key);l!==-1&&(O[l]=a.key),E({action:o,location:a})}else window.location.replace(r)}})},B=function(e){t.go(e)},F=function(){return B(-1)},R=function(){return B(1)},j=0,z=function(e){j+=e,1===j?((0,p.addEventListener)(window,h,T),r&&(0,p.addEventListener)(window,m,k)):0===j&&((0,p.removeEventListener)(window,h,T),r&&(0,p.removeEventListener)(window,m,k))},H=!1,U=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.setPrompt(e);return H||(z(1),H=!0),function(){return H&&(H=!1,z(-1)),t()}},W=function(e){var t=C.appendListener(e);return z(1),function(){return z(-1),t()}},q={length:t.length,action:"POP",location:D,createHref:I,push:L,replace:N,go:B,goBack:F,goForward:R,block:U,listen:W};return q};t.default=v},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var o=Object.assign||function(e){for(var t=1;t=0;d--){var p=a[d];"."===p?r(a,d):".."===p?(r(a,d),f++):f&&(r(a,d),f--)}if(!l)for(;f--;f)a.unshift("..");!l||""===a[0]||a[0]&&n(a[0])||a.unshift("");var h=a.join("/");return u&&"/"!==h.substr(-1)&&(h+="/"),h};e.exports=o},function(e,t){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if(Array.isArray(t))return!(!Array.isArray(r)||t.length!==r.length)&&t.every(function(t,n){return e(t,r[n])});var o="undefined"==typeof t?"undefined":n(t),a="undefined"==typeof r?"undefined":n(r);if(o!==a)return!1;if("object"===o){var i=t.valueOf(),s=r.valueOf();if(i!==t||s!==r)return e(i,s);var l=Object.keys(t),u=Object.keys(r);return l.length===u.length&&l.every(function(n){return e(t[n],r[n])})}return!1};t.default=r},function(e,t){"use strict";t.__esModule=!0;t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e},t.stripPrefix=function(e,t){return 0===e.indexOf(t)?e.substr(t.length):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return a!==-1&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(312),a=(r(o),function(){var e=null,t=function(t){return e=t,function(){e===t&&(e=null)}},n=function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(a!==!1)}else o(!0)},r=[],o=function(e){var t=!0,n=function(){t&&e.apply(void 0,arguments)};return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}},a=function(){for(var e=arguments.length,t=Array(e),n=0;n1){for(var g=Array(m),v=0;v1){for(var b=Array(y),A=0;A>"),k={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:h(),objectOf:d,oneOf:f,oneOfType:p,shape:m};o.prototype=Error.prototype,e.exports=k},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){"use strict";e.exports="15.4.2"},function(e,t,n){"use strict";function r(e){return a.isValidElement(e)?void 0:o("143"),e}var o=n(326),a=n(328);n(327);e.exports=r},function(e,t,n){"use strict";e.exports=n(349)},function(e,t,n){"use strict";var r=n(350),o=n(354),a=n(477),i=n(376),s=n(373),l=n(482),u=n(483),c=n(484),f=n(485);n(330);o.inject();var d={findDOMNode:u,render:a.render,unmountComponentAtNode:a.unmountComponentAtNode,version:l,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:f};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:a,Reconciler:i});e.exports=d},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function a(e,t){var n=o(e);n._hostNode=t,t[g]=n}function i(e){var t=e._hostNode;t&&(delete t[g],e._hostNode=null)}function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedChildren,i=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var l=n[s],u=o(l)._domID;if(0!==u){for(;null!==i;i=i.nextSibling)if(r(i,u)){a(l,i);continue e}f("32",u)}}e._flags|=m.hasCachedChildNodes}}function l(e){if(e[g])return e[g];for(var t=[];!e[g];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[g]);e=t.pop())n=r,t.length&&s(r,e);return n}function u(e){var t=l(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?f("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:f("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var f=n(351),d=n(352),p=n(353),h=(n(327),d.ID_ATTRIBUTE_NAME),m=p,g="__reactInternalInstance$"+Math.random().toString(36).slice(2),v={getClosestInstanceFromNode:l,getInstanceFromNode:u,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:a,uncacheNode:i};e.exports=v},326,function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(351),a=(n(327),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var f in n){s.properties.hasOwnProperty(f)?o("48",f):void 0;var d=f.toLowerCase(),p=n[f],h={attributeName:d,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",f),l.hasOwnProperty(f)){var m=l[f];h.attributeName=m}i.hasOwnProperty(f)&&(h.attributeNamespace=i[f]),u.hasOwnProperty(f)&&(h.propertyName=u[f]),c.hasOwnProperty(f)&&(h.mutationMethod=c[f]),s.properties[f]=h}}}),i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:i,ATTRIBUTE_NAME_CHAR:i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t8&&x<=11),C=32,E=String.fromCharCode(C),T={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},k=!1,P=null,M={eventTypes:T,extractEvents:function(e,t,n,r){return[u(e,t,n,r),d(e,t,n,r)]}};e.exports=M},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return v(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function i(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=v(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}}function l(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function u(e){g(e,a)}function c(e){g(e,i)}function f(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function d(e){g(e,l)}var p=n(358),h=n(360),m=n(362),g=n(363),v=(n(330),p.getListener),y={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:f};e.exports=y},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var a=n(351),i=n(359),s=n(360),l=n(361),u=n(362),c=n(363),f=(n(327),{}),d=null,p=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return p(e,!0)},m=function(e){return p(e,!1)},g=function(e){return"."+e._rootNodeID},v={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?a("94",t,typeof n):void 0;var r=g(e),o=f[t]||(f[t]={});o[r]=n;var s=i.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=f[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=g(e);return n&&n[r]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=f[t];if(r){var o=g(e);delete r[o]}},deleteAllListeners:function(e){var t=g(e);for(var n in f)if(f.hasOwnProperty(n)&&f[n][t]){var r=i.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete f[n][t]}},extractEvents:function(e,t,n,r){for(var o,a=i.plugins,s=0;s-1?void 0:i("96",e),!u.plugins[n]){t.extractEvents?void 0:i("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var a in r)o(r[a],t,a)?void 0:i("98",a,e)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)?i("99",n):void 0,u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,t,n)}return!0}return!!e.registrationName&&(a(e.registrationName,t,n),!0)}function a(e,t,n){u.registrationNameModules[e]?i("100",e):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=n(351),s=(n(327),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?i("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]?i("102",n):void 0,l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=u.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function a(e){return"topMouseDown"===e||"topTouchStart"===e}function i(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=v.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),a.addPoolingTo(r),e.exports=r},323,[1882,351],function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(364),a=null;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(370),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return l?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse,this}var o=n(366),a=n(367),i=n(331),s=(n(330),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),l={type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n8));var I=!1;A.canUseDOM&&(I=E("input")&&(!document.documentMode||document.documentMode>11));var L={get:function(){return D.get.call(this)},set:function(e){S=""+e,D.set.call(this,e)}},N={eventTypes:k,extractEvents:function(e,t,n,o){var a,i,s=t?x.getNodeFromInstance(t):window;if(r(s)?O?a=l:i=u:T(s)?I?a=p:(a=m,i=h):g(s)&&(a=v),a){var c=a(e,t);if(c){var f=w.getPooled(k.change,c,n,o);return f.type="change",b.accumulateTwoPhaseDispatches(f),f}}i&&i(e,s,t)}};e.exports=N},function(e,t,n){"use strict";function r(){k.ReactReconcileTransaction&&x?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=k.ReactReconcileTransaction.getPooled(!0)}function a(e,t,n,o,a,i){return r(),x.batchedUpdates(e,t,n,o,a,i)}function i(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==v.length?c("124",t,v.length):void 0,v.sort(i),y++;for(var n=0;n]/,l=n(396),u=l(function(e,t){if(e.namespaceURI!==a.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t,n){"use strict";var r=n(364),o=n(398),a=n(395),i=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void a(e,o(t))})),e.exports=i},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,a="",i=0,s=0;for(i=n.index;i]/;e.exports=r},function(e,t,n){"use strict";var r=n(351),o=n(393),a=n(364),i=n(400),s=n(331),l=(n(327),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(a.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=i(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=l},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=u;u?void 0:l(!1);var o=r(e),a=o&&s(o);if(a){n.innerHTML=a[1]+e+a[2];for(var c=a[0];c--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t?void 0:l(!1),i(f).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var a=n(364),i=n(401),s=n(402),l=n(327),u=a.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?i(!1):void 0,"number"!=typeof t?i(!1):void 0,0===t||t-1 in e?void 0:i(!1),"function"==typeof e.callee?i(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r":i.innerHTML="<"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var o=n(364),a=n(327),i=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,"","
"],c=[3,"","
"],f=[1,'',""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){d[e]=f,s[e]=!0}),e.exports=r},function(e,t,n){"use strict";var r=n(392),o=n(350),a={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=a},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(K[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&U in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function a(e,t,n,r){if(!(r instanceof I)){var o=e._hostContainerInfo,a=o._node&&o._node.nodeType===q,s=a?o._node:o._ownerDocument;R(t,s),r.getReactMountReady().enqueue(i,{inst:e,registrationName:t,listener:n})}}function i(){var e=this;w.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;P.postMountWrapper(e)}function l(){var e=this;D.postMountWrapper(e)}function u(){var e=this;M.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=F(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[E.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in V)V.hasOwnProperty(n)&&e._wrapperState.listeners.push(E.trapBubbledEvent(n,V[n],t));break;case"source":e._wrapperState.listeners=[E.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[E.trapBubbledEvent("topError","error",t),E.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[E.trapBubbledEvent("topReset","reset",t),E.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[E.trapBubbledEvent("topInvalid","invalid",t)]}}function f(){S.postUpdateWrapper(this)}function d(e){Z.call(X,e)||(Q.test(e)?void 0:m("65",e),X[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;d(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(351),g=n(366),v=n(405),y=n(407),b=n(393),A=n(394),x=n(352),_=n(415),w=n(358),C=n(359),E=n(417),T=n(353),k=n(350),P=n(420),M=n(423),S=n(424),D=n(425),O=(n(379),n(426)),I=n(444),L=(n(331),n(398)),N=(n(327),n(382),n(433),n(447),n(330),T),B=w.deleteListener,F=k.getNodeFromInstance,R=E.listenTo,j=C.registrationNameModules,z={string:!0,number:!0},H="style",U="__html",W={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,V={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Y={listing:!0,pre:!0,textarea:!0},K=g({menuitem:!0},G),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Z={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var a=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":P.mountWrapper(this,a,t),a=P.getHostProps(this,a),e.getReactMountReady().enqueue(c,this);break;case"option":M.mountWrapper(this,a,t),a=M.getHostProps(this,a);break;case"select":S.mountWrapper(this,a,t),a=S.getHostProps(this,a),e.getReactMountReady().enqueue(c,this);break;case"textarea":D.mountWrapper(this,a,t),a=D.getHostProps(this,a),e.getReactMountReady().enqueue(c,this)}o(this,a);var i,f;null!=t?(i=t._namespaceURI,f=t._tag):n._tag&&(i=n._namespaceURI,f=n._tag),(null==i||i===A.svg&&"foreignobject"===f)&&(i=A.html),i===A.html&&("svg"===this._tag?i=A.svg:"math"===this._tag&&(i=A.mathml)),this._namespaceURI=i;var d;if(e.useCreateElement){var p,h=n._ownerDocument;if(i===A.html)if("script"===this._tag){var m=h.createElement("div"),g=this._currentElement.type;m.innerHTML="<"+g+">",p=m.removeChild(m.firstChild)}else p=a.is?h.createElement(this._currentElement.type,a.is):h.createElement(this._currentElement.type);else p=h.createElementNS(i,this._currentElement.type);k.precacheNode(this,p),this._flags|=N.hasCachedChildNodes,this._hostParent||_.setAttributeForRoot(p),this._updateDOMProperties(null,a,e);var y=b(p);this._createInitialChildren(e,a,r,y),d=y}else{var x=this._createOpenTagMarkupAndPutListeners(e,a),w=this._createContentMarkup(e,a,r);d=!w&&G[this._tag]?x+"/>":x+">"+w+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),a.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),a.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"select":a.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"button":a.autoFocus&&e.getReactMountReady().enqueue(v.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return d},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(j.hasOwnProperty(r))o&&a(this,r,o,e);else{r===H&&(o&&(o=this._previousStyleCopy=g({},t.style)),o=y.createMarkupForStyles(o,this));var i=null;null!=this._tag&&p(this._tag,t)?W.hasOwnProperty(r)||(i=_.createMarkupForCustomAttribute(r,o)):i=_.createMarkupForProperty(r,o),i&&(n+=" "+i)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+_.createMarkupForRoot()),n+=" "+_.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=z[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=L(a);else if(null!=i){var s=this.mountChildren(i,e,n);r=s.join("")}}return Y[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var a=z[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)""!==a&&b.queueText(r,a);else if(null!=i)for(var s=this.mountChildren(i,e,n),l=0;l0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function a(e,t){var n=s.get(e);if(!n){return null}return n}var i=n(351),s=(n(329),n(428)),l=(n(379),n(373)),u=(n(327),n(330),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var o=a(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=a(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=a(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=a(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?i("122",t,o(e)):void 0}});e.exports=u},function(e,t,n){"use strict";var r=(n(366),n(331)),o=(n(330),r);e.exports=o},function(e,t,n){"use strict";var r=n(366),o=n(393),a=n(350),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var l=n._ownerDocument,u=l.createComment(s);return a.precacheNode(this,u),o(u)}return e.renderToStaticMarkup?"":""},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),e.exports=i},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:l("33"),"_hostNode"in t?void 0:l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,a=t;a;a=a._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var i=n;i--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:l("35"),"_hostNode"in t?void 0:l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function a(e){return"_hostNode"in e?void 0:l("36"),e._hostParent}function i(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(l[u],"captured",a)}var l=n(351);n(327);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:a,traverseTwoPhase:i,traverseEnterLeave:s}},function(e,t,n){"use strict";var r=n(351),o=n(366),a=n(392),i=n(393),s=n(350),l=n(398),u=(n(327),n(447),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,a=" react-text: "+o+" ",u=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,f=c.createComment(a),d=c.createComment(u),p=i(c.createDocumentFragment());return i.queueChild(p,i(f)),this._stringText&&i.queueChild(p,i(c.createTextNode(this._stringText))),i.queueChild(p,i(d)),s.precacheNode(this,f),this._closingComment=d,p}var h=l(this._stringText);return e.renderToStaticMarkup?h:""+h+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();a.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},function(e,t,n){"use strict"; -function r(){this.reinitializeTransaction()}var o=n(366),a=n(373),i=n(380),s=n(331),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:a.flushBatchedUpdates.bind(a)},c=[u,l];o(r.prototype,i,{getTransactionWrappers:function(){return c}});var f=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=d.isBatchingUpdates;return d.isBatchingUpdates=!0,i?e(t,n,r,o,a):f.perform(e,null,t,n,r,o,a)}};e.exports=d},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){var t=p(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var a=0;at.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var f=document.createRange();f.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(f),n.extend(l.node,l.offset)):(f.setEnd(l.node,l.offset),n.addRange(f))}}}var l=n(364),u=n(459),c=n(368),f=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:f?o:a,setOffsets:f?i:s};e.exports=d},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),a=0,i=0;o;){if(3===o.nodeType){if(i=a+o.textContent.length,a<=t&&i>=t)return{node:o,offset:t-a};a=i}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(461);e.exports=r},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(462);e.exports=r},function(e,t){"use strict";function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==m||m!==c())return null;var n=r(m);if(!v||!d(v,n)){v=n;var o=u.getPooled(h.select,g,e,t);return o.type="select",o.target=m,a.accumulateTwoPhaseDispatches(o),o}return null}var a=n(357),i=n(364),s=n(350),l=n(457),u=n(370),c=n(463),f=n(383),d=n(433),p=i.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,g=null,v=null,y=!1,b=!1,A={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var a=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(a)||"true"===a.contentEditable)&&(m=a,g=t,v=null);break;case"topBlur":m=null,g=null,v=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=A},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var a=n(351),i=n(453),s=n(357),l=n(350),u=n(467),c=n(468),f=n(370),d=n(469),p=n(470),h=n(386),m=n(473),g=n(474),v=n(475),y=n(387),b=n(476),A=n(331),x=n(471),_=(n(327),{}),w={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};_[e]=o,w[r]=o});var C={},E={eventTypes:_,extractEvents:function(e,t,n,r){var o=w[e];if(!o)return null;var i;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":i=f;break;case"topKeyPress":if(0===x(n))return null;case"topKeyDown":case"topKeyUp":i=p;break;case"topBlur":case"topFocus":i=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":i=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":i=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":i=g;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":i=u;break;case"topTransitionEnd":i=v;break;case"topScroll":i=y;break;case"topWheel":i=b;break;case"topCopy":case"topCut":case"topPaste":i=c}i?void 0:a("86",e);var l=i.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(l),l},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var a=r(e),s=l.getNodeFromInstance(e);C[a]||(C[a]=i.listen(s,"click",A))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=E},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(370),a={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(370),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(387),a={relatedTarget:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(387),a=n(471),i=n(472),s=n(389),l={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,l),e.exports=r},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t,n){"use strict";function r(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var o=n(471),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(386),a={dataTransfer:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(387),a=n(389),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(370),a={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(386),a={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var i,s=g.createElement(R,{child:t});if(e){var l=_.get(e);i=l._processChildContext(l._context)}else i=k;var c=d(n);if(c){var f=c._currentElement,h=f.props.child;if(S(h,t)){var m=c._renderedComponent.getPublicInstance(),v=r&&function(){r.call(m)};return j._updateRootComponent(c,s,i,n,v),m}j.unmountComponentAtNode(n)}var y=o(n),b=y&&!!a(y),A=u(n),x=b&&!c&&!A,w=j._renderNewRootComponent(s,n,x,i)._renderedComponent.getPublicInstance();return r&&r.call(w),w},render:function(e,t,n){return j._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:p("40");var t=d(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(O);return!1}return delete B[t._instance.rootID],T.batchedUpdates(l,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,a,i){if(c(t)?void 0:p("41"),a){var s=o(t);if(w.canReuseMarkup(e,s))return void y.precacheNode(n,s);var l=s.getAttribute(w.CHECKSUM_ATTR_NAME);s.removeAttribute(w.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(w.CHECKSUM_ATTR_NAME,l);var f=e,d=r(f,u),m=" (client) "+f.substring(d-20,d+20)+"\n (server) "+u.substring(d-20,d+20);t.nodeType===L?p("42",m):void 0}if(t.nodeType===L?p("43"):void 0,i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else M(t,e),y.precacheNode(n,t.firstChild)}};e.exports=j},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(447),9);e.exports=r},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(481),o=/\/?>/,a=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return a.test(e)?e:e.replace(o," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=i},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,a=e.length,i=a&-4;o-1)throw new Error("A store cannot wait on itself");var o=this.currentDispatch[r];if(o.waitingOn.length)throw new Error(r+" already waiting on stores");u(t,function(e){var t=this.currentDispatch[e];if(!this.stores[e])throw new Error("Cannot wait for non-existent store "+e);if(t.waitingOn.indexOf(r)>-1)throw new Error("Circular wait detected between "+r+" and "+e)},this),o.resolved=!1,o.waitingOn=d(o.waitingOn.concat(t)),o.waitCallback=n},h.prototype.setDispatchInterceptor=function(e){e?this.dispatchInterceptor=e:this.dispatchInterceptor=p},e.exports=h},function(e,t,n){function r(e,t,n,r){return t&&"boolean"!=typeof t&&i(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?o(e,t,a(n,r,3)):o(e,t)}var o=n(489),a=n(517),i=n(519);e.exports=r},function(e,t,n){function r(e,t,n,h,m,g,v){var b;if(n&&(b=m?n(e,h,m):n(e)),void 0!==b)return b;if(!d(e))return e;var A=f(e);if(A){if(b=l(e),!t)return o(e,b)}else{var _=R.call(e),w=_==y;if(_!=x&&_!=p&&(!w||m))return B[_]?u(e,_,t):m?e:{};if(b=c(w?{}:e),!t)return i(b,e)}g||(g=[]),v||(v=[]);for(var C=g.length;C--;)if(g[C]==e)return v[C];return g.push(e),v.push(b),(A?a:s)(e,function(o,a){b[a]=r(o,t,n,a,e,g,v)}),b}var o=n(490),a=n(491),i=n(492),s=n(509),l=n(513),u=n(514),c=n(516),f=n(506),d=n(498),p="[object Arguments]",h="[object Array]",m="[object Boolean]",g="[object Date]",v="[object Error]",y="[object Function]",b="[object Map]",A="[object Number]",x="[object Object]",_="[object RegExp]",w="[object Set]",C="[object String]",E="[object WeakMap]",T="[object ArrayBuffer]",k="[object Float32Array]",P="[object Float64Array]",M="[object Int8Array]",S="[object Int16Array]",D="[object Int32Array]",O="[object Uint8Array]",I="[object Uint8ClampedArray]",L="[object Uint16Array]",N="[object Uint32Array]",B={};B[p]=B[h]=B[T]=B[m]=B[g]=B[k]=B[P]=B[M]=B[S]=B[D]=B[A]=B[x]=B[_]=B[C]=B[O]=B[I]=B[L]=B[N]=!0,B[v]=B[y]=B[b]=B[w]=B[E]=!1;var F=Object.prototype,R=F.toString;e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){for(var t=l(e),n=t.length,r=n&&e.length,u=!!r&&s(r)&&(a(e)||o(e)),f=-1,d=[];++f-1&&e%1==0&&e0;++ru))return!1;for(;++lo?0:o+t),n=void 0===n||n>o?o:+n||0,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r=120?a(n&&f):null}var d=e[0],p=-1,h=d?d.length:0,m=s[0];e:for(;++p=s,f=c?i():null,d=[];f?(r=a,u=!1):(c=!1,f=t?[]:d);e:for(;++n1&&e.length%2!==0)throw new Error("bindActions must take an even number of arguments.");var t=function(e,t){if(!t)throw new Error("The handler for action type "+e+" is falsy");this.__actions__[e]=t}.bind(this);if(1===e.length&&s(e[0])){e=e[0];for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}else for(var r=0;r>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function g(){return!0}function v(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function y(e,t){return A(e,t,0)}function b(e,t){return A(e,t,t)}function A(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function x(e){this.next=e}function _(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function w(){return{value:void 0,done:!0}}function C(e){return!!k(e)}function E(e){return e&&"function"==typeof e.next}function T(e){var t=k(e);return t&&t.call(e)}function k(e){var t=e&&(wn&&e[wn]||e[Cn]);if("function"==typeof t)return t}function P(e){return e&&"number"==typeof e.length}function M(e){return null===e||void 0===e?R():a(e)?e.toSeq():H(e)}function S(e){return null===e||void 0===e?R().toKeyedSeq():a(e)?i(e)?e.toSeq():e.fromEntrySeq():j(e)}function D(e){return null===e||void 0===e?R():a(e)?i(e)?e.entrySeq():e.toIndexedSeq():z(e)}function O(e){return(null===e||void 0===e?R():a(e)?i(e)?e.entrySeq():e:z(e)).toSetSeq()}function I(e){this._array=e,this.size=e.length}function L(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function N(e){this._iterable=e,this.size=e.length||e.size}function B(e){this._iterator=e,this._iteratorCache=[]}function F(e){return!(!e||!e[Tn])}function R(){return kn||(kn=new I([]))}function j(e){var t=Array.isArray(e)?new I(e).fromEntrySeq():E(e)?new B(e).fromEntrySeq():C(e)?new N(e).fromEntrySeq():"object"==typeof e?new L(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function z(e){var t=U(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function H(e){var t=U(e)||"object"==typeof e&&new L(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function U(e){return P(e)?new I(e):E(e)?new B(e):C(e)?new N(e):void 0}function W(e,t,n,r){var o=e._cache;if(o){for(var a=o.length-1,i=0;i<=a;i++){var s=o[n?a-i:i];if(t(s[1],r?s[0]:i,e)===!1)return i+1}return i}return e.__iterateUncached(t,n)}function q(e,t,n,r){var o=e._cache;if(o){var a=o.length-1,i=0;return new x(function(){var e=o[n?a-i:i];return i++>a?w():_(t,r?e[0]:i-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?G(t,e,"",{"":e}):Y(e)}function G(e,t,n,r){return Array.isArray(t)?e.call(r,n,D(t).map(function(n,r){return G(e,n,r,t)})):K(t)?e.call(r,n,S(t).map(function(n,r){return G(e,n,r,t)})):t}function Y(e){return Array.isArray(e)?D(e).map(Y).toList():K(e)?S(e).map(Y).toMap():e}function K(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Q(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function X(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||i(e)!==i(t)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&Q(o[1],e)&&(n||Q(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var c=e;e=t,t=c}var f=!0,d=t.__iterate(function(t,r){if(n?!e.has(t):o?!Q(t,e.get(r,vn)):!Q(e.get(r,vn),t))return f=!1,!1});return f&&e.size===d}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Pn)return Pn;Pn=this}}function J(e,t){if(!e)throw new Error(t)}function $(e,t,n){if(!(this instanceof $))return new $(e,t,n);if(J(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function ae(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(e=e.valueOf(),e===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Fn?ie(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ie(e){var t=zn[e];return void 0===t&&(t=se(e),jn===Rn&&(jn=0,zn={}),jn++,zn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ce(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function fe(e){return null===e||void 0===e?_e():de(e)&&!u(e)?e:_e().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function de(e){return!(!e||!e[Hn])}function pe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ve(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ye(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ae(e._root)}function be(e,t){return _(e,t[0],t[1])}function Ae(e,t){return{node:e,index:0,__prev:t}}function xe(e,t,n,r){var o=Object.create(Un);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function _e(){return Wn||(Wn=xe(0))}function we(e,t,n){var r,o;if(e._root){var a=c(yn),i=c(bn);if(r=Ce(e._root,e.__ownerID,0,void 0,t,n,a,i), -!i.value)return e;o=e.size+(a.value?n===vn?-1:1:0)}else{if(n===vn)return e;o=1,r=new pe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?xe(o,r):_e()}function Ce(e,t,n,r,o,a,i,s){return e?e.update(t,n,r,o,a,i,s):a===vn?e:(f(s),f(i),new ve(t,r,[o,a]))}function Ee(e){return e.constructor===ve||e.constructor===ge}function Te(e,t,n,r,o){if(e.keyHash===r)return new ge(t,r,[e.entry,o]);var a,i=(0===n?e.keyHash:e.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn,l=i===s?[Te(e,t,n+hn,r,o)]:(a=new ve(t,r,o),i>>=1)i[s]=1&n?t[a++]:void 0;return i[r]=o,new me(e,a+1,i)}function Se(e,t,r){for(var o=[],i=0;i>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,e+=e>>16,127&e}function Be(e,t,n,r){var o=r?e:p(e);return o[t]=n,o}function Fe(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var a=new Array(o),i=0,s=0;s0&&oa?0:a-n,u=i-n;return u>mn&&(u=mn),function(){if(o===u)return Xn;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var s,l=e&&e.array,u=o>a?0:a-o>>r,c=(i-o>>r)+1;return c>mn&&(c=mn),function(){for(;;){if(s){var e=s();if(e!==Xn)return e;s=null}if(u===c)return Xn;var a=t?--c:u++;s=n(l&&l[a],r-hn,o+(a<=e.size||t<0)return e.withMutations(function(e){t<0?Qe(e,t).set(0,n):Qe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,a=c(bn);return t>=Ze(e._capacity)?r=Ge(r,e.__ownerID,0,t,n,a):o=Ge(o,e.__ownerID,e._level,t,n,a),a.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):We(e._origin,e._capacity,e._level,o,r):e}function Ge(e,t,n,r,o,a){var i=r>>>n&gn,s=e&&i0){var u=e&&e.array[i],c=Ge(u,t,n-hn,r,o,a);return c===u?e:(l=Ye(e,t),l.array[i]=c,l)}return s&&e.array[i]===o?e:(f(a),l=Ye(e,t),void 0===o&&i===l.array.length-1?l.array.pop():l.array[i]=o,l)}function Ye(e,t){return t&&e&&t===e.ownerID?e:new He(e?e.array.slice():[],t)}function Ke(e,t){if(t>=Ze(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&gn],r-=hn;return n}}function Qe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new d,o=e._origin,a=e._capacity,i=o+t,s=void 0===n?a:n<0?a+n:o+n;if(i===o&&s===a)return e;if(i>=s)return e.clear();for(var l=e._level,u=e._root,c=0;i+c<0;)u=new He(u&&u.array.length?[void 0,u]:[],r),l+=hn,c+=1<=1<f?new He([],r):h;if(h&&p>f&&ihn;v-=hn){var y=f>>>v&gn;g=g.array[y]=Ye(g.array[y],r)}g.array[f>>>hn&gn]=h}if(s=p)i-=p,s-=p,l=hn,u=null,m=m&&m.removeBefore(r,0,i);else if(i>o||p>>l&gn;if(b!==p>>>l&gn)break;b&&(c+=(1<o&&(u=u.removeBefore(r,l,i-c)),u&&pi&&(i=u.size),a(l)||(u=u.map(function(e){return V(e)})),o.push(u)}return i>e.size&&(e=e.setSize(i)),Ie(e,t,o)}function Ze(e){return e>>hn<=mn&&i.size>=2*a.size?(o=i.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=a.remove(t),o=s===i.size-1?i.pop():i.set(s,void 0))}else if(l){if(n===i.get(s)[1])return e;r=a,o=i.set(s,[t,n])}else r=a.set(t,i.size),o=i.set(i.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function st(e){var t=Pt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Mt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===_n){var r=e.__iterator(t,n);return new x(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===xn?An:xn,n)},t}function lt(e,t,n){var r=Pt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var a=e.get(r,vn);return a===vn?o:t.call(n,a,r,e)},r.__iterateUncached=function(r,o){var a=this;return e.__iterate(function(e,o,i){return r(t.call(n,e,o,i),o,a)!==!1},o)},r.__iteratorUncached=function(r,o){var a=e.__iterator(_n,o);return new x(function(){var o=a.next();if(o.done)return o;var i=o.value,s=i[0];return _(r,s,t.call(n,i[1],s,e),o)})},r}function ut(e,t){var n=Pt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Mt,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function ct(e,t,n,r){var o=Pt(e);return r&&(o.has=function(r){var o=e.get(r,vn);return o!==vn&&!!t.call(n,o,r,e)},o.get=function(r,o){var a=e.get(r,vn);return a!==vn&&t.call(n,a,r,e)?a:o}),o.__iterateUncached=function(o,a){var i=this,s=0;return e.__iterate(function(e,a,l){if(t.call(n,e,a,l))return s++,o(e,r?a:s-1,i)},a),s},o.__iteratorUncached=function(o,a){var i=e.__iterator(_n,a),s=0;return new x(function(){for(;;){var a=i.next();if(a.done)return a;var l=a.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return _(o,r?u:s++,c,a)}})},o}function ft(e,t,n){var r=fe().asMutable();return e.__iterate(function(o,a){r.update(t.call(n,o,a,e),0,function(e){return e+1})}),r.asImmutable()}function dt(e,t,n){var r=i(e),o=(u(e)?Je():fe()).asMutable();e.__iterate(function(a,i){o.update(t.call(n,a,i,e),function(e){return e=e||[],e.push(r?[i,a]:a),e})});var a=kt(e);return o.map(function(t){return Ct(e,a(t))})}function pt(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),v(t,n,o))return e;var a=y(t,o),i=b(n,o);if(a!==a||i!==i)return pt(e.toSeq().cacheResult(),t,n,r);var s,l=i-a;l===l&&(s=l<0?0:l);var u=Pt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&F(e)&&s>=0&&(u.get=function(t,n){return t=m(this,t),t>=0&&ts)return w();var e=o.next();return r||t===xn?e:t===An?_(t,l-1,void 0,e):_(t,l-1,e.value[1],e)})},u}function ht(e,t,n){var r=Pt(e);return r.__iterateUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterate(r,o);var i=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++i&&r(e,o,a)}),i},r.__iteratorUncached=function(r,o){var a=this;if(o)return this.cacheResult().__iterator(r,o);var i=e.__iterator(_n,o),s=!0;return new x(function(){if(!s)return w();var e=i.next();if(e.done)return e;var o=e.value,l=o[0],u=o[1];return t.call(n,u,l,a)?r===_n?e:_(r,l,u,e):(s=!1,w())})},r}function mt(e,t,n,r){var o=Pt(e);return o.__iterateUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterate(o,a);var s=!0,l=0;return e.__iterate(function(e,a,u){if(!s||!(s=t.call(n,e,a,u)))return l++,o(e,r?a:l-1,i)}),l},o.__iteratorUncached=function(o,a){var i=this;if(a)return this.cacheResult().__iterator(o,a);var s=e.__iterator(_n,a),l=!0,u=0;return new x(function(){var e,a,c;do{if(e=s.next(),e.done)return r||o===xn?e:o===An?_(o,u++,void 0,e):_(o,u++,e.value[1],e);var f=e.value;a=f[0],c=f[1],l&&(l=t.call(n,c,a,i))}while(l);return o===_n?e:_(o,a,c,e)})},o}function gt(e,t){var r=i(e),o=[e].concat(t).map(function(e){return a(e)?r&&(e=n(e)):e=r?j(e):z(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var l=o[0];if(l===e||r&&i(l)||s(e)&&s(l))return l}var u=new I(o);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function vt(e,t,n){var r=Pt(e);return r.__iterateUncached=function(r,o){function i(e,u){var c=this;e.__iterate(function(e,o){return(!t||u0}function wt(e,n,r){var o=Pt(e);return o.size=new I(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(xn,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(e,o){var a=r.map(function(e){return e=t(e),T(o?e.reverse():e)}),i=0,s=!1;return new x(function(){var t;return s||(t=a.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?w():_(e,i++,n.apply(null,t.map(function(e){return e.value})))})},o}function Ct(e,t){return F(e)?t:e.constructor(t)}function Et(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Tt(e){return ce(e.size),h(e)}function kt(e){return i(e)?n:s(e)?r:o}function Pt(e){return Object.create((i(e)?S:s(e)?D:O).prototype)}function Mt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):M.prototype.cacheResult.call(this)}function St(e,t){return e>t?1:et?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=i(e),r=t?1:0,o=e.__iterate(n?t?function(e,t){r=31*r+sn(ae(e),ae(t))|0}:function(e,t){r=r+sn(ae(e),ae(t))|0}:t?function(e){r=31*r+ae(e)|0}:function(e){r=r+ae(e)|0});return an(o,r)}function an(e,t){return t=Dn(t,3432918353),t=Dn(t<<15|t>>>-15,461845907),t=Dn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Dn(t^t>>>16,2246822507),t=Dn(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var ln=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=a,t.isKeyed=i,t.isIndexed=s,t.isAssociative=l,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=o;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",dn="@@__IMMUTABLE_ORDERED__@@",pn="delete",hn=5,mn=1<r?w():_(e,o,n[t?r-o++:o++])})},e(L,S),L.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},L.prototype.has=function(e){return this._object.hasOwnProperty(e)},L.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,a=0;a<=o;a++){var i=r[t?o-a:a];if(e(n[i],i,this)===!1)return a+1}return a},L.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,a=0;return new x(function(){var i=r[t?o-a:a];return a++>o?w():_(e,i,n[i])})},L.prototype[dn]=!0,e(N,D),N.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=T(n),o=0;if(E(r))for(var a;!(a=r.next()).done&&e(a.value,o++,this)!==!1;);return o},N.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=T(n);if(!E(r))return new x(w);var o=0;return new x(function(){var t=r.next();return t.done?t:_(e,o++,t.value)})},e(B,D),B.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return _(e,o,r[o++])})};var kn;e(Z,D),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(e,t){return this.has(e)?this._value:t},Z.prototype.includes=function(e){return Q(this._value,e)},Z.prototype.slice=function(e,t){var n=this.size;return v(e,t,n)?this:new Z(this._value,b(t,n)-y(e,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(e){return Q(this._value,e)?0:-1},Z.prototype.lastIndexOf=function(e){return Q(this._value,e)?this.size:-1},Z.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?w():_(e,a++,i)})},$.prototype.equals=function(e){return e instanceof $?this._start===e._start&&this._end===e._end&&this._step===e._step:X(this,e)};var Mn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Sn,Dn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},On=Object.isExtensible,In=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Ln="function"==typeof WeakMap;Ln&&(Sn=new WeakMap);var Nn=0,Bn="__immutablehash__";"function"==typeof Symbol&&(Bn=Symbol(Bn));var Fn=16,Rn=255,jn=0,zn={};e(fe,te),fe.of=function(){var e=ln.call(arguments,0);return _e().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},fe.prototype.toString=function(){return this.__toString("Map {","}")},fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},fe.prototype.set=function(e,t){return we(this,e,t)},fe.prototype.setIn=function(e,t){return this.updateIn(e,vn,function(){return t})},fe.prototype.remove=function(e){return we(this,e,vn)},fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return vn})},fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Le(this,Dt(e),t,n);return r===vn?void 0:r},fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):_e()},fe.prototype.merge=function(){return Se(this,void 0,arguments)},fe.prototype.mergeWith=function(e){var t=ln.call(arguments,1);return Se(this,e,t)},fe.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,_e(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},fe.prototype.mergeDeep=function(){return Se(this,De,arguments)},fe.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Se(this,Oe(e),t)},fe.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,_e(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},fe.prototype.sort=function(e){return Je(At(this,e))},fe.prototype.sortBy=function(e,t){return Je(At(this,t,e))},fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},fe.prototype.asImmutable=function(){return this.__ensureOwner()},fe.prototype.wasAltered=function(){return this.__altered},fe.prototype.__iterator=function(e,t){return new ye(this,e,t)},fe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?xe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},fe.isMap=de;var Hn="@@__IMMUTABLE_MAP__@@",Un=fe.prototype;Un[Hn]=!0,Un[pn]=Un.remove,Un.removeIn=Un.deleteIn,pe.prototype.get=function(e,t,n,r){for(var o=this.entries,a=0,i=o.length;a=qn)return ke(e,l,r,o);var h=e&&e===this.ownerID,m=h?l:p(l);return d?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,o]:m.push([r,o]),h?(this.entries=m,this):new pe(e,m)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ae(n));var o=1<<((0===e?t:t>>>e)&gn),a=this.bitmap;return 0===(a&o)?r:this.nodes[Ne(a&o-1)].get(e+hn,t,n,r)},he.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ae(r));var s=(0===t?n:n>>>t)&gn,l=1<=Vn)return Me(e,d,u,s,h);if(c&&!h&&2===d.length&&Ee(d[1^f]))return d[1^f];if(c&&h&&1===d.length&&Ee(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,v=c?h?Be(d,f,h,m):Re(d,f,m):Fe(d,f,h,m);return m?(this.bitmap=g,this.nodes=v,this):new he(e,g,v)},me.prototype.get=function(e,t,n,r){void 0===t&&(t=ae(n));var o=(0===e?t:t>>>e)&gn,a=this.nodes[o];return a?a.get(e+hn,t,n,r):r},me.prototype.update=function(e,t,n,r,o,a,i){void 0===n&&(n=ae(r));var s=(0===t?n:n>>>t)&gn,l=o===vn,u=this.nodes,c=u[s];if(l&&!c)return this;var f=Ce(c,e,t+hn,n,r,o,a,i);if(f===c)return this;var d=this.count;if(c){if(!f&&(d--,d=0&&e>>t&gn;if(r>=this.array.length)return new He([],e);var o,a=0===r;if(t>0){var i=this.array[r];if(o=i&&i.removeBefore(e,t-hn,n),o===i&&a)return this}if(a&&!o)return this;var s=Ye(this,e);if(!a)for(var l=0;l>>t&gn;if(r>=this.array.length)return this;var o;if(t>0){var a=this.array[r];if(o=a&&a.removeAfter(e,t-hn,n),o===a&&r===this.array.length-1)return this}var i=Ye(this,e);return i.array.splice(r+1),o&&(i.array[r]=o),i};var Qn,Xn={};e(Je,fe),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,vn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered(); -},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=$e,Je.prototype[dn]=!0,Je.prototype[pn]=Je.prototype.remove;var Zn;e(rt,S),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Tt(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(xn,t),r=t?Tt(this):0;return new x(function(){var o=n.next();return o.done?o:_(e,t?--r:r++,o.value,o)})},rt.prototype[dn]=!0,e(ot,D),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(xn,t),r=0;return new x(function(){var t=n.next();return t.done?t:_(e,r++,t.value,t)})},e(at,O),at.prototype.has=function(e){return this._iter.includes(e)},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(xn,t);return new x(function(){var t=n.next();return t.done?t:_(e,t.value,t.value,t)})},e(it,S),it.prototype.entrySeq=function(){return this._iter.toSeq()},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Et(t);var r=a(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(xn,t);return new x(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Et(r);var o=a(r);return _(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=at.prototype.cacheResult=it.prototype.cacheResult=Mt,e(Ot,te),Ot.prototype.toString=function(){return this.__toString(Lt(this)+" {","}")},Ot.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Ot.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Ot.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=It(this,_e()))},Ot.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Lt(this));if(this._map&&!this._map.has(e)){var n=this._defaultValues[e];if(t===n)return this}var r=this._map&&this._map.set(e,t);return this.__ownerID||r===this._map?this:It(this,r)},Ot.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:It(this,t)},Ot.prototype.wasAltered=function(){return this._map.wasAltered()},Ot.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Ot.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Ot.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?It(this,t,e):(this.__ownerID=e,this._map=t,this)};var Jn=Ot.prototype;Jn[pn]=Jn.remove,Jn.deleteIn=Jn.removeIn=Un.removeIn,Jn.merge=Un.merge,Jn.mergeWith=Un.mergeWith,Jn.mergeIn=Un.mergeIn,Jn.mergeDeep=Un.mergeDeep,Jn.mergeDeepWith=Un.mergeDeepWith,Jn.mergeDeepIn=Un.mergeDeepIn,Jn.setIn=Un.setIn,Jn.update=Un.update,Jn.updateIn=Un.updateIn,Jn.withMutations=Un.withMutations,Jn.asMutable=Un.asMutable,Jn.asImmutable=Un.asImmutable,e(Ft,re),Ft.of=function(){return this(arguments)},Ft.fromKeys=function(e){return this(n(e).keySeq())},Ft.prototype.toString=function(){return this.__toString("Set {","}")},Ft.prototype.has=function(e){return this._map.has(e)},Ft.prototype.add=function(e){return jt(this,this._map.set(e,!0))},Ft.prototype.remove=function(e){return jt(this,this._map.remove(e))},Ft.prototype.clear=function(){return jt(this,this._map.clear())},Ft.prototype.union=function(){var e=ln.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Kt(e,t)},Gt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;ce(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Kt(t,n)},Gt.prototype.pop=function(){return this.slice(1)},Gt.prototype.unshift=function(){return this.push.apply(this,arguments)},Gt.prototype.unshiftAll=function(e){return this.pushAll(e)},Gt.prototype.shift=function(){return this.pop.apply(this,arguments)},Gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qt()},Gt.prototype.slice=function(e,t){if(v(e,t,this.size))return this;var n=y(e,this.size),r=b(t,this.size);if(r!==this.size)return ne.prototype.slice.call(this,e,t);for(var o=this.size-n,a=this._head;n--;)a=a.next;return this.__ownerID?(this.size=o,this._head=a,this.__hash=void 0,this.__altered=!0,this):Kt(o,a)},Gt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Kt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Gt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},Gt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new x(function(){if(r){var t=r.value;return r=r.next,_(e,n++,t)}return w()})},Gt.isStack=Yt;var or="@@__IMMUTABLE_STACK__@@",ar=Gt.prototype;ar[or]=!0,ar.withMutations=Un.withMutations,ar.asMutable=Un.asMutable,ar.asImmutable=Un.asImmutable,ar.wasAltered=Un.wasAltered;var ir;t.Iterator=x,Xt(t,{toArray:function(){ce(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return fe(this.toKeyedSeq())},toObject:function(){ce(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return Ut(i(this)?this.valueSeq():this)},toSet:function(){return Ft(i(this)?this.valueSeq():this)},toSetSeq:function(){return new at(this)},toSeq:function(){return s(this)?this.toIndexedSeq():i(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Gt(i(this)?this.valueSeq():this)},toList:function(){return je(i(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){var e=ln.call(arguments,0);return Ct(this,gt(this,e))},includes:function(e){return this.some(function(t){return Q(t,e)})},entries:function(){return this.__iterator(_n)},every:function(e,t){ce(this.size);var n=!0;return this.__iterate(function(r,o,a){if(!e.call(t,r,o,a))return n=!1,!1}),n},filter:function(e,t){return Ct(this,ct(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return ce(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ce(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(An)},map:function(e,t){return Ct(this,lt(this,e,t))},reduce:function(e,t,n){ce(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,a,i){o?(o=!1,r=t):r=e.call(n,r,t,a,i)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Ct(this,ut(this,!0))},slice:function(e,t){return Ct(this,pt(this,e,t,!0))},some:function(e,t){return!this.every($t(e),t)},sort:function(e){return Ct(this,At(this,e))},values:function(){return this.__iterator(xn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ft(this,e,t)},equals:function(e){return X(this,e)},entrySeq:function(){var e=this;if(e._cache)return new I(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter($t(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,o,a){if(e.call(t,n,o,a))return r=[o,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(g)},flatMap:function(e,t){return Ct(this,yt(this,e,t))},flatten:function(e){return Ct(this,vt(this,e,!0))},fromEntrySeq:function(){return new it(this)},get:function(e,t){return this.find(function(t,n){return Q(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=Dt(e);!(n=o.next()).done;){var a=n.value;if(r=r&&r.get?r.get(a,vn):vn,r===vn)return t}return r},groupBy:function(e,t){return dt(this,e,t)},has:function(e){return this.get(e,vn)!==vn},hasIn:function(e){return this.getIn(e,vn)!==vn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return Q(t,e)})},keySeq:function(){return this.toSeq().map(Zt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return xt(this,e)},maxBy:function(e,t){return xt(this,t,e)},min:function(e){return xt(this,e?en(e):rn)},minBy:function(e,t){return xt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Ct(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Ct(this,mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile($t(e),t)},sortBy:function(e,t){return Ct(this,At(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Ct(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Ct(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile($t(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=t.prototype;sr[un]=!0,sr[En]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=tn,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,Xt(n,{flip:function(){return Ct(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return Ct(this,this.toSeq().map(function(o,a){return e.call(t,[a,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ct(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var lr=n.prototype;lr[cn]=!0,lr[En]=sr.entries,lr.__toJS=sr.toObject,lr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Xt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return Ct(this,ct(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ct(this,ut(this,!1))},slice:function(e,t){return Ct(this,pt(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=y(e,e<0?this.count():this.size);var r=this.slice(0,e);return Ct(this,1===n?r:r.concat(p(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Ct(this,vt(this,e,!1))},get:function(e,t){return e=m(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return e=m(this,e),e>=0&&(void 0!==this.size?this.size===1/0||e-1&&Object.keys(t.refs[n].refs).forEach(function(r){var o=e.uid?e.uid:e;r==="notification-"+o&&t.refs[n].refs[r]._hideNotification()})})},clearNotifications:function(){var e=this;Object.keys(this.refs).forEach(function(t){t.indexOf("container")>-1&&Object.keys(e.refs[t].refs).forEach(function(n){e.refs[t].refs[n]._hideNotification()})})},componentDidMount:function(){this._getStyles.setOverrideStyle(this.props.style),this._isMounted=!0},componentWillUnmount:function(){this._isMounted=!1},render:function(){var e=this,t=null,n=this.state.notifications;return n.length&&(t=Object.keys(i.positions).map(function(t){var o=n.filter(function(e){return t===e.position});return o.length?r.createElement(a,{ref:"container-"+t,key:t,position:t,notifications:o,getStyles:e._getStyles,onRemove:e._didNotificationRemoved,noAnimation:e.props.noAnimation,allowHTML:e.props.allowHTML}):null})),r.createElement("div",{className:"notifications-wrapper",style:this._getStyles.wrapper()},t)}});e.exports=l},323,function(e,t,n){var r=n(321),o=n(588),a=n(589),i=r.createClass({displayName:"NotificationContainer",propTypes:{position:r.PropTypes.string.isRequired,notifications:r.PropTypes.array.isRequired,getStyles:r.PropTypes.object},_style:{},componentWillMount:function(){this._style=this.props.getStyles.container(this.props.position),!this.props.getStyles.overrideWidth||this.props.position!==a.positions.tc&&this.props.position!==a.positions.bc||(this._style.marginLeft=-(this.props.getStyles.overrideWidth/2))},render:function(){var e,t=this;return[a.positions.bl,a.positions.br,a.positions.bc].indexOf(this.props.position)>-1&&this.props.notifications.reverse(),e=this.props.notifications.map(function(e){return r.createElement(o,{ref:"notification-"+e.uid,key:e.uid,notification:e,getStyles:t.props.getStyles,onRemove:t.props.onRemove,noAnimation:t.props.noAnimation,allowHTML:t.props.allowHTML,children:t.props.children})}),r.createElement("div",{className:"notifications-"+this.props.position,style:this._style},e)}});e.exports=i},function(e,t,n){var r=n(321),o=n(348),a=n(589),i=n(590),s=n(586),l=function(){var e,t=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};return Object.keys(n).forEach(function(r){void 0!==t.style[r]&&(e=n[r])}),e},u=r.createClass({displayName:"NotificationItem",propTypes:{notification:r.PropTypes.object,getStyles:r.PropTypes.object,onRemove:r.PropTypes.func,allowHTML:r.PropTypes.bool,noAnimation:r.PropTypes.bool,children:r.PropTypes.oneOfType([r.PropTypes.string,r.PropTypes.element])},getDefaultProps:function(){return{noAnimation:!1,onRemove:function(){},allowHTML:!1}},getInitialState:function(){return{visible:!1,removed:!1}},componentWillMount:function(){var e=this.props.getStyles,t=this.props.notification.level;this._noAnimation=this.props.noAnimation,this._styles={notification:e.byElement("notification")(t),title:e.byElement("title")(t),dismiss:e.byElement("dismiss")(t),messageWrapper:e.byElement("messageWrapper")(t),actionWrapper:e.byElement("actionWrapper")(t),action:e.byElement("action")(t)},this.props.notification.dismissible||(this._styles.notification.cursor="default")},_styles:{},_notificationTimer:null,_height:0,_noAnimation:null,_isMounted:!1,_removeCount:0,_getCssPropertyByPosition:function(){var e=this.props.notification.position,t={};switch(e){case a.positions.tl:case a.positions.bl:t={property:"left",value:-200};break;case a.positions.tr:case a.positions.br:t={property:"right",value:-200};break;case a.positions.tc:t={property:"top",value:-100};break;case a.positions.bc:t={property:"bottom",value:-100}}return t},_defaultAction:function(e){var t=this.props.notification;e.preventDefault(),this._hideNotification(),"function"==typeof t.action.callback&&t.action.callback()},_hideNotification:function(){this._notificationTimer&&this._notificationTimer.clear(),this._isMounted&&this.setState({visible:!1,removed:!0}),this._noAnimation&&this._removeNotification()},_removeNotification:function(){this.props.onRemove(this.props.notification.uid)},_dismiss:function(){this.props.notification.dismissible&&this._hideNotification()},_showNotification:function(){var e=this;setTimeout(function(){e._isMounted&&e.setState({visible:!0})},50)},_onTransitionEnd:function(){this._removeCount>0||this.state.removed&&(this._removeCount++,this._removeNotification())},componentDidMount:function(){var e=this,t=l(),n=this.props.notification,r=o.findDOMNode(this);this._height=r.offsetHeight,this._isMounted=!0,this._noAnimation||(t?r.addEventListener(t,this._onTransitionEnd):this._noAnimation=!0),n.autoDismiss&&(this._notificationTimer=new i.Timer(function(){e._hideNotification()},1e3*n.autoDismiss)),this._showNotification()},_handleMouseEnter:function(){var e=this.props.notification;e.autoDismiss&&this._notificationTimer.pause()},_handleMouseLeave:function(){var e=this.props.notification;e.autoDismiss&&this._notificationTimer.resume()},componentWillUnmount:function(){var e=o.findDOMNode(this),t=l();e.removeEventListener(t,this._onTransitionEnd),this._isMounted=!1},_allowHTML:function(e){return{__html:e}},render:function(){var e=this.props.notification,t="notification notification-"+e.level,n=s({},this._styles.notification),o=this._getCssPropertyByPosition(),a=null,i=null,l=null,u=null;return t+=this.state.visible?" notification-visible":" notification-hidden",e.dismissible||(t+=" notification-not-dismissible"),this.props.getStyles.overrideStyle&&(this.state.visible||this.state.removed||(n[o.property]=o.value),this.state.visible&&!this.state.removed&&(n.height=this._height,n[o.property]=0),this.state.removed&&(n.overlay="hidden",n.height=0,n.marginTop=0,n.paddingTop=0,n.paddingBottom=0),n.opacity=this.state.visible?this._styles.notification.isVisible.opacity:this._styles.notification.isHidden.opacity),e.title&&(l=r.createElement("h4",{className:"notification-title",style:this._styles.title},e.title)),e.message&&(u=this.props.allowHTML?r.createElement("div",{className:"notification-message",style:this._styles.messageWrapper,dangerouslySetInnerHTML:this._allowHTML(e.message)}):r.createElement("div",{className:"notification-message",style:this._styles.messageWrapper},e.message)),e.dismissible&&(a=r.createElement("span",{className:"notification-dismiss",style:this._styles.dismiss},"×")),e.action&&(i=r.createElement("div",{className:"notification-action-wrapper",style:this._styles.actionWrapper},r.createElement("button",{className:"notification-action-button",onClick:this._defaultAction,style:this._styles.action},e.action.label))),e.children&&(i=e.children),r.createElement("div",{className:t,onClick:this._dismiss,onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave,style:n},l,u,a,i)}});e.exports=u},function(e,t){var n={positions:{tl:"tl",tr:"tr",tc:"tc",bl:"bl",br:"br",bc:"bc"},levels:{success:"success",error:"error",warning:"warning",info:"info"},notification:{title:null,message:null,level:null,position:"tr",autoDismiss:5,dismissible:!0,action:null}};e.exports=n},function(e,t){var n={Timer:function(e,t){var n,r,o=t;this.pause=function(){clearTimeout(n),o-=new Date-r},this.resume=function(){r=new Date,clearTimeout(n),n=setTimeout(e,o)},this.clear=function(){clearTimeout(n)},this.resume()}};e.exports=n},function(e,t){var n=320,r={success:{rgb:"94, 164, 0",hex:"#5ea400"},error:{rgb:"236, 61, 61",hex:"#ec3d3d"},warning:{rgb:"235, 173, 23",hex:"#ebad1a"},info:{rgb:"54, 156, 199",hex:"#369cc7"}},o="0.9",a={Wrapper:{},Containers:{DefaultStyle:{fontFamily:"inherit",position:"fixed",width:n,padding:"0 10px 10px 10px",zIndex:9998,WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",height:"auto"},tl:{top:"0px",bottom:"auto",left:"0px",right:"auto" -},tr:{top:"0px",bottom:"auto",left:"auto",right:"0px"},tc:{top:"0px",bottom:"auto",margin:"0 auto",left:"50%",marginLeft:-(n/2)},bl:{top:"auto",bottom:"0px",left:"0px",right:"auto"},br:{top:"auto",bottom:"0px",left:"auto",right:"0px"},bc:{top:"auto",bottom:"0px",margin:"0 auto",left:"50%",marginLeft:-(n/2)}},NotificationItem:{DefaultStyle:{position:"relative",width:"100%",cursor:"pointer",borderRadius:"2px",fontSize:"13px",margin:"10px 0 0",padding:"10px",display:"block",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",opacity:0,transition:"0.3s ease-in-out",WebkitTransform:"translate3d(0, 0, 0)",transform:"translate3d(0, 0, 0)",willChange:"transform, opacity",isHidden:{opacity:0},isVisible:{opacity:1}},success:{borderTop:"2px solid "+r.success.hex,backgroundColor:"#f0f5ea",color:"#4b583a",WebkitBoxShadow:"0 0 1px rgba("+r.success.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.success.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.success.rgb+","+o+")"},error:{borderTop:"2px solid "+r.error.hex,backgroundColor:"#f4e9e9",color:"#412f2f",WebkitBoxShadow:"0 0 1px rgba("+r.error.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.error.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.error.rgb+","+o+")"},warning:{borderTop:"2px solid "+r.warning.hex,backgroundColor:"#f9f6f0",color:"#5a5343",WebkitBoxShadow:"0 0 1px rgba("+r.warning.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.warning.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.warning.rgb+","+o+")"},info:{borderTop:"2px solid "+r.info.hex,backgroundColor:"#e8f0f4",color:"#41555d",WebkitBoxShadow:"0 0 1px rgba("+r.info.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.info.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.info.rgb+","+o+")"}},Title:{DefaultStyle:{fontSize:"14px",margin:"0 0 5px 0",padding:0,fontWeight:"bold"},success:{color:r.success.hex},error:{color:r.error.hex},warning:{color:r.warning.hex},info:{color:r.info.hex}},MessageWrapper:{DefaultStyle:{margin:0,padding:0}},Dismiss:{DefaultStyle:{fontFamily:"Arial",fontSize:"17px",position:"absolute",top:"4px",right:"5px",lineHeight:"15px",backgroundColor:"#dededf",color:"#ffffff",borderRadius:"50%",width:"14px",height:"14px",fontWeight:"bold",textAlign:"center"},success:{color:"#f0f5ea",backgroundColor:"#b0ca92"},error:{color:"#f4e9e9",backgroundColor:"#e4bebe"},warning:{color:"#f9f6f0",backgroundColor:"#e1cfac"},info:{color:"#e8f0f4",backgroundColor:"#a4becb"}},Action:{DefaultStyle:{background:"#ffffff",borderRadius:"2px",padding:"6px 20px",fontWeight:"bold",margin:"10px 0 0 0",border:0},success:{backgroundColor:r.success.hex,color:"#ffffff"},error:{backgroundColor:r.error.hex,color:"#ffffff"},warning:{backgroundColor:r.warning.hex,color:"#ffffff"},info:{backgroundColor:r.info.hex,color:"#ffffff"}},ActionWrapper:{DefaultStyle:{margin:0,padding:0}}};e.exports=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e,n){if((0,d.default)(e))return e;e=e.toObject();var o=e,i=o.type,u=o.props;i=(0,c.default)(i)||i;var f=u?u.get("children"):null,p=null;l.List.isList(f)&&(p=f.map(function(e,r){return t(e,n?n.concat("props","children",r):null)}).toArray());var m=u?u.delete("children").toJS():{};return i.propTypes&&(0,h.default)(r,function(e,t){i.propTypes[t]&&(m[t]=function(){for(var t=arguments.length,r=Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t(e,n)}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t-1:!!c&&o(e,t,n)>-1}var o=n(599),a=n(603),i=n(606),s=n(608),l=n(610),u=Math.max;e.exports=r},function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=n(600),a=n(601),i=n(602);e.exports=r},function(e,t){function n(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return"string"==typeof e||!a(e)&&i(e)&&o(e)==s}var o=n(306),a=n(607),i=n(310),s="[object String]";e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n(609);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if(e=o(e),e===a||e===-a){var t=e<0?-1:1;return t*i}return e===e?e:0}var o=n(304),a=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){return null==e?[]:o(e,a(e))}var o=n(611),a=n(613);e.exports=r},function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=n(612);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n-1&&e%1==0&&e-1}var o=n(645);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n(645);e.exports=r},function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n(642);e.exports=r},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!a||r.lengthd))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,g=!0,v=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++m100&&t.y>50&&this.props.onDragAway?(this.props.onDragAway(e,{x:t.x,y:t.y}),!1):(this.refs["drag_"+e].setState({dragging:!1,x:0,y:0}),void this.setState({dragging:!1}))},renderTab:function(e){var t=this,n=this.state,r=n.icons,o=n.titles,a=e.props.compId,s={tab:!0,active:a===this.props.activeTab,inactive:a!==this.props.activeTab,dragging:a===this.state.dragging},l="";this.props.onClose&&(l=i.default.createElement(y.default,{className:"action close",name:"close",onClick:this.handleClose.bind(this,a)}));var u=i.default.createElement("div",{className:(0,c.default)(s),onClick:this.handleClick.bind(this,a)},r[a]?i.default.createElement(y.default,{name:r[a]}):null,i.default.createElement("div",{className:"title"},o[a]),this.props.unclosableTabs.indexOf(a)===-1?l:null);return this.props.onDragAway&&this.props.unclosableTabs.indexOf(a)===-1&&(u=i.default.createElement(A.default,{ref:"drag_"+a,key:a,defaultPosition:{x:0,y:0},onStop:function(){return t.handleDragStop(a)},onDrag:function(){return t.setState({dragging:a})}},u)),u},renderPane:function(e){var t=this;return i.default.cloneElement(e,{active:e.props.compId===this.props.activeTab,key:e.props.compId,ref:e.props.compId,updateTitleIcon:function(){return t.forceUpdate()},replaceable:this.props.unreplaceableTabs.indexOf(e.props.compId)===-1})},render:function(){var e=(0,C.default)({},this.props);delete e.unclosableTabs,delete e.unreplaceableTabs,delete e.activeTab,delete e.onSwitch,delete e.onClose,delete e.onAddTab,delete e.onDragAway;var t=(0,_.default)(this,this.props.children);return i.default.createElement("div",o({},e,{className:"tabbed-area"}),i.default.createElement("div",{className:"tabs"},l.default.map(t,this.renderTab,this),this.props.onAddTab?i.default.createElement(y.default,{className:"pointer",name:"plus-circle",onClick:this.handleAddTab}):null),i.default.createElement("div",{className:"tab-content"},l.default.map(t,this.renderPane,this)))}});t.default=k},function(e,t,n){var r,o;/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames - */ -!function(){"use strict";function n(){for(var e=[],t=0;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t=t?e:t)),e}e.exports=n},function(e,t,n){function r(e){return n(o(e))}function o(e){return a[e]||function(){throw new Error("Cannot find module '"+e+"'.")}()}var a={"./error.svg":740,"./favicons/android-chrome-192x192.png":741,"./favicons/android-chrome-512x512.png":742,"./favicons/apple-touch-icon.png":743,"./favicons/browserconfig.xml":744,"./favicons/favicon-16x16.png":745,"./favicons/favicon-32x32.png":746,"./favicons/favicon.ico":747,"./favicons/manifest":748,"./favicons/manifest.json":748,"./favicons/mstile-150x150.png":749,"./favicons/safari-pinned-tab.svg":750,"./genomebrowser.png":751,"./layers-2x.png":752,"./layers.png":753,"./panoptes-logo.png":754,"./spinner.svg":755};r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id=739},function(e,t,n){e.exports=n.p+"43159b383933d36c20b00405971cd4eb.svg"},function(e,t){e.exports="data:image/png;base64,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"},function(e,t){e.exports="data:image/png;base64,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EgAE0cOcUhichpPc0V3huhuqC/z/NHHdryNxNZAAIIhrwGUZIh8ySO056/+DritBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEARBEATRRf5/qQpz8j4iwg0AAAAldEVYdGRhdGU6Y3JlYXRlADIwMTYtMTAtMTNUMTE6MTA6MTYrMDI6MDBH5VukAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE2LTEwLTEzVDExOjEwOjE2KzAyOjAwNrjjGAAAAFd6VFh0UmF3IHByb2ZpbGUgdHlwZSBpcHRjAAB4nOPyDAhxVigoyk/LzEnlUgADIwsuYwsTIxNLkxQDEyBEgDTDZAMjs1Qgy9jUyMTMxBzEB8uASKBKLgDqFxF08kI1lQAAAABJRU5ErkJggg=="; -},function(e,t){e.exports="data:image/png;base64,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"},function(e,t){e.exports="data:application/xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjxicm93c2VyY29uZmlnPg0KICA8bXNhcHBsaWNhdGlvbj4NCiAgICA8dGlsZT4NCiAgICAgIDxzcXVhcmUxNTB4MTUwbG9nbyBzcmM9Ii9pbWFnZXMvZmF2aWNvbnMvbXN0aWxlLTE1MHgxNTAucG5nIi8+DQogICAgICA8VGlsZUNvbG9yPiMyZDg5ZWY8L1RpbGVDb2xvcj4NCiAgICA8L3RpbGU+DQogIDwvbXNhcHBsaWNhdGlvbj4NCjwvYnJvd3NlcmNvbmZpZz4NCg=="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABU1BMVEUAAAB9dXV8dnV3d3dngoQAvs54eHhycnJ8fHxjYmKKi4trf4AA8/9rgIGJbmxpgYNHlJpDlp1ihIeCc3FvfX4xoKomprFmgoVvb294c3NjhYhOkJasWlNzc3N1dXWNjY2qqalWi4/NSD11dXWZmZl2eXoAAACSiomioaGVk5OOjY2Vj4+Yv8Kpqal1dXWlrq98fHypqKiEi4xzcG9Fk5r/AACoqKh6m54ynqhHlJp8fHx3eHlOkJZLkZdwfH0crLggqrUZr7xihYhvfX4crbmJmZspo65NkZZNkJYYrru0tLSUlJR+fn5ye3xhhYg2nqdOl52urq6BgYF2dnZ3d3d5d3d4eXmmpaVjydFzwsmCiIh4eHiJiYl3dnaVlZVUxc9HkJZLkphxfX7l5eWCgoKwsLCVk5N4d3dxe3xwm5+DgoJyhohYio46mqKysLA0n6j////i+nAbAAAAP3RSTlMAAAAAAAAAAAAAAAAAAAmB7fSdFVf2/nwcWsa9CQNX0/yoBFjufAEvddvRQtz8WqWC/NIcoQH8/f6Cg15vcBbBs8DiAAAAAWJLR0Rw2ABsdAAAAAd0SU1FB+AKDQsKEIlHZlEAAACsSURBVBjTY2AAA0Y+fgFBIWEmBihgZhERtXcQE2dlA3PZOSQkpRydnF2kZcACzLJy8gqubu4enopKIAFOLmUVL28fXz//AFVuoICauoZmYFBwSEhoWLiWBFBAWyciMiokOiYmOjZOVw8ooB+fkJgUEpOcHBOckmrAwYYpgKQlzVAPYWhwcHpGppExwtqUrOycXBNTuMPMUvPMLfIteeBO17OysraxteNlYyAMABW1KTlQd2VZAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE2LTEwLTEzVDExOjEwOjE2KzAyOjAwR+VbpAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxNi0xMC0xM1QxMToxMDoxNiswMjowMDa44xgAAABXelRYdFJhdyBwcm9maWxlIHR5cGUgaXB0YwAAeJzj8gwIcVYoKMpPy8xJ5VIAAyMLLmMLEyMTS5MUAxMgRIA0w2QDI7NUIMvY1MjEzMQcxAfLgEigSi4A6hcRdPJCNZUAAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,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"},function(e,t){e.exports="data:image/x-icon;base64,AAABAAMAMDAAAAEAIACoJQAANgAAACAgAAABACAAqBAAAN4lAAAQEAAAAQAgAGgEAACGNgAAKAAAADAAAABgAAAAAQAgAAAAAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAHR0dBd+fn7S3d3g/+ffgv/MvAD/vbAV/399b/93eHn/eHh4/3d3ef+Fg2X/mJJK/3d3ef94eHj/eHh4/3h4eP94eHj/eHh4/3h4eP92dnb/sLCw/////////////////////////////////7CwsP92dnb/eHh4/3h4eP94eHj/eHh4/3h4eP94eHj/dnZ2/7q6uv/z8/P/i4uL/3d3d/94eHidAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHR0dBd+fn7S3d3g/+ffgv/MvAD/vbAV/399b/93eHn/eHh4/3d3ef+Fg2X/mJJK/3d3ef94eHj/eHh4/3h4eP94eHj/eHh4/3h4eP92dnb/sLCw/////////////////////////////////7CwsP92dnb/eHh4/3h4eP94eHj/eHh4/3h4eP94eHj/dnZ2/7q6uv/z8/P/i4uL/3d3d/94eHidAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHd3dw95eXnDy8vO//Hrr//NvQX/yroD/5qTSP94eHj/dnd6/3l5dv+jmzr/pp03/3d3ef94eHj/eHh4/3h4eP94eHj/eHh4/3h4eP93d3f/kpKS//Hx8f//////////////////////8fHx/5KSkv93d3f/eHh4/3h4eP94eHj/eHh4/3h4eP94eHj/d3d3/8PDw//u7u7/hoaG/3d3d/94eHiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB0dHSLpaWm//j26P/ZzD//zLsA/8a3Cf+qoTD/nZZD/66kK//KugP/saYk/3l5df94eHj/eHh4/3h4eP94eHj/eHh4/3h4eP94eHj/eHh4/66urv/y8vL////////////y8vL/rq6u/3h4eP94eHj/eHh4/3h4eP94eHj/eHh4/3h4eP94eHj/enp6/9bW1v/i4uL/fn5+/3h4eP94eHh1AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB2dnY1gICA59TU1v/18sj/1cgs/8y7AP/MvAD/zLwA/8y8AP/NvAD/yL09/4WEff93d3j/eHh4/3h4eP94eHj/eHh4/3h4eP94eHj/eHh4/3h4eP+RkZH/sLCw/7CwsP+RkZH/eHh4/3h4eP94eHj/eHh4/3h4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"; -},function(e,t,n){e.exports=n.p+"df5bf2c4e936883b5c58db9aaca2985c.json"},function(e,t){e.exports="data:image/png;base64,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"},function(e,t,n){e.exports=n.p+"4be48926143f9214073d9f178186b7ac.svg"},function(e,t){e.exports="data:image/png;base64,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"},function(e,t){e.exports="data:image/png;base64,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"},function(e,t){e.exports="data:image/png;base64,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"},function(e,t,n){e.exports=n.p+"a239f00c1c044ecbb6878e0cba0ee8fb.png"},function(e,t,n){e.exports=n.p+"c0bcb26dadc1d1cecb06ce656ac08591.svg"},function(e,t,n){!function(t,r){e.exports=r(n(321),n(348))}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";e.exports=n(1).default,e.exports.DraggableCore=n(9).default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){"undefined"!=typeof SVGElement&&h.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(e){!e.position||this.props.position&&e.position.x===this.props.position.x&&e.position.y===this.props.position.y||this.setState({x:e.position.x,y:e.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t={},n=null,r=Boolean(this.props.position),a=!r||this.state.dragging,i=this.props.position||this.props.defaultPosition,s={x:(0,y.canDragX)(this)&&a?this.state.x:i.x,y:(0,y.canDragY)(this)&&a?this.state.y:i.y};this.state.isElementSVG?n=(0,v.createSVGTransform)(s):t=(0,v.createCSSTransform)(s); -var u=this.props,c=u.defaultClassName,f=u.defaultClassNameDragging,p=u.defaultClassNameDragged,h=(0,g.default)(this.props.children.props.className||"",c,(e={},o(e,f,this.state.dragging),o(e,p,this.state.dragged),e));return d.default.createElement(x.default,l({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),d.default.cloneElement(d.default.Children.only(this.props.children),{className:h,style:l({},this.props.children.props.style,t),transform:n}))}}]),t}(d.default.Component);C.displayName="Draggable",C.propTypes=l({},x.default.propTypes,{axis:f.PropTypes.oneOf(["both","x","y","none"]),bounds:f.PropTypes.oneOfType([f.PropTypes.shape({left:f.PropTypes.number,right:f.PropTypes.number,top:f.PropTypes.number,bottom:f.PropTypes.number}),f.PropTypes.string,f.PropTypes.oneOf([!1])]),defaultClassName:f.PropTypes.string,defaultClassNameDragging:f.PropTypes.string,defaultClassNameDragged:f.PropTypes.string,defaultPosition:f.PropTypes.shape({x:f.PropTypes.number,y:f.PropTypes.number}),position:f.PropTypes.shape({x:f.PropTypes.number,y:f.PropTypes.number}),className:b.dontSetMe,style:b.dontSetMe,transform:b.dontSetMe}),C.defaultProps=l({},x.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),t.default=C},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){var r,o;/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames - */ -!function(){"use strict";function n(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{};return x({touchAction:"none"},e)}Object.defineProperty(t,"__esModule",{value:!0});var x=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||"undefined"==typeof window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n1)for(var n=1;n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,s&&a(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++r0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,a=Date.now;e.exports=n},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?a(n)&&i(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(646),a=n(603),i=n(621),s=n(300);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=G&&r<=ue}function c(){if(W)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=e[0].indexOf("@")>0?e[1]:e[2],n=l(t);if(!n)return;return q=n[0],n[1]}}function f(e,t,n){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+n+" instead.",new Error("").stack),e.apply(e,arguments)}}function d(e){return e instanceof g?e:A(e)?M(e):P(e)}function p(){function e(e){t=e,a.source=e,Z(n,function(t,n){d.nextTick(function(){e.promiseDispatch.apply(e,n)})},void 0),n=void 0,r=void 0}var t,n=[],r=[],o=ee(p.prototype),a=ee(g.prototype);if(a.promiseDispatch=function(e,o,a){var i=X(arguments);n?(n.push(i),"when"===o&&a[1]&&r.push(a[1])):d.nextTick(function(){t.promiseDispatch.apply(t,i)})},a.valueOf=function(){if(n)return a;var e=y(t);return b(e)&&(t=e),e},a.inspect=function(){return t?t.inspect():{state:"pending"}},d.longStackSupport&&W)try{throw new Error}catch(e){a.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return o.promise=a,o.resolve=function(n){t||e(d(n))},o.fulfill=function(n){t||e(P(n))},o.reject=function(n){t||e(k(n))},o.notify=function(e){t||Z(r,function(t,n){d.nextTick(function(){n(e)})},void 0)},o}function h(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=p();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function m(e){return h(function(t,n){for(var r=0,o=e.length;r=r)throw new TypeError}for(;n2?e.resolve(X(arguments,1)):e.resolve(n)}},d.Promise=h,d.promise=h,h.race=m,h.all=F,h.reject=k,h.resolve=d,d.passByCopy=function(e){return e},g.prototype.passByCopy=function(){return this},d.join=function(e,t){return d(e).join(t)},g.prototype.join=function(e){return d([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},d.race=m,g.prototype.race=function(){return this.then(d.race)},d.makePromise=g,g.prototype.toString=function(){return"[object Promise]"},g.prototype.then=function(e,t,n){function r(t){try{return"function"==typeof e?e(t):t}catch(e){return k(e)}}function o(e){if("function"==typeof t){a(e,s);try{return t(e)}catch(e){return k(e)}}return k(e)}function i(e){return"function"==typeof n?n(e):e}var s=this,l=p(),u=!1;return d.nextTick(function(){s.promiseDispatch(function(e){u||(u=!0,l.resolve(r(e)))},"when",[function(e){u||(u=!0,l.resolve(o(e)))}])}),s.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=i(e)}catch(e){if(n=!0,!d.onerror)throw e;d.onerror(e)}n||l.notify(t)}]),l.promise},d.tap=function(e,t){return d(e).tap(t)},g.prototype.tap=function(e){return e=d(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},d.when=v,g.prototype.thenResolve=function(e){return this.then(function(){return e})},d.thenResolve=function(e,t){return d(e).thenResolve(t)},g.prototype.thenReject=function(e){return this.then(function(){throw e})},d.thenReject=function(e,t){return d(e).thenReject(t)},d.nearer=y,d.isPromise=b,d.isPromiseAlike=A,d.isPending=x,g.prototype.isPending=function(){return"pending"===this.inspect().state},d.isFulfilled=_,g.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},d.isRejected=w,g.prototype.isRejected=function(){return"rejected"===this.inspect().state};var ae=[],ie=[],se=[],le=!0;d.resetUnhandledRejections=C,d.getUnhandledReasons=function(){return ae.slice()},d.stopUnhandledRejectionTracking=function(){C(),le=!1},C(),d.reject=k,d.fulfill=P,d.master=S,d.spread=D,g.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},d.async=O,d.spawn=I,d.return=L,d.promised=N,d.dispatch=B,g.prototype.dispatch=function(e,t){var n=this,r=p();return d.nextTick(function(){n.promiseDispatch(r.resolve,e,t)}),r.promise},d.get=function(e,t){return d(e).dispatch("get",[t])},g.prototype.get=function(e){return this.dispatch("get",[e])},d.set=function(e,t,n){return d(e).dispatch("set",[t,n])},g.prototype.set=function(e,t){return this.dispatch("set",[e,t])},d.del=d.delete=function(e,t){return d(e).dispatch("delete",[t])},g.prototype.del=g.prototype.delete=function(e){return this.dispatch("delete",[e])},d.mapply=d.post=function(e,t,n){return d(e).dispatch("post",[t,n])},g.prototype.mapply=g.prototype.post=function(e,t){return this.dispatch("post",[e,t])},d.send=d.mcall=d.invoke=function(e,t){return d(e).dispatch("post",[t,X(arguments,2)])},g.prototype.send=g.prototype.mcall=g.prototype.invoke=function(e){return this.dispatch("post",[e,X(arguments,1)])},d.fapply=function(e,t){return d(e).dispatch("apply",[void 0,t])},g.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},d.try=d.fcall=function(e){return d(e).dispatch("apply",[void 0,X(arguments,1)])},g.prototype.fcall=function(){return this.dispatch("apply",[void 0,X(arguments)])},d.fbind=function(e){var t=d(e),n=X(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(X(arguments))])}},g.prototype.fbind=function(){var e=this,t=X(arguments);return function(){return e.dispatch("apply",[this,t.concat(X(arguments))])}},d.keys=function(e){return d(e).dispatch("keys",[])},g.prototype.keys=function(){return this.dispatch("keys",[])},d.all=F,g.prototype.all=function(){return F(this)},d.any=R,g.prototype.any=function(){return R(this)},d.allResolved=f(j,"allResolved","allSettled"),g.prototype.allResolved=function(){return j(this)},d.allSettled=z,g.prototype.allSettled=function(){return this.then(function(e){return F($(e,function(e){function t(){return e.inspect()}return e=d(e),e.then(t,t)}))})},d.fail=d.catch=function(e,t){return d(e).then(void 0,t)},g.prototype.fail=g.prototype.catch=function(e){return this.then(void 0,e)},d.progress=H,g.prototype.progress=function(e){return this.then(void 0,void 0,e)},d.fin=d.finally=function(e,t){return d(e).finally(t)},g.prototype.fin=g.prototype.finally=function(e){return e=d(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},d.done=function(e,t,n,r){return d(e).done(t,n,r)},g.prototype.done=function(e,n,r){var o=function(e){d.nextTick(function(){if(a(e,i),!d.onerror)throw e;d.onerror(e)})},i=e||n||r?this.then(e,n,r):this;"object"==typeof t&&t&&t.domain&&(o=t.domain.bind(o)),i.then(void 0,o)},d.timeout=function(e,t,n){return d(e).timeout(t,n)},g.prototype.timeout=function(e,t){var n=p(),r=setTimeout(function(){t&&"string"!=typeof t||(t=new Error(t||"Timed out after "+e+" ms"),t.code="ETIMEDOUT"),n.reject(t)},e);return this.then(function(e){clearTimeout(r),n.resolve(e)},function(e){clearTimeout(r),n.reject(e)},n.notify),n.promise},d.delay=function(e,t){return void 0===t&&(t=e,e=void 0),d(e).delay(t)},g.prototype.delay=function(e){return this.then(function(t){var n=p();return setTimeout(function(){n.resolve(t)},e),n.promise})},d.nfapply=function(e,t){return d(e).nfapply(t)},g.prototype.nfapply=function(e){var t=p(),n=X(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},d.nfcall=function(e){var t=X(arguments,1);return d(e).nfapply(t)},g.prototype.nfcall=function(){var e=X(arguments),t=p();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},d.nfbind=d.denodeify=function(e){var t=X(arguments,1);return function(){var n=t.concat(X(arguments)),r=p();return n.push(r.makeNodeResolver()),d(e).fapply(n).fail(r.reject),r.promise}},g.prototype.nfbind=g.prototype.denodeify=function(){var e=X(arguments);return e.unshift(this),d.denodeify.apply(void 0,e)},d.nbind=function(e,t){var n=X(arguments,2);return function(){function r(){return e.apply(t,arguments)}var o=n.concat(X(arguments)),a=p();return o.push(a.makeNodeResolver()),d(r).fapply(o).fail(a.reject),a.promise}},g.prototype.nbind=function(){var e=X(arguments,0);return e.unshift(this),d.nbind.apply(void 0,e)},d.nmapply=d.npost=function(e,t,n){return d(e).npost(t,n)},g.prototype.nmapply=g.prototype.npost=function(e,t){var n=X(t||[]),r=p();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},d.nsend=d.nmcall=d.ninvoke=function(e,t){var n=X(arguments,2),r=p();return n.push(r.makeNodeResolver()),d(e).dispatch("post",[t,n]).fail(r.reject),r.promise},g.prototype.nsend=g.prototype.nmcall=g.prototype.ninvoke=function(e){var t=X(arguments,1),n=p();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},d.nodeify=U,g.prototype.nodeify=function(e){return e?void this.then(function(t){d.nextTick(function(){e(null,t)})},function(t){d.nextTick(function(){e(t)})}):this},d.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var ue=c();return d})}).call(t,n(294),n(776).setImmediate)},function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var o=Function.prototype.apply;t.setTimeout=function(){return new r(o.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(o.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(777),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n2&&void 0!==arguments[2]?arguments[2]:null,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=(0,a.default)(this.cache,e);if(!i&&!o)return null;i?(this.lru=(0,s.default)(this.lru,e),this.lru.push(e)):(this.lru.push(e),this.cancellers[e]=u.default.defer(),this.cache[e]=t(this.cancellers[e].promise).then(function(t){return n.lru.length>n.MAX_ENTRIES&&(delete n.cache[n.lru[0]],n.lru=n.lru.slice(1)),delete n.cancellers[e],t}).catch(function(t){throw delete n.cache[e],delete n.cancellers[e],n.lru=(0,s.default)(n.lru,e),t}));var l=u.default.defer();return this.numberWaitingFor[e]||(this.numberWaitingFor[e]=0),this.numberWaitingFor[e]+=1,r.then(function(){n.numberWaitingFor[e]-=1,0===n.numberWaitingFor[e]&&n.cancellers[e]&&n.cancellers[e].resolve(),l.reject(c)}),this.cache[e].then(function(t){n.numberWaitingFor[e]-=1,l.resolve(t)}),this.cache[e].catch(function(t){n.numberWaitingFor[e]=0,l.reject(t)}),l.promise},filterCancelled:function(e){if(e!==c)throw e;return"__CANCELLED__"}};t.default=f},function(e,t,n){function r(e,t){return null!=e&&a(e,t,o)}var o=n(780),a=n(716);e.exports=r},function(e,t){function n(e,t){return null!=e&&o.call(e,t)}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){var r=n(782),o=n(763),a=n(785),i=o(function(e,t){return a(e)?r(e,t):[]});e.exports=i},function(e,t,n){function r(e,t,n,r){var f=-1,d=a,p=!0,h=e.length,m=[],g=t.length;if(!h)return m;n&&(t=s(t,l(n))),r?(d=i,p=!1):t.length>=c&&(d=u,p=!1,t=new o(t));e:for(;++f-1}var o=n(599);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r0)throw Error("Client is not authenticated");throw Error("Invalid server response type")}if("Error"in e)throw"NotAuthenticated"==e.Error?Error("Not Authenticated"):Error("Error: "+e.Error);if("issue"in e)throw Error(e.issue);return e}function a(e){if("__CANCELLED__"==e||0===e.status&&0==e.readyState)return"__SUPERSEEDED__";throw e}function i(e){return"Error: "+(e.statusText||e.message)}function s(e){var t=Y.default.encode(e);if(t=t.replace(/\+/g,"-"),t=t.replace(/\//g,"_"),Y.default.decode(t)!=e)throw Error("Invalid encoding");return t}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r={url:X,method:t,params:{},timeout:6e4,data:n};for(var o in e.params)null===e.params[o]&&delete e.params[o];return e.cancellation&&e.cancellation.isFulfilled()?Promise.reject("__CANCELLED__"):(0,O.default)((0,Q.default)(r,e)).then(O.default.filterSuccess)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return l(e,t,n).then(O.default.toJSON).then(o)}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.responseType="arraybuffer",l(e,t,n).then(function(e){var t=e.response;return(0,L.default)(t)})}function f(e){return function(t){var n={};return(0,R.default)(e,function(e,r){var o=t.results[e.folder+"_"+e.config+"_"+e.name];o?n[r]={data:V.default.Encoder.Create(o.encoder).decodeArray(o.data),summariser:o.summariser}:n[r]=null}),n}}function d(e){(0,H.assertRequired)(e,["database","chrom","start","end"]),e.stop=e.end;var t={datatype:"annot",table:"annotation",field_start:"fstart",field_stop:"fstop",field_name:"fname",field_id:"fid",field_chrom:"chromid",ftype:"gene",fsubtype:"CDS",subfeatures:"1"},n=(0,Q.default)(t,e);delete n.cancellation;var r=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},r,{params:n})).then(function(e){var t=V.default.ValueListDecoder();return["IDs","Names","ParentIDs","Sizes","Starts","Types"].forEach(function(n){return e[n]=t.doDecode(e[n])}),e={ids:e.IDs,names:e.Names,parents:e.ParentIDs,sizes:e.Sizes,starts:e.Starts,types:e.Types}})}function p(e){(0,H.assertRequired)(e,["chromosome","columns","blocksize","blockstart","blockcount"]);var t={},n=(0,Q.default)(t,e),r=n.chromosome,o=n.columns,a=n.blocksize,i=n.blockstart,s=n.blockcount,l="";(0,R.default)(o,function(e){l.length>0&&(l+="~"),l+=e.folder+"~"+e.config+"~"+e.name});var c=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},c,{params:{datatype:"summinfo",dataid:r,ids:l,blocksize:a,blockstart:i,blockcount:s}})).then(f(o))}function h(e){(0,H.assertRequired)(e,["database","table","tree"]);var t=e.database,n=e.table,r=e.tree,o=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},o,{params:{datatype:"getgraph",database:t,tableid:n,graphid:r}})).then(function(e){return e})}function m(e){return e=Y.default.encode(JSON.stringify(e)),u({method:"POST",params:{datatype:"storedata"},data:e}).then(function(e){return e.id})}function g(e){return u({params:{datatype:"fetchstoredata",id:e}}).then(function(e){return JSON.parse(Y.default.decode(e.content))})}function v(e){(0,H.assertRequired)(e,["database","table","columns","primKey","primKeyValue"]);var t=e.database,n=e.table,r=e.columns,o=e.primKey,a=e.primKeyValue,i=e.cancellation,s=W.default.WhereClause.encode(W.default.WhereClause.CompareFixed(o,"=",a));return k({cancellation:i,database:t,table:n,columns:r,query:s,transpose:!0}).then(function(e){if(0===e.length)throw Error("Tried to get non-existent record "+a);return e[0]})}function y(e){(0,H.assertRequired)(e,["database","search","maxMatches"]);var t=e.database,n=e.search,r=e.maxMatches,o=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},o,{params:{datatype:"findgene",database:t,table:"annotation",pattern:n,count:r,reportall:1}})).then(function(e){var t=V.default.ValueListDecoder();return["Chroms","Descrs","Ends","Hits","IDs","Starts"].forEach(function(n){return e[n]=t.doDecode(e[n])}),e={chromosomes:e.Chroms,descriptions:e.Descrs,ends:e.Ends,hits:e.Hits,ids:e.IDs,starts:e.Starts}})}function b(e){(0,H.assertRequired)(e,["database","chromosome","startPosition","endPosition"]);var t=e.database,n=e.chromosome,r=e.startPosition,o=e.endPosition,a=["fid","fname","descr","fstart","fstop"],i=W.default.WhereClause.encode(W.default.WhereClause.AND([W.default.WhereClause.CompareFixed("chromid","=",n),W.default.WhereClause.CompareFixed("fstop",">=",r),W.default.WhereClause.CompareFixed("fstart","<=",o),W.default.WhereClause.CompareFixed("ftype","=","gene")]));return k({database:t,table:"annotation",columns:a,query:i,transpose:!0})}function A(e){(0,H.assertRequired)(e,["database","geneId"]);var t=e.database,n=e.geneId,r=W.default.WhereClause.encode(W.default.WhereClause.CompareFixed("fid","=",n));return k({database:t,table:"annotation",columns:["fid","chromid","fname","fnames","descr","fstart","fstop","fparentid","ftype"],query:r,transpose:!0}).then(function(e){if(0===e.length)throw Error("Tried to get non-existent record "+n);return e[0]})}function x(e){(0,H.assertRequired)(e,["dataset"]);var t=["id","user","timestamp","name","status","progress","completed","failed","scope"],n=W.default.nullQuery;return k({database:"datasets",table:"calculations",columns:t,query:n,orderBy:[["desc","timestamp"]],transpose:!0,cache:!1})}function _(e){(0,H.assertRequired)(e,["logId"]);var t=e.logId,n=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},n,{params:{datatype:"getcalculationlog",id:t}})).then(function(e){return e.Content})}function w(e){return u({params:{datatype:"fileload_dataset",ScopeStr:"all",SkipTableTracks:"false",datasetid:e}}).then(function(e){return JSON.parse(Y.default.decode(e.content))})}function C(e){(0,H.assertRequired)(e,["database","table"]);var t={query:W.default.nullQuery},n=M({},t,e),r=n.database,o=n.table,a=n.query,i=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},i,{params:{datatype:"getrecordcount",database:r,tbname:o,qry:s(a)}})).then(function(e){return e.TotalRecordCount})}function E(e){(0,H.assertRequired)(e,["dataset","path","action","content"]);var t=e.dataset,n=e.path,r=e.action,o=e.content,a=e.cancellation?{cancellation:e.cancellation}:{};return u(M({},a,{method:"POST",data:JSON.stringify(o),params:{dataset:t,path:n,action:r,datatype:"modifyconfig"}})).then(function(e){return e.config})}function T(e){(0,H.assertRequired)(e,["dataset","table"]);var t={colQry:W.default.WhereClause.encode(W.default.WhereClause.Trivial()),rowQry:W.default.WhereClause.encode(W.default.WhereClause.Trivial()),colOrder:null,rowOrder:null,colProperties:"",rowProperties:"","2DProperties":"",sortMode:null,rowSortProperty:null,rowSortCols:"",colKey:null,rowOffset:null,rowLimit:null,colFailLimit:null,rowRandomSample:null},n=M({},t,e),r=n.dataset,o=n.table,a=n.colQry,i=n.rowQry,l=n.colOrder,u=n.rowOrder,f=n.colProperties,d=n.rowProperties,p=n.sortMode,h=n.rowSortProperty,m=n.rowSortCols,g=n.colKey,v=n.rowOffset,y=n.rowLimit,b=n.colFailLimit,A=n.rowRandomSample,x=M({},t,e)["2DProperties"],_=e.cancellation?{cancellation:e.cancellation}:{};return c(M({},_,{params:{datatype:"2d_query",dataset:r,table:o,colQry:s(a),rowQry:s(i),colOrder:l,rowOrder:u,colProperties:f,rowProperties:d,"2DProperties":x,sortMode:p,rowSortProperty:h,rowSortCols:m,colKey:g,rowOffset:v,rowLimit:y,colFailLimit:b,rowRandomSample:A}}))}function k(e){(0,H.assertRequired)(e,["database","table","columns"]);var t={query:W.default.nullQuery,orderBy:[],groupBy:[],start:void 0,stop:void 0,distinct:!1,transpose:!1,typedArrays:!1,randomSample:void 0,cache:!0},n=M({},t,e),r=n.database,o=n.table,a=n.columns,i=n.query,s=n.orderBy,l=n.groupBy,u=n.start,f=n.stop,d=n.distinct,p=n.transpose,h=n.randomSample,m=n.cache,g=n.typedArrays,v=e.cancellation?{cancellation:e.cancellation}:{};return c(M({},v,{params:{datatype:"query"}}),"POST",JSON.stringify({database:r,table:o,query:i,columns:JSON.stringify(a),limit:(0,z.default)(u)&&(0,z.default)(f)?u+"~"+f:void 0,distinct:d?"true":"false",orderBy:JSON.stringify(s),groupBy:l.join("~"),randomSample:h,cache:m})).then(function(e){if(g)return e;var t=function(){var t={};return(0,R.default)(e,function(e,n){return t[n]=Array.prototype.slice.call(e.array)}),(0,R.default)(t,function(t,n){var r=Z[e[n].type];if(void 0!==r)for(var o=0,a=t.length;o "+n.status),n.status?r.resolve(n):r.reject(n)}catch(e){r.reject(n); -}},n.onprogress=function(e){r.notify(e)},n.open(a,i,!0),this.responseType&&(n.responseType=this.responseType);var s=this.headers;for(var l in s)s.hasOwnProperty(l)&&n.setRequestHeader(l,s[l]);this.withCredentials&&(n.withCredentials=!0);var u=this.data;return void 0!==u&&null!==u?n.send(u):n.send(),this.cancellation.fin(function(){r.promise.isFulfilled()||(o("Qajax cancellation reached."),n.abort())}),this.timeout?r.promise.timeout(this.timeout).fail(function(e){throw e instanceof Error&&(o("Qajax request delay reach in "+a+" "+i),n.abort()),n}):r.promise}},l.defaults=s.prototype,l.Builder=s,l.filterStatus=function(t){var n,r,o=this.log;if(r=typeof t,"function"===r)n=t;else{if("number"!==r)throw"validStatus type "+r+" unsupported";n=function(e){return e===t}}return function(t){var r=0;try{r=t.status}catch(e){o("Qajax: failed to read xhr.status")}return 1223===r&&(r=204),n(r)?e.resolve(t):e.reject(t)}},l.filterSuccess=l.filterStatus(function(e){return e>=200&&e<300||304===e}),l.toJSON=function(t){return e.fcall(function(){return JSON.parse(t.responseText)})},l.getJSON=function(e){return l({url:e,method:"GET"}).then(l.filterSuccess).then(l.toJSON)},l.serialize=o,l})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.readCString();"S"===t&&(t="|S");for(var n=e.readUint8(),r=[],o=0;o":i=l.default.BIG_ENDIAN;break;case"|":i=l.default.LITTLE_ENDIAN;break;default:throw Error("dtype doesn't start with endianness")}var s=void 0,u=t.substring(1);switch(u){case"u1":s=e.readUint8Array(a);break;case"u2":s=e.readUint16Array(a,i);break;case"u4":s=e.readUint32Array(a,i);break;case"i1":s=e.readInt8Array(a);break;case"i2":s=e.readInt16Array(a,i);break;case"i4":s=e.readInt32Array(a,i);break;case"f4":s=e.readFloat32Array(a,i);break;case"f8":s=e.readFloat64Array(a,i);break;case"S":s=[];for(var c=0;cthis._byteLength&&(this._byteLength=t));for(n<1&&(n=1);t>n;)n*=2;var r=new ArrayBuffer(n),o=new Uint8Array(this._buffer),a=new Uint8Array(r,0,o.length);a.set(o),this.buffer=r,this._byteLength=t}},DataStream.prototype._trimAlloc=function(){if(this._byteLength!=this._buffer.byteLength){var e=new ArrayBuffer(this._byteLength),t=new Uint8Array(e),n=new Uint8Array(this._buffer,0,t.length);t.set(n),this.buffer=e}},DataStream.prototype.seek=function(e){var t=Math.max(0,Math.min(this.byteLength,e));this.position=isNaN(t)||!isFinite(t)?0:t},DataStream.prototype.isEof=function(){return this.position>=this.byteLength},DataStream.prototype.mapInt32Array=function(e,t){this._realloc(4*e);var n=new Int32Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=4*e,n},DataStream.prototype.mapInt16Array=function(e,t){this._realloc(2*e);var n=new Int16Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=2*e,n},DataStream.prototype.mapInt8Array=function(e){this._realloc(1*e);var t=new Int8Array(this._buffer,this.byteOffset+this.position,e);return this.position+=1*e,t},DataStream.prototype.mapUint32Array=function(e,t){this._realloc(4*e);var n=new Uint32Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=4*e,n},DataStream.prototype.mapUint16Array=function(e,t){this._realloc(2*e);var n=new Uint16Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=2*e,n},DataStream.prototype.mapUint8Array=function(e){this._realloc(1*e);var t=new Uint8Array(this._buffer,this.byteOffset+this.position,e);return this.position+=1*e,t},DataStream.prototype.mapFloat64Array=function(e,t){this._realloc(8*e);var n=new Float64Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=8*e,n},DataStream.prototype.mapFloat32Array=function(e,t){this._realloc(4*e);var n=new Float32Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=4*e,n},DataStream.prototype.readInt32Array=function(e,t){e=null==e?this.byteLength-this.position/4:e;var n=new Int32Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readInt16Array=function(e,t){e=null==e?this.byteLength-this.position/2:e;var n=new Int16Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readInt8Array=function(e){e=null==e?this.byteLength-this.position:e;var t=new Int8Array(e);return DataStream.memcpy(t.buffer,0,this.buffer,this.byteOffset+this.position,e*t.BYTES_PER_ELEMENT),this.position+=t.byteLength,t},DataStream.prototype.readUint32Array=function(e,t){e=null==e?this.byteLength-this.position/4:e;var n=new Uint32Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readUint16Array=function(e,t){e=null==e?this.byteLength-this.position/2:e;var n=new Uint16Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readUint8Array=function(e){e=null==e?this.byteLength-this.position:e;var t=new Uint8Array(e);return DataStream.memcpy(t.buffer,0,this.buffer,this.byteOffset+this.position,e*t.BYTES_PER_ELEMENT),this.position+=t.byteLength,t},DataStream.prototype.readFloat64Array=function(e,t){e=null==e?this.byteLength-this.position/8:e;var n=new Float64Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readFloat32Array=function(e,t){e=null==e?this.byteLength-this.position/4:e;var n=new Float32Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.writeInt32Array=function(e,t){if(this._realloc(4*e.length),e instanceof Int32Array&&(this.byteOffset+this.position)%e.BYTES_PER_ELEMENT==0)DataStream.memcpy(this._buffer,this.byteOffset+this.position,e.buffer,0,e.byteLength),this.mapInt32Array(e.length,t);else for(var n=0;n0,DataStream.memcpy=function(e,t,n,r,o){var a=new Uint8Array(e,t,o),i=new Uint8Array(n,r,o);a.set(i)},DataStream.arrayToNative=function(e,t){return t==this.endianness?e:this.flipArrayEndianness(e)},DataStream.nativeToEndian=function(e,t){return this.endianness==t?e:this.flipArrayEndianness(e)},DataStream.flipArrayEndianness=function(e){for(var t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=0;no;r--,o++){var a=t[o];t[o]=t[r],t[r]=a}return e},DataStream.createStringFromArray=function(e){for(var t=32768,n=[],r=0;r0},o},c.WhereClause={},c.WhereClause.whcClassGenerator={},c.WhereClause._fieldComparisonOperators=[{ID:"=",name:"=",String:!0,Float:!0,Integer:!0,MultiChoiceInt:!0,Create:function(){return c.WhereClause.CompareFixed("","=","")},fieldType:"value"},{ID:"<>",name:"not =",String:!0,Float:!0,Integer:!0,MultiChoiceInt:!0,Create:function(){return c.WhereClause.CompareFixed("","<>","")},fieldType:"value"},{ID:"<",name:"<",Float:!0,Integer:!0,Create:function(){return c.WhereClause.CompareFixed("","<","")},fieldType:"value"},{ID:">",name:">",Float:!0,Integer:!0,Create:function(){return c.WhereClause.CompareFixed("",">","")},fieldType:"value"},{ID:"<=",name:"<=",Float:!0,Integer:!0,Create:function(){return c.WhereClause.CompareFixed("","<=","")},fieldType:"value"},{ID:">=",name:">=",Float:!0,Integer:!0,Create:function(){return c.WhereClause.CompareFixed("",">=","")},fieldType:"value"},{ID:"between",name:"Between",Float:!0,Integer:!0,Create:function(){return c.WhereClause.CompareBetween("","","")},fieldType:"minMax"},{ID:"CONTAINS",name:"Contains",String:!0,Create:function(){return c.WhereClause.CompareFixed("","CONTAINS","")},fieldType:"value"},{ID:"NOTCONTAINS",name:"Does not contain",String:!0,Create:function(){return c.WhereClause.CompareFixed("","NOTCONTAINS","")},fieldType:"value"},{ID:"STARTSWITH",name:"Starts with",String:!0,Create:function(){return c.WhereClause.CompareFixed("","STARTSWITH","")},fieldType:"value"},{ID:"LIKE",name:"Like",String:!0,Create:function(){return c.WhereClause.CompareFixed("","LIKE","")},fieldType:"value"},{ID:"ISPRESENT",name:"Is present",MultiChoiceInt:!0,Float:!0,Integer:!0,Create:function(){return c.WhereClause.IsPresent()},fieldType:"none"},{ID:"ISABSENT",name:"Is absent",MultiChoiceInt:!0,Float:!0,Integer:!0,Create:function(){return c.WhereClause.IsAbsent()},fieldType:"none"},{ID:"ISNOTEMPTYSTR",name:"Is present",String:!0,Create:function(){return c.WhereClause.IsNotEmptyStr()},fieldType:"none"},{ID:"ISEMPTYSTR",name:"Is absent",String:!0,Create:function(){return c.WhereClause.IsEmptyStr()},fieldType:"none"},{ID:"=FIELD",name:"Equals column",MultiChoiceInt:!0,String:!0,Float:!0,Integer:!0,Create:function(){return c.WhereClause.EqualsField()},fieldType:"otherColumn"},{ID:"<>FIELD",name:"Differs from column",MultiChoiceInt:!0,String:!0,Float:!0,Integer:!0,Create:function(){return c.WhereClause.DiffersField()},fieldType:"otherColumn"},{ID:"FIELD",name:"> Column",Float:!0,Integer:!0,Create:function(){return c.WhereClause.CompareField(">FIELD")},fieldType:"otherColumnWithScaleAndOffset"},{ID:"_subset_",name:"in subset",Create:function(){return c.WhereClause.InSubset()},fieldType:"subset"},{ID:"_note_",name:"has note containing",Create:function(){return c.WhereClause.NoteContains()},fieldType:"note"}],c.WhereClause.getFieldComparisonOperatorInfo=function(e){for(var t in c.WhereClause._fieldComparisonOperators){var n=c.WhereClause._fieldComparisonOperators[t];if(n.ID==e)return n}throw Error("Invalid field comparison operator id "+e)},c.WhereClause.getCompatibleFieldComparisonOperators=function(e){var t=[];for(var n in c.WhereClause._fieldComparisonOperators){var r=c.WhereClause._fieldComparisonOperators[n];r[e]&&t.push(r)}return t},c.WhereClause.whcClassGenerator.comparefixed=function(e){return c.WhereClause.CompareFixed(e.ColName,e.type,e.CompValue)},c.WhereClause.CompareFixed=function(e,t,n){for(var r={},o=!1,a=0;aFIELD",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" <> "+t.fieldInfoMap[e.ColName2].name},e},c.WhereClause.whcClassGenerator.comparefield=function(e){var t=c.WhereClause.CompareField(e.type);return t.ColName=e.ColName,t.ColName2=e.ColName2,t.Factor=e.Factor,t.Offset=e.Offset,t},c.WhereClause.CompareField=function(e){var t={};return t.whcClass="comparefield",t.isCompound=!1,t.ColName="",t.ColName2="",t.type=e,t.Factor=1,t.Offset=0,t.toQueryDisplayString=function(e,n){var r=e.fieldInfoMap[t.ColName].name+" "+t.type[0]+" ";if(Math.abs(t.Factor-1)>1e-9){var o=void 0;if(0==t.Factor)o="0";else{var a=parseFloat(t.Factor),i=Math.max(0,Math.round(4-Math.log(Math.abs(a))/Math.LN10));o=a.toFixed(i)}r+=o+"x"}r+=e.fieldInfoMap[t.ColName2].name;var s=e.fieldInfoMap[t.ColName].toDisplayString(Math.abs(t.Offset));return t.Offset>0&&(r+="+"+s),t.Offset<0&&(r+="-"+s),r},t},c.WhereClause.whcClassGenerator.ispresent=function(e){var t=c.WhereClause.IsPresent();return t.ColName=e.ColName,t},c.WhereClause.IsPresent=function(e){var t={};return e&&(t.ColName=e),t.whcClass="ispresent",t.isCompound=!1,t.type="ISPRESENT",t.toQueryDisplayString=function(e,n){return e.fieldInfoMap[t.ColName].name+" is present"},t},c.WhereClause.whcClassGenerator.isabsent=function(e){var t=c.WhereClause.IsAbsent();return t.ColName=e.ColName,t},c.WhereClause.IsAbsent=function(){var e={};return e.whcClass="isabsent",e.isCompound=!1,e.type="ISABSENT",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" is absent"},e},c.WhereClause.whcClassGenerator.isstringnonempty=function(e){var t=c.WhereClause.IsNotEmptyStr();return t.ColName=e.ColName,t},c.WhereClause.IsNotEmptyStr=function(){var e={};return e.whcClass="isstringnonempty",e.isCompound=!1,e.type="ISNOTEMPTYSTR",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" is present"},e},c.WhereClause.whcClassGenerator.isstringempty=function(e){var t=c.WhereClause.IsEmptyStr();return t.ColName=e.ColName,t},c.WhereClause.IsEmptyStr=function(){var e={};return e.whcClass="isstringempty",e.isCompound=!1,e.type="ISEMPTYSTR",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" is absent"},e},c.WhereClause.whcClassGenerator._subset_=function(e){var t=c.WhereClause.InSubset();return t.Subset=e.Subset,t.SubsetTable=e.SubsetTable,t.PrimKey=e.PrimKey,t},c.WhereClause.InSubset=function(){var e={};return e.whcClass="_subset_",e.isCompound=!1,e.type="_subset_",e.ColName="_subset_",e.toQueryDisplayString=function(e,t){var n="[Unknown]";return e.subsetMap[this.Subset]&&(n=e.subsetMap[this.Subset].name),'in subset "'+n+'"'},e},c.WhereClause.whcClassGenerator._note_=function(e){var t=c.WhereClause.NoteContains();return t.NoteText=e.NoteText,t.PrimKey=e.PrimKey,t.NoteItemTable=e.NoteItemTable,t},c.WhereClause.NoteContains=function(){var e={};return e.whcClass="_note_",e.isCompound=!1,e.type="_note_",e.ColName="_note_",e.NoteText="",e.toQueryDisplayString=function(e,t){return'has note containing "'+this.NoteText+'"'},e},c.WhereClause.whcClassGenerator.trivial=function(e){return c.WhereClause.Trivial()},c.WhereClause.Trivial=function(){var e={};return e.whcClass="trivial",e.isCompound=!1,e.type="",e.isTrivial=!0,e.toQueryDisplayString=function(e,t){return"All"},e},c.WhereClause.whcClassGenerator.none=function(e){return c.WhereClause.None()},c.WhereClause.None=function(){var e={};return e.whcClass="none",e.isCompound=!1,e.type="None",e.isNone=!0,e.toQueryDisplayString=function(e,t){return"None"},e},c.WhereClause.whcClassGenerator.compound=function(e){var t=c.WhereClause.Compound(e.type,[]); -return e.components.forEach(function(e,n){return t.addComponent(c.WhereClause.whcClassGenerator[e.whcClass](e))}),t},c.WhereClause.Compound=function(e,t){if("AND"!=e&&"OR"!=e)throw Error("Invalid compound where clause statement: "+e);var n={};return n.whcClass="compound",n.isCompound=!0,n.type=e,n.components=(0,s.default)(t,function(e){return!e.isTrivial}),null==n.components&&(n.components=[]),n.addComponent=function(e){e.parent=n,this.components.push(e)},n.getComponentCount=function(){return this.components.length},n.inlineIfOneChild=function(){if(1===n.getComponentCount()){var e=n.parent,t=n.isRoot;(0,u.default)(n,n.components[0]),n.parent=e,n.isRoot=t}},n.removeChild=function(e){n.components=n.components.filter(function(t){return t!==e}),n.inlineIfOneChild()},n.toQueryDisplayString=function(e,t){t||(t=0);var r=[];n.components.forEach(function(n,o){return r.push(n.toQueryDisplayString(e,t+1))});var o=" "+n.type+" ",a=r.join(o);return 1==t&&(a="["+a+"]"),t>1&&(a="("+a+")"),a},n},c.WhereClause.AND=function(e){return c.WhereClause.Compound("AND",e)},c.WhereClause.OR=function(e){return c.WhereClause.Compound("OR",e)},c.WhereClause.encode=function(e){function t(e){delete e.parent,e.Components=void 0===e.components?e.Components:e.components,e.Tpe=void 0===e.type?e.Tpe:e.type,e.components&&e.components.forEach(t),delete e.components,delete e.type}e=(0,a.default)(e),t(e);var n=JSON.stringify(e);return n},c.WhereClause.decode=function(e){function t(e,n){n.components=void 0===n.Components?n.components:n.Components,n.type=void 0===n.Tpe?n.type:n.Tpe,delete n.Tpe,delete n.Components,n.components&&n.components.forEach(t.bind(this,n))}function n(e,t){t.parent=e,t.components&&t.components.forEach(n.bind(this,t))}function r(e,t){t.isCompound&&t.inlineIfOneChild(),t.components&&t.components.forEach(r.bind(this,t))}try{e=JSON.parse(e)}catch(e){return console.error("Bad query - can't parse. Using null query"),c.WhereClause.Trivial()}t(null,e);var o=c.WhereClause.whcClassGenerator[e.whcClass](e);return n(null,o),r(null,o),o.isRoot=!0,o},c.WhereClause.clone=function(e){return c.WhereClause.decode(c.WhereClause.encode(e))},c.WhereClause.createRestriction=function(e,t){var n=c.WhereClause.clone(e);return n.isTrivial?t:n.isCompound&&"AND"==n.type?(n.addComponent(t),n):c.WhereClause.AND([n,t])},c.WhereClause.createValueRestriction=function(e,t,n,r){r||(r="=");var o=c.WhereClause.clone(e),a=c.WhereClause.CompareFixed(t,r,n.toString());if(o.isTrivial)return a;var i=null;return o.type==r&&o.ColName==t&&(i=o),o.isCompound&&"AND"==o.type&&o.components.forEach(function(e,n){e.type==r&&e.ColName==t&&(i=e)}),i?(i.CompValue=n,o):o.isCompound&&"AND"==o.type?(o.addComponent(a),o):c.WhereClause.AND([o,a])},c.WhereClause.createRangeRestriction=function(e,t,n,r,o){var a=c.WhereClause.clone(e),i=c.WhereClause.CompareBetween(t,n.toString(),r.toString());if(a.isTrivial)return i;var s=null;return"between"==a.type&&a.ColName==t&&(s=a),a.isCompound&&"AND"==a.type&&a.components.forEach(function(e,n){"between"==e.type&&e.ColName==t&&(s=e)}),s?(o?(s.CompValueMin=n.toString(),s.CompValueMax=r.toString()):(s.CompValueMin=Math.max(parseFloat(s.CompValueMin),parseFloat(n)).toString(),s.CompValueMax=Math.min(parseFloat(s.CompValueMax),parseFloat(r)).toString()),a):a.isCompound&&"AND"==a.type?(a.addComponent(i),a):c.WhereClause.AND([a,i])},c.TableSort=function(e){var t={};return t.columnList=e,t.getPrimaryColumnID=function(){return this.columnList[this.columnList.length-1]},t.toString=function(){return this.columnList.join("~")},t},c.nullQuery=c.WhereClause.encode(c.WhereClause.Trivial()),t.default=c},function(e,t,n){function r(e){return o(e,a|i)}var o=n(795),a=1,i=4;e.exports=r},function(e,t,n){function r(e,t,n,k,P,M){var S,I=t&w,L=t&C,B=t&E;if(n&&(S=P?n(e,k,P,M):n(e)),void 0!==S)return S;if(!x(e))return e;var F=b(e);if(F){if(S=g(e),!I)return c(e,S)}else{var R=m(e),j=R==D||R==O;if(A(e))return u(e,I);if(R==N||R==T||j&&!P){if(S=L||j?{}:y(e),!I)return L?d(e,l(S,e)):f(e,s(S,e))}else{if(!J[R])return P?e:{};S=v(e,R,r,I)}}M||(M=new o);var z=M.get(e);if(z)return z;M.set(e,S);var H=B?L?h:p:L?keysIn:_,U=F?void 0:H(e);return a(U||e,function(o,a){U&&(a=o,o=e[a]),i(S,a,r(o,t,n,a,e,M))}),S}var o=n(641),a=n(734),i=n(758),s=n(796),l=n(797),u=n(801),c=n(802),f=n(803),d=n(804),p=n(690),h=n(807),m=n(695),g=n(808),v=n(809),y=n(820),b=n(607),A=n(618),x=n(300),_=n(613),w=1,C=2,E=4,T="[object Arguments]",k="[object Array]",P="[object Boolean]",M="[object Date]",S="[object Error]",D="[object Function]",O="[object GeneratorFunction]",I="[object Map]",L="[object Number]",N="[object Object]",B="[object RegExp]",F="[object Set]",R="[object String]",j="[object Symbol]",z="[object WeakMap]",H="[object ArrayBuffer]",U="[object DataView]",W="[object Float32Array]",q="[object Float64Array]",V="[object Int8Array]",G="[object Int16Array]",Y="[object Int32Array]",K="[object Uint8Array]",Q="[object Uint8ClampedArray]",X="[object Uint16Array]",Z="[object Uint32Array]",J={};J[T]=J[k]=J[H]=J[U]=J[P]=J[M]=J[W]=J[q]=J[V]=J[G]=J[Y]=J[I]=J[L]=J[N]=J[B]=J[F]=J[R]=J[j]=J[K]=J[Q]=J[X]=J[Z]=!0,J[S]=J[D]=J[z]=!1,e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,a(t),e)}var o=n(761),a=n(613);e.exports=r},function(e,t,n){function r(e,t){return e&&o(t,a(t),e)}var o=n(761),a=n(798);e.exports=r},function(e,t,n){function r(e){return i(e)?o(e,!0):a(e)}var o=n(614),a=n(799),i=n(603);e.exports=r},function(e,t,n){function r(e){if(!o(e))return i(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var o=n(300),a=n(627),i=n(800),s=Object.prototype,l=s.hasOwnProperty;e.exports=r},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}var o=n(302),a="object"==typeof t&&t&&!t.nodeType&&t,i=a&&"object"==typeof e&&e&&!e.nodeType&&e,s=i&&i.exports===a,l=s?o.Buffer:void 0,u=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n(619)(e))},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n>=1;return o},t.getRecordLength=function(){return this.byteCount},t},o.Encoder.MultiCatCount=function(e){var t={};n(e.CatCount),n(e.EncoderLen),t.catCount=parseInt(e.CatCount),t.encoderlen=parseInt(e.EncoderLen);var r=o.B64();return t.decodeArray=function(e){for(var n=e.length,o=[],a=0;a>2,s=(3&r)<<4|o>>4,l=(15&o)<<2|a>>6,u=63&a,isNaN(o)?l=u=64:isNaN(a)&&(u=64),t=t+this._keyStr.charAt(i)+this._keyStr.charAt(s)+this._keyStr.charAt(l)+this._keyStr.charAt(u);return t},decode:function(e){for(var t="",r=void 0,o=void 0,a=void 0,i=void 0,s=void 0,l=void 0,u=void 0,c=0;c>4,o=(15&s)<<4|l>>2,a=(3&l)<<6|u,t+=String.fromCharCode(r),64!=l&&(t+=String.fromCharCode(o)),64!=u&&(t+=String.fromCharCode(a));return t=n._utf8Decode(t)},_utf8Encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},_utf8Decode:function(e){var t="",n=0,r=void 0,o=void 0,a=void 0;for(r=o=0;n191&&r<224?(o=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&o),n+=2):(o=e.charCodeAt(n+1),a=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&a),n+=3);return t}};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(736),f=r(c),d=n(825),p=r(d),h=n(597),m=r(h),g=n(607),v=r(g),y=a.default.createClass({displayName:"PopupButton",mixins:[s.default,u.default],propTypes:{label:a.default.PropTypes.string,icon:a.default.PropTypes.string,children:a.default.PropTypes.node,target:a.default.PropTypes.string},getDefaultProps:function(){return{label:"Untitled",icon:"circle",target:"popup"}},handleClick:function(e){var t=this.props,n=t.children,r=t.target,o=1==e.button||e.metaKey||e.ctrlKey;"tab"===r?this.getFlux().actions.session.tabOpen((0,m.default)(this,n),!o):this.getFlux().actions.session.popupOpen((0,m.default)(this,n),!o)},render:function(){var e=this.props,t=e.children,n=e.label,r=e.icon;if(t=(0,m.default)(this,t),(0,v.default)(t))throw Error("PopupButton can only have one child");if(!t)throw Error("PopupButton can only have one child not none");return a.default.createElement(p.default,{style:{margin:"7px",color:"white"},label:n,primary:!0,icon:r?a.default.createElement(f.default,{inverse:!0,name:r}):null,labelStyle:{textTransform:"inherit"},onClick:this.handleClick})}});t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(826),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=t.muiTheme,o=r.baseTheme,a=r.button,i=r.raisedButton,s=e.disabled,l=e.disabledBackgroundColor,u=e.disabledLabelColor,c=e.fullWidth,f=e.icon,d=e.label,p=e.labelPosition,h=e.primary,m=e.secondary,g=e.style,v=h||m?.4:.08,y=i.color,b=i.textColor;s?(y=l||i.disabledColor,b=u||i.disabledTextColor):h?(y=i.primaryColor,b=i.primaryTextColor):m?(y=i.secondaryColor,b=i.secondaryTextColor):(e.backgroundColor&&(y=e.backgroundColor),e.labelColor&&(b=e.labelColor));var A=g&&g.height||a.height,x=2;return{root:{display:"inline-block",transition:C.default.easeOut(),minWidth:c?"100%":a.minWidth},button:{height:A,lineHeight:A+"px",width:"100%",padding:0,borderRadius:x,transition:C.default.easeOut(),backgroundColor:y,textAlign:"center"},label:{position:"relative",opacity:1,fontSize:i.fontSize,letterSpacing:0,textTransform:i.textTransform||a.textTransform||"uppercase",fontWeight:i.fontWeight,margin:0,userSelect:"none",paddingLeft:f&&"before"!==p?8:o.spacing.desktopGutterLess,paddingRight:f&&"before"===p?8:o.spacing.desktopGutterLess,color:b},icon:{verticalAlign:"middle",marginLeft:d&&"before"!==p?12:0,marginRight:d&&"before"===p?12:0},overlay:{height:A,borderRadius:x,backgroundColor:(n.keyboardFocused||n.hovered)&&!s&&(0,E.fade)(b,v),transition:C.default.easeOut(),top:0},ripple:{color:b,opacity:h||m?.16:.1}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(827),i=r(a),s=n(865),l=r(s),u=n(866),c=r(u),f=n(871),d=r(f),p=n(872),h=r(p),m=n(876),g=r(m),v=n(911),y=r(v),b=n(919),A=r(b),x=n(321),_=r(x),w=n(920),C=r(w),E=n(921),T=n(922),k=n(925),P=r(k),M=n(951),S=r(M),D=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;su;)for(var d,p=s(arguments[u++]),h=c?r(p).concat(c(p)):r(p),m=h.length,g=0;m>g;)f.call(p,d=h[g++])&&(n[d]=p[d]);return n}:l},function(e,t,n){var r=n(848),o=n(861);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(849),o=n(850),a=n(854)(!1),i=n(858)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(851),o=n(853);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(852);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(850),o=n(855),a=n(857);e.exports=function(e){return function(t,n,i){var s,l=r(t),u=o(l.length),c=a(i,u);if(e&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(856),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(856),o=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):a(e,t)}},function(e,t,n){var r=n(859)("keys"),o=n(860);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(832),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(853);e.exports=function(e){return Object(r(e))}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){e.exports={default:n(867),__esModule:!0}},function(e,t,n){n(868),e.exports=n(833).Object.getPrototypeOf},function(e,t,n){var r=n(864),o=n(869);n(870)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(849),o=n(864),a=n(858)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(831),o=n(833),a=n(842);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(873),a=r(o);t.default=function(){function e(e,t){for(var n=0;n=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(856),o=n(853);e.exports=function(e){return function(t,n){var a,i,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):(a-55296<<10)+(i-56320)+65536)}}},function(e,t,n){"use strict";var r=n(883),o=n(831),a=n(884),i=n(836),s=n(849),l=n(885),u=n(886),c=n(890),f=n(869),d=n(891)("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",g="values",v=function(){return this};e.exports=function(e,t,n,y,b,A,x){u(n,t,y);var _,w,C,E=function(e){ -if(!p&&e in M)return M[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)}}return function(){return new n(this,e)}},T=t+" Iterator",k=b==g,P=!1,M=e.prototype,S=M[d]||M[h]||b&&M[b],D=S||E(b),O=b?k?E("entries"):D:void 0,I="Array"==t?M.entries||S:S;if(I&&(C=f(I.call(new e)),C!==Object.prototype&&(c(C,T,!0),r||s(C,d)||i(C,d,v))),k&&S&&S.name!==g&&(P=!0,D=function(){return S.call(this)}),r&&!x||!p&&!P&&M[d]||i(M,d,D),l[t]=D,l[T]=v,b)if(_={values:k?D:E(g),keys:A?D:E(m),entries:O},x)for(w in _)w in M||a(M,w,_[w]);else o(o.P+o.F*(p||P),t,_);return _}},function(e,t){e.exports=!0},function(e,t,n){e.exports=n(836)},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(887),o=n(845),a=n(890),i={};n(836)(i,n(891)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(838),o=n(888),a=n(861),i=n(858)("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n(843)("iframe"),r=a.length,o="<",i=">";for(t.style.display="none",n(889).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),u=e.F;r--;)delete u[l][a[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[i]=e):n=u(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(837),o=n(838),a=n(847);e.exports=n(841)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,l=0;s>l;)r.f(e,n=i[l++],t[n]);return e}},function(e,t,n){e.exports=n(832).document&&document.documentElement},function(e,t,n){var r=n(837).f,o=n(849),a=n(891)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(859)("wks"),o=n(860),a=n(832).Symbol,i="function"==typeof a,s=e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))};s.store=r},function(e,t,n){n(893);for(var r=n(832),o=n(836),a=n(885),i=n(891)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],f=c&&c.prototype;f&&!f[i]&&o(f,i,u),a[u]=a.Array}},function(e,t,n){"use strict";var r=n(894),o=n(895),a=n(885),i=n(850);e.exports=n(882)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){t.f=n(891)},function(e,t,n){e.exports={default:n(898),__esModule:!0}},function(e,t,n){n(899),n(908),n(909),n(910),e.exports=n(833).Symbol},function(e,t,n){"use strict";var r=n(832),o=n(849),a=n(841),i=n(831),s=n(884),l=n(900).KEY,u=n(842),c=n(859),f=n(890),d=n(860),p=n(891),h=n(896),m=n(901),g=n(902),v=n(903),y=n(904),b=n(838),A=n(850),x=n(844),_=n(845),w=n(887),C=n(905),E=n(907),T=n(837),k=n(847),P=E.f,M=T.f,S=C.f,D=r.Symbol,O=r.JSON,I=O&&O.stringify,L="prototype",N=p("_hidden"),B=p("toPrimitive"),F={}.propertyIsEnumerable,R=c("symbol-registry"),j=c("symbols"),z=c("op-symbols"),H=Object[L],U="function"==typeof D,W=r.QObject,q=!W||!W[L]||!W[L].findChild,V=a&&u(function(){return 7!=w(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=P(H,t);r&&delete H[t],M(e,t,n),r&&e!==H&&M(H,t,r)}:M,G=function(e){var t=j[e]=w(D[L]);return t._k=e,t},Y=U&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},K=function(e,t,n){return e===H&&K(z,t,n),b(e),t=x(t,!0),b(n),o(j,t)?(n.enumerable?(o(e,N)&&e[N][t]&&(e[N][t]=!1),n=w(n,{enumerable:_(0,!1)})):(o(e,N)||M(e,N,_(1,{})),e[N][t]=!0),V(e,t,n)):M(e,t,n)},Q=function(e,t){b(e);for(var n,r=v(t=A(t)),o=0,a=r.length;a>o;)K(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?w(e):Q(w(e),t)},Z=function(e){var t=F.call(this,e=x(e,!0));return!(this===H&&o(j,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(j,e)||o(this,N)&&this[N][e])||t)},J=function(e,t){if(e=A(e),t=x(t,!0),e!==H||!o(j,t)||o(z,t)){var n=P(e,t);return!n||!o(j,t)||o(e,N)&&e[N][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=S(A(e)),r=[],a=0;n.length>a;)o(j,t=n[a++])||t==N||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===H,r=S(n?z:A(e)),a=[],i=0;r.length>i;)!o(j,t=r[i++])||n&&!o(H,t)||a.push(j[t]);return a};U||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(z,n),o(this,N)&&o(this[N],e)&&(this[N][e]=!1),V(this,e,_(1,n))};return a&&q&&V(H,e,{configurable:!0,set:t}),G(e)},s(D[L],"toString",function(){return this._k}),E.f=J,T.f=K,n(906).f=C.f=$,n(863).f=Z,n(862).f=ee,a&&!n(883)&&s(H,"propertyIsEnumerable",Z,!0),h.f=function(e){return G(p(e))}),i(i.G+i.W+i.F*!U,{Symbol:D});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var te=k(p.store),ne=0;te.length>ne;)m(te[ne++]);i(i.S+i.F*!U,"Symbol",{for:function(e){return o(R,e+="")?R[e]:R[e]=D(e)},keyFor:function(e){if(Y(e))return g(R,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!U,"Object",{create:X,defineProperty:K,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:$,getOwnPropertySymbols:ee}),O&&i(i.S+i.F*(!U||u(function(){var e=D();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!Y(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&y(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,I.apply(O,r)}}}),D[L][B]||n(836)(D[L],B,D[L].valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(860)("meta"),o=n(839),a=n(849),i=n(837).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(842)(function(){return l(Object.preventExtensions({}))}),c=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return u&&h.NEED&&l(e)&&!a(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,n){var r=n(832),o=n(833),a=n(883),i=n(896),s=n(837).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(847),o=n(850);e.exports=function(e,t){for(var n,a=o(e),i=r(a),s=i.length,l=0;s>l;)if(a[n=i[l++]]===t)return n}},function(e,t,n){var r=n(847),o=n(862),a=n(863);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,s=n(e),l=a.f,u=0;s.length>u;)l.call(e,i=s[u++])&&t.push(i);return t}},function(e,t,n){var r=n(852);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(850),o=n(906).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(848),o=n(861).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(863),o=n(845),a=n(850),i=n(844),s=n(849),l=n(840),u=Object.getOwnPropertyDescriptor;t.f=n(841)?u:function(e,t){if(e=a(e),t=i(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t){},function(e,t,n){n(901)("asyncIterator")},function(e,t,n){n(901)("observable")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(912),a=r(o),i=n(916),s=r(i),l=n(877),u=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,u.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,n){e.exports={default:n(913),__esModule:!0}},function(e,t,n){n(914),e.exports=n(833).Object.setPrototypeOf},function(e,t,n){var r=n(831);r(r.S,"Object",{setPrototypeOf:n(915).set})},function(e,t,n){var r=n(839),o=n(838),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(834)(Function.call,n(907).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){e.exports={default:n(917),__esModule:!0}},function(e,t,n){n(918);var r=n(833).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(831);r(r.S,"Object",{create:n(887)})},function(e,t){e.exports=function(e){for(var t=1;tn?n:e}function r(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],o+=4===n.length?", "+e.values[3]+")":")"}function o(e){if(4===e.length){for(var t="#",n=1;n-1){var t=e.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?c(e,t):f(e,t)}function u(e,t){return e=a(e),t=n(t,0,1),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,r(e)}function c(e,t){if(e=a(e),t=n(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var o=0;o<3;o++)e.values[o]*=1-t;return r(e)}function f(e,t){if(e=a(e),t=n(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var o=0;o<3;o++)e.values[o]+=(255-e.values[o])*t;return r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=r,t.convertHexToRGB=o,t.decomposeColor=a,t.getContrastRatio=i,t.getLuminance=s,t.emphasize=l,t.fade=u,t.darken=c,t.lighten=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={},n=0,r=void 0;for(var o in e){var a=e[o];a&&(0===n&&(r=o),t[o]=a,n++)}if(0!==n)return 1===n?t[r]:(0,u.default)(t)}function a(e,t,n){return s.default.Children.map(e,function(e){if(!s.default.isValidElement(e))return e;var r="function"==typeof t?t(e):t,o="function"==typeof n?n(e):n?n:e.props.children;return s.default.cloneElement(e,r,o)})}Object.defineProperty(t,"__esModule",{value:!0}),t.createChildFragment=o,t.extendChildren=a;var i=n(321),s=r(i),l=n(923),u=r(l)},function(e,t,n){e.exports=n(924).create},function(e,t,n){"use strict";var r=n(326),o=n(324),a=n(328),i=n(331),s=(n(327),n(330),{create:function(e){if("object"!=typeof e||!e||Array.isArray(e))return e;if(a.isValidElement(e))return e;1===e.nodeType?r("0"):void 0;var t=[];for(var n in e)o.mapIntoWithKeyPrefixInternal(e[n],t,n,i.thatReturnsArgument);return t}});e.exports=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){if(!I){var e=document.createElement("style");e.innerHTML="\n button::-moz-focus-inner,\n input::-moz-focus-inner {\n border: 0;\n padding: 0;\n }\n ",document.body.appendChild(e),I=!0}}function a(){L||(T.default.on(window,"keydown",function(e){N="tab"===(0,P.default)(e)}),L=!0)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(827),s=r(i),l=n(865),u=r(l),c=n(866),f=r(c),d=n(871),p=r(d),h=n(872),m=r(h),g=n(876),v=r(g),y=n(911),b=r(y),A=n(919),x=r(A),_=n(321),w=r(_),C=n(922),E=n(926),T=r(E),k=n(927),P=r(k),M=n(928),S=r(M),D=n(937),O=r(D),I=!1,L=!1,N=!1,B=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s=0;a--)this.on(e,r[a],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,function(){n.call(e)})},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return["keydown","keypress","keyup"].indexOf(e.type)!==-1}}},function(e,t){t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var o=String(e),i=n[o.toLowerCase()];if(i)return i;var i=r[o.toLowerCase()];return i?i:1===o.length?o.charCodeAt(0):void 0};var n=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*! - * Programatically add the following - */ -for(o=97;o<123;o++)n[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)n[o-48]=o;for(o=1;o<13;o++)n["f"+o]=o+111;for(o=0;o<10;o++)n["numpad "+o]=o+96;var a=t.names=t.title={};for(o in n)a[n[o]]=o;for(var i in r)n[i]=r[i]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(866),a=r(o),i=n(871),s=r(i),l=n(872),u=r(l),c=n(876),f=r(c),d=n(911),p=r(d),h=n(919),m=r(h),g=n(321),v=r(g),y=n(348),b=r(y),A=n(929),x=r(A),_=n(930),w=r(_),C=n(920),E=r(C),T=n(931),k=r(T),P=750,M=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,l=Array(i),u=0;u300)return void r.stopListeningForScrollAbort();var n=Math.abs(e.touches[0].clientY-r.firstTouchY),o=Math.abs(e.touches[0].clientX-r.firstTouchX);if(n>6||o>6){var i=r.state.ripples,s=i[0],l=x.default.cloneElement(s,{aborted:!0});i=S(i),i=[].concat((0,a.default)(i),[l]),r.setState({ripples:i},function(){r.end()})}},r.ignoreNextMouseDown=!1,r.state={hasRipples:!1,nextKey:0,ripples:[]},r}return(0,m.default)(t,e),(0,f.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(this.ignoreNextMouseDown&&!t)return void(this.ignoreNextMouseDown=!1);var r=this.state.ripples;r=[].concat((0,a.default)(r),[x.default.createElement(M.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:r})}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:S(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=w.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=k.default.offset(t),a=e.touches&&e.touches.length,i=a?e.touches[0].pageX:e.pageX,s=a?e.touches[0].pageY:e.pageY,l=i-o.left,u=s-o.top,c=this.calcDiag(l,u),f=this.calcDiag(r-l,u),d=this.calcDiag(r-l,n-u),p=this.calcDiag(l,n-u),h=Math.max(c,f,d,p),m=2*h,g=l-h,v=u-h;return{directionInvariant:!0,height:m,width:m,top:v,left:g}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,a=r.ripples,i=this.context.muiTheme.prepareStyles,s=void 0;if(o){var l=(0,b.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none"},n);s=x.default.createElement(E.default,{style:i(l)},a)}return x.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},s,t)}}]),t}(A.Component);D.defaultProps={abortOnScroll:!0},D.contextTypes={muiTheme:A.PropTypes.object.isRequired},t.default=D},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(939),a=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(d);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=l(d.length),n=new p(t);t>v;v++)u(n,v,g?m(d[v],v):d[v]);else for(f=y.call(d),n=new p;!(o=f.next()).done;v++)u(n,v,g?i(f,m,[o.value,v],!0):o.value);return n.length=v,n}})},function(e,t,n){var r=n(838);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){var r=n(885),o=n(891)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},function(e,t,n){"use strict";var r=n(837),o=n(845);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(946),o=n(891)("iterator"),a=n(885);e.exports=n(833).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[r(e)]}},function(e,t,n){var r=n(852),o=n(891)("toStringTag"),a="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),o))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(891)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(939),a=r(o);t.default=function(e){return Array.isArray(e)?e:(0,a.default)(e)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDescendant:function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(827),a=r(o),i=n(865),s=r(i),l=n(866),u=r(l),c=n(871),f=r(c),d=n(872),p=r(d),h=n(876),m=r(h),g=n(911),v=r(g),y=n(919),b=r(y),A=n(321),x=r(A),_=n(348),w=r(_),C=n(929),E=r(C),T=n(930),k=r(T),P=n(920),M=r(P),S=function(e){function t(){return(0,f.default)(this,t),(0,m.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,v.default)(t,e),(0,p.default)(t,[{key:"shouldComponentUpdate",value:function(e){return!(0,E.default)(this.props,e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=w.default.findDOMNode(this).style;t.opacity=0;var n=this.props.aborted?0:2e3;this.enterTimer=setTimeout(e,n)}},{key:"animate",value:function(){var e=w.default.findDOMNode(this).style,t=M.default.easeOut("2s","opacity")+", "+M.default.easeOut("1s","transform");k.default.set(e,"transition",t),k.default.set(e,"transform","scale(1)")}},{key:"initializeAnimation",value:function(e){var t=w.default.findDOMNode(this).style;t.opacity=this.props.opacity,k.default.set(t,"transform","scale(0)"),this.leaveTimer=setTimeout(e,0)}},{key:"render",value:function(){var e=this.props,t=(e.aborted,e.color),n=(e.opacity,e.style),r=(e.touchGenerated,(0,s.default)(e,["aborted","color","opacity","style","touchGenerated"])),o=this.context.muiTheme.prepareStyles,i=(0,b.default)({position:"absolute",top:0,left:0,height:"100%",width:"100%",borderRadius:"50%",backgroundColor:t},n);return x.default.createElement("div",(0,a.default)({},r,{style:o(i)}))}}]),t}(A.Component);S.defaultProps={opacity:.1,aborted:!1},S.contextTypes={muiTheme:A.PropTypes.object.isRequired},t.default=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(952),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.rounded,r=e.circle,o=e.transitionEnabled,a=e.zDepth,i=t.muiTheme,s=i.baseTheme,l=i.paper;return{root:{color:l.color,backgroundColor:l.backgroundColor,transition:o&&E.default.easeOut(),boxSizing:"border-box",fontFamily:s.fontFamily,WebkitTapHighlightColor:"rgba(0,0,0,0)",boxShadow:l.zDepthShadows[a-1],borderRadius:r?"50%":n?"2px":"0px"}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(827),i=r(a),s=n(865),l=r(s),u=n(866),c=r(u),f=n(871),d=r(f),p=n(872),h=r(p),m=n(876),g=r(m),v=n(911),y=r(v),b=n(919),A=r(b),x=n(321),_=r(x),w=n(953),C=(r(w),n(920)),E=r(C),T=function(e){function t(){return(0,d.default)(this,t),(0,g.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.circle,e.rounded,e.style),r=(e.transitionEnabled,e.zDepth,(0,l.default)(e,["children","circle","rounded","style","transitionEnabled","zDepth"])),a=this.context.muiTheme.prepareStyles,s=o(this.props,this.context);return _.default.createElement("div",(0,i.default)({},r,{style:a((0,A.default)(s.root,n))}),t)}}]),t}(x.Component);T.defaultProps={circle:!1,rounded:!0,transitionEnabled:!0,zDepth:1},T.contextTypes={muiTheme:x.PropTypes.object.isRequired},t.default=T},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(321),o=r.PropTypes.oneOf(["left","middle","right"]),a=r.PropTypes.oneOf(["top","center","bottom"]);t.default={corners:r.PropTypes.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:o,vertical:a,origin:r.PropTypes.shape({horizontal:o,vertical:a}),cornersAndCenter:r.PropTypes.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:r.PropTypes.oneOfType([r.PropTypes.string,r.PropTypes.number]),zDepth:r.PropTypes.oneOf([0,1,2,3,4,5])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(736),u=r(l),c=n(825),f=r(c),d=a.default.createClass({displayName:"ExternalLinkButton",mixins:[s.default],propTypes:{label:a.default.PropTypes.string,urls:a.default.PropTypes.array},handleClick:function(e){this.props.urls.forEach(function(e){return window.open(e,"_blank")})},render:function(){var e=this.props.label;return a.default.createElement(f.default,{style:{margin:"7px",color:"white"},label:e,primary:!0,icon:a.default.createElement(u.default,{name:"external-link"}),labelStyle:{textTransform:"inherit"},onClick:this.handleClick})}});t.default=d},function(e,t){"use strict";function n(e,t,n){console.error(t);var r={title:"Error",level:"error",message:t,autoDismiss:0,action:{label:"Retry",callback:n}};n&&(r.action={label:"Retry",callback:n}),e.actions.session.notify(r)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t0?s.default.createElement("span",null," or pick from example channel sets on the sidebar"):null))}}),be=s.default.createClass({displayName:"AddChannelsButton",mixins:[p.default,m.default],shouldComponentUpdate:function(){return!1},channelGroups:function e(){var e={};if((0,x.default)(this.config.tables,function(t){t.hasGenomePositions&&!t.isHidden&&!function(){e[t.id]={name:t.capNamePlural,icon:t.icon};var n={},r="_UNGROUPED_";(0,x.default)((0,w.default)(t.properties,function(e){return e.showInBrowser&&e.id!==t.chromosome&&e.id!==t.position}),function(e){var o=void 0!==e.groupId?e.groupId:r;n.hasOwnProperty(o)||(n[o]={name:t.propertyGroupsById[o].name,items:[]}),e.isCategorical||e.isBoolean?n[o].items.push({name:e.name,description:e.description,icon:e.icon,payload:(0,v.default)(s.default.createElement(W.default,{table:t.id,track:e.id}))}):e.isNumerical&&n[o].items.push({name:e.name,description:e.description,icon:e.icon,payload:(0,v.default)(s.default.createElement(Y.default,{table:t.id},s.default.createElement(V.default,{table:t.id,track:e.id})))})}),e[t.id].itemGroups=n,e[t.id].itemGroups[r]=e[t.id].itemGroups[r]||{items:[]},e[t.id].itemGroups[r].items.unshift({name:t.capNamePlural,description:"Positions of "+t.namePlural,icon:"caret-up",payload:(0,v.default)(s.default.createElement(Z.default,{table:t.id}))})}()}),this.config.twoDTables.length>0){var t="_2D_tables_";e[t]={name:"Genotypes",icon:"bitmap:genomebrowser.png"};var n=(0,b.default)((0,w.default)(this.config.twoDTables,"showInGenomeBrowser"),function(e){return{name:e.namePlural,description:e.description,icon:"table",payload:(0,v.default)(s.default.createElement(Q.default,{table:e.id}))}});e[t].items=(0,D.default)(n)}return e},handleChannelAdd:function(e){this.getFlux().actions.session.modalClose(),this.props.setProps(function(t){return t.update("children",u.default.List(),function(t){return t.concat(e)})})},render:function(){var e=this,t=this.getFlux().actions;return s.default.createElement(re.default,{label:"Add Channels",primary:!0,icon:s.default.createElement(j.default,{fixedWidth:!0,name:"plus"}),onClick:function(){return t.session.modalOpen(s.default.createElement($.default,{title:"Pick channels to be added",itemName:"channel",groupName:"group",pickVerb:"add",groups:e.channelGroups(),onPick:e.handleChannelAdd}))}})}}),Ae=s.default.createClass({displayName:"SidebarContent",mixins:[p.default,m.default],shouldComponentUpdate:function(){return!1},setProps:function(e){this.props.setProps(e)},render:function(){var e=this,t=this.getFlux().actions;return s.default.createElement("div",{className:"sidebar"},s.default.createElement(F.default,{icon:"bitmap:genomebrowser.png",description:"A browser for exploring the reference genome and per-sample data including coverage and mapping qualities."}),s.default.createElement(be,{setProps:this.setProps}),s.default.createElement(N.default,null),this.config.settings.genomeBrowserChannelSets.length?s.default.createElement(oe.List,null,s.default.createElement(ie.default,null,"Example channel sets:"),(0,b.default)(this.config.settings.genomeBrowserChannelSets,function(n,r){var o=n.name,a=n.description,i=n.channels;return s.default.createElement(oe.ListItem,{key:r,primaryText:o,secondaryText:a,secondaryTextLines:2,onClick:function(){return e.props.setProps(function(e){return e.set("children",u.default.fromJS(i))})},rightIconButton:e.config.user.isManager?s.default.createElement(le.default,{tooltip:"Delete",onClick:function(n){return t.api.modifyConfig({dataset:e.config.dataset,path:"settings.genomeBrowserChannelSets."+r,action:"delete"})}},s.default.createElement(j.default,{name:"trash-o",inverse:!1})):null})})):null,this.config.user.isManager?s.default.createElement(re.default,{label:"Save channel set",primary:!0,icon:s.default.createElement(j.default,{fixedWidth:!0,name:"floppy-o"}),onClick:function(){return t.session.modalOpen(s.default.createElement(te.default,{inputs:["name","description"],names:["Name","Description"],action:"save",actionIcon:"floppy-o",onCancel:t.session.modalClose,onAction:function(n){var r=n.name,o=n.description;t.api.modifyConfig({dataset:e.config.dataset,path:"settings.genomeBrowserChannelSets",action:"merge",content:[{name:r,description:o,channels:s.default.Children.map(e.props.children,v.default)}]}),t.session.modalClose()}}))}}):null,this.config.user.isManager?s.default.createElement(N.default,null):null,s.default.createElement(ie.default,null,"Open tables for:"),(0,b.default)(this.config.visibleTables,function(t){if(t.hasGenomePositions||t.isRegionOnGenome)return s.default.createElement(re.default,{key:t.id,label:t.namePlural+" in view",primary:!0,icon:s.default.createElement(j.default,{fixedWidth:!0,name:t.icon}),onClick:function(){var n=e.props,r=n.chromosome,o=n.start,a=n.end;o=(0,E.default)(o)?o:0,a=((0,E.default)(a)?a:e.config.chromosomes[r])||1e4,r=r||(0,k.default)((0,M.default)(e.config.chromosomes));var i=null;t.hasGenomePositions?i=ge.default.WhereClause.encode(ge.default.WhereClause.AND([ge.default.WhereClause.CompareFixed(t.chromosome,"=",r),ge.default.WhereClause.CompareFixed(t.position,">=",Math.floor(o)),ge.default.WhereClause.CompareFixed(t.position,"<=",Math.ceil(a))])):t.isRegionOnGenome&&(i=ge.default.WhereClause.encode(ge.default.WhereClause.AND([ge.default.WhereClause.CompareFixed(t.chromosome,"=",r),ge.default.WhereClause.CompareFixed(t.regionStart,"<=",Math.ceil(a)),ge.default.WhereClause.CompareFixed(t.regionStop,">=",Math.floor(o))]))),t.listView?e.flux.actions.session.tabOpen(s.default.createElement(de.default,{table:t.id,query:i}),!0):e.flux.actions.session.tabOpen(s.default.createElement(he.default,{table:t.id,query:i}),!0)}})}))}});t.default=ve},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){if((0,A.default)(e))throw Error("Attempted to serialise an array - need React component");if((0,g.default)(e))return e;var t=(0,d.default)(e.type);if("Component"==t)throw Error("Attempted to serialise a non React component");var n=e.props,r=n.children,s=o(n,["children"]),u={};return(0,h.default)(s,function(e,t){(0,y.default)(e)||(u[t]=e)}),r=l.default.Children.map(r,a)||void 0,c.default.fromJS({type:t,props:i({children:r},u)})}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;tthis.props.dragToggleDistance)&&this.props.onSetOpen(!this.props.open),this.setState({touchIdentifier:null,touchStartX:null,touchStartY:null,touchCurrentX:null,touchCurrentY:null})}}},{key:"onScroll",value:function(){this.isTouching()&&this.inCancelDistanceOnScroll()&&this.setState({touchIdentifier:null,touchStartX:null,touchStartY:null,touchCurrentX:null,touchCurrentY:null})}},{key:"inCancelDistanceOnScroll",value:function(){var e=void 0;return e=this.props.pullRight?Math.abs(this.state.touchCurrentX-this.state.touchStartX)this.state.touchStartX?this.sidebar_width+this.state.touchStartX-this.state.touchCurrentX:this.sidebar_width:Math.min(window.innerWidth-this.state.touchCurrentX,this.sidebar_width):this.props.open&&this.state.touchStartXthis.state.touchStartX?this.sidebar_width:this.sidebar_width-this.state.touchStartX+this.state.touchCurrentX:Math.min(this.state.touchCurrentX,this.sidebar_width)}},{key:"render",value:function(){var e=s({},m.sidebar,this.props.styles.sidebar),t=s({},m.sidebarContainer,this.props.styles.sidebarContainer),n=s({},m.content,this.props.styles.content),r=s({},m.overlay,this.props.styles.overlay),o=this.state.dragSupported&&this.props.touch,a=this.isTouching(),i={className:this.props.rootClassName,style:s({},m.root,this.props.styles.root)},l=void 0;if(this.props.pullRight?(e.right=0,e.transform="translateX(100%)",e.WebkitTransform="translateX(100%)",this.props.shadow&&(e.boxShadow="-2px 2px 4px rgba(0, 0, 0, 0.15)")):(e.left=0,e.transform="translateX(-100%)",e.WebkitTransform="translateX(-100%)",this.props.shadow&&(e.boxShadow="2px 2px 4px rgba(0, 0, 0, 0.15)")),a){var u=this.touchSidebarWidth()/this.sidebar_width;this.props.pullRight?(e.transform="translateX("+100*(1-u)+"%)",e.WebkitTransform="translateX("+100*(1-u)+"%)"):(e.transform="translateX(-"+100*(1-u)+"%)",e.WebkitTransform="translateX(-"+100*(1-u)+"%)"),r.opacity=u,r.visibility="visible"}else this.props.docked?(0!==this.sidebar_width&&(e.transform="translateX(0%)",e.WebkitTransform="translateX(0%)"),this.props.pullRight?n.right=this.sidebar_width+"px":n.left=this.sidebar_width+"px"):this.props.open&&(e.transform="translateX(0%)",e.WebkitTransform="translateX(0%)",r.opacity=1,r.visibility="visible");if(!a&&this.props.transitions||(e.transition="none",e.WebkitTransition="none",n.transition="none",r.transition="none"),o)if(this.props.open)i.onTouchStart=this.onTouchStart,i.onTouchMove=this.onTouchMove,i.onTouchEnd=this.onTouchEnd,i.onTouchCancel=this.onTouchEnd,i.onScroll=this.onScroll;else{var c=s({},m.dragHandle,this.props.styles.dragHandle);c.width=this.props.touchHandleWidth,this.props.pullRight?c.right=0:c.left=0,l=f.default.createElement("div",{style:c,onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchEnd})}return f.default.createElement("div",i,f.default.createElement("div",{className:this.props.sidebarClassName,style:s({width:this.sidebar_width+"px"},e),ref:"sidebar"},f.default.createElement("div",{style:t},this.props.sidebar)),f.default.createElement("div",{className:this.props.overlayClassName,style:r,role:"presentation",tabIndex:"0",onClick:this.overlayClicked}),f.default.createElement("div",{className:this.props.contentClassName,style:n},l,this.props.children))}}]),t}(f.default.Component);g.propTypes={children:f.default.PropTypes.node.isRequired,styles:f.default.PropTypes.shape({root:f.default.PropTypes.object,sidebar:f.default.PropTypes.object,content:f.default.PropTypes.object,overlay:f.default.PropTypes.object,dragHandle:f.default.PropTypes.object}),rootClassName:f.default.PropTypes.string,sidebarClassName:f.default.PropTypes.string,contentClassName:f.default.PropTypes.string,overlayClassName:f.default.PropTypes.string,sidebar:f.default.PropTypes.node.isRequired,docked:f.default.PropTypes.bool,open:f.default.PropTypes.bool,transitions:f.default.PropTypes.bool,touch:f.default.PropTypes.bool,touchHandleWidth:f.default.PropTypes.number,pullRight:f.default.PropTypes.bool,shadow:f.default.PropTypes.bool,dragToggleDistance:f.default.PropTypes.number,onSetOpen:f.default.PropTypes.func},g.defaultProps={docked:!1,open:!1,transitions:!0,touch:!0,touchHandleWidth:20,pullRight:!1,shadow:!0,dragToggleDistance:30,onSetOpen:function(){},styles:{}},t.default=g},function(e,t,n){var r,o,a;!function(n,i){o=[],r=i,a="function"==typeof r?r.apply(t,o):r,!(void 0!==a&&(e.exports=a))}(this,function(){var e=null;return function(){if(null!==e)return e;if("loading"!==window.document.readyState){var t,n;return t=window.document.createElement("div"),n=window.document.createElement("div"),t.style.width="100px",t.style.overflowX="scroll",n.style.width="100px",window.document.body.appendChild(t),window.document.body.appendChild(n),e=t.offsetHeight-n.offsetHeight,window.document.body.removeChild(t),window.document.body.removeChild(n),e}}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(964),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(827),a=r(o),i=n(865),s=r(i),l=n(919),u=r(l),c=n(321),f=r(c),d=function(e,t){var n=e.inset,r=e.style,o=(0,s.default)(e,["inset","style"]),i=t.muiTheme,l=i.baseTheme,c=i.prepareStyles,d={root:{margin:0,marginTop:-1,marginLeft:n?72:0,height:1,border:"none",backgroundColor:l.palette.borderColor}};return f.default.createElement("hr",(0,a.default)({},o,{style:c((0,u.default)(d.root,r))}))};d.muiName="Divider",d.defaultProps={inset:!1},d.contextTypes={muiTheme:c.PropTypes.object.isRequired},t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(736),u=r(l),c=a.default.createClass({displayName:"SidebarHeader",mixins:[s.default],propTypes:{icon:a.default.PropTypes.string.isRequired,description:a.default.PropTypes.node},render:function(){var e=this.props,t=e.icon,n=e.description;return a.default.createElement("div",{className:"sidebar-header"},a.default.createElement("div",{className:"icon-holder"},a.default.createElement(u.default,{name:t})),a.default.createElement("span",{className:"description"},n||a.default.createElement("i",null,"No description")),a.default.createElement("div",{style:{clear:"both"}}))}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=a?(e=o,t=a,i=a-o):(ea&&(t=a)),t>a&&(t=a,e=t-i,ea&&(t=a,e=t-$)),[e,t]},isEventInPanningArea:function(e){for(var t=e.target;;){if("channel-controls"===t.className)return!1;if("channel-side"===t.className)return!1;if("main-area"===t.className)return!0;if(t=t.parentElement,!t)return!0}},handleZoom:function(e,t){var n=this.actualStart,r=this.actualEnd,o=t>0?1/(1+.04*Math.abs(t)):1+.04*Math.abs(t);e=void 0!=e?this.scale.invert(e):n+(r-n)/2;var i=(e-n)/(r-n),s=(r-n)/o;n=e-s*i,r=e+s*(1-i);var l=this.scaleClamp(n,r,i),u=a(l,2);n=u[0],r=u[1],this.props.setProps({start:n,end:r})},handleMouseWheel:function(e){this.isEventInPanningArea(e)&&(this.handleZoom(e.clientX-(0,f.default)(e.currentTarget).left,(0,S.default)(e).pixelY),e.stopPropagation(),e.preventDefault())},handleDoubleTap:function(e){this.isEventInPanningArea(e)&&this.handleZoom(e.center.x-(0,f.default)(u.default.findDOMNode(this.rootHammer)).left,-100)},handlePan:function(e){if(this.isEventInPanningArea(e)){var t=this.actualStart,n=this.actualEnd,r=e.center.x-e.deltaX-(0,f.default)(u.default.findDOMNode(this.rootHammer)).left;this.panStartPixel!==r&&(this.panStartPixel=r,this.panStartGenome=[t,n]);var o=this.scale.invert(0)-this.scale.invert(e.deltaX),i=a(this.panStartGenome,2);if(t=i[0],n=i[1],t+=o,n+=o,e.isFinal){if(Math.abs(e.velocityX)>.5){var s=this.scale.invert(e.velocityX)-this.scale.invert(0);t-=1e3*s,n-=1e3*s,this.nextSpringConfig=Z}var l=this.scaleClamp(t,n,.5),c=a(l,2);t=c[0],n=c[1],this.panStartPixel=null}else this.nextSpringConfig=J;this.props.setProps({start:t,end:n})}},handleChangeLoadStatus:function(e){"LOADING"===e&&(this.loading+=1),"DONE"===e&&(this.loading-=1),this.setState({loading:this.loading})},handleTrackScroll:function(){var e=this,t=s.default.Children.count(this.props.children);(0,b.default)(this.scrollListeners,function(n,r){r0}),s.default.createElement(j.default,o({},this.props,{start:n,end:r,chromosome:i,minWidth:$}))),s.default.createElement(O.default,{ref:function(t){return e.rootHammer=t},onDoubleTap:this.handleDoubleTap,onPan:this.handlePan,direction:O.default.DIRECTION_VERTICAL,onPinch:function(e){return console.log("Pinch not implemented",e)},onWheel:this.handleMouseWheel},s.default.createElement("div",{className:"main-area"},s.default.createElement(I.Motion,{ref:"spring",style:g,defaultStyle:m},function(t){n=t.mid-t.halfWidth,r=t.mid+t.halfWidth,n=Math.round(n/h)*h,r=Math.round(r/h)*h,e.actualStart=n,e.actualEnd=r;var u={chromosome:i,start:n,end:r,width:f,sideWidth:a,onChangeLoadStatus:e.handleChangeLoadStatus};return s.default.createElement("div",{className:"tracks vertical stack"},s.default.createElement(H.default,{start:n,end:r,width:f,height:Math.max(0,d-te),sideWidth:a}),s.default.createElement("div",{className:"fixed"},s.default.createElement(N.default,{start:n,end:r,width:f,sideWidth:a}),P.default.map(l,function(t,n){return t.props.fixed?s.default.cloneElement(t,o({onClose:function(){return e.redirectedProps.setProps(function(e){return e.deleteIn(["children",n])})}},u)):null})),s.default.createElement("div",{ref:function(t){return e.scrollTracks=t},className:"scrolling grow scroll-within"},P.default.map(l,function(t,n){return t.props.fixed?null:s.default.cloneElement(t,o({onClose:function(){return e.redirectedProps.setProps(function(e){return e.deleteIn(["children",n])})},ref:function(t){return e.scrollListeners[n]=t}},u))})))})))))}});t.default=ne},function(e,t){function n(){var e=window.pageYOffset;return"number"==typeof e?{top:e,left:window.pageXOffset}:{top:document.documentElement.scrollTop,left:document.documentElement.scrollLeft}}function r(e){return parseInt(e,10)}e.exports=function(e){var t=e.getBoundingClientRect(),o=n();return{top:r(t.top+o.top),left:r(t.left+o.left),width:r(t.right-t.left),height:r(t.bottom-t.top)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(583),a=r(o),i=n(969),s=r(i),l=n(723),u=function(e){var t=e.check,n=e.redirect;return{componentWillMount:function(){var e=this;n&&(this.redirectedProps={},n.forEach(function(t){return e.redirectedProps[t]=function(){return this.props[t].apply(this,arguments)}.bind(e)}))},shouldComponentUpdate:function(e,r){var o=this,i=!0;return i=t?t.some(function(t){return!a.default.is(o.props[t],e[t])}):!(0,l.shallowEqualImmutable)((0,s.default)(this.props,n||[]),(0,s.default)(e,n||[])),i||!(0,l.shallowEqualImmutable)(this.state,r)}}};t.default=u},function(e,t,n){var r=n(612),o=n(795),a=n(970),i=n(706),s=n(761),l=n(974),u=n(976),c=n(807),f=1,d=2,p=4,h=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=i(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=o(n,f|d|p,l));for(var h=t.length;h--;)a(n,t[h]);return n});e.exports=h},function(e,t,n){function r(e,t){return t=o(t,e),e=i(e,t),null==e||delete e[s(a(t))]}var o=n(706),a=n(971),i=n(972),s=n(713);e.exports=r},function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},function(e,t,n){function r(e,t){return t.length<2?e:o(e,a(t,0,-1))}var o=n(705),a=n(973);e.exports=r},function(e,t){function n(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(692),a=n(979);e.exports=r},function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=n(307),a=n(616),i=n(607),s=o?o.isConcatSpreadable:void 0;e.exports=r},function(e,t,n){!function(e,r){r(t,n(981),n(982),n(983),n(985),n(986),n(987),n(984))}(this,function(e,t,n,r,o,a,i,s){"use strict";function l(e){function t(t){var n=t+"",i=r.get(n);if(!i){if(a!==W)return a;r.set(n,i=o.push(t))}return e[(i-1)%e.length]}var r=n.map(),o=[],a=W;return e=null==e?[]:U.call(e),t.domain=function(e){if(!arguments.length)return o.slice();o=[],r=n.map();for(var a,i,s=-1,l=e.length;++s=n?1:r(e)}}}function h(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function m(e,t,n,r){var o=e[0],a=e[1],i=t[0],s=t[1];return a2?g:m,i=s=null,o}function o(t){return(i||(i=a(l,u,f?p(e):e,c)))(+t)}var a,i,s,l=G,u=G,c=r.interpolate,f=!1;return o.invert=function(e){return(s||(s=a(u,l,d,f?h(t):t)))(+e)},o.domain=function(e){return arguments.length?(l=H.call(e,V),n()):l.slice()},o.range=function(e){return arguments.length?(u=U.call(e),n()):u.slice()},o.rangeRound=function(e){return u=U.call(e),c=r.interpolateRound,n()},o.clamp=function(e){return arguments.length?(f=!!e,n()):f},o.interpolate=function(e){return arguments.length?(c=e,n()):c},n()}function b(e){var n=e.domain;return e.ticks=function(e){var r=n();return t.ticks(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,t){return Y(n(),e,t)},e.nice=function(r){var o=n(),a=o.length-1,i=null==r?10:r,s=o[0],l=o[a],u=t.tickStep(s,l,i);return u&&(u=t.tickStep(Math.floor(s/u)*u,Math.ceil(l/u)*u,i),o[0]=Math.floor(s/u)*u,o[a]=Math.ceil(l/u)*u,n(o)),e},e}function A(){var e=y(d,r.interpolateNumber);return e.copy=function(){return v(e,A())},b(e)}function x(){function e(e){return+e}var t=[0,1];return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=H.call(n,V),e):t.slice()},e.copy=function(){return x().domain(t)},b(e)}function _(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:q(t)}function w(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function C(e){return isFinite(e)?+("1e"+e):e<0?0:e}function E(e){return 10===e?C:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function T(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function k(e){return function(t){return-e(-t)}}function P(){function e(){return i=T(a),s=E(a),r()[0]<0&&(i=k(i),s=k(s)),n}var n=y(_,w).domain([1,10]),r=n.domain,a=10,i=T(10),s=E(10);return n.base=function(t){return arguments.length?(a=+t,e()):a},n.domain=function(t){return arguments.length?(r(t),e()):r()},n.ticks=function(e){var n,o=r(),l=o[0],u=o[o.length-1];(n=u0){for(;pu)break;g.push(d)}}else for(;p=1;--f)if(d=c*f,!(du)break;g.push(d)}}else g=t.ticks(p,h,Math.min(h-p,m)).map(s);return n?g.reverse():g},n.tickFormat=function(e,t){if(null==t&&(t=10===a?".0e":","),"function"!=typeof t&&(t=o.format(t)),e===1/0)return t;null==e&&(e=10);var r=Math.max(1,a*e/n.ticks().length);return function(e){var n=e/s(Math.round(i(e)));return n*a0?a[t-1]:r[0],t=a?[i[a-1],o]:[i[t-1],i[t]]},e.copy=function(){return I().domain([r,o]).range(s)},b(e)}function L(){function e(e){if(e<=e)return r[t.bisect(n,e,0,o)]}var n=[.5],r=[0,1],o=1;return e.domain=function(t){return arguments.length?(n=U.call(t),o=Math.min(n.length,r.length-1),e):n.slice()},e.range=function(t){return arguments.length?(r=U.call(t),o=Math.min(n.length,r.length-1),e):r.slice()},e.invertExtent=function(e){var t=r.indexOf(e);return[n[t-1],n[t]]},e.copy=function(){return L().domain(n).range(r)},e}function N(e){return new Date(e)}function B(e){return e instanceof Date?+e:+new Date(+e)}function F(e,n,o,a,i,s,l,u,c){function f(t){return(l(t)1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return de.h=360*e-100,de.s=1.5-1.5*t,de.l=.8-.9*t,de+""},he=R(oe("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),me=R(oe("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),ge=R(oe("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ve=R(oe("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")); -e.scaleBand=u,e.scalePoint=f,e.scaleIdentity=x,e.scaleLinear=A,e.scaleLog=P,e.scaleOrdinal=l,e.scaleImplicit=W,e.scalePow=S,e.scaleSqrt=D,e.scaleQuantile=O,e.scaleQuantize=I,e.scaleThreshold=L,e.scaleTime=ne,e.scaleUtc=re,e.schemeCategory10=ae,e.schemeCategory20b=ie,e.schemeCategory20c=se,e.schemeCategory20=le,e.interpolateCubehelixDefault=ue,e.interpolateRainbow=pe,e.interpolateWarm=ce,e.interpolateCool=fe,e.interpolateViridis=he,e.interpolateMagma=me,e.interpolateInferno=ge,e.interpolatePlasma=ve,e.scaleSequential=j,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(e,n){n(t)}(this,function(e){"use strict";function t(e){return function(t,n){return o(e(t),n)}}function n(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/o;return a>=A?o*=10:a>=x?o*=5:a>=_&&(o*=2),tt?1:e>=t?0:NaN},a=function(e){return 1===e.length&&(e=t(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[a],n)<0?r=a+1:o=a}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[a],n)>0?o=a:r=a+1}return r}}},i=a(o),s=i.right,l=i.left,u=function(e,t){return te?1:t>=e?0:NaN},c=function(e){return null===e?NaN:+e},f=function(e,t){var n,r,o=e.length,a=0,i=0,s=-1,l=0;if(null==t)for(;++s1)return i/(l-1)},d=function(e,t){var n=f(e,t);return n?Math.sqrt(n):n},p=function(e,t){var n,r,o,a=-1,i=e.length;if(null==t){for(;++a=r){n=o=r;break}for(;++ar&&(n=r),o=r){n=o=r;break}for(;++ar&&(n=r),o=f;)d.pop(),--p;var h,m=new Array(p+1);for(o=0;o<=p;++o)h=m[o]=[],h.x0=o>0?d[o-1]:c,h.x1=o=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,a=Math.floor(o),i=+n(e[a],a,e),s=+n(e[a+1],a+1,e);return i+(s-i)*(o-a)}},k=function(e,t,n){return e=g.call(e,c).sort(o),Math.ceil((n-t)/(2*(T(e,.75)-T(e,.25))*Math.pow(e.length,-1/3)))},P=function(e,t,n){return Math.ceil((n-t)/(3.5*d(e)*Math.pow(e.length,-1/3)))},M=function(e,t){var n,r,o=-1,a=e.length;if(null==t){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},S=function(e,t){var n,r=0,o=e.length,a=-1,i=o;if(null==t)for(;++a=0;)for(r=e[o],t=r.length;--t>=0;)n[--i]=r[t];return n},I=function(e,t){var n,r,o=-1,a=e.length;if(null==t){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},L=function(e){for(var t=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);t=c.length)return null!=l?l(t):null!=s?t.sort(s):t;for(var i,u,f,d=-1,p=t.length,h=c[r++],m=n(),g=o();++dc.length)return e;var r,o=f[n-1];return null!=l&&n>=c.length?r=e.entries():(r=[],e.each(function(e,o){r.push({key:o,values:t(e,n)})})),null!=o?r.sort(function(e,t){return o(e.key,t.key)}):r}var s,l,u,c=[],f=[];return u={object:function(t){return e(t,0,r,o)},map:function(t){return e(t,0,a,i)},entries:function(n){return t(e(n,0,a,i),0)},key:function(e){return c.push(e),u},sortKeys:function(e){return f[c.length-1]=e,u},sortValues:function(e){return s=e,u},rollup:function(e){return l=e,u}}},f=n.prototype;s.prototype=l.prototype={constructor:s,has:f.has,add:function(e){return e+="",this[u+e]=e,this},remove:f.remove,clear:f.clear,values:f.keys,size:f.size,empty:f.empty,each:f.each};var d=function(e){var t=[];for(var n in e)t.push(n);return t},p=function(e){var t=[];for(var n in e)t.push(e[n]);return t},h=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t};e.nest=c,e.set=l,e.map=n,e.keys=d,e.values=p,e.entries=h,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(e,r){r(t,n(984))}(this,function(e,t){"use strict";function n(e,t,n,r,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*n+(1+3*e+3*a-3*i)*r+i*o)/6}function r(e,t){return function(n){return e+n*t}}function o(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function a(e,t){var n=t-e;return n?r(e,n>180||n<-180?n-360*Math.round(n/360):n):k(isNaN(e)?t:e)}function i(e){return 1===(e=+e)?s:function(t,n){return n-t?o(t,n,e):k(isNaN(t)?n:t)}}function s(e,t){var n=t-e;return n?r(e,n):k(isNaN(e)?t:e)}function l(e){return function(n){var r,o,a=n.length,i=new Array(a),s=new Array(a),l=new Array(a);for(r=0;r180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(o(n)+"rotate(",null,r)-2,x:I(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}function s(e,t,n,a){e!==t?a.push({i:n.push(o(n)+"skewX(",null,r)-2,x:I(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}function l(e,t,n,r,a,i){if(e!==n||t!==r){var s=a.push(o(a)+"scale(",null,",",null,")");i.push({i:s-4,x:I(e,n)},{i:s-2,x:I(t,r)})}else 1===n&&1===r||a.push(o(a)+"scale("+n+","+r+")")}return function(t,n){var r=[],o=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,o),i(t.rotate,n.rotate,r,o),s(t.skewX,n.skewX,r,o),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,o),t=n=null,function(e){for(var t,n=-1,a=o.length;++n=1?(r=1,t-1):Math.floor(r*t),a=e[o],i=e[o+1],s=o>0?e[o-1]:2*a-i,l=oa&&(o=t.slice(a,o),s[i]?s[i]+=o:s[++i]=o),(n=n[0])===(r=r[0])?s[i]?s[i]+=r:s[++i]=r:(s[++i]=null,l.push({i:i,x:I(n,r)})),a=B.lastIndex;return a>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=L.exec(e))?o(parseInt(t[1],16)):(t=N.exec(e))?new l(t[1],t[2],t[3],1):(t=B.exec(e))?new l(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=F.exec(e))?a(t[1],t[2],t[3],t[4]):(t=R.exec(e))?a(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=j.exec(e))?u(t[1],t[2]/100,t[3]/100,1):(t=z.exec(e))?u(t[1],t[2]/100,t[3]/100,t[4]):H.hasOwnProperty(e)?o(H[e]):"transparent"===e?new l(NaN,NaN,NaN,0):null}function o(e){return new l(e>>16&255,e>>8&255,255&e,1)}function a(e,t,n,r){return r<=0&&(e=t=n=NaN),new l(e,t,n,r)}function i(e){return e instanceof n||(e=r(e)),e?(e=e.rgb(),new l(e.r,e.g,e.b,e.opacity)):new l}function s(e,t,n,r){return 1===arguments.length?i(e):new l(e,t,n,null==r?1:r)}function l(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function u(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new d(e,t,n,r)}function c(e){if(e instanceof d)return new d(e.h,e.s,e.l,e.opacity);if(e instanceof n||(e=r(e)),!e)return new d;if(e instanceof d)return e;e=e.rgb();var t=e.r/255,o=e.g/255,a=e.b/255,i=Math.min(t,o,a),s=Math.max(t,o,a),l=NaN,u=s-i,c=(s+i)/2;return u?(l=t===s?(o-a)/u+6*(o0&&c<1?0:l,new d(l,u,c,e.opacity)}function f(e,t,n,r){return 1===arguments.length?c(e):new d(e,t,n,null==r?1:r)}function d(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function p(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function h(e){if(e instanceof g)return new g(e.l,e.a,e.b,e.opacity);if(e instanceof w){var t=e.h*U;return new g(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof l||(e=i(e));var n=A(e.r),r=A(e.g),o=A(e.b),a=v((.4124564*n+.3575761*r+.1804375*o)/V),s=v((.2126729*n+.7151522*r+.072175*o)/G),u=v((.0193339*n+.119192*r+.9503041*o)/Y);return new g(116*s-16,500*(a-s),200*(s-u),e.opacity)}function m(e,t,n,r){return 1===arguments.length?h(e):new g(e,t,n,null==r?1:r)}function g(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function v(e){return e>Z?Math.pow(e,1/3):e/X+K}function y(e){return e>Q?e*e*e:X*(e-K)}function b(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function A(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function x(e){if(e instanceof w)return new w(e.h,e.c,e.l,e.opacity);e instanceof g||(e=h(e));var t=Math.atan2(e.b,e.a)*W;return new w(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function _(e,t,n,r){return 1===arguments.length?x(e):new w(e,t,n,null==r?1:r)}function w(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function C(e){if(e instanceof T)return new T(e.h,e.s,e.l,e.opacity);e instanceof l||(e=i(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(ae*r+re*t-oe*n)/(ae+re-oe),a=r-o,s=(ne*(n-o)-ee*a)/te,u=Math.sqrt(s*s+a*a)/(ne*o*(1-o)),c=u?Math.atan2(s,a)*W-120:NaN;return new T(c<0?c+360:c,u,o,e.opacity)}function E(e,t,n,r){return 1===arguments.length?C(e):new T(e,t,n,null==r?1:r)}function T(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}var k=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},P=.7,M=1/P,S="\\s*([+-]?\\d+)\\s*",D="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",O="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",I=/^#([0-9a-f]{3})$/,L=/^#([0-9a-f]{6})$/,N=new RegExp("^rgb\\("+[S,S,S]+"\\)$"),B=new RegExp("^rgb\\("+[O,O,O]+"\\)$"),F=new RegExp("^rgba\\("+[S,S,S,D]+"\\)$"),R=new RegExp("^rgba\\("+[O,O,O,D]+"\\)$"),j=new RegExp("^hsl\\("+[D,O,O]+"\\)$"),z=new RegExp("^hsla\\("+[D,O,O,D]+"\\)$"),H={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};k(n,r,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),k(l,s,t(n,{brighter:function(e){return e=null==e?M:Math.pow(M,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?P:Math.pow(P,e),new l(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"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===e?")":", "+e+")")}})),k(d,f,t(n,{brighter:function(e){return e=null==e?M:Math.pow(M,e),new d(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?P:Math.pow(P,e),new d(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new l(p(e>=240?e-240:e+120,o,r),p(e,o,r),p(e<120?e+240:e-120,o,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}}));var U=Math.PI/180,W=180/Math.PI,q=18,V=.95047,G=1,Y=1.08883,K=4/29,Q=6/29,X=3*Q*Q,Z=Q*Q*Q;k(g,m,t(n,{brighter:function(e){return new g(this.l+q*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new g(this.l-q*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=G*y(e),t=V*y(t),n=Y*y(n),new l(b(3.2404542*t-1.5371385*e-.4985314*n),b(-.969266*t+1.8760108*e+.041556*n),b(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),k(w,_,t(n,{brighter:function(e){return new w(this.h,this.c,this.l+q*(null==e?1:e),this.opacity)},darker:function(e){return new w(this.h,this.c,this.l-q*(null==e?1:e),this.opacity)},rgb:function(){return h(this).rgb()}}));var J=-.14861,$=1.78277,ee=-.29227,te=-.90649,ne=1.97294,re=ne*te,oe=ne*$,ae=$*ee-te*J;k(T,E,t(n,{brighter:function(e){return e=null==e?M:Math.pow(M,e),new T(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?P:Math.pow(P,e),new T(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*U,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new l(255*(t+n*(J*r+$*o)),255*(t+n*(ee*r+te*o)),255*(t+n*(ne*r)),this.opacity)}})),e.color=r,e.rgb=s,e.hsl=f,e.lab=m,e.hcl=_,e.cubehelix=E,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(e,n){n(t)}(this,function(e){"use strict";function t(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function n(e){return e=t(Math.abs(e)),e?e[1]:NaN}function r(e,t){return function(n,r){for(var o=n.length,a=[],i=0,s=e[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(n.substring(o-=s,o+s)),!((l+=s+1)>r));)s=e[i=(i+1)%e.length];return a.reverse().join(t)}}function o(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,a=-1;o0&&(a=0)}return a>0?e.slice(0,a)+e.slice(n+1):e}function a(e,n){var r=t(e,n);if(!r)return e+"";var o=r[0],a=r[1],i=a-(m=3*Math.max(-8,Math.min(8,Math.floor(a/3))))+1,s=o.length;return i===s?o:i>s?o+new Array(i-s+1).join("0"):i>0?o.slice(0,i)+"."+o.slice(i):"0."+new Array(1-i).join("0")+t(e,Math.max(0,n+i-1))[0]}function i(e,n){var r=t(e,n);if(!r)return e+"";var o=r[0],a=r[1];return a<0?"0."+new Array(-a).join("0")+o:o.length>a+1?o.slice(0,a+1)+"."+o.slice(a+1):o+new Array(a-o.length+2).join("0")}function s(e){return new l(e)}function l(e){if(!(t=v.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",a=t[4]||"",i=!!t[5],s=t[6]&&+t[6],l=!!t[7],u=t[8]&&+t[8].slice(1),c=t[9]||"";"n"===c?(l=!0,c="g"):g[c]||(c=""),(i||"0"===n&&"="===r)&&(i=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=a,this.zero=i,this.width=s,this.comma=l,this.precision=u,this.type=c}function u(e){return e}function c(e){function t(e){function t(e){var t,i,s,u=v,g=y;if("c"===h)g=A(e)+g,e="";else{e=+e;var _=(e<0||1/e<0)&&(e*=-1,!0);if(e=A(e,p),_)for(t=-1,i=e.length,_=!1;++ts||s>57){g=(46===s?l+e.slice(t+1):e.slice(t))+g,e=e.slice(0,t);break}}d&&!c&&(e=a(e,1/0));var w=u.length+e.length+g.length,C=w>1)+u+e+g+C.slice(w)}return C+u+e+g}e=s(e);var n=e.fill,r=e.align,o=e.sign,u=e.symbol,c=e.zero,f=e.width,d=e.comma,p=e.precision,h=e.type,v="$"===u?i[0]:"#"===u&&/[boxX]/.test(h)?"0"+h.toLowerCase():"",y="$"===u?i[1]:/[%p]/.test(h)?"%":"",A=g[h],x=!h||/[defgprs%]/.test(h);return p=null==p?h?6:12:/[gprs]/.test(h)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),t.toString=function(){return e+""},t}function o(e,r){var o=t((e=s(e),e.type="f",e)),a=3*Math.max(-8,Math.min(8,Math.floor(n(r)/3))),i=Math.pow(10,-a),l=b[8+a/3];return function(e){return o(i*e)+l}}var a=e.grouping&&e.thousands?r(e.grouping,e.thousands):u,i=e.currency,l=e.decimal;return{format:t,formatPrefix:o}}function f(t){return y=c(t),e.format=y.format,e.formatPrefix=y.formatPrefix,y}function d(e){return Math.max(0,-n(Math.abs(e)))}function p(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(n(t)/3)))-n(Math.abs(e)))}function h(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,n(t)-n(e))+1}var m,g={"":o,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return i(100*e,t)},r:i,s:a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},v=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;l.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var y,b=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];f({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),e.formatDefaultLocale=f,e.formatLocale=c,e.formatSpecifier=s,e.precisionFixed=d,e.precisionPrefix=p,e.precisionRound=h,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(e,n){n(t)}(this,function(e){"use strict";function t(e,n,r,i){function s(t){return e(t=new Date(+t)),t}return s.floor=s,s.ceil=function(t){return e(t=new Date(t-1)),n(t,1),e(t),t},s.round=function(e){var t=s(e),n=s.ceil(e);return e-t0))return a;do a.push(new Date(+t));while(n(t,o),e(t),t=t)for(;e(t),!r(t);)t.setTime(t-1)},function(e,t){if(e>=e)for(;--t>=0;)for(;n(e,1),!r(e););})},r&&(s.count=function(t,n){return o.setTime(+t),a.setTime(+n),e(o),e(a),Math.floor(r(o,a))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(i?function(t){return i(t)%e===0}:function(t){return s.count(0,t)%e===0}):s:null}),s}function n(e){return t(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*u)/d})}function r(e){return t(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/d})}var o=new Date,a=new Date,i=t(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?t(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):i:null};var s=i.range,l=1e3,u=6e4,c=36e5,f=864e5,d=6048e5,p=t(function(e){e.setTime(Math.floor(e/l)*l)},function(e,t){e.setTime(+e+t*l)},function(e,t){return(t-e)/l},function(e){return e.getUTCSeconds()}),h=p.range,m=t(function(e){e.setTime(Math.floor(e/u)*u)},function(e,t){e.setTime(+e+t*u)},function(e,t){return(t-e)/u},function(e){return e.getMinutes()}),g=m.range,v=t(function(e){var t=e.getTimezoneOffset()*u%c;t<0&&(t+=c),e.setTime(Math.floor((+e-t)/c)*c+t)},function(e,t){e.setTime(+e+t*c)},function(e,t){return(t-e)/c},function(e){return e.getHours()}),y=v.range,b=t(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*u)/f},function(e){return e.getDate()-1}),A=b.range,x=n(0),_=n(1),w=n(2),C=n(3),E=n(4),T=n(5),k=n(6),P=x.range,M=_.range,S=w.range,D=C.range,O=E.range,I=T.range,L=k.range,N=t(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),B=N.range,F=t(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});F.every=function(e){return isFinite(e=Math.floor(e))&&e>0?t(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var R=F.range,j=t(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*u)},function(e,t){return(t-e)/u},function(e){return e.getUTCMinutes()}),z=j.range,H=t(function(e){ -e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*c)},function(e,t){return(t-e)/c},function(e){return e.getUTCHours()}),U=H.range,W=t(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/f},function(e){return e.getUTCDate()-1}),q=W.range,V=r(0),G=r(1),Y=r(2),K=r(3),Q=r(4),X=r(5),Z=r(6),J=V.range,$=G.range,ee=Y.range,te=K.range,ne=Q.range,re=X.range,oe=Z.range,ae=t(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),ie=ae.range,se=t(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});se.every=function(e){return isFinite(e=Math.floor(e))&&e>0?t(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var le=se.range;e.timeInterval=t,e.timeMillisecond=i,e.timeMilliseconds=s,e.utcMillisecond=i,e.utcMilliseconds=s,e.timeSecond=p,e.timeSeconds=h,e.utcSecond=p,e.utcSeconds=h,e.timeMinute=m,e.timeMinutes=g,e.timeHour=v,e.timeHours=y,e.timeDay=b,e.timeDays=A,e.timeWeek=x,e.timeWeeks=P,e.timeSunday=x,e.timeSundays=P,e.timeMonday=_,e.timeMondays=M,e.timeTuesday=w,e.timeTuesdays=S,e.timeWednesday=C,e.timeWednesdays=D,e.timeThursday=E,e.timeThursdays=O,e.timeFriday=T,e.timeFridays=I,e.timeSaturday=k,e.timeSaturdays=L,e.timeMonth=N,e.timeMonths=B,e.timeYear=F,e.timeYears=R,e.utcMinute=j,e.utcMinutes=z,e.utcHour=H,e.utcHours=U,e.utcDay=W,e.utcDays=q,e.utcWeek=V,e.utcWeeks=J,e.utcSunday=V,e.utcSundays=J,e.utcMonday=G,e.utcMondays=$,e.utcTuesday=Y,e.utcTuesdays=ee,e.utcWednesday=K,e.utcWednesdays=te,e.utcThursday=Q,e.utcThursdays=ne,e.utcFriday=X,e.utcFridays=re,e.utcSaturday=Z,e.utcSaturdays=oe,e.utcMonth=ae,e.utcMonths=ie,e.utcYear=se,e.utcYears=le,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(e,r){r(t,n(986))}(this,function(e,t){"use strict";function n(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function r(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function o(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function a(e){function t(e,t){return function(n){var r,o,a,i=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s=l)return-1;if(o=t.charCodeAt(i++),37===o){if(o=t.charAt(i++),a=Fe[o in re?t.charAt(i++):o],!a||(r=a(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function s(e,t,n){var r=Ee.exec(t.slice(n));return r?(e.p=Te[r[0].toLowerCase()],n+r[0].length):-1}function $(e,t,n){var r=Me.exec(t.slice(n));return r?(e.w=Se[r[0].toLowerCase()],n+r[0].length):-1}function ee(e,t,n){var r=ke.exec(t.slice(n));return r?(e.w=Pe[r[0].toLowerCase()],n+r[0].length):-1}function te(e,t,n){var r=Ie.exec(t.slice(n));return r?(e.m=Le[r[0].toLowerCase()],n+r[0].length):-1}function ne(e,t,n){var r=De.exec(t.slice(n));return r?(e.m=Oe[r[0].toLowerCase()],n+r[0].length):-1}function oe(e,t,n){return i(e,ve,t,n)}function ae(e,t,n){return i(e,ye,t,n)}function ie(e,t,n){return i(e,be,t,n)}function se(e){return _e[e.getDay()]}function le(e){return xe[e.getDay()]}function ue(e){return Ce[e.getMonth()]}function ce(e){return we[e.getMonth()]}function fe(e){return Ae[+(e.getHours()>=12)]}function de(e){return _e[e.getUTCDay()]}function pe(e){return xe[e.getUTCDay()]}function he(e){return Ce[e.getUTCMonth()]}function me(e){return we[e.getUTCMonth()]}function ge(e){return Ae[+(e.getUTCHours()>=12)]}var ve=e.dateTime,ye=e.date,be=e.time,Ae=e.periods,xe=e.days,_e=e.shortDays,we=e.months,Ce=e.shortMonths,Ee=l(Ae),Te=u(Ae),ke=l(xe),Pe=u(xe),Me=l(_e),Se=u(_e),De=l(we),Oe=u(we),Ie=l(Ce),Le=u(Ce),Ne={a:se,A:le,b:ue,B:ce,c:null,d:C,e:C,H:E,I:T,j:k,L:P,m:M,M:S,p:fe,S:D,U:O,w:I,W:L,x:null,X:null,y:N,Y:B,Z:F,"%":J},Be={a:de,A:pe,b:he,B:me,c:null,d:R,e:R,H:j,I:z,j:H,L:U,m:W,M:q,p:ge,S:V,U:G,w:Y,W:K,x:null,X:null,y:Q,Y:X,Z:Z,"%":J},Fe={a:$,A:ee,b:te,B:ne,c:oe,d:v,e:v,H:b,I:b,j:y,L:_,m:g,M:A,p:s,S:x,U:f,w:c,W:d,x:ae,X:ie,y:h,Y:p,Z:m,"%":w};return Ne.x=t(ye,Ne),Ne.X=t(be,Ne),Ne.c=t(ve,Ne),Be.x=t(ye,Be),Be.X=t(be,Be),Be.c=t(ve,Be),{format:function(e){var n=t(e+="",Ne);return n.toString=function(){return e},n},parse:function(e){var t=a(e+="",n);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",Be);return n.toString=function(){return e},n},utcParse:function(e){var t=a(e,r);return t.toString=function(){return e},t}}}function i(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",a=o.length;return r+(a68?1900:2e3),n+r[0].length):-1}function m(e,t,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function g(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function v(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function y(e,t,n){var r=oe.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function b(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function A(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function x(e,t,n){var r=oe.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function _(e,t,n){var r=oe.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function w(e,t,n){var r=ae.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function C(e,t){return i(e.getDate(),t,2)}function E(e,t){return i(e.getHours(),t,2)}function T(e,t){return i(e.getHours()%12||12,t,2)}function k(e,n){return i(1+t.timeDay.count(t.timeYear(e),e),n,3)}function P(e,t){return i(e.getMilliseconds(),t,3)}function M(e,t){return i(e.getMonth()+1,t,2)}function S(e,t){return i(e.getMinutes(),t,2)}function D(e,t){return i(e.getSeconds(),t,2)}function O(e,n){return i(t.timeSunday.count(t.timeYear(e),e),n,2)}function I(e){return e.getDay()}function L(e,n){return i(t.timeMonday.count(t.timeYear(e),e),n,2)}function N(e,t){return i(e.getFullYear()%100,t,2)}function B(e,t){return i(e.getFullYear()%1e4,t,4)}function F(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+i(t/60|0,"0",2)+i(t%60,"0",2)}function R(e,t){return i(e.getUTCDate(),t,2)}function j(e,t){return i(e.getUTCHours(),t,2)}function z(e,t){return i(e.getUTCHours()%12||12,t,2)}function H(e,n){return i(1+t.utcDay.count(t.utcYear(e),e),n,3)}function U(e,t){return i(e.getUTCMilliseconds(),t,3)}function W(e,t){return i(e.getUTCMonth()+1,t,2)}function q(e,t){return i(e.getUTCMinutes(),t,2)}function V(e,t){return i(e.getUTCSeconds(),t,2)}function G(e,n){return i(t.utcSunday.count(t.utcYear(e),e),n,2)}function Y(e){return e.getUTCDay()}function K(e,n){return i(t.utcMonday.count(t.utcYear(e),e),n,2)}function Q(e,t){return i(e.getUTCFullYear()%100,t,2)}function X(e,t){return i(e.getUTCFullYear()%1e4,t,4)}function Z(){return"+0000"}function J(){return"%"}function $(t){return ne=a(t),e.timeFormat=ne.format,e.timeParse=ne.parse,e.utcFormat=ne.utcFormat,e.utcParse=ne.utcParse,ne}function ee(e){return e.toISOString()}function te(e){var t=new Date(e);return isNaN(t)?null:t}var ne,re={"-":"",_:" ",0:"0"},oe=/^\s*\d+/,ae=/^%/,ie=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;$({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"]});var se="%Y-%m-%dT%H:%M:%S.%LZ",le=Date.prototype.toISOString?ee:e.utcFormat(se),ue=+new Date("2000-01-01T00:00:00.000Z")?te:e.utcParse(se);e.timeFormatDefaultLocale=$,e.timeFormatLocale=a,e.isoFormat=le,e.isoParse=ue,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){e.exports=n(989)},function(e,t,n){"use strict";function r(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*i,o=n*i,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=s,o*=s):(r*=l,o*=l)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}var o=n(990),a=n(991),i=10,s=40,l=800;r.getEventType=function(){return o.firefox()?"DOMMouseScroll":a("wheel")?"wheel":"mousewheel"},e.exports=r},function(e,t){function n(){if(!y){y=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(h=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),p=!!/Win64/.exec(e),t){r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);l=b?parseFloat(b[1])+4:r,o=t[2]?parseFloat(t[2]):NaN,a=t[3]?parseFloat(t[3]):NaN,i=t[4]?parseFloat(t[4]):NaN,i?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),s=t&&t[1]?parseFloat(t[1]):NaN):s=NaN}else r=o=a=s=i=NaN;if(n){if(n[1]){var A=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!A||parseFloat(A[1].replace("_","."))}else u=!1;c=!!n[2],f=!!n[3]}else u=c=f=!1}}var r,o,a,i,s,l,u,c,f,d,p,h,m,g,v,y=!1,b={ie:function(){return n()||r},ieCompatibilityMode:function(){return n()||l>r},ie64:function(){return b.ie()&&p},firefox:function(){return n()||o},opera:function(){return n()||a},webkit:function(){return n()||i},safari:function(){return b.webkit()},chrome:function(){return n()||s},windows:function(){return n()||c},osx:function(){return n()||u},linux:function(){return n()||f},iphone:function(){return n()||h},mobile:function(){return n()||h||m||d||v},nativeApp:function(){return n()||g},android:function(){return n()||d},ipad:function(){return n()||m}};e.exports=b},function(e,t,n){"use strict";/** - * Checks if an event is supported in the current execution environment. - * - * NOTE: This will not work correctly for non-generic events such as `change`, - * `reset`, `load`, `error`, and `select`. - * - * Borrows from Modernizr. - * - * @param {string} eventNameSuffix Event name, e.g. "click". - * @param {?boolean} capture Check if the capture phase is supported. - * @return {boolean} True if the event is supported. - * @internal - * @license Modernizr 3.0.0pre (Custom Build) | MIT - */ -function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(992);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){function r(e,t){t.hasOwnProperty("vertical")&&console.warn("vertical is deprecated, please use `direction` instead");var n=t.direction;(n||t.hasOwnProperty("vertical"))&&(direction=n?n:t.vertical?"DIRECTION_ALL":"DIRECTION_HORIZONTAL",e.get("pan").set({direction:i[direction]}),e.get("swipe").set({direction:i[direction]})),t.options&&Object.keys(t.options).forEach(function(n){if("recognizers"===n)Object.keys(t.options.recognizers).forEach(function(n){var r=e.get(n);r.set(t.options.recognizers[n])},this);else{var r=n,o={};o[r]=t.options[n],e.set(o)}},this),t.recognizeWith&&Object.keys(t.recognizeWith).forEach(function(n){var r=e.get(n);r.recognizeWith(t.recognizeWith[n])},this),Object.keys(t).forEach(function(n){var r=l[n];r&&(e.off(r),e.on(r,t[n]))})}var o=n(321),a=n(348),i="undefined"!=typeof window?n(994):void 0,s={children:!0,direction:!0,options:!0,recognizeWith:!0,vertical:!0},l={action:"tap press",onDoubleTap:"doubletap",onPan:"pan",onPanCancel:"pancancel",onPanEnd:"panend",onPanStart:"panstart",onPinch:"pinch",onPinchCancel:"pinchcancel",onPinchEnd:"pinchend",onPinchIn:"pinchin",onPinchOut:"pinchout",onPinchStart:"pinchstart",onPress:"press",onPressUp:"pressup",onRotate:"rotate",onRotateCancel:"rotatecancel",onRotateEnd:"rotateend",onRotateMove:"rotatemove",onRotateStart:"rotatestart",onSwipe:"swipe",onTap:"tap"};Object.keys(l).forEach(function(e){s[e]=!0});var u=o.createClass({displayName:"Hammer",propTypes:{className:o.PropTypes.string},componentDidMount:function(){this.hammer=new i(a.findDOMNode(this)),r(this.hammer,this.props)},componentDidUpdate:function(){this.hammer&&r(this.hammer,this.props)},componentWillUnmount:function(){this.hammer&&(this.hammer.stop(),this.hammer.destroy()),this.hammer=null},render:function(){var e={};return Object.keys(this.props).forEach(function(t){s[t]||(e[t]=this.props[t])},this),o.cloneElement(o.Children.only(this.props.children),e)}});e.exports=u},function(e,t,n){var r;/*! Hammer.JS - v2.0.7 - 2016-04-22 - * http://hammerjs.github.io/ - * - * Copyright (c) 2016 Jorik Tangelder; - * Licensed under the MIT license */ -!function(o,a,i,s){"use strict";function l(e,t,n){return setTimeout(p(e,n),t)}function u(e,t,n){return!!Array.isArray(e)&&(c(e,n[t],n),!0)}function c(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(r=0;r\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=o.console&&(o.console.warn||o.console.log);return a&&a.call(o.console,r,n),e.apply(this,arguments)}}function d(e,t,n){var r,o=t.prototype;r=e.prototype=Object.create(o),r.constructor=e,r._super=o,n&&me(r,n)}function p(e,t){return function(){return e.apply(t,arguments)}}function h(e,t){return typeof e==ye?e.apply(t?t[0]||s:s,t):e}function m(e,t){return e===s?t:e}function g(e,t,n){c(A(t),function(t){e.addEventListener(t,n,!1)})}function v(e,t,n){c(A(t),function(t){e.removeEventListener(t,n,!1)})}function y(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function b(e,t){return e.indexOf(t)>-1}function A(e){return e.trim().split(/\s+/g)}function x(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;rn[t]}):r.sort()),r}function C(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),a=0;a1&&!n.firstMultiple?n.firstMultiple=I(t):1===o&&(n.firstMultiple=!1);var a=n.firstInput,i=n.firstMultiple,s=i?i.center:a.center,l=t.center=L(r);t.timeStamp=xe(),t.deltaTime=t.timeStamp-a.timeStamp,t.angle=R(s,l),t.distance=F(s,l),D(n,t),t.offsetDirection=B(t.deltaX,t.deltaY);var u=N(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=Ae(u.x)>Ae(u.y)?u.x:u.y,t.scale=i?z(i.pointers,r):1,t.rotation=i?j(i.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,O(n,t);var c=e.element;y(t.srcEvent.target,c)&&(c=t.srcEvent.target),t.target=c}function D(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},a=e.prevInput||{};t.eventType!==Le&&a.eventType!==Be||(o=e.prevDelta={x:a.deltaX||0,y:a.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}function O(e,t){var n,r,o,a,i=e.lastInterval||t,l=t.timeStamp-i.timeStamp;if(t.eventType!=Fe&&(l>Ie||i.velocity===s)){var u=t.deltaX-i.deltaX,c=t.deltaY-i.deltaY,f=N(l,u,c);r=f.x,o=f.y,n=Ae(f.x)>Ae(f.y)?f.x:f.y,a=B(u,c),e.lastInterval=t}else n=i.velocity,r=i.velocityX,o=i.velocityY,a=i.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=a}function I(e){for(var t=[],n=0;n=Ae(t)?e<0?je:ze:t<0?He:Ue}function F(e,t,n){n||(n=Ge);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function R(e,t,n){n||(n=Ge);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,r)/Math.PI}function j(e,t){return R(t[1],t[0],Ye)+R(e[1],e[0],Ye)}function z(e,t){return F(t[0],t[1],Ye)/F(e[0],e[1],Ye)}function H(){this.evEl=Qe,this.evWin=Xe,this.pressed=!1,k.apply(this,arguments)}function U(){this.evEl=$e,this.evWin=et,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function W(){this.evTarget=nt,this.evWin=rt,this.started=!1,k.apply(this,arguments)}function q(e,t){var n=_(e.touches),r=_(e.changedTouches);return t&(Be|Fe)&&(n=w(n.concat(r),"identifier",!0)),[n,r]}function V(){this.evTarget=at,this.targetIds={},k.apply(this,arguments)}function G(e,t){var n=_(e.touches),r=this.targetIds;if(t&(Le|Ne)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,a,i=_(e.changedTouches),s=[],l=this.target;if(a=n.filter(function(e){return y(e.target,l)}),t===Le)for(o=0;o-1&&r.splice(e,1)};setTimeout(o,it)}}function X(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(t,e)}var n=this,r=this.state;r=At&&t(n.options.event+te(r))},tryEmit:function(e){return this.canEmit()?this.emit(e):void(this.state=wt)},canEmit:function(){for(var e=0;et.threshold&&o&t.direction},attrTest:function(e){return oe.prototype.attrTest.call(this,e)&&(this.state&yt||!(this.state&yt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ne(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),d(ie,oe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[pt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&yt)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),d(se,ee,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[ft]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distancet.time;if(this._input=e,!r||!n||e.eventType&(Be|Fe)&&!o)this.reset();else if(e.eventType&Le)this.reset(),this._timer=l(function(){this.state=xt,this.tryEmit()},t.time,this);else if(e.eventType&Be)return xt;return wt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===xt&&(e&&e.eventType&Be?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=xe(),this.manager.emit(this.options.event,this._input)))}}),d(le,oe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[pt]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&yt)}}),d(ue,oe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:We|qe,pointers:1},getTouchAction:function(){return ae.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(We|qe)?t=e.overallVelocity:n&We?t=e.overallVelocityX:n&qe&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&Ae(t)>this.options.velocity&&e.eventType&Be},emit:function(e){var t=ne(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),d(ce,ee,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[dt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance10*b&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();var a=(e.accumulatedTime-Math.floor(e.accumulatedTime/b)*b)/b,i=Math.floor(e.accumulatedTime/b),s={},l={},u={},f={};for(var p in n)if(Object.prototype.hasOwnProperty.call(n,p)){var h=n[p];if("number"==typeof h)u[p]=h,f[p]=0,s[p]=h,l[p]=0;else{for(var m=e.state.lastIdealStyle[p],v=e.state.lastIdealVelocity[p],y=0;y10*A&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var i=(e.accumulatedTime-Math.floor(e.accumulatedTime/A)*A)/A,s=Math.floor(e.accumulatedTime/A),l=[],u=[],c=[],d=[],h=0;h10*C&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var u=(e.accumulatedTime-Math.floor(e.accumulatedTime/C)*C)/C,c=Math.floor(e.accumulatedTime/C),f=i(e.props.willEnter,e.props.willLeave,e.props.didLeave,e.state.mergedPropsStyles,r,e.state.currentStyles,e.state.currentVelocities,e.state.lastIdealStyles,e.state.lastIdealVelocities),d=f[0],h=f[1],m=f[2],g=f[3],y=f[4],b=0;br[c])return-1;if(o>a[c]&&lr[c])return 1;if(i>a[c]&&s5e3?"s":null),d=a.getContext("2d");d.lineWidth=.25,d.strokeStyle="darkgrey",d.textAlign="center",d.textBaseline="top",d.font="14px Roboto,sans-serif",d.clearRect(0,0,a.width,a.height),d.beginPath();for(var p=t;p=0&&e<=(this.config.chromosomes[this.props.chromosome]||x)&&t>this.props.minWidth&&this.props.setProps({start:e-t/2,end:e+t/2})},handleRegionChange:function(){var e=this.refs.region.value;this.setState({regionText:e});var t=e.trim().match(/^(?:(.+):)?([0-9]+)-([0-9]+)$/);if(t){var n=t.slice(1),r=o(n,3),a=r[0],i=r[1],s=r[2];if(i=parseInt(i),s=parseInt(s),a=a||this.props.chromosome,(0,c.default)(this.config.chromosomes,a)&&i div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n),o=!0}}var r=document.attachEvent,o=!1,a={};if(!r){var i=function(){var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)};return function(t){return e(t)}}(),s=function(){var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(t){return e(t)}}();a.resetTriggers=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a.checkTriggers=function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height},a.scrollListener=function(e){var t=this;a.resetTriggers(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=i(function(){a.checkTriggers(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(n){n.call(t,e)}))})};var l=!1,u="animation",c="",f="animationstart",d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h="",m=document.createElement("fakeelement");if(void 0!==m.style.animationName&&(l=!0),l===!1)for(var g=0;g
',e.appendChild(e.__resizeTriggers__),a.resetTriggers(e),e.addEventListener("scroll",a.scrollListener,!0),f&&e.__resizeTriggers__.addEventListener(f,function(t){t.animationName==v&&a.resetTriggers(e)})),e.__resizeListeners__.push(t))},x=function(e,t){r?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",a.scrollListener),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))};e.exports={addResizeListener:A,removeResizeListener:x}},function(e,t,n){var r=n(1020);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,".genome-browser{height:100%;width:100%;position:absolute;overflow:hidden;top:0;left:0}.genome-browser .control-bar{line-height:30px}.genome-browser .control-bar .loading-canvas{transition:opacity .5s ease-in-out}.genome-browser .control-bar .loading-canvas.loading{opacity:1}.genome-browser .control-bar .controls span select{line-height:normal;padding-right:15px}.genome-browser .control-bar .controls span input{width:80px}.genome-browser .control-bar .controls span .wide{width:200px}.genome-browser .control-bar .controls span.block{display:inline-block;white-space:nowrap}.genome-browser .control-bar .controls>*{padding-left:10px}.genome-browser .control-bar>*{vertical-align:middle;padding-left:10px}.genome-browser .main-area{position:relative;height:calc(100% - 33px)}.genome-browser .main-area .main-area-shadow{position:absolute;height:100%;top:0;box-shadow:inset 0 1px 6px rgba(0,0,0,.12),inset 0 1px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks{position:relative}.genome-browser .main-area .tracks .background{z-index:-1;position:absolute;top:0;left:0}.genome-browser .main-area .tracks .fixed{z-index:1}.genome-browser .main-area .tracks .fixed .channel-container:first-child .channel-stack .channel-data{box-shadow:inset 2px 2px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .fixed .channel-container:last-child{box-shadow:-1px 1px 4px rgba(0,0,0,.24);border-bottom:none}.genome-browser .main-area .tracks .fixed .channel-stack .channel-data{box-shadow:inset 4px 0 4px -2px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .scrolling{overflow-y:scroll}.genome-browser .main-area .tracks .scrolling .channel-container:last-child .channel-side{box-shadow:-1px 2px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .scrolling .channel-stack .channel-data{box-shadow:inset 3px 0 4px -2px rgba(0,0,0,.24)}.config-container{box-shadow:3px 1px 4px rgba(0,0,0,.24)}.legend-container{box-shadow:3px 0 4px rgba(0,0,0,.24)}.channel-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;border-bottom:1px solid #66a2de}.channel-container .legend-element{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.channel-container .legend-element .label{padding-left:6px}.channel-container .channel-side{position:relative;overflow:hidden;background-color:#fff}.channel-container .channel-side .close{color:#d62728;padding-right:6px}.channel-container .channel-side .icon{opacity:.6}.channel-container .channel-side .icon:hover{opacity:1}.channel-container .channel-side .button{width:25px;height:25px;line-height:19px;padding:3px;position:absolute;text-align:center;right:0}.channel-container .channel-side .button .open{color:#3d8bd5}.channel-container .channel-side .config{top:0}.channel-container .channel-side .legend{transition:bottom .5s!important;bottom:0}.channel-container .channel-side .close{top:0;left:0}.channel-container .channel-side .side-component{position:absolute;right:0;left:0;text-overflow:ellipsis;overflow:auto;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.channel-container .channel-stack{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.channel-container .channel-stack .channel-data{overflow:hidden}.channel-container .channel-stack .channel-data .canvas-container{position:relative}.channel-container .channel-stack .channel-data canvas{display:block}.channel-container .channel-stack .tray-container.open{height:inherit}.channel-container .channel-stack .tray-container{position:relative;transition:height .5s!important;background:#fff;height:0;width:100%;overflow:hidden}.channel-container .channel-stack .tray-container .legend{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:16px;padding-top:6px;padding-bottom:6px}.channel-container .channel-stack .tray-container .legend .legend-element{padding-left:16px}.channel-container .channel-stack .tray-container .channel-controls,.channel-container .channel-stack .tray-container .channel-controls .control-group{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.channel-container .channel-stack .tray-container .channel-controls .control-group{padding-left:10px}.channel-container .channel-stack .tray-container .channel-controls .control{min-height:50px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:10px}.channel-container .channel-stack .tray-container .channel-controls .control .label{padding-right:5px}.channel-container .channel-stack .tray-container .channel-controls .control .dropdown{top:-4px}.channel-container .channel-stack .tray-container .channel-controls .control .slider{margin-left:30px;width:100px}.channel-container .channel-stack .tray-container .channel-controls .control .numeric-input{width:80px}.sequence{position:relative}.sequence canvas{position:absolute;transform-origin:top left}.side-name{padding:5px 0 5px 30px;max-width:125px}.genotypes-table{position:relative}.genotypes-table *{position:absolute;top:0;left:0}.genotypes-side{width:100%;height:100%;text-overflow:ellipsis;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.genotypes-side .row-label{padding:10px 35px 5px 10px}.genotypes-side canvas{position:absolute;bottom:0;right:0}.numerical-channel-canvas-holder{position:relative}.numerical-channel-canvas-holder canvas{position:absolute;top:0;left:0}.numerical-channel-canvas-holder .categorical{opacity:.7}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function l(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var a=y++;n=v||(v=s(t)),r=c.bind(null,n,a,!1),o=c.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=d.bind(null,n),o=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=f.bind(null,n),o=function(){i(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=A(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function f(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}var p={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},m=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),g=h(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=m()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var a=[],i=0;i0)for(var a=o[0],i=[r[0]],s=[n[0]],l=1,u=o.length+1;l-v&&ft}e.exports=n},function(e,t,n){function r(e){return e&&e.length?o(e):[]}var o=n(1028);e.exports=r},function(e,t,n){function r(e,t,n){var r=-1,f=a,d=e.length,p=!0,h=[],m=h;if(n)p=!1,f=i;else if(d>=c){var g=t?null:l(e);if(g)return u(g);p=!1,f=s,m=new o}else m=t?[]:h;e:for(;++r>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c>>1;e.exports=r},function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,f=null===t,d=o(t),p=void 0===t;a1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return function(){return"inherit"};if(e.valueColours)return function(t){return e.valueColours[t]||e.valueColours._other_||"#777777"};if(e.isBoolean)return a();if(e.isCategorical){var i=r(e.tableId+"_"+e.id);return e.distinctValues&&e.distinctValues.forEach(i),i}return e.isText?r(e.tableId+"_"+e.id):o([t||e.minVal,n||e.maxVal])}Object.defineProperty(t,"__esModule",{value:!0}),t.scaleColours=t.colours=void 0,t.categoryColours=r,t.scaleColour=o,t.booleanColours=a,t.propertyColour=i;var s=n(980),l=n(983),u={},c=t.colours=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf","#aec7e8","#ffbb78","#98df8a","#ff9896","#c5b0d5","#c49c94","#f7b6d2","#c7c7c7","#dbdb8d","#9edae5"],f=t.scaleColours=["#3d8bd5","#ff4081"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1015),s=r(i),l=n(958),u=r(l),c=n(993),f=r(c),d=n(968),p=r(d),h=n(1039),m=r(h),g=n(1040),v=r(g),y=n(995),b={stiffness:160,damping:30},A={stiffness:2e3,damping:80},x=a.default.createClass({displayName:"CanvasGroupChannel",mixins:[(0,p.default)({redirect:["onClose"]})],propTypes:{chromosome:a.default.PropTypes.string,start:a.default.PropTypes.number,end:a.default.PropTypes.number,width:a.default.PropTypes.number,height:a.default.PropTypes.number,sideWidth:a.default.PropTypes.number,autoYScale:a.default.PropTypes.bool,yMin:a.default.PropTypes.number,yMax:a.default.PropTypes.number,side:a.default.PropTypes.element,controls:a.default.PropTypes.element,legend:a.default.PropTypes.element,onClose:a.default.PropTypes.func,onTap:a.default.PropTypes.func,children:a.default.PropTypes.node},getDefaultProps:function(){return{height:100,onTap:function(){return null}}},getInitialState:function(){return{}},componentWillMount:function(){this.yLimits={}},handleClose:function(){this.redirectedProps.onClose&&this.redirectedProps.onClose()},handleYLimitChange:function(e,t,n){n=!0,this.yLimits[e]=t;var r=null,o=null;if((0,u.default)(this.yLimits,function(e){var t=e.dataYMin,n=e.dataYMax;(!(0,s.default)(r)||(0,s.default)(t)&&to)&&(o=n)}),(0,s.default)(r)&&(0,s.default)(o)&&(this.setState({dataYMin:r,dataYMax:o}),this.props.autoYScale&&n)){this.refs.spring.setState({currentStyle:{yMin:r,yMax:o},currentVelocity:{yMin:0,yMax:0}}),this.nextSpringConfig=A}},render:function(){var e=this,t=this.props,n=t.width,r=t.height,o=t.sideWidth,i=t.yMin,l=t.yMax,u=t.autoYScale,c=t.side,d=t.controls,p=t.legend,h=this.state,g=h.dataYMin,A=h.dataYMax,x=u&&this.nextSpringConfig||b;this.nextSpringConfig=null,u&&(0,s.default)(g)&&(0,s.default)(A)&&(i=g,l=A),!(0,s.default)(i)&&(0,s.default)(this.lastYMin)&&(i=this.lastYMin),!(0,s.default)(l)&&(0,s.default)(this.lastYMax)&&(l=this.lastYMax);var _=[i,l];if(this.lastYMin=_[0],this.lastYMax=_[1],n<=0)return null;var w={yMin:(0,s.default)(i)?i:null,yMax:(0,s.default)(l)?l:null},C={yMin:(0,y.spring)(w.yMin,x),yMax:(0,y.spring)(w.yMax,x)};return a.default.createElement(m.default,{width:n,sideWidth:o,height:r,sideComponent:a.default.createElement("div",{className:"side-name"},c),configComponent:d,legendComponent:p,onClose:this.handleClose},a.default.createElement(y.Motion,{ref:"spring",style:C,defaultStyle:w},function(t){var i=t.yMin,s=t.yMax;return a.default.createElement(f.default,{onTap:e.props.onTap},a.default.createElement("div",{className:"numerical-channel-canvas-holder"},a.default.createElement(v.default,{width:n-o,height:r,min:i,max:s}),a.default.Children.map(e.props.children,function(t,n){return a.default.cloneElement(t,{yMin:i,yMax:s,height:r,onYLimitChange:function(t){var r=t.dataYMin,o=t.dataYMax;return e.handleYLimitChange(n,{dataYMin:r,dataYMax:o})}})})))}))}});t.default=x},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(968),s=r(i),l=n(731),u=r(l),c=n(736),f=r(c),d=a.default.createClass({displayName:"ChannelWithConfigDrawer",mixins:[(0,s.default)({redirect:["onClose"]})],propTypes:{height:a.default.PropTypes.number,width:a.default.PropTypes.number,sideWidth:a.default.PropTypes.number,sideComponent:a.default.PropTypes.element,configComponent:a.default.PropTypes.element,legendComponent:a.default.PropTypes.element,onClose:a.default.PropTypes.func,children:a.default.PropTypes.element},getInitialState:function(){return{controlsOpen:!1,legendOpen:!1}},handleControlToggle:function(e){this.setState({controlsOpen:!this.state.controlsOpen}),e.stopPropagation()},handleLegendToggle:function(e){this.setState({legendOpen:!this.state.legendOpen}),e.stopPropagation()},handleClose:function(e){e.stopPropagation(),this.redirectedProps.onClose&&this.redirectedProps.onClose()},render:function(){var e=this.props,t=e.height,n=e.width,r=e.sideWidth,o=e.onClose,i=e.sideComponent,s=e.configComponent,l=e.legendComponent,c=this.state,d=c.controlsOpen,p=c.legendOpen,h=n-r;return a.default.createElement("div",{className:"channel-container"},a.default.createElement("div",{className:"channel-side",style:{width:r+"px"}},a.default.createElement("div",{className:"side-component"},i),o?a.default.createElement("div",{className:"close button"},a.default.createElement(f.default,{name:"times",onClick:this.handleClose})):null,s?a.default.createElement("div",{className:"config button"},a.default.createElement(f.default,{className:(0,u.default)({open:d}),name:"cog",onClick:this.handleControlToggle})):null,l?a.default.createElement("div",{className:"legend button",ref:"legendToggle"},a.default.createElement(f.default,{className:(0,u.default)({open:p}),name:"info",onClick:this.handleLegendToggle})):null),a.default.createElement("div",{className:"channel-stack"},s?a.default.createElement("div",{className:(0,u.default)({open:d,"tray-container":!0,"config-container":!0}),ref:"controlsContainer"},a.default.createElement("div",{ref:"controls",style:{width:h+"px"}},s)):null,a.default.createElement("div",{className:"channel-data",style:{width:h+"px",height:t+"px"}},this.props.children),l?a.default.createElement("div",{className:(0,u.default)({open:p,"tray-container":!0,"legend-container":!0}),ref:"legendContainer"},a.default.createElement("div",{ref:"legend",style:{width:h+"px"}},l)):null))}});t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(980),u=a.default.createClass({displayName:"YScale",mixins:[s.default],propTypes:{min:a.default.PropTypes.number,max:a.default.PropTypes.number,width:a.default.PropTypes.number,height:a.default.PropTypes.number},componentDidMount:function(){this.paint()},componentDidUpdate:function(){this.paint()},render:function(){var e=this.props,t=e.width,n=e.height;return a.default.createElement("canvas",{ref:"canvas",width:t,height:n})},paint:function(){var e=this.props,t=e.min,n=e.max,r=e.width,o=e.height,a=this.refs.canvas,i=(0,l.scaleLinear)().domain([t,n]).range([o,0]),s=4,u=i.tickFormat(s),c=a.getContext("2d");c.lineWidth=.25,c.strokeStyle="darkgrey",c.textAlign="end",c.textBaseline="middle",c.font="12px Roboto,sans-serif",c.clearRect(0,0,a.width,a.height),c.beginPath(),i.ticks(s).forEach(function(e){var t=i(e);t>12&&t1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,s.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,a.default)(r,function(e,t){n[t]||(n[t]={}),(0,u.default)(n[t],r[t])}),t}),n};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var o=n(958),a=r(o),i=n(1047),s=r(i),l={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){var n=t[e];return n?n:{extend:e}}},u=t.autoprefix=function(e){var t={};return(0,a.default)(e,function(e,n){var r={};(0,a.default)(e,function(e,t){var n=l[t];n?(0,s.default)(r,n(e)):r[t]=e}),t[n]=r}),t};t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSSComponent=void 0;var s=function(){function e(e,t){for(var n=0;n0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var o=n(608),a="Expected a function";e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); -return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var s=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l,c;o(this,r);for(var f=arguments.length,d=Array(f),p=0;p1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,i,l,c;o(this,r);for(var f=arguments.length,d=Array(f),p=0;p1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2===0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1064);Object.defineProperty(t,"Alpha",{enumerable:!0,get:function(){return r(o).default}});var a=n(1066);Object.defineProperty(t,"Checkboard",{enumerable:!0,get:function(){return r(a).default}});var i=n(1068);Object.defineProperty(t,"EditableInput",{enumerable:!0,get:function(){return r(i).default}});var s=n(1069);Object.defineProperty(t,"Hue",{enumerable:!0,get:function(){return r(s).default}});var l=n(1071);Object.defineProperty(t,"Saturation",{enumerable:!0,get:function(){return r(l).default}});var u=n(1074);Object.defineProperty(t,"ColorWrap",{enumerable:!0,get:function(){return r(u).default}});var c=n(1078);Object.defineProperty(t,"Swatch",{enumerable:!0,get:function(){return r(c).default}})},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var l=Object.assign||function(e){for(var t=1;ta?1:Math.round(100*u/a)/100,n.hsl.a!==c)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:c,source:"rgb"}}else{var f=void 0;if(f=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==f)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:f,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Checkboard=void 0;var a=n(321),i=o(a),s=n(1046),l=o(s),u=n(1067),c=r(u),f=t.Checkboard=function(e){var t=e.white,n=e.grey,r=e.size,o=e.renderers,a=(0,l.default)({default:{grid:{absolute:"0px 0px 0px 0px",background:"url("+c.get(t,n,r,o.canvas)+") center left"}}});return i.default.createElement("div",{style:a.grid})};f.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}},t.default=f},function(e,t){"use strict";function n(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=o.height=2*n;var a=o.getContext("2d");return a?(a.fillStyle=e,a.fillRect(0,0,o.width,o.height),a.fillStyle=t,a.fillRect(0,0,n,n),a.translate(n,n),a.fillRect(0,0,n,n),o.toDataURL()):null}function r(e,t,r,a){var i=e+"-"+t+"-"+r+(a?"-server":""),s=n(e,t,r,a);return o[i]?o[i]:(o[i]=s,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.render=n,t.get=r;var o={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.EditableInput=void 0;var l=function(){function e(e,t){for(var n=0;n=0&&t<=n.props.dragMax&&n.props.onChange(o({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return s(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.refs.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=(0,d.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return c.default.createElement("div",{style:e.wrap},c.default.createElement("input",{style:e.input,ref:"input",value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder}),this.props.label?c.default.createElement("span",{style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(u.PureComponent||u.Component);t.default=p},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var l=function(){function e(e,t){for(var n=0;na)c=0;else{var f=-(100*u/a)+100;c=360*f/100}if(n.hsl.h!==c)return{h:c,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var d=void 0;if(l<0)d=0;else if(l>o)d=359;else{var p=100*l/o;d=360*p/100}if(n.hsl.h!==d)return{h:d,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=n},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Saturation=void 0;var l=function(){function e(e,t){for(var n=0;no?l=o:u<0?u=0:u>a&&(u=a);var c=100*l/o,f=-(100*u/a)+100;return{h:n.hsl.h,s:c,v:f,a:n.hsl.a,source:"rgb"}}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorWrap=void 0;var s=Object.assign||function(e){for(var t=1;t.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,a,i;if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)o=a=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),a=r(l,s,e),i=r(l,s,e-1/3)}return{r:255*o,g:255*a,b:255*i}}function u(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,a=V(e,t,n),i=q(e,t,n),s=a,l=a-i;if(o=0===a?0:l/a,a==i)r=0;else{switch(a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(o(r));return i}function E(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,a=n.s,i=n.v,s=[],l=1/t;t--;)s.push(o({h:r,s:a,v:i})),i=(i+l)%1;return s}function T(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function k(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,t){D(e)&&(e="100%");var n=O(e);return e=q(t,V(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),U.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return q(1,V(0,e))}function S(e){return parseInt(e,16)}function D(e){return"string"==typeof e&&e.indexOf(".")!=-1&&1===parseFloat(e)}function O(e){return"string"==typeof e&&e.indexOf("%")!=-1}function I(e){return 1==e.length?"0"+e:""+e}function L(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}function N(e){return Math.round(255*parseFloat(e)).toString(16)}function B(e){return S(e)/255}function F(e){e=e.replace(j,"").replace(z,"").toLowerCase();var t=!1;if(Y[e])e=Y[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Q.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Q.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Q.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Q.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Q.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Q.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Q.hex8.exec(e))?{a:B(n[1]),r:S(n[2]),g:S(n[3]),b:S(n[4]),format:t?"name":"hex8"}:(n=Q.hex6.exec(e))?{r:S(n[1]),g:S(n[2]),b:S(n[3]),format:t?"name":"hex"}:!!(n=Q.hex3.exec(e))&&{r:S(n[1]+""+n[1]),g:S(n[2]+""+n[2]),b:S(n[3]+""+n[3]),format:t?"name":"hex"}}function R(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var j=/^[\s,#]+/,z=/\s+$/,H=0,U=Math,W=U.round,q=U.min,V=U.max,G=U.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,a,i=this.toRgb();return e=i.r/255,t=i.g/255,n=i.b/255,r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),a=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*a},setAlpha:function(e){return this._a=k(e),this._roundA=W(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return d(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:W(this._r),g:W(this._g),b:W(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+W(this._r)+", "+W(this._g)+", "+W(this._b)+")":"rgba("+W(this._r)+", "+W(this._g)+", "+W(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:W(100*P(this._r,255))+"%",g:W(100*P(this._g,255))+"%",b:W(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+W(100*P(this._r,255))+"%, "+W(100*P(this._g,255))+"%, "+W(100*P(this._b,255))+"%)":"rgba("+W(100*P(this._r,255))+"%, "+W(100*P(this._g,255))+"%, "+W(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(K[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+d(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var a=o(e);n=a.toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"; -},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,o=!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"name"===e);return o?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&("a"===r?n[r]=e[r]:n[r]=L(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:G(),g:G(),b:G()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r,a=o(e).toRgb(),i=o(t).toRgb(),s=n/100,l=2*s-1,u=i.a-a.a;r=l*u==-1?l:(l+u)/(1+l*u),r=(r+1)/2;var c=1-r,f={r:i.r*r+a.r*c,g:i.g*r+a.g*c,b:i.b*r+a.b*c,a:i.a*s+a.a*(1-s)};return o(f)},o.readability=function(e,t){var n=o(e),r=o(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,a,i=o.readability(e,t);switch(a=!1,r=R(n),r.level+r.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},o.mostReadable=function(e,t,n){var r,a,i,s,l=null,u=0;n=n||{},a=n.includeFallbackColors,i=n.level,s=n.size;for(var c=0;cu&&(u=r,l=o(t[c]));return o.isReadable(e,l,{level:i,size:s})||!a?l:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var Y=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},K=o.hexNames=T(Y),Q=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof e&&e.exports?e.exports=o:(r=function(){return o}.call(t,n,t,e),!(void 0!==r&&(e.exports=r)))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Swatch=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.Swatch=function(e){var t=e.color,n=e.style,r=e.onClick,o=e.title,i=void 0===o?t:o,l=(0,s.default)({default:{swatch:{background:t,height:"100%",width:"100%",cursor:"pointer"}},custom:{swatch:n}},"custom"),u=function(e){return r(t,e)};return a.default.createElement("div",{style:l.swatch,onClick:u,title:i})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.AlphaPointer=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.AlphaPointer=function(e){var t=e.direction,n=(0,s.default)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return a.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Block=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(1075),u=r(l),c=n(1063),f=n(1081),d=r(f),p=t.Block=function(e){var t=e.onChange,n=e.hex,r=e.colors,o=e.width,i=e.triangle,l=function(e,n){u.default.isValidHex(e)&&t({hex:e,source:"hex"},n)},f=(0,s.default)({default:{card:{width:o,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:n,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center"},body:{padding:"10px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+n+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},{"hide-triangle":"hide"===i});return a.default.createElement("div",{style:f.card,className:"block-picker"},a.default.createElement("div",{style:f.triangle}),a.default.createElement("div",{style:f.head},a.default.createElement("div",{style:f.label},n)),a.default.createElement("div",{style:f.body},a.default.createElement(d.default,{colors:r,onClick:l}),a.default.createElement(c.EditableInput,{placeholder:"Hex Code",style:{input:f.input},value:"",onChange:l})))};p.defaultProps={width:"170px",colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top"},t.default=(0,c.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.BlockSwatches=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(958),u=r(l),c=n(1063),f=t.BlockSwatches=function(e){var t=e.colors,n=e.onClick,r=(0,s.default)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return a.default.createElement("div",{style:r.swatches},(0,u.default)(t,function(e){return a.default.createElement(c.Swatch,{key:e,color:e,style:r.swatch,onClick:n})}),a.default.createElement("div",{style:r.clear}))};t.default=f},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var a=n(321),i=o(a),s=n(1046),l=o(s),u=n(958),c=o(u),f=n(1083),d=r(f),p=n(1063),h=n(1084),m=o(h),g=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.colors,o=e.hex,a=e.circleSize,s=e.circleSpacing,u=(0,l.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-s,marginBottom:-s}}}),f=function(e,t){return n({hex:e,source:"hex"},t)};return i.default.createElement("div",{style:u.card,className:"circle-picker"},(0,c.default)(r,function(e){return i.default.createElement(m.default,{key:e,color:e,onClick:f,active:o===e.toLowerCase(),circleSize:a,circleSpacing:s})}))};g.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[d.red[500],d.pink[500],d.purple[500],d.deepPurple[500],d.indigo[500],d.blue[500],d.lightBlue[500],d.cyan[500],d.teal[500],d.green[500],d.lightGreen[500],d.lime[500],d.yellow[500],d.amber[500],d.orange[500],d.deepOrange[500],d.brown[500],d.blueGrey[500]]},t.default=(0,p.ColorWrap)(g)},function(e,t,n){var r,o,a;!function(n,i){o=[],r=i,a="function"==typeof r?r.apply(t,o):r,!(void 0!==a&&(e.exports=a))}(this,function(){return{red:{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},pink:{50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},purple:{50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},deepPurple:{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},indigo:{50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},blue:{50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},lightBlue:{50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},green:{50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},lightGreen:{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},orange:{50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},deepOrange:{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},blueGrey:{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},darkText:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},lightText:{primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},darkIcons:{active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},lightIcons:{active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},white:"#ffffff",black:"#000000"}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(1063),u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.hover,o=e.active,i=e.circleSize,u=e.circleSpacing,c=(0,s.default)({default:{swatch:{width:i,height:i,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+i/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:r,active:o});return a.default.createElement("div",{style:c.swatch},a.default.createElement(l.Swatch,{style:c.Swatch,color:t,onClick:n}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,i.hover)(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Chrome=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(1063),u=n(1086),c=r(u),f=n(1087),d=r(f),p=n(1088),h=r(p),m=t.Chrome=function(e){var t=e.onChange,n=e.disableAlpha,r=e.rgb,o=e.hsl,i=e.hsv,u=e.hex,f=e.renderers,p=(0,s.default)({default:{picker:{background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",width:"225px",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},{disableAlpha:n});return a.default.createElement("div",{style:p.picker,className:"chrome-picker"},a.default.createElement("div",{style:p.saturation},a.default.createElement(l.Saturation,{style:p.Saturation,hsl:o,hsv:i,pointer:h.default,onChange:t})),a.default.createElement("div",{style:p.body},a.default.createElement("div",{style:p.controls,className:"flexbox-fix"},a.default.createElement("div",{style:p.color},a.default.createElement("div",{style:p.swatch},a.default.createElement("div",{style:p.active}),a.default.createElement(l.Checkboard,{renderers:f}))),a.default.createElement("div",{style:p.toggles},a.default.createElement("div",{style:p.hue},a.default.createElement(l.Hue,{style:p.Hue,hsl:o,pointer:d.default,onChange:t})),a.default.createElement("div",{style:p.alpha},a.default.createElement(l.Alpha,{style:p.Alpha,rgb:r,hsl:o,pointer:d.default,renderers:f,onChange:t})))),a.default.createElement(c.default,{rgb:r,hsl:o,hex:u,onChange:t,disableAlpha:n})))};t.default=(0,l.ColorWrap)(m)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromeFields=void 0;var s=function(){function e(e,t){for(var n=0;n1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&r.props.onChange({h:e.h||r.props.hsl.h,s:e.s&&e.s.replace("%","")||r.props.hsl.s,l:e.l&&e.l.replace("%","")||r.props.hsl.l,source:"hsl"},t)},r.showHighlight=function(e){e.target.style.background="#eee"},r.hideHighlight=function(e){e.target.style.background="transparent"},i=n,a(r,i)}return i(t,e),s(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=(0,f.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),t=void 0;return"hex"===this.state.view?t=u.default.createElement("div",{style:e.fields,className:"flexbox-fix"},u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?t=u.default.createElement("div",{style:e.fields,className:"flexbox-fix"},u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),u.default.createElement("div",{style:e.alpha},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(t=u.default.createElement("div",{style:e.fields,className:"flexbox-fix"},u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:e.alpha},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),u.default.createElement("div",{style:e.wrap,className:"flexbox-fix"},t,u.default.createElement("div",{style:e.toggle},u.default.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:"icon"},u.default.createElement("svg",{style:e.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},u.default.createElement("path",{ref:"iconUp",fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),u.default.createElement("path",{ref:"iconDown",fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(u.default.Component);t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.ChromePointer=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return a.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.ChromePointerCircle=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return a.default.createElement("div",{style:e.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Compact=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(958),u=r(l),c=n(1075),f=r(c),d=n(1090),p=n(1063),h=n(1096),m=r(h),g=n(1097),v=r(g),y=t.Compact=function(e){var t=e.onChange,n=e.colors,r=e.hex,o=e.rgb,i=(0,s.default)({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}}),l=function(e,n){e.hex?f.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},n):t(e,n)};return a.default.createElement(d.Raised,{style:i.Compact},a.default.createElement("div",{style:i.compact,className:"compact-picker"},a.default.createElement("div",null,(0,u.default)(n,function(e){return a.default.createElement(m.default,{key:e,color:e,active:e.toLowerCase()===r,onClick:l})}),a.default.createElement("div",{style:i.clear})),a.default.createElement(v.default,{hex:r,rgb:o,onChange:l})))};y.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"]},t.default=(0,p.ColorWrap)(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1091),a=r(o),i=n(1092),s=r(i),l=n(1093),u=r(l);t.Raised=a.default,t.Tile=s.default,t.Tabs=u.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;nn&&(e.scrollLeft+=a-n),o=(e.tabs&&e.tabs.length)&&(t.selectedTab=e.tabs.length-1)}},{key:"componentDidUpdate",value:function(){this.slide()}},{key:"render",value:function(){for(var e=(0,f.default)({default:{tabs:{position:"relative",background:this.props.background},tabWrap:{display:"flex"},tab:{justifyContent:"flex-start",minWidth:"68px",maxWidth:"240px"},Tab:{color:this.props.color,inactive:this.props.inactive,capitalize:this.props.capitalize},indicator:{height:"0",position:"absolute",bottom:"0",left:"0",background:this.props.color,transition:"all 200ms linear"}},scrollable:{tabs:{overflowX:"scroll"},tabWrap:{paddingLeft:"60px",justifyContent:"flex-start",width:"400%"},tab:{width:"auto"}},"align-justify":{tabWrap:{justifyContent:"space-between"},tab:{width:100/this.props.tabs.length+"%"}},"align-left":{tabWrap:{paddingLeft:"60px",justifyContent:"flex-start"},tab:{width:"auto"}},"align-center":{tabWrap:{justifyContent:"center"},tab:{width:"auto"}}},{scrollable:this.props.width/this.props.tabs.length<72},this.props,this.state),t=[],n=0;n.5});return a.default.createElement("div",{style:n.picker})};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPointerCircle=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.PhotoshopPointerCircle=function(){var e=(0,s.default)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return a.default.createElement("div",{style:e.pointer},a.default.createElement("div",{style:e.left},a.default.createElement("div",{style:e.leftInside})),a.default.createElement("div",{style:e.right},a.default.createElement("div",{style:e.rightInside})))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopBotton=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.PhotoshopBotton=function(e){var t=e.onClick,n=e.label,r=e.children,o=e.active,i=(0,s.default)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:o});return a.default.createElement("div",{style:i.button,onClick:t},n||r)};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,s.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return a.default.createElement("div",null,a.default.createElement("div",{style:r.label},"new"),a.default.createElement("div",{style:r.swatches},a.default.createElement("div",{style:r.new}),a.default.createElement("div",{style:r.current})),a.default.createElement("div",{style:r.label},"current"))};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(1063),u=n(1110),c=r(u),f=n(1111),d=r(f),p=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,i=e.hsl,u=e.onChange,f=e.disableAlpha,p=e.presetColors,h=e.renderers,m=(0,s.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:f});return a.default.createElement("div",{style:m.picker,className:"sketch-picker"},a.default.createElement("div",{style:m.saturation},a.default.createElement(l.Saturation,{style:m.Saturation,hsl:i,hsv:o,onChange:u})),a.default.createElement("div",{style:m.controls,className:"flexbox-fix"},a.default.createElement("div",{style:m.sliders},a.default.createElement("div",{style:m.hue},a.default.createElement(l.Hue,{style:m.Hue,hsl:i,onChange:u})),a.default.createElement("div",{style:m.alpha},a.default.createElement(l.Alpha,{style:m.Alpha,rgb:n,hsl:i,renderers:h,onChange:u}))),a.default.createElement("div",{style:m.color},a.default.createElement(l.Checkboard,null),a.default.createElement("div",{style:m.activeColor}))),a.default.createElement(c.default,{rgb:n,hsl:i,hex:r,onChange:u,disableAlpha:f}),a.default.createElement(d.default,{colors:p,onClick:u}))};p.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,l.ColorWrap)(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var o=n(321),a=r(o),i=n(1046),s=r(i),l=n(1075),u=r(l),c=n(1063),f=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,i=e.disableAlpha,l=(0,s.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:i}),f=function(e,o){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return a.default.createElement("div",{style:l.fields,className:"flexbox-fix"},a.default.createElement("div",{style:l.double},a.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:f})),a.default.createElement("div",{style:l.single},a.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:f,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:l.single},a.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:f,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:l.single},a.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:f,dragLabel:"true",dragMax:"255"})),a.default.createElement("div",{style:l.alpha},a.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:f,dragLabel:"true",dragMax:"100"})))};t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;tn.right}function a(e,t,n){return e.topn.bottom}function i(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1135),i=r(a),s=n(1137),l=r(s);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=i.default.clone(e),a={width:t.width,height:t.height};return r.adjustX&&o.left=n.left&&o.left+a.width>n.right&&(a.width-=o.left+a.width-n.right),r.adjustX&&o.left+a.width>n.right&&(o.left=Math.max(n.right-a.width,n.left)),r.adjustY&&o.top=n.top&&o.top+a.height>n.bottom&&(a.height-=o.top+a.height-n.bottom),r.adjustY&&o.top+a.height>n.bottom&&(o.top=Math.max(n.bottom-a.height,n.top)),i.default.mix(o,a)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1135),i=r(a);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0,n=void 0,r=void 0;if(i.default.isWindow(e)||9===e.nodeType){var o=i.default.getWindow(e);t={left:i.default.getWindowScrollLeft(o),top:i.default.getWindowScrollTop(o)},n=i.default.viewportWidth(o),r=i.default.viewportHeight(o)}else t=i.default.offset(e),n=i.default.outerWidth(e),r=i.default.outerHeight(e);return t.width=n,t.height=r,t}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1135),i=r(a);t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var a=void 0,s=void 0,l=void 0,u=void 0;return a={left:e.left,top:e.top},l=(0,i.default)(t,n[1]),u=(0,i.default)(e,n[0]),s=[u.left-l.left,u.top-l.top],{left:a.left-s[0]+r[0]-o[0],top:a.top-s[1]+r[1]-o[1]}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1142),i=r(a);t.default=o,e.exports=t.default},function(e,t){"use strict";function n(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,a=e.height,i=void 0,s=void 0;return i=e.left,s=e.top,"c"===n?s+=a/2:"b"===n&&(s+=a),"c"===r?i+=o/2:"r"===r&&(i+=o),{left:i,top:s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e){return null!=e&&e==e.window}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){"use strict";e.exports=n(1145)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=e.children;return l.default.isValidElement(t)&&!t.key?l.default.cloneElement(t,{key:h}):t}function i(){}Object.defineProperty(t,"__esModule",{value:!0});var s=n(321),l=r(s),u=n(1146),c=n(1147),f=r(c),d=n(1152),p=r(d),h="rc_animate_"+Date.now(),m=l.default.createClass({displayName:"Animate",propTypes:{component:l.default.PropTypes.any,animation:l.default.PropTypes.object,transitionName:l.default.PropTypes.oneOfType([l.default.PropTypes.string,l.default.PropTypes.object]),transitionEnter:l.default.PropTypes.bool,transitionAppear:l.default.PropTypes.bool,exclusive:l.default.PropTypes.bool,transitionLeave:l.default.PropTypes.bool,onEnd:l.default.PropTypes.func,onEnter:l.default.PropTypes.func,onLeave:l.default.PropTypes.func,onAppear:l.default.PropTypes.func,showProp:l.default.PropTypes.string},getDefaultProps:function(){return{animation:{},component:"span",transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:i,onEnter:i,onLeave:i,onAppear:i}},getInitialState:function(){return this.currentlyAnimatingKeys={},this.keysToEnter=[],this.keysToLeave=[],{children:(0,u.toArrayChildren)(a(this.props))}},componentDidMount:function(){var e=this,t=this.props.showProp,n=this.state.children;t&&(n=n.filter(function(e){return!!e.props[t]})),n.forEach(function(t){t&&e.performAppear(t.key)})},componentWillReceiveProps:function(e){var t=this;this.nextProps=e;var n=(0,u.toArrayChildren)(a(e)),r=this.props;r.exclusive&&Object.keys(this.currentlyAnimatingKeys).forEach(function(e){t.stop(e)});var i=r.showProp,s=this.currentlyAnimatingKeys,c=r.exclusive?(0,u.toArrayChildren)(a(r)):this.state.children,f=[];i?(c.forEach(function(e){var t=e&&(0,u.findChildInChildrenByKey)(n,e.key),r=void 0;r=t&&t.props[i]||!e.props[i]?t:l.default.cloneElement(t||e,o({},i,!0)),r&&f.push(r)}),n.forEach(function(e){e&&(0,u.findChildInChildrenByKey)(c,e.key)||f.push(e)})):f=(0,u.mergeChildren)(c,n),this.setState({children:f}),n.forEach(function(e){var n=e&&e.key;if(!e||!s[n]){var r=e&&(0,u.findChildInChildrenByKey)(c,n);if(i){var o=e.props[i];if(r){var a=(0,u.findShownChildInChildrenByKey)(c,n,i);!a&&o&&t.keysToEnter.push(n)}else o&&t.keysToEnter.push(n)}else r||t.keysToEnter.push(n)}}),c.forEach(function(e){var r=e&&e.key;if(!e||!s[r]){var o=e&&(0,u.findChildInChildrenByKey)(n,r);if(i){var a=e.props[i];if(o){var l=(0,u.findShownChildInChildrenByKey)(n,r,i);!l&&a&&t.keysToLeave.push(r)}else a&&t.keysToLeave.push(r)}else o||t.keysToLeave.push(r)}})},componentDidUpdate:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},performEnter:function(e){this.refs[e]&&(this.currentlyAnimatingKeys[e]=!0,this.refs[e].componentWillEnter(this.handleDoneAdding.bind(this,e,"enter")))},performAppear:function(e){this.refs[e]&&(this.currentlyAnimatingKeys[e]=!0,this.refs[e].componentWillAppear(this.handleDoneAdding.bind(this,e,"appear")))},handleDoneAdding:function(e,t){var n=this.props;if(delete this.currentlyAnimatingKeys[e],!n.exclusive||n===this.nextProps){var r=(0,u.toArrayChildren)(a(n));this.isValidChildByKey(r,e)?"appear"===t?p.default.allowAppearCallback(n)&&(n.onAppear(e),n.onEnd(e,!0)):p.default.allowEnterCallback(n)&&(n.onEnter(e),n.onEnd(e,!0)):this.performLeave(e)}},performLeave:function(e){this.refs[e]&&(this.currentlyAnimatingKeys[e]=!0,this.refs[e].componentWillLeave(this.handleDoneLeaving.bind(this,e)))},handleDoneLeaving:function(e){var t=this.props;if(delete this.currentlyAnimatingKeys[e],!t.exclusive||t===this.nextProps){var n=(0,u.toArrayChildren)(a(t));if(this.isValidChildByKey(n,e))this.performEnter(e);else{var r=function(){p.default.allowLeaveCallback(t)&&(t.onLeave(e),t.onEnd(e,!1))};this.isMounted()&&!(0,u.isSameChildren)(this.state.children,n,t.showProp)?this.setState({children:n},r):r()}}},isValidChildByKey:function(e,t){var n=this.props.showProp;return n?(0,u.findShownChildInChildrenByKey)(e,t,n):(0,u.findChildInChildrenByKey)(e,t)},stop:function(e){delete this.currentlyAnimatingKeys[e];var t=this.refs[e];t&&t.stop()},render:function(){var e=this.props;this.nextProps=e;var t=this.state.children,n=null;t&&(n=t.map(function(t){if(null===t||void 0===t)return t;if(!t.key)throw new Error("must set key for children");return l.default.createElement(f.default,{key:t.key,ref:t.key,animation:e.animation,transitionName:e.transitionName,transitionEnter:e.transitionEnter,transitionAppear:e.transitionAppear,transitionLeave:e.transitionLeave},t)}));var r=e.component;if(r){var o=e;return"string"==typeof r&&(o={className:e.className,style:e.style}),l.default.createElement(r,o,n)}return n[0]||null}});t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=[];return f.default.Children.forEach(e,function(e){t.push(e)}),t}function a(e,t){var n=null;return e&&e.forEach(function(e){n||e&&e.key===t&&(n=e)}),n}function i(e,t,n){var r=null;return e&&e.forEach(function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for children");r=e}}),r}function s(e,t,n){var r=0;return e&&e.forEach(function(e){r||(r=e&&e.key===t&&!e.props[n])}),r}function l(e,t,n){var r=e.length===t.length;return r&&e.forEach(function(e,o){var a=t[o];e&&a&&(e&&!a||!e&&a?r=!1:e.key!==a.key?r=!1:n&&e.props[n]!==a.props[n]&&(r=!1))}),r}function u(e,t){var n=[],r={},o=[];return e.forEach(function(e){e&&a(t,e.key)?o.length&&(r[e.key]=o,o=[]):o.push(e)}),t.forEach(function(e){e&&r.hasOwnProperty(e.key)&&(n=n.concat(r[e.key])),n.push(e)}),n=n.concat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.toArrayChildren=o,t.findChildInChildrenByKey=a,t.findShownChildInChildrenByKey=i,t.findHiddenChildInChildrenByKey=s,t.isSameChildren=l,t.mergeChildren=u;var c=n(321),f=r(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},a=n(321),i=r(a),s=n(348),l=r(s),u=n(1148),c=r(u),f=n(1152),d=r(f),p={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},h=i.default.createClass({displayName:"AnimateChild",propTypes:{children:i.default.PropTypes.any},componentWillUnmount:function(){this.stop()},componentWillEnter:function(e){d.default.isEnterSupported(this.props)?this.transition("enter",e):e()},componentWillAppear:function(e){d.default.isAppearSupported(this.props)?this.transition("appear",e):e()},componentWillLeave:function(e){d.default.isLeaveSupported(this.props)?this.transition("leave",e):e()},transition:function(e,t){var n=this,r=l.default.findDOMNode(this),a=this.props,i=a.transitionName,s="object"===("undefined"==typeof i?"undefined":o(i));this.stop();var f=function(){n.stopper=null,t()};if((u.isCssAnimationSupported||!a.animation[e])&&i&&a[p[e]]){var d=s?i[e]:i+"-"+e,h=d+"-active";s&&i[e+"Active"]&&(h=i[e+"Active"]),this.stopper=(0,c.default)(r,{name:d,active:h},f)}else this.stopper=a.animation[e](r,f)},stop:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())},render:function(){return this.props.children}});t.default=h,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=window.getComputedStyle(e),r="",o=0;o1?(!n&&t&&(r.className+=" "+t),s.default.createElement("div",r)):s.default.Children.only(r.children)}});t.default=l,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return e[0]===t[0]&&e[1]===t[1]}function a(e,t,n){var r=e[t]||{};return(0,l.default)({},r,n)}function i(e,t,n){var r=n.points;for(var a in e)if(e.hasOwnProperty(a)&&o(e[a].points,r))return t+"-placement-"+a;return""}Object.defineProperty(t,"__esModule",{value:!0});var s=n(827),l=r(s);t.getAlignFromPlacement=a,t.getPopupClassNameFromAlign=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=document.createElement("div");return document.body.appendChild(e),e}function a(e){function t(e,t,n){(!c||e._component||c(e))&&(e._container||(e._container=p(e)),l.default.unstable_renderSubtreeIntoContainer(e,f(e,t),e._container,function(){e._component=this,n&&n.call(this)}))}function n(e){if(e._container){var t=e._container;l.default.unmountComponentAtNode(t),t.parentNode.removeChild(t),e._container=null}}var r=e.autoMount,a=void 0===r||r,s=e.autoDestroy,u=void 0===s||s,c=e.isVisible,f=e.getComponent,d=e.getContainer,p=void 0===d?o:d,h=void 0;return a&&(h=i({},h,{componentDidMount:function(){t(this)},componentDidUpdate:function(){t(this)}})),a&&u||(h=i({},h,{renderComponent:function(e,n){t(this,e,n)}})),h=u?i({},h,{componentWillUnmount:function(){n(this)}}):i({},h,{removeContainer:function(){n(this)}})}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t=Math.pow(2,o)+Math.pow(2,o)*a,summaryWindow:Math.max(1,Math.pow(2,Math.ceil(Math.log(i/(r/2))/Math.log(2))))}}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,m.assertRequired)(t,["method","regionField","queryField","start","end"]);var r=t.method,o=t.regionField,i=t.queryField,c=t.limitField,f=t.start,p=t.end,h=t.blockLimit,g=t.useWiderBlocksIfInCache;if(p= start");var v=JSON.stringify({method:r,regionField:o,queryField:i,limitField:c,blockLimit:h,APIArgs:e}),y=a(t),b=y.blockLevel,A=y.blockIndex,x=y.needNext,_=B[v];if(!_||_[b]&&_[b][A]&&_[b][A+1]){var w=[s(e,t,b,A,n).then(l(e,t,b,A,n))];return x&&w.push(s(e,t,b,A+1,n).then(l(e,t,b,A+1,n))),Promise.all(w).then(d)}if(g)for(var C=~~(A/2),E=~~(A+.5),T=b+1;T<_.length;++T,C=~~(C/2),E=~~(E/2))if(_[T]&&_[T][C]&&_[T][E])return Promise.all(C===E?[s(e,t,T,C,n)]:[s(e,t,T,C,n),s(e,t,T,E,n)]).then(u(e,t,b,A,n));return Promise.all([s(e,t,b,A,n).then(l(e,t,b,A,n)),s(e,t,b,A+1,n).then(l(e,t,b,A+1,n))]).then(d)}function s(e,t,n,r,a){var i=t.method,s=t.regionField,l=t.queryField,u=t.limitField,c=t.blockLimit,f=t.postProcessBlock,d=t.isBlockTooBig; -d=d||function(e,t){return!(e[(0,w.default)(e)[0]].shape[0]<=t)};var p=JSON.stringify({method:i,regionField:s,queryField:l,limitField:u,blockLimit:c,APIArgs:e}),m=Math.pow(2,n),g=m*r,y=x.default.WhereClause.AND([x.default.WhereClause.decode(e[l]),x.default.WhereClause.CompareFixed(s,">=",g),x.default.WhereClause.CompareFixed(s,"<",g+m)]);return e=h({},e,o({},l,x.default.WhereClause.encode(y))),u&&c&&(e[u]=c+1),b.default.get("propertyRegionCache"+i+JSON.stringify(e),function(t){return N.default.delay(500).then(function(){return v.default[i](h({cancellation:t},e)).then(function(e){return d(e,c)?h({_blockStart:g,_blockSize:m,_tooBig:!0},e):h({_blockStart:g,_blockSize:m},f?f(e):e)})})},a).then(function(e){return B[p]||(B[p]=[]),B[p][n]||(B[p][n]=[]),B[p][n][r]=!0,e})}function l(e,t,n,r,o){return function(a){if(!a._tooBig)return a;var i=function(){for(var a=2,i=n-a,l=[],u=Math.pow(2,a),c=r*u;c<(r+1)*u;++c)l.push(c);return{v:Promise.all((0,E.default)(l,function(n){return s(e,t,i,n,o)}))}}();return"object"===("undefined"==typeof i?"undefined":p(i))?i.v:void 0}}function u(e,t,n,r,o){return function(a){return(0,k.default)(a,function(e){return e._tooBig})?Promise.all([s(e,t,n,r,o).then(l(e,t,n,r,o)),s(e,t,n,r+1,o).then(l(e,t,n,r+1,o))]).then(d):a}}function c(e,t){if(e=(0,M.default)(e,function(e){return!e._tooBig}),0==e.length)return[];if(e[0][t].array.set){var n=function(){var n=new e[0][t].array.constructor((0,D.default)(e,function(e){return e[t].array.length})),r=0;return(0,I.default)(e,function(e){var o=e[t].array;n.set(o,r),r+=o.length}),{v:n}}();if("object"===("undefined"==typeof n?"undefined":p(n)))return n.v}else{var r=function(){var n=[];return(0,I.default)(e,function(e){Array.prototype.push.apply(n,e[t].array||[])}),{v:n}}();if("object"===("undefined"==typeof r?"undefined":p(r)))return r.v}}function f(e,t,n){var r=(t-e)/n;return Math.max(1,Math.pow(2,Math.round(Math.log(r)/Math.log(2))))}function d(e){var t=[];return e.forEach(function(e){Array.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)}),t}Object.defineProperty(t,"__esModule",{value:!0});var p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=Object.assign||function(e){for(var t=1;t999&&t<=9999?t:t.toLocaleString()};var n=function(e){return new Date(24*(e-2440587.5)*60*60*1e3)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(1168),u=r(l),c=n(793),f=r(c),d=n(728),p=r(d),h=n(736),m=r(h),g=n(1171),v=r(g),y=a.default.createClass({displayName:"FilterButton",mixins:[s.default,p.default],propTypes:{query:a.default.PropTypes.string,table:a.default.PropTypes.string.isRequired,onPick:a.default.PropTypes.func.isRequired,name:a.default.PropTypes.string},getDefaultProps:function(){return{query:f.default.nullQuery}},handlePick:function(e){this.getFlux().actions.session.modalClose(),this.props.onPick(e)},render:function(){var e=this,t=this.props,n=t.query,r=t.table,o=t.name,i=f.default.WhereClause.decode(n);return a.default.createElement("div",null,a.default.createElement(u.default,{label:i.isTrivial?"Add "+(o||"")+" Filter":"Change "+(o||"")+" Filter",primary:!0,onClick:function(){return e.getFlux().actions.session.modalOpen(a.default.createElement(v.default,{table:r,initialQuery:n,onPick:e.handlePick}))},icon:a.default.createElement(m.default,{fixedWidth:!0,name:"filter"})}),i.isTrivial?null:a.default.createElement(u.default,{label:"Clear "+(o||"")+" Filter",primary:!0,onClick:function(){e.handlePick(f.default.nullQuery)},icon:a.default.createElement("span",{className:"fa-stack"},a.default.createElement(m.default,{style:{position:"absolute",color:"rgb(153, 200, 236)"},name:"filter",stack:"1x"}),a.default.createElement(m.default,{style:{position:"absolute",fontSize:"2em",color:"#2196f3"},name:"ban",stack:"2x"}))}))}});t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1169),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(827),a=r(o),i=n(865),s=r(i),l=n(866),u=r(l),c=n(871),f=r(c),d=n(872),p=r(d),h=n(876),m=r(h),g=n(911),v=r(g),y=n(919),b=r(y),A=n(321),x=r(A),_=n(920),w=r(_),C=n(922),E=n(921),T=n(925),k=r(T),P=n(1170),M=r(P),S=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){var n=e[t];return n?(0,y.default)(n)?n:[n]:[t]}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t95&&e<112||x.hasOwnProperty(e)&&(A[x[e]]=e)}return A}function m(e,t,n){return n||(n=h()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function v(e,t){var n,r,o,a=[];for(n=g(e),o=0;o1?void h(e,s,t,r):(i=v(e,r),g._callbacks[i.key]=g._callbacks[i.key]||[],n(i.key,i.modifiers,{type:i.action},o,e,a),void g._callbacks[i.key][o?"unshift":"push"]({callback:t,modifiers:i.modifiers,action:i.action,seq:o,level:a,combo:e}))}var g=this;if(e=e||a,!(g instanceof b))return new b(e);g.target=e,g._callbacks={},g._directMap={};var y,A={},x=!1,_=!1,w=!1;g._handleKey=function(e,o,a){var i,s=n(e,o,a),l={},u=0,c=!1;for(i=0;i":".","?":"/","|":"\\"},C={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},E=1;E<20;++E)x[111+E]="f"+E;for(E=0;E<=9;++E)x[E+96]=E;b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){var n=this;return n.bind.call(n,e,function(){},t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){var n=this;return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!y(t,n.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(x[t]=e[t]);A=null},b.init=function(){var e=b(a);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),o.Mousetrap=b,"undefined"!=typeof e&&e.exports&&(e.exports=b),r=function(){return b}.call(t,n,t,e),!(r!==i&&(e.exports=r))}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1179),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return""!==e&&void 0!==e&&null!==e}Object.defineProperty(t,"__esModule",{value:!0});var a=n(827),i=r(a),s=n(865),l=r(s),u=n(866),c=r(u),f=n(871),d=r(f),p=n(872),h=r(p),m=n(876),g=r(m),v=n(911),y=r(v),b=n(919),A=r(b),x=n(321),_=r(x),w=n(348),C=r(w),E=n(929),T=r(E),k=n(920),P=r(k),M=n(1180),S=r(M),D=n(1186),O=r(D),I=n(1187),L=r(I),N=n(1188),B=r(N),F=n(312),R=(r(F),function(e,t,n){var r=t.muiTheme,o=r.baseTheme,a=r.textField,i=a.floatingLabelColor,s=a.focusColor,l=a.textColor,u=a.disabledTextColor,c=a.backgroundColor,f=a.errorColor,d={root:{fontSize:16,lineHeight:"24px",width:e.fullWidth?"100%":256,height:24*(e.rows-1)+(e.floatingLabelText?72:48),display:"inline-block",position:"relative",backgroundColor:c,fontFamily:o.fontFamily,transition:P.default.easeOut("200ms","height"),cursor:e.disabled?"not-allowed":"auto"},error:{position:"relative",bottom:2,fontSize:12,lineHeight:"12px",color:f,transition:P.default.easeOut()},floatingLabel:{color:e.disabled?u:i,pointerEvents:"none"},input:{padding:0,position:"relative",width:"100%",border:"none",outline:"none",backgroundColor:"rgba(0,0,0,0)",color:e.disabled?u:l,cursor:"inherit",font:"inherit",WebkitTapHighlightColor:"rgba(0,0,0,0)"},inputNative:{appearance:"textfield"}};return d.textarea=(0,A.default)({},d.input,{marginTop:e.floatingLabelText?36:12,marginBottom:e.floatingLabelText?-36:-12,boxSizing:"border-box",font:"inherit"}),d.input.height="100%",n.isFocused&&(d.floatingLabel.color=s),e.floatingLabelText&&(d.input.boxSizing="border-box",e.multiLine||(d.input.marginTop=14),n.errorText&&(d.error.bottom=e.multiLine?3:d.error.fontSize+3)),n.errorText&&n.isFocused&&(d.floatingLabel.color=d.error.color),d}),j=function(e){function t(){var e,n,r,a;(0,d.default)(this,t);for(var i=arguments.length,s=Array(i),l=0;l=this.props.rows&&(r=Math.min(this.props.rowsMax*E,r)),r=Math.max(r,E),this.state.height!==r&&(this.setState({height:r}),this.props.onHeightChange&&this.props.onHeightChange(t,r)))}},{key:"render",value:function(){var e=this.props,t=(e.onChange,e.onHeightChange,e.rows,e.rowsMax,e.shadowStyle),n=e.style,r=e.textareaStyle,a=(e.valueLink,(0,l.default)(e,["onChange","onHeightChange","rows","rowsMax","shadowStyle","style","textareaStyle","valueLink"])),s=this.context.muiTheme.prepareStyles,u=o(this.props,this.context,this.state),c=(0,A.default)(u.root,n),f=(0,A.default)(u.textarea,r),d=(0,A.default)({},f,u.shadow,t);return this.props.hasOwnProperty("valueLink")&&(a.value=this.props.valueLink.value),_.default.createElement("div",{style:s(c)},_.default.createElement(C.default,{target:"window",onResize:this.handleResize}),_.default.createElement("textarea",{ref:"shadow",style:s(d),tabIndex:"-1",rows:this.props.rows,defaultValue:this.props.defaultValue,readOnly:!0,value:this.props.value,valueLink:this.props.valueLink}),_.default.createElement("textarea",(0,i.default)({},a,{ref:"input",rows:this.props.rows,style:s(f),onChange:this.handleChange})))}}]),t}(x.Component);T.defaultProps={rows:1},T.contextTypes={muiTheme:x.PropTypes.object.isRequired},t.default=T},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,C.default)({},D,e)}function i(e,t,n){var r=[e,t];return r.push(S.passiveOption?n:n.capture),r}function s(e,t,n,r){S.addEventListener?e.addEventListener.apply(e,i(t,n,r)):S.attachEvent&&e.attachEvent("on"+t,function(){n.call(e)})}function l(e,t,n,r){S.removeEventListener?e.removeEventListener.apply(e,i(t,n,r)):S.detachEvent&&e.detachEvent("on"+t,n)}function u(e,t){for(var n in e)if("on"===n.substring(0,2)){var r=e[n],o="undefined"==typeof r?"undefined":(0,_.default)(r),i="object"===o,s="function"===o;if(i||s){var l="capture"===n.substr(-7).toLowerCase(),u=n.substring(2).toLowerCase();u=l?u.substring(0,u.length-7):u,i?t(u,r.handler,r.options):t(u,r,a({capture:l}))}}}function c(e,t){return{handler:e,options:a(t)}}Object.defineProperty(t,"__esModule",{value:!0});var f=n(866),d=o(f),p=n(871),h=o(p),m=n(872),g=o(m),v=n(876),y=o(v),b=n(911),A=o(b),x=n(877),_=o(x),w=n(828),C=o(w);t.withOptions=c;var E=n(321),T=(o(E),n(1182)),k=o(T),P=n(312),M=(o(P),n(1184)),S=r(M),D={capture:!1,passive:!1},O={},I=function(e){function t(){return(0,h.default)(this,t),(0,y.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments))}return(0,A.default)(t,e),(0,g.default)(t,[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"shouldComponentUpdate",value:function(e){return(0,k.default)({props:this.props,state:O},e,O)}},{key:"componentWillUpdate",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"addListeners",value:function(){this.applyListeners(s)}},{key:"removeListeners",value:function(){this.applyListeners(l)}},{key:"applyListeners",value:function(e){var t=this.props.target;if(t){var n=t;"string"==typeof t&&(n=window[t]),u(this.props,e.bind(null,n))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(E.Component);t.default=I},function(e,t,n){e.exports=n(1183)},function(e,t,n){"use strict";function r(e,t,n){return!o(e.props,t)||!o(e.state,n)}var o=n(433);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.passiveOption=t.detachEvent=t.attachEvent=t.removeEventListener=t.addEventListener=t.canUseDOM=void 0;var o=n(1185),a=r(o),i=t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement);t.addEventListener=i&&"addEventListener"in window,t.removeEventListener=i&&"removeEventListener"in window,t.attachEvent=i&&"attachEvent"in window,t.detachEvent=i&&"detachEvent"in window,t.passiveOption=function(){var e=null;return function(){if(null!==e)return e;var t=!1;try{window.addEventListener("test",null,(0,a.default)({},"passive",{get:function(){t=!0}}))}catch(e){}return e=t,t}()}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return(0,i.default)(e,t,n)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(873),i=r(a);t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.muiTheme.textField.hintColor,n=e.show;return{root:{position:"absolute",opacity:n?1:0,color:t,transition:c.default.easeOut(),bottom:12}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(919),i=r(a),s=n(321),l=r(s),u=n(920),c=r(u),f=function(e){var t=e.muiTheme.prepareStyles,n=e.style,r=e.text,a=o(e);return l.default.createElement("div",{style:t((0,i.default)(a.root,n))},r)};f.defaultProps={show:!0},t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={position:"absolute",lineHeight:"22px",top:38,transition:c.default.easeOut(),zIndex:1,transform:"scale(1) translate(0, 0)",transformOrigin:"left top",pointerEvents:"auto",userSelect:"none"},n=e.shrink?(0,i.default)({transform:"scale(0.75) translate(0, -28px)",pointerEvents:"none"},e.shrinkStyle):null;return{root:(0,i.default)(t,e.style,n)}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(919),i=r(a),s=n(321),l=r(s),u=n(920),c=r(u),f=function(e){var t=e.muiTheme,n=e.className,r=e.children,a=e.htmlFor,i=e.onTouchTap,s=t.prepareStyles,u=o(e);return l.default.createElement("label",{className:n,style:s(u.root),htmlFor:a,onTouchTap:i},r)};f.defaultProps={disabled:!1,shrink:!1},t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(919),a=r(o),i=n(321),s=r(i),l=n(920),u=r(l),c=({disabled:i.PropTypes.bool,disabledStyle:i.PropTypes.object,error:i.PropTypes.bool,errorStyle:i.PropTypes.object,focus:i.PropTypes.bool,focusStyle:i.PropTypes.object,muiTheme:i.PropTypes.object.isRequired,style:i.PropTypes.object},{disabled:!1,disabledStyle:{},error:!1,errorStyle:{},focus:!1,focusStyle:{},style:{}}),f=function(e){var t=e.disabled,n=e.disabledStyle,r=e.error,o=e.errorStyle,i=e.focus,l=e.focusStyle,c=e.muiTheme,f=e.style,d=o.color,p=c.prepareStyles,h=c.textField,m=h.borderColor,g=h.disabledTextColor,v=h.errorColor,y=h.focusColor,b={root:{borderTop:"none",borderLeft:"none",borderRight:"none",borderBottom:"solid 1px",borderColor:m,bottom:8,boxSizing:"content-box",margin:0,position:"absolute",width:"100%"},disabled:{borderBottom:"dotted 2px",borderColor:g},focus:{borderBottom:"solid 2px",borderColor:y,transform:"scaleX(0)",transition:u.default.easeOut()},error:{borderColor:d?d:v,transform:"scaleX(1)"}},A=(0,a.default)({},b.root,f),x=(0,a.default)({},A,b.focus,l);return t&&(A=(0,a.default)({},A,b.disabled,n)),i&&(x=(0,a.default)({},x,{transform:"scaleX(1)"})),r&&(x=(0,a.default)({},x,b.error)),s.default.createElement("div",null,s.default.createElement("hr",{style:p(A)}),s.default.createElement("hr",{style:p(x)}))};f.defaultProps=c,t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t-1?s[l?t[u]:u]:void 0}}var o=n(638),a=n(603),i=n(613);e.exports=r},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=n(600),a=n(638),i=n(608),s=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(733),a=r(o),i=function(){var e=Array.prototype.slice.call(arguments);return{componentDidMount:function(){if(!(this.props.flux||this.context&&this.context.flux)){var t=this.constructor.displayName?" of "+this.constructor.displayName:"";throw new Error("Could not find flux on this.props or this.context"+t)}var n=this.props.flux||this.context.flux;this.mounted=!0,this._setStateFromFlux=function(){this.mounted&&this.setState(this.getStateFromFlux())}.bind(this),(0,a.default)(e,function(e){n.store(e).on("change",this._setStateFromFlux)}.bind(this))},componentWillUnmount:function(){var t=this.props.flux||this.context.flux;this.mounted=!1,(0,a.default)(e,function(e){t.store(e).removeListener("change",this._setStateFromFlux)}.bind(this))},getInitialState:function(){return this.getStateFromFlux()}}};i.componentWillMount=function(){throw new Error('StoreWatchMixin is a function that takes one or more store names as parameters and returns the mixin, e.g.: mixins: [StoreWatchMixin("Store1", "Store2")]')},t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e.isBoolean)return"NULL"===t?null:(0,a.default)(["Yes","yes","1","true","True"],t)!==-1;if(e.isDate){var n=parseInt(t.substring(0,4)),r=parseInt(t.substring(5,7)),o=parseInt(t.substring(8,10));return isNaN(n)&&isNaN(r)&&isNaN(o)?null:(isNaN(n)&&(n=2e3),isNaN(r)&&(r=1),isNaN(o)&&(o=1),i(new Date(n,r-1,o,6,0,0)))}if(e.isFloat){if("NULL"==t)return null;var s=parseFloat(t);return isNaN(s)?null:s}if(e.isInt){if("NULL"==t)return null;var l=parseInt(t);return isNaN(l)?null:l}return t};var o=n(1196),a=r(o),i=function(e){return e.getTime()/864e5+2440587.5}},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var s=null==n?0:a(n);return s<0&&(s=i(r+s,0)),o(e,t,s)}var o=n(599),a=n(608),i=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=a.default.createClass({displayName:"PropertyInput",propTypes:{onBlur:a.default.PropTypes.func,onChange:a.default.PropTypes.func,value:a.default.PropTypes.string},handleOnChange:function(){this.props.onChange(this.value.value)},handleOnBlur:function(){this.props.onBlur(this.value.value)},render:function(){var e=this,t=this.props.value;return a.default.createElement("span",null,a.default.createElement("input",{className:"field",ref:function(t){return e.value=t},defaultValue:t,onChange:this.handleOnChange,onBlur:this.handleOnBlur}))}});t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(1194),f=r(c),d=n(1199),p=n(1201),h=r(p),m=n(736),g=r(m),v=n(1164),y=r(v),b=a.default.createClass({displayName:"RecentlyUsedTableQueries",mixins:[s.default,u.default,(0,f.default)("SessionStore")],propTypes:{table:a.default.PropTypes.string,onClick:a.default.PropTypes.func,onDoubleClick:a.default.PropTypes.func},getStateFromFlux:function(){return{usedTableQueries:this.getFlux().store("SessionStore").getState().get("usedTableQueries")}},getInitialState:function(){return null},handleClick:function(e,t){this.props.onClick(t)},handleDoubleClick:function(e,t){this.props.onDoubleClick(t)},render:function(){var e=this,t=this.props.table,n=this.state.usedTableQueries,r=null;if(n.size>0){for(var o=[],i=function(r,i){var s=n.get(r);if(s.get("table")===t){var l=a.default.createElement(d.ListItem,{key:"usedTableQueriesListItem"+r,primaryText:a.default.createElement("span",{className:"list-string"},a.default.createElement(y.default,{className:"text",table:t,query:s.get("query")})),onClick:function(t){return e.handleClick(t,s.get("query"))},onDoubleClick:function(t){return e.handleDoubleClick(t,s.get("query"))},leftIcon:a.default.createElement(g.default,{fixedWidth:!0,name:"filter"})});o.push(l)}},s=0,l=n.size;s1,_={root:{backgroundColor:!n.isKeyboardFocused&&!n.hovered||n.rightIconButtonHovered||n.rightIconButtonKeyboardFocused?null:v,color:g,display:"block",fontSize:16,lineHeight:"16px",position:"relative",transition:M.default.easeOut()},innerDiv:{marginLeft:s*m.nestedLevelDepth,paddingLeft:i||o||a||r?72:16,paddingRight:u||l||c?56:f?72:16,paddingBottom:y?20:16,paddingTop:b||x?16:20,position:"relative"},icons:{height:24,width:24,display:"block",position:"absolute",top:A?12:y?4:0,margin:12},leftIcon:{left:4},rightIcon:{right:4},avatars:{position:"absolute",top:y?8:16},label:{cursor:"pointer"},leftAvatar:{left:16},rightAvatar:{right:16},leftCheckbox:{position:"absolute",display:"block",width:24,top:A?24:y?16:12,left:16},primaryText:{},rightIconButton:{position:"absolute",display:"block",top:A?12:y?4:0,right:4},rightToggle:{position:"absolute",display:"block",width:54,top:A?25:y?17:13,right:8},secondaryText:{fontSize:14,lineHeight:x?"18px":"16px",height:x?36:16,margin:0,marginTop:4,color:m.secondaryTextColor,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:x?null:"nowrap",display:x?"-webkit-box":null,WebkitLineClamp:x?2:null,WebkitBoxOrient:x?"vertical":null}};return _}Object.defineProperty(t,"__esModule",{value:!0});var a=n(865),i=r(a),s=n(827),l=r(s),u=n(866),c=r(u),f=n(871),d=r(f),p=n(872),h=r(p),m=n(876),g=r(m),v=n(911),y=r(v),b=n(919),A=r(b),x=n(321),_=r(x),w=n(348),C=r(w),E=n(929),T=r(E),k=n(921),P=n(920),M=r(P),S=n(925),D=r(S),O=n(1204),I=r(O),L=n(1209),N=r(L),B=n(1219),F=r(B),R=n(1220),j=r(R),z=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s2&&void 0!==arguments[2])||arguments[2],arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1214),a=r(o),i=n(1215),s=r(i),l=function(e){var t=(0,s.default)(e);return function(n,r){return(0,a.default)(!1,t,e,n,r)}};t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t0?t.props.nestedItems.reduce(r.hasSelectedDescendant,e):e||r.isChildSelected(t,r.props)},r.handleItemTouchTap=function(e,t){var n=t.props.value;n!==r.props.value&&r.props.onChange&&r.props.onChange(e,n)},o=t,(0,m.default)(r,o)}return(0,v.default)(n,t),(0,p.default)(n,[{key:"extendChild",value:function(e,t,n){var r=this;if(e&&e.type&&"ListItem"===e.type.muiName){var o=this.isChildSelected(e,this.props),a=void 0;o&&(a=(0,b.default)({},t,n));var i=(0,b.default)({},e.props.style,a);return this.keyIndex+=1,x.default.cloneElement(e,{onTouchTap:function(t){r.handleItemTouchTap(t,e),e.props.onTouchTap&&e.props.onTouchTap(t)},key:this.keyIndex,style:i,nestedItems:e.props.nestedItems.map(function(e){return r.extendChild(e,t,n)}),initiallyOpen:this.isInitiallyOpen(e)})}return e}},{key:"isInitiallyOpen",value:function(e){return e.props.initiallyOpen?e.props.initiallyOpen:this.hasSelectedDescendant(!1,e)}},{key:"isChildSelected",value:function(e,t){return t.value===e.props.value}},{key:"render",value:function(){var t=this,n=this.props,r=n.children,o=n.selectedItemStyle,i=(0,s.default)(n,["children","selectedItemStyle"]);this.keyIndex=0;var l={};if(!o){var u=this.context.muiTheme.baseTheme.palette.textColor;l.backgroundColor=(0,_.fade)(u,.2)}return x.default.createElement(e,(0,a.default)({},i,this.state),A.Children.map(r,function(e){return t.extendChild(e,l,o)}))}}]),n}(A.Component),t.propTypes={children:A.PropTypes.node,onChange:A.PropTypes.func,selectedItemStyle:A.PropTypes.object,value:A.PropTypes.any},t.contextTypes={muiTheme:A.PropTypes.object.isRequired},n};t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(729),f=r(c),d=n(1199),p=n(1201),h=r(p),m=n(1204),g=r(m),v=n(736),y=r(v),b=n(1164),A=r(b),x=n(793),_=r(x),w=a.default.createClass({displayName:"StoredTableQueries",mixins:[s.default,u.default,f.default],propTypes:{table:a.default.PropTypes.string,onClick:a.default.PropTypes.func,onDoubleClick:a.default.PropTypes.func},getInitialState:function(){return null},handleClick:function(e,t){this.props.onClick(t)},handleDoubleClick:function(e,t){this.props.onDoubleClick(t)},handleOverwriteDefault:function(e,t){return this.config.user.isManager?void this.getFlux().actions.api.modifyConfig({dataset:this.config.dataset,path:"tablesById."+this.props.table+".defaultQuery",action:"replace",content:t}):(console.error("handleOverwriteDefault requires user.isManager"),null)},handleDelete:function(e,t){return this.config.user.isManager?void this.getFlux().actions.api.modifyConfig({dataset:this.config.dataset,path:"tablesById."+this.props.table+".storedQueries."+t,action:"delete"}):(console.error("handleDelete requires user.isManager"),null)},render:function(){var e=this,t=this.props.table,n=this.tableConfig().defaultQuery||_.default.nullQuery,r=this.tableConfig().storedQueries||[],o=r.map(function(n,r){var o=n.name,i=n.query,s=null;return e.config.user.isManager&&(s=a.default.createElement("div",null,a.default.createElement(g.default,{tooltip:"Set as default",tooltipPosition:"top-left",onClick:function(t){return e.handleOverwriteDefault(t,i)}},a.default.createElement(y.default,{name:"thumb-tack",inverse:!1})),a.default.createElement(g.default,{tooltip:"Delete",tooltipPosition:"top-left",onClick:function(t){return e.handleDelete(t,r)}},a.default.createElement(y.default,{name:"trash-o",inverse:!1})))),a.default.createElement(d.ListItem,{key:JSON.stringify({name:o,query:i}),primaryText:o,secondaryText:a.default.createElement("p",{className:"list-string"},a.default.createElement(A.default,{className:"text",table:t,query:i})),secondaryTextLines:2,onClick:function(t){return e.handleClick(t,i)},onDoubleClick:function(t){return e.handleDoubleClick(t,i)},leftIcon:a.default.createElement("div",null,a.default.createElement("span",{className:"fa-stack"},a.default.createElement(y.default,{style:{position:"absolute",fontSize:"2em"},name:"circle-thin",stack:"2x"}),a.default.createElement(y.default,{style:{position:"absolute"},name:"filter",stack:"1x"}))),rightIconButton:s})});return a.default.createElement(d.List,null,a.default.createElement(h.default,null,"Stored filters:"),a.default.createElement(d.ListItem,{primaryText:"No filter",onClick:function(t){return e.handleClick(t,_.default.nullQuery)},onDoubleClick:function(t){return e.handleDoubleClick(t,_.default.nullQuery)},leftIcon:a.default.createElement("div",null,a.default.createElement("span",{className:"fa-stack"},a.default.createElement(y.default,{style:{position:"absolute"},name:"filter",stack:"1x"}),a.default.createElement(y.default,{style:{position:"absolute",fontSize:"2em",color:"#2196f3"},name:"ban",stack:"2x"})))}),a.default.createElement(d.ListItem,{primaryText:"Default filter",secondaryText:a.default.createElement("p",{className:"list-string"},a.default.createElement(A.default,{className:"text",table:t,query:n})),secondaryTextLines:2,onClick:function(t){return e.handleClick(t,n)},onDoubleClick:function(t){return e.handleDoubleClick(t,n)},leftIcon:a.default.createElement("div",null,a.default.createElement("span",{className:"fa-stack"},a.default.createElement(y.default,{style:{position:"absolute",fontSize:"2em"},name:"circle",stack:"2x"}),a.default.createElement(y.default,{style:{position:"absolute"},name:"filter",stack:"1x",inverse:!0})))}),o)}});t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1224),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.muiTheme.checkbox,r=24;return{icon:{height:r,width:r},check:{position:"absolute",opacity:0,transform:"scale(0)",transitionOrigin:"50% 50%",transition:T.default.easeOut("450ms","opacity","0ms")+", "+T.default.easeOut("0ms","transform","450ms"),fill:n.checkedColor},checkWhenSwitched:{opacity:1,transform:"scale(1)",transition:T.default.easeOut("0ms","opacity","0ms")+", "+T.default.easeOut("800ms","transform","0ms")},checkWhenDisabled:{fill:n.disabledColor},box:{position:"absolute",opacity:1,fill:n.boxColor,transition:T.default.easeOut("1000ms","opacity","200ms")},boxWhenSwitched:{opacity:0,transition:T.default.easeOut("650ms","opacity","150ms"),fill:n.checkedColor},boxWhenDisabled:{fill:e.checked?"transparent":n.disabledColor},label:{color:e.disabled?n.labelDisabledColor:n.labelColor}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(827),i=r(a),s=n(865),l=r(s),u=n(866),c=r(u),f=n(871),d=r(f),p=n(872),h=r(p),m=n(876),g=r(m),v=n(911),y=r(v),b=n(919),A=r(b),x=n(321),_=r(x),w=n(1225),C=r(w),E=n(920),T=r(E),k=n(1226),P=r(k),M=n(1227),S=r(M),D=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;sU),t<=U?(0,I.regionCacheGet)(o({},f,{columns:[{expr:d.position,as:"pos"},{expr:c,as:"value"}],groupBy:[],orderBy:[]}),o({},p,{postProcessBlock:void 0}),r).then(function(e){n.applyPointsData(n.props,e),n.props.onChangeLoadStatus("DONE")}):void n.props.onChangeLoadStatus("DONE")}).catch(function(e){throw n.props.onChangeLoadStatus("DONE"),e}).catch(j.default.filterAborted).catch(F.default.filterCancelled).catch(function(r){throw n.applyData(n.props,[]),(0,N.default)(n.getFlux(),r.message,function(){return n.fetchData(e,t)}),r})})}(),["start","end","yMin","yMax"].some(function(t){return n.props[t]!==e[t]})&&this.draw(e),f&&["start","end,","autoYScale"].some(function(t){return n.props[t]!==e[t]})&&this.debouncedYScale(e)}},applyData:function(e,t,n,r){this.blocks=t,r&&(this.pointsBlocks=[]),this.summaryWindow=n,this.draw(e),this.debouncedYScale(e)},applyPointsData:function(e,t){this.pointsBlocks=t,this.draw(e)},draw:function(e){var t=e.yMin,n=e.yMax,r=e.height,o=e.start,a=e.end,i=e.width,s=e.colour,u=e.hideMinMax;if(this.refs.canvas){var c=this.refs.canvas,f=c.getContext("2d");if(f.clearRect(0,0,c.width,c.height),this.summaryWindow&&this.blocks&&!(this.blocks.length<1)&&(0,C.default)(t)&&(0,C.default)(n)){var d=j.default.nullValues[this.blocks[0].min.type],p=this.summaryWindow,h=i/(a-o),m=r/(n-t),g=p*h;u||(f.beginPath(),this.blocks.forEach(function(e){for(var n=e.window.array,a=e.min.array,i=e.max.array,s=0,l=n.length;s>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var s=Object.keys(e);"alpha"in e&&(s.splice(s.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var l=s.sort().join("");if(!(l in h))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=h[l];var g=f[this.model].labels,v=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.rgb().color,t=(299*e[0]+587*e[1]+114*e[2])/1e3;return t<128},light:function(){return!this.dark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return r.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix:function(e,t){var n=this.rgb(),o=e.rgb(),a=void 0===t?.5:t,i=2*a-1,s=n.alpha()-o.alpha(),l=((i*s===-1?i:(i+s)/(1+i*s))+1)/2,u=1-l;return r.rgb(l*n.red()+u*o.red(),l*n.green()+u*o.green(),l*n.blue()+u*o.blue(),n.alpha()*a+o.alpha()*(1-a))}},Object.keys(f).forEach(function(e){if(p.indexOf(e)===-1){var t=f[e].channels;r.prototype[e]=function(){if(this.model===e)return new r(this);if(arguments.length)return new r(arguments,e);var n="number"==typeof arguments[t]?t:this.valpha;return new r(l(f[this.model][e].raw(this.color)).concat(n),e)},r[e]=function(n){return"number"==typeof n&&(n=u(d.call(arguments),t)),new r(n,e)}}}),e.exports=r},function(e,t,n){function r(e,t,n){return Math.min(Math.max(t,e),n)}function o(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var a=n(1231),i=n(1232),s={};for(var l in a)a.hasOwnProperty(l)&&(s[a[l]]=l);var u=e.exports={to:{}};u.get=function(e){var t,n,r=e.substring(0,3).toLowerCase();switch(r){case"hsl":t=u.get.hsl(e),n="hsl";break;case"hwb":t=u.get.hwb(e),n="hwb";break;default:t=u.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},u.get.rgb=function(e){if(!e)return null;var t,n,o=/^#([a-fA-F0-9]{3})$/,i=/^#([a-fA-F0-9]{6})$/,s=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,l=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,u=/(\D+)/,c=[0,0,0,1];if(t=e.match(o))for(t=t[1],n=0;n<3;n++)c[n]=parseInt(t[n]+t[n],16);else if(t=e.match(i))for(t=t[1],n=0;n<3;n++){var f=2*n;c[n]=parseInt(t.slice(f,f+2),16)}else if(t=e.match(s)){for(n=0;n<3;n++)c[n]=parseInt(t[n+1],0);t[4]&&(c[3]=parseFloat(t[4]))}else if(t=e.match(l)){for(n=0;n<3;n++)c[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(c[3]=parseFloat(t[4]))}else if(t=e.match(u))return"transparent"===t[1]?[0,0,0,0]:(c=a[t[1]])?(c[3]=1,c):null;for(n=0;n=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},u.to.keyword=function(e){return s[e.slice(0,3)]}},function(e,t){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){"use strict";var r=n(1233),o=Array.prototype.concat,a=Array.prototype.slice,i=e.exports=function(e){for(var t=[],n=0,i=e.length;n=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},function(e,t,n){function r(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function o(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var o=.4124*t+.3576*n+.1805*r,a=.2126*t+.7152*n+.0722*r,i=.0193*t+.1192*n+.9505*r;return[100*o,100*a,100*i]},s.rgb.lab=function(e){var t,n,r,o=s.rgb.xyz(e),a=o[0],i=o[1],l=o[2];return a/=95.047,i/=100,l/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,t=116*i-16,n=500*(a-i),r=200*(i-l),[t,n,r]},s.hsl.rgb=function(e){var t,n,r,o,a,i=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return a=255*l,[a,a,a];n=l<.5?l*(1+s):l+s-l*s,t=2*l-n,o=[0,0,0];for(var u=0;u<3;u++)r=i+1/3*-(u-1),r<0&&r++,r>1&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[u]=255*a;return o},s.hsl.hsv=function(e){var t,n,r=e[0],o=e[1]/100,a=e[2]/100,i=o,s=Math.max(a,.01);return a*=2,o*=a<=1?a:2-a,i*=s<=1?s:2-s,n=(a+o)/2,t=0===a?2*i/(s+i):2*o/(a+o),[r,100*t,100*n]},s.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,a=t-Math.floor(t),i=255*r*(1-n),s=255*r*(1-n*a),l=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,l,i];case 1:return[s,r,i];case 2:return[i,r,l];case 3:return[i,s,r];case 4:return[l,i,r];case 5:return[r,i,s]}},s.hsv.hsl=function(e){var t,n,r,o=e[0],a=e[1]/100,i=e[2]/100,s=Math.max(i,.01);return r=(2-a)*i,t=(2-a)*s,n=a*s,n/=t<=1?t:2-t,n=n||0,r/=2,[o,100*n,100*r]},s.hwb.rgb=function(e){var t,n,r,o,a=e[0]/360,i=e[1]/100,s=e[2]/100,l=i+s;l>1&&(i/=l,s/=l),t=Math.floor(6*a),n=1-s,r=6*a-t,0!==(1&t)&&(r=1-r),o=i+r*(n-i);var u,c,f;switch(t){default:case 6:case 0:u=n,c=o,f=i;break;case 1:u=o,c=n,f=i;break;case 2:u=i,c=n,f=o;break;case 3:u=i,c=o,f=n;break;case 4:u=o,c=i,f=n;break;case 5:u=n,c=i,f=o}return[255*u,255*c,255*f]},s.cmyk.rgb=function(e){var t,n,r,o=e[0]/100,a=e[1]/100,i=e[2]/100,s=e[3]/100;return t=1-Math.min(1,o*(1-s)+s),n=1-Math.min(1,a*(1-s)+s),r=1-Math.min(1,i*(1-s)+s),[255*t,255*n,255*r]},s.xyz.rgb=function(e){var t,n,r,o=e[0]/100,a=e[1]/100,i=e[2]/100;return t=3.2406*o+a*-1.5372+i*-.4986,n=o*-.9689+1.8758*a+.0415*i,r=.0557*o+a*-.204+1.057*i,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]},s.xyz.lab=function(e){var t,n,r,o=e[0],a=e[1],i=e[2];return o/=95.047,a/=100,i/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,t=116*a-16,n=500*(o-a),r=200*(a-i),[t,n,r]},s.lab.xyz=function(e){var t,n,r,o=e[0],a=e[1],i=e[2];n=(o+16)/116,t=a/500+n,r=n-i/200;var s=Math.pow(n,3),l=Math.pow(t,3),u=Math.pow(r,3);return n=s>.008856?s:(n-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},s.lab.lch=function(e){var t,n,r,o=e[0],a=e[1],i=e[2]; -return t=Math.atan2(i,a),n=360*t/2/Math.PI,n<0&&(n+=360),r=Math.sqrt(a*a+i*i),[o,r,n]},s.lch.lab=function(e){var t,n,r,o=e[0],a=e[1],i=e[2];return r=i/360*2*Math.PI,t=a*Math.cos(r),n=a*Math.sin(r),[o,t,n]},s.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(o=Math.round(o/50),0===o)return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(a+=60),a},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];if(t===n&&n===r)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var o=16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5);return o},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=.5*(~~(e>50)+1),r=(1&t)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}e-=16;var n,r=Math.floor(e/36)/5*255,o=Math.floor((n=e%36)/6)/5*255,a=n%6/5*255;return[r,o,a]},s.rgb.hex=function(e){var t=((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2])),n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}/i);if(!t)return[0,0,0];var n=parseInt(t[0],16),r=n>>16&255,o=n>>8&255,a=255&n;return[r,o,a]},s.rgb.hcg=function(e){var t,n,r=e[0]/255,o=e[1]/255,a=e[2]/255,i=Math.max(Math.max(r,o),a),s=Math.min(Math.min(r,o),a),l=i-s;return t=l<1?s/(1-l):0,n=l<=0?0:i===r?(o-a)/l%6:i===o?2+(a-r)/l:4+(r-o)/l+4,n/=6,n%=1,[360*n,100*l,100*t]},s.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return r=n<.5?2*t*n:2*t*(1-n),r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},s.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},s.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],a=t%1*6,i=a%1,s=1-i,l=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=i,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=i;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=i,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-n)*r,[255*(n*o[0]+l),255*(n*o[1]+l),255*(n*o[2]+l)]},s.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t),o=0;return r>0&&(o=t/r),[e[0],100*o,100*r]},s.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,r=n*(1-t)+.5*t,o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],100*o,100*r]},s.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],100*(r-t),100*(1-r)]},s.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1-n,o=r-t,a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],100*o,100*a]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=(t<<16)+(t<<8)+t,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r},s.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},function(e,t,n){function r(){for(var e={},t=l.length,n=0;n=",g)]));t.flux.actions.session.popupOpen(i.default.createElement(W.default,{table:n,columns:[r.primKey].concat(e),query:o}))})},getDefinedQuery:function(e,t){return e||this.props.query||(t||this.props.table?this.config.tablesById[t||this.props.table].defaultQuery:null)||H.default.nullQuery},render:function(){var e=this,t=this.props,n=t.width,r=t.sideWidth,a=t.children,s=t.table,l=t.query,u=t.childrenHash,c=t.autoYScale,f=t.yMin,d=t.yMax;s&&(l=this.getDefinedQuery(l,s));var p=i.default.Children.toArray(a),m=this.tableConfig().propertiesById;return c||void 0!==f||(f=(0,h.default)(B.default.map(p,function(e,t){return m[e.props.track].minVal}))),c||void 0!==d||(d=(0,g.default)(B.default.map(p,function(e,t){return m[e.props.track].maxVal}))),a=(0,L.default)(this,a,$),a=i.default.Children.map(a,function(t){return i.default.cloneElement(t,o({},e.props,{width:n-r,colour:t.props.colour||e.config.tablesById[t.props.table].propertiesById[t.props.track].colour||ee(t.props.track),query:s?l:void 0}))}),i.default.createElement(C.default,o({onTap:this.handleTap},this.props,{yMin:f,yMax:d,side:i.default.createElement(ne,o({},this.props,{setProps:this.redirectedProps.setProps,query:l}),a),onClose:this.redirectedProps.onClose,controls:i.default.createElement(oe,o({},this.props,{yMin:f,yMax:d,setProps:this.redirectedProps.setProps,query:l})),legend:i.default.createElement(re,{childrenHash:u,setProps:this.redirectedProps.setProps},a)}),a)}}),ne=i.default.createClass({displayName:"Side",mixins:[A.default,y.default,(0,_.default)({check:["table","query","childrenHash"],redirect:["setProps"]})],render:function(){var e=this,t=this.props,n=t.children,r=t.query,o=t.table;n=i.default.Children.toArray(n);var a=B.default.map(n,function(t,n){return i.default.createElement(G.default,{key:t.props.track,name:t.props.track,colour:t.props.colour,onPickColour:function(t){return e.redirectedProps.setProps(function(e){return e.setIn(["children",n,"props","colour"],t)})}})});if(a.length>3){var s=a.length;a=a.slice(0,2).concat(i.default.createElement("div",null,"+ ",s-2," more"))}return i.default.createElement("div",null,i.default.createElement("div",null,(r!==H.default.nullQuery&&o?"Filtered ":"")+(o?this.tableConfig().capNamePlural+":":"")),i.default.createElement("div",null,a))}}),re=i.default.createClass({displayName:"Legend",mixins:[(0,_.default)({check:["childrenHash"],redirect:["setProps"]})],render:function(){var e=this;return i.default.createElement("div",{className:"legend"},i.default.createElement("div",{className:"legend-element"},"Tracks:"),i.default.Children.map(this.props.children,function(t,n){return i.default.createElement(G.default,{key:t.props.track,name:t.props.track,colour:t.props.colour,onPickColour:function(t){return e.redirectedProps.setProps(function(e){return e.setIn(["children",n,"props","colour"],t)})}})}))}}),oe=i.default.createClass({displayName:"NumericalTrackGroupControls",mixins:[A.default,y.default,(0,_.default)({check:["interpolation","tension","autoYScale","yMin","yMax","childrenHash","query"],redirect:["setProps"]})],propTypes:{interpolation:i.default.PropTypes.string,tension:i.default.PropTypes.number,autoYScale:i.default.PropTypes.bool,yMin:i.default.PropTypes.number,yMax:i.default.PropTypes.number,setProps:i.default.PropTypes.func,query:i.default.PropTypes.string,children:i.default.PropTypes.node},trackGroups:function e(){var t=this.props.table,e={};return(0,d.default)(this.config.tables,function(n){n.id!==t&&t||!function(){e[n.id]={name:n.capNamePlural,icon:n.icon};var t={},r="_UNGROUPED_";(0,d.default)((0,K.default)(n.properties,function(e){return e.showInBrowser&&e.id!==n.chromosome&&e.id!==n.position&&e.isNumerical&&!e.isCategorical}),function(e){var o=void 0!==e.groupId?e.groupId:r;t.hasOwnProperty(o)||(t[o]={name:n.propertyGroupsById[o].name,items:{}}),t[o].items[e.id]={name:e.name,description:e.description,icon:e.icon,payload:(0,S.default)(i.default.createElement(O.default,{table:n.id,track:e.id}))}}),e[n.id].itemGroups=t}()}),e},handleTrackChange:function(e){this.getFlux().actions.session.modalClose(),this.redirectedProps.setProps(function(t){return t.set("children",l.default.List(e))})},handleQueryPick:function(e){this.redirectedProps.setProps({query:e})},render:function(){var e=this,t=this.props,n=t.autoYScale,r=t.yMin,o=t.yMax,a=t.children,s=t.table,l=t.query,u=this.getFlux().actions;return i.default.createElement("div",{className:"channel-controls"},i.default.createElement("div",{className:"control-group"},i.default.createElement("div",{className:"control"},i.default.createElement(P.default,{label:"Add/Remove Tracks",primary:!0,onClick:function(){return u.session.modalOpen(i.default.createElement(R.default,{title:"Pick tracks to be displayed",itemName:"numerical track",pickVerb:"display",groups:e.trackGroups(),initialSelection:i.default.Children.map(a,function(t){return{groupId:t.props.table,itemGroupId:e.config.tablesById[t.props.table].propertiesById[t.props.track].groupId||"_UNGROUPED_",itemId:t.props.track}}),onPick:e.handleTrackChange}))}}))),i.default.createElement("div",{className:"control-group"},s?i.default.createElement("div",{className:"control"},i.default.createElement(X.default,{prepend:"Filter:",table:s,query:l})):null,s?i.default.createElement("div",{className:"control"},i.default.createElement(J.default,{table:s,query:l,onPick:this.handleQueryPick})):null),i.default.createElement("div",{className:"control-group"},i.default.createElement("div",{className:"control"},i.default.createElement("div",{className:"label"},"Auto Y Scale:"),i.default.createElement(T.default,{name:"autoYScale",value:"toggleValue1",checked:n,style:{width:"inherit"},onCheck:function(t,n){return e.redirectedProps.setProps({autoYScale:n})}})),n?null:i.default.createElement("div",{className:"control"},i.default.createElement("div",{className:"label"},"Y Min:"),i.default.createElement("input",{className:"numeric-input",ref:"yMin",type:"number",value:r,onChange:function(){var t=parseFloat(e.refs.yMin.value);(0,c.default)(t)&&e.redirectedProps.setProps({yMin:t})}})),n?null:i.default.createElement("div",{className:"control"},i.default.createElement("div",{className:"label"},"Y Max:"),i.default.createElement("input",{className:"numeric-input",ref:"yMax",type:"number",value:o,onChange:function(){var t=parseFloat(e.refs.yMax.value);(0,c.default)(t)&&e.redirectedProps.setProps({yMax:t})}}))))}});t.default=te},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(1241),u=r(l),c=n(1245),f=r(c),d=n(958),p=r(d),h=n(1161),m=r(h),g=n(613),v=r(g),y=n(1178),b=r(y),A=n(825),x=r(A),_=n(1168),w=r(_),C=n(1199),E=n(736),T=r(E),k=a.default.createClass({displayName:"ItemPicker",mixins:[s.default],propTypes:{itemName:a.default.PropTypes.string,groupName:a.default.PropTypes.string,pickVerb:a.default.PropTypes.string,initialSelection:a.default.PropTypes.arrayOf(a.default.PropTypes.shape({groupId:a.default.PropTypes.string.isRequired,itemGroupId:a.default.PropTypes.string.isRequired,itemId:a.default.PropTypes.string.isRequired,payload:a.default.PropTypes.any})),groups:a.default.PropTypes.objectOf(a.default.PropTypes.shape({name:a.default.PropTypes.string.isRequired,icon:a.default.PropTypes.string,items:a.default.PropTypes.objectOf(a.default.PropTypes.shape({name:a.default.PropTypes.string.isRequired,icon:a.default.PropTypes.string,description:a.default.PropTypes.string,payload:a.default.PropTypes.any})),itemGroups:a.default.PropTypes.objectOf(a.default.PropTypes.shape({name:a.default.PropTypes.string.isRequired,icon:a.default.PropTypes.string,items:a.default.PropTypes.objectOf(a.default.PropTypes.shape({name:a.default.PropTypes.string.isRequired,icon:a.default.PropTypes.string,description:a.default.PropTypes.string,payload:a.default.PropTypes.any}))}))})),onPick:a.default.PropTypes.func.isRequired,icon:a.default.PropTypes.string,title:a.default.PropTypes.string},getDefaultProps:function(){return{title:"Pick item",icon:"check-square-o",itemName:"Item",groupName:"Group",pickVerb:"Pick",initialSelection:[]}},getInitialState:function(){return{picked:this.props.initialSelection,search:""}},componentWillMount:function(){},icon:function(){return this.props.icon},title:function(){return this.props.title},handleEnter:function(){this.handlePick()},handleAdd:function(e){var t=e.groupId,n=e.itemId,r=e.payload,o=e.itemGroupId;this.setState({picked:this.state.picked.concat([{groupId:t,itemId:n,payload:r,itemGroupId:o}])})},handleRemove:function(e){var t=this.state.picked;t.splice(e,1),this.setState({picked:[].concat(t)})},handleRemoveAll:function(){this.setState({picked:[]})},handlePick:function(){var e=this.props.groups;this.props.onPick((0,p.default)(this.state.picked,function(t){return t.payload||(t.itemGroupId?e[t.groupId].itemGroups[t.itemGroupId].items[t.itemId].payload:e[t.groupId].items[t.itemId].payload)}))},handleSearchChange:function(e){this.setState({search:e.target.value})},convertItemTolistItem:function(e,t,n,r,o){var i=this,s=e.name,l=e.description,c=e.icon,f=e.payload;return(s+"#"+(l||"")).toLowerCase().indexOf(n.toLowerCase())!==-1?a.default.createElement(C.ListItem,{key:t,primaryText:a.default.createElement("div",null,a.default.createElement(u.default,{search:n},s)),secondaryText:a.default.createElement("div",null,a.default.createElement(u.default,{search:n},l)),leftIcon:c?a.default.createElement(T.default,{fixedWidth:!0,name:c}):null,onClick:function(){return i.handleAdd({groupId:r,itemId:t,payload:f,itemGroupId:o})}}):null},render:function(){var e=this,t=this.state,n=t.picked,r=t.search,o=this.props,i=o.itemName,s=o.pickVerb,l=o.groups,u=(o.groupName,0),c=(0,p.default)(l,function(t,n){var o=t.name,s=t.icon,c=t.items,d=t.itemGroups,h=[],g=(0,p.default)(c,function(t,o){return e.convertItemTolistItem(t,o,r,n)});if(u+=g.length,0!==g.length&&h.push(a.default.createElement(C.ListItem,{primaryText:a.default.createElement("div",null," ",o," (",g.length," ",a.default.createElement(f.default,{text:i,ord:g.length}),")"),key:n+!!r,initiallyOpen:!!r,leftIcon:s?a.default.createElement(T.default,{fixedWidth:!0,name:s}):null,primaryTogglesNestedList:!0,nestedItems:g})),d){var y=0,b=[];d._UNGROUPED_&&(b=b.concat((0,p.default)(d._UNGROUPED_.items,function(t,o){return e.convertItemTolistItem(t,o,r,n,"_UNGROUPED_")})),y+=b.length),b=b.concat((0,p.default)(d,function(t,o){if("_UNGROUPED_"===o)return null;var s=(0,p.default)(t.items,function(t,a){return e.convertItemTolistItem(t,a,r,n,o)});return y+=s.length,(0,m.default)(s)?a.default.createElement(C.ListItem,{primaryText:a.default.createElement("div",null," ",t.name," (",s.length," ",a.default.createElement(f.default,{text:i,ord:s.length}),")"),key:n+o+!!r,initiallyOpen:!!r,leftIcon:t.icon?a.default.createElement(T.default,{fixedWidth:!0,name:t.icon}):null,primaryTogglesNestedList:!0,nestedItems:s}):null})),u+=y,0!==b.length&&h.push(a.default.createElement(C.ListItem,{primaryText:a.default.createElement("div",null," ",o," (",y," ",a.default.createElement(f.default,{text:i,ord:y}),")"),key:n+!!r,initiallyOpen:!!r||1===(0,v.default)(l).length,leftIcon:s?a.default.createElement(T.default,{fixedWidth:!0,name:s}):null,primaryTogglesNestedList:!0,nestedItems:b}))}return h});return a.default.createElement("div",{className:"large-modal item-picker"},a.default.createElement("div",{className:"horizontal stack"},a.default.createElement("div",{className:"grow stack vertical scroll-within"},a.default.createElement("div",null,a.default.createElement("div",{className:"header"},u," ",a.default.createElement(f.default,{text:i,ord:u})," available"),a.default.createElement("div",{className:"search"},a.default.createElement(b.default,{autoFocus:!0,floatingLabelText:"Search",value:r,onChange:this.handleSearchChange}))),a.default.createElement("div",{style:{overflow:"auto"}},a.default.createElement(C.List,null,c))),a.default.createElement("div",{className:"grow stack vertical"},a.default.createElement("div",null,a.default.createElement("div",{className:"header"},n.length?n.length:"No"," ",a.default.createElement(f.default,{text:i,ord:n.length})," to ",s)),a.default.createElement("div",{className:"grow scroll-within"},a.default.createElement(C.List,null,(0,p.default)(n,function(t,n){var r=t.groupId,o=t.itemGroupId,i=t.itemId,s=l[r].name,u=o?l[r].itemGroups[o].name:"",c=o?l[r].itemGroups[o].items[i]:l[r].items[i],f=c.description,d=c.name,p=c.icon,h=o?s+" - "+u+" - "+d:s+" - "+d;return a.default.createElement(C.ListItem,{key:n,secondaryText:f,primaryText:h,leftIcon:a.default.createElement("div",null,a.default.createElement(T.default,{fixedWidth:!0,name:p})),onClick:function(){return e.handleRemove(n)}})}))),a.default.createElement("div",{className:"centering-container"},a.default.createElement("div",{style:{paddingRight:"10px"}},a.default.createElement(w.default,{label:"Clear",onClick:this.handleRemoveAll})),a.default.createElement(x.default,{label:a.default.createElement("span",null,s+" "+n.length," ",a.default.createElement(f.default,{text:i,ord:n.length})),primary:!0,onClick:this.handlePick})))))}});t.default=k},function(e,t,n){var r=n(321),o=n(1242),a=n(1243),i=n(1244),s=r.createClass({displayName:"Highlighter",count:0,propTypes:{search:r.PropTypes.oneOfType([r.PropTypes.string,r.PropTypes.number,r.PropTypes.bool,o]).isRequired,caseSensitive:r.PropTypes.bool,matchElement:r.PropTypes.string,matchClass:r.PropTypes.string,matchStyle:r.PropTypes.object},getDefaultProps:function(){return{caseSensitive:!1,matchElement:"strong",matchClass:"highlight",matchStyle:{}}},render:function(){var e=i(this.props,"search","caseSensitive","matchElement","matchClass","matchStyle");return r.createElement("span",e,this.renderElement(this.props.children))},renderElement:function(e){if(this.isScalar()&&this.hasSearch()){var t=this.getSearch();return this.highlightChildren(e,t)}return this.props.children},isScalar:function(){return/string|number|boolean/.test(typeof this.props.children)},hasSearch:function(){return"undefined"!=typeof this.props.search&&this.props.search},getSearch:function(){if(this.props.search instanceof RegExp)return this.props.search;var e="";this.props.caseSensitive||(e+="i");var t=this.props.search;return"string"==typeof this.props.search&&(t=a(t)),new RegExp(t,e)},getMatchBoundaries:function(e,t){var n=t.exec(e);if(n)return{first:n.index,last:n.index+n[0].length}},highlightChildren:function(e,t){for(var n=[],r=this.props.matchElement,o=e;o;){if(!t.test(o))return n.push(this.renderPlain(o)),n;var a=this.getMatchBoundaries(o,t),i=o.slice(0,a.first);i&&n.push(this.renderPlain(i));var s=o.slice(a.first,a.last);s&&n.push(this.renderHighlight(s,r)),o=o.slice(a.last)}return n},renderPlain:function(e){return this.count++,r.DOM.span({key:this.count},e)},renderHighlight:function(e){return this.count++,r.DOM[this.props.matchElement]({key:this.count,className:this.props.matchClass,style:this.props.matchStyle},e)}});e.exports=s},function(e,t){var n=function(e,t,n,r){if(!(e[t]instanceof RegExp)){var o=typeof e[t];return new Error("Invalid "+r+" `"+t+"` of type `"+o+"` "+("supplied to `"+n+"`, expected `RegExp`."))}};e.exports=n},function(e,t){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(n,"\\$&")}},function(e,t){e.exports=function(e){var t={},n=arguments[1];if("string"==typeof n){n={};for(var r=1;r0&&(e.propertyGroups[n]=(0,p.default)(t),e.propertyGroups[n].properties=(0,v.default)(r,function(e){var t=e.id,n=e.name,r=e.description,o=e.icon;return{id:t,name:n,description:r,icon:o}}))})},componentDidUpdate:function(e,t){this.state.searchOpen&&""===this.props.searchText&&this.refs.searchField.focus()},icon:function(){return this.tableConfig().icon},title:function(){return this.props.title||this.tableConfig().capNamePlural},handleQueryPick:function(e){this.props.setProps({query:e})},handleColumnChange:function(e){this.getFlux().actions.session.modalClose(),this.props.setProps(function(t){return t.set("columns",e)})},handleColumnResize:function(e,t){this.props.setProps({columnWidths:o({},e,t)})},handleOrderChange:function(e){this.props.setProps(function(t){return t.set("order",e)})},handleFetchedRowsCountChange:function(e){this.setState({fetchedRowsCount:e})},handleShowableRowsCountChange:function(e){this.setState({showableRowsCount:e})},handleTotalRowsCountChange:function(e){this.setState({totalRowsCount:e})},handleNextPage:function(){this.setState({startRowIndex:this.state.startRowIndex+this.state.showableRowsCount})},handlePreviousPage:function(){var e=this.state.startRowIndex-this.state.showableRowsCount;e<0&&(e=0),this.setState({startRowIndex:e})},handleFirstPage:function(){this.setState({startRowIndex:0})},handleLastPage:function(){this.setState({startRowIndex:this.state.totalRowsCount-this.state.showableRowsCount})},handleDownload:function(){(0,Z.default)({dataset:this.config.dataset,table:this.props.table,tableConfig:this.tableConfig(),rowsCount:this.state.totalRowsCount,onLimitBreach:this.handleDownloadLimitBreach,query:this.getDefinedQuery(),columns:this.props.columns,order:this.props.order})},handleDownloadLimitBreach:function(e){var t=e.totalDataPoints,n=e.maxDataPoints,r="You have asked to download "+t+" data points, which is more than our current limit of "+n+". Please use a stricter filter or fewer columns, or contact us directly.";this.getFlux().actions.session.modalOpen(s.default.createElement(W.default,{title:"Warning",message:r}))},handleSearchOpen:function(){this.setState({searchOpen:!0})},handleSearchChange:function(e){this.props.setProps({searchText:e.target.value})},handleSearchBlur:function(e){""===e.target.value&&this.setState({searchOpen:!1})},getDefinedQuery:function(e,t){return e||this.props.query||(t||this.props.table?this.config.tablesById[t||this.props.table].defaultQuery:null)||Q.default.nullQuery},createDataTableQuery:function(){var e=this.props.searchText,t=this.getDefinedQuery();if(""!==e){for(var n=null,r=0,o=this.tableConfig().quickFindFields.length;r-1?a.default.createElement(g.ListItem,{className:(0,u.default)({picked:!(0,A.default)(n,s)}),key:s,primaryText:a.default.createElement("div",null,a.default.createElement(f.default,{search:r},o)),secondaryText:a.default.createElement("div",null,a.default.createElement(f.default,{search:r},i)),leftIcon:a.default.createElement("div",null,a.default.createElement(B.default,{fixedWidth:!0,name:l})),onClick:function(){return e.handleAdd(s)}}):null});return(0,O.default)(l,function(e){return e}).length>0?a.default.createElement(g.ListItem,{primaryText:i,key:o,initiallyOpen:!0,onClick:function(){return e.handleAddAll(o)},nestedItems:l}):null})))),a.default.createElement("div",{className:"grow stack vertical"},a.default.createElement("div",null,a.default.createElement("div",{className:"header"},n.length?n.length:"No"," Column",1!=n.length?"s":null," Selected")),a.default.createElement("div",{className:"grow scroll-within"},a.default.createElement(g.List,null,(0,y.default)(o,function(t){var r=t.id,o=t.name,i=t.properties;return(0,_.default)(n,(0,y.default)(i,"id")).length>0?a.default.createElement(g.ListItem,{primaryText:o,key:r,initiallyOpen:!0,onClick:function(){return e.handleRemoveAll(r)},nestedItems:(0,y.default)(i,function(t){var r=t.name,o=t.description,i=t.id,s=t.icon;return(0,A.default)(n,i)?a.default.createElement(g.ListItem,{key:i,secondaryText:o,primaryText:r,leftIcon:a.default.createElement("div",null,a.default.createElement(B.default,{fixedWidth:!0,name:s})),onClick:function(){return e.handleRemove(i)}}):null})}):null}))),a.default.createElement("div",{className:"centering-container"},a.default.createElement(m.default,{label:"Use",primary:!0,onClick:this.handlePick})))))}});t.default=F},function(e,t,n){var r=n(612),o=n(1249),a=n(763),i=n(1250),s=a(function(e){var t=r(e,i);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},function(e,t,n){function r(e,t,n){for(var r=n?i:a,f=e[0].length,d=e.length,p=d,h=Array(d),m=1/0,g=[];p--;){var v=e[p];p&&t&&(v=s(v,l(t))),m=c(v.length,m),h[p]=!n&&(t||f>=120&&v.length>=120)?new o(p&&v):void 0}v=e[0];var y=-1,b=h[0];e:for(;++y0&&(void 0===c||f>0)?!function(){n.setState({loadStatus:"loading"});var e=l+f-1;void 0===c&&(e=void 0);var d=void 0!==l?100*Math.floor(l/100):void 0,p=void 0!==e?100*(Math.floor(e/100)+1):void 0,h={database:n.config.dataset,table:n.config.tablesById[r].id,columns:i,orderBy:s,query:n.getDefinedQuery(u,r),start:d,stop:p,transpose:!0},m={database:n.config.dataset,table:n.config.tablesById[r].id,query:n.getDefinedQuery(u,r)};t.request(function(e){return Promise.all([L.default.get("query"+JSON.stringify(h),function(e){return O.default.query(a({cancellation:e},h))},e),L.default.get("rowsCount"+JSON.stringify(m),function(e){return O.default.rowsCount(a({cancellation:e},m))},e)])}).then(function(t){var r=o(t,2),a=r[0],i=r[1];void 0!==d&&void 0!==l&&void 0!==e&&(a=a.slice(l-d,e-d+1)),n.setState({loadStatus:"loaded",rows:a,totalRowsCount:i})}).catch(O.default.filterAborted).catch(L.default.filterCancelled).catch(function(e){(0,B.default)(n.getFlux(),O.default.errorMessage(e),function(){return n.fetchData(n.props)}),n.setState({loadStatus:"error"})})}():this.setState({rows:[]})},handleColumnResize:function(e,t){this.props.onColumnResize&&this.props.onColumnResize(t,e),this.forceUpdate()},handleOrderChange:function(e){var t=this.props.order,n="asc";(0,b.default)(t,function(t){var r=o(t,2),a=r[0],i=r[1];i===e&&(n={asc:"desc",desc:null}[a])}),t=(0,x.default)(t,function(t){var n=o(t,2),r=(n[0],n[1]);return r!==e}),n&&t.push([n,e]),this.props.onOrderChange&&this.props.onOrderChange(t)},handleResize:function(e){this.setState(e),this.setShowableRows(e)},setShowableRows:function(e){this.setState({showableRowsCount:e.height?Math.floor((e.height-Z-J)/X):0})},componentDidUpdate:function(e,t){this.props.onShowableRowsCountChange&&t.showableRowsCount!==this.state.showableRowsCount&&(this.forceFetch(),this.props.onShowableRowsCountChange(this.state.showableRowsCount)),this.props.onFetchedRowsCountChange&&t.rows.length!==this.state.rows.length&&this.props.onFetchedRowsCountChange(this.state.rows.length),this.props.onTotalRowsCountChange&&t.totalRowsCount!==this.state.totalRowsCount&&this.props.onTotalRowsCountChange(this.state.totalRowsCount)},calcColumnWidthPx:function(e){var t=this.props.columnWidths;if(t[e])return t[e];var n=this.tableConfig().propertiesById[e];if(n.defaultWidth)return n.defaultWidth;if($[this.props.table]&&$[this.props.table][e])return $[this.props.table][e];var r=0,o=26+(this.tableConfig().propertiesById[e].description?20:0),a="PropertyHeader_"+n.id,i=document.getElementById(a);if(void 0!==i&&null!==i){var s=i.getElementsByClassName("label")[0],l=window.getComputedStyle(s),u=this.canvas2dContext||(this.canvas2dContext=document.createElement("canvas").getContext("2d"));u.font=l.fontStyle+" "+l.fontWeight+" "+l.fontSize+' "'+l.fontFamily+'"',r=Math.ceil(u.measureText(n.name).width)+o,$[this.props.table]=$[this.props.table]||{},$[this.props.table][e]=r}return r},render:function(){var e=this,t=this.props,n=t.className,r=t.columns,a=t.order,i=this.state,l=i.loadStatus,c=i.rows,d=i.width,p=i.height;return this.tableConfig()?r.length>0?s.default.createElement(K.default,{onResize:this.handleResize},s.default.createElement("div",{className:(0,u.default)("load-container",n)},s.default.createElement(S.Table,{rowHeight:X,rowsCount:c.length,width:d,height:p,headerHeight:Z,onColumnResizeEndCallback:this.handleColumnResize,isColumnResizing:!1},r.map(function(t){if(!e.tableConfig().propertiesById[t])return void console.error("Column "+t+" doesn't exist on "+e.props.table+".");var n=e.tableConfig().propertiesById[t],r=n.id,i=n.isPrimKey,l=n.description,d=n.name,p=(0,v.default)(a,function(e){var n=o(e,2),r=n[0],a=n[1];return"asc"===r&&a===t}),h=(0,v.default)(a,function(e){var n=o(e,2),r=n[0],a=n[1];return"desc"===r&&a===t});return s.default.createElement(S.Column,{width:e.calcColumnWidthPx(t),key:r,columnKey:r,fixed:i,allowCellsRecycling:!0,isResizable:!0,minWidth:50,header:s.default.createElement(U.default,{id:"PropertyHeader_"+r,className:(0,u.default)({pointer:!0,"table-row-header":!0,"sort-column-ascending":p,"sort-column-descending":h}),style:{width:e.calcColumnWidthPx(t)},onClick:function(){return e.handleOrderChange(r)},prefix:p||h?s.default.createElement(G.default,{className:"sort",name:p?"sort-amount-asc":"sort-amount-desc"}):null,name:d,description:l,tooltipPlacement:"bottom",tooltipTrigger:["click"]}),cell:function(o){var a=o.rowIndex,i="inherit",l=n.maxVal,u=n.minVal,d=n.valueColours,p=n.showBar,h=n.alignment,g=c[a][r];if(p&&null!==g&&void 0!==l&&void 0!==u){g=parseFloat(g);var v=100*(g-u)/(l-u);i="linear-gradient(to right, "+(a%2?"rgb(115, 190, 252)":"rgb(150, 207, 253)")+" "+v+"%, rgba(0,0,0,0) "+v+"%"}else if(null!==g&&void 0!==l&&void 0!==u){var y=Math.min(Math.max(parseFloat(g),u),l);i=(0,m.default)(Q).lighten(.58*(1-(y-u)/(l-u))).string()}if(d){var b=d[g]||d._other_;b&&(b=(0,f.default)(b).lighten(.3),a%2&&b.darken(.1),i=b.string())}return s.default.createElement("div",{className:"table-row-cell",style:{textAlign:h,width:e.calcColumnWidthPx(t),height:X+"px",background:i}},s.default.createElement(z.default,{prop:n,value:g}))}})})),s.default.createElement(q.default,{status:l}))):s.default.createElement("div",{className:(0,u.default)("load-container",n)},s.default.createElement(q.default,{status:"custom"},"No columns selected")):(console.error("Table "+this.props.table+" doesn't exist'"),null)}});t.default=ee},function(e,t,n){e.exports=n(1256)},function(e,t,n){"use strict";var r=n(1257),o=n(1294),a=n(1292),i=n(1291),s={Cell:o,Column:a,ColumnGroup:i,Table:r};s.version="0.6.3",e.exports=s},function(e,t,n){"use strict";function r(e,t){}var o=Object.assign||function(e){for(var t=1;t0||e>=0&&this.state.scrollX0||e>=0&&this.state.scrollYr?r:this.state.height>r&&this.props.ownerHeight?Math.max(r,this.props.ownerHeight):this.state.height+this.state.maxScrollY,e!==this._contentHeight&&this.props.onContentHeightChange&&this.props.onContentHeightChange(e),this._contentHeight=e},componentDidMount:function(){this._reportContentHeight()},componentWillReceiveProps:function(e){var t=e.scrollToRow;void 0!==t&&null!==t&&(this._rowToScrollTo=t);var n=e.scrollToColumn;void 0!==n&&null!==n&&(this._columnToScrollTo=n);var r=e.overflowX,o=e.overflowY;r===this.props.overflowX&&o===this.props.overflowY||(this._wheelHandler=new i(this._onWheel,"hidden"!==r,"hidden"!==o)),this.props.ownerHeight===e.ownerHeight&&this.props.scrollTop===e.scrollTop||this._didScrollStart(),this._didScrollStop(),this.setState(this._calculateState(e,this.state))},componentDidUpdate:function(){this._reportContentHeight()},render:function(){var e,t=this.state,n=this.props;t.useGroupHeader&&(e=o.createElement(c,{key:"group_header",isScrolling:this._isScrolling,className:v(p("fixedDataTableLayout/header"),p("public/fixedDataTable/header")),width:t.width,height:t.groupHeaderHeight,index:0,zIndex:1,offsetTop:0,scrollLeft:t.scrollX,fixedColumns:t.groupHeaderFixedColumns,scrollableColumns:t.groupHeaderScrollableColumns,onColumnResize:this._onColumnResize}));var r=this.state.maxScrollY,a=t.maxScrollX>0&&"hidden"!==t.overflowX,i=r>0&&"hidden"!==t.overflowY,l=a?s.SIZE:0,f=t.height-l-2*w-t.footerHeight,d=t.useGroupHeader?t.groupHeaderHeight:0,h=d+t.headerHeight;f-=h;var m=0,g=null!=n.maxHeight?h+t.bodyHeight:h+f,y=g+t.footerHeight;void 0!==n.ownerHeight&&n.ownerHeightt.ownerHeight||t.scrollY or "),n.push(e))});var o=!1;n.length&&n[0].type.__TableColumnGroup__&&(o=!0);var a,i,l=t&&t.firstRowIndex||0,u=t&&t.firstRowOffset||0;a=t&&"hidden"!==e.overflowX?t.scrollX:e.scrollLeft,t&&"hidden"!==e.overflowY?i=t.scrollY:(h=this._scrollHelper.scrollTo(e.scrollTop),l=h.index,u=h.offset,i=h.position),void 0!==this._rowToScrollTo&&(h=this._scrollHelper.scrollRowIntoView(this._rowToScrollTo),l=h.index,u=h.offset,i=h.position,delete this._rowToScrollTo);var c=o?e.groupHeaderHeight:0;if(t&&e.rowsCount!==t.rowsCount){var p=(void 0===e.height?e.maxHeight:e.height)-(e.headerHeight||0)-(e.footerHeight||0)-(e.groupHeaderHeight||0);this._scrollHelper=new f(e.rowsCount,e.rowHeight,p,e.rowHeightGetter);var h=this._scrollHelper.scrollToRow(l,u);l=h.index,u=h.offset,i=h.position}else t&&e.rowHeightGetter!==t.rowHeightGetter&&this._scrollHelper.setRowHeightGetter(e.rowHeightGetter);var m;m=e.isColumnResizing?t&&t.columnResizingData:_;var v,y;if(o){var b=d.adjustColumnGroupWidths(n,e.width);v=b.columns,y=b.columnGroups}else v=d.adjustColumnWidths(n,e.width);var A=this._populateColumnsAndColumnData(v,y,t);if(void 0!==this._columnToScrollTo){var C=A.bodyFixedColumns.length;if(this._columnToScrollTo>=C){var E,T,k=0;for(E=0;EM&&(a=M)}delete this._columnToScrollTo}var I=void 0===e.height,L=Math.round(I?e.maxHeight:e.height),N=e.footerHeight+e.headerHeight+c+2*w,B=L-N,F=this._scrollHelper.getContentHeight(),R=F+N,j=d.getTotalWidth(v),z=j>e.width&&"hidden"!==e.overflowX;z&&(B-=s.SIZE,R+=s.SIZE,N+=s.SIZE);var H=Math.max(0,j-e.width),U=Math.max(0,F-B);a=Math.min(a,H),i=Math.min(i,U),U||(I&&(L=R),B=R-N),this._scrollHelper.setViewportHeight(B);var W=r({isColumnResizing:t&&t.isColumnResizing},A,e,{columns:v,columnGroups:y,columnResizingData:m,firstRowIndex:l,firstRowOffset:u,horizontalScrollbarVisible:z,maxScrollX:H,maxScrollY:U,reservedHeight:N,scrollContentHeight:F,scrollX:a,scrollY:i,bodyHeight:B,height:L,groupHeaderHeight:c,useGroupHeader:o});return W},_selectColumnElement:function(e,t){ -for(var n=[],r=0;rMath.abs(e)&&"hidden"!==this.props.overflowY){var r=this._scrollHelper.scrollBy(Math.round(t)),o=Math.max(0,r.contentHeight-this.state.bodyHeight);this.setState({firstRowIndex:r.index,firstRowOffset:r.offset,scrollY:r.position,scrollContentHeight:r.contentHeight,maxScrollY:o})}else e&&"hidden"!==this.props.overflowX&&(n+=e,n=n<0?0:n,n=n>this.state.maxScrollX?this.state.maxScrollX:n,this.setState({scrollX:n}));this._didScrollStop()}},_onHorizontalScroll:function(e){this.isMounted()&&e!==this.state.scrollX&&(this._isScrolling||this._didScrollStart(),this.setState({scrollX:e}),this._didScrollStop())},_onVerticalScroll:function(e){if(this.isMounted()&&e!==this.state.scrollY){this._isScrolling||this._didScrollStart();var t=this._scrollHelper.scrollTo(Math.round(e));this.setState({firstRowIndex:t.index,firstRowOffset:t.offset,scrollY:t.position,scrollContentHeight:t.contentHeight}),this._didScrollStop()}},_didScrollStart:function(){this.isMounted()&&!this._isScrolling&&(this._isScrolling=!0,this.props.onScrollStart&&this.props.onScrollStart(this.state.scrollX,this.state.scrollY))},_didScrollStop:function(){this.isMounted()&&this._isScrolling&&(this._isScrolling=!1,this.setState({redraw:!0}),this.props.onScrollEnd&&this.props.onScrollEnd(this.state.scrollX,this.state.scrollY))}}),P=o.createClass({displayName:"HorizontalScrollbar",mixins:[a],propTypes:{contentSize:A.number.isRequired,offset:A.number.isRequired,onScroll:A.func.isRequired,position:A.number.isRequired,size:A.number.isRequired},render:function(){var e={height:s.SIZE,width:this.props.size},t={height:s.SIZE,position:"absolute",overflow:"hidden",width:this.props.size};return b(t,0,this.props.offset),o.createElement("div",{className:v(p("fixedDataTableLayout/horizontalScrollbar"),p("public/fixedDataTable/horizontalScrollbar")),style:e},o.createElement("div",{style:t},o.createElement(s,r({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}});e.exports=k},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}var r={shouldComponentUpdate:function(e,t){return!n(this.props,e)||!n(this.state,t)}};e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;nr},ie64:function(){return b.ie()&&p},firefox:function(){return n()||o},opera:function(){return n()||a},webkit:function(){return n()||i},safari:function(){return b.webkit()},chrome:function(){return n()||s},windows:function(){return n()||c},osx:function(){return n()||u},linux:function(){return n()||f},iphone:function(){return n()||h},mobile:function(){return n()||h||m||d||v},nativeApp:function(){return n()||g},android:function(){return n()||d},ipad:function(){return n()||m}};e.exports=b},function(e,t,n){"use strict";/** - * Checks if an event is supported in the current execution environment. - * - * NOTE: This will not work correctly for non-generic events such as `change`, - * `reset`, `load`, `error`, and `select`. - * - * Borrows from Modernizr. - * - * @param {string} eventNameSuffix Event name, e.g. "click". - * @param {?boolean} capture Check if the capture phase is supported. - * @return {boolean} True if the event is supported. - * @internal - * @license Modernizr 3.0.0pre (Custom Build) | MIT - */ -function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(1266);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){(function(t){"use strict";var r=n(1262),o=n(1268),a=0,i=o||function(e){var n=Date.now(),r=Math.max(0,16-(n-a));return a=n+r,t.setTimeout(function(){e(Date.now())},r)};i(r),e.exports=i}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame;e.exports=n}).call(t,function(){return this}())},function(e,t,n){"use strict";var r=n(1270),o=n(1273),a=n(1258),i=n(1274),s=n(1260),l=n(1261),u=n(1275),c=n(1276),f=n(1262),d=n(1277),p=a.PropTypes,h={position:0,scrollable:!1},m=parseInt(u("scrollbar-face-margin"),10),g=2*m,v=30,y=40,b=null,A=a.createClass({displayName:"Scrollbar",mixins:[s],propTypes:{contentSize:p.number.isRequired,defaultPosition:p.number,isOpaque:p.bool,orientation:p.oneOf(["vertical","horizontal"]),onScroll:p.func,position:p.number,size:p.number.isRequired,trackColor:p.oneOf(["gray"]),zIndex:p.number,verticalTop:p.number},getInitialState:function(){var e=this.props;return this._calculateState(e.position||e.defaultPosition||0,e.size,e.contentSize,e.orientation)},componentWillReceiveProps:function(e){var t=e.position;void 0===t?this._setNextState(this._calculateState(this.state.position,e.size,e.contentSize,e.orientation)):this._setNextState(this._calculateState(t,e.size,e.contentSize,e.orientation),e)},getDefaultProps:function(){return{defaultPosition:0,isOpaque:!1,onScroll:f,orientation:"vertical",zIndex:99}},render:function(){if(!this.state.scrollable)return null;var e,t,n=this.props.size,r=this.state.isHorizontal,o=!r,i=this.state.focused||this.state.isDragging,s=this.state.faceSize,l=this.props.isOpaque,f=this.props.verticalTop||0,p=c({"ScrollbarLayout/main":!0,"ScrollbarLayout/mainVertical":o,"ScrollbarLayout/mainHorizontal":r,"public/Scrollbar/main":!0,"public/Scrollbar/mainOpaque":l,"public/Scrollbar/mainActive":i}),h=c({"ScrollbarLayout/face":!0,"ScrollbarLayout/faceHorizontal":r,"ScrollbarLayout/faceVertical":o,"public/Scrollbar/faceActive":i,"public/Scrollbar/face":!0}),v=this.state.position*this.state.scale+m;return r?(e={width:n},t={width:s-g},d(t,v,0)):(e={top:f,height:n},t={height:s-g},d(t,0,v)),e.zIndex=this.props.zIndex,"gray"===this.props.trackColor&&(e.backgroundColor=u("fbui-desktop-background-light")),a.createElement("div",{onFocus:this._onFocus,onBlur:this._onBlur,onKeyDown:this._onKeyDown,onMouseDown:this._onMouseDown,onWheel:this._wheelHandler.onWheel,className:p,style:e,tabIndex:0},a.createElement("div",{ref:"face",className:h,style:t}))},componentWillMount:function(){var e="horizontal"===this.props.orientation,t=e?this._onWheelX:this._onWheelY;this._wheelHandler=new l(t,this._shouldHandleX,this._shouldHandleY)},componentDidMount:function(){this._mouseMoveTracker=new r(this._onMouseMove,this._onMouseMoveEnd,document.documentElement),void 0!==this.props.position&&this.state.position!==this.props.position&&this._didScroll()},componentWillUnmount:function(){this._nextState=null,this._mouseMoveTracker.releaseMouseMoves(),b===this&&(b=null),delete this._mouseMoveTracker},scrollBy:function(e){this._onWheel(e)},_shouldHandleX:function(e){return"horizontal"===this.props.orientation&&this._shouldHandleChange(e)},_shouldHandleY:function(e){return"horizontal"!==this.props.orientation&&this._shouldHandleChange(e)},_shouldHandleChange:function(e){var t=this._calculateState(this.state.position+e,this.props.size,this.props.contentSize,this.props.orientation);return t.position!==this.state.position},_calculateState:function(e,t,n,r){if(t<1||n<=t)return h;var o=e+"_"+t+"_"+n+"_"+r;if(this._stateKey===o)return this._stateForKey;var a="horizontal"===r,i=t/n,s=t*i;su&&(e=u);var c=!!this._mouseMoveTracker&&this._mouseMoveTracker.isDragging(),f={faceSize:s,isDragging:c,isHorizontal:a,position:e,scale:i,scrollable:l};return this._stateKey=o,this._stateForKey=f,f},_onWheelY:function(e,t){this._onWheel(t)},_onWheelX:function(e,t){this._onWheel(e)},_onWheel:function(e){var t=this.props;this._setNextState(this._calculateState(this.state.position+e,t.size,t.contentSize,t.orientation))},_onMouseDown:function(e){var t;if(e.target!==i.findDOMNode(this.refs.face)){var n=e.nativeEvent,r=this.state.isHorizontal?n.offsetX||n.layerX:n.offsetY||n.layerY,o=this.props;r/=this.state.scale,t=this._calculateState(r-.5*this.state.faceSize/this.state.scale,o.size,o.contentSize,o.orientation)}else t={};t.focused=!0,this._setNextState(t),this._mouseMoveTracker.captureMouseMoves(e),i.findDOMNode(this).focus()},_onMouseMove:function(e,t){var n=this.props,r=this.state.isHorizontal?e:t;r/=this.state.scale,this._setNextState(this._calculateState(this.state.position+r,n.size,n.contentSize,n.orientation))},_onMouseMoveEnd:function(){this._nextState=null,this._mouseMoveTracker.releaseMouseMoves(),this.setState({isDragging:!1})},_onKeyDown:function(e){var t=e.keyCode;if(t!==o.TAB){var n=y,r=0;if(this.state.isHorizontal)switch(t){case o.HOME:r=-1,n=this.props.contentSize;break;case o.LEFT:r=-1;break;case o.RIGHT:r=1;break;default:return}if(!this.state.isHorizontal)switch(t){case o.SPACE:r=e.shiftKey?-1:1;break;case o.HOME:r=-1,n=this.props.contentSize;break;case o.UP:r=-1;break;case o.DOWN:r=1;break;case o.PAGE_UP:r=-1,n=this.props.size;break;case o.PAGE_DOWN:r=1,n=this.props.size;break;default:return}e.preventDefault();var a=this.props;this._setNextState(this._calculateState(this.state.position+n*r,a.size,a.contentSize,a.orientation))}},_onFocus:function(){this.setState({focused:!0})},_onBlur:function(){this.setState({focused:!1})},_blur:function(){if(this.isMounted())try{this._onBlur(),i.findDOMNode(this).blur()}catch(e){}},_setNextState:function(e,t){t=t||this.props;var n=t.position,r=this.state.position!==e.position;if(void 0===n){var o=r?this._didScroll:void 0;this.setState(e,o)}else{if(n!==e.position)return void(void 0!==e.position&&e.position!==this.state.position&&this.props.onScroll(e.position));this.setState(e)}r&&b!==this&&(b&&b._blur(),b=this)},_didScroll:function(){this.props.onScroll(this.state.position)}});A.KEYBOARD_SCROLL_AMOUNT=y,A.SIZE=parseInt(u("scrollbar-size"),10),e.exports=A},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;n0;)this._addRowToBuffer(t,this._viewportRowsBegin,this._viewportRowsEnd-1),t++,e--;return this._rows}},{key:"getRows",value:function(e,t){var n=t,r=n,o=e,a=Math.min(e+this._maxVisibleRowCount,this._rowsCount);for(this._viewportRowsBegin=e;o=a&&(r=this._bufferSet.replaceFurthestValuePosition(t,n,e)),null===r?(r=this._bufferSet.getNewPositionForValue(e),this._rows[r]=e):this._rows[r]=e}}]),e}();e.exports=c},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;n=e&&o<=t)return null;var a;e-r>o-t?(a=r,this._smallValues.pop()):(a=o,this._largeValues.pop());var s=this._valueToPositionMap[a];return delete this._valueToPositionMap[a],this._valueToPositionMap[n]=s,this._pushToHeaps(s,n),s}},{key:"_pushToHeaps",value:function(e,t){var n={position:e,value:t};this._smallValues.push(n),this._largeValues.push(n)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var e=Math.min(this._smallValues.size(),this._largeValues.size()),t=Math.max(this._smallValues.size(),this._largeValues.size());t>10*e&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var e=this._smallValues.size()t.value}}]),e}();e.exports=s},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){return e0&&(this._items[0]=t,this._sinkDown(0)),e}}},{key:"push",value:function(e){this._items[this._size++]=e,this._bubbleUp(this._size-1)}},{key:"size",value:function(){return this._size}},{key:"peek",value:function(){if(0!==this._size)return this._items[0]}},{key:"_heapify",value:function(){for(var e=Math.floor((this._size+1)/2);e>=0;e--)this._sinkDown(e)}},{key:"_bubbleUp",value:function(e){for(var t=this._items[e];e>0;){var n=Math.floor((e+1)/2)-1,r=this._items[n];if(this._comparator(r,t))return;this._items[n]=t,this._items[e]=r,e=n}}},{key:"_sinkDown",value:function(e){for(var t=this._items[e];;){var n=2*(e+1)-1,r=2*(e+1),o=-1;if(nn?n:e}e.exports=n},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t0){var t=i({"fixedDataTableRowLayout/fixedColumnsDivider":!0,"fixedDataTableRowLayout/columnsShadow":this.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":!0,"public/fixedDataTableRow/columnsShadow":this.props.scrollLeft>0}),n={left:e,height:this.props.height};return o.createElement("div",{className:t,style:n})}},_onClick:function(e){this.props.onClick(e,this.props.index)},_onDoubleClick:function(e){this.props.onDoubleClick(e,this.props.index)},_onMouseDown:function(e){this.props.onMouseDown(e,this.props.index)},_onMouseEnter:function(e){this.props.onMouseEnter(e,this.props.index)},_onMouseLeave:function(e){this.props.onMouseLeave(e,this.props.index)}}),f=o.createClass({displayName:"FixedDataTableRow",propTypes:{isScrolling:u.bool,height:u.number.isRequired,zIndex:u.number,offsetTop:u.number.isRequired,width:u.number.isRequired},render:function(){var e={width:this.props.width,height:this.props.height,zIndex:this.props.zIndex?this.props.zIndex:0};return l(e,0,this.props.offsetTop),o.createElement("div",{style:e,className:i("fixedDataTableRowLayout/rowWrapper")},o.createElement(c,r({},this.props,{offsetTop:void 0,zIndex:void 0})))}});e.exports=f},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=Object.assign||function(e){for(var t=1;t=0){var c="cell_"+o;n[o]=this._renderCell(e.rowIndex,e.rowHeight,s,r,c)}r+=s.width}var d=this._getColumnsWidth(t),p={height:e.height,position:"absolute",width:d,zIndex:e.zIndex};return u(p,-1*f*e.left,0),i.createElement("div",{className:l("fixedDataTableCellGroupLayout/cellGroup"),style:p},n)},_renderCell:function(e,t,n,r,o){var a=n.isResizable&&this.props.onColumnResize,l=a?this.props.onColumnResize:null,u=n.cellClassName;return i.createElement(s,{isScrolling:this.props.isScrolling,align:n.align,className:u,height:t,key:o,maxWidth:n.maxWidth,minWidth:n.minWidth,onColumnResize:l,rowIndex:e,columnKey:n.columnKey,width:n.width,left:r,cell:n.cell})},_getColumnsWidth:function(e){for(var t=0,n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=n(1294),a=n(1289),i=n(1258),s=n(1276),l=n(1295),u=a.DIR_SIGN,c=i.PropTypes,f={align:"left",highlighted:!1},d=i.createClass({displayName:"FixedDataTableCell",propTypes_DISABLED_FOR_PERFORMANCE:{isScrolling:c.bool,align:c.oneOf(["left","center","right"]),className:c.string,highlighted:c.bool,width:c.number.isRequired,minWidth:c.number,maxWidth:c.number,height:c.number.isRequired,cell:c.oneOfType([c.string,c.element,c.func]),columnKey:c.oneOfType([c.string,c.number]),rowIndex:c.number.isRequired,onColumnResize:c.func,left:c.number},shouldComponentUpdate:function(e){return!e.isScrolling||this.props.rowIndex!==e.rowIndex},getDefaultProps:function(){return f},render:function(){var e=this.props,t=e.height,n=e.width,a=e.columnKey,c=r(e,["height","width","columnKey"]),f={height:t,width:n};1===u?f.left=c.left:f.right=c.left;var d,p=l(s({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":c.lastChild,"fixedDataTableCellLayout/alignRight":"right"===c.align,"fixedDataTableCellLayout/alignCenter":"center"===c.align,"public/fixedDataTableCell/alignRight":"right"===c.align,"public/fixedDataTableCell/highlighted":c.highlighted,"public/fixedDataTableCell/main":!0}),c.className);if(c.onColumnResize){var h={height:t};d=i.createElement("div",{className:s("fixedDataTableCellLayout/columnResizerContainer"),style:h,onMouseDown:this._onColumnResizerMouseDown},i.createElement("div",{className:l(s("fixedDataTableCellLayout/columnResizerKnob"),s("public/fixedDataTableCell/columnResizerKnob")),style:h}))}var m={columnKey:a,height:t,width:n};c.rowIndex>=0&&(m.rowIndex=c.rowIndex);var g;return g=i.isValidElement(c.cell)?i.cloneElement(c.cell,m):"function"==typeof c.cell?c.cell(m):i.createElement(o,m,c.cell),i.createElement("div",{className:p,style:f},d,g)},_onColumnResizerMouseDown:function(e){this.props.onColumnResize(this.props.left,this.props.width,this.props.minWidth,this.props.maxWidth,this.props.columnKey,e)}});e.exports=d},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=Object.assign||function(e){for(var t=1;t1)for(var r=1;r=0&&t>=e-s;){var n=this._updateRowHeight(t);this._position+=n,t--}}},{key:"_updateRowHeight",value:function(e){if(e<0||e>=this._rowCount)return 0;var t=this._rowHeightGetter(e);if(t!==this._storedHeights[e]){var n=t-this._storedHeights[e];return this._rowOffsets.set(e,t),this._storedHeights[e]=t,this._contentHeight+=n,n}return 0}},{key:"getRowPosition",value:function(e){return this._updateRowHeight(e),this._rowOffsets.sumUntil(e)}},{key:"scrollBy",value:function(e){if(0===this._rowCount)return l;var t=this._rowOffsets.greatestLowerBound(this._position);t=i(t,0,Math.max(this._rowCount-1,0));var n=this._rowOffsets.sumUntil(t),r=t,o=this._position,a=this._updateRowHeight(r);0!==n&&(o+=a);var s=this._storedHeights[r]-(o-n);if(e>=0)for(;e>0&&r0&&r>=0;)if(e=0){var c=this._updateRowHeight(r);u=this._storedHeights[r],o+=c}}var f=this._contentHeight-this._viewportHeight;o=i(o,0,f),this._position=o;var d=this._rowOffsets.greatestLowerBound(o);d=i(d,0,Math.max(this._rowCount-1,0)),n=this._rowOffsets.sumUntil(d);var p=n-o;return this._updateHeightsInViewport(d,p),this._updateHeightsAboveViewport(d),{index:d,offset:p,position:this._position,contentHeight:this._contentHeight}}},{key:"_getRowAtEndPosition",value:function(e){this._updateRowHeight(e);for(var t=e,n=this._storedHeights[t];n=0;)t--,t>=0&&(this._updateRowHeight(t),n+=this._storedHeights[t]);var r=this._rowOffsets.sumTo(e)-this._viewportHeight;return r<0&&(r=0),r}},{key:"scrollTo",value:function(e){if(0===this._rowCount)return l;if(e<=0)return this._position=0,this._updateHeightsInViewport(0,0),{index:0,offset:0,position:this._position,contentHeight:this._contentHeight};if(e>=this._contentHeight-this._viewportHeight){var t=this._rowCount-1;e=this._getRowAtEndPosition(t)}this._position=e;var n=this._rowOffsets.greatestLowerBound(e);n=i(n,0,Math.max(this._rowCount-1,0));var r=this._rowOffsets.sumUntil(n),o=r-e;return this._updateHeightsInViewport(n,o),this._updateHeightsAboveViewport(n),{index:n,offset:o,position:this._position,contentHeight:this._contentHeight}}},{key:"scrollToRow",value:function(e,t){e=i(e,0,Math.max(this._rowCount-1,0)),t=i(t,-this._storedHeights[e],0);var n=this._rowOffsets.sumUntil(e);return this.scrollTo(n-t)}},{key:"scrollRowIntoView",value:function(e){e=i(e,0,Math.max(this._rowCount-1,0));var t=this._rowOffsets.sumUntil(e),n=t+this._storedHeights[e];if(t=0;--n)t[n]=0;return t},u=function(){function e(t){r(this,e),this._size=t.length,this._half=o(this._size),this._heap=new l(2*this._half);var n;for(n=0;n0;--n)this._heap[n]=this._heap[2*n]+this._heap[2*n+1]}return a(e,[{key:"set",value:function(e,t){i(0<=e&&e=0;--o)r[o]=n;return new e(r)}},{key:"empty",value:function(t){return e.uniform(t,0)}}]),e}();e.exports=u}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){for(var t=0,n=0;n.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}.fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}.fixedDataTableCellLayout_main{border-right-style:solid;border-right-width:1px;border-width:0 1px 0 0;box-sizing:border-box;display:block;overflow:hidden;position:absolute;white-space:normal}.fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}.fixedDataTableCellLayout_alignRight{text-align:right}.fixedDataTableCellLayout_alignCenter{text-align:center}.fixedDataTableCellLayout_wrap1{display:table}.fixedDataTableCellLayout_wrap2{display:table-row}.fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}.fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}.fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize}.fixedDataTableCellLayout_columnResizerContainer:hover .fixedDataTableCellLayout_columnResizerKnob{visibility:visible}.fixedDataTableCellLayout_columnResizerKnob{position:absolute;right:0;visibility:hidden;width:4px}.fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}.fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:10}.fixedDataTableColumnResizerLineLayout_hiddenElem,body[dir=rtl] .fixedDataTableColumnResizerLineLayout_main{display:none!important}.fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}.fixedDataTableLayout_hasBottomBorder,.fixedDataTableLayout_header{border-bottom-style:solid;border-bottom-width:1px}.fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}.fixedDataTableLayout_bottomShadow,.fixedDataTableLayout_topShadow{height:4px;left:0;position:absolute;right:0;z-index:1}.fixedDataTableLayout_bottomShadow{margin-top:-4px}.fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}.fixedDataTableLayout_horizontalScrollbar{bottom:0;position:absolute}.fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}.fixedDataTableRowLayout_body{left:0;position:absolute;top:0}.fixedDataTableRowLayout_fixedColumnsDivider{-webkit-backface-visibility:hidden;backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}.fixedDataTableRowLayout_columnsShadow{width:4px}.fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}.ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;transition-duration:.25s;transition-timing-function:ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;transition-property:background-color width;width:15px}.ScrollbarLayout_mainVertical.public_Scrollbar_mainActive,.ScrollbarLayout_mainVertical:hover{width:17px}.ScrollbarLayout_mainHorizontal{bottom:0;height:15px;left:0;transition-property:background-color height}.ScrollbarLayout_mainHorizontal.public_Scrollbar_mainActive,.ScrollbarLayout_mainHorizontal:hover{height:17px}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1}.ScrollbarLayout_face:after{border-radius:6px;content:'';display:block;position:absolute;transition:background-color .25s ease}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{bottom:4px;left:0;top:4px;width:100%}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;left:4px;right:4px;top:0}.public_fixedDataTable_hasBottomBorder,.public_fixedDataTable_header,.public_fixedDataTable_main{border-color:#d3d3d3}.public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}.public_fixedDataTable_header,.public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}.public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}.public_fixedDataTable_topShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAF0lEQVR4AWPUkNeSBhHCjJoK2twgFisAFagCCp3pJlAAAAAASUVORK5CYII=) repeat-x}.public_fixedDataTable_bottomShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAHElEQVQI12MwNjZmZdAT1+Nm0JDWEGZQk1GTBgAWkwIeAEp52AAAAABJRU5ErkJggg==) repeat-x}.public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal{background-color:#fff}.public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}.public_fixedDataTableCell_highlighted{background-color:#f4f4f4}.public_fixedDataTableCell_cellContent{padding:8px}.public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}.public_fixedDataTableColumnResizerLine_main{border-color:#0284ff}.public_fixedDataTableRow_main{background-color:#fff}.public_fixedDataTableRow_highlighted,.public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}.public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}.public_fixedDataTableRow_columnsShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==) repeat-y}.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main:hover{background-color:hsla(0,0%,100%,.8)}.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover{background-color:#fff}.public_Scrollbar_face:after{background-color:#c2c2c2}.public_Scrollbar_faceActive:after,.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after{background-color:#7d7d7d}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=n(321),i=r(a),s=n(1308),l=r(s),u=n(722),c=r(u),f=n(1166),d=r(f),p=n(736),h=r(p),m=n(728),g=r(m),v=n(1378),y=r(v),b=n(1120),A=r(b),x=new l.default.Parser(i.default,{lowerCaseAttributeNames:!1,lowerCaseTags:!1,recognizeSelfClosing:!0}),_=i.default.createClass({displayName:"PropertyCell",mixins:[c.default,g.default],propTypes:{prop:i.default.PropTypes.object,value:i.default.PropTypes.any,noLinks:i.default.PropTypes.bool},render:function(){var e=this.props,t=e.prop,n=e.value,r=e.noLinks,a=i.default.createElement("i",{className:"fa fa-external-link external-link-icon"}),s=!r&&t.valueDescriptions&&t.valueDescriptions[n]?i.default.createElement(A.default,{placement:"bottom",trigger:["click"],overlay:x.parse(""+t.valueDescriptions[n]+"")},i.default.createElement(h.default,{className:"info",name:"info-circle"})):null;if(t.externalUrl&&!r){var l=function(){t.valueDisplays&&console.error("Properties cannot have externalUrl and valueDisplays: "+t.id);var e=n.split(";");return{v:i.default.createElement("span",{className:"prop"},e.map(function(n,r){return i.default.createElement("span",{key:r},0===r?a:null,i.default.createElement("a",{target:"_blank",href:t.externalUrl.replace("{value}",n)},n),r"+t.valueDisplays[n]+""),s);if("Boolean"==t.dispDataType&&""!==n){if(null===n)return i.default.createElement("span",null," NULL ");var u=1===n||"True"===n;return i.default.createElement(h.default,{className:u?"prop bool true":"prop bool false",fixedWidth:!1,name:u?"check":"times"})}if(!r&&t.relation)return i.default.createElement(y.default,{table:t.relation.tableId,primKey:n});if(!r&&t.isPrimKey)return i.default.createElement(y.default,{table:t.tableId,primKey:n})}return i.default.createElement("span",{className:"prop"},(0,d.default)(t,n),s)}});t.default=_},function(e,t,n){"use strict";var r=n(1309),o=n(1365),a=n(1377),i=n(1367);e.exports={Parser:r,ProcessingInstructions:o,IsValidNodeDefinitions:a,ProcessNodeDefinitions:i}},function(e,t,n){"use strict";var r=n(1310),o=n(1311),a=n(1312),i=n(1313),s=n(1365),l=n(1377),u=function(e,t){var n=function(e){var n=new i.DomHandler,r=new i.Parser(n,t);return r.parseComplete(e),n.dom},u=function(e,t,n,i){if(t(e)){var s=o(n||[],function(t){return t.shouldProcessNode(e)});if(null!=s){var l=r(a(e.children,function(e,r){return u(e,t,n,r)}));return s.processNode(e,l,i)}return!1}return!1},c=function(e,t,r){var o=n(e);if(o&&1!==o.length)throw new Error("html-to-react currently only supports HTML with one single root element. The HTML provided contains "+o.length+" root elements. You can fix that by simply wrapping your HTML in a
element.");return u(o[0],t,r,0)},f=function(t){var n=new s(e);return c(t,l.alwaysValid,n.defaultProcessingInstructions)};return{parse:f,parseWithInstructions:c}};e.exports=u},function(e,t){function n(e){for(var t=-1,n=e?e.length:0,r=0,o=[];++t-1}function C(e,t){var n=this.__data__,r=H(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1?o[a?t[i]:i]:void 0}}function oe(e,t,n,o,a,i){var s=a&qe,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var f=-1,d=!0,p=a&We?new D:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=Ge}function Pe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Me(e){return!!e&&"object"==typeof e}function Se(e){return"symbol"==typeof e||Me(e)&&Jt.call(e)==ut}function De(e){if(!e)return 0===e?e:0;if(e=Ie(e),e===Ve||e===-Ve){var t=e<0?-1:1; -return t*Ye}return e===e?e:0}function Oe(e){var t=De(e),n=t%1;return t===t?n?t-n:t:0}function Ie(e){if("number"==typeof e)return e;if(Se(e))return Ke;if(Pe(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Pe(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(kt,"");var n=St.test(e);return n||Ot.test(e)?Nt(e.slice(2),n?2:8):Mt.test(e)?Ke:+e}function Le(e){return null==e?"":te(e)}function Ne(e,t,n){var r=null==e?void 0:U(e,t);return void 0===r?n:r}function Be(e,t){return null!=e&&ce(e,t,q)}function Fe(e){return Ce(e)?z(e):Z(e)}function Re(e){return e}function je(e){return de(e)?a(ye(e)):ee(e)}var ze=200,He="Expected a function",Ue="__lodash_hash_undefined__",We=1,qe=2,Ve=1/0,Ge=9007199254740991,Ye=1.7976931348623157e308,Ke=NaN,Qe="[object Arguments]",Xe="[object Array]",Ze="[object Boolean]",Je="[object Date]",$e="[object Error]",et="[object Function]",tt="[object GeneratorFunction]",nt="[object Map]",rt="[object Number]",ot="[object Object]",at="[object Promise]",it="[object RegExp]",st="[object Set]",lt="[object String]",ut="[object Symbol]",ct="[object WeakMap]",ft="[object ArrayBuffer]",dt="[object DataView]",pt="[object Float32Array]",ht="[object Float64Array]",mt="[object Int8Array]",gt="[object Int16Array]",vt="[object Int32Array]",yt="[object Uint8Array]",bt="[object Uint8ClampedArray]",At="[object Uint16Array]",xt="[object Uint32Array]",_t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wt=/^\w*$/,Ct=/^\./,Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Tt=/[\\^$.*+?()[\]{}|]/g,kt=/^\s+|\s+$/g,Pt=/\\(\\)?/g,Mt=/^[-+]0x[0-9a-f]+$/i,St=/^0b[01]+$/i,Dt=/^\[object .+?Constructor\]$/,Ot=/^0o[0-7]+$/i,It=/^(?:0|[1-9]\d*)$/,Lt={};Lt[pt]=Lt[ht]=Lt[mt]=Lt[gt]=Lt[vt]=Lt[yt]=Lt[bt]=Lt[At]=Lt[xt]=!0,Lt[Qe]=Lt[Xe]=Lt[ft]=Lt[Ze]=Lt[dt]=Lt[Je]=Lt[$e]=Lt[et]=Lt[nt]=Lt[rt]=Lt[ot]=Lt[it]=Lt[st]=Lt[lt]=Lt[ct]=!1;var Nt=parseInt,Bt="object"==typeof e&&e&&e.Object===Object&&e,Ft="object"==typeof self&&self&&self.Object===Object&&self,Rt=Bt||Ft||Function("return this")(),jt="object"==typeof t&&t&&!t.nodeType&&t,zt=jt&&"object"==typeof n&&n&&!n.nodeType&&n,Ht=zt&&zt.exports===jt,Ut=Ht&&Bt.process,Wt=function(){try{return Ut&&Ut.binding("util")}catch(e){}}(),qt=Wt&&Wt.isTypedArray,Vt=Array.prototype,Gt=Function.prototype,Yt=Object.prototype,Kt=Rt["__core-js_shared__"],Qt=function(){var e=/[^.]+$/.exec(Kt&&Kt.keys&&Kt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Xt=Gt.toString,Zt=Yt.hasOwnProperty,Jt=Yt.toString,$t=RegExp("^"+Xt.call(Zt).replace(Tt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),en=Rt.Symbol,tn=Rt.Uint8Array,nn=Yt.propertyIsEnumerable,rn=Vt.splice,on=f(Object.keys,Object),an=Math.max,sn=ue(Rt,"DataView"),ln=ue(Rt,"Map"),un=ue(Rt,"Promise"),cn=ue(Rt,"Set"),fn=ue(Rt,"WeakMap"),dn=ue(Object,"create"),pn=be(sn),hn=be(ln),mn=be(un),gn=be(cn),vn=be(fn),yn=en?en.prototype:void 0,bn=yn?yn.valueOf:void 0,An=yn?yn.toString:void 0;p.prototype.clear=h,p.prototype.delete=m,p.prototype.get=g,p.prototype.has=v,p.prototype.set=y,b.prototype.clear=A,b.prototype.delete=x,b.prototype.get=_,b.prototype.has=w,b.prototype.set=C,E.prototype.clear=T,E.prototype.delete=k,E.prototype.get=P,E.prototype.has=M,E.prototype.set=S,D.prototype.add=D.prototype.push=O,D.prototype.has=I,L.prototype.clear=N,L.prototype.delete=B,L.prototype.get=F,L.prototype.has=R,L.prototype.set=j;var xn=W;(sn&&xn(new sn(new ArrayBuffer(1)))!=dt||ln&&xn(new ln)!=nt||un&&xn(un.resolve())!=at||cn&&xn(new cn)!=st||fn&&xn(new fn)!=ct)&&(xn=function(e){var t=Jt.call(e),n=t==ot?e.constructor:void 0,r=n?be(n):void 0;if(r)switch(r){case pn:return dt;case hn:return nt;case mn:return at;case gn:return st;case vn:return ct}return t});var _n=xe(function(e){e=Le(e);var t=[];return Ct.test(e)&&t.push(""),e.replace(Et,function(e,n,r,o){t.push(r?o.replace(Pt,"$1"):n||e)}),t}),wn=re(Ae);xe.Cache=E;var Cn=Array.isArray,En=qt?s(qt):Q;n.exports=wn}).call(t,function(){return this}(),n(619)(e))},function(e,t,n){(function(e,n){function r(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n-1}function C(e,t){var n=this.__data__,r=H(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++tl))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var f=-1,d=!0,p=a&We?new D:void 0;for(i.set(e,t),i.set(t,e);++f-1&&e%1==0&&e-1&&e%1==0&&e<=Ge}function De(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Oe(e){return!!e&&"object"==typeof e}function Ie(e){return"symbol"==typeof e||Oe(e)&&Vt.call(e)==st}function Le(e){return null==e?"":re(e)}function Ne(e,t,n){var r=null==e?void 0:W(e,t);return void 0===r?n:r}function Be(e,t){return null!=e&&pe(e,t,V)}function Fe(e){return ke(e)?z(e):J(e)}function Re(e){return e}function je(e){return me(e)?a(xe(e)):ne(e)}var ze=200,He="Expected a function",Ue="__lodash_hash_undefined__",We=1,qe=2,Ve=1/0,Ge=9007199254740991,Ye="[object Arguments]",Ke="[object Array]",Qe="[object Boolean]",Xe="[object Date]",Ze="[object Error]",Je="[object Function]",$e="[object GeneratorFunction]",et="[object Map]",tt="[object Number]",nt="[object Object]",rt="[object Promise]",ot="[object RegExp]",at="[object Set]",it="[object String]",st="[object Symbol]",lt="[object WeakMap]",ut="[object ArrayBuffer]",ct="[object DataView]",ft="[object Float32Array]",dt="[object Float64Array]",pt="[object Int8Array]",ht="[object Int16Array]",mt="[object Int32Array]",gt="[object Uint8Array]",vt="[object Uint8ClampedArray]",yt="[object Uint16Array]",bt="[object Uint32Array]",At=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xt=/^\w*$/,_t=/^\./,wt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ct=/[\\^$.*+?()[\]{}|]/g,Et=/\\(\\)?/g,Tt=/^\[object .+?Constructor\]$/,kt=/^(?:0|[1-9]\d*)$/,Pt={};Pt[ft]=Pt[dt]=Pt[pt]=Pt[ht]=Pt[mt]=Pt[gt]=Pt[vt]=Pt[yt]=Pt[bt]=!0,Pt[Ye]=Pt[Ke]=Pt[ut]=Pt[Qe]=Pt[ct]=Pt[Xe]=Pt[Ze]=Pt[Je]=Pt[et]=Pt[tt]=Pt[nt]=Pt[ot]=Pt[at]=Pt[it]=Pt[lt]=!1;var Mt="object"==typeof e&&e&&e.Object===Object&&e,St="object"==typeof self&&self&&self.Object===Object&&self,Dt=Mt||St||Function("return this")(),Ot="object"==typeof t&&t&&!t.nodeType&&t,It=Ot&&"object"==typeof n&&n&&!n.nodeType&&n,Lt=It&&It.exports===Ot,Nt=Lt&&Mt.process,Bt=function(){try{return Nt&&Nt.binding("util")}catch(e){}}(),Ft=Bt&&Bt.isTypedArray,Rt=Array.prototype,jt=Function.prototype,zt=Object.prototype,Ht=Dt["__core-js_shared__"],Ut=function(){var e=/[^.]+$/.exec(Ht&&Ht.keys&&Ht.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Wt=jt.toString,qt=zt.hasOwnProperty,Vt=zt.toString,Gt=RegExp("^"+Wt.call(qt).replace(Ct,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Yt=Dt.Symbol,Kt=Dt.Uint8Array,Qt=zt.propertyIsEnumerable,Xt=Rt.splice,Zt=f(Object.keys,Object),Jt=de(Dt,"DataView"),$t=de(Dt,"Map"),en=de(Dt,"Promise"),tn=de(Dt,"Set"),nn=de(Dt,"WeakMap"),rn=de(Object,"create"),on=_e(Jt),an=_e($t),sn=_e(en),ln=_e(tn),un=_e(nn),cn=Yt?Yt.prototype:void 0,fn=cn?cn.valueOf:void 0,dn=cn?cn.toString:void 0;p.prototype.clear=h,p.prototype.delete=m,p.prototype.get=g,p.prototype.has=v,p.prototype.set=y,b.prototype.clear=A,b.prototype.delete=x,b.prototype.get=_,b.prototype.has=w,b.prototype.set=C,E.prototype.clear=T,E.prototype.delete=k,E.prototype.get=P,E.prototype.has=M,E.prototype.set=S,D.prototype.add=D.prototype.push=O,D.prototype.has=I,L.prototype.clear=N,L.prototype.delete=B,L.prototype.get=F,L.prototype.has=R,L.prototype.set=j;var pn=ae(U),hn=ie(),mn=q;(Jt&&mn(new Jt(new ArrayBuffer(1)))!=ct||$t&&mn(new $t)!=et||en&&mn(en.resolve())!=rt||tn&&mn(new tn)!=at||nn&&mn(new nn)!=lt)&&(mn=function(e){var t=Vt.call(e),n=t==nt?e.constructor:void 0,r=n?_e(n):void 0;if(r)switch(r){case on:return ct;case an:return et;case sn:return rt;case ln:return at;case un:return lt}return t});var gn=Ce(function(e){e=Le(e);var t=[];return _t.test(e)&&t.push(""),e.replace(wt,function(e,n,r,o){t.push(r?o.replace(Et,"$1"):n||e)}),t});Ce.Cache=E;var vn=Array.isArray,yn=Ft?s(Ft):X;n.exports=we}).call(t,function(){return this}(),n(619)(e))},function(e,t,n){function r(t,n){return delete e.exports[t],e.exports[t]=n,n}var o=n(1314),a=n(1323);e.exports={Parser:o,Tokenizer:n(1315),ElementType:n(1324),DomHandler:a,get FeedHandler(){return r("FeedHandler",n(1327))},get Stream(){return r("Stream",n(1328))},get WritableStream(){return r("WritableStream",n(1329))},get ProxyHandler(){return r("ProxyHandler",n(1351))},get DomUtils(){return r("DomUtils",n(1352))},get CollectingHandler(){return r("CollectingHandler",n(1364))},DefaultHandler:a,get RssHandler(){return r("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var n=new a(t);return new o(n,t).end(e),n.dom},parseFeed:function(t,n){var r=new e.exports.FeedHandler(n);return new o(r,n).end(t),r.dom},createDomStream:function(e,t,n){var r=new a(e,t,n);return new o(r,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(e,t,n){function r(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(o=this._options.Tokenizer),this._tokenizer=new o(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}var o=n(1315),a={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:{option:!0},optgroup:{optgroup:!0}},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,path:!0,circle:!0,ellipse:!0,line:!0,rect:!0,use:!0,stop:!0,polyline:!0,polygon:!0},l=/\s|\//;n(1321)(r,n(1322).EventEmitter),r.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},r.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},r.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in s||this._stack.push(e),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},r.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in s&&this._cbs.onclosetag(this._tagname),this._tagname=""},r.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),!this._stack.length||e in s&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(t!==-1)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},r.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing?this._closeCurrentTag():this.onopentagend()},r.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},r.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},r.prototype.onattribdata=function(e){this._attribvalue+=e},r.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},r.prototype._getInstructionName=function(e){var t=e.search(l),n=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(n=n.toLowerCase()),n},r.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},r.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},r.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},r.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},r.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},r.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},r.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},r.prototype.parseComplete=function(e){this.reset(),this.end(e)},r.prototype.write=function(e){this._tokenizer.write(e)},r.prototype.end=function(e){this._tokenizer.end(e)},r.prototype.pause=function(){this._tokenizer.pause()},r.prototype.resume=function(){this._tokenizer.resume()},r.prototype.parseChunk=r.prototype.write,r.prototype.done=r.prototype.end,e.exports=r},function(e,t,n){function r(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function o(e,t){return function(n){n===e&&(this._state=t)}}function a(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(o){o===r||o===e?this._state=t:(this._state=n,this._index--)}}function i(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=m,this._index--)}}function s(e,t){this._state=p,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=p,this._special=me,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}e.exports=s;var l=n(1316),u=n(1318),c=n(1319),f=n(1320),d=0,p=d++,h=d++,m=d++,g=d++,v=d++,y=d++,b=d++,A=d++,x=d++,_=d++,w=d++,C=d++,E=d++,T=d++,k=d++,P=d++,M=d++,S=d++,D=d++,O=d++,I=d++,L=d++,N=d++,B=d++,F=d++,R=d++,j=d++,z=d++,H=d++,U=d++,W=d++,q=d++,V=d++,G=d++,Y=d++,K=d++,Q=d++,X=d++,Z=d++,J=d++,$=d++,ee=d++,te=d++,ne=d++,re=d++,oe=d++,ae=d++,ie=d++,se=d++,le=d++,ue=d++,ce=d++,fe=d++,de=d++,pe=d++,he=0,me=he++,ge=he++,ve=he++;s.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=h,this._sectionStart=this._index):this._decodeEntities&&this._special===me&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=p,this._state=ue,this._sectionStart=this._index)},s.prototype._stateBeforeTagName=function(e){"/"===e?this._state=v:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==me||r(e)?this._state=p:"!"===e?(this._state=k,this._sectionStart=this._index+1):"?"===e?(this._state=M,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?m:W,this._sectionStart=this._index)},s.prototype._stateInTagName=function(e){("/"===e||">"===e||r(e))&&(this._emitToken("onopentagname"),this._state=A,this._index--)},s.prototype._stateBeforeCloseingTagName=function(e){r(e)||(">"===e?this._state=p:this._special!==me?"s"===e||"S"===e?this._state=q:(this._state=p,this._index--):(this._state=y,this._sectionStart=this._index))},s.prototype._stateInCloseingTagName=function(e){(">"===e||r(e))&&(this._emitToken("onclosetag"),this._state=b,this._index--)},s.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=p,this._sectionStart=this._index+1)},s.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=p,this._sectionStart=this._index+1):"/"===e?this._state=g:r(e)||(this._state=x,this._sectionStart=this._index)},s.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=p,this._sectionStart=this._index+1):r(e)||(this._state=A,this._index--)},s.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||r(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=_,this._index--)},s.prototype._stateAfterAttributeName=function(e){"="===e?this._state=w:"/"===e||">"===e?(this._cbs.onattribend(),this._state=A,this._index--):r(e)||(this._cbs.onattribend(),this._state=x,this._sectionStart=this._index)},s.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=C,this._sectionStart=this._index+1):"'"===e?(this._state=E,this._sectionStart=this._index+1):r(e)||(this._state=T,this._sectionStart=this._index,this._index--)},s.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=A):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ue,this._sectionStart=this._index)},s.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=A):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ue,this._sectionStart=this._index)},s.prototype._stateInAttributeValueNoQuotes=function(e){r(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=A,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ue,this._sectionStart=this._index)},s.prototype._stateBeforeDeclaration=function(e){this._state="["===e?L:"-"===e?S:P},s.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=p,this._sectionStart=this._index+1)},s.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=p,this._sectionStart=this._index+1)},s.prototype._stateBeforeComment=function(e){"-"===e?(this._state=D,this._sectionStart=this._index+1):this._state=P},s.prototype._stateInComment=function(e){"-"===e&&(this._state=O)},s.prototype._stateAfterComment1=function(e){"-"===e?this._state=I:this._state=D},s.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=p,this._sectionStart=this._index+1):"-"!==e&&(this._state=D)},s.prototype._stateBeforeCdata1=a("C",N,P),s.prototype._stateBeforeCdata2=a("D",B,P),s.prototype._stateBeforeCdata3=a("A",F,P),s.prototype._stateBeforeCdata4=a("T",R,P),s.prototype._stateBeforeCdata5=a("A",j,P),s.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=z,this._sectionStart=this._index+1):(this._state=P,this._index--)},s.prototype._stateInCdata=function(e){"]"===e&&(this._state=H)},s.prototype._stateAfterCdata1=o("]",U),s.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=p,this._sectionStart=this._index+1):"]"!==e&&(this._state=z)},s.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=V:"t"===e||"T"===e?this._state=te:(this._state=m,this._index--)},s.prototype._stateBeforeSpecialEnd=function(e){this._special!==ge||"c"!==e&&"C"!==e?this._special!==ve||"t"!==e&&"T"!==e?this._state=p:this._state=ae:this._state=X},s.prototype._stateBeforeScript1=i("R",G),s.prototype._stateBeforeScript2=i("I",Y),s.prototype._stateBeforeScript3=i("P",K),s.prototype._stateBeforeScript4=i("T",Q),s.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||r(e))&&(this._special=ge),this._state=m,this._index--},s.prototype._stateAfterScript1=a("R",Z,p),s.prototype._stateAfterScript2=a("I",J,p),s.prototype._stateAfterScript3=a("P",$,p),s.prototype._stateAfterScript4=a("T",ee,p),s.prototype._stateAfterScript5=function(e){">"===e||r(e)?(this._special=me,this._state=y,this._sectionStart=this._index-6,this._index--):this._state=p},s.prototype._stateBeforeStyle1=i("Y",ne),s.prototype._stateBeforeStyle2=i("L",re),s.prototype._stateBeforeStyle3=i("E",oe),s.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||r(e))&&(this._special=ve),this._state=m,this._index--},s.prototype._stateAfterStyle1=a("Y",ie,p),s.prototype._stateAfterStyle2=a("L",se,p),s.prototype._stateAfterStyle3=a("E",le,p),s.prototype._stateAfterStyle4=function(e){">"===e||r(e)?(this._special=me,this._state=y,this._sectionStart=this._index-5,this._index--):this._state=p},s.prototype._stateBeforeEntity=a("#",ce,fe),s.prototype._stateBeforeNumericEntity=a("X",pe,de),s.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(c.hasOwnProperty(n))return this._emitPartial(c[n]),void(this._sectionStart+=t+1);t--}},s.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==p?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},s.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),o=parseInt(r,t);this._emitPartial(l(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},s.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},s.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},s.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===p?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)}, -s.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},s.prototype._parse=function(){for(;this._index=55296&&e<=57343||e>1114111)return"�";e in o&&(e=o[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}var o=n(1317);e.exports=r},function(e,t,n){e.exports=n.p+"d910d99bf12370e4fafecfec9fffe6ed.json"},function(e,t,n){e.exports=n.p+"f538a60960fcdc4a4f5ceb05a8190b1d.json"},function(e,t,n){e.exports=n.p+"109da3ab610328154d3119eec563adb2.json"},function(e,t,n){e.exports=n.p+"bcc034acc51c5c8f92c257a28ec9a1d6.json"},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function o(e){return"number"==typeof e}function a(e){return"object"==typeof e&&null!==e}function i(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,o,s,l,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],i(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(a(n))for(s=Array.prototype.slice.call(arguments,1),u=n.slice(),o=u.length,l=0;l0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var o=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,i,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],i=n.length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=i;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){o=s;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t,n){function r(e,t,n){"object"==typeof e?(n=t,t=e,e=null):"function"==typeof t&&(n=t,t=l),this._callback=e,this._options=t||l,this._elementCB=n,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var o=n(1324),a=/\s+/g,i=n(1325),s=n(1326),l={normalizeWhitespace:!1,withStartIndices:!1};r.prototype.onparserinit=function(e){this._parser=e},r.prototype.onreset=function(){r.call(this,this._callback,this._options,this._elementCB)},r.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},r.prototype._handleCallback=r.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},r.prototype.onclosetag=function(){var e=this._tagStack.pop();this._elementCB&&this._elementCB(e)},r.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withDomLvl1&&(e.__proto__="tag"===e.type?s:i),r?(e.prev=r,r.next=e):e.prev=null,n.push(e),e.parent=t||null},r.prototype.onopentag=function(e,t){var n={type:"script"===e?o.Script:"style"===e?o.Style:o.Tag,name:e,attribs:t,children:[]};this._addDomElement(n),this._tagStack.push(n)},r.prototype.ontext=function(e){var t,n=this._options.normalizeWhitespace||this._options.ignoreWhitespace;!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===o.Text?n?t.data=(t.data+e).replace(a," "):t.data+=e:this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===o.Text?n?t.data=(t.data+e).replace(a," "):t.data+=e:(n&&(e=e.replace(a," ")),this._addDomElement({data:e,type:o.Text}))},r.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===o.Comment)return void(t.data+=e);var n={data:e,type:o.Comment};this._addDomElement(n),this._tagStack.push(n)},r.prototype.oncdatastart=function(){var e={children:[{data:"",type:o.Text}],type:o.CDATA};this._addDomElement(e),this._tagStack.push(e)},r.prototype.oncommentend=r.prototype.oncdataend=function(){this._tagStack.pop()},r.prototype.onprocessinginstruction=function(e,t){this._addDomElement({name:e,data:t,type:o.Directive})},e.exports=r},function(e,t){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},function(e,t){var n=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return o[this.type]||o.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},o={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach(function(e){var t=r[e];Object.defineProperty(n,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,n){var r=n(1325),o=e.exports=Object.create(r),a={tagName:"name"};Object.keys(a).forEach(function(e){var t=a[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})})},function(e,t,n){function r(e,t){this.init(e,t)}function o(e,t){return c.getElementsByTagName(e,t,!0)}function a(e,t){return c.getElementsByTagName(e,t,!0,1)[0]}function i(e,t,n){return c.getText(c.getElementsByTagName(e,t,n,1)).trim()}function s(e,t,n,r,o){var a=i(n,r,o);a&&(e[t]=a)}var l=n(1313),u=l.DomHandler,c=l.DomUtils;n(1321)(r,u),r.prototype.init=u;var f=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};r.prototype.onend=function(){var e,t,n={},r=a(f,this.dom);r&&("feed"===r.name?(t=r.children,n.type="atom",s(n,"id","id",t),s(n,"title","title",t),(e=a("link",t))&&(e=e.attribs)&&(e=e.href)&&(n.link=e),s(n,"description","subtitle",t),(e=i("updated",t))&&(n.updated=new Date(e)),s(n,"author","email",t,!0),n.items=o("entry",t).map(function(e){var t,n={};return e=e.children,s(n,"id","id",e),s(n,"title","title",e),(t=a("link",e))&&(t=t.attribs)&&(t=t.href)&&(n.link=t),(t=i("summary",e)||i("content",e))&&(n.description=t),(t=i("updated",e))&&(n.pubDate=new Date(t)),n})):(t=a("channel",r.children).children,n.type=r.name.substr(0,3),n.id="",s(n,"title","title",t),s(n,"link","link",t),s(n,"description","description",t),(e=i("lastBuildDate",t))&&(n.updated=new Date(e)),s(n,"author","managingEditor",t,!0),n.items=o("item",r.children).map(function(e){var t,n={};return e=e.children,s(n,"id","guid",e),s(n,"title","title",e),s(n,"link","link",e),s(n,"description","description",e),(t=i("pubDate",e))&&(n.pubDate=new Date(t)),n}))),this.dom=n,u.prototype._handleCallback.call(this,r?null:Error("couldn't find root of feed"))},e.exports=r},function(e,t,n){function r(e){a.call(this,new o(this),e)}function o(e){this.scope=e}e.exports=r;var a=n(1329);n(1321)(r,a),r.prototype.readable=!0;var i=n(1313).EVENTS;Object.keys(i).forEach(function(e){if(0===i[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===i[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==i[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}})},function(e,t,n){function r(e,t){var n=this._parser=new o(e,t),r=this._decoder=new i;a.call(this,{decodeStrings:!1}),this.once("finish",function(){n.end(r.end())})}e.exports=r;var o=n(1314),a=n(1330).Writable||n(1350).Writable,i=n(1343).StringDecoder,s=n(1335).Buffer;n(1321)(r,a),a.prototype._write=function(e,t,n){e instanceof s&&(e=this._decoder.write(e)),this._parser.write(e),n()}},function(e,t,n){function r(){o.call(this)}e.exports=r;var o=n(1322).EventEmitter,a=n(1321);a(r,o),r.Readable=n(1331),r.Writable=n(1346),r.Duplex=n(1347),r.Transform=n(1348),r.PassThrough=n(1349),r.Stream=r,r.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function a(){c||(c=!0,e.end())}function i(){c||(c=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(l(),0===o.listenerCount(this,"error"))throw e}function l(){u.removeListener("data",n),e.removeListener("drain",r),u.removeListener("end",a),u.removeListener("close",i),u.removeListener("error",s),e.removeListener("error",s),u.removeListener("end",l),u.removeListener("close",l),e.removeListener("close",l)}var u=this;u.on("data",n),e.on("drain",r),e._isStdio||t&&t.end===!1||(u.on("end",a),u.on("close",i));var c=!1;return u.on("error",s),e.on("error",s),u.on("end",l),u.on("close",l),e.on("close",l),e.emit("pipe",u),e}},function(e,t,n){var r=function(){try{return n(1330)}catch(e){}}();t=e.exports=n(1332),t.Stream=r||t,t.Readable=t,t.Writable=n(1341),t.Duplex=n(1340),t.Transform=n(1344),t.PassThrough=n(1345)},function(e,t,n){(function(t){"use strict";function r(e,t){L=L||n(1340),e=e||{},this.objectMode=!!e.objectMode,t instanceof L&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(I||(I=n(1343).StringDecoder),this.decoder=new I(e.encoding),this.encoding=e.encoding)}function o(e){return L=L||n(1340),this instanceof o?(this._readableState=new r(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),void P.call(this)):new o(e)}function a(e,t,n,r,o){var a=u(t,n);if(a)e.emit("error",a);else if(null===n)t.reading=!1,c(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&o){var s=new Error("stream.unshift() after end event");e.emit("error",s)}else{var l;!t.decoder||o||r||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),o||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&f(e))),p(e,t)}else o||(t.reading=!1);return i(t)}function i(e){return!e.ended&&(e.needReadable||e.length=N?e=N:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function l(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function u(e,t){var n=null;return k.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function c(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,f(e)}}function f(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(O("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?E(d,e):d(e))}function d(e){O("emit readable"),e.emit("readable"),b(e)}function p(e,t){t.readingMore||(t.readingMore=!0,E(h,e,t))}function h(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=o)n=a?r.join(""):1===r.length?r[0]:k.concat(r,o),r.length=0;else if(e0)throw new Error("endReadable called on non-empty stream");t.endEmitted||(t.ended=!0,E(_,t,e))}function _(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function w(e,t){for(var n=0,r=e.length;n0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return O("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?x(this):f(this),null;if(e=l(e,t),0===e&&t.ended)return 0===t.length&&x(this),null;var r=t.needReadable;O("need readable",r),(0===t.length||t.length-e0?A(e,t):null,null===o&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&x(this),null!==o&&this.emit("data",o),o},o.prototype._read=function(e){this.emit("error",new Error("not implemented"))},o.prototype.pipe=function(e,n){function r(e){O("onunpipe"),e===f&&a()}function o(){O("onend"),e.end()}function a(){O("cleanup"),e.removeListener("close",l),e.removeListener("finish",u),e.removeListener("drain",g),e.removeListener("error",s),e.removeListener("unpipe",r),f.removeListener("end",o),f.removeListener("end",a),f.removeListener("data",i),v=!0,!d.awaitDrain||e._writableState&&!e._writableState.needDrain||g()}function i(t){O("ondata");var n=e.write(t);!1===n&&(1!==d.pipesCount||d.pipes[0]!==e||1!==f.listenerCount("data")||v||(O("false write response, pause",f._readableState.awaitDrain),f._readableState.awaitDrain++),f.pause())}function s(t){O("onerror",t),c(),e.removeListener("error",s),0===M(e,"error")&&e.emit("error",t)}function l(){e.removeListener("finish",u),c()}function u(){O("onfinish"),e.removeListener("close",l),c()}function c(){O("unpipe"),f.unpipe(e)}var f=this,d=this._readableState;switch(d.pipesCount){case 0:d.pipes=e;break;case 1:d.pipes=[d.pipes,e];break;default:d.pipes.push(e)}d.pipesCount+=1,O("pipe count=%d opts=%j",d.pipesCount,n);var p=(!n||n.end!==!1)&&e!==t.stdout&&e!==t.stderr,h=p?o:a;d.endEmitted?E(h):f.once("end",h),e.on("unpipe",r);var g=m(f);e.on("drain",g);var v=!1;return f.on("data",i),e._events&&e._events.error?T(e._events.error)?e._events.error.unshift(s):e._events.error=[s,e._events.error]:e.on("error",s),e.once("close",l),e.once("finish",u),e.emit("pipe",f),d.flowing||(O("pipe resume"),f.resume()),e},o.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o - * @license MIT - */ -"use strict";function r(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return i.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),i.alloc(+e)}function v(e,t){if(i.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return K(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function y(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,n);case"utf8":case"utf-8":return M(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return P(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function A(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:x(e,t,n,r,o);if("number"==typeof t)return t&=255,i.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):x(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function x(e,t,n,r,o){function a(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,l/=2,n/=2}var u;if(o){var c=-1;for(u=n;us&&(n=s-l),u=n;u>=0;u--){for(var f=!0,d=0;do&&(r=o)):r=o;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i239?4:a>223?3:a>191?2:1;if(o+s<=n){var l,u,c,f;switch(s){case 1:a<128&&(i=a);break;case 2:l=e[o+1],128===(192&l)&&(f=(31&a)<<6|63&l,f>127&&(i=f));break;case 3:l=e[o+1],u=e[o+2],128===(192&l)&&128===(192&u)&&(f=(15&a)<<12|(63&l)<<6|63&u,f>2047&&(f<55296||f>57343)&&(i=f));break;case 4:l=e[o+1],u=e[o+2],c=e[o+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(f=(15&a)<<18|(63&l)<<12|(63&u)<<6|63&c,f>65535&&f<1114112&&(i=f))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return S(r)}function S(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var o="",a=t;an)throw new RangeError("Trying to access beyond buffer length")}function B(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function F(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,a=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,a=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function j(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(e,t,n,r,o){return o||j(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,o){return o||j(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,n,r,52,8),n+8}function U(e){if(e=W(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function W(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var n,r=e.length,o=null,a=[],i=0;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function G(e){for(var t=[],n=0;n>8,o=n%256,a.push(o),a.push(r);return a}function K(e){return Z.toByteArray(U(e))}function Q(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function X(e){return e!==e}var Z=n(1336),J=n(1337),$=n(1334);t.Buffer=i,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,i.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=o(),i.poolSize=8192,i._augment=function(e){return e.__proto__=i.prototype,e},i.from=function(e,t,n){return s(null,e,t,n)},i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0})),i.alloc=function(e,t,n){return u(null,e,t,n)},i.allocUnsafe=function(e){return c(null,e)},i.allocUnsafeSlow=function(e){return c(null,e)},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,s=n-t,l=Math.min(a,s),u=this.slice(r,o),c=e.slice(t,n),f=0;fo)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return _(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return E(this,e,t,n);case"base64":return T(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(o*=256);)r+=this[e+--t]*o;return r},i.prototype.readUInt8=function(e,t){return t||N(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return t||N(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return t||N(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=this[e],o=1,a=0;++a=o&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||N(e,t,this.length);for(var r=t,o=1,a=this[e+--r];r>0&&(o*=256);)a+=this[e+--r]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a},i.prototype.readInt8=function(e,t){return t||N(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},i.prototype.readInt16LE=function(e,t){t||N(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){t||N(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return t||N(e,4,this.length),J.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return t||N(e,4,this.length),J.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return t||N(e,8,this.length),J.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return t||N(e,8,this.length),J.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){var o=Math.pow(2,8*n)-1;B(this,e,t,n,o,0)}var a=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+a]=e/i&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,255,0),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,65535,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,4294967295,0),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);B(this,e,t,n,o-1,-o)}var a=0,i=1,s=0;for(this[t]=255&e;++a>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);B(this,e,t,n,o-1,-o)}var a=n-1,i=1,s=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,1,127,-128),i.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,2,32767,-32768),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),i.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||B(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),i.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},i.prototype.writeFloatLE=function(e,t,n){return z(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return z(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function r(e){return 3*e.length/4-n(e)}function o(e){var t,r,o,a,i,s,l=e.length;i=n(e),s=new c(3*l/4-i),o=i>0?l-4:l;var f=0;for(t=0,r=0;t>16&255,s[f++]=a>>8&255,s[f++]=255&a;return 2===i?(a=u[e.charCodeAt(t)]<<2|u[e.charCodeAt(t+1)]>>4,s[f++]=255&a):1===i&&(a=u[e.charCodeAt(t)]<<10|u[e.charCodeAt(t+1)]<<4|u[e.charCodeAt(t+2)]>>2,s[f++]=a>>8&255,s[f++]=255&a),s}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function i(e,t,n){for(var r,o=[],i=t;ic?c:u+s));return 1===r?(t=e[n-1],o+=l[t>>2],o+=l[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=l[t>>10],o+=l[t>>4&63],o+=l[t<<2&63],o+="="),a.push(o),a.join("")}t.byteLength=r,t.toByteArray=o,t.fromByteArray=s;for(var l=[],u=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",d=0,p=f.length;d>1,c=-7,f=n?o-1:0,d=n?-1:1,p=e[t+f];for(f+=d,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+e[t+f],f+=d,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+f],f+=d,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:(p?-1:1)*(1/0);i+=Math.pow(2,r),a-=u}return(p?-1:1)*i*Math.pow(2,a-r)},t.write=function(e,t,n,r,o,a){var i,s,l,u=8*a-o-1,c=(1<>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:a-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),t+=i+f>=1?d/l:d*Math.pow(2,1-f),t*l>=2&&(i++,l/=2),i+f>=c?(s=0,i=c):i+f>=1?(s=(t*l-1)*Math.pow(2,o),i+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(i=i<0;e[n+p]=255&i,p+=h,i/=256,u-=8);e[n+p-h]|=128*m}},function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"==typeof e}function o(e){return null===e}function a(e){return null==e}function i(e){return"number"==typeof e}function s(e){return"string"==typeof e}function l(e){return"symbol"==typeof e}function u(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function f(e){return"object"==typeof e&&null!==e}function d(e){return"[object Date]"===g(e)}function p(e){return"[object Error]"===g(e)||e instanceof Error}function h(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=o,t.isNullOrUndefined=a,t.isNumber=i,t.isString=s,t.isSymbol=l,t.isUndefined=u,t.isRegExp=c,t.isObject=f,t.isDate=d,t.isError=p,t.isFunction=h,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(t,n(1335).Buffer)},function(e,t){},function(e,t,n){"use strict";function r(e){return this instanceof r?(u.call(this,e),c.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",o)):new r(e)}function o(){this.allowHalfOpen||this._writableState.ended||s(a,this)}function a(e){e.end()}var i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=r;var s=n(1333),l=n(1338);l.inherits=n(1321);var u=n(1332),c=n(1341);l.inherits(r,u);for(var f=i(c.prototype),d=0;d-1?r:C,T=n(1335).Buffer;s.WritableState=i;var k=n(1338);k.inherits=n(1321);var P,M={deprecate:n(1342)};!function(){try{P=n(1330)}catch(e){}finally{P||(P=n(1322).EventEmitter)}}();var T=n(1335).Buffer;k.inherits(s,P);var S;i.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(i.prototype,"buffer",{get:M.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var S;s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe. Not readable."))},s.prototype.write=function(e,t,n){var r=this._writableState,a=!1;return"function"==typeof t&&(n=t,t=null),T.isBuffer(e)?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=o),r.ended?l(this,n):u(this,r,e,n)&&(r.pendingcb++,a=f(this,r,e,t,n)),a},s.prototype.cork=function(){var e=this._writableState;e.corked++},s.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||y(this,e))},s.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e},s.prototype._write=function(e,t,n){n(new Error("not implemented"))},s.prototype._writev=null,s.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||_(this,r,n)}}).call(t,n(294),n(776).setImmediate)},function(e,t){(function(t){function n(e,t){function n(){if(!o){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),o=!0}return e.apply(this,arguments)}if(r("noDeprecation"))return e;var o=!1;return n}function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&"true"===String(n).toLowerCase()}e.exports=n}).call(t,function(){return this}())},function(e,t,n){function r(e){if(e&&!l(e))throw new Error("Unknown encoding: "+e)}function o(e){return e.toString(this.encoding)}function a(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function i(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=n(1335).Buffer,l=s.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=t.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=a;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=i;break;default:return void(this.write=o)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var o=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,o),o-=this.charReceived),t+=e.toString(this.encoding,0,o);var o=t.length-1,r=t.charCodeAt(o);if(r>=55296&&r<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,o)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)), -this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t}},function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return o(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function o(e,t,n){var r=e._transformState;r.transforming=!1;var o=r.writecb;if(!o)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),o(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length",e.children&&(n+=h(e.children,t)),p[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function a(e){return"<"+e.data+">"}function i(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in d||(n=c.encodeXML(n)),n}function s(e){return""}function l(e){return""}var u=n(1355),c=n(1356),f={__proto__:null,allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,hidden:!0,ismap:!0,loop:!0,multiple:!0,muted:!0,open:!0,readonly:!0,required:!0,reversed:!0,scoped:!0,seamless:!0,selected:!0,typemustmatch:!0},d={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},p={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},h=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",r=0;r0&&(a=o(e,a,n,r),i=i.concat(a),r-=a.length,r<=0)));s++);return i}function a(e,t){for(var n=0,r=t.length;n0&&(n=i(e,t[r].children)));return n}function s(e,t){for(var n=0,r=t.length;n0&&s(e,t[n].children)))return!0;return!1}function l(e,t){for(var n=[],r=0,o=t.length;r0&&(n=n.concat(l(e,t[r].children))));return n}var u=n(1324).isTag;e.exports={filter:r,find:o,findOneChild:a,findOne:i,existsOne:s,findAll:l}},function(e,t,n){function r(e,t){return"function"==typeof t?function(n){return n.attribs&&t(n.attribs[e])}:function(n){return n.attribs&&n.attribs[e]===t}}function o(e,t){return function(n){return e(n)||t(n)}}var a=n(1324),i=t.isTag=a.isTag;t.testElement=function(e,t){for(var n in e)if(e.hasOwnProperty(n)){if("tag_name"===n){if(!i(t)||!e.tag_name(t.name))return!1}else if("tag_type"===n){if(!e.tag_type(t.type))return!1}else if("tag_contains"===n){if(i(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[n](t.attribs[n]))return!1}else;return!0};var s={tag_name:function(e){return"function"==typeof e?function(t){return i(t)&&e(t.name)}:"*"===e?i:function(t){return i(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!i(t)&&e(t.data)}:function(t){return!i(t)&&t.data===e}}};t.getElements=function(e,t,n,a){var i=Object.keys(e).map(function(t){var n=e[t];return t in s?s[t](n):r(t,n)});return 0===i.length?[]:this.filter(i.reduce(o),t,n,a)},t.getElementById=function(e,t,n){return Array.isArray(t)||(t=[t]),this.findOne(r("id",e),t,n!==!1)},t.getElementsByTagName=function(e,t,n,r){return this.filter(s.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return this.filter(s.tag_type(e),t,n,r)}},function(e,t){t.removeSubsets=function(e){for(var t,n,r,o=e.length;--o>-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},r=t.compareDocumentPosition=function(e,t){var r,o,a,i,s,l,u=[],c=[];if(e===t)return 0;for(r=e;r;)u.unshift(r),r=r.parent;for(r=t;r;)c.unshift(r),r=r.parent;for(l=0;u[l]===c[l];)l++;return 0===l?n.DISCONNECTED:(o=u[l-1],a=o.children,i=u[l],s=c[l],a.indexOf(i)>a.indexOf(s)?o===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:o===e?n.PRECEDING|n.CONTAINS:n.PRECEDING)};t.uniqueSort=function(e){var t,o,a=e.length;for(e=e.slice();--a>-1;)t=e[a],o=e.indexOf(t),o>-1&&o0&&r.length>0&&(i[n]=r);return i}var o=n(1368),a=n(1369),i=n(1370),s=n(1371),l=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","textarea"],u=function(e){function t(t,n,o){if("text"===t.type)return s.decode(t.data);if("comment"===t.type)return!1;var u={key:o};return t.attribs&&a(t.attribs,function(e,n){switch(n||""){case"style":u.style=r(t.attribs.style);break;case"class":u.className=e;break;default:u[n]=e}}),i(l,t.name)?e.createElement(t.name,u):void 0!==t.data?e.createElement(t.name,u,t.data,n):e.createElement(t.name,u,n)}return{processDefaultNode:t}};e.exports=u},function(e,t){(function(t){function n(e,t,n,r){var o=-1,a=e?e.length:0;for(r&&a&&(n=e[++o]);++oo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r=r?e:f(e,t,n)}function h(e){return function(t){t=y(t);var n=i(t)?l(t):void 0,r=n?n[0]:t.charAt(0),o=n?p(n,1).join(""):t.slice(1);return r[e]()+o}}function m(e){return function(t){return n(x(A(t).replace(ue,"")),e,"")}}function g(e){return!!e&&"object"==typeof e}function v(e){return"symbol"==typeof e||g(e)&&xe.call(e)==w}function y(e){return null==e?"":d(e)}function b(e){return Te(y(e).toLowerCase())}function A(e){return e=y(e),e&&e.replace(E,be).replace(ce,"")}function x(e,t,n){return e=y(e),t=n?void 0:t,void 0===t?s(e)?c(e):o(e):e.match(t)||[]}var _=1/0,w="[object Symbol]",C=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,E=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,T="\\ud800-\\udfff",k="\\u0300-\\u036f\\ufe20-\\ufe23",P="\\u20d0-\\u20f0",M="\\u2700-\\u27bf",S="a-z\\xdf-\\xf6\\xf8-\\xff",D="\\xac\\xb1\\xd7\\xf7",O="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",I="\\u2000-\\u206f",L=" \\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",N="A-Z\\xc0-\\xd6\\xd8-\\xde",B="\\ufe0e\\ufe0f",F=D+O+I+L,R="['’]",j="["+T+"]",z="["+F+"]",H="["+k+P+"]",U="\\d+",W="["+M+"]",q="["+S+"]",V="[^"+T+F+U+M+S+N+"]",G="\\ud83c[\\udffb-\\udfff]",Y="(?:"+H+"|"+G+")",K="[^"+T+"]",Q="(?:\\ud83c[\\udde6-\\uddff]){2}",X="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+N+"]",J="\\u200d",$="(?:"+q+"|"+V+")",ee="(?:"+Z+"|"+V+")",te="(?:"+R+"(?:d|ll|m|re|s|t|ve))?",ne="(?:"+R+"(?:D|LL|M|RE|S|T|VE))?",re=Y+"?",oe="["+B+"]?",ae="(?:"+J+"(?:"+[K,Q,X].join("|")+")"+oe+re+")*",ie=oe+re+ae,se="(?:"+[W,Q,X].join("|")+")"+ie,le="(?:"+[K+H+"?",H,Q,X,j].join("|")+")",ue=RegExp(R,"g"),ce=RegExp(H,"g"),fe=RegExp(G+"(?="+G+")|"+le+ie,"g"),de=RegExp([Z+"?"+q+"+"+te+"(?="+[z,Z,"$"].join("|")+")",ee+"+"+ne+"(?="+[z,Z+$,"$"].join("|")+")",Z+"?"+$+"+"+te,Z+"+"+ne,U,se].join("|"),"g"),pe=RegExp("["+J+T+k+P+B+"]"),he=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,me={"À":"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","ſ":"ss"},ge="object"==typeof t&&t&&t.Object===Object&&t,ve="object"==typeof self&&self&&self.Object===Object&&self,ye=ge||ve||Function("return this")(),be=a(me),Ae=Object.prototype,xe=Ae.toString,_e=ye.Symbol,we=_e?_e.prototype:void 0,Ce=we?we.toString:void 0,Ee=m(function(e,t,n){return t=t.toLowerCase(),e+(n?b(t):t)}),Te=h("toUpperCase");e.exports=Ee}).call(t,function(){return this}())},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0;++n-1&&e%1==0&&e-1&&e%1==0&&e<=_}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){return!!e&&"object"==typeof e}function A(e){return h(e)?a(e):s(e)}function x(e){return e}var _=9007199254740991,w="[object Arguments]",C="[object Function]",E="[object GeneratorFunction]",T=/^(?:0|[1-9]\d*)$/,k=Object.prototype,P=k.hasOwnProperty,M=k.toString,S=k.propertyIsEnumerable,D=o(Object.keys,Object),O=l(i),I=u(),L=Array.isArray;e.exports=d},function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n-1&&e%1==0&&e-1:!!a&&o(e,t,n)>-1}function h(e){return g(e)&&q.call(e,"callee")&&(!G.call(e,"callee")||V.call(e)==O)}function m(e){return null!=e&&y(e.length)&&!v(e)}function g(e){return A(e)&&m(e)}function v(e){var t=b(e)?V.call(e):"";return t==I||t==L}function y(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=M}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function A(e){return!!e&&"object"==typeof e}function x(e){return"string"==typeof e||!Q(e)&&A(e)&&V.call(e)==N}function _(e){return"symbol"==typeof e||A(e)&&V.call(e)==B}function w(e){if(!e)return 0===e?e:0;if(e=E(e),e===P||e===-P){var t=e<0?-1:1;return t*S}return e===e?e:0}function C(e){var t=w(e),n=t%1;return t===t?n?t-n:t:0}function E(e){if("number"==typeof e)return e;if(_(e))return D;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(F,"");var n=j.test(e);return n||z.test(e)?U(e.slice(2),n?2:8):R.test(e)?D:+e}function T(e){return m(e)?u(e):c(e)}function k(e){return e?s(e,T(e)):[]}var P=1/0,M=9007199254740991,S=1.7976931348623157e308,D=NaN,O="[object Arguments]",I="[object Function]",L="[object GeneratorFunction]",N="[object String]",B="[object Symbol]",F=/^\s+|\s+$/g,R=/^[-+]0x[0-9a-f]+$/i,j=/^0b[01]+$/i,z=/^0o[0-7]+$/i,H=/^(?:0|[1-9]\d*)$/,U=parseInt,W=Object.prototype,q=W.hasOwnProperty,V=W.toString,G=W.propertyIsEnumerable,Y=l(Object.keys,Object),K=Math.max,Q=Array.isArray;e.exports=p},function(e,t,n){t.encode=n(1372),t.decode=n(1375)},function(e,t,n){function r(e,t){if("string"!=typeof e)throw new TypeError("Expected a String");t||(t={});var n=!0;t.named&&(n=!1),void 0!==t.numeric&&(n=t.numeric);for(var r=t.special||{'"':!0,"'":!0,"<":!0,">":!0,"&":!0},i=o.ucs2.decode(e),s=[],l=0;l=127||r[c])&&!n?s.push("&"+(/;$/.test(f)?f:f+";")):u<32||u>=127||r[c]?s.push("&#"+u+";"):s.push(c)}return s.join("")}var o=n(1373),a=n(1374);e.exports=r},function(e,t,n){var r;(function(e,o){!function(a){function i(e){throw new RangeError(O[e])}function s(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function l(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(D,".");var o=e.split("."),a=s(o,t).join(".");return r+a}function u(e){for(var t,n,r=[],o=0,a=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=N(e>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join("")}function f(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:x}function d(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function p(e,t,n){var r=0;for(e=n?L(e/E):e>>1,e+=L(e/t);e>I*w>>1;r+=x)e=L(e/I);return L(r+(I+1)*e/(e+C))}function h(e){var t,n,r,o,a,s,l,u,d,h,m=[],g=e.length,v=0,y=k,b=T;for(n=e.lastIndexOf(P),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),u=f(e.charCodeAt(o++)),(u>=x||u>L((A-v)/s))&&i("overflow"),v+=u*s,d=l<=b?_:l>=b+w?w:l-b,!(uL(A/h)&&i("overflow"),s*=h;t=m.length+1,b=p(v-a,t,0==a),L(v/t)>A-y&&i("overflow"),y+=L(v/t),v%=t,m.splice(v++,0,y)}return c(m)}function m(e){var t,n,r,o,a,s,l,c,f,h,m,g,v,y,b,C=[];for(e=u(e),g=e.length,t=k,n=0,a=T,s=0;s=t&&mL((A-n)/v)&&i("overflow"),n+=(l-t)*v,t=l,s=0;sA&&i("overflow"),m==t){for(c=n,f=x;h=f<=a?_:f>=a+w?w:f-a,!(c= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=x-_,L=Math.floor,N=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:u,encode:c},decode:h,encode:m,toASCII:v,toUnicode:g},r=function(){return b}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(this)}).call(t,n(619)(e),function(){return this}())},function(e,t,n){e.exports=n.p+"0e8627b4f61088c11717365add73616c.json"},function(e,t,n){function r(e){if("string"!=typeof e)throw new TypeError("Expected a String");return e.replace(/&(#?[^;\W]+;?)/g,function(e,t){var n;if(n=/^#(\d+);?$/.exec(t))return o.ucs2.encode([parseInt(n[1],10)]);if(n=/^#[Xx]([A-Fa-f0-9]+);?/.exec(t))return o.ucs2.encode([parseInt(n[1],16)]);var r=/;$/.test(t),i=r?t.replace(/;$/,""):t,s=a[i]||r&&a[t];return"number"==typeof s?o.ucs2.encode([s]):"string"==typeof s?s:"&"+t})}var o=n(1373),a=n(1376);e.exports=r},function(e,t,n){e.exports=n.p+"f7871860056163bb835882b4f4e990ca.json"},function(e,t){"use strict";function n(){return!0}e.exports={alwaysValid:n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=a.default.createClass({displayName:"ItemLink",mixins:[s.default,u.default],propTypes:{table:a.default.PropTypes.string,primKey:a.default.PropTypes.string},handleClick:function(e){var t=this.props,n=t.table,r=t.primKey,o=1==e.button||e.metaKey||e.ctrlKey;o||e.stopPropagation(),this.getFlux().actions.panoptes.dataItemPopup({table:n,primKey:r.toString(),switchTo:!o})},render:function(){var e=this,t=this.props.primKey;return a.default.createElement("span",{className:"prop internal-link",onClick:function(t){return e.handleClick(t)}},t)}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;th)return m({totalDataPoints:v,maxDataPoints:h}),null;var y="";if(l.map(function(e){if("StoredSelection"!==e){var t=c.propertiesById[e].defaultFetchEncoding;0!==y.length&&(y+="~"),y+=t+e}}),!y)return console.error("!columnList"),null;var b=f.default.serverURL;b+="?datatype=downloadtable",b+="&database="+r,b+="&query="+f.default.encodeQuery(i),b+="&table="+o,b+="&columns="+u.default.compressToEncodedURIComponent(y),g instanceof Array&&g.length>0&&(b+="&orderBy="+JSON.stringify(g)),window.location.href=b}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t>>8,n[2*r+1]=i%256}return n},decompressFromUint8Array:function(e){if(null===e||void 0===e)return a.decompress(e);for(var n=new Array(e.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete s[c]}else for(o=i[c],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++),i[u]=d++,c=String(l)}if(""!==c){if(Object.prototype.hasOwnProperty.call(s,c)){if(c.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}f--,0==f&&(f=Math.pow(2,p),p++),delete s[c]}else for(o=i[c],r=0;r>=1;f--,0==f&&(f=Math.pow(2,p),p++)}for(o=2,r=0;r>=1;for(;;){if(m<<=1,g==t-1){h.push(n(m));break}g++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:a._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(e,n,r){var o,a,i,s,l,u,c,f,d=[],p=4,h=4,m=3,g="",v=[],y={val:r(0),position:n,index:1};for(a=0;a<3;a+=1)d[a]=a;for(s=0,u=Math.pow(2,2),c=1;c!=u;)l=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),s|=(l>0?1:0)*c,c<<=1;switch(o=s){case 0:for(s=0,u=Math.pow(2,8),c=1;c!=u;)l=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),s|=(l>0?1:0)*c,c<<=1;f=t(s);break;case 1:for(s=0,u=Math.pow(2,16),c=1;c!=u;)l=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),s|=(l>0?1:0)*c,c<<=1;f=t(s);break;case 2:return""}for(d[3]=f,i=f,v.push(f);;){if(y.index>e)return"";for(s=0,u=Math.pow(2,m),c=1;c!=u;)l=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),s|=(l>0?1:0)*c,c<<=1;switch(f=s){case 0:for(s=0,u=Math.pow(2,8),c=1;c!=u;)l=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),s|=(l>0?1:0)*c,c<<=1;d[h++]=t(s),f=h-1,p--;break;case 1:for(s=0,u=Math.pow(2,16),c=1;c!=u;)l=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),s|=(l>0?1:0)*c,c<<=1;d[h++]=t(s),f=h-1,p--;break;case 2:return v.join("")}if(0==p&&(p=Math.pow(2,m),m++),d[f])g=d[f];else{if(f!==h)return null;g=i+i.charAt(0)}v.push(g),d[h++]=i+g.charAt(0),p--,i=g,0==p&&(p=Math.pow(2,m),m++)}}};return a}();r=function(){return o}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!e)return{};for(var t=e.split(";"),n=void 0,r=void 0,o=void 0,a={},i=0;i0&&o.length>0&&(a[r]=o);return a}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t'+this.props.children+"
")}});t.default=y},function(e,t,n){var r=n(1389),o=n(1397),a=o(function(e,t,n){return t=t.toLowerCase(),e+(n?r(t):t)});e.exports=a},function(e,t,n){function r(e){return a(o(e).toLowerCase())}var o=n(711),a=n(1390);e.exports=r},function(e,t,n){var r=n(1391),o=r("toUpperCase");e.exports=o},function(e,t,n){function r(e){return function(t){t=s(t);var n=a(t)?i(t):void 0,r=n?n[0]:t.charAt(0),l=n?o(n,1).join(""):t.slice(1);return r[e]()+l}}var o=n(1392),a=n(1393),i=n(1394),s=n(711);e.exports=r},function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=n(973);e.exports=r},function(e,t){function n(e){return c.test(e)}var r="\\ud800-\\udfff",o="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=o+a+i,l="\\ufe0e\\ufe0f",u="\\u200d",c=RegExp("["+u+r+s+l+"]");e.exports=n},function(e,t,n){function r(e){return a(e)?i(e):o(e)}var o=n(1395),a=n(1393),i=n(1396);e.exports=r},function(e,t){function n(e){return e.split("")}e.exports=n},function(e,t){function n(e){return e.match(_)||[]}var r="\\ud800-\\udfff",o="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=o+a+i,l="\\ufe0e\\ufe0f",u="["+r+"]",c="["+s+"]",f="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+f+")",p="[^"+r+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",g="\\u200d",v=d+"?",y="["+l+"]?",b="(?:"+g+"(?:"+[p,h,m].join("|")+")"+y+v+")*",A=y+v+b,x="(?:"+[p+c+"?",c,h,m,u].join("|")+")",_=RegExp(f+"(?="+f+")|"+x+A,"g");e.exports=n},function(e,t,n){function r(e){return function(t){return o(i(a(t).replace(l,"")),e,"")}}var o=n(814),a=n(1398),i=n(1401),s="['’]",l=RegExp(s,"g");e.exports=r},function(e,t,n){function r(e){return e=a(e),e&&e.replace(i,o).replace(d,"")}var o=n(1399),a=n(711),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",c=s+l+u,f="["+c+"]",d=RegExp(f,"g");e.exports=r},function(e,t,n){var r=n(1400),o={"À":"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"},a=r(o);e.exports=a},function(e,t){function n(e){return function(t){return null==e?void 0:e[t]}}e.exports=n},function(e,t,n){function r(e,t,n){return e=i(e),t=n?void 0:t,void 0===t?a(e)?s(e):o(e):e.match(t)||[]}var o=n(1402),a=n(1403),i=n(711),s=n(1404);e.exports=r},function(e,t){function n(e){return e.match(r)||[]}var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=n},function(e,t){function n(e){return r.test(e)}var r=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;e.exports=n},function(e,t){function n(e){return e.match(U)||[]}var r="\\ud800-\\udfff",o="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=o+a+i,l="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",c="\\xac\\xb1\\xd7\\xf7",f="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",d="\\u2000-\\u206f",p=" \\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",h="A-Z\\xc0-\\xd6\\xd8-\\xde",m="\\ufe0e\\ufe0f",g=c+f+d+p,v="['’]",y="["+g+"]",b="["+s+"]",A="\\d+",x="["+l+"]",_="["+u+"]",w="[^"+r+g+A+l+u+h+"]",C="\\ud83c[\\udffb-\\udfff]",E="(?:"+b+"|"+C+")",T="[^"+r+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",P="[\\ud800-\\udbff][\\udc00-\\udfff]",M="["+h+"]",S="\\u200d",D="(?:"+_+"|"+w+")",O="(?:"+M+"|"+w+")",I="(?:"+v+"(?:d|ll|m|re|s|t|ve))?",L="(?:"+v+"(?:D|LL|M|RE|S|T|VE))?",N=E+"?",B="["+m+"]?",F="(?:"+S+"(?:"+[T,k,P].join("|")+")"+B+N+")*",R="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",j="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",z=B+N+F,H="(?:"+[x,k,P].join("|")+")"+z,U=RegExp([M+"?"+_+"+"+I+"(?="+[y,M,"$"].join("|")+")",O+"+"+L+"(?="+[y,M+D,"$"].join("|")+")",M+"?"+D+"+"+I,M+"+"+L,j,R,A,H].join("|"),"g");e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1406),s=r(i),l=n(722),u=r(l),c=n(728),f=r(c),d=a.default.createClass({displayName:"DocLink",mixins:[u.default,f.default],propTypes:{children:a.default.PropTypes.node,href:a.default.PropTypes.string,replaceParent:a.default.PropTypes.func},handleClick:function(e){var t=this.props,n=t.href,r=t.replaceParent,o=1==e.button||e.metaKey||e.ctrlKey;e.stopPropagation(),o?this.getFlux().actions.session.tabOpen(a.default.createElement(s.default,{path:n}),!1):r?r(a.default.createElement(s.default,{path:n})):this.getFlux().actions.session.tabOpen(a.default.createElement(s.default,{path:n}),!0)},render:function(){var e=this;return a.default.createElement("a",{onClick:function(t){return e.handleClick(t)}},this.props.children)}});t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(786),s=r(i),l=n(778),u=r(l),c=n(955),f=r(c),d=n(1387),p=r(d),h=n(1313),m=r(h),g=n(1382),v=r(g),y=n(729),b=r(y),A=n(722),x=r(A),_=n(728),w=r(_),C=n(773),E=r(C),T=a.default.createClass({displayName:"DocPage",mixins:[b.default,x.default,w.default,(0,E.default)("path")],getInitialState:function(){return{content:"",loadStatus:"loading"}},propTypes:{path:a.default.PropTypes.string,replaceSelf:a.default.PropTypes.func,updateTitleIcon:a.default.PropTypes.func,replaceable:a.default.PropTypes.bool},componentWillMount:function(){this.titleFromHTML="Loading..."},fetchData:function(e,t){var n=this,r=e.path;if(r!==this.props.path&&(this.titleFromHTML="Loading...",this.setState(this.getInitialState())),this.config.docs[r])return void this.setState({loadStatus:"loaded",content:this.config.docs[r]},function(){return n.componentWillUpdate(e,n.state)});var o=this.config.dataset;t.request(function(e){return u.default.get("staticContent"+r,function(e){return s.default.staticContent({cancellation:e,url:"/panoptes/Docs/"+o+"/"+r})},e)}).catch(s.default.filterAborted).catch(u.default.filterCancelled).then(function(e){return n.setState({loadStatus:"loaded",content:e})}).catch(function(e){throw n.setState({loadStatus:"error",content:""}),(0,f.default)(n.getFlux(),e.message,function(){return n.fetchData(n.props,t)}),console.error(e),e}).done()},componentWillUpdate:function(e,t){var n=!1,r="Untitled",o=new m.default.Parser({onopentag:function(e,t){"title"===e&&(n=!0)},ontext:function(e){n&&(r=e)},onclosetag:function(e){"title"===e&&(n=!1)}},{decodeEntities:!0});o.write(t.content),o.end(),r!==this.titleFromHTML&&(this.titleFromHTML=r,e.updateTitleIcon&&e.updateTitleIcon())},title:function(){return this.titleFromHTML},icon:function(){return"file-text-o"},render:function(){var e=this.state,t=e.content,n=e.loadStatus,r=this.props.replaceable?this.props.replaceSelf:void 0;return a.default.createElement("div",{className:"load-container"},a.default.createElement(p.default,{replaceSelf:r},t),a.default.createElement(v.default,{status:n}))}});t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=l)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}var o=n(1413);e.exports=r},function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,a=e===e,i=o(e),s=void 0!==t,l=null===t,u=t===t,c=o(t);if(!l&&!c&&!i&&e>t||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e=0?a:0;return i!==-1&&e.onMenuItemFocusChange&&e.onMenuItemFocusChange(null,i),r.state={focusIndex:i,isKeyboardFocused:e.initiallyKeyboardFocused,keyWidth:e.desktop?64:56},r.hotKeyHolder=new B.HotKeyHolder,r}return(0,A.default)(t,e),(0,g.default)(t,[{key:"componentDidMount",value:function(){this.props.autoWidth&&this.setWidth(),this.setScollPosition()}},{key:"componentWillReceiveProps",value:function(e){var t=this.getFilteredChildren(e.children),n=this.getSelectedIndex(e,t),r=e.disableAutoFocus?-1:n>=0?n:0;r!==this.state.focusIndex&&this.props.onMenuItemFocusChange&&this.props.onMenuItemFocusChange(null,r),this.setState({focusIndex:r,keyWidth:e.desktop?64:56})}},{key:"shouldComponentUpdate",value:function(e,t,n){return!(0,P.default)(this.props,e)||!(0,P.default)(this.state,t)||!(0,P.default)(this.context,n)}},{key:"componentDidUpdate",value:function(){this.props.autoWidth&&this.setWidth()}},{key:"getValueLink",value:function(e){return e.valueLink||{value:e.value,requestChange:e.onChange}}},{key:"setKeyboardFocused",value:function(e){this.setState({isKeyboardFocused:e})}},{key:"getFilteredChildren",value:function(e){var t=[];return C.default.Children.forEach(e,function(e){e&&t.push(e)}),t}},{key:"cloneMenuItem",value:function(e,t,n,r){var o=this,a=this.props,i=a.desktop,s=a.menuItemStyle,l=a.selectedMenuItemStyle,u=this.isChildSelected(e,this.props),c={};u&&(c=(0,_.default)(n.selectedMenuItem,l));var f=(0,_.default)({},e.props.style,s,c),d=t===this.state.focusIndex,p="none";return d&&(p=this.state.isKeyboardFocused?"keyboard-focused":"focused"),C.default.cloneElement(e,{desktop:i,focusState:p,onTouchTap:function(t){o.handleMenuItemTouchTap(t,e,r),e.props.onTouchTap&&e.props.onTouchTap(t)},ref:d?"focusedMenuItem":null,style:f})}},{key:"decrementKeyboardFocusIndex",value:function(e){var t=this.state.focusIndex;t--,t<0&&(t=0),this.setFocusIndex(e,t,!0)}},{key:"getMenuItemCount",value:function(e){var t=0;return e.forEach(function(e){var n=e.type&&"Divider"===e.type.muiName,r=e.props.disabled;n||r||t++}),t}},{key:"getSelectedIndex",value:function(e,t){var n=this,r=-1,o=0;return t.forEach(function(t){var a=t.type&&"Divider"===t.type.muiName;n.isChildSelected(t,e)&&(r=o),a||o++}),r}},{key:"setFocusIndexStartsWith",value:function(e,t){var n=-1;return C.default.Children.forEach(this.props.children,function(e,r){if(!(n>=0)){var o=e.props.primaryText;"string"==typeof o&&new RegExp("^"+t,"i").test(o)&&(n=r)}}),n>=0&&(this.setFocusIndex(e,n,!0),!0)}},{key:"handleMenuItemTouchTap",value:function(e,t,n){var r=this.props.children,o=this.props.multiple,a=this.getValueLink(this.props),i=a.value,s=t.props.value,l=C.default.isValidElement(r)?0:r.indexOf(t);if(this.setFocusIndex(e,l,!1),o){var u=i.indexOf(s),f=(0,c.default)(i),d=f;u===-1?d.push(s):d.splice(u,1),a.requestChange(e,d)}else o||s===i||a.requestChange(e,s);this.props.onItemTouchTap(e,t,n)}},{key:"incrementKeyboardFocusIndex",value:function(e,t){var n=this.state.focusIndex,r=this.getMenuItemCount(t)-1;n++,n>r&&(n=r),this.setFocusIndex(e,n,!0)}},{key:"isChildSelected",value:function(e,t){var n=this.getValueLink(t).value,r=e.props.value;return t.multiple?n.length&&n.indexOf(r)!==-1:e.props.hasOwnProperty("value")&&n===r}},{key:"setFocusIndex",value:function(e,t,n){this.props.onMenuItemFocusChange&&this.props.onMenuItemFocusChange(e,t),this.setState({focusIndex:t,isKeyboardFocused:n})}},{key:"setScollPosition",value:function(){var e=this.props.desktop,t=this.refs.focusedMenuItem,n=e?32:48;if(t){var r=T.default.findDOMNode(t).offsetTop,o=r-n;o0;return s&&i>o-a-r?(n.scrollTop=o,e.cancelScrollEvent(t)):!s&&-i>r?(n.scrollTop=0,e.cancelScrollEvent(t)):void 0}}};t.default=F},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(866),a=r(o),i=n(871),s=r(i),l=n(872),u=r(l),c=n(876),f=r(c),d=n(911),p=r(d),h=n(321),m=n(348),g=r(m),v=n(926),y=r(v),b=function e(t,n){return null!==n&&(t===n||e(t,n.parentNode))},A=["mouseup","touchend"],x=function(e){return A.forEach(function(t){return y.default.on(document,t,e)})},_=function(e){return A.forEach(function(t){return y.default.off(document,t,e)})},w=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,l=Array(i),u=0;uwindow.innerHeight||e.left<0||e.left>window.innerWidth)&&this.requestClose("offScreen")}},{key:"getOverlapMode",value:function(e,t,n){return[e,t].indexOf(n)>=0?"auto":e===t?"inclusive":"exclusive"}},{key:"getPositions",value:function(e,t){var n=(0,a.default)({},e),r=(0,a.default)({},t),o={x:["left","right"].filter(function(e){return e!==r.horizontal}),y:["top","bottom"].filter(function(e){return e!==r.vertical})},i={x:this.getOverlapMode(n.horizontal,r.horizontal,"middle"),y:this.getOverlapMode(n.vertical,r.vertical,"center")};return o.x.splice("auto"===i.x?0:1,0,"middle"),o.y.splice("auto"===i.y?0:1,0,"center"),"auto"!==i.y&&(n.vertical="top"===n.vertical?"bottom":"top","inclusive"===i.y&&(r.vertical=r.vertical)),"auto"!==i.x&&(n.horizontal="left"===n.horizontal?"right":"left","inclusive"===i.y&&(r.horizontal=r.horizontal)),{positions:o,anchorPos:n}}},{key:"applyAutoPositionIfNeeded",value:function(e,t,n,r,o){var a=this.getPositions(r,n),i=a.positions,s=a.anchorPos;if(o.top<0||o.top+t.bottom>window.innerHeight){var l=e[s.vertical]-t[i.y[0]];l+t.bottom<=window.innerHeight?o.top=Math.max(0,l):(l=e[s.vertical]-t[i.y[1]],l+t.bottom<=window.innerHeight&&(o.top=Math.max(0,l)))}if(o.left<0||o.left+t.right>window.innerWidth){var u=e[s.horizontal]-t[i.x[0]];u+t.right<=window.innerWidth?o.left=Math.max(0,u):(u=e[s.horizontal]-t[i.x[1]],u+t.right<=window.innerWidth&&(o.left=Math.max(0,u)))}return o}},{key:"render",value:function(){return x.default.createElement("div",{style:B.root},x.default.createElement(E.default,{target:"window",onScroll:this.handleScroll,onResize:this.handleResize}),x.default.createElement(k.default,{ref:"layer",open:this.state.open,componentClickAway:this.componentClickAway,useLayerForClickAway:this.props.useLayerForClickAway,render:this.renderLayer}))}}]),t}(A.Component);F.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"left"},animated:!0,autoCloseWhenOffScreen:!0,canAutoPosition:!0,onRequestClose:function(){},open:!1,style:{overflowY:"auto"},targetOrigin:{vertical:"top",horizontal:"left"},useLayerForClickAway:!0,zDepth:1},F.contextTypes={muiTheme:A.PropTypes.object.isRequired},t.default=F},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(866),a=r(o),i=n(871),s=r(i),l=n(872),u=r(l),c=n(876),f=r(c),d=n(911),p=r(d),h=n(321),m=n(348),g=n(949),v=r(g),y=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,l=Array(i),u=0;u=t||n<0||T&&r>=v}function c(){var e=w();return u(e)?f(e):void(b=setTimeout(c,i(e)))}function f(e){return b=void 0,k&&m?r(e):(m=g=void 0,y)}function d(){void 0!==b&&clearTimeout(b),C=0,m=A=g=b=void 0}function p(){return void 0===b?y:f(w())}function h(){var e=w(),n=u(e);if(m=arguments,g=this,A=e,n){if(void 0===b)return a(A);if(T)return b=setTimeout(c,t),r(A)}return void 0===b&&(b=setTimeout(c,t)),y}var m,g,v,y,b,A,C=0,E=!1,T=!1,k=!0;if("function"!=typeof e)throw new TypeError(l);return t=s(t)||0,o(n)&&(E=!!n.leading,T="maxWait"in n,v=T?x(s(n.maxWait)||0,t):v,k="trailing"in n?!!n.trailing:k),h.cancel=d,h.flush=p,h}function r(e,t,r){var a=!0,i=!0;if("function"!=typeof e)throw new TypeError(l);return o(r)&&(a="leading"in r?!!r.leading:a,i="trailing"in r?!!r.trailing:i),n(e,t,{leading:a,maxWait:t,trailing:i})}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return!!e&&"object"==typeof e}function i(e){return"symbol"==typeof e||a(e)&&A.call(e)==c}function s(e){if("number"==typeof e)return e;if(i(e))return u;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(f,"");var n=p.test(e);return n||h.test(e)?m(e.slice(2),n?2:8):d.test(e)?u:+e}var l="Expected a function",u=NaN,c="[object Symbol]",f=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,h=/^0o[0-7]+$/i,m=parseInt,g="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,y=g||v||Function("return this")(),b=Object.prototype,A=b.toString,x=Math.max,_=Math.min,w=function(){return y.Date.now()};e.exports=r}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.targetOrigin,o=n.open,a=t.muiTheme,i=r.horizontal.replace("middle","vertical");return{root:{position:"fixed",zIndex:a.zIndex.popover,opacity:o?1:0,transform:o?"scale(1, 1)":"scale(0, 0)",transformOrigin:i+" "+r.vertical,transition:y.default.easeOut("250ms",["transform","opacity"]),maxHeight:"100%"},horizontal:{maxHeight:"100%",overflowY:"auto",transform:o?"scaleX(1)":"scaleX(0)",opacity:o?1:0,transformOrigin:i+" "+r.vertical,transition:y.default.easeOut("250ms",["transform","opacity"])},vertical:{opacity:o?1:0,transform:o?"scaleY(1)":"scaleY(0)",transformOrigin:i+" "+r.vertical,transition:y.default.easeOut("500ms",["transform","opacity"])}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(866),i=r(a),s=n(871),l=r(s),u=n(872),c=r(u),f=n(876),d=r(f),p=n(911),h=r(p),m=n(919),g=r(m),v=n(920),y=r(v),b=n(321),A=r(b),x=n(953),_=(r(x),n(951)),w=r(_),C=function(e){function t(){var e,n,r,o;(0,l.default)(this,t);for(var a=arguments.length,s=Array(a),u=0;u0?!function(){n.setState({loadStatus:"loading"});var l={database:n.config.dataset,table:u.id,columns:d,query:n.getDefinedQuery(a,r),transpose:!1};void 0!==i&&(l.randomSample=i),t.request(function(e){return P.default.get("query"+JSON.stringify(l),function(e){return S.default.query(o({cancellation:e},l))},e)}).then(function(e){var t={},o={},a=function(a){if(null!==s[a]){var i=n.tableConfig().propertiesById[s[a]],l=i.id,u=i.colour,c=i.description,f=i.name,d=i.isCategorical,p=i.isNumerical,h=(0,B.propertyColour)(n.config.tablesById[r].propertiesById[s[a]]),m=function(e){return(0,R.default)(n.tableConfig().propertiesById[s[a]],e)};t[a]=e[s[a]],o[a]={id:l,colour:u,description:c,name:f,isCategorical:d,isNumerical:p,colourFunction:h,formatterFunction:m}}};for(var i in s)a(i);n.setState({dimensionData:t,dimensionMetadata:o,loadStatus:"loaded"})}).catch(function(t){(0,L.default)(n.getFlux(),t.message,function(){return n.fetchData(e)}),n.setState({loadStatus:"error"})})}():this.setState({dimensionData:{},dimensionMetadata:{},loadStatus:"loaded"})},render:function(){var e=this.props,t=e.plotType,n=e.table,r=(0,z.default)({query:this.getDefinedQuery(),properties:this.config.tablesById[n].properties}),o=this.tableConfig().capNamePlural+(this.getDefinedQuery()!==O.default.nullQuery?" where "+r:"");return i.default.createElement("div",{className:"plot-container"},t?i.default.createElement(g.default,{className:"plot",plotType:t,dimensionData:this.state.dimensionData,dimensionMetadata:this.state.dimensionMetadata,title:o}):null,i.default.createElement(T.default,{status:this.state.loadStatus}))}});t.default=H},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t-1}function E(e,t){var n=this.__data__,r=z(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Se}function we(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ce(e){return!!e&&"object"==typeof e}function Ee(e){return be(e)?R(e):Y(e)}function Te(){return[]}function ke(){return!1}var Pe=200,Me="__lodash_hash_undefined__",Se=9007199254740991,De="[object Arguments]",Oe="[object Array]",Ie="[object Boolean]",Le="[object Date]",Ne="[object Error]",Be="[object Function]",Fe="[object GeneratorFunction]",Re="[object Map]",je="[object Number]",ze="[object Object]",He="[object Promise]",Ue="[object RegExp]",We="[object Set]",qe="[object String]",Ve="[object Symbol]",Ge="[object WeakMap]",Ye="[object ArrayBuffer]",Ke="[object DataView]",Qe="[object Float32Array]",Xe="[object Float64Array]",Ze="[object Int8Array]",Je="[object Int16Array]",$e="[object Int32Array]",et="[object Uint8Array]",tt="[object Uint8ClampedArray]",nt="[object Uint16Array]",rt="[object Uint32Array]",ot=/[\\^$.*+?()[\]{}|]/g,at=/\w*$/,it=/^\[object .+?Constructor\]$/,st=/^(?:0|[1-9]\d*)$/,lt={};lt[De]=lt[Oe]=lt[Ye]=lt[Ke]=lt[Ie]=lt[Le]=lt[Qe]=lt[Xe]=lt[Ze]=lt[Je]=lt[$e]=lt[Re]=lt[je]=lt[ze]=lt[Ue]=lt[We]=lt[qe]=lt[Ve]=lt[et]=lt[tt]=lt[nt]=lt[rt]=!0,lt[Ne]=lt[Be]=lt[Ge]=!1;var ut="object"==typeof e&&e&&e.Object===Object&&e,ct="object"==typeof self&&self&&self.Object===Object&&self,ft=ut||ct||Function("return this")(),dt="object"==typeof t&&t&&!t.nodeType&&t,pt=dt&&"object"==typeof n&&n&&!n.nodeType&&n,ht=pt&&pt.exports===dt,mt=Array.prototype,gt=Function.prototype,vt=Object.prototype,yt=ft["__core-js_shared__"],bt=function(){var e=/[^.]+$/.exec(yt&&yt.keys&&yt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),At=gt.toString,xt=vt.hasOwnProperty,_t=vt.toString,wt=RegExp("^"+At.call(xt).replace(ot,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ct=ht?ft.Buffer:void 0,Et=ft.Symbol,Tt=ft.Uint8Array,kt=d(Object.getPrototypeOf,Object),Pt=Object.create,Mt=vt.propertyIsEnumerable,St=mt.splice,Dt=Object.getOwnPropertySymbols,Ot=Ct?Ct.isBuffer:void 0,It=d(Object.keys,Object),Lt=se(ft,"DataView"),Nt=se(ft,"Map"),Bt=se(ft,"Promise"),Ft=se(ft,"Set"),Rt=se(ft,"WeakMap"),jt=se(Object,"create"),zt=me(Lt),Ht=me(Nt),Ut=me(Bt),Wt=me(Ft),qt=me(Rt),Vt=Et?Et.prototype:void 0,Gt=Vt?Vt.valueOf:void 0;h.prototype.clear=m,h.prototype.delete=g,h.prototype.get=v,h.prototype.has=y,h.prototype.set=b,A.prototype.clear=x,A.prototype.delete=_,A.prototype.get=w,A.prototype.has=C,A.prototype.set=E,T.prototype.clear=k,T.prototype.delete=P,T.prototype.get=M,T.prototype.has=S,T.prototype.set=D,O.prototype.clear=I,O.prototype.delete=L,O.prototype.get=N,O.prototype.has=B,O.prototype.set=F;var Yt=Dt?d(Dt,Object):Te,Kt=V;(Lt&&Kt(new Lt(new ArrayBuffer(1)))!=Ke||Nt&&Kt(new Nt)!=Re||Bt&&Kt(Bt.resolve())!=He||Ft&&Kt(new Ft)!=We||Rt&&Kt(new Rt)!=Ge)&&(Kt=function(e){var t=_t.call(e),n=t==ze?e.constructor:void 0,r=n?me(n):void 0;if(r)switch(r){case zt:return Ke;case Ht:return Re;case Ut:return He;case Wt:return We;case qt:return Ge}return t});var Qt=Array.isArray,Xt=Ot||ke;n.exports=ge}).call(t,function(){return this}(),n(619)(e))},function(e,t){!function(n){if("object"==typeof t&&"undefined"!=typeof e)e.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.Plotly=n()}}(function(){var e;return function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(a)return a(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[i]={exports:{}};t[i][0].call(c.exports,function(e){var n=t[i][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;it?1:e>=t?0:NaN}function a(e){return null===e?NaN:+e}function i(e){return!isNaN(e)}function s(e){return{left:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[a],n)<0?r=a+1:o=a}return r},right:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[a],n)>0?o=a:r=a+1}return r}}}function l(e){return e.length}function u(e){for(var t=1;e*t%1;)t*=10;return t}function c(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function f(){this._=Object.create(null)}function d(e){return(e+="")===xi||e[0]===_i?_i+e:e}function p(e){return(e+="")[0]===_i?e.slice(1):e}function h(e){return d(e)in this._}function m(e){return(e=d(e))in this._&&delete this._[e]}function g(){var e=[];for(var t in this._)e.push(p(t));return e}function v(){var e=0;for(var t in this._)++e;return e}function y(){for(var e in this._)return!1;return!0}function b(){this._=Object.create(null)}function A(e){return e}function x(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function _(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=wi.length;n=t&&(t=o+1);!(i=s[t])&&++t0&&(e=e.slice(0,s));var u=Ii.get(e);return u&&(e=u,l=X),s?t?o:r:t?w:a}function Q(e,t){return function(n){var r=ci.event;ci.event=n,t[0]=this.__data__;try{e.apply(this,t)}finally{ci.event=r}}}function X(e,t){var n=Q(e,t);return function(e){var t=this,r=e.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||n.call(t,e)}}function Z(e){var n=".dragsuppress-"+ ++Ni,o="click"+n,a=ci.select(r(e)).on("touchmove"+n,T).on("dragstart"+n,T).on("selectstart"+n,T);if(null==Li&&(Li=!("onselectstart"in e)&&_(e.style,"userSelect")),Li){var i=t(e).style,s=i[Li];i[Li]="none"}return function(e){if(a.on(n,null),Li&&(i[Li]=s),e){var t=function(){a.on(o,null)};a.on(o,function(){T(),t()},!0),setTimeout(t,0)}}}function J(e,t){t.changedTouches&&(t=t.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var o=n.createSVGPoint();if(Bi<0){var a=r(e);if(a.scrollX||a.scrollY){n=ci.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var i=n[0][0].getScreenCTM();Bi=!(i.f||i.e),n.remove()}}return Bi?(o.x=t.pageX,o.y=t.pageY):(o.x=t.clientX,o.y=t.clientY),o=o.matrixTransform(e.getScreenCTM().inverse()),[o.x,o.y]}var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}function $(){return ci.event.changedTouches[0].identifier}function ee(e){return e>0?1:e<0?-1:0}function te(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function ne(e){return e>1?0:e<-1?ji:Math.acos(e)}function re(e){return e>1?Ui:e<-1?-Ui:Math.asin(e)}function oe(e){return((e=Math.exp(e))-1/e)/2}function ae(e){return((e=Math.exp(e))+1/e)/2}function ie(e){return((e=Math.exp(2*e))-1)/(e+1)}function se(e){return(e=Math.sin(e/2))*e}function le(){}function ue(e,t,n){return this instanceof ue?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof ue?new ue(e.h,e.s,e.l):we(""+e,Ce,ue):new ue(e,t,n)}function ce(e,t,n){function r(e){return e>360?e-=360:e<0&&(e+=360),e<60?a+(i-a)*e/60:e<180?i:e<240?a+(i-a)*(240-e)/60:a}function o(e){return Math.round(255*r(e))}var a,i;return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)?0:t<0?0:t>1?1:t,n=n<0?0:n>1?1:n,i=n<=.5?n*(1+t):n+t-n*t,a=2*n-i,new be(o(e+120),o(e),o(e-120))}function fe(e,t,n){return this instanceof fe?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof fe?new fe(e.h,e.c,e.l):e instanceof pe?me(e.l,e.a,e.b):me((e=Ee((e=ci.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new fe(e,t,n)}function de(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new pe(n,Math.cos(e*=Wi)*t,Math.sin(e)*t)}function pe(e,t,n){return this instanceof pe?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof pe?new pe(e.l,e.a,e.b):e instanceof fe?de(e.h,e.c,e.l):Ee((e=be(e)).r,e.g,e.b):new pe(e,t,n)}function he(e,t,n){var r=(e+16)/116,o=r+t/500,a=r-n/200;return o=ge(o)*es,r=ge(r)*ts,a=ge(a)*ns,new be(ye(3.2404542*o-1.5371385*r-.4985314*a),ye(-.969266*o+1.8760108*r+.041556*a),ye(.0556434*o-.2040259*r+1.0572252*a))}function me(e,t,n){return e>0?new fe(Math.atan2(n,t)*qi,Math.sqrt(t*t+n*n),e):new fe(NaN,NaN,e)}function ge(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function ve(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function ye(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function be(e,t,n){return this instanceof be?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof be?new be(e.r,e.g,e.b):we(""+e,be,ce):new be(e,t,n)}function Ae(e){return new be(e>>16,e>>8&255,255&e)}function xe(e){return Ae(e)+""}function _e(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function we(e,t,n){var r,o,a,i=0,s=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return t(ke(o[0]),ke(o[1]),ke(o[2]))}return(a=as.get(e))?t(a.r,a.g,a.b):(null==e||"#"!==e.charAt(0)||isNaN(a=parseInt(e.slice(1),16))||(4===e.length?(i=(3840&a)>>4,i|=i>>4,s=240&a,s|=s>>4,l=15&a,l|=l<<4):7===e.length&&(i=(16711680&a)>>16,s=(65280&a)>>8,l=255&a)),t(i,s,l))}function Ce(e,t,n){var r,o,a=Math.min(e/=255,t/=255,n/=255),i=Math.max(e,t,n),s=i-a,l=(i+a)/2;return s?(o=l<.5?s/(i+a):s/(2-i-a),r=e==i?(t-n)/s+(t0&&l<1?0:r),new ue(r,o,l)}function Ee(e,t,n){e=Te(e),t=Te(t),n=Te(n);var r=ve((.4124564*e+.3575761*t+.1804375*n)/es),o=ve((.2126729*e+.7151522*t+.072175*n)/ts),a=ve((.0193339*e+.119192*t+.9503041*n)/ns);return pe(116*o-16,500*(r-o),200*(o-a))}function Te(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function ke(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}function Pe(e){return"function"==typeof e?e:function(){return e}}function Me(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),Se(t,n,e,r)}}function Se(e,t,n,r){function o(){var e,t=l.status;if(!t&&Oe(l)||t>=200&&t<300||304===t){try{e=n.call(a,l)}catch(e){return void i.error.call(a,e)}i.load.call(a,e)}else i.error.call(a,l)}var a={},i=ci.dispatch("beforesend","progress","load","error"),s={},l=new XMLHttpRequest,u=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(e)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=o:l.onreadystatechange=function(){l.readyState>3&&o()},l.onprogress=function(e){var t=ci.event;ci.event=e;try{i.progress.call(a,l)}finally{ci.event=t}},a.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s[e]:(null==t?delete s[e]:s[e]=t+"",a)},a.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",a):t},a.responseType=function(e){return arguments.length?(u=e,a):u},a.response=function(e){return n=e,a},["get","post"].forEach(function(e){a[e]=function(){return a.send.apply(a,[e].concat(di(arguments)))}}),a.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),l.open(n,e,!0),null==t||"accept"in s||(s.accept=t+",*/*"),l.setRequestHeader)for(var c in s)l.setRequestHeader(c,s[c]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=u&&(l.responseType=u),null!=o&&a.on("error",o).on("load",function(e){o(null,e)}),i.beforesend.call(a,l),l.send(null==r?null:r),a},a.abort=function(){return l.abort(),a},ci.rebind(a,i,"on"),null==r?a:a.get(De(r))}function De(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}function Oe(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}function Ie(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var o=n+t,a={c:e,t:o,n:null};return ss?ss.n=a:is=a,ss=a,ls||(us=clearTimeout(us),ls=1,cs(Le)),a}function Le(){var e=Ne(),t=Be()-e;t>24?(isFinite(t)&&(clearTimeout(us),us=setTimeout(Le,t)),ls=0):(ls=1,cs(Le))}function Ne(){for(var e=Date.now(),t=is;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function Be(){for(var e,t=is,n=1/0;t;)t.c?(t.t8?function(e){return e/n}:function(e){return e*n},symbol:e}}function je(e){var t=e.decimal,n=e.thousands,r=e.grouping,o=e.currency,a=r&&n?function(e,t){for(var o=e.length,a=[],i=0,s=r[0],l=0;o>0&&s>0&&(l+s+1>t&&(s=Math.max(1,t-l)),a.push(e.substring(o-=s,o+s)),!((l+=s+1)>t));)s=r[i=(i+1)%r.length];return a.reverse().join(n)}:A;return function(e){var n=ds.exec(e),r=n[1]||" ",i=n[2]||">",s=n[3]||"-",l=n[4]||"",u=n[5],c=+n[6],f=n[7],d=n[8],p=n[9],h=1,m="",g="",v=!1,y=!0;switch(d&&(d=+d.substring(1)),(u||"0"===r&&"="===i)&&(u=r="0",i="="),p){case"n":f=!0,p="g";break;case"%":h=100,g="%",p="f";break;case"p":h=100,g="%",p="r";break;case"b":case"o":case"x":case"X":"#"===l&&(m="0"+p.toLowerCase());case"c":y=!1;case"d":v=!0,d=0;break;case"s":h=-1,p="r"}"$"===l&&(m=o[0],g=o[1]),"r"!=p||d||(p="g"),null!=d&&("g"==p?d=Math.max(1,Math.min(21,d)):"e"!=p&&"f"!=p||(d=Math.max(0,Math.min(20,d)))),p=ps.get(p)||ze;var b=u&&f;return function(e){var n=g;if(v&&e%1)return"";var o=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(h<0){var l=ci.formatPrefix(e,d);e=l.scale(e),n=l.symbol+g}else e*=h;e=p(e,d);var A,x,_=e.lastIndexOf(".");if(_<0){var w=y?e.lastIndexOf("e"):-1;w<0?(A=e,x=""):(A=e.substring(0,w),x=e.substring(w))}else A=e.substring(0,_),x=t+e.substring(_+1);!u&&f&&(A=a(A,1/0));var C=m.length+A.length+x.length+(b?0:o.length),E=C"===i?E+o+e:"^"===i?E.substring(0,C>>=1)+o+e+E.substring(C):o+(b?e:E+e))+n}}}function ze(e){return e+""}function He(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Ue(e,t,n){function r(t){var n=e(t),r=a(n,1);return t-n1)for(;i=u)return-1;if(o=t.charCodeAt(s++),37===o){if(i=t.charAt(s++),a=M[i in vs?t.charAt(s++):i],!a||(r=a(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(e,t,n){_.lastIndex=0;var r=_.exec(t.slice(n));return r?(e.w=w.get(r[0].toLowerCase()),n+r[0].length):-1}function o(e,t,n){A.lastIndex=0;var r=A.exec(t.slice(n));return r?(e.w=x.get(r[0].toLowerCase()),n+r[0].length):-1}function a(e,t,n){T.lastIndex=0;var r=T.exec(t.slice(n));return r?(e.m=k.get(r[0].toLowerCase()),n+r[0].length):-1}function i(e,t,n){C.lastIndex=0;var r=C.exec(t.slice(n));return r?(e.m=E.get(r[0].toLowerCase()),n+r[0].length):-1}function s(e,t,r){return n(e,P.c.toString(),t,r)}function l(e,t,r){return n(e,P.x.toString(),t,r)}function u(e,t,r){return n(e,P.X.toString(),t,r)}function c(e,t,n){var r=b.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)}var f=e.dateTime,d=e.date,p=e.time,h=e.periods,m=e.days,g=e.shortDays,v=e.months,y=e.shortMonths;t.utc=function(e){function n(e){try{ms=He;var t=new ms;return t._=e,r(t)}finally{ms=Date}}var r=t(e);return n.parse=function(e){try{ms=He;var t=r.parse(e);return t&&t._}finally{ms=Date}},n.toString=r.toString,n},t.multi=t.utc.multi=ct;var b=ci.map(),A=Ge(m),x=Ye(m),_=Ge(g),w=Ye(g),C=Ge(v),E=Ye(v),T=Ge(y),k=Ye(y);h.forEach(function(e,t){b.set(e.toLowerCase(),t)});var P={a:function(e){return g[e.getDay()]},A:function(e){return m[e.getDay()]},b:function(e){return y[e.getMonth()]},B:function(e){return v[e.getMonth()]},c:t(f),d:function(e,t){return Ve(e.getDate(),t,2)},e:function(e,t){return Ve(e.getDate(),t,2)},H:function(e,t){return Ve(e.getHours(),t,2)},I:function(e,t){return Ve(e.getHours()%12||12,t,2)},j:function(e,t){return Ve(1+hs.dayOfYear(e),t,3)},L:function(e,t){return Ve(e.getMilliseconds(),t,3)},m:function(e,t){return Ve(e.getMonth()+1,t,2)},M:function(e,t){return Ve(e.getMinutes(),t,2)},p:function(e){return h[+(e.getHours()>=12)]},S:function(e,t){return Ve(e.getSeconds(),t,2)},U:function(e,t){return Ve(hs.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Ve(hs.mondayOfYear(e),t,2)},x:t(d),X:t(p),y:function(e,t){return Ve(e.getFullYear()%100,t,2)},Y:function(e,t){return Ve(e.getFullYear()%1e4,t,4)},Z:lt,"%":function(){return"%"}},M={a:r,A:o,b:a,B:i,c:s,d:nt,e:nt,H:ot,I:ot,j:rt,L:st,m:tt,M:at,p:c,S:it,U:Qe,w:Ke,W:Xe,x:l,X:u,y:Je,Y:Ze,Z:$e,"%":ut};return t}function Ve(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",a=o.length;return r+(a68?1900:2e3)}function tt(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nt(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function rt(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function ot(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function at(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function it(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function st(e,t,n){ys.lastIndex=0;var r=ys.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function lt(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=Ai(t)/60|0,o=Ai(t)%60;return n+Ve(r,"0",2)+Ve(o,"0",2)}function ut(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ct(e){for(var t=e.length,n=-1;++n=0?1:-1,s=i*n,l=Math.cos(t),u=Math.sin(t),c=a*u,f=o*l+c*Math.cos(s),d=c*i*Math.sin(s);Es.add(Math.atan2(d,f)),r=e,o=l,a=u}var t,n,r,o,a;Ts.point=function(i,s){Ts.point=e,r=(t=i)*Wi,o=Math.cos(s=(n=s)*Wi/2+ji/4),a=Math.sin(s)},Ts.lineEnd=function(){e(t,n)}}function vt(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function yt(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function bt(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function At(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function xt(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function _t(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function wt(e){return[Math.atan2(e[1],e[0]),re(e[2])]}function Ct(e,t){return Ai(e[0]-t[0])=0;--s)o.point((f=c[s])[0],f[1])}else r(p.x,p.p.x,-1,o);p=p.p}p=p.o,c=p.z,h=!h}while(!p.v);o.lineEnd()}}}function It(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0){for(x||(a.polygonStart(),x=!0),a.lineStart();++i1&&2&t&&n.push(n.pop().concat(n.shift())),p.push(n.filter(Bt))}var p,h,m,g=t(a),v=o.invert(r[0],r[1]),y={point:i,lineStart:l,lineEnd:u,polygonStart:function(){y.point=c,y.lineStart=f,y.lineEnd=d,p=[],h=[]},polygonEnd:function(){y.point=i,y.lineStart=l,y.lineEnd=u,p=ci.merge(p);var e=Ut(v,h);p.length?(x||(a.polygonStart(),x=!0),Ot(p,Rt,e,n,a)):e&&(x||(a.polygonStart(),x=!0),a.lineStart(),n(null,null,1,a),a.lineEnd()),x&&(a.polygonEnd(),x=!1),p=h=null},sphere:function(){a.polygonStart(),a.lineStart(),n(null,null,1,a),a.lineEnd(),a.polygonEnd()}},b=Ft(),A=t(b),x=!1;return y}}function Bt(e){return e.length>1}function Ft(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:w,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Rt(e,t){return((e=e.x)[0]<0?e[1]-Ui-Fi:Ui-e[1])-((t=t.x)[0]<0?t[1]-Ui-Fi:Ui-t[1])}function jt(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(a,i){var s=a>0?ji:-ji,l=Ai(a-n);Ai(l-ji)0?Ui:-Ui),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(a,r),t=0):o!==s&&l>=ji&&(Ai(n-o)Fi?Math.atan((Math.sin(t)*(a=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(t))*Math.sin(e))/(o*a*i)):(t+r)/2}function Ht(e,t,n,r){var o;if(null==e)o=n*Ui,r.point(-ji,o),r.point(0,o),r.point(ji,o),r.point(ji,0),r.point(ji,-o),r.point(0,-o),r.point(-ji,-o),r.point(-ji,0),r.point(-ji,o);else if(Ai(e[0]-t[0])>Fi){var a=e[0]=0?1:-1,w=_*x,C=w>ji,E=h*b;if(Es.add(Math.atan2(E*_*Math.sin(w),m*A+E*Math.cos(w))),a+=C?x+_*zi:x,C^d>=n^v>=n){var T=bt(vt(f),vt(e));_t(T);var k=bt(o,T);_t(k);var P=(C^x>=0?-1:1)*re(k[2]);(r>P||r===P&&(T[0]||T[1]))&&(i+=C^x>=0?1:-1)}if(!g++)break;d=v,h=b,m=A,f=e}}return(a<-Fi||aa}function n(e){var n,a,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(f,d){var p,h=[f,d],m=t(f,d),g=i?m?0:o(f,d):m?o(f+(f<0?ji:-ji),d):0;if(!n&&(u=l=m)&&e.lineStart(),m!==l&&(p=r(n,h),(Ct(n,p)||Ct(h,p))&&(h[0]+=Fi,h[1]+=Fi,m=t(h[0],h[1]))),m!==l)c=0,m?(e.lineStart(),p=r(h,n),e.point(p[0],p[1])):(p=r(n,h),e.point(p[0],p[1]),e.lineEnd()),n=p;else if(s&&n&&i^m){var v;g&a||!(v=r(h,n,!0))||(c=0,i?(e.lineStart(),e.point(v[0][0],v[0][1]),e.point(v[1][0],v[1][1]),e.lineEnd()):(e.point(v[1][0],v[1][1]),e.lineEnd(),e.lineStart(),e.point(v[0][0],v[0][1])))}!m||n&&Ct(n,h)||e.point(h[0],h[1]),n=h,l=m,a=g},lineEnd:function(){l&&e.lineEnd(),n=null},clean:function(){return c|(u&&l)<<1}}}function r(e,t,n){var r=vt(e),o=vt(t),i=[1,0,0],s=bt(r,o),l=yt(s,s),u=s[0],c=l-u*u;if(!c)return!n&&e;var f=a*l/c,d=-a*u/c,p=bt(i,s),h=xt(i,f),m=xt(s,d);At(h,m);var g=p,v=yt(h,g),y=yt(g,g),b=v*v-y*(yt(h,h)-1);if(!(b<0)){var A=Math.sqrt(b),x=xt(g,(-v-A)/y);if(At(x,h),x=wt(x),!n)return x;var _,w=e[0],C=t[0],E=e[1],T=t[1];C0^x[1]<(Ai(x[0]-w)ji^(w<=x[0]&&x[0]<=C)){var S=xt(g,(-v+A)/y);return At(S,h),[x,wt(S)]}}}function o(t,n){var r=i?e:ji-e,o=0;return t<-r?o|=1:t>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var a=Math.cos(e),i=a>0,s=Ai(a)>Fi,l=vn(e,6*Wi);return Nt(t,n,l,i?[0,-e]:[-ji,e-ji])}function qt(e,t,n,r){return function(o){var a,i=o.a,s=o.b,l=i.x,u=i.y,c=s.x,f=s.y,d=0,p=1,h=c-l,m=f-u;if(a=e-l,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>p)return;a>d&&(d=a)}if(a=n-l,h||!(a<0)){if(a/=h,h<0){if(a>p)return;a>d&&(d=a)}else if(h>0){if(a0)){if(a/=m,m<0){if(a0){if(a>p)return;a>d&&(d=a)}if(a=r-u,m||!(a<0)){if(a/=m,m<0){if(a>p)return;a>d&&(d=a)}else if(m>0){if(a0&&(o.a={x:l+d*h,y:u+d*m}),p<1&&(o.b={x:l+p*h,y:u+p*m}),o}}}}}}function Vt(e,t,n,r){function o(r,o){return Ai(r[0]-e)0?0:3:Ai(r[0]-n)0?2:1:Ai(r[1]-t)0?1:0:o>0?3:2}function a(e,t){return i(e.x,t.x)}function i(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(s){function l(e){for(var t=0,n=g.length,r=e[1],o=0;or&&te(u,a,e)>0&&++t:a[1]<=r&&te(u,a,e)<0&&--t,u=a;return 0!==t}function u(a,s,l,u){var c=0,f=0;if(null==a||(c=o(a,l))!==(f=o(s,l))||i(a,s)<0^l>0){do u.point(0===c||3===c?e:n,c>1?r:t);while((c=(c+l+4)%4)!==f)}else u.point(s[0],s[1])}function c(o,a){return e<=o&&o<=n&&t<=a&&a<=r}function f(e,t){c(e,t)&&s.point(e,t)}function d(){M.point=h,g&&g.push(v=[]),C=!0,w=!1,x=_=NaN}function p(){m&&(h(y,b),A&&w&&k.rejoin(),m.push(k.buffer())),M.point=f,w&&s.lineEnd()}function h(e,t){e=Math.max(-zs,Math.min(zs,e)),t=Math.max(-zs,Math.min(zs,t));var n=c(e,t);if(g&&v.push([e,t]),C)y=e,b=t,A=n,C=!1,n&&(s.lineStart(),s.point(e,t));else if(n&&w)s.point(e,t);else{var r={a:{x:x,y:_},b:{x:e,y:t}};P(r)?(w||(s.lineStart(),s.point(r.a.x,r.a.y)),s.point(r.b.x,r.b.y),n||s.lineEnd(),E=!1):n&&(s.lineStart(),s.point(e,t),E=!1)}x=e,_=t,w=n}var m,g,v,y,b,A,x,_,w,C,E,T=s,k=Ft(),P=qt(e,t,n,r),M={point:f,lineStart:d,lineEnd:p,polygonStart:function(){s=k,m=[],g=[],E=!0},polygonEnd:function(){s=T,m=ci.merge(m);var t=l([e,r]),n=E&&t,o=m.length;(n||o)&&(s.polygonStart(),n&&(s.lineStart(),u(null,null,1,s),s.lineEnd()),o&&Ot(m,a,t,u,s),s.polygonEnd()),m=g=v=null}};return M}}function Gt(e){var t=0,n=ji/3,r=un(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*ji/180,n=e[1]*ji/180):[t/ji*180,n/ji*180]},o}function Yt(e,t){function n(e,t){var n=Math.sqrt(a-2*o*Math.sin(t))/o;return[n*Math.sin(e*=o),i-n*Math.cos(e)]}var r=Math.sin(e),o=(r+Math.sin(t))/2,a=1+r*(2*o-r),i=Math.sqrt(a)/o;return n.invert=function(e,t){var n=i-t;return[Math.atan2(e,n)/o,re((a-(e*e+n*n)*o*o)/(2*o))]},n}function Kt(){function e(e,t){Us+=o*e-r*t,r=e,o=t}var t,n,r,o;Ys.point=function(a,i){Ys.point=e,t=r=a,n=o=i},Ys.lineEnd=function(){e(t,n)}}function Qt(e,t){eVs&&(Vs=e),tGs&&(Gs=t)}function Xt(){function e(e,t){i.push("M",e,",",t,a)}function t(e,t){i.push("M",e,",",t),s.point=n}function n(e,t){i.push("L",e,",",t)}function r(){s.point=e}function o(){i.push("Z")}var a=Zt(4.5),i=[],s={point:e,lineStart:function(){s.point=t},lineEnd:r,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=r,s.point=e},pointRadius:function(e){return a=Zt(e),s},result:function(){if(i.length){var e=i.join("");return i=[],e}}};return s}function Zt(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Jt(e,t){Ms+=e,Ss+=t,++Ds}function $t(){function e(e,r){var o=e-t,a=r-n,i=Math.sqrt(o*o+a*a);Os+=i*(t+e)/2,Is+=i*(n+r)/2,Ls+=i,Jt(t=e,n=r)}var t,n;Qs.point=function(r,o){Qs.point=e,Jt(t=r,n=o)}}function en(){Qs.point=Jt}function tn(){function e(e,t){var n=e-r,a=t-o,i=Math.sqrt(n*n+a*a);Os+=i*(r+e)/2,Is+=i*(o+t)/2,Ls+=i,i=o*e-r*t,Ns+=i*(r+e),Bs+=i*(o+t),Fs+=3*i,Jt(r=e,o=t)}var t,n,r,o;Qs.point=function(a,i){Qs.point=e,Jt(t=r=a,n=o=i)},Qs.lineEnd=function(){e(t,n)}}function nn(e){function t(t,n){e.moveTo(t+i,n),e.arc(t,n,i,0,zi)}function n(t,n){e.moveTo(t,n),s.point=r}function r(t,n){e.lineTo(t,n)}function o(){s.point=t}function a(){e.closePath()}var i=4.5,s={point:t,lineStart:function(){s.point=n},lineEnd:o,polygonStart:function(){s.lineEnd=a},polygonEnd:function(){s.lineEnd=o,s.point=t},pointRadius:function(e){return i=e,s},result:w};return s}function rn(e){function t(e){return(s?r:n)(e)}function n(t){return sn(t,function(n,r){n=e(n,r),t.point(n[0],n[1])})}function r(t){function n(n,r){n=e(n,r),t.point(n[0],n[1])}function r(){b=NaN,C.point=a,t.lineStart()}function a(n,r){var a=vt([n,r]),i=e(n,r);o(b,A,y,x,_,w,b=i[0],A=i[1],y=n,x=a[0],_=a[1],w=a[2],s,t),t.point(b,A)}function i(){C.point=n,t.lineEnd()}function l(){r(),C.point=u,C.lineEnd=c}function u(e,t){a(f=e,d=t),p=b,h=A,m=x,g=_,v=w,C.point=a}function c(){o(b,A,y,x,_,w,p,h,f,m,g,v,s,t),C.lineEnd=i,i()}var f,d,p,h,m,g,v,y,b,A,x,_,w,C={point:n,lineStart:r,lineEnd:i,polygonStart:function(){t.polygonStart(),C.lineStart=l},polygonEnd:function(){t.polygonEnd(),C.lineStart=r}};return C}function o(t,n,r,s,l,u,c,f,d,p,h,m,g,v){var y=c-t,b=f-n,A=y*y+b*b;if(A>4*a&&g--){var x=s+p,_=l+h,w=u+m,C=Math.sqrt(x*x+_*_+w*w),E=Math.asin(w/=C),T=Ai(Ai(w)-1)a||Ai((y*S+b*D)/A-.5)>.3||s*p+l*h+u*m0&&16,t):Math.sqrt(a)},t}function on(e){var t=rn(function(t,n){return e([t*qi,n*qi])});return function(e){return cn(t(e))}}function an(e){this.stream=e}function sn(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function ln(e){return un(function(){return e})()}function un(e){function t(e){return e=s(e[0]*Wi,e[1]*Wi),[e[0]*d+l,u-e[1]*d]}function n(e){return e=s.invert((e[0]-l)/d,(u-e[1])/d),e&&[e[0]*qi,e[1]*qi]}function r(){s=St(i=pn(v,y,b),a);var e=a(m,g);return l=p-e[0]*d,u=h+e[1]*d,o()}function o(){return c&&(c.valid=!1,c=null), -t}var a,i,s,l,u,c,f=rn(function(e,t){return e=a(e,t),[e[0]*d+l,u-e[1]*d]}),d=150,p=480,h=250,m=0,g=0,v=0,y=0,b=0,x=js,_=A,w=null,C=null;return t.stream=function(e){return c&&(c.valid=!1),c=cn(x(i,f(_(e)))),c.valid=!0,c},t.clipAngle=function(e){return arguments.length?(x=null==e?(w=e,js):Wt((w=+e)*Wi),o()):w},t.clipExtent=function(e){return arguments.length?(C=e,_=e?Vt(e[0][0],e[0][1],e[1][0],e[1][1]):A,o()):C},t.scale=function(e){return arguments.length?(d=+e,r()):d},t.translate=function(e){return arguments.length?(p=+e[0],h=+e[1],r()):[p,h]},t.center=function(e){return arguments.length?(m=e[0]%360*Wi,g=e[1]%360*Wi,r()):[m*qi,g*qi]},t.rotate=function(e){return arguments.length?(v=e[0]%360*Wi,y=e[1]%360*Wi,b=e.length>2?e[2]%360*Wi:0,r()):[v*qi,y*qi,b*qi]},ci.rebind(t,f,"precision"),function(){return a=e.apply(this,arguments),t.invert=a.invert&&n,r()}}function cn(e){return sn(e,function(t,n){e.point(t*Wi,n*Wi)})}function fn(e,t){return[e,t]}function dn(e,t){return[e>ji?e-zi:e<-ji?e+zi:e,t]}function pn(e,t,n){return e?t||n?St(mn(e),gn(t,n)):mn(e):t||n?gn(t,n):dn}function hn(e){return function(t,n){return t+=e,[t>ji?t-zi:t<-ji?t+zi:t,n]}}function mn(e){var t=hn(e);return t.invert=hn(-e),t}function gn(e,t){function n(e,t){var n=Math.cos(t),s=Math.cos(e)*n,l=Math.sin(e)*n,u=Math.sin(t),c=u*r+s*o;return[Math.atan2(l*a-c*i,s*r-u*o),re(c*a+l*i)]}var r=Math.cos(e),o=Math.sin(e),a=Math.cos(t),i=Math.sin(t);return n.invert=function(e,t){var n=Math.cos(t),s=Math.cos(e)*n,l=Math.sin(e)*n,u=Math.sin(t),c=u*a-l*i;return[Math.atan2(l*a+u*i,s*r+c*o),re(c*r-s*o)]},n}function vn(e,t){var n=Math.cos(e),r=Math.sin(e);return function(o,a,i,s){var l=i*t;null!=o?(o=yn(n,o),a=yn(n,a),(i>0?oa)&&(o+=i*zi)):(o=e+i*zi,a=e-.5*l);for(var u,c=o;i>0?c>a:c0?t<-Ui+Fi&&(t=-Ui+Fi):t>Ui-Fi&&(t=Ui-Fi);var n=i/Math.pow(o(t),a);return[n*Math.sin(a*e),i-n*Math.cos(a*e)]}var r=Math.cos(e),o=function(e){return Math.tan(ji/4+e/2)},a=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(o(t)/o(e)),i=r*Math.pow(o(e),a)/a;return a?(n.invert=function(e,t){var n=i-t,r=ee(a)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/a,2*Math.atan(Math.pow(i/r,1/a))-Ui]},n):Pn}function kn(e,t){function n(e,t){var n=a-t;return[n*Math.sin(o*e),a-n*Math.cos(o*e)]}var r=Math.cos(e),o=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),a=r/o+e;return Ai(o)1&&te(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function Ln(e,t){return e[0]-t[0]||e[1]-t[1]}function Nn(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function Bn(e,t,n,r){var o=e[0],a=n[0],i=t[0]-o,s=r[0]-a,l=e[1],u=n[1],c=t[1]-l,f=r[1]-u,d=(s*(l-u)-f*(o-a))/(f*i-s*c);return[o+d*i,l+d*c]}function Fn(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}function Rn(){ar(this),this.edge=this.site=this.circle=null}function jn(e){var t=ul.pop()||new Rn;return t.site=e,t}function zn(e){Xn(e),il.remove(e),ul.push(e),ar(e)}function Hn(e){var t=e.circle,n=t.x,r=t.cy,o={x:n,y:r},a=e.P,i=e.N,s=[e];zn(e);for(var l=a;l.circle&&Ai(n-l.circle.x)Fi)s=s.L;else{if(o=a-qn(s,i),!(o>Fi)){r>-Fi?(t=s.P,n=s):o>-Fi?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}var l=jn(e);if(il.insert(t,l),t||n){if(t===n)return Xn(t),n=jn(t.site),il.insert(l,n),l.edge=n.edge=er(t.site,l.site),Qn(t),void Qn(n);if(!n)return void(l.edge=er(t.site,l.site));Xn(t),Xn(n);var u=t.site,c=u.x,f=u.y,d=e.x-c,p=e.y-f,h=n.site,m=h.x-c,g=h.y-f,v=2*(d*g-p*m),y=d*d+p*p,b=m*m+g*g,A={x:(g*y-p*b)/v+c,y:(d*b-m*y)/v+f};nr(n.edge,u,h,A),l.edge=er(u,e,null,A),n.edge=er(e,h,null,A),Qn(t),Qn(n)}}function Wn(e,t){var n=e.site,r=n.x,o=n.y,a=o-t;if(!a)return r;var i=e.P;if(!i)return-(1/0);n=i.site;var s=n.x,l=n.y,u=l-t;if(!u)return s;var c=s-r,f=1/a-1/u,d=c/u;return f?(-d+Math.sqrt(d*d-2*f*(c*c/(-2*u)-l+u/2+o-a/2)))/f+r:(r+s)/2}function qn(e,t){var n=e.N;if(n)return Wn(n,t);var r=e.site;return r.y===t?r.x:1/0}function Vn(e){this.site=e,this.edges=[]}function Gn(e){for(var t,n,r,o,a,i,s,l,u,c,f=e[0][0],d=e[1][0],p=e[0][1],h=e[1][1],m=al,g=m.length;g--;)if(a=m[g],a&&a.prepare())for(s=a.edges,l=s.length,i=0;iFi||Ai(o-n)>Fi)&&(s.splice(i,0,new rr(tr(a.site,c,Ai(r-f)Fi?{x:f,y:Ai(t-f)Fi?{x:Ai(n-h)Fi?{x:d,y:Ai(t-d)Fi?{x:Ai(n-p)=-Ri)){var p=l*l+u*u,h=c*c+f*f,m=(f*p-u*h)/d,g=(l*h-c*p)/d,f=g+s,v=cl.pop()||new Kn;v.arc=e,v.site=o,v.x=m+i,v.y=f+Math.sqrt(m*m+g*g),v.cy=f,e.circle=v;for(var y=null,b=ll._;b;)if(v.y=s)return;if(d>h){if(a){if(a.y>=u)return}else a={x:g,y:l};n={x:g,y:u}}else{if(a){if(a.y1)if(d>h){if(a){if(a.y>=u)return}else a={x:(l-o)/r,y:l};n={x:(u-o)/r,y:u}}else{if(a){if(a.y=s)return}else a={x:i,y:r*i+o};n={x:s,y:r*s+o}}else{if(a){if(a.xa||f>i||d=A,w=n>=x,C=w<<1|_,E=C+4;Ca&&(o=t.slice(a,o),s[i]?s[i]+=o:s[++i]=o),(n=n[0])===(r=r[0])?s[i]?s[i]+=r:s[++i]=r:(s[++i]=null,l.push({i:i,x:br(n,r)})),a=pl.lastIndex;return a=0&&!(n=ci.interpolators[r](e,t)););return n}function _r(e,t){var n,r=[],o=[],a=e.length,i=t.length,s=Math.min(e.length,t.length);for(n=0;n=1?1:e(t)}}function Cr(e){return function(t){return 1-e(1-t)}}function Er(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Tr(e){return e*e}function kr(e){return e*e*e}function Pr(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function Mr(e){return function(t){return Math.pow(t,e)}}function Sr(e){return 1-Math.cos(e*Ui)}function Dr(e){return Math.pow(2,10*(e-1))}function Or(e){return 1-Math.sqrt(1-e*e)}function Ir(e,t){var n;return arguments.length<2&&(t=.45),arguments.length?n=t/zi*Math.asin(1/e):(e=1,n=t/4),function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*zi/t)}}function Lr(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}}function Nr(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function Br(e,t){e=ci.hcl(e),t=ci.hcl(t);var n=e.h,r=e.c,o=e.l,a=t.h-n,i=t.c-r,s=t.l-o;return isNaN(i)&&(i=0,r=isNaN(r)?t.c:r),isNaN(a)?(a=0,n=isNaN(n)?t.h:n):a>180?a-=360:a<-180&&(a+=360),function(e){return de(n+a*e,r+i*e,o+s*e)+""}}function Fr(e,t){e=ci.hsl(e),t=ci.hsl(t);var n=e.h,r=e.s,o=e.l,a=t.h-n,i=t.s-r,s=t.l-o;return isNaN(i)&&(i=0,r=isNaN(r)?t.s:r),isNaN(a)?(a=0,n=isNaN(n)?t.h:n):a>180?a-=360:a<-180&&(a+=360),function(e){return ce(n+a*e,r+i*e,o+s*e)+""}}function Rr(e,t){e=ci.lab(e),t=ci.lab(t);var n=e.l,r=e.a,o=e.b,a=t.l-n,i=t.a-r,s=t.b-o;return function(e){return he(n+a*e,r+i*e,o+s*e)+""}}function jr(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function zr(e){var t=[e.a,e.b],n=[e.c,e.d],r=Ur(t),o=Hr(t,n),a=Ur(Wr(n,t,-o))||0;t[0]*n[1]180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(qr(n)+"rotate(",null,")")-2,x:br(e,t)})):t&&n.push(qr(n)+"rotate("+t+")")}function Yr(e,t,n,r){e!==t?r.push({i:n.push(qr(n)+"skewX(",null,")")-2,x:br(e,t)}):t&&n.push(qr(n)+"skewX("+t+")")}function Kr(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var o=n.push(qr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:br(e[0],t[0])},{i:o-2,x:br(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(qr(n)+"scale("+t+")")}function Qr(e,t){var n=[],r=[];return e=ci.transform(e),t=ci.transform(t),Vr(e.translate,t.translate,n,r),Gr(e.rotate,t.rotate,n,r),Yr(e.skew,t.skew,n,r),Kr(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,o=-1,a=r.length;++o=0;)n.push(o[r])}function lo(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(a=e.children)&&(o=a.length))for(var o,a,i=-1;++io&&(r=n,o=t);return r}function Ao(e){return e.reduce(xo,0)}function xo(e,t){return e+t[1]}function _o(e,t){return wo(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function wo(e,t){for(var n=-1,r=+e[0],o=(e[1]-r)/t,a=[];++n<=t;)a[n]=o*n+r;return a}function Co(e){return[ci.min(e),ci.max(e)]}function Eo(e,t){return e.value-t.value}function To(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function ko(e,t){e._pack_next=t,t._pack_prev=e}function Po(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r+t.r;return.999*o*o>n*n+r*r}function Mo(e){function t(e){c=Math.min(e.x-e.r,c),f=Math.max(e.x+e.r,f),d=Math.min(e.y-e.r,d),p=Math.max(e.y+e.r,p)}if((n=e.children)&&(u=n.length)){var n,r,o,a,i,s,l,u,c=1/0,f=-(1/0),d=1/0,p=-(1/0);if(n.forEach(So),r=n[0],r.x=-r.r,r.y=0,t(r),u>1&&(o=n[1],o.x=o.r,o.y=0,t(o),u>2))for(a=n[2],Io(r,o,a),t(a),To(r,a),r._pack_prev=a,To(a,o),o=r._pack_next,i=3;i=0;)t=o[a],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function jo(e,t,n){return e.a.parent===t.parent?e.a:n}function zo(e){return 1+ci.max(e,function(e){return e.y})}function Ho(e){return e.reduce(function(e,t){return e+t.x},0)/e.length}function Uo(e){var t=e.children;return t&&t.length?Uo(t[0]):e}function Wo(e){var t,n=e.children;return n&&(t=n.length)?Wo(n[t-1]):e}function qo(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function Vo(e,t){var n=e.x+t[3],r=e.y+t[0],o=e.dx-t[1]-t[3],a=e.dy-t[0]-t[2];return o<0&&(n+=o/2,o=0),a<0&&(r+=a/2,a=0),{x:n,y:r,dx:o,dy:a}}function Go(e){var t=e[0],n=e[e.length-1];return t2?Zo:Ko,l=r?Zr:Xr;return i=o(e,t,l,n),s=o(t,e,l,xr),a}function a(e){return i(e)}var i,s;return a.invert=function(e){return s(e)},a.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},a.range=function(e){return arguments.length?(t=e,o()):t},a.rangeRound=function(e){return a.range(e).interpolate(jr)},a.clamp=function(e){return arguments.length?(r=e,o()):r},a.interpolate=function(e){return arguments.length?(n=e,o()):n},a.ticks=function(t){return na(e,t)},a.tickFormat=function(t,n){return ra(e,t,n)},a.nice=function(t){return ea(e,t),o()},a.copy=function(){return Jo(e,t,n,r)},o()}function $o(e,t){return ci.rebind(e,t,"range","rangeRound","interpolate","clamp")}function ea(e,t){return Qo(e,Xo(ta(e,t)[2])),Qo(e,Xo(ta(e,t)[2])),e}function ta(e,t){null==t&&(t=10);var n=Go(e),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),a=t/r*o;return a<=.15?o*=10:a<=.35?o*=5:a<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function na(e,t){return ci.range.apply(ci,ta(e,t))}function ra(e,t,n){var r=ta(e,t);if(n){var o=ds.exec(n);if(o.shift(),"s"===o[8]){var a=ci.formatPrefix(Math.max(Ai(r[0]),Ai(r[1])));return o[7]||(o[7]="."+oa(a.scale(r[2]))),o[8]="f",n=ci.format(o.join("")),function(e){return n(a.scale(e))+a.symbol}}o[7]||(o[7]="."+aa(o[8],r)),n=o.join("")}else n=",."+oa(r[2])+"f";return ci.format(n)}function oa(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function aa(e,t){var n=oa(t[2]);return e in El?Math.abs(n-oa(Math.max(Ai(t[0]),Ai(t[1]))))+ +("e"!==e):n-2*("%"===e)}function ia(e,t,n,r){function o(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function a(e){return n?Math.pow(t,e):-Math.pow(t,-e)}function i(t){return e(o(t))}return i.invert=function(t){return a(e.invert(t))},i.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(o)),i):r},i.base=function(n){return arguments.length?(t=+n,e.domain(r.map(o)),i):t},i.nice=function(){var t=Qo(r.map(o),n?Math:kl);return e.domain(t),r=t.map(a),i},i.ticks=function(){var e=Go(r),i=[],s=e[0],l=e[1],u=Math.floor(o(s)),c=Math.ceil(o(l)),f=t%1?2:t;if(isFinite(c-u)){if(n){for(;u0;d--)i.push(a(u)*d);for(u=0;i[u]l;c--);i=i.slice(u,c)}return i},i.tickFormat=function(e,n){if(!arguments.length)return Tl;arguments.length<2?n=Tl:"function"!=typeof n&&(n=ci.format(n));var r=Math.max(1,t*e/i.ticks().length);return function(e){var i=e/a(Math.round(o(e)));return i*t0?s[n-1]:e[0],n0?0:1}function xa(e,t,n,r,o){var a=e[0]-t[0],i=e[1]-t[1],s=(o?r:-r)/Math.sqrt(a*a+i*i),l=s*i,u=-s*a,c=e[0]+l,f=e[1]+u,d=t[0]+l,p=t[1]+u,h=(c+d)/2,m=(f+p)/2,g=d-c,v=p-f,y=g*g+v*v,b=n-r,A=c*p-d*f,x=(v<0?-1:1)*Math.sqrt(Math.max(0,b*b*y-A*A)),_=(A*v-g*x)/y,w=(-A*g-v*x)/y,C=(A*v+g*x)/y,E=(-A*g+v*x)/y,T=_-h,k=w-m,P=C-h,M=E-m;return T*T+k*k>P*P+M*M&&(_=C,w=E),[[_-l,w-u],[_*n/b,w*n/b]]}function _a(e){function t(t){function i(){u.push("M",a(e(c),s))}for(var l,u=[],c=[],f=-1,d=t.length,p=Pe(n),h=Pe(r);++f1?e.join("L"):e+"Z"}function Ca(e){return e.join("L")+"Z"}function Ea(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1&&o.push("H",r[0]),o.join("")}function Ta(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1){s=t[1],a=e[l],l++,r+="C"+(o[0]+i[0])+","+(o[1]+i[1])+","+(a[0]-s[0])+","+(a[1]-s[1])+","+a[0]+","+a[1];for(var u=2;u9&&(o=3*t/Math.sqrt(o),i[s]=o*n,i[s+1]=o*r));for(s=-1;++s<=l;)o=(e[Math.min(l,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+i[s]*i[s])),a.push([o||0,i[s]*o||0]);return a}function Ua(e){return e.length<3?wa(e):e[0]+Da(e,Ha(e))}function Wa(e){for(var t,n,r,o=-1,a=e.length;++o0;)p[--s].call(e,i);if(a>=1)return m.event&&m.event.end.call(e,e.__data__,t),--h.count?delete h[r]:delete e[n],1}var l,u,c,d,p,h=e[n]||(e[n]={active:0,count:0}),m=h[r];m||(l=o.time,u=Ie(a,0,l),m=h[r]={tween:new f,time:l,timer:u,delay:o.delay,duration:o.duration,ease:o.ease,index:t},o=null,++h.count)}function ri(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"})}function oi(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"})}function ai(e){return e.toISOString()}function ii(e,t,n){function r(t){return e(t)}function o(e,n){var r=e[1]-e[0],o=r/n,a=ci.bisect(Jl,o);return a==Jl.length?[t.year,ta(e.map(function(e){return e/31536e6}),n)[2]]:a?t[o/Jl[a-1]1?{floor:function(t){for(;n(t=e.floor(t));)t=si(t-1);return t},ceil:function(t){for(;n(t=e.ceil(t));)t=si(+t+1);return t}}:e))},r.ticks=function(e,t){var n=Go(r.domain()),a=null==e?o(n,10):"number"==typeof e?o(n,e):!e.range&&[{range:e},t];return a&&(e=a[0],t=a[1]),e.range(n[0],si(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return ii(e.copy(),t,n)},$o(r,e)}function si(e){return new Date(e)}function li(e){return JSON.parse(e.responseText)}function ui(e){var t=pi.createRange();return t.selectNode(pi.body),t.createContextualFragment(e.responseText)}var ci={version:"3.5.17"},fi=[].slice,di=function(e){return fi.call(e)},pi=this.document;if(pi)try{di(pi.documentElement.childNodes)[0].nodeType}catch(e){di=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),pi)try{pi.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var hi=this.Element.prototype,mi=hi.setAttribute,gi=hi.setAttributeNS,vi=this.CSSStyleDeclaration.prototype,yi=vi.setProperty;hi.setAttribute=function(e,t){mi.call(this,e,t+"")},hi.setAttributeNS=function(e,t,n){gi.call(this,e,t,n+"")},vi.setProperty=function(e,t,n){yi.call(this,e,t+"",n)}}ci.ascending=o,ci.descending=function(e,t){return te?1:t>=e?0:NaN},ci.min=function(e,t){var n,r,o=-1,a=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},ci.max=function(e,t){var n,r,o=-1,a=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},ci.extent=function(e,t){var n,r,o,a=-1,i=e.length;if(1===arguments.length){for(;++a=r){n=o=r;break}for(;++ar&&(n=r),o=r){n=o=r;break}for(;++ar&&(n=r),o1)return l/(c-1)},ci.deviation=function(){var e=ci.variance.apply(this,arguments);return e?Math.sqrt(e):e};var bi=s(o);ci.bisectLeft=bi.left,ci.bisect=ci.bisectRight=bi.right,ci.bisector=function(e){return s(1===e.length?function(t,n){return o(e(t),n)}:e)},ci.shuffle=function(e,t,n){(a=arguments.length)<3&&(n=e.length,a<2&&(t=0));for(var r,o,a=n-t;a;)o=Math.random()*a--|0,r=e[a+t],e[a+t]=e[o+t],e[o+t]=r;return e},ci.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},ci.pairs=function(e){for(var t,n=0,r=e.length-1,o=e[0],a=new Array(r<0?0:r);n=0;)for(r=e[o],t=r.length;--t>=0;)n[--i]=r[t];return n};var Ai=Math.abs;ci.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n===1/0)throw new Error("infinite range");var r,o=[],a=u(Ai(n)),i=-1;if(e*=a,t*=a,n*=a,n<0)for(;(r=e+n*++i)>t;)o.push(r/a);else for(;(r=e+n*++i)=a.length)return r?r.call(o,i):n?i.sort(n):i;for(var l,u,c,d,p=-1,h=i.length,m=a[s++],g=new f;++p=a.length)return e;var r=[],o=i[n++];return e.forEach(function(e,o){r.push({key:e,values:t(o,n)})}),o?r.sort(function(e,t){return o(e.key,t.key)}):r}var n,r,o={},a=[],i=[];return o.map=function(t,n){return e(n,t,0)},o.entries=function(n){return t(e(ci.map,n,0),0)},o.key=function(e){return a.push(e),o},o.sortKeys=function(e){return i[a.length-1]=e,o},o.sortValues=function(e){return n=e,o},o.rollup=function(e){return r=e,o},o},ci.set=function(e){var t=new b;if(e)for(var n=0,r=e.length;n=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},ci.event=null,ci.requote=function(e){return e.replace(Ci,"\\$&")};var Ci=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Ei={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]},Ti=function(e,t){return t.querySelector(e)},ki=function(e,t){return t.querySelectorAll(e)},Pi=function(e,t){var n=e.matches||e[_(e,"matchesSelector")];return(Pi=function(e,t){return n.call(e,t)})(e,t)};"function"==typeof Sizzle&&(Ti=function(e,t){return Sizzle(e,t)[0]||null},ki=Sizzle,Pi=Sizzle.matchesSelector),ci.selection=function(){return ci.select(pi.documentElement)};var Mi=ci.selection.prototype=[];Mi.select=function(e){var t,n,r,o,a=[];e=S(e);for(var i=-1,s=this.length;++i=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),Di.hasOwnProperty(n)?{space:Di[n],local:e}:e}},Mi.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return e=ci.ns.qualify(e),e.local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(O(t,e[t]));return this}return this.each(O(e,t))},Mi.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=N(e)).length,o=-1;if(t=n.classList){for(;++o=0;)(n=r[o])&&(a&&a!==n.nextSibling&&a.parentNode.insertBefore(n,a),a=n);return this},Mi.sort=function(e){e=q.apply(this,arguments);for(var t=-1,n=this.length;++t0&&(t=t.transition().duration(M)),t.call(e.event)}function s(){x&&x.domain(A.range().map(function(e){return(e-C.x)/C.k}).map(A.invert)),w&&w.domain(_.range().map(function(e){return(e-C.y)/C.k}).map(_.invert))}function l(e){S++||e({type:"zoomstart"})}function u(e){s(),e({type:"zoom",scale:C.k,translate:[C.x,C.y]})}function c(e){--S||(e({type:"zoomend"}),g=null)}function f(){function e(){s=1,a(ci.mouse(o),d),u(i)}function n(){f.on(O,null).on(I,null),p(s),c(i)}var o=this,i=N.of(o,arguments),s=0,f=ci.select(r(o)).on(O,e).on(I,n),d=t(ci.mouse(o)),p=Z(o);Ul.call(o),l(i)}function d(){function e(){var e=ci.touches(h);return p=C.k,e.forEach(function(e){e.identifier in g&&(g[e.identifier]=t(e))}),e}function n(){var t=ci.event.target;ci.select(t).on(A,r).on(x,s),_.push(t);for(var n=ci.event.changedTouches,o=0,a=n.length;o1){var c=l[0],f=l[1],d=c[0]-f[0],p=c[1]-f[1];v=d*d+p*p}}function r(){var e,t,n,r,i=ci.touches(h);Ul.call(h);for(var s=0,l=i.length;s=u)return i;if(o)return o=!1,a;var t=c;if(34===e.charCodeAt(t)){for(var n=t;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,ps=ci.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=ci.round(e,Fe(e,t))).toFixed(Math.max(0,Math.min(20,Fe(e*(1+1e-15),t))))}}),hs=ci.time={},ms=Date;He.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){gs.setUTCDate.apply(this._,arguments)},setDay:function(){gs.setUTCDay.apply(this._,arguments)},setFullYear:function(){gs.setUTCFullYear.apply(this._,arguments)},setHours:function(){gs.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){gs.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){gs.setUTCMinutes.apply(this._,arguments)},setMonth:function(){gs.setUTCMonth.apply(this._,arguments)},setSeconds:function(){gs.setUTCSeconds.apply(this._,arguments)},setTime:function(){gs.setTime.apply(this._,arguments)}};var gs=Date.prototype;hs.year=Ue(function(e){return e=hs.day(e),e.setMonth(0,1),e},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e){return e.getFullYear()}),hs.years=hs.year.range,hs.years.utc=hs.year.utc.range,hs.day=Ue(function(e){var t=new ms(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t},function(e,t){e.setDate(e.getDate()+t)},function(e){return e.getDate()-1}),hs.days=hs.day.range,hs.days.utc=hs.day.utc.range,hs.dayOfYear=function(e){var t=hs.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(e,t){t=7-t;var n=hs[e]=Ue(function(e){return(e=hs.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e},function(e,t){e.setDate(e.getDate()+7*Math.floor(t))},function(e){var n=hs.year(e).getDay();return Math.floor((hs.dayOfYear(e)+(n+t)%7)/7)-(n!==t)});hs[e+"s"]=n.range,hs[e+"s"].utc=n.utc.range,hs[e+"OfYear"]=function(e){var n=hs.year(e).getDay();return Math.floor((hs.dayOfYear(e)+(n+t)%7)/7)}}),hs.week=hs.sunday,hs.weeks=hs.sunday.range,hs.weeks.utc=hs.sunday.utc.range,hs.weekOfYear=hs.sundayOfYear;var vs={"-":"",_:" ",0:"0"},ys=/^\s*\d+/,bs=/^%/;ci.locale=function(e){return{numberFormat:je(e),timeFormat:qe(e)}};var As=ci.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]});ci.format=As.numberFormat,ci.geo={},ft.prototype={s:0,t:0,add:function(e){dt(e,this.t,xs),dt(xs.s,this.s,this),this.s?this.t+=xs.t:this.s=xs.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var xs=new ft;ci.geo.stream=function(e,t){e&&_s.hasOwnProperty(e.type)?_s[e.type](e,t):pt(e,t)};var _s={Feature:function(e,t){pt(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rp&&(p=t)}function t(t,n){var r=vt([t*Wi,n*Wi]);if(v){var o=bt(v,r),a=[o[1],-o[0],0],i=bt(a,o);_t(i),i=wt(i);var l=t-h,u=l>0?1:-1,m=i[0]*qi*u,g=Ai(l)>180;if(g^(u*hp&&(p=y)}else if(m=(m+360)%360-180,g^(u*hp&&(p=n);g?ts(c,d)&&(d=t):s(t,d)>s(c,d)&&(c=t):d>=c?(td&&(d=t)):t>h?s(c,t)>s(c,d)&&(d=t):s(t,d)>s(c,d)&&(c=t)}else e(t,n);v=r,h=t}function n(){x.point=t}function r(){A[0]=c,A[1]=d,x.point=e,v=null}function o(e,n){if(v){var r=e-h;y+=Ai(r)>180?r+(r>0?360:-360):r}else m=e,g=n;Ts.point(e,n),t(e,n)}function a(){Ts.lineStart()}function i(){o(m,g),Ts.lineEnd(),Ai(y)>Fi&&(c=-(d=180)),A[0]=c,A[1]=d,v=null}function s(e,t){return(t-=e)<0?t+360:t}function l(e,t){return e[0]-t[0]}function u(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eFi?p=90:y<-Fi&&(f=-90),A[0]=c,A[1]=d}};return function(e){p=d=-(c=f=1/0),b=[],ci.geo.stream(e,x);var t=b.length;if(t){b.sort(l);for(var n,r=1,o=b[0],a=[o];rs(o[0],o[1])&&(o[1]=n[1]),s(n[0],o[1])>s(o[0],o[1])&&(o[0]=n[0])):a.push(o=n);for(var i,n,h=-(1/0),t=a.length-1,r=0,o=a[t];r<=t;o=n,++r)n=a[r],(i=s(o[1],n[0]))>h&&(h=i,c=n[0],d=o[1])}return b=A=null,c===1/0||f===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,f],[d,p]]}}(),ci.geo.centroid=function(e){ks=Ps=Ms=Ss=Ds=Os=Is=Ls=Ns=Bs=Fs=0,ci.geo.stream(e,Rs);var t=Ns,n=Bs,r=Fs,o=t*t+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?i:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:a).invert(e)},e.stream=function(e){var t=a.stream(e),n=i.stream(e),r=s.stream(e);return{point:function(e,o){t.point(e,o),n.point(e,o),r.point(e,o)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},e.precision=function(t){return arguments.length?(a.precision(t),i.precision(t),s.precision(t),e):a.precision()},e.scale=function(t){return arguments.length?(a.scale(t),i.scale(.35*t),s.scale(t),e.translate(a.translate())):a.scale()},e.translate=function(t){if(!arguments.length)return a.translate();var u=a.scale(),c=+t[0],f=+t[1];return n=a.translate(t).clipExtent([[c-.455*u,f-.238*u],[c+.455*u,f+.238*u]]).stream(l).point,r=i.translate([c-.307*u,f+.201*u]).clipExtent([[c-.425*u+Fi,f+.12*u+Fi],[c-.214*u-Fi,f+.234*u-Fi]]).stream(l).point,o=s.translate([c-.205*u,f+.212*u]).clipExtent([[c-.214*u+Fi,f+.166*u+Fi],[c-.115*u-Fi,f+.234*u-Fi]]).stream(l).point,e},e.scale(1070)};var Hs,Us,Ws,qs,Vs,Gs,Ys={point:w,lineStart:w,lineEnd:w,polygonStart:function(){Us=0,Ys.lineStart=Kt},polygonEnd:function(){Ys.lineStart=Ys.lineEnd=Ys.point=w,Hs+=Ai(Us/2)}},Ks={point:Qt,lineStart:w,lineEnd:w,polygonStart:w,polygonEnd:w},Qs={point:Jt,lineStart:$t,lineEnd:en,polygonStart:function(){Qs.lineStart=tn},polygonEnd:function(){Qs.point=Jt,Qs.lineStart=$t,Qs.lineEnd=en}};ci.geo.path=function(){function e(e){return e&&("function"==typeof s&&a.pointRadius(+s.apply(this,arguments)),i&&i.valid||(i=o(a)),ci.geo.stream(e,i)),a.result()}function t(){return i=null,e}var n,r,o,a,i,s=4.5;return e.area=function(e){return Hs=0,ci.geo.stream(e,o(Ys)),Hs},e.centroid=function(e){return Ms=Ss=Ds=Os=Is=Ls=Ns=Bs=Fs=0,ci.geo.stream(e,o(Qs)),Fs?[Ns/Fs,Bs/Fs]:Ls?[Os/Ls,Is/Ls]:Ds?[Ms/Ds,Ss/Ds]:[NaN,NaN]},e.bounds=function(e){return Vs=Gs=-(Ws=qs=1/0),ci.geo.stream(e,o(Ks)),[[Ws,qs],[Vs,Gs]]},e.projection=function(e){return arguments.length?(o=(n=e)?e.stream||on(e):A,t()):n},e.context=function(e){return arguments.length?(a=null==(r=e)?new Xt:new nn(e),"function"!=typeof s&&a.pointRadius(s),t()):r},e.pointRadius=function(t){return arguments.length?(s="function"==typeof t?t:(a.pointRadius(+t),+t),e):s},e.projection(ci.geo.albersUsa()).context(null)},ci.geo.transform=function(e){return{stream:function(t){var n=new an(t);for(var r in e)n[r]=e[r];return n}}},an.prototype={point:function(e,t){this.stream.point(e,t)},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()}},ci.geo.projection=ln,ci.geo.projectionMutator=un,(ci.geo.equirectangular=function(){return ln(fn)}).raw=fn.invert=fn,ci.geo.rotation=function(e){function t(t){return t=e(t[0]*Wi,t[1]*Wi),t[0]*=qi,t[1]*=qi,t}return e=pn(e[0]%360*Wi,e[1]*Wi,e.length>2?e[2]*Wi:0),t.invert=function(t){return t=e.invert(t[0]*Wi,t[1]*Wi),t[0]*=qi,t[1]*=qi,t},t},dn.invert=fn,ci.geo.circle=function(){function e(){var e="function"==typeof r?r.apply(this,arguments):r,t=pn(-e[0]*Wi,-e[1]*Wi,0).invert,o=[];return n(null,null,1,{point:function(e,n){o.push(e=t(e,n)),e[0]*=qi,e[1]*=qi}}),{type:"Polygon",coordinates:[o]}}var t,n,r=[0,0],o=6;return e.origin=function(t){return arguments.length?(r=t,e):r},e.angle=function(r){return arguments.length?(n=vn((t=+r)*Wi,o*Wi),e):t},e.precision=function(r){return arguments.length?(n=vn(t*Wi,(o=+r)*Wi),e):o},e.angle(90)},ci.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Wi,o=e[1]*Wi,a=t[1]*Wi,i=Math.sin(r),s=Math.cos(r),l=Math.sin(o),u=Math.cos(o),c=Math.sin(a),f=Math.cos(a);return Math.atan2(Math.sqrt((n=f*i)*n+(n=u*c-l*f*s)*n),l*c+u*f*s)},ci.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return ci.range(Math.ceil(a/g)*g,o,g).map(d).concat(ci.range(Math.ceil(u/v)*v,l,v).map(p)).concat(ci.range(Math.ceil(r/h)*h,n,h).filter(function(e){return Ai(e%g)>Fi}).map(c)).concat(ci.range(Math.ceil(s/m)*m,i,m).filter(function(e){return Ai(e%v)>Fi}).map(f))}var n,r,o,a,i,s,l,u,c,f,d,p,h=10,m=h,g=90,v=360,y=2.5;return e.lines=function(){return t().map(function(e){return{type:"LineString",coordinates:e}})},e.outline=function(){return{type:"Polygon",coordinates:[d(a).concat(p(l).slice(1),d(o).reverse().slice(1),p(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(a=+t[0][0],o=+t[1][0],u=+t[0][1],l=+t[1][1],a>o&&(t=a,a=o,o=t),u>l&&(t=u,u=l,l=t),e.precision(y)):[[a,u],[o,l]]},e.minorExtent=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],i=+t[1][1],r>n&&(t=r,r=n,n=t),s>i&&(t=s,s=i,i=t),e.precision(y)):[[r,s],[n,i]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(g=+t[0],v=+t[1],e):[g,v]},e.minorStep=function(t){return arguments.length?(h=+t[0],m=+t[1],e):[h,m]},e.precision=function(t){return arguments.length?(y=+t,c=bn(s,i,90),f=An(r,n,y),d=bn(u,l,90),p=An(a,o,y),e):y},e.majorExtent([[-180,-90+Fi],[180,90-Fi]]).minorExtent([[-180,-80-Fi],[180,80+Fi]])},ci.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),n||o.apply(this,arguments)]}}var t,n,r=xn,o=_n;return e.distance=function(){return ci.geo.distance(t||r.apply(this,arguments),n||o.apply(this,arguments))},e.source=function(n){return arguments.length?(r=n,t="function"==typeof n?null:n,e):r},e.target=function(t){return arguments.length?(o=t,n="function"==typeof t?null:t,e):o},e.precision=function(){return arguments.length?e:0},e},ci.geo.interpolate=function(e,t){return wn(e[0]*Wi,e[1]*Wi,t[0]*Wi,t[1]*Wi)},ci.geo.length=function(e){return Xs=0,ci.geo.stream(e,Zs),Xs};var Xs,Zs={sphere:w,point:w,lineStart:Cn,lineEnd:w,polygonStart:w,polygonEnd:w},Js=En(function(e){return Math.sqrt(2/(1+e))},function(e){return 2*Math.asin(e/2)});(ci.geo.azimuthalEqualArea=function(){return ln(Js)}).raw=Js;var $s=En(function(e){var t=Math.acos(e);return t&&t/Math.sin(t)},A);(ci.geo.azimuthalEquidistant=function(){return ln($s)}).raw=$s,(ci.geo.conicConformal=function(){return Gt(Tn)}).raw=Tn,(ci.geo.conicEquidistant=function(){return Gt(kn)}).raw=kn;var el=En(function(e){return 1/e},Math.atan);(ci.geo.gnomonic=function(){return ln(el)}).raw=el,Pn.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Ui]},(ci.geo.mercator=function(){return Mn(Pn)}).raw=Pn;var tl=En(function(){return 1},Math.asin);(ci.geo.orthographic=function(){return ln(tl)}).raw=tl;var nl=En(function(e){return 1/(1+e)},function(e){return 2*Math.atan(e)});(ci.geo.stereographic=function(){return ln(nl)}).raw=nl,Sn.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ui]},(ci.geo.transverseMercator=function(){var e=Mn(Sn),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):(e=t(),[e[1],-e[0]])},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90])}).raw=Sn,ci.geom={},ci.geom.hull=function(e){function t(e){if(e.length<3)return[];var t,o=Pe(n),a=Pe(r),i=e.length,s=[],l=[];for(t=0;t=0;--t)p.push(e[s[u[t]][2]]);for(t=+f;t=r&&u.x<=a&&u.y>=o&&u.y<=i?[[r,i],[a,i],[a,o],[r,o]]:[];c.point=e[s]}),t}function n(e){return e.map(function(e,t){return{x:Math.round(a(e,t)/Fi)*Fi,y:Math.round(i(e,t)/Fi)*Fi,i:t}})}var r=Dn,o=On,a=r,i=o,s=fl;return e?t(e):(t.links=function(e){return ur(n(e)).edges.filter(function(e){return e.l&&e.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},t.triangles=function(e){var t=[];return ur(n(e)).cells.forEach(function(n,r){for(var o,a,i=n.site,s=n.edges.sort(Yn),l=-1,u=s.length,c=s[u-1].edge,f=c.l===i?c.r:c.l;++l=u,d=r>=c,p=d<<1|f;e.leaf=!1,e=e.nodes[p]||(e.nodes[p]=hr()),f?o=u:s=u,d?i=c:l=c,a(e,t,n,r,o,i,s,l)}var c,f,d,p,h,m,g,v,y,b=Pe(s),A=Pe(l);if(null!=t)m=t,g=n,v=r,y=o;else if(v=y=-(m=g=1/0),f=[],d=[],h=e.length,i)for(p=0;pv&&(v=c.x),c.y>y&&(y=c.y),f.push(c.x),d.push(c.y);else for(p=0;pv&&(v=x),_>y&&(y=_),f.push(x),d.push(_)}var w=v-m,C=y-g;w>C?y=g+w:v=m+C;var E=hr();if(E.add=function(e){a(E,e,+b(e,++p),+A(e,p),m,g,v,y)},E.visit=function(e){mr(e,E,m,g,v,y)},E.find=function(e){return gr(E,e[0],e[1],m,g,v,y)},p=-1,null==t){for(;++p=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=ml.get(n)||hl,r=gl.get(r)||A,wr(r(n.apply(null,fi.call(arguments,1))))},ci.interpolateHcl=Br,ci.interpolateHsl=Fr,ci.interpolateLab=Rr,ci.interpolateRound=jr,ci.transform=function(e){var t=pi.createElementNS(ci.ns.prefix.svg,"g");return(ci.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new zr(n?n.matrix:vl)})(e)},zr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var vl={a:1,b:0,c:0,d:1,e:0,f:0};ci.interpolateTransform=Qr,ci.layout={},ci.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n0?o=e:(n.c=null,n.t=NaN,n=null,u.end({type:"end",alpha:o=0})):e>0&&(u.start({type:"start",alpha:o=e}),n=Ie(l.tick)),l):o},l.start=function(){function e(e,r){if(!n){for(n=new Array(o),l=0;l=0;)i.push(c=u[l]),c.parent=a,c.depth=a.depth+1;r&&(a.value=0),a.children=u}else r&&(a.value=+r.call(e,a,a.depth)||0),delete a.children;return lo(o,function(e){var n,o;t&&(n=e.children)&&n.sort(t),r&&(o=e.parent)&&(o.value+=e.value)}),s}var t=fo,n=uo,r=co;return e.sort=function(n){return arguments.length?(t=n,e):t},e.children=function(t){return arguments.length?(n=t,e):n},e.value=function(t){return arguments.length?(r=t,e):r},e.revalue=function(t){return r&&(so(t,function(e){e.children&&(e.value=0)}),lo(t,function(t){var n;t.children||(t.value=+r.call(e,t,t.depth)||0),(n=t.parent)&&(n.value+=t.value)})),t},e},ci.layout.partition=function(){function e(t,n,r,o){var a=t.children;if(t.x=n,t.y=t.depth*o,t.dx=r,t.dy=o,a&&(i=a.length)){var i,s,l,u=-1;for(r=t.value?r/t.value:0;++us&&(s=r),i.push(r)}for(n=0;n0)for(a=-1;++a=c[0]&&s<=c[1]&&(i=l[ci.bisect(f,s,1,p)-1],i.y+=h,i.push(e[a]));return l}var t=!0,n=Number,r=Co,o=_o;return e.value=function(t){return arguments.length?(n=t,e):n},e.range=function(t){return arguments.length?(r=Pe(t),e):r},e.bins=function(t){return arguments.length?(o="number"==typeof t?function(e){return wo(e,t)}:Pe(t),e):o},e.frequency=function(n){return arguments.length?(t=!!n,e):t},e},ci.layout.pack=function(){function e(e,a){var i=n.call(this,e,a),s=i[0],l=o[0],u=o[1],c=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(s.x=s.y=0,lo(s,function(e){e.r=+c(e.value)}),lo(s,Mo),r){var f=r*(t?1:Math.max(2*s.r/l,2*s.r/u))/2;lo(s,function(e){e.r+=f}),lo(s,Mo),lo(s,function(e){e.r-=f})}return Oo(s,l/2,u/2,t?1:1/Math.max(2*s.r/l,2*s.r/u)),i}var t,n=ci.layout.hierarchy().sort(Eo),r=0,o=[1,1];return e.size=function(t){return arguments.length?(o=t,e):o},e.radius=function(n){return arguments.length?(t=null==n||"function"==typeof n?n:+n,e):t},e.padding=function(t){return arguments.length?(r=+t,e):r},io(e,n)},ci.layout.tree=function(){function e(e,o){var c=i.call(this,e,o),f=c[0],d=t(f);if(lo(d,n),d.parent.m=-d.z,so(d,r),u)so(f,a);else{var p=f,h=f,m=f;so(f,function(e){e.xh.x&&(h=e),e.depth>m.depth&&(m=e)});var g=s(p,h)/2-p.x,v=l[0]/(h.x+s(h,p)/2+g),y=l[1]/(m.depth||1);so(f,function(e){e.x=(e.x+g)*v,e.y=e.depth*y})}return c}function t(e){for(var t,n={A:null,children:[e]},r=[n];null!=(t=r.pop());)for(var o,a=t.children,i=0,s=a.length;i0&&(Fo(jo(i,e,n),e,r),u+=r,c+=r),f+=i.m,u+=o.m,d+=l.m,c+=a.m;i&&!Bo(a)&&(a.t=i,a.m+=f-c),o&&!No(l)&&(l.t=o,l.m+=u-d,n=e)}return n}function a(e){e.x*=l[0],e.y=e.depth*l[1]}var i=ci.layout.hierarchy().sort(null).value(null),s=Lo,l=[1,1],u=null;return e.separation=function(t){return arguments.length?(s=t,e):s},e.size=function(t){return arguments.length?(u=null==(l=t)?a:null,e):u?null:l},e.nodeSize=function(t){return arguments.length?(u=null==(l=t)?null:a,e):u?l:null},io(e,i)},ci.layout.cluster=function(){function e(e,a){var i,s=t.call(this,e,a),l=s[0],u=0;lo(l,function(e){var t=e.children;t&&t.length?(e.x=Ho(t),e.y=zo(t)):(e.x=i?u+=n(e,i):0,e.y=0,i=e)});var c=Uo(l),f=Wo(l),d=c.x-n(c,f)/2,p=f.x+n(f,c)/2;return lo(l,o?function(e){e.x=(e.x-l.x)*r[0],e.y=(l.y-e.y)*r[1]}:function(e){e.x=(e.x-d)/(p-d)*r[0],e.y=(1-(l.y?e.y/l.y:1))*r[1]}),s}var t=ci.layout.hierarchy().sort(null).value(null),n=Lo,r=[1,1],o=!1;return e.separation=function(t){return arguments.length?(n=t,e):n},e.size=function(t){return arguments.length?(o=null==(r=t),e):o?null:r},e.nodeSize=function(t){return arguments.length?(o=null!=(r=t),e):o?r:null},io(e,t)},ci.layout.treemap=function(){function e(e,t){for(var n,r,o=-1,a=e.length;++o0;)c.push(i=d[l-1]),c.area+=i.area,"squarify"!==p||(s=r(c,m))<=h?(d.pop(),h=s):(c.area-=c.pop().area,o(c,m,u,!1),m=Math.min(u.dx,u.dy),c.length=c.area=0,h=1/0);c.length&&(o(c,m,u,!0),c.length=c.area=0),a.forEach(t)}}function n(t){var r=t.children;if(r&&r.length){var a,i=f(t),s=r.slice(),l=[];for(e(s,i.dx*i.dy/t.value),l.area=0;a=s.pop();)l.push(a),l.area+=a.area,null!=a.z&&(o(l,a.z?i.dx:i.dy,i,!s.length),l.length=l.area=0);r.forEach(n)}}function r(e,t){for(var n,r=e.area,o=0,a=1/0,i=-1,s=e.length;++io&&(o=n));return r*=r,t*=t,r?Math.max(t*o*h/r,r/(t*a*h)):1/0}function o(e,t,n,r){var o,a=-1,i=e.length,s=n.x,u=n.y,c=t?l(e.area/t):0;if(t==n.dx){for((r||c>n.dy)&&(c=n.dy);++an.dx)&&(c=n.dx);++a1);return e+t*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){ -var e=ci.random.normal.apply(ci,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=ci.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;nf?0:1;if(u=Hi)return t(u,p)+(e?t(e,1-p):"")+"Z";var h,m,g,v,y,b,A,x,_,w,C,E,T=0,k=0,P=[];if((v=(+l.apply(this,arguments)||0)/2)&&(g=a===Ol?Math.sqrt(e*e+u*u):+a.apply(this,arguments),p||(k*=-1),u&&(k=re(g/u*Math.sin(v))),e&&(T=re(g/e*Math.sin(v)))),u){y=u*Math.cos(c+k),b=u*Math.sin(c+k),A=u*Math.cos(f-k),x=u*Math.sin(f-k);var M=Math.abs(f-c-2*k)<=ji?0:1;if(k&&Aa(y,b,A,x)===p^M){var S=(c+f)/2;y=u*Math.cos(S),b=u*Math.sin(S),A=x=null}}else y=b=0;if(e){_=e*Math.cos(f-T),w=e*Math.sin(f-T),C=e*Math.cos(c+T),E=e*Math.sin(c+T);var D=Math.abs(c-f+2*T)<=ji?0:1;if(T&&Aa(_,w,C,E)===1-p^D){var O=(c+f)/2;_=e*Math.cos(O),w=e*Math.sin(O),C=E=null}}else _=w=0;if(d>Fi&&(h=Math.min(Math.abs(u-e)/2,+o.apply(this,arguments)))>.001){m=eji)+",1 "+t}function o(e,t,n,r){return"Q 0,0 "+r}var a=xn,i=_n,s=Va,l=va,u=ya;return e.radius=function(t){return arguments.length?(s=Pe(t),e):s},e.source=function(t){return arguments.length?(a=Pe(t),e):a},e.target=function(t){return arguments.length?(i=Pe(t),e):i},e.startAngle=function(t){return arguments.length?(l=Pe(t),e):l},e.endAngle=function(t){return arguments.length?(u=Pe(t),e):u},e},ci.svg.diagonal=function(){function e(e,o){var a=t.call(this,e,o),i=n.call(this,e,o),s=(a.y+i.y)/2,l=[a,{x:a.x,y:s},{x:i.x,y:s},i];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=xn,n=_n,r=Ga;return e.source=function(n){return arguments.length?(t=Pe(n),e):t},e.target=function(t){return arguments.length?(n=Pe(t),e):n},e.projection=function(t){return arguments.length?(r=t,e):r},e},ci.svg.diagonal.radial=function(){var e=ci.svg.diagonal(),t=Ga,n=e.projection;return e.projection=function(e){return arguments.length?n(Ya(t=e)):t},e},ci.svg.symbol=function(){function e(e,r){return(Fl.get(t.call(this,e,r))||Xa)(n.call(this,e,r))}var t=Qa,n=Ka;return e.type=function(n){return arguments.length?(t=Pe(n),e):t},e.size=function(t){return arguments.length?(n=Pe(t),e):n},e};var Fl=ci.map({circle:Xa,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*jl)),n=t*jl;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Rl),n=t*Rl/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Rl),n=t*Rl/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});ci.svg.symbolTypes=Fl.keys();var Rl=Math.sqrt(3),jl=Math.tan(30*Wi);Mi.transition=function(e){for(var t,n,r=zl||++ql,o=ti(e),a=[],i=Hl||{time:Date.now(),ease:Pr,delay:0,duration:250},s=-1,l=this.length;++srect,.s>rect").attr("width",f[1]-f[0])}function o(e){e.select(".extent").attr("y",d[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",d[1]-d[0])}function a(){function a(){32==ci.event.keyCode&&(M||(b=null,D[0]-=f[1],D[1]-=d[1],M=2),T())}function m(){32==ci.event.keyCode&&2==M&&(D[0]+=f[1],D[1]+=d[1],M=0,T())}function g(){var e=ci.mouse(x),r=!1;A&&(e[0]+=A[0],e[1]+=A[1]),M||(ci.event.altKey?(b||(b=[(f[0]+f[1])/2,(d[0]+d[1])/2]),D[0]=f[+(e[0]0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,a,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],17:[function(e,t,n){"use strict";function r(e){for(var t,n=e.length,r=0;r13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}t.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(e=+e,0===e&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}},{}],18:[function(e,t,n){function r(e,t){var n=t[0],r=t[1],o=t[2],a=t[3],i=n+n,s=r+r,l=o+o,u=n*i,c=r*i,f=r*s,d=o*i,p=o*s,h=o*l,m=a*i,g=a*s,v=a*l;return e[0]=1-f-h,e[1]=c+v,e[2]=d-g,e[3]=0,e[4]=c-v,e[5]=1-u-h,e[6]=p+m,e[7]=0,e[8]=d+g,e[9]=p-m,e[10]=1-u-f,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}t.exports=r},{}],19:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(e){if(d===clearTimeout)return clearTimeout(e);if((d===o||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=a(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,a,i;if(e=P(e,360),t=P(t,100),n=P(n,100),0===t)o=a=i=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),a=r(l,s,e),i=r(l,s,e-1/3)}return{r:255*o,g:255*a,b:255*i}}function l(e,t,n){e=P(e,255),t=P(t,255),n=P(n,255);var r,o,a=V(e,t,n),i=q(e,t,n),s=a,l=a-i;if(o=0===a?0:l/a,a==i)r=0;else{switch(a){case e:r=(t-n)/l+(t>1)+720)%360;--t;)o.h=(o.h+a)%360,i.push(r(o));return i}function E(e,t){t=t||6;for(var n=r(e).toHsv(),o=n.h,a=n.s,i=n.v,s=[],l=1/t;t--;)s.push(r({h:o,s:a,v:i})),i=(i+l)%1;return s}function T(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function k(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function P(e,n){D(e)&&(e="100%");var r=O(e);return e=q(n,V(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function M(e){return q(1,V(0,e))}function S(e){return parseInt(e,16)}function D(e){return"string"==typeof e&&e.indexOf(".")!=-1&&1===parseFloat(e)}function O(e){return"string"==typeof e&&e.indexOf("%")!=-1}function I(e){return 1==e.length?"0"+e:""+e}function L(e){return e<=1&&(e=100*e+"%"),e}function N(e){return t.round(255*parseFloat(e)).toString(16)}function B(e){return S(e)/255}function F(e){return!!Q.CSS_UNIT.exec(e)}function R(e){e=e.replace(z,"").replace(H,"").toLowerCase();var t=!1;if(Y[e])e=Y[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Q.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Q.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Q.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Q.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Q.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Q.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Q.hex8.exec(e))?{r:S(n[1]),g:S(n[2]),b:S(n[3]),a:B(n[4]),format:t?"name":"hex8"}:(n=Q.hex6.exec(e))?{r:S(n[1]),g:S(n[2]),b:S(n[3]),format:t?"name":"hex"}:(n=Q.hex4.exec(e))?{r:S(n[1]+""+n[1]),g:S(n[2]+""+n[2]),b:S(n[3]+""+n[3]),a:B(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=Q.hex3.exec(e))&&{r:S(n[1]+""+n[1]),g:S(n[2]+""+n[2]),b:S(n[3]+""+n[3]),format:t?"name":"hex"}}function j(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var z=/^\s+/,H=/\s+$/,U=0,W=t.round,q=t.min,V=t.max,G=t.random;r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,n,r,o,a,i,s=this.toRgb();return e=s.r/255,n=s.g/255,r=s.b/255,o=e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4),a=n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4),i=r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4),.2126*o+.7152*a+.0722*i},setAlpha:function(e){return this._a=k(e),this._roundA=W(100*this._a)/100,this},toHsv:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=l(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=i(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return c(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return f(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:W(this._r),g:W(this._g),b:W(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+W(this._r)+", "+W(this._g)+", "+W(this._b)+")":"rgba("+W(this._r)+", "+W(this._g)+", "+W(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:W(100*P(this._r,255))+"%",g:W(100*P(this._g,255))+"%",b:W(100*P(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+W(100*P(this._r,255))+"%, "+W(100*P(this._g,255))+"%, "+W(100*P(this._b,255))+"%)":"rgba("+W(100*P(this._r,255))+"%, "+W(100*P(this._g,255))+"%, "+W(100*P(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(K[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+d(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var a=r(e);n="#"+d(a._r,a._g,a._b,a._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0,o=!t&&r&&("hex"===e||"hex6"===e||"hex3"===e||"hex4"===e||"hex8"===e||"name"===e);return o?"name"===e&&0===this._a?this.toName():this.toRgbString():("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString())},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(y,arguments)},desaturate:function(){return this._applyModification(p,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(A,arguments)},monochromatic:function(){return this._applyCombination(E,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(x,arguments)},tetrad:function(){return this._applyCombination(_,arguments)}},r.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&("a"===o?n[o]=e[o]:n[o]=L(e[o]));e=n}return r(e,t)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:G(),g:G(),b:G()})},r.mix=function(e,t,n){n=0===n?0:n||50;var o=r(e).toRgb(),a=r(t).toRgb(),i=n/100,s={r:(a.r-o.r)*i+o.r,g:(a.g-o.g)*i+o.g,b:(a.b-o.b)*i+o.b,a:(a.a-o.a)*i+o.a};return r(s)},r.readability=function(e,n){var o=r(e),a=r(n);return(t.max(o.getLuminance(),a.getLuminance())+.05)/(t.min(o.getLuminance(),a.getLuminance())+.05)},r.isReadable=function(e,t,n){var o,a,i=r.readability(e,t);switch(a=!1,o=j(n),o.level+o.size){case"AAsmall":case"AAAlarge":a=i>=4.5;break;case"AAlarge":a=i>=3;break;case"AAAsmall":a=i>=7}return a},r.mostReadable=function(e,t,n){var o,a,i,s,l=null,u=0;n=n||{},a=n.includeFallbackColors,i=n.level,s=n.size;for(var c=0;cu&&(u=o,l=r(t[c]));return r.isReadable(e,l,{level:i,size:s})||!a?l:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var Y=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},K=r.hexNames=T(Y),Q=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();"undefined"!=typeof n&&n.exports?n.exports=r:"function"==typeof e&&e.amd?e(function(){return r}):window.tinycolor=r}(Math)},{}],21:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../color"),a=e("../../plots/cartesian/axes"),i=e("./attributes");t.exports=function(e,t,n,s,l){function u(n,o){return r.coerce(e,t,i,n,o)}s=s||{},l=l||{};var c=u("visible",!l.itemIsNotPlainObject),f=u("clicktoshow");if(!c&&!f)return t;u("opacity"),u("align"),u("bgcolor");var d=u("bordercolor"),p=o.opacity(d);u("borderpad");var h=u("borderwidth"),m=u("showarrow");u("text",m?" ":"new text"),u("textangle"),r.coerceFont(u,"font",n.font);for(var g=["x","y"],v=[-10,-30],y={_fullLayout:n},b=0;b<2;b++){var A=g[b],x=a.coerceRef(e,t,y,A,"","paper");if(a.coercePosition(t,y,u,x,A,.5),m){var _="a"+A,w=a.coerceRef(e,t,y,_,"pixel");"pixel"!==w&&w!==x&&(w=t[_]="pixel");var C="pixel"===w?v[b]:.4;a.coercePosition(t,y,u,w,_,C)}u(A+"anchor")}if(r.noneOrAll(e,t,["x","y"]),m&&(u("arrowcolor",p?t.bordercolor:o.defaultLine),u("arrowhead"),u("arrowsize"),u("arrowwidth",2*(p&&h||1)),u("standoff"),r.noneOrAll(e,t,["ax","ay"])),f){var E=u("xclick"),T=u("yclick");t._xclick=void 0===E?t.x:E,t._yclick=void 0===T?t.y:T}return t}},{"../../lib":123,"../../plots/cartesian/axes":152,"../color":31,"./attributes":23}],22:[function(e,t,n){"use strict";t.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0},{path:"M2,2V-2H-2V2Z",backoff:0}]},{}],23:[function(e,t,n){"use strict";var r=e("./arrow_paths"),o=e("../../plots/font_attributes"),a=e("../../plots/cartesian/constants"),i=e("../../lib/extend").extendFlat;t.exports={_isLinkedToArray:"annotation",visible:{valType:"boolean",dflt:!0},text:{valType:"string"},textangle:{valType:"angle",dflt:0},font:i({},o,{}),opacity:{valType:"number",min:0,max:1,dflt:1},align:{valType:"enumerated",values:["left","center","right"],dflt:"center"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)"},borderpad:{valType:"number",min:0,dflt:1},borderwidth:{valType:"number",min:0,dflt:1},showarrow:{valType:"boolean",dflt:!0},arrowcolor:{valType:"color"},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1},arrowsize:{valType:"number",min:.3,dflt:1},arrowwidth:{valType:"number",min:.1},standoff:{valType:"number",min:0,dflt:0},ax:{valType:"any"},ay:{valType:"any"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.x.toString()]},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",a.idRegex.y.toString()]},xref:{valType:"enumerated",values:["paper",a.idRegex.x.toString()]},x:{valType:"any"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yref:{valType:"enumerated",values:["paper",a.idRegex.y.toString()]},y:{valType:"any"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1},xclick:{valType:"any"},yclick:{valType:"any"},_deprecated:{ref:{valType:"string"}}}},{"../../lib/extend":120,"../../plots/cartesian/constants":157,"../../plots/font_attributes":172,"./arrow_paths":22}],24:[function(e,t,n){"use strict";function r(e){var t=e._fullLayout;o.filterVisible(t.annotations).forEach(function(t){var n=a.getFromId(e,t.xref),r=a.getFromId(e,t.yref),o=3*t.arrowsize*t.arrowwidth||0;n&&n.autorange&&(t.axref===t.xref?(a.expand(n,[n.r2c(t.x)],{ppadplus:o,ppadminus:o}),a.expand(n,[n.r2c(t.ax)],{ppadplus:t._xpadplus,ppadminus:t._xpadminus})):a.expand(n,[n.r2c(t.x)],{ppadplus:Math.max(t._xpadplus,o),ppadminus:Math.max(t._xpadminus,o)})),r&&r.autorange&&(t.ayref===t.yref?(a.expand(r,[r.r2c(t.y)],{ppadplus:o,ppadminus:o}),a.expand(r,[r.r2c(t.ay)],{ppadplus:t._ypadplus,ppadminus:t._ypadminus})):a.expand(r,[r.r2c(t.y)],{ppadplus:Math.max(t._ypadplus,o),ppadminus:Math.max(t._ypadminus,o)}))})}var o=e("../../lib"),a=e("../../plots/cartesian/axes"),i=e("./draw").draw;t.exports=function(e){var t=e._fullLayout,n=o.filterVisible(t.annotations);if(n.length&&e._fullData.length){var s={};n.forEach(function(e){s[e.xref]=!0,s[e.yref]=!0});var l=a.list(e).filter(function(e){return e.autorange&&s[e._id]});if(l.length)return o.syncOrAsync([i,r],e)}}},{"../../lib":123,"../../plots/cartesian/axes":152,"./draw":27}],25:[function(e,t,n){"use strict";function r(e,t){var n=a(e,t);return n.on.length>0||n.explicitOff.length>0}function o(e,t){var n,r=a(e,t),o=r.on,s=r.off.concat(r.explicitOff),l={};if(o.length||s.length){for(n=0;n2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}re.selectAll("tspan.line").attr({y:0,x:0});var r=Z.select(".annotation-math-group"),o=!r.empty(),s=p.bBox((o?r:re).node()),u=s.width,h=s.height,v=Math.round(u+2*ee),y=Math.round(h+2*ee);q._w=u,q._h=h;var A=!1;if(["x","y"].forEach(function(t){var r,o,a,i,s,l=q[t+"ref"]||t,u=q["a"+t+"ref"],d=f.getFromId(e,l),p=(K+("x"===t?0:-90))*Math.PI/180,h=v*Math.cos(p),m=y*Math.sin(p),g=Math.abs(h)+Math.abs(m),b=q[t+"anchor"],x=Y[t];if(d){var _=d.r2fraction(q[t]);if((e._dragging||!d.autorange)&&(_<0||_>1)&&(u===l?(_=d.r2fraction(q["a"+t]),(_<0||_>1)&&(A=!0)):A=!0,A))return;r=d._offset+d.r2p(q[t]),i=.5}else"x"===t?(a=q[t],r=D.l+D.w*a):(a=1-q[t],r=D.t+D.h*a),i=q.showarrow?.5:a;if(q.showarrow){x.head=r;var w=q["a"+t];s=h*n(.5,q.xanchor)-m*n(.5,q.yanchor),u===l?(x.tail=d._offset+d.r2p(w),o=s):(x.tail=r+w,o=s+w),x.text=x.tail+s;var E=C["x"===t?"width":"height"];if("paper"===l&&(x.head=c.constrain(x.head,1,E-1)),"pixel"===u){var T=-Math.max(x.tail-3,x.text),k=Math.min(x.tail+3,x.text)-E;T>0?(x.tail+=T,x.text+=T):k>0&&(x.tail-=k,x.text-=k)}}else s=g*n(i,b),o=s,x.text=r+s;q["_"+t+"padplus"]=g/2+o,q["_"+t+"padminus"]=g/2-o,q["_"+t+"type"]=d&&d.type}),A)return void Z.remove();if(o)r.select("svg").attr({x:ee-1,y:ee});else{var x=ee-s.top,_=ee-s.left;re.attr({x:_,y:x}),re.selectAll("tspan.line").attr({y:x,x:_})}te.call(p.setRect,J/2,J/2,v-J,y-J),Z.call(c.setTranslate,Math.round(Y.x.text-v/2),Math.round(Y.y.text-y/2)),X.attr({transform:"rotate("+K+","+Y.x.text+","+Y.y.text+")"});var w="annotations["+t+"]",E=function(n,r){i.select(e).selectAll('.annotation-arrow-g[data-index="'+t+'"]').remove();var o=Y.x.head,s=Y.y.head,u=Y.x.tail+n,f=Y.y.tail+r,p=Y.x.text+n,h=Y.y.text+r,m=c.rotationXYMatrix(K,p,h),v=c.apply2DTransform(m),y=c.apply2DTransform2(m),A=+te.attr("width"),x=+te.attr("height"),_=p-.5*A,C=_+A,E=h-.5*x,T=E+x,k=[[_,E,_,T],[_,T,C,T],[C,T,C,E],[C,E,_,E]].map(y);if(!k.reduce(function(e,t){return e^!!a(o,s,o+1e6,s+1e6,t[0],t[1],t[2],t[3])},!1)){k.forEach(function(e){var t=a(u,f,o,s,e[0],e[1],e[2],e[3]);t&&(u=t.x,f=t.y)});var P=q.arrowwidth,M=q.arrowcolor,S=Q.append("g").style({opacity:d.opacity(M)}).classed("annotation-arrow-g",!0).attr("data-index",String(t)),O=S.append("path").attr("d","M"+u+","+f+"L"+o+","+s).style("stroke-width",P+"px").call(d.stroke,d.rgb(M));if(b(O,q.arrowhead,"end",q.arrowsize,q.standoff),e._context.editable&&O.node().parentNode){var I=o,L=s;if(q.standoff){var N=Math.sqrt(Math.pow(o-u,2)+Math.pow(s-f,2));I+=q.standoff*(u-o)/N,L+=q.standoff*(f-s)/N}var B,F,R,j=S.append("path").classed("annotation",!0).classed("anndrag",!0).attr({"data-index":String(t),d:"M3,3H-3V-3H3ZM0,0L"+(u-I)+","+(f-L),transform:"translate("+I+","+L+")"}).style("stroke-width",P+6+"px").call(d.stroke,"rgba(0,0,0,0)").call(d.fill,"rgba(0,0,0,0)");g.init({element:j.node(),prepFn:function(){var e=c.getTranslate(Z);F=e.x,R=e.y,B={},V&&V.autorange&&(B[V._name+".autorange"]=!0),G&&G.autorange&&(B[G._name+".autorange"]=!0)},moveFn:function(e,t){var n=v(F,R),r=n[0]+e,a=n[1]+t;Z.call(c.setTranslate,r,a),B[w+".x"]=V?V.p2r(V.r2p(q.x)+e):(o+e-D.l)/D.w,B[w+".y"]=G?G.p2r(G.r2p(q.y)+t):1-(s+t-D.t)/D.h,q.axref===q.xref&&(B[w+".ax"]=V?V.p2r(V.r2p(q.ax)+e):(o+e-D.l)/D.w),q.ayref===q.yref&&(B[w+".ay"]=G?G.p2r(G.r2p(q.ay)+t):1-(s+t-D.t)/D.h),S.attr("transform","translate("+e+","+t+")"),X.attr({transform:"rotate("+K+","+r+","+a+")"})},doneFn:function(t){if(t){l.relayout(e,B);var n=document.querySelector(".js-notes-box-panel");n&&n.redraw(n.selectedObj)}}})}}};if(q.showarrow&&E(0,0),e._context.editable){var T,k;g.init({element:Z.node(),prepFn:function(){k=X.attr("transform"),T={}},moveFn:function(e,t){var n="pointer";if(q.showarrow)q.axref===q.xref?T[w+".ax"]=V.p2r(V.r2p(q.ax)+e):T[w+".ax"]=q.ax+e,q.ayref===q.yref?T[w+".ay"]=G.p2r(G.r2p(q.ay)+t):T[w+".ay"]=q.ay+t,E(e,t);else{if(V)T[w+".x"]=q.x+e/V._m;else{var r=q._xsize/D.w,o=q.x+q._xshift/D.w-r/2;T[w+".x"]=g.align(o+e/D.w,r,0,1,q.xanchor)}if(G)T[w+".y"]=q.y+t/G._m;else{var a=q._ysize/D.h,i=q.y-q._yshift/D.h-a/2;T[w+".y"]=g.align(i-t/D.h,a,0,1,q.yanchor)}V&&G||(n=g.getCursor(V?.5:T[w+".x"],G?.5:T[w+".y"],q.xanchor,q.yanchor))}X.attr({transform:"translate("+e+","+t+")"+k}),m(Z,n)},doneFn:function(t){if(m(Z),t){l.relayout(e,T);var n=document.querySelector(".js-notes-box-panel");n&&n.redraw(n.selectedObj)}}})}}var _,w=e.layout,C=e._fullLayout;if(!s(t)||t===-1){if(!t&&Array.isArray(u))return w.annotations=u,y(w,C),void r(e);if("remove"===u)return delete w.annotations,C.annotations=[],void r(e);if(n&&"add"!==u){for(_=0;_t;_--)C._infolayer.selectAll('.annotation[data-index="'+(_-1)+'"]').attr("data-index",String(_)),o(e,_)}}C._infolayer.selectAll('.annotation[data-index="'+t+'"]').remove();var T=w.annotations[t],k=C.annotations[t];if(T){var P={};"string"==typeof n&&n?P[n]=u:c.isPlainObject(n)&&(P=n);var M=Object.keys(P);for(_=0;_4/3&&(F=U)}}else B&&(j&&(F<1/3?F+=H:F>2/3&&(F-=H)),F=(F-B.domain[0])/(B.domain[1]-B.domain[0]),F=B.fraction2r(F))}B&&B===N&&R&&("log"===R&&"log"!==B.type?F=Math.pow(10,F):"log"!==R&&"log"===B.type&&(F=F>0?Math.log(F)/Math.LN10:void 0)),T[L]=F}}var q={};v(T,q,C),C.annotations[t]=q;var V=f.getFromId(e,q.xref),G=f.getFromId(e,q.yref),Y={x:{},y:{}},K=+q.textangle||0,Q=C._infolayer.append("g").classed("annotation",!0).attr("data-index",String(t)).style("opacity",q.opacity).on("click",function(){e._dragging=!1,e.emit("plotly_clickannotation",{index:t,annotation:T,fullAnnotation:q})}),X=Q.append("g").classed("annotation-text-g",!0).attr("data-index",String(t)),Z=X.append("g"),J=q.borderwidth,$=q.borderpad,ee=J+$,te=Z.append("rect").attr("class","bg").style("stroke-width",J+"px").call(d.stroke,q.bordercolor).call(d.fill,q.bgcolor),ne=q.font,re=Z.append("text").classed("annotation",!0).attr("data-unformatted",q.text).text(q.text);e._context.editable?re.call(h.makeEditable,Z).call(A).on("edit",function(n){q.text=n,this.attr({"data-unformatted":q.text}),this.call(A);var r={};r["annotations["+t+"].text"]=q.text,V&&V.autorange&&(r[V._name+".autorange"]=!0),G&&G.autorange&&(r[G._name+".autorange"]=!0),l.relayout(e,r)}):re.call(A)}}}function a(e,t,n,r,o,a,i,s){var l=n-e,u=o-e,c=i-o,f=r-t,d=a-t,p=s-a,h=l*p-c*f;if(0===h)return null;var m=(u*p-c*d)/h,g=(u*f-l*d)/h;return g<0||g>1||m<0||m>1?null:{x:e+l*m,y:t+f*m}}var i=e("d3"),s=e("fast-isnumeric"),l=e("../../plotly"),u=e("../../plots/plots"),c=e("../../lib"),f=e("../../plots/cartesian/axes"),d=e("../color"),p=e("../drawing"),h=e("../../lib/svg_text_utils"),m=e("../../lib/setcursor"),g=e("../dragelement"),v=e("./annotation_defaults"),y=e("./defaults"),b=e("./draw_arrow_head");t.exports={draw:r,drawOne:o}},{"../../lib":123,"../../lib/setcursor":135,"../../lib/svg_text_utils":137,"../../plotly":147,"../../plots/cartesian/axes":152,"../../plots/plots":176,"../color":31,"../dragelement":52,"../drawing":54,"./annotation_defaults":21,"./defaults":26,"./draw_arrow_head":28,d3:14,"fast-isnumeric":17}],28:[function(e,t,n){"use strict";var r=e("d3"),o=e("fast-isnumeric"),a=e("../color"),i=e("../drawing"),s=e("./arrow_paths");t.exports=function(e,t,n,l,u){function c(){e.style("stroke-dasharray","0px,100px")}function f(n,o){p.path&&(t>5&&(o=0),r.select(d.parentElement).append("path").attr({class:e.attr("class"),d:p.path,transform:"translate("+n.x+","+n.y+")rotate("+180*o/Math.PI+")scale("+y+")"}).style({fill:b,opacity:A,"stroke-width":0}))}o(l)||(l=1);var d=e.node(),p=s[t||0];"string"==typeof n&&n||(n="end");var h,m,g,v,y=(i.getPx(e,"stroke-width")||1)*l,b=e.style("stroke")||a.defaultLine,A=e.style("stroke-opacity")||1,x=n.indexOf("start")>=0,_=n.indexOf("end")>=0,w=p.backoff*y+u;if("line"===d.nodeName){h={x:+e.attr("x1"),y:+e.attr("y1")},m={x:+e.attr("x2"),y:+e.attr("y2")};var C=h.x-m.x,E=h.y-m.y;if(g=Math.atan2(E,C),v=g+Math.PI,w){if(w*w>C*C+E*E)return void c();var T=w*Math.cos(g),k=w*Math.sin(g);x&&(h.x-=T,h.y-=k,e.attr({x1:h.x,y1:h.y})),_&&(m.x+=T,m.y+=k,e.attr({x2:m.x,y2:m.y}))}}else if("path"===d.nodeName){var P=d.getTotalLength(),M="";if(P=0))return e;if(3===i)r[i]>1&&(r[i]=1);else if(r[i]>=1)return e}var s=Math.round(255*r[0])+", "+Math.round(255*r[1])+", "+Math.round(255*r[2]);return o?"rgba("+s+", "+r[3]+")":"rgb("+s+")"}var o=e("tinycolor2"),a=e("fast-isnumeric"),i=t.exports={},s=e("./attributes");i.defaults=s.defaults,i.defaultLine=s.defaultLine,i.lightLine=s.lightLine,i.background=s.background,i.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},i.rgb=function(e){return i.tinyRGB(o(e))},i.opacity=function(e){return e?o(e).getAlpha():0},i.addOpacity=function(e,t){var n=o(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},i.combine=function(e,t){var n=o(e).toRgb();if(1===n.a)return o(e).toRgbString();var r=o(t||i.background).toRgb(),a=1===r.a?r:{r:255*(1-r.a)+r.r*r.a,g:255*(1-r.a)+r.g*r.a,b:255*(1-r.a)+r.b*r.a},s={r:a.r*(1-n.a)+n.r*n.a,g:a.g*(1-n.a)+n.g*n.a,b:a.b*(1-n.a)+n.b*n.a};return o(s).toRgbString()},i.contrast=function(e,t,n){var r=o(e),a=r.isLight()?r.darken(n):r.lighten(t);return a.toString()},i.stroke=function(e,t){var n=o(t);e.style({stroke:i.tinyRGB(n),"stroke-opacity":n.getAlpha()})},i.fill=function(e,t){var n=o(t);e.style({fill:i.tinyRGB(n),"fill-opacity":n.getAlpha()})},i.clean=function(e){if(e&&"object"==typeof e){var t,n,o,a,s=Object.keys(e);for(t=0;ts&&(a[1]-=(se-s)/2)):n.node()&&!n.classed("js-placeholder")&&(se=p.bBox(t.node()).height),se){if(se+=5,"top"===x.titleside)$.domain[1]-=se/T.h,a[1]*=-1;else{$.domain[0]+=se/T.h;var u=Math.max(1,n.selectAll("tspan.line").size());a[1]+=(1-u)*s}t.attr("transform","translate("+a+")"),$.setScale()}}ae.selectAll(".cbfills,.cblines,.cbaxis").attr("transform","translate(0,"+Math.round(T.h*(1-$.domain[1]))+")");var f=ae.select(".cbfills").selectAll("rect.cbfill").data(S);f.enter().append("rect").classed("cbfill",!0).style("stroke","none"),f.exit().remove(),f.each(function(e,t){var n=[0===t?P[0]:(S[t]+S[t-1])/2,t===S.length-1?P[1]:(S[t]+S[t+1])/2].map($.c2p).map(Math.round);t!==S.length-1&&(n[1]+=n[1]>n[0]?1:-1);var a=O(e).replace("e-",""),i=o(a).toHexString();r.select(this).attr({x:Y,width:Math.max(z,2),y:r.min(n),height:Math.max(r.max(n)-r.min(n),2),fill:i})});var d=ae.select(".cblines").selectAll("path.cbline").data(x.line.color&&x.line.width?M:[]);return d.enter().append("path").classed("cbline",!0),d.exit().remove(),d.each(function(e){r.select(this).attr("d","M"+Y+","+(Math.round($.c2p(e))+x.line.width/2%1)+"h"+z).call(p.lineGroupStyle,x.line.width,D(e),x.line.dash)}),$._axislayer.selectAll("g."+$._id+"tick,path").remove(),$._pos=Y+z+(x.outlinewidth||0)/2-("outside"===x.ticks?1:0),$.side="right",c.syncOrAsync([function(){return l.doTicks(e,$,!0)},function(){if(["top","bottom"].indexOf(x.titleside)===-1){var t=$.titlefont.size,n=$._offset+$._length/2,o=T.l+($.position||0)*T.w+("right"===$.side?10+t*($.showticklabels?1:.5):-10-t*($.showticklabels?.5:0));w("h"+$._id+"title",{avoid:{selection:r.select(e).selectAll("g."+$._id+"tick"),side:x.titleside,offsetLeft:T.l,offsetTop:T.t,maxShift:E.width},attributes:{x:o,y:n,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}}])}function w(t,n){var r,o=A();r=s.traceIs(o,"markerColorscale")?"marker.colorbar.title":"colorbar.title";var a={propContainer:$,propName:r,traceIndex:o.index,dfltName:"colorscale",containerGroup:ae.select(".cbtitle")},i="h"===t.charAt(0)?t.substr(1):"h"+t;ae.selectAll("."+i+",."+i+"-math-group").remove(),m.draw(e,t,f(a,n||{}))}function C(){var n=z+x.outlinewidth/2+p.bBox($._axislayer.node()).width;if(F=ie.select("text"),F.node()&&!F.classed("js-placeholder")){var r,o=ie.select(".h"+$._id+"title-math-group").node();r=o&&["top","bottom"].indexOf(x.titleside)!==-1?p.bBox(o).width:p.bBox(ie.node()).right-Y-T.l,n=Math.max(n,r)}var a=2*x.xpad+n+x.borderwidth+x.outlinewidth/2,s=X-Z;ae.select(".cbbg").attr({x:Y-x.xpad-(x.borderwidth+x.outlinewidth)/2,y:Z-V,width:Math.max(a,2),height:Math.max(s+2*V,2)}).call(h.fill,x.bgcolor).call(h.stroke,x.bordercolor).style({"stroke-width":x.borderwidth}),ae.selectAll(".cboutline").attr({x:Y,y:Z+x.ypad+("top"===x.titleside?se:0),width:Math.max(z,2),height:Math.max(s-2*x.ypad-se,2)}).call(h.stroke,x.outlinecolor).style({fill:"None","stroke-width":x.outlinewidth});var l=({center:.5,right:1}[x.xanchor]||0)*a;ae.attr("transform","translate("+(T.l-l)+","+T.t+")"),i.autoMargin(e,t,{x:x.x,y:x.y,l:a*({right:1,center:.5}[x.xanchor]||0),r:a*({left:1,center:.5}[x.xanchor]||0),t:s*({bottom:1,middle:.5}[x.yanchor]||0),b:s*({top:1,middle:.5}[x.yanchor]||0)})}var E=e._fullLayout,T=E._size;if("function"!=typeof x.fillcolor&&"function"!=typeof x.line.color)return void E._infolayer.selectAll("g."+t).remove();var k,P=r.extent(("function"==typeof x.fillcolor?x.fillcolor:x.line.color).domain()),M=[],S=[],D="function"==typeof x.line.color?x.line.color:function(){return x.line.color},O="function"==typeof x.fillcolor?x.fillcolor:function(){return x.fillcolor},I=x.levels.end+x.levels.size/100,L=x.levels.size,N=1.001*P[0]-.001*P[1],B=1.001*P[1]-.001*P[0];for(k=x.levels.start;(k-I)*L<0;k+=L)k>N&&kP[0]&&k1){var oe=Math.pow(10,Math.floor(Math.log(re)/Math.LN10));te*=oe*c.roundUp(re/oe,[2,5,10]),(Math.abs(x.levels.start)/x.levels.size+1e-6)%1<2e-6&&($.tick0=0)}$.dtick=te}$.domain=[Q+G,Q+W-G],$.setScale();var ae=E._infolayer.selectAll("g."+t).data([0]);ae.enter().append("g").classed(t,!0).each(function(){var e=r.select(this);e.append("rect").classed("cbbg",!0),e.append("g").classed("cbfills",!0),e.append("g").classed("cblines",!0),e.append("g").classed("cbaxis",!0).classed("crisp",!0),e.append("g").classed("cbtitleunshift",!0).append("g").classed("cbtitle",!0),e.append("rect").classed("cboutline",!0),e.select(".cbtitle").datum(0)}),ae.attr("transform","translate("+Math.round(T.l)+","+Math.round(T.t)+")");var ie=ae.select(".cbtitleunshift").attr("transform","translate(-"+Math.round(T.l)+",-"+Math.round(T.t)+")");$._axislayer=ae.select(".cbaxis");var se=0;if(["top","bottom"].indexOf(x.titleside)!==-1){var le,ue=T.l+(x.x+q)*T.w,ce=$.titlefont.size;le="top"===x.titleside?(1-(Q+W-G))*T.h+T.t+3+.75*ce:(1-(Q+G))*T.h+T.t-3-.25*ce,w($._id+"title",{attributes:{x:ue,y:le,"text-anchor":"start"}})}var fe=c.syncOrAsync([i.previousPromises,_,i.previousPromises,C],e);if(fe&&fe.then&&(e._promises||[]).push(fe),e._context.editable){var de,pe,he;u.init({element:ae.node(),prepFn:function(){de=ae.attr("transform"),d(ae)},moveFn:function(e,t){ae.attr("transform",de+" translate("+e+","+t+")"),pe=u.align(K+e/T.w,H,0,1,x.xanchor),he=u.align(Q-t/T.h,W,0,1,x.yanchor);var n=u.getCursor(pe,he,x.xanchor,x.yanchor);d(ae,n)},doneFn:function(t){d(ae),t&&void 0!==pe&&void 0!==he&&a.restyle(e,{"colorbar.x":pe,"colorbar.y":he},A().index)}})}return fe}function A(){var n,r,o=t.substr(2);for(n=0;n=0?o.Reds:o.Blues,l.colorscale=d,s.reversescale&&(d=a(d)),s.colorscale=d)}},{"../../lib":123,"./flip_scale":42,"./scales":49}],38:[function(e,t,n){"use strict";var r=e("./attributes"),o=e("../../lib/extend").extendDeep;e("./scales.js");t.exports=function(e){return{color:{valType:"color",arrayOk:!0},colorscale:o({},r.colorscale,{}),cauto:o({},r.zauto,{}),cmax:o({},r.zmax,{}),cmin:o({},r.zmin,{}),autocolorscale:o({},r.autocolorscale,{}),reversescale:o({},r.reversescale,{})}}},{"../../lib/extend":120,"./attributes":36,"./scales.js":49}],39:[function(e,t,n){"use strict";var r=e("./scales");t.exports=r.RdBu},{"./scales":49}],40:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),a=e("../colorbar/has_colorbar"),i=e("../colorbar/defaults"),s=e("./is_valid_scale"),l=e("./flip_scale");t.exports=function(e,t,n,u,c){var f=c.prefix,d=c.cLetter,p=f.slice(0,f.length-1),h=f?o.nestedProperty(e,p).get()||{}:e,m=f?o.nestedProperty(t,p).get()||{}:t,g=h[d+"min"],v=h[d+"max"],y=h.colorscale,b=r(g)&&r(v)&&g=0;o--,a++)t=e[o],r[a]=[1-t[0],t[1]];return r}},{}],43:[function(e,t,n){"use strict";var r=e("./scales"),o=e("./default_scale"),a=e("./is_valid_scale_array");t.exports=function(e,t){function n(){try{e=r[e]||JSON.parse(e)}catch(n){e=t}}return t||(t=o),e?("string"==typeof e&&(n(),"string"==typeof e&&n()),a(e)?e:t):t}},{"./default_scale":39,"./is_valid_scale_array":47,"./scales":49}],44:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),a=e("./is_valid_scale");t.exports=function(e,t){var n=t?o.nestedProperty(e,t).get()||{}:e,i=n.color,s=!1;if(Array.isArray(i))for(var l=0;l4/3-s?i:s}},{}],51:[function(e,t,n){"use strict";var r=e("../../lib"),o=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];t.exports=function(e,t,n,a){return e="left"===n?0:"center"===n?1:"right"===n?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===a?0:"middle"===a?1:"top"===a?2:r.constrain(Math.floor(3*t),0,2),o[t][e]}},{"../../lib":123}],52:[function(e,t,n){"use strict";function r(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function o(e){e._dragging=!1,e._replotPending&&a.plot(e)}var a=e("../../plotly"),i=e("../../lib"),s=e("../../plots/cartesian/constants"),l=t.exports={};l.align=e("./align"),l.getCursor=e("./cursor");var u=e("./unhover");l.unhover=u.wrapped,l.unhoverRaw=u.raw,l.init=function(e){function t(t){return e.element.onmousemove=h,m._dragged=!1,m._dragging=!0,u=t.clientX,c=t.clientY,p=t.target,f=(new Date).getTime(),f-m._mouseDownTimev&&(g=Math.max(g-1,1)),e.doneFn&&e.doneFn(m._dragged,g),!m._dragged){var n=document.createEvent("MouseEvents");n.initEvent("click",!0,!0),p.dispatchEvent(n)}return o(m),m._dragged=!1,i.pauseEvent(t)}var u,c,f,d,p,h,m=i.getPlotDiv(e.element)||{},g=1,v=s.DBLCLICKDELAY;m._mouseDownTime||(m._mouseDownTime=0),h=e.element.onmousemove,e.setCursor&&(e.element.onmousemove=e.setCursor),e.element.onmousedown=t,e.element.style.pointerEvents="all"},l.coverSlip=r},{"../../lib":123,"../../plotly":147,"../../plots/cartesian/constants":157,"./align":50,"./cursor":51,"./unhover":53}],53:[function(e,t,n){"use strict";var r=e("../../lib/events"),o=t.exports={};o.wrapped=function(e,t,n){"string"==typeof e&&(e=document.getElementById(e)),e._hoverTimer&&(clearTimeout(e._hoverTimer),e._hoverTimer=void 0),o.raw(e,t,n)},o.raw=function(e,t){var n=e._fullLayout;t||(t={}),t.target&&r.triggerHandler(e,"plotly_beforehover",t)===!1||(n._hoverlayer.selectAll("g").remove(),t.target&&e._hoverdata&&e.emit("plotly_unhover",{points:e._hoverdata}),e._hoverdata=void 0)}},{"../../lib/events":119}],54:[function(e,t,n){"use strict";function r(e,t,n,r,o,a,i){if(s.traceIs(n,"symbols")){var u=h(n);t.attr("d",function(e){var t;t="various"===e.ms||"various"===a.size?3:p.isBubble(n)?u(e.ms):(a.size||6)/2,e.mrc=t;var r=m.symbolNumber(e.mx||a.symbol)||0,o=r%100;return e.om=r%200>=100,m.symbolFuncs[o](t)+(r>=200?y:"")}).style("opacity",function(e){return(e.mo+1||a.opacity+1)-1})}var c,f,d;e.so?(d=i.outlierwidth,f=i.outliercolor,c=a.outliercolor):(d=(e.mlw+1||i.width+1||(e.trace?e.trace.marker.line.width:0)+1)-1,f="mlc"in e?e.mlcc=o(e.mlc):Array.isArray(i.color)?l.defaultLine:i.color,c="mc"in e?e.mcc=r(e.mc):Array.isArray(a.color)?l.defaultLine:a.color||"rgba(0,0,0,0)"),e.om?t.call(l.stroke,c).style({"stroke-width":(d||1)+"px",fill:"none"}):(t.style("stroke-width",d+"px").call(l.fill,c),d&&t.call(l.stroke,f))}function o(e,t,n,r){var o=e[0]-t[0],i=e[1]-t[1],s=n[0]-t[0],l=n[1]-t[1],u=Math.pow(o*o+i*i,x/2),c=Math.pow(s*s+l*l,x/2),f=(c*c*o-u*u*s)*r,d=(c*c*i-u*u*l)*r,p=3*c*(u+c),h=3*u*(u+c);return[[a.round(t[0]+(p&&f/p),2),a.round(t[1]+(p&&d/p),2)],[a.round(t[0]-(h&&f/h),2),a.round(t[1]-(h&&d/h),2)]]}var a=e("d3"),i=e("fast-isnumeric"),s=e("../../registry"),l=e("../color"),u=e("../colorscale"),c=e("../../lib"),f=e("../../lib/svg_text_utils"),d=e("../../constants/xmlns_namespaces"),p=e("../../traces/scatter/subtypes"),h=e("../../traces/scatter/make_bubble_size_func"),m=t.exports={};m.font=function(e,t,n,r){t&&t.family&&(r=t.color,n=t.size,t=t.family),t&&e.style("font-family",t),n+1&&e.style("font-size",n+"px"),r&&e.call(l.fill,r)},m.setPosition=function(e,t,n){e.attr("x",t).attr("y",n)},m.setSize=function(e,t,n){e.attr("width",t).attr("height",n)},m.setRect=function(e,t,n,r,o){e.call(m.setPosition,t,n).call(m.setSize,r,o)},m.translatePoint=function(e,t,n,r){var o=e.xp||n.c2p(e.x),a=e.yp||r.c2p(e.y);i(o)&&i(a)?"text"===t.node().nodeName?t.attr("x",o).attr("y",a):t.attr("transform","translate("+o+","+a+")"):t.remove()},m.translatePoints=function(e,t,n,r){e.each(function(e){var o=a.select(this);m.translatePoint(e,o,t,n,r)})},m.getPx=function(e,t){return Number(e.style(t).replace(/px$/,""))},m.crispRound=function(e,t,n){return t&&i(t)?e._context.staticPlot?t:t<1?1:Math.round(t):n||0},m.singleLineStyle=function(e,t,n,r,o){t.style("fill","none");var a=(((e||[])[0]||{}).trace||{}).line||{},i=n||a.width||0,s=o||a.dash||"";l.stroke(t,r||a.color),m.dashLine(t,s,i)},m.lineGroupStyle=function(e,t,n,r){e.style("fill","none").each(function(e){var o=(((e||[])[0]||{}).trace||{}).line||{},i=t||o.width||0,s=r||o.dash||"";a.select(this).call(l.stroke,n||o.color).call(m.dashLine,s,i)})},m.dashLine=function(e,t,n){var r=Math.max(n,3);"solid"===t?t="":"dot"===t?t=r+"px,"+r+"px":"dash"===t?t=3*r+"px,"+3*r+"px":"longdash"===t?t=5*r+"px,"+5*r+"px":"dashdot"===t?t=3*r+"px,"+r+"px,"+r+"px,"+r+"px":"longdashdot"===t&&(t=5*r+"px,"+2*r+"px,"+r+"px,"+2*r+"px"),e.style({"stroke-dasharray":t,"stroke-width":n+"px"})},m.fillGroupStyle=function(e){e.style("stroke-width",0).each(function(t){var n=a.select(this);try{n.call(l.fill,t[0].trace.fillcolor)}catch(t){c.error(t,e),n.remove()}})};var g=e("./symbol_defs");m.symbolNames=[],m.symbolFuncs=[],m.symbolNeedLines={},m.symbolNoDot={},m.symbolList=[],Object.keys(g).forEach(function(e){var t=g[e];m.symbolList=m.symbolList.concat([t.n,e,t.n+100,e+"-open"]),m.symbolNames[t.n]=e,m.symbolFuncs[t.n]=t.f,t.needLine&&(m.symbolNeedLines[t.n]=!0),t.noDot?m.symbolNoDot[t.n]=!0:m.symbolList=m.symbolList.concat([t.n+200,e+"-dot",t.n+300,e+"-open-dot"])});var v=m.symbolNames.length,y="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";m.symbolNumber=function(e){if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),e=m.symbolNames.indexOf(e),e>=0&&(e+=t)}return e%100>=v||e>=400?0:Math.floor(Math.max(e,0))},m.singlePointStyle=function(e,t,n){var o=n.marker,a=o.line,i=m.tryColorscale(o,""),s=m.tryColorscale(o,"line");r(e,t,n,i,s,o,a)},m.pointStyle=function(e,t){if(e.size()){var n=t.marker,r=m.tryColorscale(n,""),o=m.tryColorscale(n,"line");e.each(function(e){m.singlePointStyle(e,a.select(this),t,r,o)})}},m.tryColorscale=function(e,t){var n=t?c.nestedProperty(e,t).get():e,r=n.colorscale,o=n.color;return r&&Array.isArray(o)?u.makeColorScaleFunc(u.extractScale(r,n.cmin,n.cmax)):c.identity};var b={start:1,end:-1,middle:0,bottom:1,top:-1},A=1.3;m.textPointStyle=function(e,t){e.each(function(e){var n=a.select(this),r=e.tx||t.text;if(!r||Array.isArray(r))return void n.remove();var o=e.tp||t.textposition,s=o.indexOf("top")!==-1?"top":o.indexOf("bottom")!==-1?"bottom":"middle",l=o.indexOf("left")!==-1?"end":o.indexOf("right")!==-1?"start":"middle",u=e.ts||t.textfont.size,c=e.mrc?e.mrc/.8+1:0;u=i(u)&&u>0?u:0,n.call(m.font,e.tf||t.textfont.family,u,e.tc||t.textfont.color).attr("text-anchor",l).text(r).call(f.convertToTspans);var d=a.select(this.parentNode),p=n.selectAll("tspan.line"),h=((p[0].length||1)-1)*A+1,g=b[l]*c,v=.75*u+b[s]*c+(b[s]-1)*h*u/2;d.attr("transform","translate("+g+","+v+")"),h>1&&p.attr({x:n.attr("x"),y:n.attr("y")})})};var x=.5;m.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var n,r="M"+e[0],a=[];for(n=1;n=E&&(a.selectAll("[data-bb]").attr("data-bb",null),C=[]),e.setAttribute("data-bb",C.length),C.push(l),c.extendFlat({},l)},m.setClipUrl=function(e,t){if(!t)return void e.attr("clip-path",null);var n="#"+t,r=a.select("base");r.size()&&r.attr("href")&&(n=window.location.href.split("#")[0]+n),e.attr("clip-path","url("+n+")")}},{"../../constants/xmlns_namespaces":113,"../../lib":123,"../../lib/svg_text_utils":137,"../../registry":191,"../../traces/scatter/make_bubble_size_func":297,"../../traces/scatter/subtypes":302,"../color":31,"../colorscale":45,"./symbol_defs":55,d3:14,"fast-isnumeric":17}],55:[function(e,t,n){"use strict";var r=e("d3");t.exports={circle:{n:0,f:function(e){var t=r.round(e,2);return"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"}},square:{n:1,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"}},diamond:{n:2,f:function(e){var t=r.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"Z"}},cross:{n:3,f:function(e){var t=r.round(.4*e,2),n=r.round(1.2*e,2);return"M"+n+","+t+"H"+t+"V"+n+"H-"+t+"V"+t+"H-"+n+"V-"+t+"H-"+t+"V-"+n+"H"+t+"V-"+t+"H"+n+"Z"}},x:{n:4,f:function(e){var t=r.round(.8*e/Math.sqrt(2),2),n="l"+t+","+t,o="l"+t+",-"+t,a="l-"+t+",-"+t,i="l-"+t+","+t;return"M0,"+t+n+o+a+o+a+i+a+i+n+i+n+"Z"}},"triangle-up":{n:5,f:function(e){var t=r.round(2*e/Math.sqrt(3),2),n=r.round(e/2,2),o=r.round(e,2);return"M-"+t+","+n+"H"+t+"L0,-"+o+"Z"}},"triangle-down":{n:6,f:function(e){var t=r.round(2*e/Math.sqrt(3),2),n=r.round(e/2,2),o=r.round(e,2);return"M-"+t+",-"+n+"H"+t+"L0,"+o+"Z"}},"triangle-left":{n:7,f:function(e){var t=r.round(2*e/Math.sqrt(3),2),n=r.round(e/2,2),o=r.round(e,2);return"M"+n+",-"+t+"V"+t+"L-"+o+",0Z"}},"triangle-right":{n:8,f:function(e){var t=r.round(2*e/Math.sqrt(3),2),n=r.round(e/2,2),o=r.round(e,2);return"M-"+n+",-"+t+"V"+t+"L"+o+",0Z"}},"triangle-ne":{n:9,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M-"+n+",-"+t+"H"+t+"V"+n+"Z"}},"triangle-se":{n:10,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M"+t+",-"+n+"V"+t+"H-"+n+"Z"}},"triangle-sw":{n:11,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M"+n+","+t+"H-"+t+"V-"+n+"Z"}},"triangle-nw":{n:12,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M-"+t+","+n+"V-"+t+"H"+n+"Z"}},pentagon:{n:13,f:function(e){var t=r.round(.951*e,2),n=r.round(.588*e,2),o=r.round(-e,2),a=r.round(e*-.309,2),i=r.round(.809*e,2);return"M"+t+","+a+"L"+n+","+i+"H-"+n+"L-"+t+","+a+"L0,"+o+"Z"}},hexagon:{n:14,f:function(e){var t=r.round(e,2),n=r.round(e/2,2),o=r.round(e*Math.sqrt(3)/2,2);return"M"+o+",-"+n+"V"+n+"L0,"+t+"L-"+o+","+n+"V-"+n+"L0,-"+t+"Z"}},hexagon2:{n:15,f:function(e){var t=r.round(e,2),n=r.round(e/2,2),o=r.round(e*Math.sqrt(3)/2,2);return"M-"+n+","+o+"H"+n+"L"+t+",0L"+n+",-"+o+"H-"+n+"L-"+t+",0Z"}},octagon:{n:16,f:function(e){var t=r.round(.924*e,2),n=r.round(.383*e,2);return"M-"+n+",-"+t+"H"+n+"L"+t+",-"+n+"V"+n+"L"+n+","+t+"H-"+n+"L-"+t+","+n+"V-"+n+"Z"}},star:{n:17,f:function(e){var t=1.4*e,n=r.round(.225*t,2),o=r.round(.951*t,2),a=r.round(.363*t,2),i=r.round(.588*t,2),s=r.round(-t,2),l=r.round(t*-.309,2),u=r.round(.118*t,2),c=r.round(.809*t,2),f=r.round(.382*t,2);return"M"+n+","+l+"H"+o+"L"+a+","+u+"L"+i+","+c+"L0,"+f+"L-"+i+","+c+"L-"+a+","+u+"L-"+o+","+l+"H-"+n+"L0,"+s+"Z"}},hexagram:{n:18,f:function(e){var t=r.round(.66*e,2),n=r.round(.38*e,2),o=r.round(.76*e,2);return"M-"+o+",0l-"+n+",-"+t+"h"+o+"l"+n+",-"+t+"l"+n+","+t+"h"+o+"l-"+n+","+t+"l"+n+","+t+"h-"+o+"l-"+n+","+t+"l-"+n+",-"+t+"h-"+o+"Z"}},"star-triangle-up":{n:19,f:function(e){var t=r.round(e*Math.sqrt(3)*.8,2),n=r.round(.8*e,2),o=r.round(1.6*e,2),a=r.round(4*e,2),i="A "+a+","+a+" 0 0 1 ";return"M-"+t+","+n+i+t+","+n+i+"0,-"+o+i+"-"+t+","+n+"Z"}},"star-triangle-down":{n:20,f:function(e){var t=r.round(e*Math.sqrt(3)*.8,2),n=r.round(.8*e,2),o=r.round(1.6*e,2),a=r.round(4*e,2),i="A "+a+","+a+" 0 0 1 ";return"M"+t+",-"+n+i+"-"+t+",-"+n+i+"0,"+o+i+t+",-"+n+"Z"}},"star-square":{n:21,f:function(e){var t=r.round(1.1*e,2),n=r.round(2*e,2),o="A "+n+","+n+" 0 0 1 ";return"M-"+t+",-"+t+o+"-"+t+","+t+o+t+","+t+o+t+",-"+t+o+"-"+t+",-"+t+"Z"}},"star-diamond":{n:22,f:function(e){var t=r.round(1.4*e,2),n=r.round(1.9*e,2),o="A "+n+","+n+" 0 0 1 ";return"M-"+t+",0"+o+"0,"+t+o+t+",0"+o+"0,-"+t+o+"-"+t+",0Z"}},"diamond-tall":{n:23,f:function(e){var t=r.round(.7*e,2),n=r.round(1.4*e,2);return"M0,"+n+"L"+t+",0L0,-"+n+"L-"+t+",0Z"}},"diamond-wide":{n:24,f:function(e){var t=r.round(1.4*e,2),n=r.round(.7*e,2);return"M0,"+n+"L"+t+",0L0,-"+n+"L-"+t+",0Z"}},hourglass:{n:25,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"H-"+t+"L"+t+",-"+t+"H-"+t+"Z"},noDot:!0},bowtie:{n:26,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"V-"+t+"L-"+t+","+t+"V-"+t+"Z"},noDot:!0},"circle-cross":{n:27,f:function(e){var t=r.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(e){var t=r.round(e,2),n=r.round(e/Math.sqrt(2),2);return"M"+n+","+n+"L-"+n+",-"+n+"M"+n+",-"+n+"L-"+n+","+n+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(e){var t=r.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"square-x":{n:30,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(e){var t=r.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM0,-"+t+"V"+t+"M-"+t+",0H"+t},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(e){var t=r.round(1.3*e,2),n=r.round(.65*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM-"+n+",-"+n+"L"+n+","+n+"M-"+n+","+n+"L"+n+",-"+n},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(e){var t=r.round(1.4*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t},needLine:!0,noDot:!0},"x-thin":{n:34,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0},asterisk:{n:35,f:function(e){var t=r.round(1.2*e,2),n=r.round(.85*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+n+","+n+"L-"+n+",-"+n+"M"+n+",-"+n+"L-"+n+","+n},needLine:!0,noDot:!0},hash:{n:36,f:function(e){var t=r.round(e/2,2),n=r.round(e,2);return"M"+t+","+n+"V-"+n+"m-"+n+",0V"+n+"M"+n+","+t+"H-"+n+"m0,-"+n+"H"+n},needLine:!0},"y-up":{n:37,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M-"+t+","+o+"L0,0M"+t+","+o+"L0,0M0,-"+n+"L0,0"},needLine:!0,noDot:!0},"y-down":{n:38,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M-"+t+",-"+o+"L0,0M"+t+",-"+o+"L0,0M0,"+n+"L0,0"},needLine:!0,noDot:!0},"y-left":{n:39,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M"+o+","+t+"L0,0M"+o+",-"+t+"L0,0M-"+n+",0L0,0"},needLine:!0,noDot:!0},"y-right":{n:40,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M-"+o+","+t+"L0,0M-"+o+",-"+t+"L0,0M"+n+",0L0,0"},needLine:!0,noDot:!0},"line-ew":{n:41,f:function(e){var t=r.round(1.4*e,2);return"M"+t+",0H-"+t},needLine:!0,noDot:!0},"line-ns":{n:42,f:function(e){var t=r.round(1.4*e,2);return"M0,"+t+"V-"+t},needLine:!0,noDot:!0},"line-ne":{n:43,f:function(e){var t=r.round(e,2);return"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0},"line-nw":{n:44,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t},needLine:!0,noDot:!0}}},{d3:14}],56:[function(e,t,n){"use strict";t.exports={visible:{valType:"boolean"},type:{valType:"enumerated",values:["percent","constant","sqrt","data"]},symmetric:{valType:"boolean"},array:{valType:"data_array"},arrayminus:{valType:"data_array"},value:{valType:"number",min:0,dflt:10},valueminus:{valType:"number",min:0,dflt:10},traceref:{valType:"integer",min:0,dflt:0},tracerefminus:{valType:"integer",min:0,dflt:0},copy_ystyle:{valType:"boolean"},copy_zstyle:{valType:"boolean"},color:{valType:"color"},thickness:{valType:"number",min:0,dflt:2},width:{valType:"number",min:0},_deprecated:{opacity:{valType:"number"}}}},{}],57:[function(e,t,n){"use strict";function r(e,t,n,r){var a=t["error_"+r]||{},l=a.visible&&["linear","log"].indexOf(n.type)!==-1,u=[];if(l){for(var c=s(a),f=0;f0;e.each(function(e){var t,f=e[0].trace,d=f.error_x||{},p=f.error_y||{};f.ids&&(t=function(e){return e.id});var h=i.hasMarkers(f)&&f.marker.maxdisplayed>0;if(p.visible||d.visible){var m=o.select(this).selectAll("g.errorbar").data(e,t);m.exit().remove(),m.style("opacity",1);var g=m.enter().append("g").classed("errorbar",!0);c&&g.style("opacity",0).transition().duration(n.duration).style("opacity",1),m.each(function(e){var t=o.select(this),i=r(e,l,u);if(!h||e.vis){var f;if(p.visible&&a(i.x)&&a(i.yh)&&a(i.ys)){var m=p.width;f="M"+(i.x-m)+","+i.yh+"h"+2*m+"m-"+m+",0V"+i.ys,i.noYS||(f+="m-"+m+",0h"+2*m);var g=t.select("path.yerror");s=!g.size(),s?g=t.append("path").classed("yerror",!0):c&&(g=g.transition().duration(n.duration).ease(n.easing)),g.attr("d",f)}if(d.visible&&a(i.y)&&a(i.xh)&&a(i.xs)){var v=(d.copy_ystyle?p:d).width;f="M"+i.xh+","+(i.y-v)+"v"+2*v+"m0,-"+v+"H"+i.xs,i.noXS||(f+="m0,-"+v+"v"+2*v);var y=t.select("path.xerror");s=!y.size(),s?y=t.append("path").classed("xerror",!0):c&&(y=y.transition().duration(n.duration).ease(n.easing)),y.attr("d",f)}}})}})}},{"../../traces/scatter/subtypes":302,d3:14,"fast-isnumeric":17}],62:[function(e,t,n){"use strict";var r=e("d3"),o=e("../color");t.exports=function(e){e.each(function(e){var t=e[0].trace,n=t.error_y||{},a=t.error_x||{},i=r.select(this);i.selectAll("path.yerror").style("stroke-width",n.thickness+"px").call(o.stroke,n.color),a.copy_ystyle&&(a=n),i.selectAll("path.xerror").style("stroke-width",a.thickness+"px").call(o.stroke,a.color)})}},{"../color":31,d3:14}],63:[function(e,t,n){"use strict";var r=e("../../plots/cartesian/constants");t.exports={_isLinkedToArray:"image",visible:{valType:"boolean",dflt:!0},source:{valType:"string"},layer:{valType:"enumerated",values:["below","above"],dflt:"above"},sizex:{valType:"number",dflt:0},sizey:{valType:"number",dflt:0},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain"},opacity:{valType:"number",min:0,max:1,dflt:1},x:{valType:"any",dflt:0},y:{valType:"any",dflt:0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top"},xref:{valType:"enumerated",values:["paper",r.idRegex.x.toString()],dflt:"paper"},yref:{valType:"enumerated",values:["paper",r.idRegex.y.toString()],dflt:"paper"}}},{"../../plots/cartesian/constants":157}],64:[function(e,t,n){"use strict";function r(e,t,n){function r(n,r){return o.coerce(e,t,s,n,r)}var i=r("source"),l=r("visible",!!i);if(!l)return t;r("layer"),r("x"),r("y"),r("xanchor"),r("yanchor"),r("sizex"),r("sizey"),r("sizing"),r("opacity");for(var u={_fullLayout:n},c=["x","y"],f=0;f<2;f++)a.coerceRef(e,t,u,c[f],"paper");return t}var o=e("../../lib"),a=e("../../plots/cartesian/axes"),i=e("../../plots/array_container_defaults"),s=e("./attributes"),l="images";t.exports=function(e,t){var n={name:l,handleItemDefaults:r};i(e,t,n)}},{"../../lib":123,"../../plots/array_container_defaults":149,"../../plots/cartesian/axes":152,"./attributes":63}],65:[function(e,t,n){"use strict";var r=e("d3"),o=e("../drawing"),a=e("../../plots/cartesian/axes"),i=e("../../constants/xmlns_namespaces");t.exports=function(e){function t(t){var n=r.select(this);if(!this.img||this.img.src!==t.source){n.attr("xmlns",i.svg);var o=new Promise(function(e){function r(){n.remove(),e()}var o=new Image;this.img=o,o.setAttribute("crossOrigin","anonymous"),o.onerror=r,o.onload=function(){var e=document.createElement("canvas");e.width=this.width,e.height=this.height;var t=e.getContext("2d");t.drawImage(this,0,0);var r=e.toDataURL("image/png");n.attr("xlink:href",r)},n.on("error",r),n.on("load",e),o.src=t.source}.bind(this));e._promises.push(o)}}function n(t){var n=r.select(this),i=a.getFromId(e,t.xref),l=a.getFromId(e,t.yref),u=s._size,c=i?Math.abs(i.l2p(t.sizex)-i.l2p(0)):t.sizex*u.w,f=l?Math.abs(l.l2p(t.sizey)-l.l2p(0)):t.sizey*u.h,d=c*p.x[t.xanchor].offset,h=f*p.y[t.yanchor].offset,m=p.x[t.xanchor].sizing+p.y[t.yanchor].sizing,g=(i?i.r2p(t.x)+i._offset:t.x*u.w+u.l)+d,v=(l?l.r2p(t.y)+l._offset:u.h-t.y*u.h+u.t)+h;switch(t.sizing){case"fill":m+=" slice";break;case"stretch":m="none"}n.attr({x:g,y:v,width:c,height:f,preserveAspectRatio:m,opacity:t.opacity});var y=i?i._id:"",b=l?l._id:"",A=y+b;A&&n.call(o.setClipUrl,"clip"+s._uid+A)}for(var s=e._fullLayout,l=[],u=[],c=[],f=0;f=2/3},n.isCenterAnchor=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},n.isBottomAnchor=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3},n.isMiddleAnchor=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3}},{}],68:[function(e,t,n){"use strict";var r=e("../../plots/font_attributes"),o=e("../color/attributes"),a=e("../../lib/extend").extendFlat;t.exports={bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:o.defaultLine},borderwidth:{valType:"number",min:0,dflt:0},font:a({},r,{}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v"},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"]},tracegroupgap:{valType:"number",min:0,dflt:10},x:{valType:"number",min:-2,max:3,dflt:1.02},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto"}}},{"../../lib/extend":120,"../../plots/font_attributes":172,"../color/attributes":30}],69:[function(e,t,n){"use strict";t.exports={scrollBarWidth:4,scrollBarHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4}},{}],70:[function(e,t,n){"use strict";var r=e("../../registry"),o=e("../../lib"),a=e("./attributes"),i=e("../../plots/layout_attributes"),s=e("./helpers");t.exports=function(e,t,n){function l(e,t){return o.coerce(p,h,a,e,t)}for(var u,c,f,d,p=e.legend||{},h=t.legend={},m=0,g="normal",v=0;v1);if(b!==!1){if(l("bgcolor",t.paper_bgcolor),l("bordercolor"),l("borderwidth"),o.coerceFont(l,"font",t.font),l("orientation"),"h"===h.orientation){var A=e.xaxis;A&&A.rangeslider&&A.rangeslider.visible?(u=0,f="left",c=1.1,d="bottom"):(u=0,f="left",c=-.1,d="top")}l("traceorder",g),s.isGrouped(t.legend)&&l("tracegroupgap"),l("x",u),l("xanchor",f),l("y",c),l("yanchor",d),o.noneOrAll(p,h,["x","y"])}}},{"../../lib":123,"../../plots/layout_attributes":174,"../../registry":191,"./attributes":68,"./helpers":73}],71:[function(e,t,n){"use strict";function r(e,t){function n(n){v.convertToTspans(n,function(){n.selectAll("tspan.line").attr({x:n.attr("x")}),e.call(a,t)})}var r=e.data()[0][0],o=t._fullLayout,i=r.trace,s=p.traceIs(i,"pie"),l=i.index,u=s?r.label:i.name,f=e.selectAll("text.legendtext").data([0]);f.enter().append("text").classed("legendtext",!0),f.attr({x:40,y:0,"data-unformatted":u}).style("text-anchor","start").classed("user-select-none",!0).call(m.font,o.legend.font).text(u),t._context.editable&&!s?f.call(v.makeEditable).call(n).on("edit",function(e){this.attr({"data-unformatted":e}),this.text(e).call(n),this.text()||(e=" ");var o,a=r.trace._fullInput||{};if(["ohlc","candlestick"].indexOf(a.type)!==-1){var i=r.trace.transforms,s=i[i.length-1].direction;o=s+".legenditem.name"}else o="name";c.restyle(t,o,e,l)}):f.call(n)}function o(e,t){var n=t._fullLayout.hiddenlabels?t._fullLayout.hiddenlabels.slice():[],r=e.selectAll("rect").data([0]);r.enter().append("rect").classed("legendtoggle",!0).style("cursor","pointer").attr("pointer-events","all").call(g.fill,"rgba(0,0,0,0)"),r.on("click",function(){if(!t._dragged){var r,o,a=e.data()[0][0],i=t._fullData,s=a.trace,l=s.legendgroup,u=[];if(p.traceIs(s,"pie")){var f=a.label,d=n.indexOf(f);d===-1?n.push(f):n.splice(d,1),c.relayout(t,"hiddenlabels",n)}else{if(""===l)u=[s.index];else for(var h=0;htspan"),d=c[0].length||1;n=s*d,r=u.node()&&m.bBox(u.node()).width;var p=s*(.3+(1-d)/2);u.attr("y",p),c.attr("y",p)}n=Math.max(n,16)+3,o.height=n,o.width=r}function i(e,t,n){var r=e._fullLayout,o=r.legend,a=o.borderwidth,i=x.isGrouped(o);if(x.isVertical(o))i&&t.each(function(e,t){f.setTranslate(this,0,t*o.tracegroupgap)}),o.width=0,o.height=0,n.each(function(e){var t=e[0],n=t.height,r=t.width;f.setTranslate(this,a,5+a+o.height+n/2),o.height+=n,o.width=Math.max(o.width,r)}),o.width+=45+2*a,o.height+=10+2*a,i&&(o.height+=(o._lgroupsLength-1)*o.tracegroupgap),o.width=Math.ceil(o.width),o.height=Math.ceil(o.height),n.each(function(t){var n=t[0],r=u.select(this).select(".legendtoggle");r.call(m.setRect,0,-n.height/2,(e._context.editable?0:o.width)+40,n.height)});else if(i){o.width=0,o.height=0;for(var s=[o.width],l=t.data(),c=0,d=l.length;cr.width-(r.margin.r+r.margin.l)&&(b=0,g+=v,o.height=o.height+v,v=0),f.setTranslate(this,a+b,5+a+t.height/2+g),o.width+=i+n,o.height=Math.max(o.height,t.height),b+=i+n,v=Math.max(t.height,v)}),o.width+=2*a,o.height+=10+2*a,o.width=Math.ceil(o.width),o.height=Math.ceil(o.height),n.each(function(t){var n=t[0],r=u.select(this).select(".legendtoggle");r.call(m.setRect,0,-n.height/2,e._context.editable?0:o.width,n.height)})}}function s(e){var t=e._fullLayout,n=t.legend,r="left";_.isRightAnchor(n)?r="right":_.isCenterAnchor(n)&&(r="center");var o="top";_.isBottomAnchor(n)?o="bottom":_.isMiddleAnchor(n)&&(o="middle"),d.autoMargin(e,"legend",{x:n.x,y:n.y,l:n.width*({right:1,center:.5}[r]||0),r:n.width*({left:1,center:.5}[r]||0),b:n.height*({top:1,middle:.5}[o]||0),t:n.height*({bottom:1,middle:.5}[o]||0)})}function l(e){var t=e._fullLayout,n=t.legend,r="left";_.isRightAnchor(n)?r="right":_.isCenterAnchor(n)&&(r="center"),d.autoMargin(e,"legend",{x:n.x,y:.5,l:n.width*({right:1,center:.5}[r]||0),r:n.width*({left:1,center:.5}[r]||0),b:0,t:0})}var u=e("d3"),c=e("../../plotly"),f=e("../../lib"),d=e("../../plots/plots"),p=e("../../registry"),h=e("../dragelement"),m=e("../drawing"),g=e("../color"),v=e("../../lib/svg_text_utils"),y=e("./constants"),b=e("./get_legend_data"),A=e("./style"),x=e("./helpers"),_=e("./anchor_utils");t.exports=function(e){function t(e,t){k.attr("data-scroll",t).call(f.setTranslate,0,t),P.call(m.setRect,j,e,y.scrollBarWidth,y.scrollBarHeight),E.select("rect").attr({y:v.borderwidth-t})}var n=e._fullLayout,a="legend"+n._uid;if(n._infolayer&&e.calcdata){var v=n.legend,x=n.showlegend&&b(e.calcdata,v),w=n.hiddenlabels||[];if(!n.showlegend||!x.length)return n._infolayer.selectAll(".legend").remove(),n._topdefs.select("#"+a).remove(),void d.autoMargin(e,"legend");var C=n._infolayer.selectAll("g.legend").data([0]);C.enter().append("g").attr({class:"legend","pointer-events":"all"});var E=n._topdefs.selectAll("#"+a).data([0]);E.enter().append("clipPath").attr("id",a).append("rect");var T=C.selectAll("rect.bg").data([0]);T.enter().append("rect").attr({class:"bg","shape-rendering":"crispEdges"}),T.call(g.stroke,v.bordercolor),T.call(g.fill,v.bgcolor),T.style("stroke-width",v.borderwidth+"px");var k=C.selectAll("g.scrollbox").data([0]);k.enter().append("g").attr("class","scrollbox");var P=C.selectAll("rect.scrollbar").data([0]);P.enter().append("rect").attr({class:"scrollbar",rx:20,ry:2,width:0,height:0}).call(g.fill,"#808BA4");var M=k.selectAll("g.groups").data(x);M.enter().append("g").attr("class","groups"),M.exit().remove();var S=M.selectAll("g.traces").data(f.identity);S.enter().append("g").attr("class","traces"),S.exit().remove(),S.call(A).style("opacity",function(e){var t=e[0].trace;return p.traceIs(t,"pie")?w.indexOf(e[0].label)!==-1?.5:1:"legendonly"===t.visible?.5:1}).each(function(){u.select(this).call(r,e).call(o,e)});var D=0!==C.enter().size();D&&(i(e,M,S),s(e));var O=0,I=n.width,L=0,N=n.height;i(e,M,S),v.height>N?l(e):s(e);var B=n._size,F=B.l+B.w*v.x,R=B.t+B.h*(1-v.y);_.isRightAnchor(v)?F-=v.width:_.isCenterAnchor(v)&&(F-=v.width/2),_.isBottomAnchor(v)?R-=v.height:_.isMiddleAnchor(v)&&(R-=v.height/2);var j=v.width,z=B.w;j>z?(F=B.l,j=z):(F+j>I&&(F=I-j),FU?(R=B.t,H=U):(R+H>N&&(R=N-H),Rn[1])return n[1]}return o}function n(e){return e[0]}var r,o,a=e[0],i=a.trace,s=p.hasMarkers(i),u=p.hasText(i),d=p.hasLines(i);if(s||u||d){var h={},m={};s&&(h.mc=t("marker.color",n),h.mo=t("marker.opacity",c.mean,[.2,1]),h.ms=t("marker.size",c.mean,[2,16]),h.mlc=t("marker.line.color",n),h.mlw=t("marker.line.width",c.mean,[0,5]),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"}),d&&(m.line={width:t("line.width",n,[0,10])}),u&&(h.tx="Aa",h.tp=t("textposition",n),h.ts=10,h.tc=t("textfont.color",n),h.tf=t("textfont.family",n)),r=[c.minExtend(a,h)],o=c.minExtend(i,m)}var g=l.select(this).select("g.legendpoints"),v=g.selectAll("path.scatterpts").data(s?r:[]);v.enter().append("path").classed("scatterpts",!0).attr("transform","translate(20,0)"),v.exit().remove(),v.call(f.pointStyle,o),s&&(r[0].mrc=3);var y=g.selectAll("g.pointtext").data(u?r:[]);y.enter().append("g").classed("pointtext",!0).append("text").attr("transform","translate(20,0)"),y.exit().remove(),y.selectAll("text").call(f.textPointStyle,o)}function a(e){var t=e[0].trace,n=t.marker||{},r=n.line||{},o=l.select(this).select("g.legendpoints").selectAll("path.legendbar").data(u.traceIs(t,"bar")?[e]:[]);o.enter().append("path").classed("legendbar",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),o.exit().remove(),o.each(function(e){var t=l.select(this),o=e[0],a=(o.mlw+1||r.width+1)-1;t.style("stroke-width",a+"px").call(d.fill,o.mc||n.color),a&&t.call(d.stroke,o.mlc||r.color)})}function i(e){var t=e[0].trace,n=l.select(this).select("g.legendpoints").selectAll("path.legendbox").data(u.traceIs(t,"box")&&t.visible?[e]:[]);n.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),n.exit().remove(),n.each(function(){var e=t.line.width,n=l.select(this);n.style("stroke-width",e+"px").call(d.fill,t.fillcolor),e&&n.call(d.stroke,t.line.color)})}function s(e){var t=e[0].trace,n=l.select(this).select("g.legendpoints").selectAll("path.legendpie").data(u.traceIs(t,"pie")&&t.visible?[e]:[]);n.enter().append("path").classed("legendpie",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),n.exit().remove(),n.size()&&n.call(h,e[0],t)}var l=e("d3"),u=e("../../registry"),c=e("../../lib"),f=e("../drawing"),d=e("../color"),p=e("../../traces/scatter/subtypes"),h=e("../../traces/pie/style_one");t.exports=function(e){e.each(function(e){var t=l.select(this),n=t.selectAll("g.layers").data([0]);n.enter().append("g").classed("layers",!0),n.style("opacity",e[0].trace.opacity);var r=n.selectAll("g.legendfill").data([e]);r.enter().append("g").classed("legendfill",!0);var o=n.selectAll("g.legendlines").data([e]);o.enter().append("g").classed("legendlines",!0);var a=n.selectAll("g.legendsymbols").data([e]);a.enter().append("g").classed("legendsymbols",!0),a.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)}).each(a).each(i).each(s).each(r).each(o)}},{"../../lib":123,"../../registry":191,"../../traces/pie/style_one":280,"../../traces/scatter/subtypes":302,"../color":31,"../drawing":54,d3:14}],76:[function(e,t,n){"use strict";function r(e,t){var n=t.currentTarget,r=n.getAttribute("data-attr"),o=n.getAttribute("data-val")||!0,a=e._fullLayout,i={};if("zoom"===r){for(var s,l,c="in"===o?.5:2,d=(1+c)/2,p=(1-c)/2,h=f.list(e,null,!0),m=0;m1)return r(["resetViews","toggleHover"]),i(g,n);c&&(r(["zoom3d","pan3d","orbitRotation","tableRotation"]),r(["resetCameraDefault3d","resetCameraLastSave3d"]),r(["hoverClosest3d"])),d&&(r(["zoomInGeo","zoomOutGeo","resetGeo"]),r(["hoverClosestGeo"]));var v=o(s),y=[];return((u||h)&&!v||m)&&(y=["zoom2d","pan2d"]),(u||m)&&a(l)&&(y.push("select2d"),y.push("lasso2d")),y.length&&r(y),!u&&!h||v||m||r(["zoomIn2d","zoomOut2d","autoScale2d","resetScale2d"]),u&&p?r(["toggleHover"]):h?r(["hoverClosestGl2d"]):u?r(["hoverClosestCartesian","hoverCompareCartesian"]):p&&r(["hoverClosestPie"]),i(g,n)}function o(e){for(var t=l.list({_fullLayout:e},null,!0),n=!0,r=0;r0);if(m){var g=o(t,n,l);f("x",g[0]),f("y",g[1]),a.noneOrAll(e,t,["x","y"]),f("xanchor"),f("yanchor"),a.coerceFont(f,"font",n.font);var v=f("bgcolor");f("activecolor",i.contrast(v,u.lightAmount,u.darkAmount)),f("bordercolor"),f("borderwidth")}}},{"../../lib":123,"../color":31,"./attributes":80,"./button_attributes":81,"./constants":82}],84:[function(e,t,n){"use strict";function r(e){for(var t=v.list(e,"x",!0),n=[],r=0;rh&&(h=d)));return h>=p?[p,h]:void 0}}var o=e("../../lib"),a=e("../../plots/cartesian/axes"),i=e("./constants"),s=e("./helpers");t.exports=function(e){var t=e._fullLayout,n=o.filterVisible(t.shapes);if(n.length&&e._fullData.length)for(var s=0;st;a--)d(e,a).selectAll('[data-index="'+(a-1)+'"]').attr("data-index",a),o(e,a)}function c(e,t,n,r){function o(n){var r={"data-index":t,"fill-rule":"evenodd",d:h(e,M)},o=M.line.width?M.line.color:"rgba(0,0,0,0)",a=n.append("path").attr(r).style("opacity",M.opacity).call(x.stroke,o).call(x.fill,M.fillcolor).call(_.dashLine,M.line.dash,M.line.width);S&&a.call(_.setClipUrl,"clip"+e._fullLayout._uid+S),e._context.editable&&f(e,a,M,t)}var a,i;d(e,t).selectAll('[data-index="'+t+'"]').remove();var s=e.layout.shapes[t];if(s){var l={};"string"==typeof n&&n?l[n]=r:b.isPlainObject(n)&&(l=n);var u=Object.keys(l);for(a=0;aG&&r>Y&&!e.shiftKey?w.getCursor(o/n,1-a/r):"move";C(t,i),V=i.split("-")[0]}function a(t){j=A.getFromId(e,n.xref),z=A.getFromId(e,n.yref),H=T.getDataToPixel(e,j),U=T.getDataToPixel(e,z,!0),W=T.getPixelToData(e,j),q=T.getPixelToData(e,z,!0);var a="shapes["+r+"]";"path"===n.type?(F=n.path,R=a+".path"):(c=H(n.x0),f=U(n.y0),d=H(n.x1),p=U(n.y1),m=a+".x0",v=a+".y0",b=a+".x1",x=a+".y1"),cY&&(u[M]=n[I]=q(s),u[S]=n[L]=q(l)),f-c>G&&(u[D]=n[N]=W(c),u[O]=n[B]=W(f))}t.attr("d",h(e,n))}var u,c,f,d,p,m,v,b,x,_,E,k,P,M,S,D,O,I,L,N,B,F,R,j,z,H,U,W,q,V,G=10,Y=10,K={setCursor:o,element:t.node(),prepFn:a,doneFn:i},Q=K.element.getBoundingClientRect();w.init(K)}function d(e,t){var n=e._fullLayout.shapes[t],r=e._fullLayout._shapeUpperLayer;return n?"below"===n.layer&&(r="paper"===n.xref&&"paper"===n.yref?e._fullLayout._shapeLowerLayer:e._fullLayout._shapeSubplotLayer):b.log("getShapeLayer: undefined shape: index",t),r}function p(e,t,n){var r=A.getFromId(e,n.id,"x")._id,o=A.getFromId(e,n.id,"y")._id,a="below"===t.layer,i=r===t.xref||o===t.yref,s=!!n.shapelayer;return a&&i&&s}function h(e,t){var n,r,o,a,i=t.type,s=A.getFromId(e,t.xref),l=A.getFromId(e,t.yref),u=e._fullLayout._size;if(s?(n=T.shapePositionToRange(s),r=function(e){return s._offset+s.r2p(n(e,!0))}):r=function(e){return u.l+u.w*e},l?(o=T.shapePositionToRange(l),a=function(e){return l._offset+l.r2p(o(e,!0))}):a=function(e){return u.t+u.h*(1-e)},"path"===i)return s&&"date"===s.type&&(r=T.decodeDate(r)),l&&"date"===l.type&&(a=T.decodeDate(a)),m(t.path,r,a);var c=r(t.x0),f=r(t.x1),d=a(t.y0),p=a(t.y1);if("line"===i)return"M"+c+","+d+"L"+f+","+p;if("rect"===i)return"M"+c+","+d+"H"+f+"V"+p+"H"+c+"Z";var h=(c+f)/2,g=(d+p)/2,v=Math.abs(h-c),y=Math.abs(g-d),b="A"+v+","+y,x=h+v+","+g,_=h+","+(g-y);return"M"+x+b+" 0 1,1 "+_+b+" 0 0,1 "+x+"Z"}function m(e,t,n){return e.replace(E.segmentRE,function(e){var r=0,o=e.charAt(0),a=E.paramIsX[o],i=E.paramIsY[o],s=E.numParams[o],l=e.substr(1).replace(E.paramRE,function(e){return a[r]?e=t(e):i[r]&&(e=n(e)),r++,r>s&&(e="X"),e});return r>s&&(l=l.replace(/[\s,]*X.*/,""),b.log("Ignoring extra params in segment "+e)),o+l})}function g(e,t,n){return e.replace(E.segmentRE,function(e){var r=0,o=e.charAt(0),a=E.paramIsX[o],i=E.paramIsY[o],s=E.numParams[o],l=e.substr(1).replace(E.paramRE,function(e){return r>=s?e:(a[r]?e=t(e):i[r]&&(e=n(e)),r++,e)});return o+l})}var v=e("fast-isnumeric"),y=e("../../plotly"),b=e("../../lib"),A=e("../../plots/cartesian/axes"),x=e("../color"),_=e("../drawing"),w=e("../dragelement"),C=e("../../lib/setcursor"),E=e("./constants"),T=e("./helpers"),k=e("./shape_defaults"),P=e("./defaults");t.exports={draw:r,drawOne:o}},{"../../lib":123,"../../lib/setcursor":135,"../../plotly":147,"../../plots/cartesian/axes":152,"../color":31,"../dragelement":52,"../drawing":54,"./constants":94,"./defaults":95,"./helpers":97,"./shape_defaults":99,"fast-isnumeric":17}],97:[function(e,t,n){"use strict";n.rangeToShapePosition=function(e){return"log"===e.type?e.r2d:function(e){return e}},n.shapePositionToRange=function(e){return"log"===e.type?e.d2r:function(e){return e}},n.decodeDate=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},n.encodeDate=function(e){return function(t){return e(t).replace(" ","_")}},n.getDataToPixel=function(e,t,r){var o,a=e._fullLayout._size;if(t){var i=n.shapePositionToRange(t);o=function(e){return t._offset+t.r2p(i(e,!0))},"date"===t.type&&(o=n.decodeDate(o))}else o=r?function(e){return a.t+a.h*(1-e)}:function(e){return a.l+a.w*e};return o},n.getPixelToData=function(e,t,r){var o,a=e._fullLayout._size;if(t){var i=n.rangeToShapePosition(t);o=function(e){return i(t.p2r(e-t._offset))}}else o=r?function(e){return 1-(e-a.t)/a.h}:function(e){return(e-a.l)/a.w};return o}},{}],98:[function(e,t,n){"use strict";var r=e("./draw");t.exports={moduleType:"component",name:"shapes",layoutAttributes:e("./attributes"),supplyLayoutDefaults:e("./defaults"),calcAutorange:e("./calc_autorange"),draw:r.draw,drawOne:r.drawOne}},{"./attributes":92,"./calc_autorange":93,"./defaults":95,"./draw":96}],99:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../../plots/cartesian/axes"),a=e("./attributes"),i=e("./helpers");t.exports=function(e,t,n,s,l){function u(n,o){return r.coerce(e,t,a,n,o)}s=s||{},l=l||{};var c=u("visible",!l.itemIsNotPlainObject);if(!c)return t;u("layer"),u("opacity"),u("fillcolor"),u("line.color"),u("line.width"),u("line.dash");for(var f=e.path?"path":"rect",d=u("type",f),p=["x","y"],h=0;h<2;h++){var m=p[h],g={_fullLayout:n},v=o.coerceRef(e,t,g,m,"","paper");if("path"!==d){var y,b,A,x=.25,_=.75;"paper"!==v?(y=o.getFromId(g,v),A=i.rangeToShapePosition(y),b=i.shapePositionToRange(y)):b=A=r.identity;var w=m+"0",C=m+"1",E=e[w],T=e[C];e[w]=b(e[w],!0),e[C]=b(e[C],!0),o.coercePosition(t,g,u,v,w,x),o.coercePosition(t,g,u,v,C,_),t[w]=A(t[w]),t[C]=A(t[C]),e[w]=E,e[C]=T}}return"path"===d?u("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"]),t}},{"../../lib":123,"../../plots/cartesian/axes":152,"./attributes":92,"./helpers":97}],100:[function(e,t,n){"use strict";var r=e("../../plots/font_attributes"),o=e("../../plots/pad_attributes"),a=e("../../lib/extend").extendFlat,i=e("../../lib/extend").extendDeep,s=e("../../plots/animation_attributes"),l=e("./constants"),u={_isLinkedToArray:"step",method:{valType:"enumerated",values:["restyle","relayout","animate","update"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"}};t.exports={_isLinkedToArray:"slider",visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:i({},o,{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:s.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:a({},r,{})},font:a({},r,{}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}},{"../../lib/extend":120,"../../plots/animation_attributes":148,"../../plots/font_attributes":172,"../../plots/pad_attributes":175,"./constants":101}],101:[function(e,t,n){"use strict";t.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,fontSizeToHeight:1.3,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},{}],102:[function(e,t,n){"use strict";function r(e,t,n){function r(n,r){return a.coerce(e,t,s,n,r)}var i=o(e,t),l=r("visible",i.length>0);if(l){r("active"),r("x"),r("y"),a.noneOrAll(e,t,["x","y"]),r("xanchor"),r("yanchor"),r("len"),r("lenmode"),r("pad.t"),r("pad.r"),r("pad.b"),r("pad.l"),a.coerceFont(r,"font",n.font);var u=r("currentvalue.visible");u&&(r("currentvalue.xanchor"),r("currentvalue.prefix"),r("currentvalue.suffix"),r("currentvalue.offset"),a.coerceFont(r,"currentvalue.font",t.font)),r("transition.duration"),r("transition.easing"),r("bgcolor"),r("activebgcolor"),r("bordercolor"),r("borderwidth"),r("ticklen"),r("tickwidth"),r("tickcolor"),r("minorticklen")}}function o(e,t){function n(e,t){return a.coerce(r,o,c,e,t)}for(var r,o,i=e.steps||[],s=t.steps=[],l=0;l=n.steps.length&&(n.active=0),t.call(s,n).call(A,n).call(c,n).call(h,n).call(b,e,n).call(l,e,n),C.setTranslate(t,n.lx+n.pad.l,n.ly+n.pad.t),t.call(g,n,n.active/(n.steps.length-1),!1),t.call(s,n)}function s(e,t,n){if(t.currentvalue.visible){var r,o,a=e.selectAll("text").data([0]);switch(t.currentvalue.xanchor){case"right":r=t.inputAreaLength-M.currentValueInset-t.currentValueMaxWidth,o="left";break;case"center":r=.5*t.inputAreaLength,o="middle";break;default:r=M.currentValueInset,o="left"}a.enter().append("text").classed(M.labelClass,!0).classed("user-select-none",!0).attr("text-anchor",o);var i=t.currentvalue.prefix?t.currentvalue.prefix:"";if("string"==typeof n)i+=n;else{var s=t.steps[t.active].label;i+=s}return t.currentvalue.suffix&&(i+=t.currentvalue.suffix),a.call(T.font,t.currentvalue.font).text(i).call(k.convertToTspans),C.setTranslate(a,r,t.currentValueHeight),a}}function l(e,t,n){var r=e.selectAll("rect."+M.gripRectClass).data([0]);r.enter().append("rect").classed(M.gripRectClass,!0).call(p,t,e,n).style("pointer-events","all"),r.attr({width:M.gripWidth,height:M.gripHeight,rx:M.gripRadius,ry:M.gripRadius}).call(E.stroke,n.bordercolor).call(E.fill,n.bgcolor).style("stroke-width",n.borderwidth+"px")}function u(e,t,n){var r=e.selectAll("text").data([0]);return r.enter().append("text").classed(M.labelClass,!0).classed("user-select-none",!0).attr("text-anchor","middle"),r.call(T.font,n.font).text(t.step.label).call(k.convertToTspans),r}function c(e,t){var n=e.selectAll("g."+M.labelsClass).data([0]);n.enter().append("g").classed(M.labelsClass,!0);var r=n.selectAll("g."+M.labelGroupClass).data(t.labelSteps);r.enter().append("g").classed(M.labelGroupClass,!0),r.exit().remove(),r.each(function(e){var n=_.select(this);n.call(u,e,t),C.setTranslate(n,v(t,e.fraction),M.tickOffset+t.ticklen+t.labelHeight+M.labelOffset+t.currentValueTotalHeight)})}function f(e,t,n,r,o){var a=Math.round(r*(n.steps.length-1));a!==n.active&&d(e,t,n,a,!0,o)}function d(e,t,n,r,o,a){var i=n.active;n._input.active=n.active=r;var l=n.steps[n.active];t.call(g,n,n.active/(n.steps.length-1),a),t.call(s,n),e.emit("plotly_sliderchange",{slider:n,step:n.steps[n.active],interaction:o,previousActive:i}),l&&l.method&&o&&(t._nextMethod?(t._nextMethod.step=l,t._nextMethod.doCallback=o,t._nextMethod.doTransition=a):(t._nextMethod={step:l,doCallback:o,doTransition:a},t._nextMethodRaf=window.requestAnimationFrame(function(){var n=t._nextMethod.step;n.method&&(w.executeAPICommand(e,n.method,n.args),t._nextMethod=null,t._nextMethodRaf=null)})))}function p(e,t,n){function r(){return n.data()[0]}var o=n.node(),a=_.select(t);e.on("mousedown",function(){var e=r();t.emit("plotly_sliderstart",{slider:e});var i=n.select("."+M.gripRectClass);_.event.stopPropagation(),_.event.preventDefault(),i.call(E.fill,e.activebgcolor);var s=y(e,_.mouse(o)[0]);f(t,n,e,s,!0),e._dragging=!0,a.on("mousemove",function(){var e=r(),a=y(e,_.mouse(o)[0]);f(t,n,e,a,!1)}),a.on("mouseup",function(){var e=r();e._dragging=!1,i.call(E.fill,e.bgcolor),a.on("mouseup",null),a.on("mousemove",null),t.emit("plotly_sliderend",{slider:e,step:e.steps[e.active]})})})}function h(e,t){var n=e.selectAll("rect."+M.tickRectClass).data(t.steps);n.enter().append("rect").classed(M.tickRectClass,!0),n.exit().remove(),n.attr({width:t.tickwidth+"px","shape-rendering":"crispEdges"}),n.each(function(e,n){var r=n%t.labelStride===0,o=_.select(this);o.attr({height:r?t.ticklen:t.minorticklen}).call(E.fill,r?t.tickcolor:t.tickcolor),C.setTranslate(o,v(t,n/(t.steps.length-1))-.5*t.tickwidth,(r?M.tickOffset:M.minorTickOffset)+t.currentValueTotalHeight)})}function m(e){e.labelSteps=[];for(var t=0,n=e.steps.length,r=t;r0&&(i=i.transition().duration(t.transition.duration).ease(t.transition.easing)),i.attr("transform","translate("+(a-.5*M.gripWidth)+","+t.currentValueTotalHeight+")")}}function v(e,t){return e.inputAreaStart+M.stepInset+(e.inputAreaLength-2*M.stepInset)*Math.min(1,Math.max(0,t))}function y(e,t){return Math.min(1,Math.max(0,(t-M.stepInset-e.inputAreaStart)/(e.inputAreaLength-2*M.stepInset-2*e.inputAreaStart)))}function b(e,t,n){var r=e.selectAll("rect."+M.railTouchRectClass).data([0]);r.enter().append("rect").classed(M.railTouchRectClass,!0).call(p,t,e,n).style("pointer-events","all"),r.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,M.tickOffset+n.ticklen+n.labelHeight)}).call(E.fill,n.bgcolor).attr("opacity",0),C.setTranslate(r,0,n.currentValueTotalHeight)}function A(e,t){var n=e.selectAll("rect."+M.railRectClass).data([0]);n.enter().append("rect").classed(M.railRectClass,!0);var r=t.inputAreaLength-2*M.railInset;n.attr({width:r,height:M.railWidth,rx:M.railRadius,ry:M.railRadius,"shape-rendering":"crispEdges"}).call(E.stroke,t.bordercolor).call(E.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),C.setTranslate(n,M.railInset,.5*(t.inputAreaWidth-M.railWidth)+t.currentValueTotalHeight)}function x(e){for(var t=e._fullLayout._pushmargin||{},n=Object.keys(t),r=0;r0?[0]:[]);if(s.enter().append("g").classed(M.containerClassName,!0).style("cursor","ew-resize"),s.exit().remove(),s.exit().size()&&x(e),0!==n.length){var l=s.selectAll("g."+M.groupClassName).data(n,o);l.enter().append("g").classed(M.groupClassName,!0),l.exit().each(function(t){_.select(this).remove(),t._commandObserver.remove(),delete t._commandObserver,w.autoMargin(e,M.autoMarginIdRoot+t._index)});for(var u=0;u0||d<0){var p={left:[-n,0],right:[n,0],top:[0,-n],bottom:[0,n]}[b.side];t.attr("transform","translate("+p+")")}}}function h(){k=0,P=!0,M=D,w._infolayer.select("."+t).attr({"data-unformatted":M}).text(M).on("mouseover.opacity",function(){r.select(this).transition().duration(100).style("opacity",1)}).on("mouseout.opacity",function(){r.select(this).transition().duration(1e3).style("opacity",0)})}var m=n.propContainer,g=n.propName,v=n.traceIndex,y=n.dfltName,b=n.avoid||{},A=n.attributes,x=n.transform,_=n.containerGroup,w=e._fullLayout,C=m.titlefont.family,E=m.titlefont.size,T=m.titlefont.color,k=1,P=!1,M=m.title.trim();""===M&&(k=0),M.match(/Click to enter .+ title/)&&(k=.2,P=!0),_||(_=w._infolayer.selectAll(".g-"+t).data([0]),_.enter().append("g").classed("g-"+t,!0));var S=_.selectAll("text").data([0]);S.enter().append("text"),S.text(M).attr("class",t),S.attr({"data-unformatted":M}).call(f);var D="Click to enter "+y+" title";e._context.editable?(M||h(),S.call(c.makeEditable).on("edit",function(t){void 0!==v?a.restyle(e,g,t,v):a.relayout(e,g,t)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(f)}).on("input",function(e){this.text(e||" ").attr(A).selectAll("tspan.line").attr(A)})):M&&!M.match(/Click to enter .+ title/)||S.remove(),S.classed("js-placeholder",P)}},{"../../lib":123,"../../lib/svg_text_utils":137,"../../plotly":147,"../../plots/plots":176,"../color":31,"../drawing":54,d3:14,"fast-isnumeric":17}],106:[function(e,t,n){"use strict";var r=e("../../plots/font_attributes"),o=e("../color/attributes"),a=e("../../lib/extend").extendFlat,i=e("../../plots/pad_attributes"),s={_isLinkedToArray:"button",method:{valType:"enumerated",values:["restyle","relayout","animate","update"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""}};t.exports={_isLinkedToArray:"updatemenu",visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:s,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:a({},i,{}),font:a({},r,{}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:o.borderLine},borderwidth:{valType:"number",min:0,dflt:1}}},{"../../lib/extend":120,"../../plots/font_attributes":172,"../../plots/pad_attributes":175,"../color/attributes":30}],107:[function(e,t,n){"use strict";t.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,fontSizeToHeight:1.3,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF"}},{}],108:[function(e,t,n){"use strict";function r(e,t,n){function r(n,r){return a.coerce(e,t,s,n,r)}var i=o(e,t),l=r("visible",i.length>0);l&&(r("active"),r("direction"),r("type"),r("showactive"),r("x"),r("y"),a.noneOrAll(e,t,["x","y"]),r("xanchor"),r("yanchor"),r("pad.t"),r("pad.r"),r("pad.b"),r("pad.l"),a.coerceFont(r,"font",n.font),r("bgcolor",n.paper_bgcolor),r("bordercolor"),r("borderwidth"))}function o(e,t){function n(e,t){return a.coerce(r,o,c,e,t)}for(var r,o,i=e.buttons||[],s=t.buttons=[],l=0;l0?[0]:[]);if(u.enter().append("g").classed(T.containerClassName,!0).style("cursor","pointer"),u.exit().remove(),u.exit().size()&&y(e),0!==n.length){var c=u.selectAll("g."+T.headerGroupClassName).data(n,o);c.enter().append("g").classed(T.headerGroupClassName,!0);var f=u.selectAll("g."+T.dropdownButtonGroupClassName).data([0]);f.enter().append("g").classed(T.dropdownButtonGroupClassName,!0).style("pointer-events","all"),c.enter().size()&&f.call(v).attr(T.menuIndexAttrName,"-1"),c.exit().each(function(t){b.select(this).remove(),f.call(v).attr(T.menuIndexAttrName,"-1"),A.autoMargin(e,T.autoMarginIdRoot+t._index)});for(var d=0;d",nbsp:" ",times:"×",plusmn:"±",deg:"°"},unicodeToEntity:{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#x27","/":"#x2F"}}},{}],113:[function(e,t,n){"use strict";n.xmlns="http://www.w3.org/2000/xmlns/",n.svg="http://www.w3.org/2000/svg",n.xlink="http://www.w3.org/1999/xlink",n.svgAttrs={xmlns:n.svg,"xmlns:xlink":n.xlink}},{}],114:[function(e,t,n){"use strict";var r=e("./plotly");n.version="1.22.0",e("es6-promise").polyfill(),e("../build/plotcss"),e("./fonts/mathjax_config"),n.plot=r.plot,n.newPlot=r.newPlot,n.restyle=r.restyle,n.relayout=r.relayout,n.redraw=r.redraw,n.update=r.update,n.extendTraces=r.extendTraces,n.prependTraces=r.prependTraces,n.addTraces=r.addTraces,n.deleteTraces=r.deleteTraces,n.moveTraces=r.moveTraces,n.purge=r.purge,n.setPlotConfig=e("./plot_api/set_plot_config"),n.register=e("./plot_api/register"),n.toImage=e("./plot_api/to_image"),n.downloadImage=e("./snapshot/download"),n.validate=e("./plot_api/validate"),n.addFrames=r.addFrames,n.deleteFrames=r.deleteFrames,n.animate=r.animate,n.register(e("./traces/scatter")),n.register([e("./components/legend"),e("./components/annotations"),e("./components/shapes"),e("./components/images"),e("./components/updatemenus"),e("./components/sliders"),e("./components/rangeslider"),e("./components/rangeselector")]),n.Icons=e("../build/ploticon"),n.Plots=r.Plots,n.Fx=r.Fx,n.Snapshot=e("./snapshot"),n.PlotSchema=e("./plot_api/plot_schema"),n.Queue=e("./lib/queue"),n.d3=e("d3")},{"../build/plotcss":1,"../build/ploticon":2,"./components/annotations":29,"./components/images":66,"./components/legend":74,"./components/rangeselector":86,"./components/rangeslider":91,"./components/shapes":98,"./components/sliders":104,"./components/updatemenus":110,"./fonts/mathjax_config":115,"./lib/queue":133,"./plot_api/plot_schema":141,"./plot_api/register":142,"./plot_api/set_plot_config":143,"./plot_api/to_image":145,"./plot_api/validate":146,"./plotly":147,"./snapshot":196,"./snapshot/download":193,"./traces/scatter":292,d3:14,"es6-promise":15}],115:[function(e,t,n){"use strict";"undefined"!=typeof MathJax?(n.MathJax=!0,MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured()):n.MathJax=!1},{}],116:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../constants/numerical").BADNUM,a=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;t.exports=function(e){return"string"==typeof e&&(e=e.replace(a,"")),r(e)?Number(e):o}},{"../constants/numerical":111,"fast-isnumeric":17}],117:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("tinycolor2"),a=e("../components/colorscale/get_scale"),i=(Object.keys(e("../components/colorscale/scales")),e("./nested_property")),s=/^([2-9]|[1-9][0-9]+)$/;n.valObjects={data_array:{coerceFunction:function(e,t,n){Array.isArray(e)?t.set(e):void 0!==n&&t.set(n)}},enumerated:{coerceFunction:function(e,t,n,r){r.coerceNumber&&(e=+e),r.values.indexOf(e)===-1?t.set(n):t.set(e)}},boolean:{coerceFunction:function(e,t,n){e===!0||e===!1?t.set(e):t.set(n)}},number:{coerceFunction:function(e,t,n,o){!r(e)||void 0!==o.min&&eo.max?t.set(n):t.set(+e)}},integer:{coerceFunction:function(e,t,n,o){e%1||!r(e)||void 0!==o.min&&eo.max?t.set(n):t.set(+e)}},string:{coerceFunction:function(e,t,n,r){if("string"!=typeof e){var o="number"==typeof e;r.strict!==!0&&o?t.set(String(e)):t.set(n)}else r.noBlank&&!e?t.set(n):t.set(e)}},color:{coerceFunction:function(e,t,n){o(e).isValid()?t.set(e):t.set(n)}},colorscale:{coerceFunction:function(e,t,n){t.set(a(e,n))}},angle:{coerceFunction:function(e,t,n){"auto"===e?t.set("auto"):r(e)?(Math.abs(e)>180&&(e-=360*Math.round(e/360)),t.set(+e)):t.set(n)}},subplotid:{coerceFunction:function(e,t,n){var r=n.length;return"string"==typeof e&&e.substr(0,r)===n&&s.test(e.substr(r))?void t.set(e):void t.set(n)},validateFunction:function(e,t){var n=t.dflt,r=n.length;return e===n||"string"==typeof e&&!(e.substr(0,r)!==n||!s.test(e.substr(r)))}},flaglist:{coerceFunction:function(e,t,n,r){if("string"!=typeof e)return void t.set(n);if((r.extras||[]).indexOf(e)!==-1)return void t.set(e);for(var o=e.split("+"),a=0;a0&&(i=i.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+i}return r}function l(e){return e.formatDate("yyyy")}function u(e){return e.formatDate("M yyyy")}function c(e){return e.formatDate("M d")}function f(e){return e.formatDate("M d, yyyy")}var d=e("d3"),p=e("fast-isnumeric"),h=e("./loggers").error,m=e("./mod"),g=e("../constants/numerical"),v=g.BADNUM,y=g.ONEDAY,b=g.ONEHOUR,A=g.ONEMIN,x=g.ONESEC,_=g.EPOCHJD,w=e("../registry"),C=d.time.format.utc,E=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,T=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,k=(new Date).getFullYear()-70;n.dateTick0=function(e,t){return r(e)?t?w.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:w.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},n.dfltRange=function(e){return r(e)?w.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},n.isJSDate=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime};var P,M;n.dateTime2ms=function(e,t){if(n.isJSDate(e))return e=Number(e)-e.getTimezoneOffset()*A,e>=P&&e<=M?e:v;if("string"!=typeof e&&"number"!=typeof e)return v;e=String(e);var o=r(t),a=e.charAt(0);!o||"G"!==a&&"g"!==a||(e=e.substr(1),t="");var i=o&&"chinese"===t.substr(0,7),s=e.match(i?T:E);if(!s)return v;var l=s[1],u=s[3]||"1",c=Number(s[5]||1),f=Number(s[7]||0),d=Number(s[9]||0),p=Number(s[11]||0);if(o){if(2===l.length)return v;l=Number(l);var h;try{var m=w.getComponentMethod("calendars","getCal")(t);if(i){var g="i"===u.charAt(u.length-1);u=parseInt(u,10),h=m.newDate(l,m.toMonthIndex(l,u,g),c)}else h=m.newDate(l,Number(u),c)}catch(e){return v}return h?(h.toJD()-_)*y+f*b+d*A+p*x:v}l=2===l.length?(Number(l)+2e3-k)%100+k:Number(l),u-=1;var C=new Date(Date.UTC(2e3,u,c,f,d));return C.setUTCFullYear(l),C.getUTCMonth()!==u?v:C.getUTCDate()!==c?v:C.getTime()+p*x},P=n.MIN_MS=n.dateTime2ms("-9999"),M=n.MAX_MS=n.dateTime2ms("9999-12-31 23:59:59.9999"),n.isDateTime=function(e,t){return n.dateTime2ms(e,t)!==v};var S=90*y,D=3*b,O=5*A;n.ms2DateTime=function(e,t,n){if("number"!=typeof e||!(e>=P&&e<=M))return v;t||(t=0);var o,i,s,l,u,c,f=Math.floor(10*m(e+.05,1)),d=Math.round(e-f/10);if(r(n)){var p=Math.floor(d/y)+_,h=Math.floor(m(e,y));try{o=w.getComponentMethod("calendars","getCal")(n).fromJD(p).formatDate("yyyy-mm-dd")}catch(e){o=C("G%Y-%m-%d")(new Date(d))}if("-"===o.charAt(0))for(;o.length<11;)o="-0"+o.substr(1);else for(;o.length<10;)o="0"+o;i=t=P+y&&e<=M-y))return v;var t=Math.floor(10*m(e+.05,1)),n=new Date(Math.round(e-t/10)),r=d.time.format("%Y-%m-%d")(n),o=n.getHours(),i=n.getMinutes(),s=n.getSeconds(),l=10*n.getUTCMilliseconds()+t;return a(r,o,i,s,l)},n.cleanDate=function(e,t,o){if(n.isJSDate(e)||"number"==typeof e){if(r(o))return h("JS Dates and milliseconds are incompatible with world calendars",e),t;if(e=n.ms2DateTimeLocal(+e),!e&&void 0!==t)return t}else if(!n.isDateTime(e,o))return h("unrecognized date",e),t;return e};var I=/%\d?f/g,L=[59,59.9,59.99,59.999,59.9999],N=C("%Y"),B=C("%b %Y"),F=C("%b %-d"),R=C("%b %-d, %Y");n.formatDate=function(e,t,n,o){var a,d;if(o=r(o)&&o,t)return i(t,e,o);if(o)try{var p=Math.floor((e+.05)/y)+_,h=w.getComponentMethod("calendars","getCal")(o).fromJD(p);"y"===n?d=l(h):"m"===n?d=u(h):"d"===n?(a=l(h),d=c(h)):(a=f(h),d=s(e,n))}catch(e){return"Invalid"}else{var m=new Date(Math.floor(e+.05));"y"===n?d=N(m):"m"===n?d=B(m):"d"===n?(a=N(m),d=F(m)):(a=R(m),d=s(e,n))}return d+(a?"\n"+a:"")};var j=3*y;n.incrementMonth=function(e,t,n){n=r(n)&&n;var o=m(e,y);if(e=Math.round(e-o),n)try{var a=Math.round(e/y)+_,i=w.getComponentMethod("calendars","getCal")(n),s=i.fromJD(a);return t%12?i.add(s,t,"m"):i.add(s,t/12,"y"),(s.toJD()-_)*y+o}catch(t){h("invalid ms "+e+" in calendar "+n)}var l=new Date(e+j);return l.setUTCMonth(l.getUTCMonth()+t)+o-j},n.findExactDates=function(e,t){for(var n,o,a=0,i=0,s=0,l=0,u=r(t)&&w.getComponentMethod("calendars","getCal")(t),c=0;cn?Math.max(n,Math.min(t,e)):Math.max(t,Math.min(n,e))},o.bBoxIntersect=function(e,t,n){return n=n||0,e.left<=t.right+n&&t.left<=e.right+n&&e.top<=t.bottom+n&&t.top<=e.bottom+n},o.identity=function(e){return e},o.noop=function(){},o.simpleMap=function(e,t,n,r){for(var o=e.length,a=new Array(o),i=0;i-1||c!==1/0&&c>=Math.pow(2,n)?e(t,n,r):l},o.OptionControl=function(e,t){e||(e={}),t||(t="opt");var n={};return n.optionList=[],n._newoption=function(r){r[t]=e,n[r.name]=r,n.optionList.push(r)},n["_"+t]=e,n},o.smooth=function(e,t){if(t=Math.round(t)||0,t<2)return e;var n,r,o,a,i=e.length,s=2*i,l=2*t-1,u=new Array(l),c=new Array(i);for(n=0;n=s&&(o-=s*Math.floor(o/s)),o<0?o=-1-o:o>=i&&(o=s-1-o),a+=e[o]*u[r];c[n]=a}return c},o.syncOrAsync=function(e,t,n){function r(){return o.syncOrAsync(e,t,n)}for(var a,i;e.length;)if(i=e.splice(0,1)[0],a=i(t),a&&a.then)return a.then(r).then(void 0,o.promiseError);return n&&n(t)},o.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},o.noneOrAll=function(e,t,n){if(e){var r,o,a=!1,i=!0;for(r=0;r1?o+i[1]:"";if(a&&(i.length>1||s.length>4||n))for(;r.test(s);)s=s.replace(r,"$1"+a+"$2");return s+l}},{"./clean_number":116,"./coerce":117,"./dates":118,"./extend":120,"./filter_unique":121,"./filter_visible":122,"./is_array":124,"./is_plain_object":125,"./loggers":126,"./matrix":127,"./mod":128,"./nested_property":129,"./notifier":130,"./search":134,"./stats":136,d3:14}],124:[function(e,t,n){"use strict";var r="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}};t.exports=function(e){return Array.isArray(e)||r.isView(e)}},{}],125:[function(e,t,n){"use strict";t.exports=function(e){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(e):"[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.prototype}},{}],126:[function(e,t,n){"use strict";var r=e("../plot_api/plot_config"),o=t.exports={};o.log=function(){if(r.logging>1){for(var e=["LOG:"],t=0;t0){for(var e=["WARN:"],t=0;t0){for(var e=["ERROR:"],t=0;t=0;t--){if(r=e[t],i=!1,d(r))for(n=r.length-1;n>=0;n--)u(r[n])?i?r[n]=void 0:r.pop():i=!0;else if("object"==typeof r&&null!==r)for(a=Object.keys(r),i=!1,n=a.length-1;n>=0;n--)u(r[a[n]])&&!o(r[a[n]],a[n])?delete r[a[n]]:i=!0;if(i)return}}function u(e){return void 0===e||null===e||"object"==typeof e&&(d(e)?!e.length:!Object.keys(e).length)}function c(e,t,n){return{set:function(){throw"bad container"},get:function(){},astr:t,parts:n,obj:e}}var f=e("fast-isnumeric"),d=e("./is_array");t.exports=function(e,t){if(f(t))t=String(t);else if("string"!=typeof t||"[-1]"===t.substr(t.length-4))throw"bad property string";for(var n,o,i,s=0,l=t.split(".");s/g),s=0;sa||rs)&&(!t||!u(e))}function n(e,t){var n=e[0],l=e[1];if(na||ls)return!1;var u,c,f,d,p,h=r.length,m=r[0][0],g=r[0][1],v=0;for(u=1;uMath.max(c,m)||l>Math.max(f,g)))if(lc||Math.abs(r(i,d))>o)return!0;return!1};o.filter=function(e,t){function n(n){e.push(n);var s=r.length,l=o;r.splice(i+1);for(var u=l+1;u1){var s=e.pop();n(s)}return{addPt:n,raw:e,filtered:r}}},{"./matrix":127}],133:[function(e,t,n){"use strict";function r(e,t){for(var n,r=[],a=0;aa.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)))},i.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},i.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},i.undo=function(e){var t,n;if(e.framework&&e.framework.isPolar)return void e.framework.undo();if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;n=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;nt}function i(e,t){return e>=t}var s=e("fast-isnumeric"),l=e("./loggers");n.findBin=function(e,t,n){if(s(t.start))return n?Math.ceil((e-t.start)/t.size)-1:Math.floor((e-t.start)/t.size);var u,c,f=0,d=t.length,p=0;for(c=t[t.length-1]>=t[0]?n?r:o:n?i:a;f90&&l.log("Long binary search..."),f-1},n.sorterAsc=function(e,t){return e-t},n.sorterDes=function(e,t){return t-e},n.distinctVals=function(e){var t=e.slice();t.sort(n.sorterAsc);for(var r=t.length-1,o=t[r]-t[0]||1,a=o/(r||1)/1e4,i=[t[0]],s=0;st[s]+a&&(o=Math.min(o,t[s+1]-t[s]),i.push(t[s+1]));return{vals:i,minDiff:o}},n.roundUp=function(e,t,n){for(var r,o=0,a=t.length-1,i=0,s=n?0:1,l=n?1:0,u=n?Math.ceil:Math.floor;oe.length-1)return e[e.length-1];var n=t%1;return n*e[Math.ceil(t)]+(1-n)*e[Math.floor(t)]}},{"fast-isnumeric":17}],137:[function(e,t,n){"use strict";function r(e,t){return e.node().getBoundingClientRect()[t]}function o(e){return e.replace(/(<|<|<)/g,"\\lt ").replace(/(>|>|>)/g,"\\gt ")}function a(e,t,n){var r="math-output-"+d.randstr([],64),a=f.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(o(e));MathJax.Hub.Queue(["Typeset",MathJax.Hub,a.node()],function(){var t=f.select("body").select("#MathJax_SVG_glyphs");if(a.select(".MathJax_SVG").empty()||!a.select("svg").node())d.log("There was an error in the tex syntax.",e),n();else{var r=a.select("svg").node().getBoundingClientRect();n(a.select(".MathJax_SVG"),t,r)}a.remove()})}function i(e,t){for(var n=e||"",r=0;r]*>)/).map(function(e){var t=e.match(/<(\/?)([^ >]*)\s*(.*)>/i),r=t&&t[2].toLowerCase(),o=m[r];if(void 0!==o){var a=t[1],i=t[3],s=i.match(/^style\s*=\s*"([^"]+)"\s*/i);if("a"===r){if(a)return"";if("href"!==i.substr(0,4).toLowerCase())return"";var u=i.substr(4).replace(/["']/g,"").replace(/=/,""),c=document.createElement("a");return c.href=u,g.indexOf(c.protocol)===-1?"":''}if("br"===r)return"
";if(a)return"sup"===r?'':"sub"===r?'':"";var f=""}return n.xml_entity_encode(e).replace(/");o>0;o=t.indexOf("
",o+1))r.push(o);var a=0;r.forEach(function(e){for(var n=e+a,r=t.slice(0,n),o="",i=r.length-1;i>=0;i--){var s=r[i].match(/<(\/?).*>/i);if(s&&"
"!==r[i]){s[1]||(o=r[i]);break}}o&&(t.splice(n+1,0,o),t.splice(n,0,""),a+=2)});var i=t.join(""),u=i.split(/
/gi);return u.length>1&&(t=u.map(function(e,t){return''+e+""})),t.join("")}function c(e,t,n){var r,o,a,i=n.horizontalAlign,s=n.verticalAlign||"top",l=e.node().getBoundingClientRect(),u=t.node().getBoundingClientRect();return o="bottom"===s?function(){return l.bottom-r.height}:"middle"===s?function(){return l.top+(l.height-r.height)/2}:function(){return l.top},a="right"===i?function(){return l.right-r.width}:"center"===i?function(){return l.left+(l.width-r.width)/2}:function(){return l.left},function(){return r=this.node().getBoundingClientRect(),this.style({top:o()-u.top+"px",left:a()-u.left+"px","z-index":1e3}),this}}var f=e("d3"),d=e("../lib"),p=e("../constants/xmlns_namespaces"),h=e("../constants/string_mappings");f.selection.prototype.appendSVG=function(e){for(var t=['',e,""].join(""),n=(new DOMParser).parseFromString(t,"application/xml"),r=n.documentElement.firstChild;r;)this.node().appendChild(this.node().ownerDocument.importNode(r,!0)),r=r.nextSibling;return n.querySelector("parsererror")?(d.log(n.querySelector("parsererror div").textContent),null):f.select(this.node().lastChild)},n.html_entity_decode=function(e){var t=f.select("body").append("div").style({display:"none"}).html(""),n=e.replace(/(&[^;]*;)/gi,function(e){return"<"===e?"<":"&rt;"===e?">":e.indexOf("<")!==-1||e.indexOf(">")!==-1?"":t.html(e).text()});return t.remove(),n},n.xml_entity_encode=function(e){return e.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")},n.convertToTspans=function(e,t){function n(){p.empty()||(h=s.attr("class")+"-math",p.select("svg."+h).remove()),e.text("").style({visibility:"inherit","white-space":"pre"}),c=e.appendSVG(i),c||e.text(o),e.select("a").size()&&e.style("pointer-events","all"),t&&t.call(s)}var o=e.text(),i=u(o),s=e,l=!s.attr("data-notex")&&i.match(/([^$]*)([$]+[^$]*[$]+)([^$]*)/),c=o,p=f.select(s.node().parentNode);if(!p.empty()){var h=s.attr("class")?s.attr("class").split(" ")[0]:"text";h+="-math",p.selectAll("svg."+h).remove(),p.selectAll("g."+h+"-group").remove(),e.style({visibility:null});for(var m=e.node();m&&m.removeAttribute;m=m.parentNode)m.removeAttribute("data-bb");if(l){var g=d.getPlotDiv(s.node());(g&&g._promises||[]).push(new Promise(function(e){s.style({visibility:"hidden"});var o={fontSize:parseInt(s.style("font-size"),10)};a(l[2],o,function(o,a,i){p.selectAll("svg."+h).remove(),p.selectAll("g."+h+"-group").remove();var l=o&&o.select("svg");if(!l||!l.node())return n(),void e();var u=p.append("g").classed(h+"-group",!0).attr({"pointer-events":"none"});u.node().appendChild(l.node()),a&&a.node()&&l.node().insertBefore(a.node().cloneNode(!0),l.node().firstChild),l.attr({class:h,height:i.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var c=s.style("fill")||"black";l.select("g").attr({fill:c,stroke:c});var f=r(l,"width"),d=r(l,"height"),m=+s.attr("x")-f*{start:0,middle:.5,end:1}[s.attr("text-anchor")||"start"],g=parseInt(s.style("font-size"),10)||r(s,"height"),v=-g/4;"y"===h[0]?(u.attr({transform:"rotate("+[-90,+s.attr("x"),+s.attr("y")]+") translate("+[-f/2,v-d/2]+")"}),l.attr({x:+s.attr("x"),y:+s.attr("y")})):"l"===h[0]?l.attr({x:s.attr("x"),y:v-d/2}):"a"===h[0]?l.attr({x:0,y:v}):l.attr({x:m,y:+s.attr("y")+v-d/2}),t&&t.call(s,u),e(u)})}))}else n();return e}};var m={sup:'font-size:70%" dy="-0.6em',sub:'font-size:70%" dy="0.3em',b:"font-weight:bold",i:"font-style:italic",a:"",span:"",br:"",em:"font-style:italic;font-weight:bold"},g=["http:","https:","mailto:"],v=new RegExp("]*)?/?>","g"),y=Object.keys(h.entityToUnicode).map(function(e){return{regExp:new RegExp("&"+e+";","g"),sub:h.entityToUnicode[e]}}),b=Object.keys(h.unicodeToEntity).map(function(e){return{regExp:new RegExp(e,"g"),sub:"&"+h.unicodeToEntity[e]+";"}});n.plainText=function(e){return(e||"").replace(v," ")},n.makeEditable=function(e,t,n){function r(){a(),i.style({opacity:0});var e,t=u.attr("class");e=t?"."+t.split(" ")[0]+"-math-group":"[class*=-math-group]",e&&f.select(i.node().parentNode).select(e).style({opacity:0})}function o(e){var t=e.node(),n=document.createRange();n.selectNodeContents(t);var r=window.getSelection();r.removeAllRanges(),r.addRange(n),t.focus()}function a(){var e=f.select(d.getPlotDiv(i.node())),t=e.select(".svg-container"),r=t.append("div");r.classed("plugin-editable editable",!0).style({position:"absolute","font-family":i.style("font-family")||"Arial","font-size":i.style("font-size")||12,color:n.fill||i.style("fill")||"black",opacity:1,"background-color":n.background||"transparent",outline:"#ffffff33 1px solid",margin:[-parseFloat(i.style("font-size"))/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(n.text||i.attr("data-unformatted")).call(c(i,t,n)).on("blur",function(){i.text(this.textContent).style({opacity:1});var e,t=f.select(this).attr("class");e=t?"."+t.split(" ")[0]+"-math-group":"[class*=-math-group]",e&&f.select(i.node().parentNode).select(e).style({opacity:0});var n=this.textContent;f.select(this).transition().duration(0).remove(),f.select(document).on("mouseup",null),s.edit.call(i,n)}).on("focus",function(){var e=this;f.select(document).on("mouseup",function(){return f.event.target!==e&&void(document.activeElement===r.node()&&r.node().blur())})}).on("keyup",function(){27===f.event.which?(i.style({opacity:1}),f.select(this).style({opacity:0}).on("blur",function(){return!1}).transition().remove(),s.cancel.call(i,this.textContent)):(s.input.call(i,this.textContent),f.select(this).call(c(i,t,n)))}).on("keydown",function(){13===f.event.which&&this.blur()}).call(o)}n||(n={});var i=this,s=f.dispatch("edit","input","cancel"),l=f.select(this.node()).style({"pointer-events":"all"}),u=t||l;return t&&l.style({"pointer-events":"none"}),n.immediate?r():u.on("click",r),f.rebind(this,s,"on")}},{"../constants/string_mappings":112,"../constants/xmlns_namespaces":113,"../lib":123,d3:14}],138:[function(e,t,n){"use strict";function r(e,t){var n=e[t],r=t.charAt(0);n&&"paper"!==n&&(e[t]=f.cleanId(n,r))}function o(e){var t="middle",n="center";return e.indexOf("top")!==-1?t="top":e.indexOf("bottom")!==-1&&(t="bottom"),e.indexOf("left")!==-1?n="left":e.indexOf("right")!==-1&&(n="right"),t+" "+n}function a(e,t){return t in e&&"object"==typeof e[t]&&0===Object.keys(e[t]).length}var i=e("fast-isnumeric"),s=e("gl-mat4/fromQuat"),l=e("../registry"),u=e("../lib"),c=e("../plots/plots"),f=e("../plots/cartesian/axes"),d=e("../components/color");n.getGraphDiv=function(e){var t;if("string"==typeof e){if(t=document.getElementById(e),null===t)throw new Error("No DOM element with id '"+e+"' exists on the page.");return t}if(null===e||void 0===e)throw new Error("DOM element provided is null or undefined");return e},n.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&u.log("Clearing previous rejected promises from queue."),e._promises=[]},n.cleanLayout=function(e){var t,n;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1);var o=f.list({_fullLayout:e});for(t=0;t3?(g.x=1.02,g.xanchor="left"):g.x<-2&&(g.x=-.02,g.xanchor="right"),g.y>3?(g.y=1.02,g.yanchor="bottom"):g.y<-2&&(g.y=-.02,g.yanchor="top")),"rotate"===e.dragmode&&(e.dragmode="orbit"),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var v=c.getSubplotIds(e,"gl3d");for(t=0;t=e.data.length||o<-e.data.length)throw new Error(n+" must be valid indices for gd.data.");if(t.indexOf(o,r+1)>-1||o>=0&&t.indexOf(-e.data.length+o)>-1||o<0&&t.indexOf(e.data.length+o)>-1)throw new Error("each index in "+n+" must be unique.")}}function l(e,t,n){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if("undefined"==typeof t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),s(e,t,"currentIndices"),"undefined"==typeof n||Array.isArray(n)||(n=[n]),"undefined"!=typeof n&&s(e,n,"newIndices"),"undefined"!=typeof n&&t.length!==n.length)throw new Error("current and new indices must be of equal length.")}function u(e,t,n){var r,o;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if("undefined"==typeof t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),r=0;r=0&&lD.range[0]?[1,2]:[2,1]);else{var O=D.range[0],I=D.range[1];"log"===A?(O<=0&&I<=0&&n(k+".autorange",!0),O<=0?O=I/1e6:I<=0&&(I=O/1e6),n(k+".range[0]",Math.log(O)/Math.LN10),n(k+".range[1]",Math.log(I)/Math.LN10)):(n(k+".range[0]",Math.pow(10,O)),n(k+".range[1]",Math.pow(10,I)))}else n(k+".autorange",!0)}if("reverse"===E)P.range?P.range.reverse():(n(k+".autorange",!0),P.range=[1,0]),M.autorange?p.docalc=!0:p.doplot=!0;else if("annotations"===v.parts[0]||"shapes"===v.parts[0]){var L=v.parts[1],N=v.parts[0],B=a[N]||[],F=B[L]||{};2===v.parts.length&&(null===A&&(t[g]="remove"),"add"===t[g]||b.isPlainObject(t[g])?m[g]="remove":"remove"===t[g]?L===-1?(m[N]=B,delete m[g]):m[g]=F:b.log("???",t)),!r(F,"x")&&!r(F,"y")||b.containsAny(g,["color","opacity","align","dash"])||(p.docalc=!0);var R=_.getComponentMethod(N,"drawOne");R(e,L,v.parts.slice(2).join("."),t[g]),delete t[g]}else if(w.layoutArrayContainers.indexOf(v.parts[0])!==-1||"mapbox"===v.parts[0]&&"layers"===v.parts[1])S.manageArrayContainers(v,A,m),p.doplot=!0;else{var j=String(v.parts[1]||"");0===v.parts[0].indexOf("scene")?p.doplot=!0:0===v.parts[0].indexOf("geo")?p.doplot=!0:0===v.parts[0].indexOf("ternary")?p.doplot=!0:"paper_bgcolor"===g?p.doplot=!0:!i._has("gl2d")||g.indexOf("axis")===-1&&"plot_bgcolor"!==v.parts[0]?"hiddenlabels"===g?p.docalc=!0:v.parts[0].indexOf("legend")!==-1?p.dolegend=!0:g.indexOf("title")!==-1?p.doticks=!0:v.parts[0].indexOf("bgcolor")!==-1?p.dolayoutstyle=!0:v.parts.length>1&&b.containsAny(j,["tick","exponent","grid","zeroline"])?p.doticks=!0:g.indexOf(".linewidth")!==-1&&g.indexOf("axis")!==-1?p.doticks=p.dolayoutstyle=!0:v.parts.length>1&&j.indexOf("line")!==-1?p.dolayoutstyle=!0:v.parts.length>1&&"mirror"===j?p.doticks=p.dolayoutstyle=!0:"margin.pad"===g?p.doticks=p.dolayoutstyle=!0:"margin"===v.parts[0]||"autorange"===v.parts[1]||"rangemode"===v.parts[1]||"type"===v.parts[1]||"domain"===v.parts[1]||g.indexOf("calendar")!==-1||g.match(/^(bar|box|font)/)?p.docalc=!0:["hovermode","dragmode"].indexOf(g)!==-1?p.domodebar=!0:["hovermode","dragmode","height","width","autosize"].indexOf(g)===-1&&(p.doplot=!0):p.doplot=!0,v.set(A)}}}var z=e._fullLayout.width,H=e._fullLayout.height;w.supplyDefaults(e),e.layout.autosize&&w.plotAutoSize(e,e.layout,e._fullLayout);var U=t.height||t.width||e._fullLayout.width!==z||e._fullLayout.height!==H;return U&&(p.docalc=!0),(p.doplot||p.docalc)&&(p.layoutReplot=!0),{flags:p,undoit:m,redoit:h,eventData:b.extendDeep({},h)}}function m(e){var t=g.select(e),n=e._fullLayout;if(n._container=t.selectAll(".plot-container").data([0]),n._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),n._paperdiv=n._container.selectAll(".svg-container").data([0]),n._paperdiv.enter().append("div").classed("svg-container",!0).style("position","relative"),n._glcontainer=n._paperdiv.selectAll(".gl-container").data([0]),n._glcontainer.enter().append("div").classed("gl-container",!0),n._geocontainer=n._paperdiv.selectAll(".geo-container").data([0]),n._geocontainer.enter().append("div").classed("geo-container",!0),n._paperdiv.selectAll(".main-svg").remove(),n._paper=n._paperdiv.insert("svg",":first-child").classed("main-svg",!0),n._toppaper=n._paperdiv.append("svg").classed("main-svg",!0),!n._uid){var r=[];g.selectAll("defs").each(function(){this.id&&r.push(this.id.split("-")[1])}),n._uid=b.randstr(r)}n._paperdiv.selectAll(".main-svg").attr(P.svgAttrs),n._defs=n._paper.append("defs").attr("id","defs-"+n._uid),n._topdefs=n._toppaper.append("defs").attr("id","topdefs-"+n._uid),n._draggers=n._paper.append("g").classed("draglayer",!0);var o=n._paper.append("g").classed("layer-below",!0);n._imageLowerLayer=o.append("g").classed("imagelayer",!0),n._shapeLowerLayer=o.append("g").classed("shapelayer",!0),n._cartesianlayer=n._paper.append("g").classed("cartesianlayer",!0),n._ternarylayer=n._paper.append("g").classed("ternarylayer",!0);var a=n._paper.append("g").classed("layer-above",!0);n._imageUpperLayer=a.append("g").classed("imagelayer",!0),n._shapeUpperLayer=a.append("g").classed("shapelayer",!0),n._pielayer=n._paper.append("g").classed("pielayer",!0),n._glimages=n._paper.append("g").classed("glimages",!0),n._geoimages=n._paper.append("g").classed("geoimages",!0),n._infolayer=n._toppaper.append("g").classed("infolayer",!0),n._zoomlayer=n._toppaper.append("g").classed("zoomlayer",!0),n._hoverlayer=n._toppaper.append("g").classed("hoverlayer",!0),e.emit("plotly_framework")}var g=e("d3"),v=e("fast-isnumeric"),y=e("../plotly"),b=e("../lib"),A=e("../lib/events"),x=e("../lib/queue"),_=e("../registry"),w=e("../plots/plots"),C=e("../plots/cartesian/graph_interact"),E=e("../plots/polar"),T=e("../components/drawing"),k=e("../components/errorbars"),P=e("../constants/xmlns_namespaces"),M=e("../lib/svg_text_utils"),S=e("./helpers"),D=e("./subroutines");y.plot=function(e,t,n,r){function i(){if(x)return y.addFrames(e,x)}function s(){for(var t=O._basePlotModules,n=0;n=s.length?s[0]:s[e]:s}function o(e){return Array.isArray(l)?e>=l.length?l[0]:l[e]:l}function a(e,t){var n=0;return function(){if(e&&++n===t)return e()}}if(e=S.getGraphDiv(e),!b.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before animating it. For more details, see https://plot.ly/javascript/animations/");var i=e._transitionData;i._frameQueue||(i._frameQueue=[]),n=w.supplyAnimationDefaults(n);var s=n.transition,l=n.frame;return void 0===i._frameWaitingCnt&&(i._frameWaitingCnt=0),new Promise(function(l,u){function c(){if(0!==i._frameQueue.length){for(;i._frameQueue.length;){var t=i._frameQueue.pop();t.onInterrupt&&t.onInterrupt()}e.emit("plotly_animationinterrupted",[])}}function f(t){if(0!==t.length){for(var s=0;si._timeToNext&&p()};t()}function m(e){return Array.isArray(s)?y>=s.length?e.transitionOpts=s[y]:e.transitionOpts=s[0]:e.transitionOpts=s,y++,e}var g,v,y=0,A=[],x=void 0===t||null===t,_=Array.isArray(t),C=!x&&!_&&b.isPlainObject(t);if(C)A.push({type:"object",data:m(b.extendFlat({},t))});else if(x||["string","number"].indexOf(typeof t)!==-1)for(g=0;g0&&kk)&&P.push(v);A=P}}A.length>0?f(A):(e.emit("plotly_animated"),l())})},y.addFrames=function(e,t,n){e=S.getGraphDiv(e);var r=0;if(null===t||void 0===t)return Promise.resolve();if(!b.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plot.ly/javascript/animations/");var o,a,i,s,l=e._transitionData._frames,u=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+t);var c=l.length+2*t.length,f=[];for(o=t.length-1;o>=0;o--)if(b.isPlainObject(t[o])){var d=(u[t[o].name]||{}).name,p=t[o].name;d&&p&&"number"==typeof p&&u[d]&&(r++,b.warn('addFrames: overwriting frame "'+u[d].name+'" with a frame whose name of type "number" also equates to "'+d+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),r>5&&b.warn("addFrames: This API call has yielded too many warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),f.push({frame:w.supplyFrameDefaults(t[o]),index:n&&void 0!==n[o]&&null!==n[o]?n[o]:c+o})}f.sort(function(e,t){return e.index>t.index?-1:e.index=0;o--){if(a=f[o].frame,"number"==typeof a.name&&b.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!a.name)for(;u[a.name="frame "+e._transitionData._counter++];);if(u[a.name]){for(i=0;i=0;n--)r=t[n],a.push({type:"delete",index:r}),i.unshift({type:"insert",index:r,value:o[r]});var s=w.modifyFrames,l=w.modifyFrames,u=[e,i],c=[e,a];return x&&x.add(e,s,u,l,c),w.modifyFrames(e,a)},y.purge=function(e){e=S.getGraphDiv(e);var t=e._fullLayout||{},n=e._fullData||[];return w.cleanPlot([],{},n,t),w.purge(e),A.purge(e),t._container&&t._container.remove(),delete e._context,delete e._replotPending,delete e._mouseDownTime,delete e._hmpixcount,delete e._hmlumcount,e}},{"../components/drawing":54,"../components/errorbars":60,"../constants/xmlns_namespaces":113,"../lib":123,"../lib/events":119,"../lib/queue":133,"../lib/svg_text_utils":137,"../plotly":147,"../plots/cartesian/graph_interact":159,"../plots/plots":176,"../plots/polar":179,"../registry":191,"./helpers":138,"./subroutines":144,d3:14,"fast-isnumeric":17}],140:[function(e,t,n){"use strict";function r(e,n){try{e._fullLayout._paper.style("background",n)}catch(e){t.exports.logging>0&&console.error(e)}}t.exports={staticPlot:!1,editable:!1,autosizable:!1,queueLength:0,fillFrame:!1,frameMargins:0,scrollZoom:!1,doubleClick:"reset+autosize",showTips:!0,showLink:!1,sendData:!0,linkText:"Edit chart",showSources:!1,displayModeBar:"hover",modeBarButtonsToRemove:[],modeBarButtonsToAdd:[],modeBarButtons:!1,displaylogo:!0,plotGlPixelRatio:2,setBackground:r,topojsonURL:"https://cdn.plot.ly/",mapboxAccessToken:null,logging:!1,globalTransforms:[]}},{}],141:[function(e,t,n){"use strict";function r(e){var t,n;"area"===e?(t={attributes:b},n={}):(t=p.modules[e]._module,n=t.basePlotModule);var r={};r.type=null,_(r,m),_(r,t.attributes),n.attributes&&_(r,n.attributes),Object.keys(p.componentsRegistry).forEach(function(t){var n=p.componentsRegistry[t];n.schema&&n.schema.traces&&n.schema.traces[e]&&Object.keys(n.schema.traces[e]).forEach(function(t){d(r,n.schema.traces[e][t],t)})}),r.type=e;var o={meta:t.meta||{},attributes:s(r)};if(t.layoutAttributes){var a={};_(a,t.layoutAttributes),o.layoutAttributes=s(a)}return o}function o(){var e={};return _(e,g),Object.keys(p.subplotsRegistry).forEach(function(t){var n=p.subplotsRegistry[t];if(n.layoutAttributes)if("cartesian"===n.name)f(e,n,"xaxis"),f(e,n,"yaxis");else{var r="subplot"===n.attr?n.name:n.attr;f(e,n,r)}}),e=c(e),Object.keys(p.componentsRegistry).forEach(function(t){var n=p.componentsRegistry[t];n.layoutAttributes&&(n.schema&&n.schema.layout?Object.keys(n.schema.layout).forEach(function(t){d(e,n.schema.layout[t],t)}):d(e,n.layoutAttributes,n.name))}),{layoutAttributes:s(e)}}function a(e){var t=p.transformsRegistry[e],n=_({},t.attributes);return Object.keys(p.componentsRegistry).forEach(function(t){var r=p.componentsRegistry[t];r.schema&&r.schema.transforms&&r.schema.transforms[e]&&Object.keys(r.schema.transforms[e]).forEach(function(t){d(n,r.schema.transforms[e][t],t)})}),{attributes:s(n)}}function i(){var e={frames:h.extendDeep({},v)};return s(e),e.frames}function s(e){return l(e),u(e),e}function l(e){function t(e){return{valType:"string"}}function r(e,r,o){n.isValObject(e)?"data_array"===e.valType?(e.role="data",o[r+"src"]=t(r)):e.arrayOk===!0&&(o[r+"src"]=t(r)):h.isPlainObject(e)&&(e.role="object")}n.crawl(e,r)}function u(e){function t(e,t,n){if(e){var r=e[C];r&&(delete e[C],n[t]={items:{}},n[t].items[r]=e,n[t].role="object")}}n.crawl(e,t)}function c(e){return x(e,{radialaxis:A.radialaxis,angularaxis:A.angularaxis}),x(e,A.layout),e}function f(e,t,n){var r=h.nestedProperty(e,n),o=_({},t.layoutAttributes);o[w]=!0,r.set(o)}function d(e,t,n){var r=h.nestedProperty(e,n);r.set(_(r.get()||{},t))}var p=e("../registry"),h=e("../lib"),m=e("../plots/attributes"),g=e("../plots/layout_attributes"),v=e("../plots/frame_attributes"),y=e("../plots/animation_attributes"),b=e("../plots/polar/area_attributes"),A=e("../plots/polar/axis_attributes"),x=h.extendFlat,_=h.extendDeep,w="_isSubplotObj",C="_isLinkedToArray",E="_deprecated",T=[w,C,E]; -n.IS_SUBPLOT_OBJ=w,n.IS_LINKED_TO_ARRAY=C,n.DEPRECATED=E,n.UNDERSCORE_ATTRS=T,n.get=function(){var e={};p.allTypes.concat("area").forEach(function(t){e[t]=r(t)});var t={};return Object.keys(p.transformsRegistry).forEach(function(e){t[e]=a(e)}),{defs:{valObjects:h.valObjects,metaKeys:T.concat(["description","role"])},traces:e,layout:o(),transforms:t,frames:i(),animation:s(y)}},n.crawl=function(e,t,r){var o=r||0;Object.keys(e).forEach(function(r){var a=e[r];T.indexOf(r)===-1&&(t(a,r,e,o),n.isValObject(a)||h.isPlainObject(a)&&n.crawl(a,t,o+1))})},n.isValObject=function(e){return e&&void 0!==e.valType},n.findArrayAttributes=function(e){function t(t,n,i,s){a=a.slice(0,s).concat([n]);var l=t&&("data_array"===t.valType||t.arrayOk===!0);if(l){var u=r(a),c=h.nestedProperty(e,u).get();Array.isArray(c)&&o.push(u)}}function r(e){return e.join(".")}var o=[],a=[];if(n.crawl(e._module.attributes,t),e.transforms)for(var i=e.transforms,s=0;s1)};d(t.width)&&d(t.height)||r(new Error("Height and width should be pixel values."));var p=l(e,{format:"png",height:t.height,width:t.width}),h=p.gd;h.style.position="absolute",h.style.left="-5000px",document.body.appendChild(h);var m=s.getRedrawFunc(h);a.plot(h,p.data,p.layout,p.config).then(m).then(f).then(function(e){n(e)}).catch(function(e){r(e)})});return n}var o=e("fast-isnumeric"),a=e("../plotly"),i=e("../lib"),s=e("../snapshot/helpers"),l=e("../snapshot/cloneplot"),u=e("../snapshot/tosvg"),c=e("../snapshot/svgtoimg");t.exports=r},{"../lib":123,"../plotly":147,"../snapshot/cloneplot":192,"../snapshot/helpers":195,"../snapshot/svgtoimg":197,"../snapshot/tosvg":199,"fast-isnumeric":17}],146:[function(e,t,n){"use strict";function r(e,t,n,o,a,u){u=u||[];for(var c=Object.keys(e),d=0;d1&&l.push(i("object","layout"))),d.supplyDefaults(u);for(var c=u._fullData,g=n.length,v=0;v.3*f||a(r)||a(o))){var d=n.dtick/2;e+=e+di){var s=Number(n.substr(1));a.exactYears>i&&s%12===0?e=N.tickIncrement(e,"M6","reverse")+1.5*S:a.exactMonths>i?e=N.tickIncrement(e,"M1","reverse")+15.5*S:e-=S/2;var l=N.tickIncrement(e,n);if(l<=r)return l}return e}function a(e){var t,n,r=e.tickvals,o=e.ticktext,a=new Array(r.length),i=x.simpleMap(e.range,e.r2l),s=1.0001*i[0]-1e-4*i[1],u=1.0001*i[1]-1e-4*i[0],c=Math.min(s,u),f=Math.max(s,u),d=0;Array.isArray(o)||(o=[]);var p="category"===e.type?e.d2l_noadd:e.d2l;for("log"===e.type&&"L"!==String(e.dtick).charAt(0)&&(e.dtick="L"+Math.pow(10,Math.floor(Math.min(e.range[0],e.range[1]))-1)),n=0;nc&&t10||"01-01"!==r.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12===0?"y":"m";else if(t>=S&&o<=10||t>=15*S)e._tickround="d";else if(t>=O&&o<=16||t>=D)e._tickround="M";else if(t>=I&&o<=19||t>=O)e._tickround="S";else{var a=e.l2r(n+t).replace(/^-/,"").length;e._tickround=Math.max(o,a)-20}}else if(b(t)||"L"===t.charAt(0)){var i=e.range.map(e.r2d||Number);b(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(i[0]),Math.abs(i[1])),l=Math.floor(Math.log(s)/Math.LN10+.01);Math.abs(l)>3&&("SI"===e.exponentformat||"B"===e.exponentformat?e._tickexponent=3*Math.round((l-1)/3):e._tickexponent=l)}else e._tickround=null}function l(e,t,n){var r=e.tickfont||e._gd._fullLayout.font;return{x:t,dx:0,dy:0,text:n||"",fontSize:r.size,font:r.family,fontColor:r.color}}function u(e,t,n,r){var o=e._tickround,a=n&&e.hoverformat||e.tickformat;r&&(o=b(o)?4:{y:"m",m:"d",d:"M",M:"S",S:4}[o]);var i,s=x.formatDate(t.x,a,o,e.calendar),l=s.indexOf("\n");l!==-1&&(i=s.substr(l+1),s=s.substr(0,l)),r&&("00:00:00"===s||"00:00"===s?(s=i,i=""):8===s.length&&(s=s.replace(/:00$/,""))),i&&(n?"d"===o?s+=", "+i:s=i+(s?", "+s:""):e._inCalcTicks&&i===e._prevDateHead||(s+="
"+i,e._prevDateHead=i)),t.text=s}function c(e,t,n,r,o){var a=e.dtick,i=t.x;if(!r||"string"==typeof a&&"L"===a.charAt(0)||(a="L3"),e.tickformat||"string"==typeof a&&"L"===a.charAt(0))t.text=p(Math.pow(10,i),e,o,r);else if(b(a)||"D"===a.charAt(0)&&x.mod(i+.01,1)<.1)if(["e","E","power"].indexOf(e.exponentformat)!==-1){var s=Math.round(i);0===s?t.text=1:1===s?t.text="10":s>1?t.text="10"+s+"":t.text="10−"+-s+"",t.fontSize*=1.25}else t.text=p(Math.pow(10,i),e,"","fakehover"),"D1"===a&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6);else{if("D"!==a.charAt(0))throw"unrecognized dtick "+String(a);t.text=String(Math.round(Math.pow(10,x.mod(i,1)))),t.fontSize*=.75}if("D1"===e.dtick){var l=String(t.text).charAt(0);"0"!==l&&"1"!==l||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(i<0?.5:.25)))}}function f(e,t){var n=e._categories[Math.round(t.x)];void 0===n&&(n=""),t.text=String(n)}function d(e,t,n,r,o){"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(o="hide"),t.text=p(t.x,e,o,r)}function p(e,t,n,r){var o=e<0,a=t._tickround,i=n||t.exponentformat||"B",l=t._tickexponent,u=t.tickformat,c=t.separatethousands;if(r){var f={exponentformat:t.exponentformat,dtick:"none"===t.showexponent?t.dtick:b(e)?Math.abs(e)||1:1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};s(f),a=(Number(f._tickround)||0)+4,l=f._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return y.format(u)(e).replace(/-/g,"−");var d=Math.pow(10,-a)/2;if("none"===i&&(l=0),e=Math.abs(e),e12||l<-15)?e+="e"+m:"E"===i?e+="E"+m:"power"===i?e+="×10"+m+"":"B"===i&&9===l?e+="B":"SI"!==i&&"B"!==i||(e+=W[l/3+5])}return o?"−"+e:e}function h(e,t){var n,r,o=[];for(n=0;n1)for(r=1;r2e-6||((n-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},N.getAutoRange=function(e){var t,n=[],r=e._min[0].val,o=e._max[0].val;for(t=1;t0&&c>0&&f/c>d&&(l=i,u=s,d=f/c);if(r===o){var m=r-1,g=r+1;n="tozero"===e.rangemode?r<0?[m,0]:[0,g]:"nonnegative"===e.rangemode?[Math.max(0,m),Math.max(0,g)]:[m,g]}else d&&("linear"!==e.type&&"-"!==e.type||("tozero"===e.rangemode?(l.val>=0&&(l={val:0,pad:0}),u.val<=0&&(u={val:0,pad:0})):"nonnegative"===e.rangemode&&(l.val-d*l.pad<0&&(l={val:0,pad:0}),u.val<0&&(u={val:1,pad:0})),d=(u.val-l.val)/(e._length-l.pad-u.pad)),n=[l.val-d*l.pad,u.val+d*u.pad]);return n[0]===n[1]&&("tozero"===e.rangemode?n=n[0]<0?[n[0],0]:n[0]>0?[0,n[0]]:[0,1]:(n=[n[0]-1,n[0]+1],"nonnegative"===e.rangemode&&(n[0]=Math.max(0,n[0])))),p&&n.reverse(),x.simpleMap(n,e.l2r||Number)},N.doAutoRange=function(e){e._length||e.setScale();var t=e._min&&e._max&&e._min.length&&e._max.length;if(e.autorange&&t){e.range=N.getAutoRange(e);var n=e._gd.layout[e._name];n||(e._gd.layout[e._name]=n={}),n!==e&&(n.range=e.range.slice(),n.autorange=e.autorange)}},N.saveRangeInitial=function(e,t){for(var n=N.list(e,"",!0),r=!1,o=0;o=d?p=!1:s.val>=u&&s.pad<=d&&(e._min.splice(i,1),i--);p&&e._min.push({val:u,pad:y&&0===u?0:d})}if(r(c)){for(p=!0,i=0;i=c&&s.pad>=f?p=!1:s.val<=c&&s.pad<=f&&(e._max.splice(i,1),i--);p&&e._max.push({val:c,pad:y&&0===c?0:f})}}}if((e.autorange||e._needsExpand)&&t){e._min||(e._min=[]),e._max||(e._max=[]),n||(n={}),e._m||e.setScale();var a,i,s,l,u,c,f,d,p,h,m,g=t.length,v=n.padded?.05*e._length:0,y=n.tozero&&("linear"===e.type||"-"===e.type),A=r((e._m>0?n.ppadplus:n.ppadminus)||n.ppad||0),x=r((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),_=r(n.vpadplus||n.vpad),w=r(n.vpadminus||n.vpad);for(a=0;a<6;a++)o(a);for(a=g-1;a>5;a--)o(a)}},N.autoBin=function(e,t,n,a,i){var s=x.aggNums(Math.min,null,e),l=x.aggNums(Math.max,null,e);if(i||(i=t.calendar),"category"===t.type)return{start:s-.5,end:l+.5,size:1};var u;if(n)u=(l-s)/n;else{var c=x.distinctVals(e),f=Math.pow(10,Math.floor(Math.log(c.minDiff)/Math.LN10)),d=f*x.roundUp(c.minDiff/f,[.9,1.9,4.9,9.9],!0);u=Math.max(d,2*x.stdev(e)/Math.pow(e.length,a?.25:.4)),b(u)||(u=1)}var p;p="log"===t.type?{type:"linear",range:[s,l]}:{type:t.type,range:x.simpleMap([s,l],t.c2r,0,i),calendar:i},N.setConvert(p),N.autoTicks(p,u);var h,m=N.tickIncrement(N.tickFirst(p),p.dtick,"reverse",i);if("number"==typeof p.dtick){m=r(m,e,p,s,l);var g=1+Math.floor((l-m)/p.dtick);h=m+g*p.dtick}else for("M"===p.dtick.charAt(0)&&(m=o(m,e,p.dtick,s,i)),h=m;h<=l;)h=N.tickIncrement(h,p.dtick,!1,i);return{start:t.c2r(m,0,i),end:t.c2r(h,0,i),size:p.dtick}},N.calcTicks=function(e){var t=x.simpleMap(e.range,e.r2l);if("auto"===e.tickmode||!e.dtick){var n,r=e.nticks;r||("category"===e.type?(n=e.tickfont?1.2*(e.tickfont.size||12):15,r=e._length/n):(n="y"===e._id.charAt(0)?40:80,r=x.constrain(e._length/n,4,9)+1)),"array"===e.tickmode&&(r*=100),N.autoTicks(e,Math.abs(t[1]-t[0])/r),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}if(e.tick0||(e.tick0="date"===e.type?"2000-01-01":0),s(e),"array"===e.tickmode)return a(e);e._tmin=N.tickFirst(e);var o=t[1]=l:u<=l)&&(i.push(u),!(i.length>1e3));u=N.tickIncrement(u,e.dtick,o,e.calendar));e._tmax=i[i.length-1],e._prevDateHead="",e._inCalcTicks=!0;for(var c=new Array(i.length),f=0;fP?(t/=P,n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick="M"+12*i(t,n,F)):r>M?(t/=M,e.dtick="M"+i(t,1,R)):r>S?(e.dtick=i(t,S,z),e.tick0=x.dateTick0(e.calendar,!0)):r>D?e.dtick=i(t,D,R):r>O?e.dtick=i(t,O,j):r>I?e.dtick=i(t,I,j):(n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick=i(t,n,F))}else if("log"===e.type){e.tick0=0;var o=x.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(o[1]-o[0])<1){var a=1.5*Math.abs((o[1]-o[0])/t);t=Math.abs(Math.pow(10,o[1])-Math.pow(10,o[0]))/a,n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick="L"+i(t,n,F)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):(e.tick0=0,n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick=i(t,n,F));if(0===e.dtick&&(e.dtick=1),!b(e.dtick)&&"string"!=typeof e.dtick){var s=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(s)}},N.tickIncrement=function(e,t,n,r){var o=n?-1:1;if(b(t))return e+o*t;var a=t.charAt(0),i=o*Number(t.substr(1));if("M"===a)return x.incrementMonth(e,i,r);if("L"===a)return Math.log(Math.pow(10,e)+i)/Math.LN10;if("D"===a){var s="D2"===t?U:H,l=e+.01*o,u=x.roundUp(x.mod(l,1),s,n);return Math.floor(l)+Math.log(y.round(Math.pow(10,u),1))/Math.LN10}throw"unrecognized dtick "+String(t)},N.tickFirst=function(e){var t=e.r2l||Number,n=x.simpleMap(e.range,t),r=n[1]1&&t2*o}function a(e){for(var t,n=Math.max(1,(e.length-1)/1e3),r=0,o=0,a=0;a2*r}var i=e("fast-isnumeric"),s=e("../../lib"),l=e("../../constants/numerical").BADNUM;t.exports=function(e,t){return o(e,t)?"date":a(e)?"category":r(e)?"linear":"-"}},{"../../constants/numerical":111,"../../lib":123,"fast-isnumeric":17}],154:[function(e,t,n){"use strict";function r(e,t){if("-"===e.type){var n=e._id,r=n.charAt(0);n.indexOf("scene")!==-1&&(n=r);var s=i(t,n,r);if(s){if("histogram"===s.type&&r==={v:"y",h:"x"}[s.orientation||"v"])return void(e.type="linear");var l=r+"calendar",c=s[l];if(a(s,r)){for(var f,d=o(s),p=[],h=0;h0;a&&(r="array");var i=n("categoryorder",r);"array"===i&&n("categoryarray"),a||"array"!==i||(t.categoryorder="trace")}}},{}],157:[function(e,t,n){"use strict";t.exports={idRegex:{x:/^x([2-9]|[1-9][0-9]+)?$/,y:/^y([2-9]|[1-9][0-9]+)?$/},attrRegex:{x:/^xaxis([2-9]|[1-9][0-9]+)?$/,y:/^yaxis([2-9]|[1-9][0-9]+)?$/},xAxisMatch:/^xaxis[0-9]*$/,yAxisMatch:/^yaxis[0-9]*$/,AX_ID_PATTERN:/^[xyz][0-9]*$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,DBLCLICKDELAY:300,MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,MAXDIST:20,YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,BENDPX:1.5,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4]}},{}],158:[function(e,t,n){"use strict";function r(e,t){var n,r=e.range[t],o=Math.abs(r-e.range[1-t]);return"date"===e.type?r:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(o)/Math.LN10))+3,s.format("."+n+"g")(Math.pow(10,r))):(n=Math.floor(Math.log(Math.abs(r))/Math.LN10)-Math.floor(Math.log(o)/Math.LN10)+4,s.format("."+String(n)+"g")(r))}function o(e,t){return e?"nsew"===e?"pan"===t?"move":"crosshair":e.toLowerCase()+"-resize":"pointer"}function a(e){s.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function i(e){var t=["lasso","select"];return t.indexOf(e)!==-1}var s=e("d3"),l=e("tinycolor2"),u=e("../../plotly"),c=e("../../registry"),f=e("../../lib"),d=e("../../lib/svg_text_utils"),p=e("../../components/color"),h=e("../../components/drawing"),m=e("../../lib/setcursor"),g=e("../../components/dragelement"),v=e("./axes"),y=e("./select"),b=e("./constants"),A=!0;t.exports=function(e,t,n,s,x,_,w,C){function E(e,t){for(var n=0;n.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform","translate("+me+", "+ge+")").attr("d",ue+"Z"),pe=he.append("path").attr("class","zoombox-corners").style({fill:p.background,stroke:p.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+me+", "+ge+")").attr("d","M0,0Z"),P()}function P(){he.selectAll(".select-outline").remove()}function M(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(W,t+ae)),o=Math.max(0,Math.min(q,n+ie)),a=Math.abs(r-ae),i=Math.abs(o-ie),s=Math.floor(Math.min(i,a,G)/2);se.l=Math.min(ae,r),se.r=Math.max(ae,r),se.t=Math.min(ie,o),se.b=Math.max(ie,o),!$||i.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),pe.transition().style("opacity",1).duration(200),ce=!0)}function S(e,t,n){var r,o,a,i;for(r=0;rzoom back out","long"),A=!1)))}function O(t,n){var o=1===(w+C).length;if(t)F();else if(2!==n||o){if(1===n&&o){var a=w?U[0]:H[0],i="s"===w||"w"===C?0:1,s=a._name+".range["+i+"]",l=r(a,i),c="left",f="middle";if(a.fixedrange)return;w?(f="n"===w?"top":"bottom","right"===a.side&&(c="right")):"e"===C&&(c="right"),ne.call(d.makeEditable,null,{immediate:!0,background:j.paper_bgcolor,text:String(l),fill:a.tickfont?a.tickfont.color:"#444",horizontalAlign:c,verticalAlign:f}).on("edit",function(t){var n=a.d2r(t);void 0!==n&&u.relayout(e,s,n)})}}else B()}function I(t){function n(e,t,n){function r(t){return e.l2r(a+(t-a)*n)}if(!e.fixedrange){var o=f.simpleMap(e.range,e.r2l),a=o[0]+(o[1]-o[0])*t;e.range=o.map(r)}}if(e._context.scrollZoom||j._enablescrollzoom){if(e._transitioningWithDuration)return f.pauseEvent(t);var r=e.querySelector(".plotly");if(T(),!(r.scrollHeight-r.clientHeight>10||r.scrollWidth-r.clientWidth>10)){clearTimeout(ye);var o=-t.deltaY;if(isFinite(o)||(o=t.wheelDelta/10),!isFinite(o))return void f.log("Did not find wheel motion attributes: ",t);var a,i=Math.exp(-Math.min(Math.max(o,-20),20)/100),s=Ae.draglayer.select(".nsewdrag").node().getBoundingClientRect(),l=(t.clientX-s.left)/s.width,u=ve[0]+ve[2]*l,c=(s.bottom-t.clientY)/s.height,d=ve[1]+ve[3]*(1-c);if(C){for(a=0;a=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function a(e,t,n){for(var r,a,i=1-t,s=0;s0;r--)n.push(t);return n}function o(e,t){for(var n=[],r=0;rZ.width||X<0||X>Z.height)return x.unhoverRaw(e,t)}else Q="xpx"in t?t.xpx:k[0]._length/2,X="ypx"in t?t.ypx:P[0]._length/2;if(L="xval"in t?r(a,t.xval):o(k,Q),N="yval"in t?r(a,t.yval):o(P,X),!m(L[0])||!m(N[0]))return g.warn("Fx.hover failed",t,e),x.unhoverRaw(e,t)}var J=1/0;for(F=0;F1||j.hoverinfo.indexOf("name")!==-1?j.name:void 0,index:!1,distance:Math.min(J,E.MAXDIST),color:b.defaultLine,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},i[z]&&(V.subplot=i[z]._subplot),G=Y.length,"array"===U){var $=t[F];"pointNumber"in $?(V.index=$.pointNumber,U="closest"):(U="","xval"in $&&(W=$.xval,U="x"),"yval"in $&&(q=$.yval,U=U?"closest":"y"))}else W=L[H],q=N[H];if(j._module&&j._module.hoverPoints){var ee=j._module.hoverPoints(V,W,q,U);if(ee)for(var te,ne=0;neG&&(Y.splice(0,G),J=Y[0].distance)}if(0===Y.length)return x.unhoverRaw(e,t);var re="y"===I&&K.length>1;Y.sort(function(e,t){return e.distance-t.distance});var oe=b.combine(i.plot_bgcolor||b.background,i.paper_bgcolor),ae={hovermode:I,rotateLabels:re,bgColor:oe,container:i._hoverlayer,outerContainer:i._paperdiv},ie=u(Y,ae);c(Y,re?"xa":"ya"),f(ie,re);var se=e._hoverdata,le=[];for(B=0;B128?"#000":b.background;e.name&&void 0===e.zLabelVal&&(n=y.plainText(e.name||""),n.length>15&&(n=n.substr(0,12)+"...")),void 0!==e.extraText&&(r+=e.extraText),void 0!==e.zLabel?(void 0!==e.xLabel&&(r+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(r+="y: "+e.yLabel+"
"),r+=(r?"z: ":"")+e.zLabel):C&&e[o+"Label"]===m?r=e[("x"===o?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&(r=e.yLabel):r=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",e.text&&!Array.isArray(e.text)&&(r+=(r?"
":"")+e.text),""===r&&(""===n&&t.remove(),r=n);var c=t.select("text.nums").style("fill",u).call(A.setPosition,0,0).text(r).attr("data-notex",1).call(y.convertToTspans);c.selectAll("tspan.line").call(A.setPosition,0,0);var f=t.select("text.name"),d=0;n&&n!==r?(f.style("fill",l).text(n).call(A.setPosition,0,0).attr("data-notex",1).call(y.convertToTspans),f.selectAll("tspan.line").call(A.setPosition,0,0),d=f.node().getBoundingClientRect().width+2*N):(f.remove(),t.select("rect").remove()),t.select("path").style({fill:l,stroke:u});var g,v,E=c.node().getBoundingClientRect(),T=e.xa._offset+(e.x0+e.x1)/2,k=e.ya._offset+(e.y0+e.y1)/2,P=Math.abs(e.x1-e.x0),S=Math.abs(e.y1-e.y0),D=E.width+L+N+d;e.ty0=x-E.top,e.bx=E.width+2*N,e.by=E.height+2*N,e.anchor="start",e.txwidth=E.width,e.tx2width=d,e.offset=0,a?(e.pos=T,g=k+S/2+D<=w,v=k-S/2-D>=0,"top"!==e.idealAlign&&g||!v?g?(k+=S/2,e.anchor="start"):e.anchor="middle":(k-=S/2,e.anchor="end")):(e.pos=k, -g=T+P/2+D<=_,v=T-P/2-D>=0,"left"!==e.idealAlign&&g||!v?g?(T+=P/2,e.anchor="start"):e.anchor="middle":(T-=P/2,e.anchor="end")),c.attr("text-anchor",e.anchor),d&&f.attr("text-anchor",e.anchor),t.attr("transform","translate("+T+","+k+")"+(a?"rotate("+M+")":""))}),P}function c(e,t){function n(e){var t=e[0],n=e[e.length-1];if(o=t.pmin-t.pos-t.dp+t.size,a=n.pos+n.dp+n.size-t.pmax,o>.01){for(s=e.length-1;s>=0;s--)e[s].dp+=o;r=!1}if(!(a<.01)){if(o<-.01){for(s=e.length-1;s>=0;s--)e[s].dp-=a;r=!1}if(r){var u=0;for(i=0;it.pmax&&u++;for(i=e.length-1;i>=0&&!(u<=0);i--)l=e[i],l.pos>t.pmax-1&&(l.del=!0,u--);for(i=0;i=0;s--)e[s].dp-=a;for(i=e.length-1;i>=0&&!(u<=0);i--)l=e[i],l.pos+l.dp+l.size>t.pmax&&(l.del=!0,u--)}}}for(var r,o,a,i,s,l,u,c=0,f=e.map(function(e,n){var r=e[t];return[{i:n,dp:0,pos:e.pos,posref:e.posref,size:e.by*("x"===r._id.charAt(0)?D:1)/2,pmin:r._offset,pmax:r._offset+r._length}]}).sort(function(e,t){return e[0].posref-t[0].posref});!r&&c<=e.length;){for(c++,r=!0,i=0;i.01&&h.pmin===m.pmin&&h.pmax===m.pmax){for(s=p.length-1;s>=0;s--)p[s].dp+=o;for(d.push.apply(d,p),f.splice(i+1,1),u=0,s=d.length-1;s>=0;s--)u+=d[s].dp;for(a=u/d.length,s=d.length-1;s>=0;s--)d[s].dp-=a;r=!1}else i++}f.forEach(n)}for(i=f.length-1;i>=0;i--){var g=f[i];for(s=g.length-1;s>=0;s--){var v=g[s],y=e[v.i];y.offset=v.dp,y.del=v.del}}}function f(e,t){e.each(function(e){var n=p.select(this);if(e.del)return void n.remove();var r="end"===e.anchor?-1:1,o=n.select("text.nums"),a={start:1,end:-1,middle:0}[e.anchor],i=a*(L+N),s=i+a*(e.txwidth+N),l=0,u=e.offset;"middle"===e.anchor&&(i-=e.tx2width/2,s-=e.tx2width/2),t&&(u*=-I,l=e.offset*O),n.select("path").attr("d","middle"===e.anchor?"M-"+e.bx/2+",-"+e.by/2+"h"+e.bx+"v"+e.by+"h-"+e.bx+"Z":"M0,0L"+(r*L+l)+","+(L+u)+"v"+(e.by/2-L)+"h"+r*e.bx+"v-"+e.by+"H"+(r*L+l)+"V"+(u-L)+"Z"),o.call(A.setPosition,i+l,u+e.ty0-e.by/2+N).selectAll("tspan.line").attr({x:o.attr("x"),y:o.attr("y")}),e.tx2width&&(n.select("text.name, text.name tspan.line").call(A.setPosition,s+a*N+l,u+e.ty0-e.by/2+N),n.select("rect").call(A.setRect,s+(a-1)*e.tx2width/2+l,u-e.by/2-1,e.tx2width,e.by+2))})}function d(e,t,n){if(!t.target)return!1;if(!n||n.length!==e._hoverdata.length)return!0;for(var r=n.length-1;r>=0;r--){var o=n[r],a=e._hoverdata[r];if(o.curveNumber!==a.curveNumber||String(o.pointNumber)!==String(a.pointNumber))return!0}return!1}var p=e("d3"),h=e("tinycolor2"),m=e("fast-isnumeric"),g=e("../../lib"),v=e("../../lib/events"),y=e("../../lib/svg_text_utils"),b=e("../../components/color"),A=e("../../components/drawing"),x=e("../../components/dragelement"),_=e("../../lib/override_cursor"),w=e("../../registry"),C=e("./axes"),E=e("./constants"),T=e("./dragbox"),k=e("../layout_attributes"),P=t.exports={};P.unhover=x.unhover,P.supplyLayoutDefaults=function(e,t,n){function r(n,r){return g.coerce(e,t,k,n,r)}r("dragmode");var o;if(t._has("cartesian")){var a=t._isHoriz=P.isHoriz(n);o=a?"y":"x"}else o="closest";r("hovermode",o)},P.isHoriz=function(e){for(var t=!0,n=0;ne._lastHoverTime+E.HOVERMINTIME?(i(e,t,n),void(e._lastHoverTime=Date.now())):void(e._hoverTimer=setTimeout(function(){i(e,t,n),e._lastHoverTime=Date.now(),e._hoverTimer=void 0},E.HOVERMINTIME))},P.getDistanceFunction=function(e,t,n,r){return"closest"===e?r||a(t,n):"x"===e?t:n},P.getClosest=function(e,t,n){if(n.index!==!1)n.index>=0&&n.indexf[1]-.01&&(t.domain=[0,1]),o.noneOrAll(e.domain,t.domain,[0,1])}return t}},{"../../lib":123,"fast-isnumeric":17}],165:[function(e,t,n){"use strict";function r(e){return e._id}var o=e("../../lib/polygon"),a=e("../../components/color"),i=e("./axes"),s=e("./constants"),l=o.filter,u=o.tester,c=s.MINSELECT;t.exports=function(e,t,n,o,f){function d(e){var t="y"===e._id.charAt(0)?1:0;return function(n){return e.p2d(n[t])}}function p(e,t){return e-t}var h,m=o.gd._fullLayout._zoomlayer,g=o.element.getBoundingClientRect(),v=o.plotinfo.xaxis._offset,y=o.plotinfo.yaxis._offset,b=t-g.left,A=n-g.top,x=b,_=A,w="M"+b+","+A,C=o.xaxes[0]._length,E=o.yaxes[0]._length,T=o.xaxes.map(r),k=o.yaxes.map(r),P=o.xaxes.concat(o.yaxes);"lasso"===f&&(h=l([[b,A]],s.BENDPX));var M=m.selectAll("path.select-outline").data([1,2]);M.enter().append("path").attr("class",function(e){return"select-outline select-outline-"+e}).attr("transform","translate("+v+", "+y+")").attr("d",w+"Z");var S,D,O,I,L,N=m.append("path").attr("class","zoombox-corners").style({fill:a.background,stroke:a.defaultLine,"stroke-width":1}).attr("transform","translate("+v+", "+y+")").attr("d","M0,0Z"),B=[],F=o.gd,R=[];for(S=0;Sd?p:i(e)?Number(e):p):p}var a=e("d3"),i=e("fast-isnumeric"),s=e("../../lib"),l=s.cleanNumber,u=s.ms2DateTime,c=s.dateTime2ms,f=e("../../constants/numerical"),d=f.FP_SAFE,p=f.BADNUM,h=e("./constants"),m=e("./axis_ids");t.exports=function(e){function t(t,n){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&n&&e.range&&2===e.range.length){var r=e.range[0],o=e.range[1];return.5*(r+o-3*x*Math.abs(r-o))}return p}function n(t,n,r){var o=c(t,r||e.calendar);if(o===p){if(!i(t))return p;o=c(new Date(+t))}return o}function f(t,n,r){return u(t,n,r||e.calendar)}function g(t){return e._categories[Math.round(t)]}function v(t){if(null!==t&&void 0!==t){var n=e._categories.indexOf(t);return n===-1?(e._categories.push(t),e._categories.length-1):n}return p}function y(t){var n=e._categories.indexOf(t);return n!==-1?n:"number"==typeof t?t:void 0}function b(t){return i(t)?a.round(e._b+e._m*t,2):p}function A(t){return(t-e._b)/e._m}var x=10;e.c2l="log"===e.type?t:o,e.l2c="log"===e.type?r:o,e.l2p=b,e.p2l=A,e.c2p="log"===e.type?function(e,n){return b(t(e,n))}:b,e.p2c="log"===e.type?function(e){return r(A(e))}:A,["linear","-"].indexOf(e.type)!==-1?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=l,e.c2d=e.c2r=e.l2d=e.l2r=o,e.d2p=e.r2p=function(e){return b(l(e))},e.p2d=e.p2r=A):"log"===e.type?(e.d2r=e.d2l=function(e,n){return t(l(e),n)},e.r2d=e.r2c=function(e){return r(l(e))},e.d2c=e.r2l=l,e.c2d=e.l2r=o,e.c2r=t,e.l2d=r,e.d2p=function(t,n){return b(e.d2r(t,n))},e.p2d=function(e){return r(A(e))},e.r2p=function(e){return b(l(e))},e.p2r=A):"date"===e.type?(e.d2r=e.r2d=s.identity,e.d2c=e.r2c=e.d2l=e.r2l=n,e.c2d=e.c2r=e.l2d=e.l2r=f,e.d2p=e.r2p=function(e,t,r){return b(n(e,0,r))},e.p2d=e.p2r=function(e,t,n){return f(A(e),t,n)}):"category"===e.type&&(e.d2r=e.d2c=e.d2l=v,e.r2d=e.c2d=e.l2d=g,e.d2l_noadd=y,e.r2l=e.l2r=e.r2c=e.c2r=o,e.d2p=function(e){return b(y(e))},e.p2d=function(e){return g(A(e))},e.r2p=b,e.p2r=A),e.fraction2r=function(t){var n=e.r2l(e.range[0]),r=e.r2l(e.range[1]);return e.l2r(n+t*(r-n))},e.r2fraction=function(t){var n=e.r2l(e.range[0]),r=e.r2l(e.range[1]);return(e.r2l(t)-n)/(r-n)},e.cleanRange=function(t){t||(t="range");var n,r,o=e[t],a=(e._id||"x").charAt(0);if(r="date"===e.type?s.dfltRange(e.calendar):"y"===a?h.DFLTRANGEY:h.DFLTRANGEX,r=r.slice(),!o||2!==o.length)return void(e[t]=r);for("date"===e.type&&(o[0]=s.cleanDate(o[0],p,e.calendar),o[1]=s.cleanDate(o[1],p,e.calendar)),n=0;n<2;n++)if("date"===e.type){if(!s.isDateTime(o[n],e.calendar)){e[t]=r;break}if(e.r2l(o[0])===e.r2l(o[1])){var l=s.constrain(e.r2l(o[0]),s.MIN_MS+1e3,s.MAX_MS-1e3);o[0]=e.l2r(l-1e3),o[1]=e.l2r(l+1e3);break}}else{if(!i(o[n])){if(!i(o[1-n])){e[t]=r;break}o[n]=o[1-n]*(n?10:.1)}if(o[n]<-d?o[n]=-d:o[n]>d&&(o[n]=d),o[0]===o[1]){var u=Math.max(1,Math.abs(1e-6*o[0]));o[0]-=u,o[1]+=u}}},e.setScale=function(t){var n=e._gd._fullLayout._size,r=e._id.charAt(0);if(e._categories||(e._categories=[]),e.overlaying){var o=m.getFromId(e._gd,e.overlaying);e.domain=o.domain}var a=t&&e._r?"_r":"range",i=e.calendar;e.cleanRange(a);var l=e.r2l(e[a][0],i),u=e.r2l(e[a][1],i);if("y"===r?(e._offset=n.t+(1-e.domain[1])*n.h,e._length=n.h*(e.domain[1]-e.domain[0]),e._m=e._length/(l-u),e._b=-e._m*u):(e._offset=n.l+e.domain[0]*n.w,e._length=n.w*(e.domain[1]-e.domain[0]),e._m=e._length/(u-l),e._b=-e._m*l),!isFinite(e._m)||!isFinite(e._b))throw s.notifier("Something went wrong with axis scaling","long"),e._gd._replotting=!1,new Error("axis scaling")},e.makeCalcdata=function(t,n){var r,o,a,i="date"===e.type&&t[n+"calendar"];if(n in t)for(r=t[n],o=new Array(r.length),a=0;a0?Number(c):u;else if("string"!=typeof c)t.dtick=u;else{var f=c.charAt(0),d=c.substr(1);d=r(d)?Number(d):0,(d<=0||!("date"===i&&"M"===f&&d===Math.round(d)||"log"===i&&"L"===f||"log"===i&&"D"===f&&(1===d||2===d)))&&(t.dtick=u)}var p="date"===i?o.dateTick0(t.calendar):0,h=n("tick0",p);"date"===i?t.tick0=o.cleanDate(h,p):r(h)&&"D1"!==c&&"D2"!==c?t.tick0=Number(h):t.tick0=p}else{var m=n("tickvals");void 0===m?t.tickmode="auto":n("ticktext")}}},{"../../constants/numerical":111,"../../lib":123,"fast-isnumeric":17}],170:[function(e,t,n){"use strict";var r=e("d3"),o=e("../../plotly"),a=e("../../registry"),i=e("../../lib"),s=e("./axes"),l=/((x|y)([2-9]|[1-9][0-9]+)?)axis$/;t.exports=function(e,t,n,u){function c(e){var t,n,r,o,a,i={};for(t in e)if(n=t.split("."),r=n[0].match(l)){var s=r[1],u=s+"axis";if(o=y[u],a={},Array.isArray(e[t])?a.to=e[t].slice(0):Array.isArray(e[t].range)&&(a.to=e[t].range.slice(0)),!a.to)continue;a.axisName=u,a.length=o._length,b.push(s),i[s]=a}return i}function f(e,t,n){var r,o,a,i=e._plots,s=[];for(r in i){var l=i[r];if(s.indexOf(l)===-1){var u=l.xaxis._id,c=l.yaxis._id,f=l.xaxis.range,d=l.yaxis.range;l.xaxis._r=l.xaxis.range.slice(),l.yaxis._r=l.yaxis.range.slice(),o=n[u]?n[u].to:f,a=n[c]?n[c].to:d,f[0]===o[0]&&f[1]===o[1]&&d[0]===a[0]&&d[1]===a[1]||t.indexOf(u)===-1&&t.indexOf(c)===-1||s.push(l)}}return s}function d(t,n){function r(t,n){for(o=0;on.duration?(m(),T=window.cancelAnimationFrame(v)):T=window.requestAnimationFrame(v)}var y=e._fullLayout,b=[],A=c(t),x=Object.keys(A),_=f(y,x,A);if(!_.length)return!1;var w;u&&(w=u());var C,E,T,k=r.ease(n.easing);return e._transitionData._interruptCallbacks.push(function(){return window.cancelAnimationFrame(T),T=null,g()}),C=Date.now(),T=window.requestAnimationFrame(v),Promise.resolve()}},{"../../lib":123,"../../plotly":147,"../../registry":191,"./axes":152,d3:14}],171:[function(e,t,n){"use strict";function r(e,t,n){var r,o,a,i=!1;if("data"===t.type)r=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;r=e._fullLayout}return o=u.nestedProperty(r,t.prop).get(),a=n[t.type]=n[t.type]||{},a.hasOwnProperty(t.prop)&&a[t.prop]!==o&&(i=!0),a[t.prop]=o,{changed:i,value:o}}function o(e,t){return Array.isArray(t[0])&&1===t[0].length&&["string","number"].indexOf(typeof t[0][0])!==-1?[{type:"layout",prop:"_currentFrame",value:t[0][0].toString()}]:[]}function a(e,t){var n=[],r=t[0],o={};if("string"==typeof r)o[r]=t[1];else{if(!u.isPlainObject(r))return n;o=r}return s(o,function(e,t,r){n.push({type:"layout",prop:e,value:r})},"",0),n}function i(e,t){var n,r,o,a,i=[];if(r=t[0],o=t[1],n=t[2],a={},"string"==typeof r)a[r]=o;else{if(!u.isPlainObject(r))return i;a=r,void 0===n&&(n=o)}return void 0===n&&(n=null),s(a,function(t,r,o){var a;if(Array.isArray(o)){var s=Math.min(o.length,e.data.length);n&&(s=Math.min(s,n.length)),a=[];for(var l=0;l0?".":"")+o;u.isPlainObject(a)?s(a,t,i,r+1):t(i,o,a)}})}var l=e("../plotly"),u=e("../lib");n.manageCommandObserver=function(e,t,o,a){var i={},s=!0;t&&t._commandObserver&&(i=t._commandObserver),i.cache||(i.cache={}),i.lookupTable={};var l=n.hasSimpleAPICommandBindings(e,o,i.lookupTable);if(t&&t._commandObserver){if(l)return i;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,i}if(l){r(e,l,i.cache),i.check=function(){if(s){var t=r(e,l,i.cache);return t.changed&&a&&void 0!==i.lookupTable[t.value]&&(i.disable(),Promise.resolve(a({value:t.value,type:l.type,prop:l.prop,traces:l.traces,index:i.lookupTable[t.value]})).then(i.enable,i.enable)),t.changed}};for(var c=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],f=0;f=t.width-20?(a["text-anchor"]="start",a.x=5):(a["text-anchor"]="end",a.x=t._paper.attr("width")-7),n.attr(a);var i=n.select(".js-link-to-tool"),s=n.select(".js-link-spacer"),u=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&r(e,i),s.text(i.text()&&u.text()?" - ":"")},h.sendDataToCloud=function(e){e.emit("plotly_beforeexport");var t=window.PLOTLYENV&&window.PLOTLYENV.BASE_URL||"https://plot.ly",n=l.select(e).append("div").attr("id","hiddenform").style("display","none"),r=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"}),o=r.append("input").attr({type:"text",name:"data"});return o.node().value=h.graphJson(e,!1,"keepdata"),r.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1},h.supplyDefaults=function(e){var t,n=e._fullLayout||{},r=e._fullLayout={},a=e.layout||{},i=e._fullData||[],s=e._fullData=[],l=e.data||[];if(e._transitionData||h.createTransitionData(e),n._initialAutoSizeIsDone){var u=n.width,f=n.height;h.supplyLayoutGlobalDefaults(a,r),a.width||(r.width=u),a.height||(r.height=f)}else{h.supplyLayoutGlobalDefaults(a,r);var d=!a.width||!a.height,p=r.autosize,m=e._context&&e._context.autosizable,g=d&&(p||m);g?h.plotAutoSize(e,a,r):d&&h.sanitizeMargins(e),!p&&d&&(a.width=r.width,a.height=r.height)}r._initialAutoSizeIsDone=!0,r._dataLength=l.length,r._globalTransforms=(e._context||{}).globalTransforms,h.supplyDataDefaults(l,s,a,r),r._has=h._hasPlotType.bind(r);var v=r._modules;for(t=0;t0){var c=s(e._boundingBoxMargins),f=c.left+c.right,p=c.bottom+c.top,m=1-2*i,g=n._container&&n._container.node?n._container.node().getBoundingClientRect():{width:n.width,height:n.height};r=Math.round(m*(g.width-f)),o=Math.round(m*(g.height-p))}else{var v=l?window.getComputedStyle(e):{};r=parseFloat(v.width)||n.width,o=parseFloat(v.height)||n.height}var y=h.layoutAttributes.width.min,b=h.layoutAttributes.height.min;r1,x=!t.height&&Math.abs(n.height-o)>1;(x||A)&&(A&&(n.width=r),x&&(n.height=o)),e._initialAutoSize||(e._initialAutoSize={width:r,height:o}),h.sanitizeMargins(n)},h.supplyLayoutModuleDefaults=function(e,t,n,r){var o,a;c.Axes.supplyLayoutDefaults(e,t,n);var i=t._basePlotModules;for(o=0;o.5*r.width&&(n.l=n.r=0),n.b+n.t>.5*r.height&&(n.b=n.t=0),r._pushmargin[t]={l:{val:n.x,size:n.l+o},r:{val:n.x,size:n.r+o},b:{val:n.y,size:n.b+o},t:{val:n.y,size:n.t+o}}}else delete r._pushmargin[t];e._replotting||h.doAutoMargin(e)}},h.doAutoMargin=function(e){var t=e._fullLayout;t._size||(t._size={}),t._pushmargin||(t._pushmargin={});var n=t._size,r=JSON.stringify(n),o=Math.max(t.margin.l||0,0),a=Math.max(t.margin.r||0,0),i=Math.max(t.margin.t||0,0),s=Math.max(t.margin.b||0,0),l=t._pushmargin;if(t.margin.autoexpand!==!1&&(l.base={l:{val:0,size:o},r:{val:1,size:a},t:{val:1,size:i},b:{val:0,size:s}},Object.keys(l).forEach(function(e){var n=l[e].l||{},r=l[e].b||{},c=n.val,f=n.size,d=r.val,p=r.size;Object.keys(l).forEach(function(e){if(u(f)&&l[e].r){var n=l[e].r.val,r=l[e].r.size;if(n>c){var h=(f*n+(r-t.width)*c)/(n-c),m=(r*(1-c)+(f-t.width)*(1-n))/(n-c);h>=0&&m>=0&&h+m>o+a&&(o=h,a=m)}}if(u(p)&&l[e].t){var g=l[e].t.val,v=l[e].t.size;if(g>d){var y=(p*g+(v-t.height)*d)/(g-d),b=(v*(1-d)+(p-t.height)*(1-g))/(g-d);y>=0&&b>=0&&y+b>s+i&&(s=y,i=b)}}})})),n.l=Math.round(o),n.r=Math.round(a),n.t=Math.round(i),n.b=Math.round(s),n.p=Math.round(t.margin.pad),n.w=Math.round(t.width)-n.l-n.r,n.h=Math.round(t.height)-n.t-n.b,!e._replotting&&"{}"!==r&&r!==JSON.stringify(t._size))return c.plot(e)},h.graphJson=function(e,t,n,r,o){function a(e){if("function"==typeof e)return null;if(d.isPlainObject(e)){var t,r,o={};for(t in e)if("function"!=typeof e[t]&&["_","["].indexOf(t.charAt(0))===-1){if("keepdata"===n){if("src"===t.substr(t.length-3))continue}else if("keepstream"===n){if(r=e[t+"src"],"string"==typeof r&&r.indexOf(":")>0&&!d.isPlainObject(e.stream))continue}else if("keepall"!==n&&(r=e[t+"src"],"string"==typeof r&&r.indexOf(":")>0))continue;o[t]=a(e[t])}return o}return Array.isArray(e)?e.map(a):d.isJSDate(e)?d.ms2DateTimeLocal(+e):e}(o&&t&&!e._fullData||o&&!t&&!e._fullLayout)&&h.supplyDefaults(e);var i=o?e._fullData:e.data,s=o?e._fullLayout:e.layout,l=(e._transitionData||{})._frames,u={data:(i||[]).map(function(e){var n=a(e);return t&&delete n.fit,n})};return t||(u.layout=a(s)),e.framework&&e.framework.isPolar&&(u=e.framework.getConfig()),l&&(u.frames=a(l)),"object"===r?u:JSON.stringify(u)},h.modifyFrames=function(e,t){var n,r,o,a=e._transitionData._frames,i=e._transitionData._frameHash;for(n=0;n0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push(function(){x=!0}),o.redraw&&e._transitionData._interruptCallbacks.push(function(){return c.redraw(e)}),e._transitionData._interruptCallbacks.push(function(){e.emit("plotly_transitioninterrupted",[])});var i,s,l=0,u=0,p=e._fullLayout._basePlotModules,h=!1;if(n)for(s=0;s=0,M=P?f.angularAxis.domain:r.extent(C),S=Math.abs(C[1]-C[0]);T&&!E&&(S=0);var D=M.slice();k&&E&&(D[1]+=S);var O=f.angularAxis.ticksCount||4;O>8&&(O=O/(O/8)+O%8),f.angularAxis.ticksStep&&(O=(D[1]-D[0])/O);var I=f.angularAxis.ticksStep||(D[1]-D[0])/(O*(f.minorTicks+1));w&&(I=Math.max(Math.round(I),1)),D[2]||(D[2]=I);var L=r.range.apply(this,D);if(L=L.map(function(e,t){return parseFloat(e.toPrecision(12))}),s=r.scale.linear().domain(D.slice(0,2)).range("clockwise"===f.direction?[0,360]:[360,0]),c.layout.angularAxis.domain=s.domain(),c.layout.angularAxis.endPadding=k?S:0,t=r.select(this).select("svg.chart-root"),"undefined"==typeof t||t.empty()){var N="' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '",B=(new DOMParser).parseFromString(N,"application/xml"),F=this.appendChild(this.ownerDocument.importNode(B.documentElement,!0));t=r.select(F)}t.select(".guides-group").style({"pointer-events":"none"}),t.select(".angular.axis-group").style({"pointer-events":"none"}),t.select(".radial.axis-group").style({"pointer-events":"none"});var R,j=t.select(".chart-group"),z={fill:"none",stroke:f.tickColor},H={"font-size":f.font.size,"font-family":f.font.family,fill:f.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map(function(e,t){return" "+e+" 0 "+f.font.outlineColor}).join(",")};if(f.showLegend){R=t.select(".legend-group").attr({transform:"translate("+[b,f.margin.top]+")"}).style({display:"block"});var U=p.map(function(e,t){var n=i.util.cloneJson(e);return n.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",n.visibleInLegend="undefined"==typeof e.visibleInLegend||e.visibleInLegend,n.color="LinePlot"===e.geometry?e.strokeColor:e.color,n});i.Legend().config({data:p.map(function(e,t){return e.name||"Element"+t}),legendConfig:a({},i.Legend.defaultConfig().legendConfig,{container:R,elements:U,reverseOrder:f.legend.reverseOrder})})();var W=R.node().getBBox();b=Math.min(f.width-W.width-f.margin.left-f.margin.right,f.height-f.margin.top-f.margin.bottom)/2,b=Math.max(10,b),x=[f.margin.left+b,f.margin.top+b],o.range([0,b]),c.layout.radialAxis.domain=o.domain(),R.attr("transform","translate("+[x[0]+b,x[1]-b]+")")}else R=t.select(".legend-group").style({display:"none"});t.attr({width:f.width,height:f.height}).style({opacity:f.opacity}),j.attr("transform","translate("+x+")").style({cursor:"crosshair"});var q=[(f.width-(f.margin.left+f.margin.right+2*b+(W?W.width:0)))/2,(f.height-(f.margin.top+f.margin.bottom+2*b))/2];if(q[0]=Math.max(0,q[0]),q[1]=Math.max(0,q[1]),t.select(".outer-group").attr("transform","translate("+q+")"),f.title){var V=t.select("g.title-group text").style(H).text(f.title),G=V.node().getBBox();V.attr({x:x[0]-G.width/2,y:x[1]-b-20})}var Y=t.select(".radial.axis-group");if(f.radialAxis.gridLinesVisible){var K=Y.selectAll("circle.grid-circle").data(o.ticks(5));K.enter().append("circle").attr({class:"grid-circle"}).style(z),K.attr("r",o),K.exit().remove()}Y.select("circle.outside-circle").attr({r:b}).style(z);var Q=t.select("circle.background-circle").attr({r:b}).style({fill:f.backgroundColor,stroke:f.stroke});if(f.radialAxis.visible){var X=r.svg.axis().scale(o).ticks(5).tickSize(5);Y.call(X).attr({transform:"rotate("+f.radialAxis.orientation+")" -}),Y.selectAll(".domain").style(z),Y.selectAll("g>text").text(function(e,t){return this.textContent+f.radialAxis.ticksSuffix}).style(H).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===f.radialAxis.tickOrientation?"rotate("+-f.radialAxis.orientation+") translate("+[0,H["font-size"]]+")":"translate("+[0,H["font-size"]]+")"}}),Y.selectAll("g>line").style({stroke:"black"})}var Z=t.select(".angular.axis-group").selectAll("g.angular-tick").data(L),J=Z.enter().append("g").classed("angular-tick",!0);Z.attr({transform:function(e,t){return"rotate("+l(e,t)+")"}}).style({display:f.angularAxis.visible?"block":"none"}),Z.exit().remove(),J.append("line").classed("grid-line",!0).classed("major",function(e,t){return t%(f.minorTicks+1)==0}).classed("minor",function(e,t){return!(t%(f.minorTicks+1)==0)}).style(z),J.selectAll(".minor").style({stroke:f.minorTickColor}),Z.select("line.grid-line").attr({x1:f.tickLength?b-f.tickLength:0,x2:b}).style({display:f.angularAxis.gridLinesVisible?"block":"none"}),J.append("text").classed("axis-text",!0).style(H);var $=Z.select("text.axis-text").attr({x:b+f.labelOffset,dy:".35em",transform:function(e,t){var n=l(e,t),r=b+f.labelOffset,o=f.angularAxis.tickOrientation;return"horizontal"==o?"rotate("+-n+" "+r+" 0)":"radial"==o?n<270&&n>90?"rotate(180 "+r+" 0)":null:"rotate("+(n<=180&&n>0?-90:90)+" "+r+" 0)"}}).style({"text-anchor":"middle",display:f.angularAxis.labelsVisible?"block":"none"}).text(function(e,t){return t%(f.minorTicks+1)!=0?"":w?w[e]+f.angularAxis.ticksSuffix:e+f.angularAxis.ticksSuffix}).style(H);f.angularAxis.rewriteTicks&&$.text(function(e,t){return t%(f.minorTicks+1)!=0?"":f.angularAxis.rewriteTicks(this.textContent,t)});var ee=r.max(j.selectAll(".angular-tick text")[0].map(function(e,t){return e.getCTM().e+e.getBBox().width}));R.attr({transform:"translate("+[b+ee,f.margin.top]+")"});var te=t.select("g.geometry-group").selectAll("g").size()>0,ne=t.select("g.geometry-group").selectAll("g.geometry").data(p);if(ne.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),ne.exit().remove(),p[0]||te){var re=[];p.forEach(function(e,t){var n={};n.radialScale=o,n.angularScale=s,n.container=ne.filter(function(e,n){return n==t}),n.geometry=e.geometry,n.orientation=f.orientation,n.direction=f.direction,n.index=t,re.push({data:e,geometryConfig:n})});var oe=r.nest().key(function(e,t){return"undefined"!=typeof e.data.groupId||"unstacked"}).entries(re),ae=[];oe.forEach(function(e,t){"unstacked"===e.key?ae=ae.concat(e.values.map(function(e,t){return[e]})):ae.push(e.values)}),ae.forEach(function(e,t){var n;n=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var r=e.map(function(e,t){return a(i[n].defaultConfig(),e)});i[n]().config(r)()})}var ie,se,le=t.select(".guides-group"),ue=t.select(".tooltips-group"),ce=i.tooltipPanel().config({container:ue,fontSize:8})(),fe=i.tooltipPanel().config({container:ue,fontSize:8})(),de=i.tooltipPanel().config({container:ue,hasTick:!0})();if(!E){var pe=le.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});j.on("mousemove.angular-guide",function(e,t){var n=i.util.getMousePos(Q).angle;pe.attr({x2:-b,transform:"rotate("+n+")"}).style({opacity:.5});var r=(n+180+360-f.orientation)%360;ie=s.invert(r);var o=i.util.convertToCartesian(b+12,n+180);ce.text(i.util.round(ie)).move([o[0]+x[0],o[1]+x[1]])}).on("mouseout.angular-guide",function(e,t){le.select("line").style({opacity:0})})}var he=le.select("circle").style({stroke:"grey",fill:"none"});j.on("mousemove.radial-guide",function(e,t){var n=i.util.getMousePos(Q).radius;he.attr({r:n}).style({opacity:.5}),se=o.invert(i.util.getMousePos(Q).radius);var r=i.util.convertToCartesian(n,f.radialAxis.orientation);fe.text(i.util.round(se)).move([r[0]+x[0],r[1]+x[1]])}).on("mouseout.radial-guide",function(e,t){he.style({opacity:0}),de.hide(),ce.hide(),fe.hide()}),t.selectAll(".geometry-group .mark").on("mouseover.tooltip",function(e,n){var o=r.select(this),a=o.style("fill"),s="black",l=o.style("opacity")||1;if(o.attr({"data-opacity":l}),"none"!=a){o.attr({"data-fill":a}),s=r.hsl(a).darker().toString(),o.style({fill:s,opacity:1});var u={t:i.util.round(e[0]),r:i.util.round(e[1])};E&&(u.t=w[e[0]]);var c="t: "+u.t+", r: "+u.r,f=this.getBoundingClientRect(),d=t.node().getBoundingClientRect(),p=[f.left+f.width/2-q[0]-d.left,f.top+f.height/2-q[1]-d.top];de.config({color:s}).text(c),de.move(p)}else a=o.style("stroke"),o.attr({"data-stroke":a}),s=r.hsl(a).darker().toString(),o.style({stroke:s,opacity:1})}).on("mousemove.tooltip",function(e,t){return 0==r.event.which&&void(r.select(this).attr("data-fill")&&de.show())}).on("mouseout.tooltip",function(e,t){de.hide();var n=r.select(this),o=n.attr("data-fill");o?n.style({fill:o,opacity:n.attr("data-opacity")}):n.style({stroke:n.attr("data-stroke"),opacity:n.attr("data-opacity")})})}),d}var t,n,o,s,l={data:[],layout:{}},u={},c={},f=r.dispatch("hover"),d={};return d.render=function(t){return e(t),this},d.config=function(e){if(!arguments.length)return l;var t=i.util.cloneJson(e);return t.data.forEach(function(e,t){l.data[t]||(l.data[t]={}),a(l.data[t],i.Axis.defaultConfig().data[0]),a(l.data[t],e)}),a(l.layout,i.Axis.defaultConfig().layout),a(l.layout,t.layout),this},d.getLiveConfig=function(){return c},d.getinputConfig=function(){return u},d.radialScale=function(e){return o},d.angularScale=function(e){return s},d.svg=function(){return t},r.rebind(d,f,"on"),d},i.Axis.defaultConfig=function(e,t){var n={data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}};return n},i.util={},i.DATAEXTENT="dataExtent",i.AREA="AreaChart",i.LINE="LinePlot",i.DOT="DotPlot",i.BAR="BarChart",i.util._override=function(e,t){for(var n in e)n in t&&(t[n]=e[n])},i.util._extend=function(e,t){for(var n in e)t[n]=e[n]},i.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},i.util.dataFromEquation2=function(e,t){var n=t||6,o=r.range(0,360+n,n).map(function(t,n){var r=t*Math.PI/180,o=e(r);return[t,o]});return o},i.util.dataFromEquation=function(e,t,n){var o=t||6,a=[],i=[];r.range(0,360+o,o).forEach(function(t,n){var r=t*Math.PI/180,o=e(r);a.push(t),i.push(o)});var s={t:a,r:i};return n&&(s.name=n),s},i.util.ensureArray=function(e,t){if("undefined"==typeof e)return null;var n=[].concat(e);return r.range(t).map(function(e,t){return n[t]||n[0]})},i.util.fillArrays=function(e,t,n){return t.forEach(function(t,r){e[t]=i.util.ensureArray(e[t],n)}),e},i.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},i.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var n=t.shift();return e[n]&&(!t.length||objHasKeys(e[n],t))},i.util.sumArrays=function(e,t){return r.zip(e,t).map(function(e,t){return r.sum(e)})},i.util.arrayLast=function(e){return e[e.length-1]},i.util.arrayEqual=function(e,t){for(var n=Math.max(e.length,t.length,1);n-- >=0&&e[n]===t[n];);return n===-2},i.util.flattenArray=function(e){for(var t=[];!i.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},i.util.deduplicate=function(e){return e.filter(function(e,t,n){return n.indexOf(e)==t})},i.util.convertToCartesian=function(e,t){var n=t*Math.PI/180,r=e*Math.cos(n),o=e*Math.sin(n);return[r,o]},i.util.round=function(e,t){var n=t||2,r=Math.pow(10,n);return Math.round(e*r)/r},i.util.getMousePos=function(e){var t=r.mouse(e.node()),n=t[0],o=t[1],a={};return a.x=n,a.y=o,a.pos=t,a.angle=180*(Math.atan2(o,n)+Math.PI)/Math.PI,a.radius=Math.sqrt(n*n+o*o),a},i.util.duplicatesCount=function(e){for(var t,n={},r={},o=0,a=e.length;o0)){var s=r.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:d(i),transform:function(t,n){return"rotate("+(e.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return g.fill(n,o,a)},"fill-opacity":0,stroke:function(e,t){return g.stroke(n,o,a)},"stroke-width":function(e,t){return g["stroke-width"](n,o,a)},"stroke-dasharray":function(e,t){return g["stroke-dasharray"](n,o,a)},opacity:function(e,t){return g.opacity(n,o,a)},display:function(e,t){return g.display(n,o,a)}})}};var p=e.angularScale.range(),h=Math.abs(p[1]-p[0])/l[0].length*Math.PI/180,m=r.svg.arc().startAngle(function(e){return-h/2}).endAngle(function(e){return h/2}).innerRadius(function(t){return e.radialScale(c+(t[2]||0))}).outerRadius(function(t){return e.radialScale(c+(t[2]||0))+e.radialScale(t[1])});f.arc=function(t,n,o){r.select(this).attr({class:"mark arc",d:m,transform:function(t,n){return"rotate("+(e.orientation+u(t[0])+90)+")"}})};var g={fill:function(e,n,r){return t[r].data.color},stroke:function(e,n,r){return t[r].data.strokeColor},"stroke-width":function(e,n,r){return t[r].data.strokeSize+"px"},"stroke-dasharray":function(e,n,r){return s[t[r].data.strokeDash]},opacity:function(e,n,r){return t[r].data.opacity},display:function(e,n,r){return"undefined"==typeof t[r].data.visible||t[r].data.visible?"block":"none"}},v=r.select(this).selectAll("g.layer").data(l);v.enter().append("g").attr({class:"layer"});var y=v.selectAll("path.mark").data(function(e,t){return e});y.enter().append("path").attr({class:"mark"}),y.style(g).each(f[e.geometryType]),y.exit().remove(),v.exit().remove()})}var t,n=[i.PolyChart.defaultConfig()],o=r.dispatch("hover"),s={solid:"none",dash:[5,2],dot:[2,5]};return e.config=function(e){return arguments.length?(e.forEach(function(e,t){n[t]||(n[t]={}),a(n[t],i.PolyChart.defaultConfig()),a(n[t],e)}),this):n},e.getColorScale=function(){return t},r.rebind(e,o,"on"),e},i.PolyChart.defaultConfig=function(){var e={data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:r.scale.category20()}};return e},i.BarChart=function(){return i.PolyChart()},i.BarChart.defaultConfig=function(){var e={geometryConfig:{geometryType:"bar"}};return e},i.AreaChart=function(){return i.PolyChart()},i.AreaChart.defaultConfig=function(){var e={geometryConfig:{geometryType:"arc"}};return e},i.DotPlot=function(){return i.PolyChart()},i.DotPlot.defaultConfig=function(){var e={geometryConfig:{geometryType:"dot",dotType:"circle"}};return e},i.LinePlot=function(){return i.PolyChart()},i.LinePlot.defaultConfig=function(){var e={geometryConfig:{geometryType:"line"}};return e},i.Legend=function(){function e(){var n=t.legendConfig,o=t.data.map(function(e,t){return[].concat(e).map(function(e,r){var o=a({},n.elements[t]);return o.name=e,o.color=[].concat(n.elements[t].color)[r],o})}),i=r.merge(o);i=i.filter(function(e,t){return n.elements[t]&&(n.elements[t].visibleInLegend||"undefined"==typeof n.elements[t].visibleInLegend)}),n.reverseOrder&&(i=i.reverse());var s=n.container;("string"==typeof s||s.nodeName)&&(s=r.select(s));var l=i.map(function(e,t){return e.color}),u=n.fontSize,c=null==n.isContinuous?"number"==typeof i[0]:n.isContinuous,f=c?n.height:u*i.length,d=s.classed("legend-group",!0),p=d.selectAll("svg").data([0]),h=p.enter().append("svg").attr({width:300,height:f+u,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var m=r.range(i.length),g=r.scale[c?"linear":"ordinal"]().domain(m).range(l),v=r.scale[c?"linear":"ordinal"]().domain(m)[c?"range":"rangePoints"]([0,f]),y=function(e,t){var n=3*t;return"line"===e?"M"+[[-t/2,-t/12],[t/2,-t/12],[t/2,t/12],[-t/2,t/12]]+"Z":r.svg.symbolTypes.indexOf(e)!=-1?r.svg.symbol().type(e).size(n)():r.svg.symbol().type("square").size(n)()};if(c){var b=p.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(l);b.enter().append("stop"),b.attr({offset:function(e,t){return t/(l.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),p.append("rect").classed("legend-mark",!0).attr({height:n.height,width:n.colorBandWidth,fill:"url(#grad1)"})}else{var A=p.select(".legend-marks").selectAll("path.legend-mark").data(i);A.enter().append("path").classed("legend-mark",!0),A.attr({transform:function(e,t){return"translate("+[u/2,v(t)+u/2]+")"},d:function(e,t){var n=e.symbol;return y(n,u)},fill:function(e,t){return g(t)}}),A.exit().remove()}var x=r.svg.axis().scale(v).orient("right"),_=p.select("g.legend-axis").attr({transform:"translate("+[c?n.colorBandWidth:u,u/2]+")"}).call(x);return _.selectAll(".domain").style({fill:"none",stroke:"none"}),_.selectAll("line").style({fill:"none",stroke:c?n.textColor:"none"}),_.selectAll("text").style({fill:n.textColor,"font-size":n.fontSize}).text(function(e,t){return i[t].name}),e}var t=i.Legend.defaultConfig(),n=r.dispatch("hover");return e.config=function(e){return arguments.length?(a(t,e),this):t},r.rebind(e,n,"on"),e},i.Legend.defaultConfig=function(e,t){var n={data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}};return n},i.tooltipPanel=function(){var e,t,n,o={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},s="tooltip-"+i.tooltipPanel.uid++,l=10,u=function(){e=o.container.selectAll("g."+s).data([0]);var r=e.enter().append("g").classed(s,!0).style({"pointer-events":"none",display:"none"});return n=r.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=r.append("text").attr({dx:o.padding+l,dy:.3*+o.fontSize}),u};return u.text=function(a){var i=r.hsl(o.color).l,s=i>=.5?"#aaa":"white",c=i>=.5?"black":"white",f=a||"";t.style({fill:c,"font-size":o.fontSize+"px"}).text(f);var d=o.padding,p=t.node().getBBox(),h={fill:o.color,stroke:s,"stroke-width":"2px"},m=p.width+2*d+l,g=p.height+2*d;return n.attr({d:"M"+[[l,-g/2],[l,-g/4],[o.hasTick?0:l,0],[l,g/4],[l,g/2],[m,g/2],[m,-g/2]].join("L")+"Z"}).style(h),e.attr({transform:"translate("+[l,-g/2+2*d]+")"}),e.style({display:"block"}),u},u.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),u},u.hide=function(){if(e)return e.style({display:"none"}),u},u.show=function(){if(e)return e.style({display:"block"}),u},u.config=function(e){return a(o,e),u},u},i.tooltipPanel.uid=1,i.adapter={},i.adapter.plotly=function(){var e={};return e.convert=function(e,t){var n={};if(e.data&&(n.data=e.data.map(function(e,n){var r=a({},e),o=[[r,["marker","color"],["color"]],[r,["marker","opacity"],["opacity"]],[r,["marker","line","color"],["strokeColor"]],[r,["marker","line","dash"],["strokeDash"]],[r,["marker","line","width"],["strokeSize"]],[r,["marker","symbol"],["dotType"]],[r,["marker","size"],["dotSize"]],[r,["marker","barWidth"],["barWidth"]],[r,["line","interpolation"],["lineInterpolation"]],[r,["showlegend"],["visibleInLegend"]]];return o.forEach(function(e,n){i.util.translator.apply(null,e.concat(t))}),t||delete r.marker,t&&delete r.groupId,t?("LinePlot"===r.geometry?(r.type="scatter",r.dotVisible===!0?(delete r.dotVisible,r.mode="lines+markers"):r.mode="lines"):"DotPlot"===r.geometry?(r.type="scatter",r.mode="markers"):"AreaChart"===r.geometry?r.type="area":"BarChart"===r.geometry&&(r.type="bar"),delete r.geometry):("scatter"===r.type?"lines"===r.mode?r.geometry="LinePlot":"markers"===r.mode?r.geometry="DotPlot":"lines+markers"===r.mode&&(r.geometry="LinePlot",r.dotVisible=!0):"area"===r.type?r.geometry="AreaChart":"bar"===r.type&&(r.geometry="BarChart"),delete r.mode,delete r.type),r}),!t&&e.layout&&"stack"===e.layout.barmode)){var o=i.util.duplicates(n.data.map(function(e,t){return e.geometry}));n.data.forEach(function(e,t){var r=o.indexOf(e.geometry);r!=-1&&(n.data[t].groupId=r)})}if(e.layout){var s=a({},e.layout),l=[[s,["plot_bgcolor"],["backgroundColor"]],[s,["showlegend"],["showLegend"]],[s,["radialaxis"],["radialAxis"]],[s,["angularaxis"],["angularAxis"]],[s.angularaxis,["showline"],["gridLinesVisible"]],[s.angularaxis,["showticklabels"],["labelsVisible"]],[s.angularaxis,["nticks"],["ticksCount"]],[s.angularaxis,["tickorientation"],["tickOrientation"]],[s.angularaxis,["ticksuffix"],["ticksSuffix"]],[s.angularaxis,["range"],["domain"]],[s.angularaxis,["endpadding"],["endPadding"]],[s.radialaxis,["showline"],["gridLinesVisible"]],[s.radialaxis,["tickorientation"],["tickOrientation"]],[s.radialaxis,["ticksuffix"],["ticksSuffix"]],[s.radialaxis,["range"],["domain"]],[s.angularAxis,["showline"],["gridLinesVisible"]],[s.angularAxis,["showticklabels"],["labelsVisible"]],[s.angularAxis,["nticks"],["ticksCount"]],[s.angularAxis,["tickorientation"],["tickOrientation"]],[s.angularAxis,["ticksuffix"],["ticksSuffix"]],[s.angularAxis,["range"],["domain"]],[s.angularAxis,["endpadding"],["endPadding"]],[s.radialAxis,["showline"],["gridLinesVisible"]],[s.radialAxis,["tickorientation"],["tickOrientation"]],[s.radialAxis,["ticksuffix"],["ticksSuffix"]],[s.radialAxis,["range"],["domain"]],[s.font,["outlinecolor"],["outlineColor"]],[s.legend,["traceorder"],["reverseOrder"]],[s,["labeloffset"],["labelOffset"]],[s,["defaultcolorrange"],["defaultColorRange"]]];if(l.forEach(function(e,n){i.util.translator.apply(null,e.concat(t))}),t?("undefined"!=typeof s.tickLength&&(s.angularaxis.ticklen=s.tickLength,delete s.tickLength),s.tickColor&&(s.angularaxis.tickcolor=s.tickColor,delete s.tickColor)):(s.angularAxis&&"undefined"!=typeof s.angularAxis.ticklen&&(s.tickLength=s.angularAxis.ticklen),s.angularAxis&&"undefined"!=typeof s.angularAxis.tickcolor&&(s.tickColor=s.angularAxis.tickcolor)),s.legend&&"boolean"!=typeof s.legend.reverseOrder&&(s.legend.reverseOrder="normal"!=s.legend.reverseOrder),s.legend&&"boolean"==typeof s.legend.traceorder&&(s.legend.traceorder=s.legend.traceorder?"reversed":"normal",delete s.legend.reverseOrder),s.margin&&"undefined"!=typeof s.margin.t){var u=["t","r","b","l","pad"],c=["top","right","bottom","left","pad"],f={};r.entries(s.margin).forEach(function(e,t){f[c[u.indexOf(e.key)]]=e.value}),s.margin=f}t&&(delete s.needsEndSpacing,delete s.minorTickColor,delete s.minorTicks,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksStep,delete s.angularaxis.rewriteTicks,delete s.angularaxis.nticks,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksStep,delete s.radialaxis.rewriteTicks,delete s.radialaxis.nticks),n.layout=s}return n},e}},{"../../lib":123,d3:14}],181:[function(e,t,n){"use strict";var r=e("d3"),o=e("../../lib"),a=e("../../components/color"),i=e("./micropolar"),s=e("./undo_manager"),l=o.extendDeepAll,u=t.exports={};u.framework=function(e){function t(t,o){return o&&(f=o),r.select(r.select(f).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),n=n?l(n,t):t,a||(a=i.Axis()),c=i.adapter.plotly().convert(n),a.config(c).render(f),e.data=n.data,e.layout=n.layout,u.fillLayout(e),n}var n,o,a,c,f,d=new s;return t.isPolar=!0,t.svg=function(){return a.svg()},t.getConfig=function(){return n},t.getLiveConfig=function(){return i.adapter.plotly().convert(a.getLiveConfig(),!0)},t.getLiveScales=function(){return{t:a.angularScale(),r:a.radialScale()}},t.setUndoPoint=function(){var e=this,t=i.util.cloneJson(n);!function(t,n){d.add({undo:function(){n&&e(n)},redo:function(){e(t)}})}(t,o),o=i.util.cloneJson(t)},t.undo=function(){d.undo()},t.redo=function(){d.redo()},t},u.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),o=e.framework&&e.framework.svg&&e.framework.svg(),i={width:800,height:600,paper_bgcolor:a.background,_container:t,_paperdiv:n,_paper:o};e._fullLayout=l(i,e.layout)}},{"../../components/color":31,"../../lib":123,"./micropolar":180,"./undo_manager":182,d3:14}],182:[function(e,t,n){"use strict";t.exports=function(){function e(e,t){return e?(o=!0,e[t](),o=!1,this):this}var t,n=[],r=-1,o=!1;return{add:function(e){return o?this:(n.splice(r+1,n.length-r),n.push(e),r=n.length-1,this)},setCallback:function(e){t=e},undo:function(){var o=n[r];return o?(e(o,"undo"),r-=1,t&&t(o.undo),this):this},redo:function(){var o=n[r+1];return o?(e(o,"redo"),r+=1,t&&t(o.redo),this):this},clear:function(){n=[],r=-1},hasUndo:function(){return r!==-1},hasRedo:function(){return r=i&&(p.min=0,h.min=0,m.min=0,e.aaxis&&delete e.aaxis.min,e.baxis&&delete e.baxis.min,e.caxis&&delete e.caxis.min)}var o=e("../../../components/color"),a=e("../../subplot_defaults"),i=e("./layout_attributes"),s=e("./axis_defaults"),l=["aaxis","baxis","caxis"];t.exports=function(e,t,n){a(e,t,n,{type:"ternary",attributes:i,handleDefaults:r,font:t.font,paper_bgcolor:t.paper_bgcolor})}},{"../../../components/color":31,"../../subplot_defaults":183,"./axis_defaults":187,"./layout_attributes":189}],189:[function(e,t,n){"use strict";var r=e("../../../components/color/attributes"),o=e("./axis_attributes");t.exports={domain:{x:{valType:"info_array",items:[{valType:"number",min:0,max:1},{valType:"number",min:0,max:1}],dflt:[0,1]},y:{valType:"info_array",items:[{valType:"number",min:0,max:1},{valType:"number",min:0,max:1}],dflt:[0,1]}},bgcolor:{valType:"color",dflt:r.background},sum:{valType:"number",dflt:1,min:0},aaxis:o,baxis:o,caxis:o}},{"../../../components/color/attributes":30,"./axis_attributes":186}],190:[function(e,t,n){"use strict";function r(e,t){this.id=e.id,this.graphDiv=e.graphDiv,this.init(t),this.makeFramework()}function o(e){a.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}var a=e("d3"),i=e("tinycolor2"),s=e("../../plotly"),l=e("../../lib"),u=e("../../components/color"),c=e("../../components/drawing"),f=e("../cartesian/set_convert"),d=e("../../lib/extend").extendFlat,p=e("../plots"),h=e("../cartesian/axes"),m=e("../../components/dragelement"),g=e("../../components/titles"),v=e("../cartesian/select"),y=e("../cartesian/constants"),b=e("../cartesian/graph_interact");t.exports=r;var A=r.prototype;A.init=function(e){this.container=e._ternarylayer,this.defs=e._defs,this.layoutId=e._uid,this.traceHash={}},A.plot=function(e,t){var n=this,r=t[n.id],o=t._size;n.adjustLayout(r,o),p.generalUpdatePerTraceModule(n,e,r),n.layers.plotbg.select("path").call(u.fill,r.bgcolor)},A.makeFramework=function(){var e=this,t=e.defs.selectAll("g.clips").data([0]);t.enter().append("g").classed("clips",!0);var n="clip"+e.layoutId+e.id;e.clipDef=t.selectAll("#"+n).data([0]),e.clipDef.enter().append("clipPath").attr("id",n).append("path").attr("d","M0,0Z"),e.plotContainer=e.container.selectAll("g."+e.id).data([0]),e.plotContainer.enter().append("g").classed(e.id,!0),e.layers={};var r=["draglayer","plotbg","backplot","grids","frontplot","zoom","aaxis","baxis","caxis","axlines"],o=e.plotContainer.selectAll("g.toplevel").data(r);o.enter().append("g").attr("class",function(e){return"toplevel "+e}).each(function(t){var n=a.select(this);e.layers[t]=n,"frontplot"===t?n.append("g").classed("scatterlayer",!0):"backplot"===t?n.append("g").classed("maplayer",!0):"plotbg"===t?n.append("path").attr("d","M0,0Z"):"axlines"===t&&n.selectAll("path").data(["aline","bline","cline"]).enter().append("path").each(function(e){a.select(this).classed(e,!0)})});var i=e.plotContainer.select(".grids").selectAll("g.grid").data(["agrid","bgrid","cgrid"]);i.enter().append("g").attr("class",function(e){return"grid "+e}).each(function(t){e.layers[t]=a.select(this)}),e.plotContainer.selectAll(".backplot,.frontplot,.grids").call(c.setClipUrl,n),e.graphDiv._context.staticPlot||e.initInteractions()};var x=Math.sqrt(4/3);A.adjustLayout=function(e,t){var n,r,o,a,i,s,l=this,c=e.domain,p=(c.x[0]+c.x[1])/2,h=(c.y[0]+c.y[1])/2,m=c.x[1]-c.x[0],g=c.y[1]-c.y[0],v=m*t.w,y=g*t.h,b=e.sum,A=e.aaxis.min,_=e.baxis.min,w=e.caxis.min;v>x*y?(a=y,o=a*x):(o=v,a=o/x),i=m*o/v,s=g*a/y,n=t.l+t.w*p-o/2,r=t.t+t.h*(1-h)-a/2,l.x0=n,l.y0=r,l.w=o,l.h=a,l.sum=b,l.xaxis={type:"linear",range:[A+2*w-b,b-A-2*_],domain:[p-i/2,p+i/2],_id:"x",_gd:l.graphDiv},f(l.xaxis),l.xaxis.setScale(),l.yaxis={type:"linear",range:[A,b-_-w],domain:[h-s/2,h+s/2],_id:"y",_gd:l.graphDiv},f(l.yaxis),l.yaxis.setScale();var C=l.yaxis.domain[0],E=l.aaxis=d({},e.aaxis,{range:[A,b-_-w],side:"left",_counterangle:30,tickangle:(+e.aaxis.tickangle||0)-30,domain:[C,C+s*x],_axislayer:l.layers.aaxis,_gridlayer:l.layers.agrid,_pos:0,_gd:l.graphDiv,_id:"y",_length:o,_gridpath:"M0,0l"+a+",-"+o/2});f(E);var T=l.baxis=d({},e.baxis,{range:[b-A-w,_],side:"bottom",_counterangle:30,domain:l.xaxis.domain,_axislayer:l.layers.baxis,_gridlayer:l.layers.bgrid,_counteraxis:l.aaxis,_pos:0,_gd:l.graphDiv,_id:"x",_length:o,_gridpath:"M0,0l-"+o/2+",-"+a});f(T),E._counteraxis=T;var k=l.caxis=d({},e.caxis,{range:[b-A-_,w],side:"right",_counterangle:30,tickangle:(+e.caxis.tickangle||0)+30,domain:[C,C+s*x],_axislayer:l.layers.caxis,_gridlayer:l.layers.cgrid,_counteraxis:l.baxis,_pos:0,_gd:l.graphDiv,_id:"y",_length:o,_gridpath:"M0,0l-"+a+","+o/2});f(k);var P="M"+n+","+(r+a)+"h"+o+"l-"+o/2+",-"+a+"Z";l.clipDef.select("path").attr("d",P),l.layers.plotbg.select("path").attr("d",P);var M="translate("+n+","+r+")";l.plotContainer.selectAll(".scatterlayer,.maplayer,.zoom").attr("transform",M);var S="translate("+n+","+(r+a)+")"; -l.layers.baxis.attr("transform",S),l.layers.bgrid.attr("transform",S);var D="translate("+(n+o/2)+","+r+")rotate(30)";l.layers.aaxis.attr("transform",D),l.layers.agrid.attr("transform",D);var O="translate("+(n+o/2)+","+r+")rotate(-30)";l.layers.caxis.attr("transform",O),l.layers.cgrid.attr("transform",O),l.drawAxes(!0),l.plotContainer.selectAll(".crisp").classed("crisp",!1);var I=l.layers.axlines;I.select(".aline").attr("d",E.showline?"M"+n+","+(r+a)+"l"+o/2+",-"+a:"M0,0").call(u.stroke,E.linecolor||"#000").style("stroke-width",(E.linewidth||0)+"px"),I.select(".bline").attr("d",T.showline?"M"+n+","+(r+a)+"h"+o:"M0,0").call(u.stroke,T.linecolor||"#000").style("stroke-width",(T.linewidth||0)+"px"),I.select(".cline").attr("d",k.showline?"M"+(n+o/2)+","+r+"l"+o/2+","+a:"M0,0").call(u.stroke,k.linecolor||"#000").style("stroke-width",(k.linewidth||0)+"px")},A.drawAxes=function(e){var t=this,n=t.graphDiv,r=t.id.substr(7)+"title",o=t.aaxis,a=t.baxis,i=t.caxis;if(h.doTicks(n,o,!0),h.doTicks(n,a,!0),h.doTicks(n,i,!0),e){var s=Math.max(o.showticklabels?o.tickfont.size/2:0,(i.showticklabels?.75*i.tickfont.size:0)+("outside"===i.ticks?.87*i.ticklen:0));g.draw(n,"a"+r,{propContainer:o,propName:t.id+".aaxis.title",dfltName:"Component A",attributes:{x:t.x0+t.w/2,y:t.y0-o.titlefont.size/3-s,"text-anchor":"middle"}});var l=(a.showticklabels?a.tickfont.size:0)+("outside"===a.ticks?a.ticklen:0)+3;g.draw(n,"b"+r,{propContainer:a,propName:t.id+".baxis.title",dfltName:"Component B",attributes:{x:t.x0-l,y:t.y0+t.h+.83*a.titlefont.size+l,"text-anchor":"middle"}}),g.draw(n,"c"+r,{propContainer:i,propName:t.id+".caxis.title",dfltName:"Component C",attributes:{x:t.x0+t.w+l,y:t.y0+t.h+.83*i.titlefont.size+l,"text-anchor":"middle"}})}};var _=y.MINZOOM/2+.87,w="m-0.87,.5h"+_+"v3h-"+(_+5.2)+"l"+(_/2+2.6)+",-"+(.87*_+4.5)+"l2.6,1.5l-"+_/2+","+.87*_+"Z",C="m0.87,.5h-"+_+"v3h"+(_+5.2)+"l-"+(_/2+2.6)+",-"+(.87*_+4.5)+"l-2.6,1.5l"+_/2+","+.87*_+"Z",E="m0,1l"+_/2+","+.87*_+"l2.6,-1.5l-"+(_/2+2.6)+",-"+(.87*_+4.5)+"l-"+(_/2+2.6)+","+(.87*_+4.5)+"l2.6,1.5l"+_/2+",-"+.87*_+"Z",T="m0.5,0.5h5v-2h-5v-5h-2v5h-5v2h5v5h2Z",k=!0;A.initInteractions=function(){function e(e,t,n){var r=F.getBoundingClientRect();A=t-r.left,_=n-r.top,P={a:B.aaxis.range[0],b:B.baxis.range[1],c:B.caxis.range[1]},S=P,M=B.aaxis.range[1]-P.a,D=i(B.graphDiv._fullLayout[B.id].bgcolor).getLuminance(),O="M0,"+B.h+"L"+B.w/2+", 0L"+B.w+","+B.h+"Z",I=!1,L=j.append("path").attr("class","zoombox").style({fill:D>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",O),N=j.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),h()}function t(e,t){return 1-t/B.h}function n(e,t){return 1-(e+(B.h-t)/Math.sqrt(3))/B.w}function r(e,t){return(e-(B.h-t)/Math.sqrt(3))/B.w}function a(e,o){var a=A+e,i=_+o,s=Math.max(0,Math.min(1,t(A,_),t(a,i))),l=Math.max(0,Math.min(1,n(A,_),n(a,i))),u=Math.max(0,Math.min(1,r(A,_),r(a,i))),c=(s/2+u)*B.w,f=(1-s/2-l)*B.w,d=(c+f)/2,p=f-c,h=(1-s)*B.h,m=h-p/x;p.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),N.transition().style("opacity",1).duration(200),I=!0)}function c(e,t){if(S===P)return 2===t&&g(),o(R);o(R);var n={};n[B.id+".aaxis.min"]=S.a,n[B.id+".baxis.min"]=S.b,n[B.id+".caxis.min"]=S.c,s.relayout(R,n),k&&R.data&&R._context.showTips&&(l.notifier("Double-click to
zoom back out","long"),k=!1)}function f(){P={a:B.aaxis.range[0],b:B.baxis.range[1],c:B.caxis.range[1]},S=P}function d(e,t){var n=e/B.xaxis._m,r=t/B.yaxis._m;S={a:P.a-r,b:P.b+(n+r)/2,c:P.c-(n-r)/2};var o=[S.a,S.b,S.c].sort(),a={a:o.indexOf(S.a),b:o.indexOf(S.b),c:o.indexOf(S.c)};o[0]<0&&(o[1]+o[0]/2<0?(o[2]+=o[0]+o[1],o[0]=o[1]=0):(o[2]+=o[0]/2,o[1]+=o[0]/2,o[0]=0),S={a:o[a.a],b:o[a.b],c:o[a.c]},t=(P.a-S.a)*B.yaxis._m,e=(P.c-S.c-P.b+S.b)*B.xaxis._m);var i="translate("+(B.x0+e)+","+(B.y0+t)+")";B.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",i),B.aaxis.range=[S.a,B.sum-S.b-S.c],B.baxis.range=[B.sum-S.a-S.c,S.b],B.caxis.range=[B.sum-S.a-S.b,S.c],B.drawAxes(!1),B.plotContainer.selectAll(".crisp").classed("crisp",!1)}function p(e,t){if(e){var n={};n[B.id+".aaxis.min"]=S.a,n[B.id+".baxis.min"]=S.b,n[B.id+".caxis.min"]=S.c,s.relayout(R,n)}else 2===t&&g()}function h(){B.plotContainer.selectAll(".select-outline").remove()}function g(){var e={};e[B.id+".aaxis.min"]=0,e[B.id+".baxis.min"]=0,e[B.id+".caxis.min"]=0,R.emit("plotly_doubleclick",null),s.relayout(R,e)}var A,_,P,M,S,D,O,I,L,N,B=this,F=B.layers.plotbg.select("path").node(),R=B.graphDiv,j=B.layers.zoom,z={element:F,gd:R,plotinfo:{plot:j},doubleclick:g,subplot:B.id,prepFn:function(t,n,r){z.xaxes=[B.xaxis],z.yaxes=[B.yaxis];var o=R._fullLayout.dragmode;t.shiftKey&&(o="pan"===o?"zoom":"pan"),"lasso"===o?z.minDrag=1:z.minDrag=void 0,"zoom"===o?(z.moveFn=a,z.doneFn=c,e(t,n,r)):"pan"===o?(z.moveFn=d,z.doneFn=p,f(),h()):"select"!==o&&"lasso"!==o||v(t,n,r,z,o)}};F.onmousemove=function(e){b.hover(R,e,B.id),R._fullLayout._lasthover=F,R._fullLayout._hoversubplot=B.id},F.onmouseout=function(e){R._dragging||m.unhover(R,e)},F.onclick=function(e){b.click(R,e)},m.init(z)}},{"../../components/color":31,"../../components/dragelement":52,"../../components/drawing":54,"../../components/titles":105,"../../lib":123,"../../lib/extend":120,"../../plotly":147,"../cartesian/axes":152,"../cartesian/constants":157,"../cartesian/graph_interact":159,"../cartesian/select":165,"../cartesian/set_convert":166,"../plots":176,d3:14,tinycolor2:20}],191:[function(e,t,n){"use strict";function r(e){return"object"==typeof e&&(e=e.type),e}var o=e("./lib"),a=e("./plots/attributes");n.modules={},n.allCategories={},n.allTypes=[],n.subplotsRegistry={},n.transformsRegistry={},n.componentsRegistry={},n.layoutArrayContainers=[],n.register=function(e,t,r,a){if(n.modules[t])return void o.log("Type "+t+" already registered");for(var i={},s=0;s-1}var a=e("../lib"),i=e("../plots/plots"),s=a.extendFlat,l=a.extendDeep;t.exports=function(e,t){e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var n,a=e.data,u=e.layout,c=l([],a),f=l({},u,r(t.tileClass));if(t.width&&(f.width=t.width),t.height&&(f.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){f.annotations=[];var d=Object.keys(f);for(n=0;n0&&E>0,j=w<=B&&E<=F,z=w<=F&&E<=B,H="h"===v?B>=w*(F/E):F>=E*(B/w);R&&(j||z||H)?b="inside":(b="outside",A.remove(),A=null)}else b="inside";if(!A&&(A=m(t,y,"outside"===b?P:k),x=C.bBox(A.node()),w=x.width,E=x.height,w<=0||E<=0))return void A.remove();var U;U="outside"===b?a(i,d,p,h,x,v):o(i,d,p,h,x,v),A.attr("transform",U)}}}function o(e,t,n,r,o,a){var s,l,u,c,f,d=o.width,p=o.height,h=(o.left+o.right)/2,m=(o.top+o.bottom)/2,g=Math.abs(t-e),v=Math.abs(r-n);g>2*O&&v>2*O?(f=O,g-=2*f,v-=2*f):f=0;var y,b;return d<=g&&p<=v?(y=!1,b=1):d<=v&&p<=g?(y=!0,b=1):dn?(u=(e+t)/2,c=r-f-l/2):(u=(e+t)/2,c=r+f+l/2),i(h,m,u,c,b,y)}function a(e,t,n,r,o,a){var s,l="h"===a?Math.abs(r-n):Math.abs(t-e);l>2*O&&(s=O,l-=2*s);var u,c,f,d,p=!1,h="h"===a?Math.min(1,l/o.height):Math.min(1,l/o.width),m=(o.left+o.right)/2,g=(o.top+o.bottom)/2;return p?(u=h*o.height,c=h*o.width):(u=h*o.width,c=h*o.height),"h"===a?tn?(f=(e+t)/2,d=r+s+c/2):(f=(e+t)/2,d=r-s-c/2),i(m,g,f,d,h,p)}function i(e,t,n,r,o,a){var i,s,l;o<1?i="scale("+o+") ":(o=1,i=""),s=a?"rotate("+a+" "+e+" "+t+") ":"";var u=n-o*e,c=r-o*t;return l="translate("+u+" "+c+")",l+i+s}function s(e,t){var n=p(e.text,t);return h(k,n)}function l(e,t){var n=p(e.textposition,t);return m(P,n)}function u(e,t,n){return d(M,e.textfont,t,n)}function c(e,t,n){return d(S,e.insidetextfont,t,n)}function f(e,t,n){return d(D,e.outsidetextfont,t,n)}function d(e,t,n,r){t=t||{};var o=p(t.family,n),a=p(t.size,n),i=p(t.color,n);return{family:h(e.family,o,r.family),size:g(e.size,a,r.size),color:v(e.color,i,r.color)}}function p(e,t){var n;return Array.isArray(e)?to;if(!a)return t}return void 0!==n?n:e.dflt}function v(e,t,n){return A(t).isValid()?t:void 0!==n?n:e.dflt}var y=e("d3"),b=e("fast-isnumeric"),A=e("tinycolor2"),x=e("../../lib"),_=e("../../lib/svg_text_utils"),w=e("../../components/color"),C=e("../../components/drawing"),E=e("../../components/errorbars"),T=e("./attributes"),k=T.text,P=T.textposition,M=T.textfont,S=T.insidetextfont,D=T.outsidetextfont,O=3;t.exports=function(e,t,n){var o=t.xaxis,a=t.yaxis,i=e._fullLayout,s=t.plot.select(".barlayer").selectAll("g.trace.bars").data(n).enter().append("g").attr("class","trace bars");s.append("g").attr("class","points").each(function(t){var n=t[0].t,s=t[0].trace,l=n.poffset,u=Array.isArray(l),c=n.barwidth,f=Array.isArray(c);y.select(this).selectAll("g.point").data(x.identity).enter().append("g").classed("point",!0).each(function(n,d){function p(e){return 0===i.bargap&&0===i.bargroupgap?y.round(Math.round(e)-k,2):e}function h(e,t){return Math.abs(e-t)>=2?p(e):e>t?Math.ceil(e):Math.floor(e)}var m,g,v,A,x=n.p+(u?l[d]:l),_=x+(f?c[d]:c),C=n.b,E=C+n.s;if("h"===s.orientation?(v=a.c2p(x,!0),A=a.c2p(_,!0),m=o.c2p(C,!0),g=o.c2p(E,!0)):(m=o.c2p(x,!0),g=o.c2p(_,!0),v=a.c2p(C,!0),A=a.c2p(E,!0)),!(b(m)&&b(g)&&b(v)&&b(A)&&m!==g&&v!==A))return void y.select(this).remove();var T=(n.mlw+1||s.marker.line.width+1||(n.trace?n.trace.marker.line.width:0)+1)-1,k=y.round(T/2%1,2);if(!e._context.staticPlot){var P=w.opacity(n.mc||s.marker.color),M=P<1||T>.01?p:h;m=M(m,g),g=M(g,m),v=M(v,A),A=M(A,v)}var S=y.select(this);S.append("path").attr("d","M"+m+","+v+"V"+A+"H"+g+"V"+v+"Z"),r(e,S,t,d,m,g,v,A)})}),s.call(E.plot,t)}},{"../../components/color":31,"../../components/drawing":54,"../../components/errorbars":60,"../../lib":123,"../../lib/svg_text_utils":137,"./attributes":201,d3:14,"fast-isnumeric":17,tinycolor2:20}],209:[function(e,t,n){"use strict";function r(e,t,n,r){if(r.length){var s,l,u,c,f,d=e._fullLayout.barmode,p="overlay"===d,h="group"===d;if(p)o(e,t,n,r);else if(h){for(s=[],l=[],u=0;ul+i&&(u=!0,l=y)),v(t.c2l(m))&&(ml+i&&(u=!0,l=m))}}b.expand(t,[s,l],{tozero:!0,padded:u})}function g(e){return e._id.charAt(0)}var v=e("fast-isnumeric"),y=e("../../registry"),b=e("../../plots/cartesian/axes"),A=e("./sieve.js");t.exports=function(e,t){var n,o=t.xaxis,a=t.yaxis,i=e._fullData,s=e.calcdata,l=[],u=[];for(n=0;n1||0===s.bargap&&0===s.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")}),t.selectAll("g.points").each(function(e){var t=e[0].trace,n=t.marker,i=n.line,s=a.tryColorscale(n,""),l=a.tryColorscale(n,"line");r.select(this).selectAll("path").each(function(e){var t,a,u=(e.mlw+1||i.width+1)-1,c=r.select(this);t="mc"in e?e.mcc=s(e.mc):Array.isArray(n.color)?o.defaultLine:n.color,c.style("stroke-width",u+"px").call(o.fill,t),u&&(a="mlc"in e?e.mlcc=l(e.mlc):Array.isArray(i.color)?o.defaultLine:i.color,c.call(o.stroke,a))})}),t.call(i.style)}},{"../../components/color":31,"../../components/drawing":54,"../../components/errorbars":60,d3:14}],212:[function(e,t,n){"use strict";var r=e("../../components/color"),o=e("../../components/colorscale/has_colorscale"),a=e("../../components/colorscale/defaults"); -t.exports=function(e,t,n,i,s){n("marker.color",i),o(e,"marker")&&a(e,t,s,n,{prefix:"marker.",cLetter:"c"}),n("marker.line.color",r.defaultLine),o(e,"marker.line")&&a(e,t,s,n,{prefix:"marker.line.",cLetter:"c"}),n("marker.line.width")}},{"../../components/color":31,"../../components/colorscale/defaults":40,"../../components/colorscale/has_colorscale":44}],213:[function(e,t,n){"use strict";var r=e("../scatter/attributes"),o=e("../../components/color/attributes"),a=e("../../lib/extend").extendFlat,i=r.marker,s=i.line;t.exports={y:{valType:"data_array"},x:{valType:"data_array"},x0:{valType:"any"},y0:{valType:"any"},xcalendar:r.xcalendar,ycalendar:r.ycalendar,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],dflt:"outliers"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],dflt:!1},jitter:{valType:"number",min:0,max:1},pointpos:{valType:"number",min:-2,max:2},orientation:{valType:"enumerated",values:["v","h"]},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)"},symbol:a({},i.symbol,{arrayOk:!1}),opacity:a({},i.opacity,{arrayOk:!1,dflt:1}),size:a({},i.size,{arrayOk:!1}),color:a({},i.color,{arrayOk:!1}),line:{color:a({},s.color,{arrayOk:!1,dflt:o.defaultLine}),width:a({},s.width,{arrayOk:!1,dflt:0}),outliercolor:{valType:"color"},outlierwidth:{valType:"number",min:0,dflt:1}}},line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:2}},fillcolor:r.fillcolor}},{"../../components/color/attributes":30,"../../lib/extend":120,"../scatter/attributes":282}],214:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),a=e("../../plots/cartesian/axes");t.exports=function(e,t){function n(e,t,n,a,i){var s;return n in t?h=a.makeCalcdata(t,n):(s=n+"0"in t?t[n+"0"]:"name"in t&&("category"===a.type||r(t.name)&&["linear","log"].indexOf(a.type)!==-1||o.isDateTime(t.name)&&"date"===a.type)?t.name:e.numboxes,s=a.d2c(s,0,t[n+"calendar"]),h=i.map(function(){return s})),h}function i(e,t,n,a,i){var s,l,u,c,f=a.length,d=t.length,p=[],h=[];for(s=0;s=0&&u1,v=n.dPos*(1-d.boxgap)*(1-d.boxgroupgap)/(g?e.numboxes:1),y=g?2*n.dPos*(-.5+(n.boxnum+.5)/e.numboxes)*(1-d.boxgap):0,b=v*m.whiskerwidth;return m.visible!==!0||n.emptybox?void a.select(this).remove():("h"===m.orientation?(l=h,f=p):(l=p,f=h),n.bPos=y,n.bdPos=v,r(),a.select(this).selectAll("path.box").data(i.identity).enter().append("path").attr("class","box").each(function(e){var t=l.c2p(e.pos+y,!0),n=l.c2p(e.pos+y-v,!0),r=l.c2p(e.pos+y+v,!0),o=l.c2p(e.pos+y-b,!0),s=l.c2p(e.pos+y+b,!0),u=f.c2p(e.q1,!0),c=f.c2p(e.q3,!0),d=i.constrain(f.c2p(e.med,!0),Math.min(u,c)+1,Math.max(u,c)-1),p=f.c2p(m.boxpoints===!1?e.min:e.lf,!0),h=f.c2p(m.boxpoints===!1?e.max:e.uf,!0);"h"===m.orientation?a.select(this).attr("d","M"+d+","+n+"V"+r+"M"+u+","+n+"V"+r+"H"+c+"V"+n+"ZM"+u+","+t+"H"+p+"M"+c+","+t+"H"+h+(0===m.whiskerwidth?"":"M"+p+","+o+"V"+s+"M"+h+","+o+"V"+s)):a.select(this).attr("d","M"+n+","+d+"H"+r+"M"+n+","+u+"H"+r+"V"+c+"H"+n+"ZM"+t+","+u+"V"+p+"M"+t+","+c+"V"+h+(0===m.whiskerwidth?"":"M"+o+","+p+"H"+s+"M"+o+","+h+"H"+s))}),m.boxpoints&&a.select(this).selectAll("g.points").data(function(e){return e.forEach(function(e){e.t=n,e.trace=m}),e}).enter().append("g").attr("class","points").selectAll("path").data(function(e){var t,n,r,a,s,l,f,d="all"===m.boxpoints?e.val:e.val.filter(function(t){return te.uf}),p=Math.max((e.max-e.min)/10,e.q3-e.q1),h=1e-9*p,g=p*c,b=[],A=0;if(m.jitter){if(0===p)for(A=1,b=new Array(d.length),t=0;te.lo&&(r.so=!0),r})}).enter().append("path").call(s.translatePoints,p,h),void(m.boxmean&&a.select(this).selectAll("path.mean").data(i.identity).enter().append("path").attr("class","mean").style("fill","none").each(function(e){var t=l.c2p(e.pos+y,!0),n=l.c2p(e.pos+y-v,!0),r=l.c2p(e.pos+y+v,!0),o=f.c2p(e.mean,!0),i=f.c2p(e.mean-e.sd,!0),s=f.c2p(e.mean+e.sd,!0);"h"===m.orientation?a.select(this).attr("d","M"+o+","+n+"V"+r+("sd"!==m.boxmean?"":"m0,0L"+i+","+t+"L"+o+","+n+"L"+s+","+t+"Z")):a.select(this).attr("d","M"+n+","+o+"H"+r+("sd"!==m.boxmean?"":"m0,0L"+t+","+i+"L"+n+","+o+"L"+t+","+s+"Z"))})))})}},{"../../components/drawing":54,"../../lib":123,d3:14}],221:[function(e,t,n){"use strict";var r=e("../../registry"),o=e("../../plots/cartesian/axes"),a=e("../../lib");t.exports=function(e,t){var n,i,s,l,u=e._fullLayout,c=t.xaxis,f=t.yaxis,d=["v","h"];for(i=0;is.end&&(s.start=s.end=(s.start+s.end)/2),t._input.contours=a({},s)}else{var u=s.start,c=s.end,f=t._input.contours;if(u>c&&(s.start=f.start=c,c=s.end=f.end=u,u=s.start),!(s.size>0)){var d;d=u===c?1:r(u,c,t.ncontours).dtick,f.size=s.size=d}}return n}},{"../../lib":123,"../../plots/cartesian/axes":152,"../heatmap/calc":238}],225:[function(e,t,n){"use strict";var r=e("../../plots/plots"),o=e("../../components/colorbar/draw"),a=e("./make_color_map"),i=e("./end_plus");t.exports=function(e,t){var n=t[0].trace,s="cb"+n.uid;if(e._fullLayout._infolayer.selectAll("."+s).remove(),n.showscale===!1)return void r.autoMargin(e,s);var l=o(e,s);t[0].t.cb=l;var u=n.contours,c=n.line,f=u.size||1,d=u.coloring,p=a(n,{isColorbar:!0});"heatmap"===d&&l.filllevels({start:n.zmin,end:n.zmax,size:(n.zmax-n.zmin)/254}),l.fillcolor("fill"===d||"heatmap"===d?p:"").line({color:"lines"===d?p:c.color,width:u.showlines!==!1?c.width:0,dash:c.dash}).levels({start:u.start,end:i(u),size:f}).options(n.colorbar)()}},{"../../components/colorbar/draw":34,"../../plots/plots":176,"./end_plus":228,"./make_color_map":232}],226:[function(e,t,n){"use strict";t.exports.BOTTOMSTART=[1,9,13,104,713],t.exports.TOPSTART=[4,6,7,104,713],t.exports.LEFTSTART=[8,12,14,208,1114],t.exports.RIGHTSTART=[2,3,11,208,1114],t.exports.NEWDELTA=[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],t.exports.CHOOSESADDLE={104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},t.exports.SADDLEREMAINDER={1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11}},{}],227:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../heatmap/has_columns"),a=e("../heatmap/xyz_defaults"),i=e("../contour/style_defaults"),s=e("./attributes");t.exports=function(e,t,n,l){function u(n,o){return r.coerce(e,t,s,n,o)}var c=a(e,t,u,l);if(!c)return void(t.visible=!1);u("text"),u("connectgaps",o(t));var f,d=r.coerce2(e,t,s,"contours.start"),p=r.coerce2(e,t,s,"contours.end"),h=d===!1||p===!1,m=u("contours.size");f=h?t.autocontour=!0:u("autocontour",!1),!f&&m||u("ncontours"),i(e,t,u,l)}},{"../../lib":123,"../contour/style_defaults":236,"../heatmap/has_columns":244,"../heatmap/xyz_defaults":252,"./attributes":223}],228:[function(e,t,n){"use strict";t.exports=function(e){return e.end+e.size/1e6}},{}],229:[function(e,t,n){"use strict";function r(e,t){return Math.abs(e[0]-t[0])<.01&&Math.abs(e[1]-t[1])<.01}function o(e,t){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)}function a(e,t,n){function a(e){return m[e%m.length]}var c,f=t.join(","),d=f,p=e.crossings[d],h=i(p,n,t),m=[s(e,t,[-h[0],-h[1]])],g=h.join(","),v=e.z.length,y=e.z[0].length;for(c=0;c<1e4;c++){if(p>20?(p=u.CHOOSESADDLE[p][(h[0]||h[1])<0?0:1],e.crossings[d]=u.SADDLEREMAINDER[p]):delete e.crossings[d],h=u.NEWDELTA[p],!h){l.log("Found bad marching index:",p,t,e.level);break}m.push(s(e,t,h)),t[0]+=h[0],t[1]+=h[1],r(m[m.length-1],m[m.length-2])&&m.pop(),d=t.join(",");var b=h[0]&&(t[0]<0||t[0]>y-2)||h[1]&&(t[1]<0||t[1]>v-2),A=d===f&&h.join(",")===g;if(A||n&&b)break;p=e.crossings[d]}1e4===c&&l.log("Infinite loop in contour?");var x,_,w,C,E,T,k,P=r(m[0],m[m.length-1]),M=0,S=.2*e.smoothing,D=[],O=0;for(c=1;c=O;c--)if(x=D[c],x=O&&x+D[_]20&&t?208===e||1114===e?r=0===n[0]?1:-1:o=0===n[1]?1:-1:u.BOTTOMSTART.indexOf(e)!==-1?o=1:u.LEFTSTART.indexOf(e)!==-1?r=1:u.TOPSTART.indexOf(e)!==-1?o=-1:r=-1,[r,o]}function s(e,t,n){var r=t[0]+Math.max(n[0],0),o=t[1]+Math.max(n[1],0),a=e.z[o][r],i=e.xaxis,s=e.yaxis;if(n[1]){var l=(e.level-a)/(e.z[o][r+1]-a);return[i.c2p((1-l)*e.x[r]+l*e.x[r+1],!0),s.c2p(e.y[o],!0)]}var u=(e.level-a)/(e.z[o+1][r]-a);return[i.c2p(e.x[r],!0),s.c2p((1-u)*e.y[o]+u*e.y[o+1],!0)]}var l=e("../../lib"),u=e("./constants");t.exports=function(e){var t,n,r,o,i;for(r=0;re?0:1)+(t[0][1]>e?0:2)+(t[1][1]>e?0:4)+(t[1][0]>e?0:8);if(5===n||10===n){var r=(t[0][0]+t[0][1]+t[1][0]+t[1][1])/4;return e>r?5===n?713:1114:5===n?104:208}return 15===n?0:n}var o=e("./constants");t.exports=function(e){var t,n,a,i,s,l,u,c,f,d=e[0].z,p=d.length,h=d[0].length,m=2===p||2===h;for(n=0;n1e3){p.warn("Too many contours, clipping at 1000",e);break}return o}function a(e,t,n){var r=e.plot.select(".maplayer").selectAll("g.contour."+n).data(t);return r.enter().append("g").classed("contour",!0).classed(n,!0),r.exit().remove(),r}function i(e,t,n){var r=e.selectAll("g.contourbg").data([0]);r.enter().append("g").classed("contourbg",!0);var o=r.selectAll("path").data("fill"===n.coloring?[0]:[]);o.enter().append("path"),o.exit().remove(),o.attr("d","M"+t.join("L")+"Z").style("stroke","none")}function s(e,t,n,r){var o=e.selectAll("g.contourfill").data([0]);o.enter().append("g").classed("contourfill",!0);var a=o.selectAll("path").data("fill"===r.coloring?t:[]);a.enter().append("path"),a.exit().remove(),a.each(function(e){var t=l(e,n);t?d.select(this).attr("d",t).style("stroke","none"):d.select(this).remove()})}function l(e,t){function n(e){return Math.abs(e[1]-t[0][1])<.01}function r(e){return Math.abs(e[1]-t[2][1])<.01}function o(e){return Math.abs(e[0]-t[0][0])<.01}function a(e){return Math.abs(e[0]-t[2][0])<.01}for(var i,s,l,u,c,f,d=Math.min(e.z[0][0],e.z[0][1]),m=e.edgepaths.length||d<=e.level?"":"M"+t.join("L")+"Z",g=0,v=e.edgepaths.map(function(e,t){return t}),y=!0;v.length;){for(f=h.smoothopen(e.edgepaths[g],e.smoothing),m+=y?f:f.replace(/^M/,"L"),v.splice(v.indexOf(g),1),i=e.edgepaths[g][e.edgepaths[g].length-1],u=-1,l=0;l<4;l++){if(!i){p.log("Missing end?",g,e);break}for(n(i)&&!a(i)?s=t[1]:o(i)?s=t[0]:r(i)?s=t[3]:a(i)&&(s=t[2]),c=0;c=0&&(s=b,u=c):Math.abs(i[1]-s[1])<.01?Math.abs(i[1]-b[1])<.01&&(b[0]-i[0])*(s[0]-b[0])>=0&&(s=b,u=c):p.log("endpt to newendpt is not vert. or horz.",i,s,b)}if(i=s,u>=0)break;m+="L"+s}if(u===e.edgepaths.length){p.log("unclosed perimeter path");break}g=u,y=v.indexOf(g)===-1,y&&(g=v[0],m+="Z")}for(g=0;gD){n("x scale is not linear");break}}if(y.length&&"fast"===P){var O=(y[y.length-1]-y[0])/(y.length-1),I=Math.abs(O/100);for(_=0;_I){n("y scale is not linear");break}}}var L=c(x),N="scaled"===t.xtype?"":m,B=h(t,N,g,v,L,w),F="scaled"===t.ytype?"":y,R=h(t,F,b,A,x.length,C);k||(a.expand(w,B),a.expand(C,R));var j={x:B,y:R,z:x};if(s(t,x,"","z"),E&&t.contours&&"heatmap"===t.contours.coloring){var z={type:"contour"===t.type?"heatmap":"histogram2d",xcalendar:t.xcalendar,ycalendar:t.ycalendar};j.xfill=h(z,N,g,v,L,w),j.yfill=h(z,F,b,A,x.length,C)}return[j]}},{"../../components/colorscale/calc":37,"../../lib":123,"../../plots/cartesian/axes":152,"../../registry":191,"../histogram2d/calc":263,"./clean_2d_array":239,"./convert_column_xyz":241,"./find_empties":243,"./has_columns":244,"./interp2d":247,"./make_bound_array":248,"./max_row_length":249}],239:[function(e,t,n){"use strict";var r=e("fast-isnumeric");t.exports=function(e,t){function n(e){if(r(e))return+e}var o,a,i,s,l,u;if(t){for(o=0,l=0;l=0;i--)a=d[i],n=a[0],o=a[1],s=((f[[n-1,o]]||m)[2]+(f[[n+1,o]]||m)[2]+(f[[n,o-1]]||m)[2]+(f[[n,o+1]]||m)[2])/20, -s&&(l[a]=[n,o,s],d.splice(i,1),u=!0);if(!u)throw"findEmpties iterated with no new neighbors";for(a in l)f[a]=l[a],c.push(l[a])}return c.sort(function(e,t){return t[2]-e[2]})}},{"./max_row_length":249}],244:[function(e,t,n){"use strict";t.exports=function(e){return!Array.isArray(e.z[0])}},{}],245:[function(e,t,n){"use strict";var r=e("../../plots/cartesian/graph_interact"),o=e("../../lib"),a=e("../../plots/cartesian/constants").MAXDIST;t.exports=function(e,t,n,i,s){if(!(e.distance=y[0].length||f<0||f>y.length)return}else{if(r.inbox(t-g[0],t-g[g.length-1])>a||r.inbox(n-v[0],n-v[v.length-1])>a)return;if(s){var _;for(A=[2*g[0]-g[1]],_=1;_m&&(v=Math.max(v,Math.abs(e[o][a]-h)/(g-m))))}return v}var a=e("../../lib"),i=.01,s=[[-1,0],[1,0],[0,-1],[0,1]];t.exports=function(e,t,n){var s,l,u=1;if(Array.isArray(n))for(s=0;si;s++)u=o(e,t,r(u));return u>i&&a.log("interp2d didn't converge quickly",u),e}},{"../../lib":123}],248:[function(e,t,n){"use strict";var r=e("../../registry");t.exports=function(e,t,n,o,a,i){var s,l,u,c=[],f=r.traceIs(e,"contour"),d=r.traceIs(e,"histogram"),p=r.traceIs(e,"gl2d"),h=Array.isArray(t)&&t.length>1;if(h&&!d&&"category"!==i.type){var m=t.length;if(!(m<=a))return f?t.slice(0,a):t.slice(0,a+1);if(f||p)c=t.slice(0,a);else if(1===a)c=[t[0]-.5,t[0]+.5];else{for(c=[1.5*t[0]-.5*t[1]],u=1;u0&&a0&&s0;)x=g.c2p(k[E]),E--;for(x0;)C=v.c2p(P[E]),E--;if(C0&&(r=!0);for(var s=0;sa){var i=a-n[e];return n[e]=a,i}}return 0},max:function(e,t,n,o){var a=o[t];if(r(a)){if(a=Number(a),!r(n[e]))return n[e]=a,a;if(n[e]=0;a--)o(a);else if("increasing"===t){for(a=1;a=0;a--)e[a]+=e[a+1];"exclude"===n&&(e.push(0),e.shift())}}var o=e("fast-isnumeric"),a=e("../../lib"),i=e("../../plots/cartesian/axes"),s=e("./bin_functions"),l=e("./norm_functions"),u=e("./average"),c=e("./clean_bins");t.exports=function(e,t){if(t.visible===!0){var n,f=[],d=[],p=i.getFromId(e,"h"===t.orientation?t.yaxis||"y":t.xaxis||"x"),h="h"===t.orientation?"y":"x",m={x:"y",y:"x"}[h],g=t[h+"calendar"],v=t.cumulative;c(t,p,h);var y,b=p.makeCalcdata(t,h),A=h+"bins";t["autobin"+h]===!1&&A in t?y=t[A]:(y=i.autoBin(b,p,t["nbins"+h],!1,g),v.enabled&&"include"!==v.currentbin&&("decreasing"===v.direction?y.start=p.c2r(p.r2c(y.start)-y.size):y.end=p.c2r(p.r2c(y.end)+y.size)),t._input[A]=t[A]=y);var x,_,w,C="string"==typeof y.size,E=C?[]:y,T=[],k=[],P=0,M=t.histnorm,S=t.histfunc,D=M.indexOf("density")!==-1;v.enabled&&D&&(M=M.replace(/ ?density$/,""),D=!1);var O,I="max"===S||"min"===S,L=I?null:0,N=s.count,B=l[M],F=!1,R=function(e){return p.r2c(e,0,g)};for(Array.isArray(t[m])&&"count"!==S&&(O=t[m],F="avg"===S,N=s[S]),n=R(y.start),_=R(y.end)+(n-i.tickIncrement(n,y.size,!1,g))/1e6;n<_&&f.length<5e3;)x=i.tickIncrement(n,y.size,!1,g),f.push((n+x)/2),d.push(L),C&&E.push(n),D&&T.push(1/(x-n)),F&&k.push(0),n=x;C||"date"!==p.type||(E={start:R(E.start),end:R(E.end),size:E.size});var j=d.length;for(n=0;n=0&&wU;n--)if(d[n]){W=n;break}for(n=U;n<=W;n++)o(f[n])&&o(d[n])&&H.push({p:f[n],s:d[n],b:0});return H}}},{"../../lib":123,"../../plots/cartesian/axes":152,"./average":254,"./bin_functions":256,"./clean_bins":258,"./norm_functions":261,"fast-isnumeric":17}],258:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib").cleanDate,a=e("../../constants/numerical"),i=a.ONEDAY,s=a.BADNUM;t.exports=function(e,t,n){var a=t.type,l=n+"bins",u=e[l];u||(u=e[l]={});var c="date"===a?function(e){return e||0===e?o(e,s,u.calendar):null}:function(e){return r(e)?Number(e):null};u.start=c(u.start),u.end=c(u.end);var f="date"===a?i:1,d=u.size;if(r(d))u.size=d>0?Number(d):f;else if("string"!=typeof d)u.size=f;else{var p=d.charAt(0),h=d.substr(1);h=r(h)?Number(h):0,(h<=0||"date"!==a||"M"!==p||h!==Math.round(h))&&(u.size=f)}var m="autobin"+n;"boolean"!=typeof e[m]&&(e[m]=!((u.start||0===u.start)&&(u.end||0===u.end))),e[m]||delete e["nbins"+n]}},{"../../constants/numerical":111,"../../lib":123,"fast-isnumeric":17}],259:[function(e,t,n){"use strict";var r=e("../../registry"),o=e("../../lib"),a=e("../../components/color"),i=e("./bin_defaults"),s=e("../bar/style_defaults"),l=e("../../components/errorbars/defaults"),u=e("./attributes");t.exports=function(e,t,n,c){function f(n,r){return o.coerce(e,t,u,n,r)}var d=f("x"),p=f("y"),h=f("cumulative.enabled");h&&(f("cumulative.direction"),f("cumulative.currentbin")),f("text");var m=f("orientation",p&&!d?"h":"v"),g=t["v"===m?"x":"y"];if(!g||!g.length)return void(t.visible=!1);var v=r.getComponentMethod("calendars","handleTraceDefaults");v(e,t,["x","y"],c);var y=t["h"===m?"x":"y"];y&&f("histfunc");var b="h"===m?["y"]:["x"];i(e,t,f,b),s(e,t,f,n,c),l(e,t,a.defaultLine,{axis:"y"}),l(e,t,a.defaultLine,{axis:"x",inherit:"y"})}},{"../../components/color":31,"../../components/errorbars/defaults":59,"../../lib":123,"../../registry":191,"../bar/style_defaults":212,"./attributes":253,"./bin_defaults":255}],260:[function(e,t,n){"use strict";var r={};r.attributes=e("./attributes"),r.layoutAttributes=e("../bar/layout_attributes"),r.supplyDefaults=e("./defaults"),r.supplyLayoutDefaults=e("../bar/layout_defaults"),r.calc=e("./calc"),r.setPositions=e("../bar/set_positions"),r.plot=e("../bar/plot"),r.style=e("../bar/style"),r.colorbar=e("../scatter/colorbar"),r.hoverPoints=e("../bar/hover"),r.moduleType="trace",r.name="histogram",r.basePlotModule=e("../../plots/cartesian"),r.categories=["cartesian","bar","histogram","oriented","errorBarsOK","showLegend"],r.meta={},t.exports=r},{"../../plots/cartesian":160,"../bar/hover":204,"../bar/layout_attributes":206,"../bar/layout_defaults":207,"../bar/plot":208,"../bar/set_positions":209,"../bar/style":211,"../scatter/colorbar":285,"./attributes":253,"./calc":257,"./defaults":259}],261:[function(e,t,n){"use strict";t.exports={percent:function(e,t){for(var n=e.length,r=100/t,o=0;oC&&m.splice(C,m.length-C),v.length>C&&v.splice(C,v.length-C),!t.autobinx&&"xbins"in t||(t.xbins=o.autoBin(m,h,t.nbinsx,"2d",y),"histogram2dcontour"===t.type&&(t.xbins.start=_(o.tickIncrement(A(t.xbins.start),t.xbins.size,!0,y)),t.xbins.end=_(o.tickIncrement(A(t.xbins.end),t.xbins.size,!1,y))),t._input.xbins=t.xbins),!t.autobiny&&"ybins"in t||(t.ybins=o.autoBin(v,g,t.nbinsy,"2d",b),"histogram2dcontour"===t.type&&(t.ybins.start=w(o.tickIncrement(x(t.ybins.start),t.ybins.size,!0,b)),t.ybins.end=w(o.tickIncrement(x(t.ybins.end),t.ybins.size,!1,b))),t._input.ybins=t.ybins),d=[];var E,T,k=[],P=[],M="string"==typeof t.xbins.size,S="string"==typeof t.ybins.size,D=M?[]:t.xbins,O=S?[]:t.ybins,I=0,L=[],N=t.histnorm,B=t.histfunc,F=N.indexOf("density")!==-1,R="max"===B||"min"===B,j=R?null:0,z=a.count,H=i[N],U=!1,W=[],q=[],V="z"in t?t.z:"marker"in t&&Array.isArray(t.marker.color)?t.marker.color:"";V&&"count"!==B&&(U="avg"===B,z=a[B]);var G=t.xbins,Y=A(G.start),K=A(G.end)+(Y-o.tickIncrement(Y,G.size,!1,y))/1e6;for(p=Y;p=0&&E=0&&T")}return m};var l},{"../../components/color":31,"./helpers":274,"fast-isnumeric":17,tinycolor2:20}],273:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("./attributes");t.exports=function(e,t,n,a){function i(n,a){return r.coerce(e,t,o,n,a)}var s=r.coerceFont,l=i("values");if(!Array.isArray(l)||!l.length)return void(t.visible=!1);var u=i("labels");Array.isArray(u)||(i("label0"),i("dlabel"));var c=i("marker.line.width");c&&i("marker.line.color");var f=i("marker.colors");Array.isArray(f)||(t.marker.colors=[]),i("scalegroup");var d=i("text"),p=i("textinfo",Array.isArray(d)?"text+percent":"percent");if(i("hoverinfo",1===a._dataLength?"label+text+value+percent":void 0),p&&"none"!==p){var h=i("textposition"),m=Array.isArray(h)||"auto"===h,g=m||"inside"===h,v=m||"outside"===h;if(g||v){var y=s(i,"textfont",a.font);g&&s(i,"insidetextfont",y),v&&s(i,"outsidetextfont",y)}}i("domain.x"),i("domain.y"),i("hole"),i("sort"),i("direction"),i("rotation"),i("pull")}},{"../../lib":123,"./attributes":270}],274:[function(e,t,n){"use strict";var r=e("../../lib");n.formatPiePercent=function(e,t){var n=(100*e).toPrecision(3);return n.lastIndexOf(".")!==-1&&(n=n.replace(/[.]?0+$/,"")),r.numSeparate(n,t)+"%"},n.formatPieValue=function(e,t){var n=e.toPrecision(10);return n.lastIndexOf(".")!==-1&&(n=n.replace(/[.]?0+$/,"")),r.numSeparate(n,t)}},{"../../lib":123}],275:[function(e,t,n){"use strict";var r={};r.attributes=e("./attributes"),r.supplyDefaults=e("./defaults"),r.supplyLayoutDefaults=e("./layout_defaults"),r.layoutAttributes=e("./layout_attributes"),r.calc=e("./calc"),r.plot=e("./plot"),r.style=e("./style"),r.styleOne=e("./style_one"),r.moduleType="trace",r.name="pie",r.basePlotModule=e("./base_plot"),r.categories=["pie","showLegend"],r.meta={},t.exports=r},{"./attributes":270,"./base_plot":271,"./calc":272,"./defaults":273,"./layout_attributes":276,"./layout_defaults":277,"./plot":278,"./style":279,"./style_one":280}],276:[function(e,t,n){"use strict";t.exports={hiddenlabels:{valType:"data_array"}}},{}],277:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("./layout_attributes");t.exports=function(e,t){function n(n,a){return r.coerce(e,t,o,n,a)}n("hiddenlabels")}},{"../../lib":123,"./layout_attributes":276}],278:[function(e,t,n){"use strict";function r(e,t,n){var r=Math.sqrt(e.width*e.width+e.height*e.height),a=e.width/e.height,i=Math.PI*Math.min(t.v/n.vTotal,.5),s=1-n.trace.hole,l=o(t,n),u={scale:l*n.r*2/r,rCenter:1-l,rotate:0};if(u.scale>=1)return u;var c=a+1/(2*Math.tan(i)),f=n.r*Math.min(1/(Math.sqrt(c*c+.5)+c),s/(Math.sqrt(a*a+s/2)+a)),d={scale:2*f/e.height,rCenter:Math.cos(f/n.r)-f*a/n.r,rotate:(180/Math.PI*t.midangle+720)%180-90},p=1/a,h=p+1/(2*Math.tan(i)),m=n.r*Math.min(1/(Math.sqrt(h*h+.5)+h),s/(Math.sqrt(p*p+s/2)+p)),g={scale:2*m/e.width,rCenter:Math.cos(m/n.r)-m/a/n.r,rotate:(180/Math.PI*t.midangle+810)%180-90},v=g.scale>d.scale?g:d;return u.scale<1&&v.scale>u.scale?v:u}function o(e,t){if(e.v===t.vTotal&&!t.trace.hole)return 1;var n=Math.PI*Math.min(e.v/t.vTotal,.5);return Math.min(1/(1+1/Math.sin(n)),(1-t.trace.hole)/2)}function a(e,t){var n=t.pxmid[0],r=t.pxmid[1],o=e.width/2,a=e.height/2;return n<0&&(o*=-1),r<0&&(a*=-1),{scale:1,rCenter:1,rotate:0,x:o+Math.abs(a)*(o>0?1:-1)/2,y:a/(1+n*n/(r*r)),outside:!0}}function i(e,t){function n(e,t){return e.pxmid[1]-t.pxmid[1]}function r(e,t){return t.pxmid[1]-e.pxmid[1]}function o(e,n){n||(n={});var r,o,a,s,d,p,m=n.labelExtraY+(i?n.yLabelMax:n.yLabelMin),g=i?e.yLabelMin:e.yLabelMax,v=i?e.yLabelMax:e.yLabelMin,y=e.cyFinal+u(e.px0[1],e.px1[1]),b=m-g;if(b*f>0&&(e.labelExtraY=b),Array.isArray(t.pull))for(o=0;o=t.pull[a.i]||((e.pxmid[1]-a.pxmid[1])*f>0?(s=a.cyFinal+u(a.px0[1],a.px1[1]),b=s-g-e.labelExtraY,b*f>0&&(e.labelExtraY+=b)):(v+e.labelExtraY-y)*f>0&&(r=3*c*Math.abs(o-h.indexOf(e)),d=a.cxFinal+l(a.px0[0],a.px1[0]),p=d+r-(e.cxFinal+e.pxmid[0])-e.labelExtraX,p*c>0&&(e.labelExtraX+=p)))}var a,i,s,l,u,c,f,d,p,h,m,g,v;for(i=0;i<2;i++)for(s=i?n:r,u=i?Math.max:Math.min,f=i?1:-1,a=0;a<2;a++){for(l=a?Math.max:Math.min,c=a?1:-1,d=e[i][a],d.sort(s),p=e[1-i][a],h=p.concat(d),g=[],m=0;mc&&(c=s.pull[a]);i.r=Math.min(n/u(s.tilt,Math.sin(l),s.depth),r/u(s.tilt,Math.cos(l),s.depth))/(2+2*c),i.cx=t.l+t.w*(s.domain.x[1]+s.domain.x[0])/2,i.cy=t.t+t.h*(2-s.domain.y[1]-s.domain.y[0])/2,s.scalegroup&&p.indexOf(s.scalegroup)===-1&&p.push(s.scalegroup)}for(a=0;af.vTotal/2?1:0)}function u(e,t,n){if(!e)return 1;var r=Math.sin(e*Math.PI/180);return Math.max(.01,n*r*Math.abs(t)+2*Math.sqrt(1-r*r*t*t))}var c=e("d3"),f=e("../../plots/cartesian/graph_interact"),d=e("../../components/color"),p=e("../../components/drawing"),h=e("../../lib/svg_text_utils"),m=e("./helpers"); -t.exports=function(e,t){var n=e._fullLayout;s(t,n._size);var u=n._pielayer.selectAll("g.trace").data(t);u.enter().append("g").attr({"stroke-linejoin":"round",class:"trace"}),u.exit().remove(),u.order(),u.each(function(t){var s=c.select(this),u=t[0],g=u.trace,v=0,y=(g.depth||0)*u.r*Math.sin(v)/2,b=g.tiltaxis||0,A=b*Math.PI/180,x=[y*Math.sin(A),y*Math.cos(A)],_=u.r*Math.cos(v),w=s.selectAll("g.part").data(g.tilt?["top","sides"]:["top"]);w.enter().append("g").attr("class",function(e){return e+" part"}),w.exit().remove(),w.order(),l(t),s.selectAll(".top").each(function(){var s=c.select(this).selectAll("g.slice").data(t);s.enter().append("g").classed("slice",!0),s.exit().remove();var l=[[[],[]],[[],[]]],v=!1;s.each(function(i){function s(t){var r=e._fullLayout,a=e._fullData[g.index],s=a.hoverinfo;if("all"===s&&(s="label+text+value+percent+name"),!e._dragging&&r.hovermode!==!1&&"none"!==s&&"skip"!==s&&s){var l=o(i,u),c=w+i.pxmid[0]*(1-l),d=C+i.pxmid[1]*(1-l),p=n.separators,h=[];s.indexOf("label")!==-1&&h.push(i.label),a.text&&a.text[i.i]&&s.indexOf("text")!==-1&&h.push(a.text[i.i]),s.indexOf("value")!==-1&&h.push(m.formatPieValue(i.v,p)),s.indexOf("percent")!==-1&&h.push(m.formatPiePercent(i.v/u.vTotal,p)),f.loneHover({x0:c-l*u.r,x1:c+l*u.r,y:d,text:h.join("
"),name:s.indexOf("name")!==-1?a.name:void 0,color:i.color,idealAlign:i.pxmid[0]<0?"left":"right"},{container:r._hoverlayer.node(),outerContainer:r._paper.node()}),f.hover(e,t,"pie"),k=!0}}function d(t){e.emit("plotly_unhover",{points:[t]}),k&&(f.loneUnhover(n._hoverlayer.node()),k=!1)}function y(){e._hoverdata=[i],e._hoverdata.trace=t.trace,f.click(e,{target:!0})}function A(e,t,n,r){return"a"+r*u.r+","+r*_+" "+b+" "+i.largeArc+(n?" 1 ":" 0 ")+r*(t[0]-e[0])+","+r*(t[1]-e[1])}if(i.hidden)return void c.select(this).selectAll("path,g").remove();l[i.pxmid[1]<0?0:1][i.pxmid[0]<0?0:1].push(i);var w=u.cx+x[0],C=u.cy+x[1],E=c.select(this),T=E.selectAll("path.surface").data([i]),k=!1;if(T.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),E.select("path.textline").remove(),E.on("mouseover",s).on("mouseout",d).on("click",y),g.pull){var P=+(Array.isArray(g.pull)?g.pull[i.i]:g.pull)||0;P>0&&(w+=P*i.pxmid[0],C+=P*i.pxmid[1])}i.cxFinal=w,i.cyFinal=C;var M=g.hole;if(i.v===u.vTotal){var S="M"+(w+i.px0[0])+","+(C+i.px0[1])+A(i.px0,i.pxmid,!0,1)+A(i.pxmid,i.px0,!0,1)+"Z";M?T.attr("d","M"+(w+M*i.px0[0])+","+(C+M*i.px0[1])+A(i.px0,i.pxmid,!1,M)+A(i.pxmid,i.px0,!1,M)+"Z"+S):T.attr("d",S)}else{var D=A(i.px0,i.px1,!0,1);if(M){var O=1-M;T.attr("d","M"+(w+M*i.px1[0])+","+(C+M*i.px1[1])+A(i.px1,i.px0,!1,M)+"l"+O*i.px0[0]+","+O*i.px0[1]+D+"Z")}else T.attr("d","M"+w+","+C+"l"+i.px0[0]+","+i.px0[1]+D+"Z")}var I=Array.isArray(g.textposition)?g.textposition[i.i]:g.textposition,L=E.selectAll("g.slicetext").data(i.text&&"none"!==I?[0]:[]);L.enter().append("g").classed("slicetext",!0),L.exit().remove(),L.each(function(){var e=c.select(this).selectAll("text").data([0]);e.enter().append("text").attr("data-notex",1),e.exit().remove(),e.text(i.text).attr({class:"slicetext",transform:"","data-bb":"","text-anchor":"middle",x:0,y:0}).call(p.font,"outside"===I?g.outsidetextfont:g.insidetextfont).call(h.convertToTspans),e.selectAll("tspan.line").attr({x:0,y:0});var t,n=p.bBox(e.node());"outside"===I?t=a(n,i):(t=r(n,i,u),"auto"===I&&t.scale<1&&(e.call(p.font,g.outsidetextfont),g.outsidetextfont.family===g.insidetextfont.family&&g.outsidetextfont.size===g.insidetextfont.size||(e.attr({"data-bb":""}),n=p.bBox(e.node())),t=a(n,i)));var o=w+i.pxmid[0]*t.rCenter+(t.x||0),s=C+i.pxmid[1]*t.rCenter+(t.y||0);t.outside&&(i.yLabelMin=s-n.height/2,i.yLabelMid=s,i.yLabelMax=s+n.height/2,i.labelExtraX=0,i.labelExtraY=0,v=!0),e.attr("transform","translate("+o+","+s+")"+(t.scale<1?"scale("+t.scale+")":"")+(t.rotate?"rotate("+t.rotate+")":"")+"translate("+-(n.left+n.right)/2+","+-(n.top+n.bottom)/2+")")})}),v&&i(l,g),s.each(function(e){if(e.labelExtraX||e.labelExtraY){var t=c.select(this),n=t.select("g.slicetext text");n.attr("transform","translate("+e.labelExtraX+","+e.labelExtraY+")"+n.attr("transform"));var r=e.cxFinal+e.pxmid[0],o=e.cyFinal+e.pxmid[1],a="M"+r+","+o,i=(e.yLabelMax-e.yLabelMin)*(e.pxmid[0]<0?-1:1)/4;if(e.labelExtraX){var s=e.labelExtraX*e.pxmid[1]/e.pxmid[0],l=e.yLabelMid+e.labelExtraY-(e.cyFinal+e.pxmid[1]);a+=Math.abs(s)>Math.abs(l)?"l"+l*e.pxmid[0]/e.pxmid[1]+","+l+"H"+(r+e.labelExtraX+i):"l"+e.labelExtraX+","+s+"v"+(l-s)+"h"+i}else a+="V"+(e.yLabelMid+e.labelExtraY)+"h"+i;t.append("path").classed("textline",!0).call(d.stroke,g.outsidetextfont.color).attr({"stroke-width":Math.min(2,g.outsidetextfont.size/8),d:a,fill:"none"})}})})}),setTimeout(function(){u.selectAll("tspan").each(function(){var e=c.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))})},0)}},{"../../components/color":31,"../../components/drawing":54,"../../lib/svg_text_utils":137,"../../plots/cartesian/graph_interact":159,"./helpers":274,d3:14}],279:[function(e,t,n){"use strict";var r=e("d3"),o=e("./style_one");t.exports=function(e){e._fullLayout._pielayer.selectAll(".trace").each(function(e){var t=e[0],n=t.trace,a=r.select(this);a.style({opacity:n.opacity}),a.selectAll(".top path.surface").each(function(e){r.select(this).call(o,e,n)})})}},{"./style_one":280,d3:14}],280:[function(e,t,n){"use strict";var r=e("../../components/color");t.exports=function(e,t,n){var o=n.marker.line.color;Array.isArray(o)&&(o=o[t.i]||r.defaultLine);var a=n.marker.line.width||0;Array.isArray(a)&&(a=a[t.i]||0),e.style({"stroke-width":a,fill:t.color}).call(r.stroke,o)}},{"../../components/color":31}],281:[function(e,t,n){"use strict";var r=e("../../lib");t.exports=function(e,t){r.mergeArray(t.text,e,"tx"),r.mergeArray(t.textposition,e,"tp"),t.textfont&&(r.mergeArray(t.textfont.size,e,"ts"),r.mergeArray(t.textfont.color,e,"tc"),r.mergeArray(t.textfont.family,e,"tf"));var n=t.marker;if(n){r.mergeArray(n.size,e,"ms"),r.mergeArray(n.opacity,e,"mo"),r.mergeArray(n.symbol,e,"mx"),r.mergeArray(n.color,e,"mc");var o=n.line;n.line&&(r.mergeArray(o.color,e,"mlc"),r.mergeArray(o.width,e,"mlw"))}}},{"../../lib":123}],282:[function(e,t,n){"use strict";var r=e("../../components/colorscale/color_attributes"),o=e("../../components/errorbars/attributes"),a=e("../../components/colorbar/attributes"),i=e("../../components/drawing"),s=(e("./constants"),e("../../lib/extend").extendFlat);t.exports={x:{valType:"data_array"},x0:{valType:"any",dflt:0},dx:{valType:"number",dflt:1},y:{valType:"data_array"},y0:{valType:"any",dflt:0},dy:{valType:"number",dflt:1},ids:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"]},hoveron:{valType:"flaglist",flags:["points","fills"]},line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:2},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear"},smoothing:{valType:"number",min:0,max:1.3,dflt:1},dash:{valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid"},simplify:{valType:"boolean",dflt:!0}},connectgaps:{valType:"boolean",dflt:!1},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],dflt:"none"},fillcolor:{valType:"color"},marker:s({},{symbol:{valType:"enumerated",values:i.symbolList,dflt:"circle",arrayOk:!0},opacity:{valType:"number",min:0,max:1,arrayOk:!0},size:{valType:"number",min:0,dflt:6,arrayOk:!0},maxdisplayed:{valType:"number",min:0,dflt:0},sizeref:{valType:"number",dflt:1},sizemin:{valType:"number",min:0,dflt:0},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter"},showscale:{valType:"boolean",dflt:!1},colorbar:a,line:s({},{width:{valType:"number",min:0,arrayOk:!0}},r("marker.line"))},r("marker")),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0},textfont:{family:{valType:"string",noBlank:!0,strict:!0,arrayOk:!0},size:{valType:"number",min:1,arrayOk:!0},color:{valType:"color",arrayOk:!0}},r:{valType:"data_array"},t:{valType:"data_array"},error_y:o,error_x:o}},{"../../components/colorbar/attributes":32,"../../components/colorscale/color_attributes":38,"../../components/drawing":54,"../../components/errorbars/attributes":56,"../../lib/extend":120,"./constants":287}],283:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../plots/cartesian/axes"),a=e("./subtypes"),i=e("./colorscale_calc"),s=e("./arrays_to_calcdata");t.exports=function(e,t){var n,l,u,c=o.getFromId(e,t.xaxis||"x"),f=o.getFromId(e,t.yaxis||"y"),d=c.makeCalcdata(t,"x"),p=f.makeCalcdata(t,"y"),h=Math.min(d.length,p.length);c._minDtick=0,f._minDtick=0,d.length>h&&d.splice(h,d.length-h),p.length>h&&p.splice(h,p.length-h);var m={padded:!0},g={padded:!0};if(a.hasMarkers(t)){if(n=t.marker,l=n.size,Array.isArray(l)){var v={type:"linear"};o.setConvert(v),l=v.makeCalcdata(t.marker,"size"),l.length>h&&l.splice(h,l.length-h)}var y,b=1.6*(t.marker.sizeref||1);y="area"===t.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/b),3)}:function(e){return Math.max((e||0)/b,3)},m.ppad=g.ppad=Array.isArray(l)?l.map(y):y(l)}i(t),!("tozerox"===t.fill||"tonextx"===t.fill&&e.firstscatter)||d[0]===d[h-1]&&p[0]===p[h-1]?t.error_y.visible||["tonexty","tozeroy"].indexOf(t.fill)===-1&&(a.hasMarkers(t)||a.hasText(t))||(m.padded=!1,m.ppad=0):m.tozero=!0,!("tozeroy"===t.fill||"tonexty"===t.fill&&e.firstscatter)||d[0]===d[h-1]&&p[0]===p[h-1]?["tonextx","tozerox"].indexOf(t.fill)!==-1&&(g.padded=!1):g.tozero=!0,o.expand(c,d,m),o.expand(f,p,g);var A=new Array(h);for(u=0;u=0;o--){var a=e[o];if("scatter"===a.type&&a.xaxis===n.xaxis&&a.yaxis===n.yaxis){a.opacity=void 0;break}}}}}},{}],285:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),a=e("../../plots/plots"),i=e("../../components/colorscale"),s=e("../../components/colorbar/draw");t.exports=function(e,t){var n=t[0].trace,l=n.marker,u="cb"+n.uid;if(e._fullLayout._infolayer.selectAll("."+u).remove(),void 0===l||!l.showscale)return void a.autoMargin(e,u);var c=l.color,f=l.cmin,d=l.cmax;r(f)||(f=o.aggNums(Math.min,null,c)),r(d)||(d=o.aggNums(Math.max,null,c));var p=t[0].t.cb=s(e,u),h=i.makeColorScaleFunc(i.extractScale(l.colorscale,f,d),{noNumericCheck:!0});p.fillcolor(h).filllevels({start:f,end:d,size:(d-f)/254}).options(l.colorbar)()}},{"../../components/colorbar/draw":34,"../../components/colorscale":45,"../../lib":123,"../../plots/plots":176,"fast-isnumeric":17}],286:[function(e,t,n){"use strict";var r=e("../../components/colorscale/has_colorscale"),o=e("../../components/colorscale/calc"),a=e("./subtypes");t.exports=function(e){a.hasLines(e)&&r(e,"line")&&o(e,e.line.color,"line","c"),a.hasMarkers(e)&&(r(e,"marker")&&o(e,e.marker.color,"marker","c"),r(e,"marker.line")&&o(e,e.marker.line.color,"marker.line","c"))}},{"../../components/colorscale/calc":37,"../../components/colorscale/has_colorscale":44,"./subtypes":302}],287:[function(e,t,n){"use strict";t.exports={PTS_LINESONLY:20}},{}],288:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("./attributes"),a=e("./constants"),i=e("./subtypes"),s=e("./xy_defaults"),l=e("./marker_defaults"),u=e("./line_defaults"),c=e("./line_shape_defaults"),f=e("./text_defaults"),d=e("./fillcolor_defaults"),p=e("../../components/errorbars/defaults");t.exports=function(e,t,n,h){function m(n,a){return r.coerce(e,t,o,n,a)}var g=s(e,t,h,m),v=gH!=I>=H&&(S=P[T-1][0],D=P[T][0],M=S+(D-S)*(H-O)/(I-O),F=Math.min(F,M),R=Math.max(R,M));F=Math.max(F,0),R=Math.min(R,d._length);var U=l.defaultLine;return l.opacity(f.fillcolor)?U=f.fillcolor:l.opacity((f.line||{}).color)&&(U=f.line.color),r.extendFlat(e,{distance:a.MAXDIST+10,x0:F,x1:R,y0:H,y1:H,color:U}),delete e.index,f.text&&!Array.isArray(f.text)?e.text=String(f.text):e.text=f.name,[e]}}}},{"../../components/color":31,"../../components/errorbars":60,"../../lib":123,"../../plots/cartesian/constants":157,"../../plots/cartesian/graph_interact":159,"./get_trace_color":290}],292:[function(e,t,n){"use strict";var r={},o=e("./subtypes");r.hasLines=o.hasLines,r.hasMarkers=o.hasMarkers,r.hasText=o.hasText,r.isBubble=o.isBubble,r.attributes=e("./attributes"),r.supplyDefaults=e("./defaults"),r.cleanData=e("./clean_data"),r.calc=e("./calc"),r.arraysToCalcdata=e("./arrays_to_calcdata"),r.plot=e("./plot"),r.colorbar=e("./colorbar"),r.style=e("./style"),r.hoverPoints=e("./hover"),r.selectPoints=e("./select"),r.animatable=!0,r.moduleType="trace",r.name="scatter",r.basePlotModule=e("../../plots/cartesian"),r.categories=["cartesian","symbols","markerColorscale","errorBarsOK","showLegend"],r.meta={},t.exports=r},{"../../plots/cartesian":160,"./arrays_to_calcdata":281,"./attributes":282,"./calc":283,"./clean_data":284,"./colorbar":285,"./defaults":288,"./hover":291,"./plot":299,"./select":300,"./style":301,"./subtypes":302}],293:[function(e,t,n){"use strict";var r=e("../../components/colorscale/has_colorscale"),o=e("../../components/colorscale/defaults");t.exports=function(e,t,n,a,i){var s=(e.marker||{}).color;if(i("line.color",n),r(e,"line"))o(e,t,a,i,{prefix:"line.",cLetter:"c"});else{var l=!Array.isArray(s)&&s||n;i("line.color",l)}i("line.width"),i("line.dash")}},{"../../components/colorscale/defaults":40,"../../components/colorscale/has_colorscale":44}],294:[function(e,t,n){"use strict";var r=e("../../constants/numerical").BADNUM;t.exports=function(e,t){function n(t){var n=_.c2p(e[t].x),o=w.c2p(e[t].y);return n!==r&&o!==r&&[n,o]}function o(e){var t=e[0]/_._length,n=e[1]/w._length;return(1+10*Math.max(0,-t,t-1,-n,n-1))*T}function a(e,t){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)}var i,s,l,u,c,f,d,p,h,m,g,v,y,b,A,x,_=t.xaxis,w=t.yaxis,C=t.simplify,E=t.connectGaps,T=t.baseTolerance,k=t.linear,P=[],M=.2,S=new Array(e.length),D=0;for(C||(T=M=-1),i=0;io(f))break;l=f,y=m[0]*h[0]+m[1]*h[1],y>g?(g=y,u=f,p=!1):y=e.length||!f)break;S[D++]=f,s=f}}else S[D++]=u}P.push(S.slice(0,D))}return P}},{"../../constants/numerical":111}],295:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=n("line.shape");"spline"===r&&n("line.smoothing")}},{}],296:[function(e,t,n){"use strict";t.exports=function(e,t,n){for(var r,o,a=null,i=0;i0?Math.max(t,o):0}}},{"fast-isnumeric":17}],298:[function(e,t,n){"use strict";var r=e("../../components/color"),o=e("../../components/colorscale/has_colorscale"),a=e("../../components/colorscale/defaults"),i=e("./subtypes");t.exports=function(e,t,n,s,l){var u,c=i.isBubble(e),f=(e.line||{}).color;f&&(n=f),l("marker.symbol"),l("marker.opacity",c?.7:1),l("marker.size"),l("marker.color",n),o(e,"marker")&&a(e,t,s,l,{prefix:"marker.",cLetter:"c"}),u=f&&!Array.isArray(f)&&t.marker.color!==f?f:c?r.background:r.defaultLine,l("marker.line.color",u),o(e,"marker.line")&&a(e,t,s,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width",c?1:0),c&&(l("marker.sizeref"),l("marker.sizemin"),l("marker.sizemode"))}},{"../../components/color":31,"../../components/colorscale/defaults":40,"../../components/colorscale/has_colorscale":44,"./subtypes":302}],299:[function(e,t,n){"use strict";function r(e,t){var n;t.selectAll("g.trace").each(function(e){var t=i.select(this);if(n=e[0].trace,n._nexttrace){if(n._nextFill=t.select(".js-fill.js-tonext"),!n._nextFill.size()){var r=":first-child";t.select(".js-fill.js-tozero").size()&&(r+=" + *"),n._nextFill=t.insert("path",r).attr("class","js-fill js-tonext")}}else t.selectAll(".js-fill.js-tonext").remove(),n._nextFill=null;n.fill&&("tozero"===n.fill.substr(0,6)||"toself"===n.fill||"to"===n.fill.substr(0,2)&&!n._prevtrace)?(n._ownFill=t.select(".js-fill.js-tozero"),n._ownFill.size()||(n._ownFill=t.insert("path",":first-child").attr("class","js-fill js-tozero"))):(t.selectAll(".js-fill.js-tozero").remove(),n._ownFill=null)})}function o(e,t,n,r,o,d,h){function m(e){return w?e.transition():e}function g(e){return e.filter(function(e){return e.vis})}function v(e){return e.id}function y(e){if(e.ids)return v}function b(){return!1}function A(e){var t,n,r=e[0].trace,o=i.select(this),a=c.hasMarkers(r),u=c.hasText(r),f=y(r),d=b,p=b;a&&(d=r.marker.maxdisplayed?g:s.identity),u&&(p=r.marker.maxdisplayed?g:s.identity),n=o.selectAll("path.point"),t=n.data(d,f);var h=t.enter().append("path").classed("point",!0);h.call(l.pointStyle,r).call(l.translatePoints,C,E,r),w&&h.style("opacity",0).transition().style("opacity",1),t.each(function(e){var t=m(i.select(this));l.translatePoint(e,t,C,E),l.singlePointStyle(e,t,r)}),w?t.exit().transition().style("opacity",0).remove():t.exit().remove(),n=o.selectAll("g"),t=n.data(p,f),t.enter().append("g").append("text"),t.each(function(e){var t=m(i.select(this).select("text"));l.translatePoint(e,t,C,E)}),t.selectAll("text").call(l.textPointStyle,r).each(function(e){var t=e.xp||C.c2p(e.x),n=e.yp||E.c2p(e.y);i.select(this).selectAll("tspan").each(function(){m(i.select(this)).attr({x:t,y:n})})}),t.exit().remove()}var x,_;a(e,t,n,r,o);var w=!!h&&h.duration>0,C=n.xaxis,E=n.yaxis,T=r[0].trace,k=T.line,P=i.select(d);if(P.call(u.plot,n,h),T.visible===!0){m(P).style("opacity",T.opacity);var M,S,D=T.fill.charAt(T.fill.length-1);"x"!==D&&"y"!==D&&(D=""),r[0].node3=P;var O="",I=[],L=T._prevtrace;L&&(O=L._prevRevpath||"",S=L._nextFill,I=L._polygons);var N,B,F,R,j,z,H,U,W,q="",V="",G=[],Y=[],K=s.noop;if(M=T._ownFill,c.hasLines(T)||"none"!==T.fill){for(S&&S.datum(r),["hv","vh","hvh","vhv"].indexOf(k.shape)!==-1?(F=l.steps(k.shape),R=l.steps(k.shape.split("").reverse().join(""))):F=R="spline"===k.shape?function(e){var t=e[e.length-1];return e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),k.smoothing):l.smoothopen(e,k.smoothing)}:function(e){return"M"+e.join("L")},j=function(e){return R(e.reverse())},G=f(r,{xaxis:C,yaxis:E,connectGaps:T.connectgaps,baseTolerance:Math.max(k.width||1,3)/4,linear:"linear"===k.shape,simplify:k.simplify}),W=T._polygons=new Array(G.length),_=0;_1}),K=function(e){return function(t){if(N=F(t),B=j(t),q?D?(q+="L"+N.substr(1),V=B+("L"+V.substr(1))):(q+="Z"+N,V=B+"Z"+V):(q=N,V=B),c.hasLines(T)&&t.length>1){var n=i.select(this);if(n.datum(r),e)m(n.style("opacity",0).attr("d",N).call(l.lineGroupStyle)).style("opacity",1);else{var o=m(n);o.attr("d",N),l.singleLineStyle(r,o)}}}}}var Q=P.selectAll(".js-line").data(Y);m(Q.exit()).style("opacity",0).remove(),Q.each(K(!1)),Q.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(K(!0)),G.length&&(M?z&&U&&(D?("y"===D?z[1]=U[1]=E.c2p(0,!0):"x"===D&&(z[0]=U[0]=C.c2p(0,!0)),m(M).attr("d","M"+U+"L"+z+"L"+q.substr(1))):m(M).attr("d",q+"Z")):"tonext"===T.fill.substr(0,6)&&q&&O&&("tonext"===T.fill?m(S).attr("d",q+"Z"+O+"Z"):m(S).attr("d",q+"L"+O.substr(1)+"Z"),T._polygons=T._polygons.concat(I)),T._prevRevpath=V,T._prevPolygons=W);var X=P.selectAll(".points");x=X.data([r]),X.each(A),x.enter().append("g").classed("points",!0).each(A),x.exit().remove()}}function a(e,t,n,r,o){var a=n.xaxis,l=n.yaxis,u=i.extent(s.simpleMap(a.range,a.r2c)),f=i.extent(s.simpleMap(l.range,l.r2c)),d=r[0].trace;if(c.hasMarkers(d)){var p=d.marker.maxdisplayed;if(0!==p){var h=r.filter(function(e){return e.x>=u[0]&&e.x<=u[1]&&e.y>=f[0]&&e.y<=f[1]}),m=Math.ceil(h.length/p),g=0;o.forEach(function(e,n){var r=e[0].trace;c.hasMarkers(r)&&r.marker.maxdisplayed>0&&n0;for(c=h.selectAll("g.trace"),f=c.data(n,function(e){return e[0].trace.uid}),f.enter().append("g").attr("class",function(e){return"trace scatter trace"+e[0].trace.uid}).style("stroke-miterlimit",2),d(e,t,n),r(e,h),l=0,u=[];lr?1:-1}),g){s&&(p=s());var v=i.transition().duration(a.duration).ease(a.easing).each("end",function(){p&&p()}).each("interrupt",function(){p&&p()});v.each(function(){h.selectAll("g.trace").each(function(r,i){o(e,i,t,r,n,this,a)})})}else h.selectAll("g.trace").each(function(r,i){o(e,i,t,r,n,this,a)});m&&f.exit().remove(),h.selectAll("path:not([d])").remove()}},{"../../components/drawing":54,"../../components/errorbars":60,"../../lib":123,"../../lib/polygon":132,"./line_points":294,"./link_traces":296,"./subtypes":302,d3:14}],300:[function(e,t,n){"use strict";var r=e("./subtypes"),o=.2;t.exports=function(e,t){var n,a,i,s,l=e.cd,u=e.xaxis,c=e.yaxis,f=[],d=l[0].trace,p=d.index,h=d.marker,m=!r.hasMarkers(d)&&!r.hasText(d);if(d.visible===!0&&!m){var g=Array.isArray(h.opacity)?1:h.opacity;if(t===!1)for(n=0;nC&&k.splice(C,k.length-C)}return i(t),s(E,t),E}},{"../../plots/cartesian/axes":152,"../scatter/arrays_to_calcdata":281,"../scatter/colorscale_calc":286,"../scatter/subtypes":302,"fast-isnumeric":17}],307:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../scatter/constants"),a=e("../scatter/subtypes"),i=e("../scatter/marker_defaults"),s=e("../scatter/line_defaults"),l=e("../scatter/line_shape_defaults"),u=e("../scatter/text_defaults"),c=e("../scatter/fillcolor_defaults"),f=e("./attributes");t.exports=function(e,t,n,d){function p(n,o){return r.coerce(e,t,f,n,o)}var h,m=p("a"),g=p("b"),v=p("c");if(m?(h=m.length,g?(h=Math.min(h,g.length),v&&(h=Math.min(h,v.length))):h=v?Math.min(h,v.length):0):g&&v&&(h=Math.min(g.length,v.length)),!h)return void(t.visible=!1);m&&h"),s}}},{"../../plots/cartesian/axes":152,"../scatter/hover":291}],309:[function(e,t,n){"use strict";var r={};r.attributes=e("./attributes"),r.supplyDefaults=e("./defaults"),r.colorbar=e("../scatter/colorbar"), -r.calc=e("./calc"),r.plot=e("./plot"),r.style=e("./style"),r.hoverPoints=e("./hover"),r.selectPoints=e("./select"),r.moduleType="trace",r.name="scatterternary",r.basePlotModule=e("../../plots/ternary"),r.categories=["ternary","symbols","markerColorscale","showLegend"],r.meta={},t.exports=r},{"../../plots/ternary":184,"../scatter/colorbar":285,"./attributes":305,"./calc":306,"./defaults":307,"./hover":308,"./plot":310,"./select":311,"./style":312}],310:[function(e,t,n){"use strict";var r=e("../scatter/plot");t.exports=function(e,t){var n=e.plotContainer;n.select(".scatterlayer").selectAll("*").remove();for(var o={xaxis:e.xaxis,yaxis:e.yaxis,plot:n},a=0;ah?a.default.createElement("div",{style:{fontSize:"16px",lineHeight:"24px",width:"256px",height:"72px",display:"inline-block",position:"relative",fontFamily:"Roboto, sans-serif",transition:"height 200ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",backgroundColor:"transparent"}},a.default.createElement("label",{style:{position:"absolute",lineHeight:"22px",top:"38px",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",zIndex:"1",cursor:"text",transform:"perspective(1px) scale(0.75) translate3d(0px, -28px, 0px)",transformOrigin:"left top 0px",pointerEvents:"none",color:"rgba(0, 0, 0, 0.498039)"}},r),a.default.createElement("div",{style:{display:"block",fontSize:"inherit",height:"100%",fontFamily:"inherit",outline:"none",position:"relative",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",padding:"0px",width:"100%",border:"none",color:"rgba(0, 0, 0, 0.870588)",fontStyle:"inherit",fontVariant:"inherit",fontWeight:"inherit",fontStretch:"inherit",lineHeight:"inherit",boxSizing:"border-box",marginTop:"14px",backgroundColor:"rgba(0, 0, 0, 0)"}},a.default.createElement("div",{style:{cursor:"pointer",height:"100%",position:"relative",width:"100%"}},a.default.createElement("div",{style:{boxSizing:"border-box",display:"table"}}," "),a.default.createElement("select",{style:{width:"100%",appearance:"none",cursor:"pointer",border:"none",background:"none",display:"block",color:"rgba(0, 0, 0, 0.870588)",lineHeight:"56px",opacity:"1",position:"relative",paddingLeft:"0px",paddingRight:"48px",top:"6px"},value:t,onChange:function(e){return o(e.target.value)}},a.default.createElement("option",{className:"dropdown-option",value:""}),i.map(function(e){var t=e.value,n=e.label;return a.default.createElement("option",{className:"dropdown-option",key:t,value:t,label:n||t})})),a.default.createElement("svg",{viewBox:"0 0 24 24",style:{display:"inline-block",fill:"rgb(224, 224, 224)",height:"24px",width:"24px",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",position:"absolute",right:"0px",top:"22px"}},a.default.createElement("path",{d:"M7 10l5 5 5-5z"})),a.default.createElement("div",{style:{borderTopStyle:"none",bottom:"1px",left:"0px",margin:"-1px 24px",right:"0px",position:"absolute"}}),a.default.createElement("div",{style:{boxSizing:"borderBox",clear:"both",display:"table"}}," "))),a.default.createElement("div",null,a.default.createElement("hr",{style:{borderBottomWidth:"1px",borderStyle:"none none solid",borderColor:"rgb(224, 224, 224)",bottom:"8px",boxSizing:"content-box",margin:"0px",position:"absolute",width:"100%"}}),a.default.createElement("hr",{style:{borderBottomWidth:"2px",borderStyle:"none none solid",borderColor:"rgb(33, 150, 243)",bottom:"8px",boxSizing:"content-box",margin:"0px",position:"absolute",width:"100%",transform:"scaleX(0)",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms"}}))):a.default.createElement(f.default,{value:t,autoWidth:n,floatingLabelText:r,onChange:function(e,t,n){return o(n)}},i.map(function(e){var t=e.value,n=e.label,r=e.leftIcon,o=e.rightIcon,i=e.disabled;return a.default.createElement(p.default,{key:t,value:t,primaryText:a.default.createElement("div",{className:"dropdown-option"},n||t),leftIcon:r,rightIcon:o,disabled:i})}))}});t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(1415),u=r(l),c=n(1433),f=r(c),d="__NULL__",p=a.default.createClass({displayName:"RandomSubsetSizeSelector",mixins:[s.default],propTypes:{label:a.default.PropTypes.string,value:a.default.PropTypes.oneOfType([a.default.PropTypes.number,a.default.PropTypes.string]),onChange:a.default.PropTypes.func},getDefaultProps:function(){return{label:"Random subset size",value:d}},handleChangeValue:function(e){e===d?this.props.onChange(null):this.props.onChange(e)},render:function(){var e=this,t=this.props,n=t.label,r=t.value,o=[a.default.createElement(f.default,{key:d,primaryText:"No subsampling",value:d}),a.default.createElement(f.default,{key:20,primaryText:"20",value:20}),a.default.createElement(f.default,{key:50,primaryText:"50",value:50}),a.default.createElement(f.default,{key:100,primaryText:"100",value:100}),a.default.createElement(f.default,{key:200,primaryText:"200",value:200}),a.default.createElement(f.default,{key:500,primaryText:"500",value:500}),a.default.createElement(f.default,{key:1e3,primaryText:"1K",value:1e3}),a.default.createElement(f.default,{key:2e3,primaryText:"2K",value:2e3}),a.default.createElement(f.default,{key:5e3,primaryText:"5K",value:5e3}),a.default.createElement(f.default,{key:1e4,primaryText:"10K",value:1e4}),a.default.createElement(f.default,{key:2e4,primaryText:"20K",value:2e4}),a.default.createElement(f.default,{key:5e4,primaryText:"50K",value:5e4}),a.default.createElement(f.default,{key:1e5,primaryText:"100K",value:1e5}),a.default.createElement(f.default,{key:2e5,primaryText:"200K",value:2e5}),a.default.createElement(f.default,{key:5e5,primaryText:"500K",value:5e5})];return a.default.createElement(u.default,{value:r===d?void 0:r,autoWidth:!0,floatingLabelText:n,onChange:function(t,n,r){return e.handleChangeValue(r)}},o)}});t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t3*((r-n)/u.length)}),u=(0,I.default)((0,k.default)(u,function(e){return e[1]}),l);for(var d=(0,x.default)(u,function(e){return e[1]})/2,p=Math.floor(d/((r-n-d)/s.length)),h=(r-n)/(s.length+p),m=new Uint32Array(s.length+1),g=0;g0||C===m.length-2)&&(y.push([A+a,C+1+a,_]),_=_+(C-A+1)+m[C+1],A=C+1);return{colWidth:h,layoutBlocks:y}},getDefinedQuery:function(e,t){return e||(t||this.props.table?this.config.tablesById[t||this.props.table].defaultQuery:null)||Y.default.nullQuery},fetchData:function(e,t){var n=this,r=e.chromosome,o=e.start,a=e.end,i=e.width,s=e.sideWidth,l=e.table,u=e.columnQuery,c=e.rowQuery,f=e.rowLabel,d=e.cellColour,p=e.cellAlpha,h=e.cellHeight,m=e.page,g=e.pageSize,v=e.rowSort,y=e.rowRandomSubsetSize,b=this.config.twoDTablesById[l];u=this.getDefinedQuery(u,b.columnDataTable),c=this.getDefinedQuery(c,b.rowDataTable);var A=["chromosome","cellColour","cellAlpha","cellHeight","rowQuery","columnQuery","rowLabel","rowSort","layoutGaps","page","pageSize","rowRandomSubsetSize"];if(A.some(function(t){return n.props[t]!==e[t]})&&this.applyData(e,null),!(i-s<1)){if(f&&!this.config.tablesById[b.rowDataTable].propertiesById[f])return void(0,X.default)(this.getFlux(),"Genotypes "+l+" channel: "+f+" is not a valid property of "+b.rowDataTable);if(v&&!this.config.tablesById[b.rowDataTable].propertiesById[v]&&"NULL"!=v)return void(0,X.default)(this.getFlux(),"Genotypes "+l+" channel: "+v+" is not a valid property of "+b.rowDataTable);if("call"!==d&&"fraction"!==d)return void(0,X.default)(this.getFlux(),"Genotypes "+l+" channel: cellColour must be call or fraction");if(p&&!b.propertiesById[p])return void(0,X.default)(this.getFlux(),"Genotypes "+l+" channel: "+p+" is not a valid property of "+b.id);if(h&&!b.propertiesById[h])return void(0,X.default)(this.getFlux(),"Genotypes "+l+" channel: "+h+" is not a valid property of "+b.id);var x=(0,K.findBlock)({start:o,end:a}),_=x.blockLevel,w=x.blockIndex,C=x.needNext;(A.some(function(t){return n.props[t]!==e[t]})||this.blockLevel!==_||this.blockIndex!==w||this.needNext!==C)&&!function(){n.blockLevel=_,n.blockIndex=w,n.needNext=C,n.props.onChangeLoadStatus("LOADING");var e=n.config.tablesById[b.columnDataTable],i=n.config.tablesById[b.rowDataTable],s=[i.primKey],A=[e.primKey,e.position];f&&s.push(f),s=(0,N.default)(s);var x="call"===d?[b.showInGenomeBrowser.call]:[b.showInGenomeBrowser.alleleDepth];p&&x.push(p),h&&x.push(h),u=Y.default.WhereClause.decode(u),u=Y.default.WhereClause.AND([Y.default.WhereClause.CompareFixed(e.chromosome,"=",r),u]);var E={dataset:n.config.dataset,table:l,colQry:Y.default.WhereClause.encode(u),colOrder:e.position,rowQry:c,rowOrder:v,rowOffset:m*g,rowLimit:(m+1)*g,colProperties:A.join("~"),rowProperties:s.join("~"),"2DProperties":x.join("~"),colOnlyOnLimit:!0};void 0!==y&&(E.rowRandomSample=y);var T={method:"twoDPageQuery",regionField:e.position,queryField:"colQry",limitField:"colFailLimit",start:o,end:a,blockLimit:1e3,isBlockTooBig:function(e){return e._over_col_limit},postProcessBlock:n.calculatedDerivedProperties};t.request(function(e){return(0,K.regionCacheGet)(E,T,e).then(function(e){n.props.onChangeLoadStatus("DONE"),n.applyData(n.props,e)})}).catch(function(e){throw n.props.onChangeLoadStatus("DONE"),e}).catch(ee.default.filterAborted).catch(ne.default.filterCancelled).catch(function(e){throw n.applyData(n.props,null),(0,X.default)(n.getFlux(),e.message,function(){return n.fetchData(n.props,t)}),e})}()}},calculatedDerivedProperties:function(e){var t=this.config.twoDTablesById[this.props.table].showInGenomeBrowser;if(t.call&&e["2D_"+t.call]){for(var n=e["2D_"+t.call],r=n.array,o=n.shape[2]||1,a=new Int8Array(r.length/o),i=0,s=n.shape[0];i0?1:d,d==-1){c=-1;break}if(0==d&&1==c){c=2;break}if(1==d&&0==c){c=2;break}c=d}a[i*u+l]=c}a={array:a,shape:[n.shape[0],n.shape[1]]},e["2D__call"]=a}if(t.alleleDepth&&e["2D_"+t.alleleDepth]){for(var p=e["2D_"+t.alleleDepth],h=p.array,m=p.shape[2]||1,g=new Uint8ClampedArray(h.length/m),v=0,y=p.shape[0];v0?1+255*C:0}g={array:g,shape:[p.shape[0],p.shape[1]]},e["2D__fraction"]=g}return e},componentWillReceiveProps:function(e){var t=this,n=["start","end","layoutMode"];n.some(function(n){return t.props[n]!==e[n]})&&this.state.genomicPositions&&this.setState(this.layoutColumns(e,this.state.genomicPositions))},applyData:function(e,t){if(!t)return void this.setState({rowData:{id:{array:[],shape:[0]},label:{array:[],shape:[0]}},dataBlocks:[],layoutBlocks:[],genomicPositions:new Int32Array(0)});var n=e.table,r=e.rowLabel,a=this.config.twoDTablesById[n],i=this.config.tablesById[a.columnDataTable],s=this.config.tablesById[a.rowDataTable],l=(0,K.combineBlocks)(t,"col_"+i.position);t.length>0&&0===t[0]["row_"+s.primKey].shape[0]&&(t=[]),this.setState(o({rowData:t.length>0?{id:t[0]["row_"+s.primKey],label:t[0]["row_"+r]||t[0]["row_"+s.primKey]}:null,dataBlocks:t,genomicPositions:l},this.layoutColumns(e,l)))},getDataBlocks:function(){return this.state.dataBlocks},handleScroll:function(e){this.setState({visibleTop:-(this.container.getBoundingClientRect().top-e.getBoundingClientRect().top)})},render:function(){var e=this,t=this.props,n=t.columnQuery,r=t.rowQuery,a=t.width,s=t.sideWidth,l=t.table,c=t.start,f=t.end,d=t.rowHeight,p=t.rowLabel,h=t.cellColour,m=t.cellAlpha,g=t.cellHeight,v=this.state,y=v.rowData,b=v.dataBlocks,A=v.layoutBlocks,x=v.genomicPositions,_=v.colWidth,w=v.visibleTop,C=this.config.twoDTablesById[l],E=this.config.tablesById[C.rowDataTable];n=this.getDefinedQuery(n,C.columnDataTable),r=this.getDefinedQuery(r,C.rowDataTable);var T=y?y.id.shape[0]:0,k={colWidth:(0,F.default)(_)?_:0},P={colWidth:(0,u.spring)(k.colWidth)};return i.default.createElement(de.default,{width:a,sideWidth:s,height:d*T+xe,sideComponent:i.default.createElement(ce.default,{table:l,width:s,height:d*T,rowData:y,rowHeight:d,rowLabel:p||E.primKey}),configComponent:i.default.createElement(we,o({},this.props,{columnQuery:n,rowQuery:r,getDataBlocks:this.getDataBlocks,setProps:this.redirectedProps.setProps})),legendComponent:i.default.createElement(Ce,null),onClose:this.redirectedProps.onClose},i.default.createElement(u.Motion,{style:P,defaultStyle:k},function(t){var n=t.colWidth;return i.default.createElement("div",{ref:function(t){return e.container=t},className:"genotypes-channel"},i.default.createElement("div",{style:{height:xe+"px"}}),i.default.createElement(le.default,{table:l,rowData:y,dataBlocks:b,layoutBlocks:A,width:a-s,height:d*T,start:c,end:f,colWidth:n,cellColour:h,cellAlpha:m,cellHeight:g,rowHeight:d}),i.default.createElement(ie.default,{top:Math.min(d*T,Math.max(0,w)),genomicPositions:x,layoutBlocks:A,dataBlocks:b,width:a-s,height:xe,start:c,end:f,colWidth:n}))}))}}),we=i.default.createClass({displayName:"GenotypesControls",mixins:[(0,p.default)({check:["rowLabel","rowHeight","columnQuery","rowQuery","cellColour","cellAlpha","cellHeight","layoutGaps","rowSort","pageSize","page","rowRandomSubsetSize"],redirect:["setProps"]}),m.default,f.default],propTypes:{table:i.default.PropTypes.string.isRequired,columnQuery:i.default.PropTypes.string,rowQuery:i.default.PropTypes.string,rowLabel:i.default.PropTypes.string,rowSort:i.default.PropTypes.string,rowHeight:i.default.PropTypes.number,cellColour:i.default.PropTypes.string,cellAlpha:i.default.PropTypes.string,cellHeight:i.default.PropTypes.string,pageSize:i.default.PropTypes.number,page:i.default.PropTypes.number,layoutGaps:i.default.PropTypes.bool,getDataBlocks:i.default.PropTypes.func,rowRandomSubsetSize:i.default.PropTypes.number},handleDownload:function(){var e=this.props,t=e.table,n=e.chromosome,r=e.columnQuery,o=e.rowQuery,a=e.start,i=e.end,s=e.cellColour,u=e.getDataBlocks,c=this.config.twoDTablesById[t],f=this.config.tablesById[c.columnDataTable],d=this.config.tablesById[c.rowDataTable],p=(0,ye.default)({query:r,properties:f.properties}),h=(0,ye.default)({query:o,properties:d.properties}),m="";m+="#Dataset: "+this.config.dataset+"\r\n",m+="#Table: "+c.namePlural+("call"==s?" Calls":" Allele Depths")+"\r\n",m+="#"+f.capNamePlural+" filter: "+p+"\r\n",m+="#"+d.capNamePlural+" filter: "+h+"\r\n",m+="#Choromosome: "+n+"\r\n",m+="#Start: "+Math.floor(a)+"\r\n",m+="#End: "+Math.ceil(i)+"\r\n",m+="#URL: "+window.location.href+"\r\n",m+="Position\t";var g=u();if(0==g.length)return void(0,X.default)(this.getFlux(),"No genotype data to download");if((0,D.default)(g,function(e){return e._tooBig}))return void(0,X.default)(this.getFlux(),"Too much genotype data to download - zoom in");for(var v=g[0]["row_"+d.primKey].array,y=0;y=a&&E[y]<=i){m+=E[y]+"\t";for(var T=0;T1&&i(e,t[0],t[1])?t=[]:n>2&&i(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:a(t),t=r-t,o(e,t<0?0:t,r)):[]}var o=n(973),a=n(608);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=Object.assign||function(e){for(var t=1;t2||!b||M-b[0]>2||P-b[1]>2)&&(c.beginPath(),c.moveTo(M,0),c.bezierCurveTo(M,y,P,y,P,m),0===h&&c.lineTo(P,l),c.stroke(),b=[M,P])}if(h>0){c.font="12px Roboto",c.fillStyle="rgb(0,0,0)",c.strokeStyle="rgba(0,0,0,0.2)",c.lineWidth=1;var S=p;p>120?S=120:p>40&&(S=p-2);for(var D=0,O=r.length;Ds?s/2:t+n/2;(0,g.hatchRect)(c,t,j,n,24,8),n>100&&(c.save(),c.fillStyle="black",c.strokeStyle="white",c.lineWidth=6,c.lineJoin="miter",c.miterLimit=2,c.strokeText("Zoom in",r,j+12),c.fillText("Zoom in",r,j+12),c.restore())})}},render:function(){var e=this.props,t=e.width,n=e.height,r=e.top;return s.default.createElement("canvas",{ref:"canvas",className:"genotypes-header",style:{top:r+"px"},width:t,height:n})}});t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,o,i){return r=r||a.default.Easing.Quadratic.InOut,void 0==o&&(o=0),void 0==i&&(i=1),e<=t&&t<=n||e>=t&&t>=n?o:e>=n&&t<=n||e<=n&&t>=n?i:o+r((e-t)/(n-t))*(i-o)};var o=n(1465),a=r(o)},function(e,t,n){var r,o;(function(n){var a=a||function(){var e=[];return{getAll:function(){return e},removeAll:function(){e=[]},add:function(t){e.push(t)},remove:function(t){var n=e.indexOf(t);n!==-1&&e.splice(n,1)},update:function(t,n){if(0===e.length)return!1;var r=0;for(t=void 0!==t?t:a.now();r1?1:u,A=p(u);for(a in r)if(void 0!==n[a]){var x=n[a]||0,_=r[a];_ instanceof Array?t[a]=h(_,A):("string"==typeof _&&(_="+"===_.charAt(0)||"-"===_.charAt(0)?x+parseFloat(_,10):parseFloat(_,10)),"number"==typeof _&&(t[a]=x+(_-x)*A))}if(null!==y&&y.call(t,A),1===u){if(s>0){isFinite(s)&&s--;for(a in o){if("string"==typeof r[a]&&(o[a]=o[a]+parseFloat(r[a],10)),l){var w=o[a];o[a]=r[a],r[a]=w}n[a]=o[a]}return l&&(c=!c),d=e+f,!0}null!==b&&b.call(t);for(var C=0,E=m.length;C1?i(e[n],e[n-1],n-r):i(e[o],e[o+1>n?n:o+1],r-o)},Bezier:function(e,t){for(var n=0,r=e.length-1,o=Math.pow,i=a.Interpolation.Utils.Bernstein,s=0;s<=r;s++)n+=o(1-t,r-s)*o(t,s)*e[s]*i(r,s);return n},CatmullRom:function(e,t){var n=e.length-1,r=n*t,o=Math.floor(r),i=a.Interpolation.Utils.CatmullRom;return e[0]===e[n]?(t<0&&(o=Math.floor(r=n*(1+t))),i(e[(o-1+n)%n],e[o],e[(o+1)%n],e[(o+2)%n],r-o)):t<0?e[0]-(i(e[0],e[0],e[1],e[1],-r)-e[0]):t>1?e[n]-(i(e[n],e[n],e[n-1],e[n-1],r-n)-e[n]):i(e[o?o-1:0],e[o],e[n1;r--)n*=r;return e[t]=n,n}}(),CatmullRom:function(e,t,n,r,o){var a=.5*(n-e),i=.5*(r-t),s=o*o,l=o*s;return(2*t-2*n+a+i)*l+(-3*t+3*n-2*a-i)*s+a*o+t}}},function(n){r=[],o=function(){return a}.apply(t,r),!(void 0!==o&&(e.exports=o))}(this)}).call(t,n(294))},function(e,t,n){function r(e,t,n){var r=u(e),h=r||c(e)||p(e);if(t=s(t,4),null==n){var m=e&&e.constructor;n=h?r?new m:[]:d(e)&&f(m)?a(l(e)):{}}return(h?o:i)(e,function(e,r,o){return t(n,e,r,o)}),n}var o=n(734),a=n(821),i=n(634),s=n(638),l=n(806),u=n(607),c=n(618),f=n(604),d=n(300),p=n(622);e.exports=r},function(e,t){"use strict";function n(e,t,n,r,o,a){e.rect(t,n,r,o),e.save(),e.clip();var i=Math.max(r,o);e.beginPath();for(var s=-1*i;s0?y[E]+i+")":y[0]}u.fillRect(e,t*s+(1-f)*s*.5,1,f*s)}},a=function(){this.paint(this.refs.gridCanvas,this.refs.overlayCanvas)},i=document.createElement("canvas"),l=d[1];i.width=l,i.height=d[0]*s;var u=i.getContext("2d");(0,f.default)([0,l],n,a,100,50,t),e.len=l||0,e.cache=i,e.cacheKey=_}()},paint:function(e,t){var n=this.props,r=n.dataBlocks,o=n.layoutBlocks,i=n.width,s=n.start,l=n.end,u=n.colWidth,c=u*(i/(l-s)),f=e.getContext("2d"),d=t.getContext("2d"),p=c<2;if(f.mozImageSmoothingEnabled=p,f.webkitImageSmoothingEnabled=p,f.msImageSmoothingEnabled=p,f.oImageSmoothingEnabled=p,f.imageSmoothingEnabled=p,f.fillStyle="white",f.fillRect(0,0,e.width,e.height),d.clearRect(0,0,t.width,t.height),o&&r){r.forEach(this.drawOffscreenIfNeeded);for(var h=0,m=0,g=0;gb)throw Error("Datablocks not in order? Data is ahead of layout");var _=y-h,w=Math.min(b-h,x.len),C=w-_,E=x.cache;if(f.drawImage(E,_,0,C,E.height,A*c,0,C*c,E.height),this.drawColumnGaps(f,C,A,E.height),this.drawOverlay(d,x,_,C,A),!(b-h>x.len))break;y+=C,A+=C}}}},drawColumnGaps:function(e,t,n,r){var o=this.props,a=o.width,i=o.start,s=o.end,l=o.colWidth,u=l*(a/(s-i)),c=u;u>120?c=120:u>40&&(c=u-2);var f=u-c;if(f>0)for(var d=0;dx+15&&l>=6){e.fillStyle="rgba(255,255,255,0.6)";for(var _=0;_ - * - * Copyright (c) 2014-2015, Jon Schlinkert. - * Licensed under the MIT License. - */ -"use strict";function n(e,t){if("string"!=typeof e)throw new TypeError("expected a string");if(1===t)return e;if(2===t)return e+e;var n=e.length*t;if(r!==e||"undefined"==typeof r)r=e,o="";else if(o.length>=n)return o.substr(0,n);for(;n>o.length&&t>1;)1&t&&(o+=e),t>>=1,e+=e;return o+=e,o=o.substr(0,n)}var r,o="";e.exports=n},function(e,t){"use strict";function n(e,t,n,o,a,i){function s(){return(new Date).getTime()}function l(){for(var e=s(),r=d;d10,h=Math.min(14,n-1);if(u.font=""+h+"px Roboto",u.fillStyle="rgb(0,0,0)",u.strokeStyle="rgba(0,0,0,0.2)",u.lineWidth=1,d){u.beginPath();for(var m=0;m<=c.length;m++){var g=m*n;u.moveTo(0,g+.5),u.lineTo(r,g+.5)}u.stroke()}for(var v=!1,y=function(e,t,o){if(!(oa+3){if(u.beginPath(),v||(u.moveTo(0,a+.5),u.lineTo(r,a+.5)),u.moveTo(0,i+.5),u.lineTo(r,i+.5),u.stroke(),v=!0,i>a+5){var s=Math.min(12,i-a-1);u.font=""+s+"px Roboto";var l=(i+a)/2-1+s/2;u.fillText(e,2,l)}}else v=!1}},b=null,A=0,x=0;x<=f.length;x++){var _=(x+1)*n,w=(0,p.default)(l.propertiesById[a],f[x]);d?(u.beginPath(),u.rect(1.5,_-n+2.5,10,n-4),u.fill(),u.stroke(),u.fillStyle="rgb(0,0,0)",u.fillText(w,13,_-1-(n-h)/2)):w!=b&&(y(b,A,x-1),b=w,A=x)}null!=b&&y(b,A,c.length-1)}},render:function(){var e=this.props,t=e.height,n=e.width,r=e.table,o=e.rowLabel,i=this.config.twoDTablesById[r],s=this.config.tablesById[i.rowDataTable];return a.default.createElement("div",{className:"genotypes-side"},a.default.createElement("div",{className:"side-name"},i.namePlural),a.default.createElement("div",{className:"row-label"},s.propertiesById[o].name),a.default.createElement("canvas",{ref:"canvas",width:n,height:t}))}});t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1015),a=r(o),i=n(299),s=r(i),l=n(321),u=r(l),c=n(722),f=r(c),d=n(1178),p=r(d),h=u.default.createClass({displayName:"NumericInput",mixins:[f.default],propTypes:{label:u.default.PropTypes.string,value:u.default.PropTypes.number,debounce:u.default.PropTypes.bool,onChange:u.default.PropTypes.func.isRequired},getDefaultProps:function(){return{width:6,debounce:!1}},getInitialState:function(){return{value:this.props.value.toString(),error:void 0}},componentWillMount:function(){this.debouncedNotify=(0,s.default)(this.notify,500)},componentWillReceiveProps:function(e){var t=this.textField.state.isFocused;t||this.setState({value:e.value.toString()})},notify:function(e){this.props.onChange(e)},handleChange:function(e){var t=e.target.value,n=parseFloat(t),r=void 0;(0,a.default)(n)?(this.props.debounce?this.debouncedNotify:this.notify)(n):r="Not a number",this.setState({value:t,error:r})},handleBlur:function(){this.setState({value:this.props.value.toString()})},render:function(){var e=this,t=this.props,n=t.label,r=t.width,o=this.state,a=o.error,i=o.value;return u.default.createElement(p.default,{type:"number",style:{width:30*r+"px"},ref:function(t){return e.textField=t},floatingLabelText:n,errorText:a,value:i,onBlur:this.handleBlur,onChange:this.handleChange})}});t.default=h},function(e,t,n){var r=n(1474);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,".genotypes-channel{position:relative}.genotypes-header{position:absolute}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=Object.assign||function(e){for(var t=1;tn-r?(n-r)/2:t+a/2;(0,H.hatchRect)(m,t,g,a,24,8),a>100&&(m.save(),m.fillStyle="black",m.strokeStyle="white",m.lineWidth=6,m.lineJoin="miter",m.miterLimit=2,m.strokeText("Zoom in",i,g+12),m.fillText("Zoom in",i,g+12),m.restore())}),m.restore(),g=$/2-6;var y=l.length,b=y-6&&_-6&&Cn+12)return null;for(var r=this.props,o=r.width,a=r.sideWidth,i=r.start,s=r.end,l=this.positions,u=(o-a)/(s-i),c=l.length,f=cg-7&&Math.abs(e-g)Math.floor(g))return this.primKeys[h]}return p},convertXY:function(e){var t=this.refs.canvas.getBoundingClientRect();return[e.clientX-t.left,e.clientY-t.top]},setHover:function(e){if(e){for(var t=0,n=this.positions.length;t0))return l.default.createElement("div",{style:{position:"relative",height:"30px"}},l.default.createElement(j.default,{status:"custom"},"No rows"));var m=function(){var t=[];return f.map(function(o){var s=o[p.primKey],u=i!==s?"picked":"",f=l.default.createElement(O.default,{flux:e.flux,table:r,primKey:s,data:o},h),m=a?(0,y.default)(c.default.renderToStaticMarkup(f)).toLowerCase():"";(a&&m.indexOf(a.toLowerCase())!==-1||!a)&&t.push(l.default.createElement(F.ListItem,{className:u,key:s,primaryText:l.default.createElement(d.default,{search:a},f),onClick:function(){return e.handleSelect(s)},leftIcon:l.default.createElement("div",null,l.default.createElement(H.default,{fixedWidth:!0,name:n}))}))}),{v:l.default.createElement("div",null,l.default.createElement(F.List,null,t),l.default.createElement(j.default,{status:u}))}}();return"object"===("undefined"==typeof m?"undefined":o(m))?m.v:void 0}});t.default=U},function(e,t,n){"use strict";e.exports=n(1480)},function(e,t,n){"use strict";var r=n(354),o=n(1481),a=n(482);r.inject();var i={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:a};e.exports=i},function(e,t,n){"use strict";function r(e,t){var n;try{return h.injection.injectBatchingStrategy(d),n=p.getPooled(t),v++,n.perform(function(){var r=g(e,!0),o=f.mountComponent(r,n,null,l(),m,0);return t||(o=c.addChecksumToMarkup(o)),o},null)}finally{v--,p.release(n),v||h.injection.injectBatchingStrategy(u)}}function o(e){return s.isValidElement(e)?void 0:i("46"),r(e,!1)}function a(e){return s.isValidElement(e)?void 0:i("47"),r(e,!0)}var i=n(351),s=n(322),l=n(478),u=n(451),c=(n(379),n(480)),f=n(376),d=n(1482),p=n(444),h=n(373),m=n(339),g=n(430),v=(n(327),0);e.exports={renderToString:o,renderToStaticMarkup:a}},function(e,t){"use strict";var n={isBatchingUpdates:!1,batchedUpdates:function(e){}};e.exports=n},function(e,t,n){var r,o,a;!function(n,i){o=[],r=i,a="function"==typeof r?r.apply(t,o):r,!(void 0!==a&&(e.exports=a))}(this,function(){function e(e,s,l){function u(e){h==n?g+=e:s&&h==r&&(v+=e)}function c(){var e,t,n,r="",o=!1;e:for(e=0,t=v.length;e":break e;case"/":o=!0;break;default:if(n.match(i)){if(o)break e}else o=!0,r+=n}s.indexOf(r)!==-1?g+=v:l&&(g+=l),v=""}var f,d,p,e=e||"",h=n,m=0,g="",v="",y=!1;for("string"==typeof s?s=t(s):Array.isArray(s)||(s=null),f=0,d=e.length;f":if(m){m--;break}if(y)break;if(h==r){y=h=0,s&&(v+=">",c());break}if(h==o){y=h=0,v="";break}if(h==a&&"-"==e[f-1]&&"-"==e[f-2]){y=h=0,v="";break}u(p);break;case'"':case"'":h==r&&(y==p?y=!1:y||(y=p)),u(p);break;case"!":if(h==r&&"<"==e[f-1]){h=o;break}u(p);break;case"-":if(h==o&&"-"==e[f-1]&&"!"==e[f-2]){h=a;break}u(p);break;case"E":case"e":if(h==o&&"doctype"==e.substr(f-6,7).toLowerCase()){h=r;break}u(p);break;default:u(p)}return g}function t(e){for(var t,n=[];null!==(t=s.exec(e));)n.push(t[1]);return 0!==n.length?n:null}var n=0,r=1,o=2,a=3,i=/\s/,s=/<(\w*)>/g;return e})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t= 2.0.0-beta.1",7:">= 4.0.0"};t.REVISION_CHANGES=h;var m="[object Object]";r.prototype={constructor:r,logger:f.default,log:f.default.log,registerHelper:function(e,t){if(a.toString.call(e)===m){if(t)throw new s.default("Arg not supported with multiple helpers");a.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(a.toString.call(e)===m)a.extend(this.partials,e);else{if("undefined"==typeof t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(a.toString.call(e)===m){if(t)throw new s.default("Arg not supported with multiple decorators");a.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var g=f.default.log;t.log=g,t.createFrame=a.createFrame,t.logger=f.default},function(e,t){"use strict";function n(e){return c[e]}function r(e){for(var t=1;t":">",'"':""","'":"'","`":"`","=":"="},f=/[&<>"'`=]/g,d=/[&<>"'`=]/,p=Object.prototype.toString;t.toString=p;var h=function(e){return"function"==typeof e};h(/x/)&&(t.isFunction=h=function(e){return"function"==typeof e&&"[object Function]"===p.call(e)}),t.isFunction=h;var m=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===p.call(e)};t.isArray=m},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,i=void 0,s=void 0;n&&(i=n.start.line,s=n.start.column,e+=" - "+i+":"+s);for(var l=Error.prototype.constructor.call(this,e),u=0;u0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var i=r.createFrame(n.data);i.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:i}}return a(t,n)})},e.exports=t.default},function(e,t,n){"use strict";var r=n(1).default;t.__esModule=!0;var o=n(5),a=n(6),i=r(a);t.default=function(e){e.registerHelper("each",function(e,t){function n(t,n,a){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!a,c&&(u.contextPath=c+t)),l+=r(e[t],{data:u,blockParams:o.blockParams([e[t],t],[c+t,null])})}if(!t)throw new i.default("Must pass iterator to #each");var r=t.fn,a=t.inverse,s=0,l="",u=void 0,c=void 0;if(t.data&&t.ids&&(c=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(u=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(var f=e.length;s=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),a=1;a2&&x.push("'"+this.terminals_[y]+"'");w=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(w,{text:this.lexer.match,token:this.terminals_[p]||p,line:this.lexer.yylineno,loc:f,expected:x})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+p);switch(g[0]){case 1:r.push(p),o.push(this.lexer.yytext),a.push(this.lexer.yylloc),r.push(g[1]),p=null,h?(p=h,h=null):(u=this.lexer.yyleng,s=this.lexer.yytext,l=this.lexer.yylineno,f=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[g[1]][1],_.$=o[o.length-b],_._$={first_line:a[a.length-(b||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(b||1)].first_column,last_column:a[a.length-1].last_column},d&&(_._$.range=[a[a.length-(b||1)].range[0],a[a.length-1].range[1]]),v=this.performAction.call(_,s,u,l,this.yy,g[1],o,a),"undefined"!=typeof v)return v;b&&(r=r.slice(0,-1*b*2),o=o.slice(0,-1*b),a=a.slice(0,-1*b)),r.push(this.productions_[g[1]][0]),o.push(_.$),a.push(_._$),A=i[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0}},n=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var t=e.match(/(?:\r\n?|\n).*/g);return t?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r,o;this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),i=0;it[0].length)||(t=n,r=i,this.options.flex));i++);return t?(o=t[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,a[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return"undefined"!=typeof e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,r){function o(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(t.yytext=t.yytext.substr(5,t.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],e.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},e}();return t.lexer=n,e.prototype=t,t.Parser=e,new e}();t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function o(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],o=e[t-2];return r?"ContentStatement"===r.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function a(e,t,n){void 0===t&&(t=-1);var r=e[t+1],o=e[t+2];return r?"ContentStatement"===r.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function i(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var o=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==o}}function s(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var o=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==o,r.leftStripped}}var l=n(1).default;t.__esModule=!0;var u=n(28),c=l(u);r.prototype=new c.default,r.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,l=0,u=r.length;l0)throw new g.default("Invalid path: "+r,{loc:n});".."===u&&(a++,i+="../")}}return{type:"PathExpression",data:e,depth:a,parts:o,original:r,loc:n}}function u(e,t,n,r,o,a){var i=r.charAt(3)||r.charAt(2),s="{"!==i&&"&"!==i,l=/\*/.test(r);return{type:l?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:s,strip:o,loc:this.locInfo(a)}}function c(e,t,n,o){r(e,n),o=this.locInfo(o);var a={type:"Program",body:t,strip:{},loc:o};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:a,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}}function f(e,t,n,o,a,i){o&&o.path&&r(e,o);var s=/\*/.test(e.open);t.blockParams=e.blockParams;var l=void 0,u=void 0;if(n){if(s)throw new g.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=o.strip),u=n.strip,l=n.program}return a&&(a=l,l=t,t=a),{type:s?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:l,openStrip:e.strip,inverseStrip:u,closeStrip:o&&o.strip,loc:this.locInfo(i)}}function d(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function p(e,t,n,o){return r(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(o)}}var h=n(1).default;t.__esModule=!0,t.SourceLocation=o,t.id=a,t.stripFlags=i,t.stripComment=s,t.preparePath=l,t.prepareMustache=u,t.prepareRawBlock=c,t.prepareBlock=f,t.prepareProgram=d,t.preparePartialBlock=p;var m=n(6),g=h(m)},function(e,t,n){"use strict";function r(){}function o(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new c.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var r=n.parse(e,t),o=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(o,t)}function a(e,t,n){function r(){var r=n.parse(e,t),o=(new n.Compiler).compile(r,t),a=(new n.JavaScriptCompiler).compile(o,t,void 0,!0);return n.template(a)}function o(e,t){return a||(a=r()),a.call(this,e,t)}if(void 0===t&&(t={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new c.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var a=void 0;return o._setup=function(e){return a||(a=r()),a._setup(e)},o._child=function(e,t,n,o){return a||(a=r()),a._child(e,t,n,o)},o}function i(e,t){if(e===t)return!0;if(f.isArray(e)&&f.isArray(t)&&e.length===t.length){for(var n=0;n1)throw new c.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=e.name.original,o="SubExpression"===e.name.type;o&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var a=e.indent||"";this.options.preventIndent&&a&&(this.opcode("appendContent",a),a=""),this.opcode("invokePartial",o,r,a),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,o=r.parts[0],a=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",o,a)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),o=e.path,a=o.parts[0];if(this.options.knownHelpers[a])this.opcode("invokeKnownHelper",r.length,a);else{if(this.options.knownHelpersOnly)throw new c.default("You specified knownHelpersOnly, but used the unknown helper "+a,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",r.length,o.original,p.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=p.default.helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n=0)return[t,o]}}}},function(e,t,n){"use strict";function r(e){this.value=e}function o(){}function a(e,t,n,r){var o=t.popStack(),a=0,i=n.length;for(e&&i--;a0&&(t+=", "+n.join(", "));var r=0;for(var o in this.aliases){var a=this.aliases[o];this.aliases.hasOwnProperty(o)&&a.children&&a.referenceCount>1&&(t+=", alias"+ ++r+"="+o,a.children[0]="alias"+r)}var i=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&i.push("blockParams"),this.useDepths&&i.push("depths");var s=this.mergeSource(t);return e?(i.push(s),Function.apply(this,i)):this.source.wrap(["function(",i.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,o=void 0,a=void 0,i=void 0;return this.source.each(function(e){e.appendToBuffer?(a?e.prepend(" + "):a=e,i=e):(a&&(o?a.prepend("buffer += "):r=!0,i.add(";"),a=i=void 0),o=!0,t||(n=!1))}),n?a?(a.prepend("return "),i.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),i.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var o=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,o){var i=this;if(this.options.strict||this.options.assumeObjects)return void this.push(a(this.options.strict&&o,this,t,e));for(var s=t.length;nthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t0)for(var n=0,r=this.customControls.length;nn&&console.warn("Zooming beyond maxZoom:"+o+">"+n),(0,w.default)(r,this.props.center)&&o===this.props.zoom||(void 0!==this.props.onChange&&this.props.onChange({center:this.map.leafletElement.getCenter(),zoom:this.map.leafletElement.getZoom()}),void 0!==this.props.setProps&&this.props.setProps({center:r,zoom:o}))}},title:function(){return this.props.title||"Map"},render:function(){var e=this,t=this.props,n=t.center,r=t.children,i=t.zoom;r=(0,f.default)(this,r,S);var l=this.state,c=l.bounds,d=l.loadStatus;void 0===c&&void 0===n&&(n={lat:0,lng:0}),void 0===c&&void 0===i&&(i=0);var h={bounds:n&&void 0!==i?void 0:c,center:n,loadingControl:!0,onMoveEnd:function(t){return e.handleMapMoveEnd(t)},style:{height:"100%"},ref:function(t){return e.map=t},zoom:i,zoomAnimation:!1},g=null;if(r&&r.length){var y=0,A=r;1===r.length&&void 0!==r[0].type&&"FeatureGroup"===r[0].type.displayName&&(A=r[0].props.children);for(var _=0,w=A.length;_1}}(),u.Point=function(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t},u.Point.prototype={clone:function(){return new u.Point(this.x,this.y)},add:function(e){return this.clone()._add(u.point(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(u.point(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new u.Point(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new u.Point(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},distanceTo:function(e){e=u.point(e);var t=e.x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return e=u.point(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=u.point(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+u.Util.formatNum(this.x)+", "+u.Util.formatNum(this.y)+")"}},u.point=function(e,t,n){return e instanceof u.Point?e:u.Util.isArray(e)?new u.Point(e[0],e[1]):e===s||null===e?e:"object"==typeof e&&"x"in e&&"y"in e?new u.Point(e.x,e.y):new u.Point(e,t,n)},u.Bounds=function(e,t){if(e)for(var n=t?[e,t]:e,r=0,o=n.length;r=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=u.bounds(e);var t=this.min,n=this.max,r=e.min,o=e.max,a=o.x>=t.x&&r.x<=n.x,i=o.y>=t.y&&r.y<=n.y;return a&&i},overlaps:function(e){e=u.bounds(e);var t=this.min,n=this.max,r=e.min,o=e.max,a=o.x>t.x&&r.xt.y&&r.y0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)},addClass:function(e,t){if(e.classList!==s)for(var n=u.Util.splitWords(t),r=0,o=n.length;r=r.lat&&n.lat<=o.lat&&t.lng>=r.lng&&n.lng<=o.lng},intersects:function(e){e=u.latLngBounds(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),o=e.getNorthEast(),a=o.lat>=t.lat&&r.lat<=n.lat,i=o.lng>=t.lng&&r.lng<=n.lng;return a&&i},overlaps:function(e){e=u.latLngBounds(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),o=e.getNorthEast(),a=o.lat>t.lat&&r.latt.lng&&r.lngthis.options.maxZoom?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,u.latLngBounds(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},invalidateSize:function(e){if(!this._loaded)return this;e=u.extend({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),r=t.divideBy(2).round(),o=n.divideBy(2).round(),a=r.subtract(o);return a.x||a.y?(e.animate&&e.pan?this.panBy(a):(e.pan&&this._rawPanBy(a),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=u.extend({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=u.bind(this._handleGeolocationResponse,this),n=u.bind(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,n,e):navigator.geolocation.getCurrentPosition(t,n,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(e){var t=e.coords.latitude,n=e.coords.longitude,r=new u.LatLng(t,n),o=r.toBounds(e.coords.accuracy),a=this._locateOptions;if(a.setView){var i=this.getBoundsZoom(o);this.setView(r,a.maxZoom?Math.min(i,a.maxZoom):i)}var s={latlng:r,bounds:o,timestamp:e.timestamp};for(var l in e.coords)"number"==typeof e.coords[l]&&(s[l]=e.coords[l]);this.fire("locationfound",s)},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=s,this._containerId=s}u.DomUtil.remove(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire("unload");for(var e in this._layers)this._layers[e].remove();return this},createPane:function(e,t){var n="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),r=u.DomUtil.create("div",n,t||this._mapPane);return e&&(this._panes[e]=r),r},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),t=this.unproject(e.getBottomLeft()),n=this.unproject(e.getTopRight());return new u.LatLngBounds(t,n)},getMinZoom:function(){return this.options.minZoom===s?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===s?this._layersMaxZoom===s?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=u.latLngBounds(e),n=u.point(n||[0,0]);var r=this.getZoom()||0,o=this.getMinZoom(),a=this.getMaxZoom(),i=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),c=u.bounds(this.project(s,r),this.project(i,r)).getSize(),f=u.Browser.any3d?this.options.zoomSnap:1,d=Math.min(l.x/c.x,l.y/c.y);return r=this.getScaleZoom(d,r),f&&(r=Math.round(r/(f/100))*(f/100),r=t?Math.ceil(r/f)*f:Math.floor(r/f)*f),Math.max(o,Math.min(a,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new u.Point(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new u.Bounds(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===s?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=t===s?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=t===s?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=t===s?this._zoom:t,this.options.crs.latLngToPoint(u.latLng(e),t)},unproject:function(e,t){return t=t===s?this._zoom:t,this.options.crs.pointToLatLng(u.point(e),t)},layerPointToLatLng:function(e){var t=u.point(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){var t=this.project(u.latLng(e))._round();return t._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(u.latLng(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(u.latLngBounds(e))},distance:function(e,t){return this.options.crs.distance(u.latLng(e),u.latLng(t))},containerPointToLayerPoint:function(e){return u.point(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return u.point(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(u.point(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(u.latLng(e)))},mouseEventToContainerPoint:function(e){return u.DomEvent.getMousePosition(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=u.DomUtil.get(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");u.DomEvent.addListener(t,"scroll",this._onScroll,this),this._containerId=u.Util.stamp(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&u.Browser.any3d,u.DomUtil.addClass(e,"leaflet-container"+(u.Browser.touch?" leaflet-touch":"")+(u.Browser.retina?" leaflet-retina":"")+(u.Browser.ielt9?" leaflet-oldie":"")+(u.Browser.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=u.DomUtil.getStyle(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),u.DomUtil.setPosition(this._mapPane,new u.Point(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(u.DomUtil.addClass(e.markerPane,"leaflet-zoom-hide"),u.DomUtil.addClass(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){u.DomUtil.setPosition(this._mapPane,new u.Point(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var r=this._zoom!==t;this._moveStart(r)._move(e,t)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e){return e&&this.fire("zoomstart"),this.fire("movestart")},_move:function(e,t,n){t===s&&(t=this._zoom);var r=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(r||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return u.Util.cancelAnimFrame(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){u.DomUtil.setPosition(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){if(u.DomEvent){this._targets={},this._targets[u.stamp(this._container)]=this;var t=e?"off":"on";u.DomEvent[t](this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&u.DomEvent[t](a,"resize",this._onResize,this),u.Browser.any3d&&this.options.transform3DLimit&&this[t]("moveend",this._onMoveEnd)}},_onResize:function(){u.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=u.Util.requestAnimFrame(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,r=[],o="mouseout"===t||"mouseover"===t,a=e.target||e.srcElement,i=!1;a;){if(n=this._targets[u.stamp(a)],n&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(n)){i=!0;break}if(n&&n.listens(t,!0)){if(o&&!u.DomEvent._isExternalTarget(a,e))break;if(r.push(n),o)break}if(a===this._container)break;a=a.parentNode}return r.length||i||o||!u.DomEvent._isExternalTarget(a,e)||(r=[this]),r},_handleDOMEvent:function(e){if(this._loaded&&!u.DomEvent._skipped(e)){var t="keypress"===e.type&&13===e.keyCode?"click":e.type;"mousedown"===t&&u.DomUtil.preventOutline(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_fireDOMEvent:function(e,t,n){if("click"===e.type){var r=u.Util.extend({},e);r.type="preclick",this._fireDOMEvent(r,r.type,n)}if(!e._stopped&&(n=(n||[]).concat(this._findEventTargets(e,t)),n.length)){var o=n[0];"contextmenu"===t&&o.listens(t,!0)&&u.DomEvent.preventDefault(e);var a={originalEvent:e};if("keypress"!==e.type){var i=o instanceof u.Marker;a.containerPoint=i?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(e),a.layerPoint=this.containerPointToLayerPoint(a.containerPoint),a.latlng=i?o.getLatLng():this.layerPointToLatLng(a.layerPoint)}for(var s=0;s0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=u.Browser.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){u.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._floor();return!((t&&t.animate)!==!0&&!this.getSize().contains(n))&&(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=u.DomUtil.create("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(t){var n=u.DomUtil.TRANSFORM,r=e.style[n];u.DomUtil.setTransform(e,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),r===e.style[n]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),n=this.getZoom();u.DomUtil.setTransform(e,this.project(t,n),this.getZoomScale(n,1))},this)},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||n.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/r);return!(n.animate!==!0&&!this.getSize().contains(o))&&(u.Util.requestAnimFrame(function(){this._moveStart(!0)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,n,r){n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,u.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:r}),setTimeout(u.bind(this._onZoomTransitionEnd,this),250)},_onZoomTransitionEnd:function(){this._animatingZoom&&(u.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),u.Util.requestAnimFrame(function(){this._moveEnd(!0)},this))}}),u.map=function(e,t){return new u.Map(e,t)},u.Layer=u.Evented.extend({options:{pane:"overlayPane",nonBubblingEvents:[],attribution:null},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[u.stamp(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[u.stamp(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",function(){t.off(n,this)},this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}}),u.Map.include({addLayer:function(e){var t=u.stamp(e);return this._layers[t]?this:(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var t=u.stamp(e);return this._layers[t]?(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()), -delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return!!e&&u.stamp(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){e=e?u.Util.isArray(e)?e:[e]:[];for(var t=0,n=e.length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===s&&this._layersMinZoom&&this.getZoom()100&&r<500||e.target._simulatedClick&&!e._simulated?void u.DomEvent.stop(e):(u.DomEvent._lastClick=n,void t(e))}},u.DomEvent.addListener=u.DomEvent.on,u.DomEvent.removeListener=u.DomEvent.off,u.PosAnimation=u.Evented.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=u.DomUtil.getPosition(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=u.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t1e-7;l++)t=a*Math.sin(s),t=Math.pow((1-t)/(1+t),a/2),c=Math.PI/2-2*Math.atan(i*t)-s,s+=c;return new u.LatLng(s*n,e.x*n/r)}},u.CRS.EPSG3395=u.extend({},u.CRS.Earth,{code:"EPSG:3395",projection:u.Projection.Mercator,transformation:function(){var e=.5/(Math.PI*u.Projection.Mercator.R);return new u.Transformation(e,.5,-e,.5)}()}),u.GridLayer=u.Layer.extend({options:{tileSize:256,opacity:1,updateWhenIdle:u.Browser.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:s,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){u.setOptions(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),u.DomUtil.remove(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=null},bringToFront:function(){return this._map&&(u.DomUtil.toFront(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(u.DomUtil.toBack(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=u.Util.throttle(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return i.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof u.Point?e:new u.Point(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==s&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,r=-e(-(1/0),1/0),o=0,a=n.length;othis.options.maxZoom||nr&&this._retainParent(o,a,i,r))},_retainChildren:function(e,t,n,r){for(var o=2*e;o<2*e+2;o++)for(var a=2*t;a<2*t+2;a++){var i=new u.Point(o,a);i.z=n+1;var s=this._tileCoordsToKey(i),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||this.options.minZoom!==s&&o1)return void this._setView(e,n);for(var h=o.min.y;h<=o.max.y;h++)for(var m=o.min.x;m<=o.max.x;m++){var g=new u.Point(m,h);if(g.z=this._tileZoom,this._isValidTile(g)){var v=this._tiles[this._tileCoordsToKey(g)];v?v.current=!0:l.push(g)}}if(l.sort(function(e,t){return e.distanceTo(a)-t.distanceTo(a)}),0!==l.length){this._loading||(this._loading=!0,this.fire("loading"));var y=i.createDocumentFragment();for(m=0;mn.max.x)||!t.wrapLat&&(e.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return u.latLngBounds(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToBounds:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),o=r.add(n),a=t.unproject(r,e.z),i=t.unproject(o,e.z),s=new u.LatLngBounds(a,i);return this.options.noWrap||t.wrapLatLngBounds(s),s},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new u.Point(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(u.DomUtil.remove(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){u.DomUtil.addClass(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=u.Util.falseFn,e.onmousemove=u.Util.falseFn,u.Browser.ielt9&&this.options.opacity<1&&u.DomUtil.setOpacity(e,this.options.opacity),u.Browser.android&&!u.Browser.android23&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),u.bind(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&u.Util.requestAnimFrame(u.bind(this._tileReady,this,e,null,o)),u.DomUtil.setPosition(o,n),this._tiles[r]={el:o,coords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,n){if(this._map){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);n=this._tiles[r],n&&(n.loaded=+new Date,this._map._fadeAnimated?(u.DomUtil.setOpacity(n.el,0),u.Util.cancelAnimFrame(this._fadeFrame),this._fadeFrame=u.Util.requestAnimFrame(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(u.DomUtil.addClass(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),u.Browser.ielt9||!this._map._fadeAnimated?u.Util.requestAnimFrame(this._pruneTiles,this):setTimeout(u.bind(this._pruneTiles,this),250)))}},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new u.Point(this._wrapX?u.Util.wrapNum(e.x,this._wrapX):e.x,this._wrapY?u.Util.wrapNum(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new u.Bounds(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),u.gridLayer=function(e){return new u.GridLayer(e)},u.TileLayer=u.GridLayer.extend({options:{minZoom:0,maxZoom:18,maxNativeZoom:null,minNativeZoom:null,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,t=u.setOptions(this,t),t.detectRetina&&u.Browser.retina&&t.maxZoom>0&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),u.Browser.android||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=i.createElement("img");return u.DomEvent.on(n,"load",u.bind(this._tileOnLoad,this,t,n)),u.DomEvent.on(n,"error",u.bind(this._tileOnError,this,t,n)),this.options.crossOrigin&&(n.crossOrigin=""),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:u.Browser.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=n),t["-y"]=n}return u.Util.template(this._url,u.extend(t,this.options))},_tileOnLoad:function(e,t){u.Browser.ielt9?setTimeout(u.bind(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.src!==r&&(t.src=r),e(n,t)},getTileSize:function(){var e=this._map,t=u.GridLayer.prototype.getTileSize.call(this),n=this._tileZoom+this.options.zoomOffset,r=this.options.minNativeZoom,o=this.options.maxNativeZoom;return null!==r&&no?t.divideBy(e.getZoomScale(o,n)).round():t},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,n=this.options.zoomReverse,r=this.options.zoomOffset,o=this.options.minNativeZoom,a=this.options.maxNativeZoom;return n&&(e=t-e),e+=r,null!==o&&ea?a:e},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=u.Util.falseFn,t.onerror=u.Util.falseFn,t.complete||(t.src=u.Util.emptyImageUrl,u.DomUtil.remove(t)))}}),u.tileLayer=function(e,t){return new u.TileLayer(e,t)},u.TileLayer.WMS=u.TileLayer.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var n=u.extend({},this.defaultWmsParams);for(var r in t)r in this.options||(n[r]=t[r]);t=u.setOptions(this,t),n.width=n.height=t.tileSize*(t.detectRetina&&u.Browser.retina?2:1),this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,u.TileLayer.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToBounds(e),n=this._crs.project(t.getNorthWest()),r=this._crs.project(t.getSouthEast()),o=(this._wmsVersion>=1.3&&this._crs===u.CRS.EPSG4326?[r.y,n.x,n.y,r.x]:[n.x,r.y,r.x,n.y]).join(","),a=u.TileLayer.prototype.getTileUrl.call(this,e);return a+u.Util.getParamString(this.wmsParams,a,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(e,t){return u.extend(this.wmsParams,e),t||this.redraw(),this}}),u.tileLayer.wms=function(e,t){return new u.TileLayer.WMS(e,t)},u.ImageOverlay=u.Layer.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1},initialize:function(e,t,n){this._url=e,this._bounds=u.latLngBounds(t),u.setOptions(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(u.DomUtil.addClass(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){u.DomUtil.remove(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&u.DomUtil.toFront(this._image),this},bringToBack:function(){return this._map&&u.DomUtil.toBack(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=e,this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._image=u.DomUtil.create("img","leaflet-image-layer "+(this._zoomAnimated?"leaflet-zoom-animated":""));e.onselectstart=u.Util.falseFn,e.onmousemove=u.Util.falseFn,e.onload=u.bind(this.fire,this,"load"),this.options.crossOrigin&&(e.crossOrigin=""),e.src=this._url,e.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;u.DomUtil.setTransform(this._image,n,t)},_reset:function(){var e=this._image,t=new u.Bounds(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();u.DomUtil.setPosition(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){u.DomUtil.setOpacity(this._image,this.options.opacity)}}),u.imageOverlay=function(e,t,n){return new u.ImageOverlay(e,t,n)},u.Icon=u.Class.extend({initialize:function(e){u.setOptions(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var r=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(r,e),r},_setIconStyles:function(e,t){var n=this.options,r=n[t+"Size"];"number"==typeof r&&(r=[r,r]);var o=u.point(r),a=u.point("shadow"===t&&n.shadowAnchor||n.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),a&&(e.style.marginLeft=-a.x+"px",e.style.marginTop=-a.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return t=t||i.createElement("img"),t.src=e,t},_getIconUrl:function(e){return u.Browser.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),u.icon=function(e){return new u.Icon(e)},u.Icon.Default=u.Icon.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return u.Icon.Default.imagePath||(u.Icon.Default.imagePath=this._detectIconPath()),(this.options.imagePath||u.Icon.Default.imagePath)+u.Icon.prototype._getIconUrl.call(this,e)},_detectIconPath:function(){var e=u.DomUtil.create("div","leaflet-default-icon-path",i.body),t=u.DomUtil.getStyle(e,"background-image")||u.DomUtil.getStyle(e,"backgroundImage");return i.body.removeChild(e),0===t.indexOf("url")?t.replace(/^url\([\"\']?/,"").replace(/marker-icon\.png[\"\']?\)$/,""):""}}),u.Marker=u.Layer.extend({options:{icon:new u.Icon.Default,interactive:!0,draggable:!1,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",nonBubblingEvents:["click","dblclick","mouseover","mouseout","contextmenu"]},initialize:function(e,t){u.setOptions(this,t),this._latlng=u.latLng(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=u.latLng(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),r=!1;n!==this._icon&&(this._icon&&this._removeIcon(),r=!0,e.title&&(n.title=e.title),e.alt&&(n.alt=e.alt)),u.DomUtil.addClass(n,t),e.keyboard&&(n.tabIndex="0"),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=e.icon.createShadow(this._shadow),a=!1;o!==this._shadow&&(this._removeShadow(),a=!0),o&&(u.DomUtil.addClass(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),r&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&a&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),u.DomUtil.remove(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&u.DomUtil.remove(this._shadow),this._shadow=null},_setPos:function(e){u.DomUtil.setPosition(this._icon,e),this._shadow&&u.DomUtil.setPosition(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon.style.zIndex=this._zIndex+e},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(u.DomUtil.addClass(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),u.Handler.MarkerDrag)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new u.Handler.MarkerDrag(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;u.DomUtil.setOpacity(this._icon,e),this._shadow&&u.DomUtil.setOpacity(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor||[0,0]},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor||[0,0]}}),u.marker=function(e,t){return new u.Marker(e,t)},u.DivIcon=u.Icon.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:i.createElement("div"),n=this.options;if(t.innerHTML=n.html!==!1?n.html:"",n.bgPos){var r=u.point(n.bgPos);t.style.backgroundPosition=-r.x+"px "+-r.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}),u.divIcon=function(e){return new u.DivIcon(e)},u.DivOverlay=u.Layer.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(e,t){u.setOptions(this,e),this._source=t},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&u.DomUtil.setOpacity(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&u.DomUtil.setOpacity(this._container,1),this.bringToFront()},onRemove:function(e){e._fadeAnimated?(u.DomUtil.setOpacity(this._container,0),this._removeTimeout=setTimeout(u.bind(u.DomUtil.remove,u.DomUtil,this._container),200)):u.DomUtil.remove(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=u.latLng(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&u.DomUtil.toFront(this._container),this},bringToBack:function(){return this._map&&u.DomUtil.toBack(this._container),this},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=u.point(this.options.offset),n=this._getAnchor();this._zoomAnimated?u.DomUtil.setPosition(this._container,e.add(n)):t=t.add(e).add(n);var r=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=r+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),u.Popup=u.DivOverlay.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,className:""},openOn:function(e){return e.openPopup(this),this},onAdd:function(e){u.DivOverlay.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof u.Path||this._source.on("preclick",u.DomEvent.stopPropagation))},onRemove:function(e){u.DivOverlay.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof u.Path||this._source.off("preclick",u.DomEvent.stopPropagation))},getEvents:function(){var e=u.DivOverlay.prototype.getEvents.call(this);return("closeOnClick"in this.options?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this._close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var e="leaflet-popup",t=this._container=u.DomUtil.create("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated");if(this.options.closeButton){var n=this._closeButton=u.DomUtil.create("a",e+"-close-button",t);n.href="#close",n.innerHTML="×", -u.DomEvent.on(n,"click",this._onCloseButtonClick,this)}var r=this._wrapper=u.DomUtil.create("div",e+"-content-wrapper",t);this._contentNode=u.DomUtil.create("div",e+"-content",r),u.DomEvent.disableClickPropagation(r).disableScrollPropagation(this._contentNode).on(r,"contextmenu",u.DomEvent.stopPropagation),this._tipContainer=u.DomUtil.create("div",e+"-tip-container",t),this._tip=u.DomUtil.create("div",e+"-tip",this._tipContainer)},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var r=e.offsetHeight,o=this.options.maxHeight,a="leaflet-popup-scrolled";o&&r>o?(t.height=o+"px",u.DomUtil.addClass(e,a)):u.DomUtil.removeClass(e,a),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();u.DomUtil.setPosition(this._container,t.add(n))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var e=this._map,t=parseInt(u.DomUtil.getStyle(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,o=new u.Point(this._containerLeft,-n-this._containerBottom);o._add(u.DomUtil.getPosition(this._container));var a=e.layerPointToContainerPoint(o),i=u.point(this.options.autoPanPadding),s=u.point(this.options.autoPanPaddingTopLeft||i),l=u.point(this.options.autoPanPaddingBottomRight||i),c=e.getSize(),f=0,d=0;a.x+r+l.x>c.x&&(f=a.x+r-c.x+l.x),a.x-f-s.x<0&&(f=a.x-s.x),a.y+n+l.y>c.y&&(d=a.y+n-c.y+l.y),a.y-d-s.y<0&&(d=a.y-s.y),(f||d)&&e.fire("autopanstart").panBy([f,d])}},_onCloseButtonClick:function(e){this._close(),u.DomEvent.stop(e)},_getAnchor:function(){return u.point(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),u.popup=function(e,t){return new u.Popup(e,t)},u.Map.mergeOptions({closePopupOnClick:!0}),u.Map.include({openPopup:function(e,t,n){return e instanceof u.Popup||(e=new u.Popup(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),u.Layer.include({bindPopup:function(e,t){return e instanceof u.Popup?(u.setOptions(e,t),this._popup=e,e._source=this):(this._popup&&!t||(this._popup=new u.Popup(t,this)),this._popup.setContent(e)),this._popupHandlersAdded||(this.on({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e,t){if(e instanceof u.Layer||(t=e,e=this),e instanceof u.FeatureGroup)for(var n in this._layers){e=this._layers[n];break}return t||(t=e.getCenter?e.getCenter():e.getLatLng()),this._popup&&this._map&&(this._popup._source=e,this._popup.update(),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;if(this._popup&&this._map)return u.DomEvent.stop(e),t instanceof u.Path?void this.openPopup(e.layer||e.target,e.latlng):void(this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng))},_movePopup:function(e){this._popup.setLatLng(e.latlng)}}),u.Tooltip=u.DivOverlay.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){u.DivOverlay.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){u.DivOverlay.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=u.DivOverlay.prototype.getEvents.call(this);return u.Browser.touch&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip",t=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=u.DomUtil.create("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t=this._map,n=this._container,r=t.latLngToContainerPoint(t.getCenter()),o=t.layerPointToContainerPoint(e),a=this.options.direction,i=n.offsetWidth,s=n.offsetHeight,l=u.point(this.options.offset),c=this._getAnchor();"top"===a?e=e.add(u.point(-i/2+l.x,-s+l.y+c.y,!0)):"bottom"===a?e=e.subtract(u.point(i/2-l.x,-l.y,!0)):"center"===a?e=e.subtract(u.point(i/2+l.x,s/2-c.y+l.y,!0)):"right"===a||"auto"===a&&o.xl&&(a=i,l=s);l>n&&(t[a]=1,this._simplifyDPStep(e,t,n,r,a),this._simplifyDPStep(e,t,n,a,o))},_reducePoints:function(e,t){for(var n=[e[0]],r=1,o=0,a=e.length;rt&&(n.push(e[r]),o=r);return ot.max.x&&(n|=2),e.yt.max.y&&(n|=8),n},_sqDist:function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},_sqClosestPointOnSegment:function(e,t,n,r){var o,a=t.x,i=t.y,s=n.x-a,l=n.y-i,c=s*s+l*l;return c>0&&(o=((e.x-a)*s+(e.y-i)*l)/c,o>1?(a=n.x,i=n.y):o>0&&(a+=s*o,i+=l*o)),s=e.x-a,l=e.y-i,r?s*s+l*l:new u.Point(a,i)}},u.Polyline=u.Path.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){u.setOptions(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,r=1/0,o=null,a=u.LineUtil._sqClosestPointOnSegment,i=0,s=this._parts.length;it)return i=(r-t)/n,this._map.layerPointToLatLng([a.x-i*(a.x-o.x),a.y-i*(a.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=u.latLng(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new u.LatLngBounds,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return u.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=u.Polyline._flat(e),r=0,o=e.length;r=2&&t[0]instanceof u.LatLng&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){u.Polyline.prototype._setLatLngs.call(this,e),u.Polyline._flat(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return u.Polyline._flat(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new u.Point(t,t);if(e=new u.Bounds(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)return void(this._parts=this._rings);for(var r,o=0,a=this._rings.length;o';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),u.SVG.include(u.Browser.vml?{_initContainer:function(){this._container=u.DomUtil.create("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(u.Renderer.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=u.SVG.create("shape");u.DomUtil.addClass(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=u.SVG.create("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[u.stamp(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;u.DomUtil.remove(t),e.removeInteractiveTarget(t),delete this._layers[u.stamp(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,o=e._container;o.stroked=!!r.stroke,o.filled=!!r.fill,r.stroke?(t||(t=e._stroke=u.SVG.create("stroke")),o.appendChild(t),t.weight=r.weight+"px",t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=u.Util.isArray(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=r.lineCap.replace("butt","flat"),t.joinstyle=r.lineJoin):t&&(o.removeChild(t),e._stroke=null),r.fill?(n||(n=e._fill=u.SVG.create("fill")),o.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(o.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+r+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){u.DomUtil.toFront(e._container)},_bringToBack:function(e){u.DomUtil.toBack(e._container)}}:{}),u.Browser.vml&&(u.SVG.create=function(){try{return i.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return i.createElement("')}}catch(e){return function(e){return i.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}()),u.Canvas=u.Renderer.extend({getEvents:function(){var e=u.Renderer.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){u.Renderer.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=i.createElement("canvas");u.DomEvent.on(e,"mousemove",u.Util.throttle(this._onMouseMove,32,this),this).on(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this).on(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var t in this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},u.Renderer.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=u.Browser.retina?2:1;u.DomUtil.setPosition(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",u.Browser.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){u.Renderer.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[u.stamp(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[u.stamp(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(e.options.dashArray){var t,n=e.options.dashArray.split(","),r=[];for(t=0;te.y!=r.y>e.y&&e.x<(r.x-n.x)*(e.y-n.y)/(r.y-n.y)+n.x&&(c=!c);return c||u.Polyline.prototype._containsPoint.call(this,e,!0)},u.CircleMarker.prototype._containsPoint=function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()},u.GeoJSON=u.FeatureGroup.extend({initialize:function(e,t){u.setOptions(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,r,o=u.Util.isArray(e)?e:e.features;if(o){for(t=0,n=o.length;t1)return void(this._moved=!0);var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new u.Point(t.clientX,t.clientY),r=n.subtract(this._startPoint);(r.x||r.y)&&(Math.abs(r.x)+Math.abs(r.y)50&&(this._positions.shift(),this._times.shift())}this._map.fire("move",e).fire("drag",e)},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,o=(r-t+n)%e+t-n,a=(r+t+n)%e-t-n,i=Math.abs(o+n)0?a:-a))-t;this._delta=0,this._startTime=null,i&&("center"===e.options.scrollWheelZoom?e.setZoom(t+i):e.setZoomAround(this._lastMousePos,t+i))}}),u.Map.addInitHook("addHandler","scrollWheelZoom",u.Map.ScrollWheelZoom),u.extend(u.DomEvent,{_touchstart:u.Browser.msPointer?"MSPointerDown":u.Browser.pointer?"pointerdown":"touchstart",_touchend:u.Browser.msPointer?"MSPointerUp":u.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(e,t,n){function r(e){var t;if(u.Browser.pointer){if(!u.Browser.edge||"mouse"===e.pointerType)return;t=u.DomEvent._pointersCount}else t=e.touches.length;if(!(t>1)){var n=Date.now(),r=n-(a||n);i=e.touches?e.touches[0]:e,s=r>0&&r<=l,a=n}}function o(e){if(s&&!i.cancelBubble){if(u.Browser.pointer){if(!u.Browser.edge||"mouse"===e.pointerType)return;var n,r,o={};for(r in i)n=i[r],o[r]=n&&n.bind?n.bind(i):n;i=o}i.type="dblclick",t(i),a=null}}var a,i,s=!1,l=250,c="_leaflet_",f=this._touchstart,d=this._touchend;return e[c+f+n]=r,e[c+d+n]=o,e[c+"dblclick"+n]=t,e.addEventListener(f,r,!1),e.addEventListener(d,o,!1),e.addEventListener("dblclick",t,!1),this},removeDoubleTapListener:function(e,t){var n="_leaflet_",r=e[n+this._touchstart+t],o=e[n+this._touchend+t],a=e[n+"dblclick"+t];return e.removeEventListener(this._touchstart,r,!1),e.removeEventListener(this._touchend,o,!1),u.Browser.edge||e.removeEventListener("dblclick",a,!1),this}}),u.extend(u.DomEvent,{POINTER_DOWN:u.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MOVE:u.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:u.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:u.Browser.msPointer?"MSPointerCancel":"pointercancel",TAG_WHITE_LIST:["INPUT","SELECT","OPTION"],_pointers:{},_pointersCount:0,addPointerListener:function(e,t,n,r){return"touchstart"===t?this._addPointerStart(e,n,r):"touchmove"===t?this._addPointerMove(e,n,r):"touchend"===t&&this._addPointerEnd(e,n,r),this},removePointerListener:function(e,t,n){var r=e["_leaflet_"+t+n];return"touchstart"===t?e.removeEventListener(this.POINTER_DOWN,r,!1):"touchmove"===t?e.removeEventListener(this.POINTER_MOVE,r,!1):"touchend"===t&&(e.removeEventListener(this.POINTER_UP,r,!1),e.removeEventListener(this.POINTER_CANCEL,r,!1)),this},_addPointerStart:function(e,t,n){var r=u.bind(function(e){if("mouse"!==e.pointerType&&e.MSPOINTER_TYPE_MOUSE&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE){if(!(this.TAG_WHITE_LIST.indexOf(e.target.tagName)<0))return;u.DomEvent.preventDefault(e)}this._handlePointer(e,t)},this);if(e["_leaflet_touchstart"+n]=r,e.addEventListener(this.POINTER_DOWN,r,!1),!this._pointerDocListener){var o=u.bind(this._globalPointerUp,this);i.documentElement.addEventListener(this.POINTER_DOWN,u.bind(this._globalPointerDown,this),!0),i.documentElement.addEventListener(this.POINTER_MOVE,u.bind(this._globalPointerMove,this),!0),i.documentElement.addEventListener(this.POINTER_UP,o,!0),i.documentElement.addEventListener(this.POINTER_CANCEL,o,!0),this._pointerDocListener=!0}},_globalPointerDown:function(e){this._pointers[e.pointerId]=e,this._pointersCount++},_globalPointerMove:function(e){this._pointers[e.pointerId]&&(this._pointers[e.pointerId]=e)},_globalPointerUp:function(e){delete this._pointers[e.pointerId],this._pointersCount--},_handlePointer:function(e,t){e.touches=[];for(var n in this._pointers)e.touches.push(this._pointers[n]);e.changedTouches=[e],t(e)},_addPointerMove:function(e,t,n){var r=u.bind(function(e){(e.pointerType!==e.MSPOINTER_TYPE_MOUSE&&"mouse"!==e.pointerType||0!==e.buttons)&&this._handlePointer(e,t)},this);e["_leaflet_touchmove"+n]=r,e.addEventListener(this.POINTER_MOVE,r,!1)},_addPointerEnd:function(e,t,n){var r=u.bind(function(e){this._handlePointer(e,t)},this);e["_leaflet_touchend"+n]=r,e.addEventListener(this.POINTER_UP,r,!1),e.addEventListener(this.POINTER_CANCEL,r,!1)}}),u.Map.mergeOptions({touchZoom:u.Browser.touch&&!u.Browser.android23,bounceAtZoomLimits:!0}),u.Map.TouchZoom=u.Handler.extend({addHooks:function(){u.DomUtil.addClass(this._map._container,"leaflet-touch-zoom"),u.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){u.DomUtil.removeClass(this._map._container,"leaflet-touch-zoom"),u.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),u.DomEvent.on(i,"touchmove",this._onTouchMove,this).on(i,"touchend",this._onTouchEnd,this),u.DomEvent.preventDefault(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&o>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var a=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===a.x&&0===a.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(a),this._zoom)}this._moved||(t._moveStart(!0),this._moved=!0),u.Util.cancelAnimFrame(this._animRequest);var i=u.bind(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=u.Util.requestAnimFrame(i,this,!0),u.DomEvent.preventDefault(e)}},_onTouchEnd:function(){return this._moved&&this._zooming?(this._zooming=!1,u.Util.cancelAnimFrame(this._animRequest),u.DomEvent.off(i,"touchmove",this._onTouchMove).off(i,"touchend",this._onTouchEnd),void(this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom)))):void(this._zooming=!1)}}),u.Map.addInitHook("addHandler","touchZoom",u.Map.TouchZoom),u.Map.mergeOptions({tap:!0,tapTolerance:15}),u.Map.Tap=u.Handler.extend({addHooks:function(){u.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){u.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(u.DomEvent.preventDefault(e),this._fireClick=!0,e.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],n=t.target;this._startPos=this._newPos=new u.Point(t.clientX,t.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&u.DomUtil.addClass(n,"leaflet-active"),this._holdTimeout=setTimeout(u.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))},this),1e3),this._simulateEvent("mousedown",t),u.DomEvent.on(i,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),u.DomEvent.off(i,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],n=t.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&u.DomUtil.removeClass(n,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new u.Point(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var n=i.createEvent("MouseEvents");n._simulated=!0,t.target._simulatedClick=!0,n.initMouseEvent(e,!0,!0,a,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}}),u.Browser.touch&&!u.Browser.pointer&&u.Map.addInitHook("addHandler","tap",u.Map.Tap),u.Map.mergeOptions({boxZoom:!0}),u.Map.BoxZoom=u.Handler.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane},addHooks:function(){u.DomEvent.on(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){u.DomEvent.off(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_resetState:function(){this._moved=!1},_onMouseDown:function(e){return!(!e.shiftKey||1!==e.which&&1!==e.button)&&(this._resetState(),u.DomUtil.disableTextSelection(),u.DomUtil.disableImageDrag(),this._startPoint=this._map.mouseEventToContainerPoint(e),void u.DomEvent.on(i,{contextmenu:u.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this))},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=u.DomUtil.create("div","leaflet-zoom-box",this._container),u.DomUtil.addClass(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new u.Bounds(this._point,this._startPoint),n=t.getSize();u.DomUtil.setPosition(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(u.DomUtil.remove(this._box),u.DomUtil.removeClass(this._container,"leaflet-crosshair")),u.DomUtil.enableTextSelection(),u.DomUtil.enableImageDrag(),u.DomEvent.off(i,{contextmenu:u.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){setTimeout(u.bind(this._resetState,this),0);var t=new u.LatLngBounds(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}}),u.Map.addInitHook("addHandler","boxZoom",u.Map.BoxZoom),u.Map.mergeOptions({keyboard:!0,keyboardPanDelta:80}),u.Map.Keyboard=u.Handler.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),u.DomEvent.on(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),u.DomEvent.off(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=i.body,t=i.documentElement,n=e.scrollTop||t.scrollTop,r=e.scrollLeft||t.scrollLeft;this._map._container.focus(),a.scrollTo(r,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,r=this._panKeys={},o=this.keyCodes;for(t=0,n=o.left.length;t0&&e.screenY>0&&this._map.getContainer().focus()}}),u.control=function(e){return new u.Control(e)},u.Map.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){function e(e,o){var a=n+e+" "+n+o;t[e+o]=u.DomUtil.create("div",a,r)}var t=this._controlCorners={},n="leaflet-",r=this._controlContainer=u.DomUtil.create("div",n+"control-container",this._container);e("top","left"),e("top","right"),e("bottom","left"),e("bottom","right")},_clearControlPos:function(){u.DomUtil.remove(this._controlContainer)}}),u.Control.Zoom=u.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=u.DomUtil.create("div",t+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,o){var a=u.DomUtil.create("a",n,r);return a.innerHTML=e,a.href="#",a.title=t,a.setAttribute("role","button"),a.setAttribute("aria-label",t),u.DomEvent.on(a,"mousedown dblclick",u.DomEvent.stopPropagation).on(a,"click",u.DomEvent.stop).on(a,"click",o,this).on(a,"click",this._refocusOnMap,this),a},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";u.DomUtil.removeClass(this._zoomInButton,t),u.DomUtil.removeClass(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMinZoom())&&u.DomUtil.addClass(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMaxZoom())&&u.DomUtil.addClass(this._zoomInButton,t)}}),u.Map.mergeOptions({zoomControl:!0}),u.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new u.Control.Zoom,this.addControl(this.zoomControl))}),u.control.zoom=function(e){return new u.Control.Zoom(e)},u.Control.Attribution=u.Control.extend({options:{position:"bottomright",prefix:'
Leaflet'},initialize:function(e){u.setOptions(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=u.DomUtil.create("div","leaflet-control-attribution"),u.DomEvent&&u.DomEvent.disableClickPropagation(this._container);for(var t in e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--, -this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(" | ")}}}),u.Map.mergeOptions({attributionControl:!0}),u.Map.addInitHook(function(){this.options.attributionControl&&(new u.Control.Attribution).addTo(this)}),u.control.attribution=function(e){return new u.Control.Attribution(e)},u.Control.Scale=u.Control.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=u.DomUtil.create("div",t),r=this.options;return this._addScales(r,t+"-line",n),e.on(r.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=u.DomUtil.create("div",t,n)),e.imperial&&(this._iScale=u.DomUtil.create("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,r,o=3.2808399*e;o>5280?(t=o/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(r=this._getRoundNum(o),this._updateScale(this._iScale,r+" ft",r/o))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}}),u.control.scale=function(e){return new u.Control.Scale(e)},u.Control.Layers=u.Control.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(u.stamp(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='",r=i.createElement("div");return r.innerHTML=n,r.firstChild},_addItem:function(e){var t,n=i.createElement("label"),r=this._map.hasLayer(e.layer);e.overlay?(t=i.createElement("input"),t.type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=r):t=this._createRadioElement("leaflet-base-layers",r),t.layerId=u.stamp(e.layer),u.DomEvent.on(t,"click",this._onInputClick,this);var o=i.createElement("span");o.innerHTML=" "+e.name;var a=i.createElement("div");n.appendChild(a),a.appendChild(t),a.appendChild(o);var s=e.overlay?this._overlaysList:this._baseLayersList;return s.appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var e,t,n,r=this._form.getElementsByTagName("input"),o=[],a=[];this._handlingClick=!0;for(var i=r.length-1;i>=0;i--)e=r[i],t=this._getLayer(e.layerId).layer,n=this._map.hasLayer(t),e.checked&&!n?o.push(t):!e.checked&&n&&a.push(t);for(i=0;i=0;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.disabled=t.options.minZoom!==s&&rt.options.maxZoom},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),u.control.layers=function(e,t,n){return new u.Control.Layers(e,t,n)}}(window,document)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(321),a=n(1500),i=r(a);t.default=o.PropTypes.arrayOf(i.default)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(321);t.default=r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.number),r.PropTypes.shape({lat:r.PropTypes.number,lng:r.PropTypes.number}),r.PropTypes.shape({lat:r.PropTypes.number,lon:r.PropTypes.number})])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(321);t.default=r.PropTypes.oneOfType([r.PropTypes.arrayOf(r.PropTypes.node),r.PropTypes.node])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(321);t.default=r.PropTypes.oneOf(["topleft","topright","bottomleft","bottomright"])},function(e,t,n){"use strict";t.__esModule=!0;var r=n(321);t.default=r.PropTypes.shape({addLayer:r.PropTypes.func.isRequired,removeLayer:r.PropTypes.func.isRequired})},function(e,t,n){"use strict";t.__esModule=!0;var r=n(1498),o=n(321);t.default=o.PropTypes.instanceOf(r.Map)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1501),d=r(f),p=n(1500),h=r(p),m=n(1508),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.center,n=e.radius,r=a(e,["center","radius"]);return(0,u.circle)(t,n,this.getOptions(r))},t.prototype.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(g.default);v.propTypes={center:h.default.isRequired,children:d.default,radius:c.PropTypes.number.isRequired},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.leafletElement.setStyle(e)},t.prototype.setStyleIfChanged=function(e,t){var n=this.getPathOptions(t);(0,f.default)(n,this.getPathOptions(e))||this.setStyle(n)},t}(g.default);y.childContextTypes={children:h.default,popupContainer:d.PropTypes.object},t.default=y},function(e,t,n){var r=n(1510),o=n(976),a=o(function(e,t){return null==e?{}:r(e,t)});e.exports=a},function(e,t,n){function r(e,t){return o(e,t,function(t,n){return a(e,n)})}var o=n(1445),a=n(714);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.leafletElement;if(!n||!n.on)return{};var r=(0,m.default)(t);return(0,p.default)(t,function(t,o){e[o]&&t===e[o]||(delete r[o],n.off(o,t))}),(0,p.default)(e,function(e,o){t[o]&&e===t[o]||(r[o]=e,n.on(o,e))}),r},t.prototype.fireLeafletEvent=function(e,t){var n=this.leafletElement;n&&n.fire(e,t)},t.prototype.getOptions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pane||this.context.pane;return t?g({},e,{pane:t}):e},t}(v.Component);t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1501),d=r(f),p=n(1500),h=r(p),m=n(1508),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.center,n=a(e,["center"]);return(0,u.circleMarker)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(g.default);v.propTypes={center:h.default.isRequired,children:d.default,radius:c.PropTypes.number},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(604),c=r(u),f=n(1498),d=n(321),p=n(1501),h=r(p),m=n(1508),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.data,n=a(e,["data"]);return(0,f.geoJSON)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){(0,c.default)(t.style)?this.setStyle(t.style):this.setStyleIfChanged(e,t)},t}(g.default);v.propTypes={children:h.default,data:d.PropTypes.oneOfType([d.PropTypes.array,d.PropTypes.object]).isRequired},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1497),d=r(f),p=n(1501),h=r(p),m=n(1511),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.getChildContext=function(){return{popupContainer:this.leafletElement}},t.prototype.createLeafletElement=function(e){var t=e.bounds,n=e.url,r=a(e,["bounds","url"]);return(0,u.imageOverlay)(n,t,this.getOptions(r))},t.prototype.updateLeafletElement=function(e,t){t.url!==e.url&&this.leafletElement.setUrl(t.url),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity)},t}(g.default);v.propTypes={attribution:c.PropTypes.string,bounds:d.default.isRequired,children:h.default,opacity:c.PropTypes.number,url:c.PropTypes.string.isRequired},v.childContextTypes={popupContainer:c.PropTypes.object},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r2&&void 0!==arguments[2]&&arguments[2];n&&this.context.map.addLayer(e),this.leafletElement.addBaseLayer(e,t)},t.prototype.addOverlay=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2]; -n&&this.context.map.addLayer(e),this.leafletElement.addOverlay(e,t)},t.prototype.removeLayer=function(e){this.context.map.removeLayer(e)},t.prototype.removeLayerControl=function(e){this.leafletElement.removeLayer(e)},t.prototype.render=function(){var e=this,t=c.Children.map(this.props.children,function(t){return t?(0,c.cloneElement)(t,e.controlProps):null});return f.default.createElement("div",{style:{display:"none"}},t)},t}(x.default);T.propTypes={baseLayers:c.PropTypes.object,children:p.default,overlays:c.PropTypes.object,position:m.default},T.contextTypes={layerContainer:v.default,map:b.default},t.default=T,T.BaseLayer=C,T.Overlay=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=(r(c),n(1501)),d=r(f),p=n(1500),h=r(p),m=n(1511),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.getChildContext=function(){return{popupContainer:this.leafletElement}},t.prototype.createLeafletElement=function(e){var t=e.position,n=a(e,["position"]);return(0,u.marker)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setLatLng(t.position),t.icon!==e.icon&&this.leafletElement.setIcon(t.icon),t.zIndexOffset!==e.zIndexOffset&&this.leafletElement.setZIndexOffset(t.zIndexOffset),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity),t.draggable!==e.draggable&&(t.draggable?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable())},t.prototype.render=function(){return this.props.children||null},t}(g.default);v.propTypes={children:d.default,icon:c.PropTypes.instanceOf(u.Icon),opacity:c.PropTypes.number,position:h.default.isRequired,zIndexOffset:c.PropTypes.number},v.childContextTypes={popupContainer:c.PropTypes.object},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:r.props,t=e.style,n=e.className,o=r.getPane(r.state.name);o&&(n&&o.classList.add(n),t&&(0,p.default)(t,function(e,t){o.style[t]=e}))},o=n,i(r,o)}return s(t,e),t.prototype.getChildContext=function(){return{pane:this.state.name}},t.prototype.componentDidMount=function(){this.createPane(this.props)},t.prototype.componentWillReceiveProps=function(e){if(this.state.name)if(e.name!==this.props.name)this.removePane(),this.createPane(e);else{if(this.props.className&&e.className!==this.props.className){var t=this.getPane();t&&t.classList.remove(this.props.className)}this.setStyle(e)}},t.prototype.componentWillUnmount=function(){this.removePane()},t.prototype.createPane=function(e){var t=this.context.map,n=e.name||"pane-"+(0,u.default)();if(t&&t.createPane){var r=_(n),o=r||this.getPane(n);if(o);else t.createPane(n,this.getParentPane());this.setState({name:n},this.setStyle)}},t.prototype.removePane=function(){var e=this.state.name;if(e){var t=this.getPane(e);t&&t.remove&&t.remove();var n=this.context.map;n&&n._panes&&(n._panes=(0,f.default)(n._panes,e),n._paneRenderers=(0,f.default)(n._paneRenderers,e)),this.setState({name:void 0})}},t.prototype.getParentPane=function(){return this.getPane(this.props.pane||this.context.pane)},t.prototype.getPane=function(e){return e?this.context.map.getPane(e):void 0},t.prototype.render=function(){return this.state.name?m.default.createElement("div",{style:w},this.props.children):null},t}(h.Component);C.propTypes={name:h.PropTypes.string,children:y.default,map:A.default,className:h.PropTypes.string,style:h.PropTypes.object,pane:h.PropTypes.string},C.contextTypes={map:A.default,pane:h.PropTypes.string},C.childContextTypes={pane:h.PropTypes.string},t.default=C},function(e,t,n){function r(e){var t=++a;return o(e)+t}var o=n(711),a=0;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1501),d=r(f),p=n(1499),h=r(p),m=n(1508),g=r(m),v=c.PropTypes.arrayOf(h.default),y=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.positions,n=a(e,["positions"]);return(0,u.polygon)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){t.positions!==e.positions&&this.leafletElement.setLatLngs(t.positions),this.setStyleIfChanged(e,t)},t}(g.default);y.propTypes={children:d.default,popupContainer:c.PropTypes.object,positions:c.PropTypes.oneOfType([h.default,v,c.PropTypes.arrayOf(v)]).isRequired},t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1501),d=r(f),p=n(1499),h=r(p),m=n(1508),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.positions,n=a(e,["positions"]);return(0,u.polyline)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){t.positions!==e.positions&&this.leafletElement.setLatLngs(t.positions),this.setStyleIfChanged(e,t)},t}(g.default);v.propTypes={children:d.default,positions:c.PropTypes.oneOfType([h.default,c.PropTypes.arrayOf(h.default)]).isRequired},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(348),d=n(1500),p=r(d),h=n(1504),m=r(h),g=n(1512),v=r(g),y=function(e){function t(){var n,r,o;i(this,t);for(var a=arguments.length,l=Array(a),u=0;u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1497),d=r(f),p=n(1501),h=r(p),m=n(1508),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.bounds,n=a(e,["bounds"]);return(0,u.rectangle)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){t.bounds!==e.bounds&&this.leafletElement.setBounds(t.bounds),this.setStyleIfChanged(e,t)},t}(g.default);v.propTypes={children:h.default,bounds:d.default.isRequired,popupContainer:c.PropTypes.object},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(1501),d=r(f),p=n(1516),h=r(p),m=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.url,n=a(e,["url"]);return(0,u.tileLayer)(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){t.url!==e.url&&this.leafletElement.setUrl(t.url)},t}(h.default);m.propTypes={children:d.default,opacity:c.PropTypes.number,url:c.PropTypes.string.isRequired,zIndex:c.PropTypes.number},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(1498),c=n(321),f=n(348),d=n(1504),p=r(d),h=n(1512),m=r(h),g=function(e){function t(){var n,r,o;i(this,t);for(var a=arguments.length,l=Array(a),u=0;u=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}t.__esModule=!0;var u=n(732),c=r(u),f=n(1498),d=n(321),p=n(1501),h=r(p),m=n(1516),g=r(m),v=function(e){function t(){return i(this,t),s(this,e.apply(this,arguments))}return l(t,e),t.prototype.createLeafletElement=function(e){var t=e.url,n=a(e,["url"]);return f.tileLayer.wms(t,this.getOptions(n))},t.prototype.updateLeafletElement=function(e,t){var n=e.url,r=(e.opacity,e.zIndex,a(e,["url","opacity","zIndex"])),o=t.url,i=(t.opacity,t.zIndex,a(t,["url","opacity","zIndex"]));o!==n&&this.leafletElement.setUrl(o),(0,c.default)(i,r)||this.leafletElement.setParams(i)},t}(g.default);v.propTypes={children:h.default,opacity:d.PropTypes.number,url:d.PropTypes.string.isRequired,zIndex:d.PropTypes.number},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r0},_countLoaders:function(){var e,t=0;for(e in this._dataLoaders)this._dataLoaders.hasOwnProperty(e)&&t++;return t},_showIndicator:function(){e.DomUtil.addClass(this._indicator,"is-loading"),this.options.separate||(this.zoomControl instanceof e.Control.Zoom?e.DomUtil.removeClass(this._getLastControlButton(),"leaflet-bar-part-bottom"):"function"==typeof e.Control.Zoomslider&&this.zoomControl instanceof e.Control.Zoomslider&&e.DomUtil.removeClass(this.zoomControl._ui.zoomOut,"leaflet-bar-part-bottom"))},_hideIndicator:function(){e.DomUtil.removeClass(this._indicator,"is-loading"),this.options.separate||(this.zoomControl instanceof e.Control.Zoom?e.DomUtil.addClass(this._getLastControlButton(),"leaflet-bar-part-bottom"):"function"==typeof e.Control.Zoomslider&&this.zoomControl instanceof e.Control.Zoomslider&&e.DomUtil.addClass(this.zoomControl._ui.zoomOut,"leaflet-bar-part-bottom"))},_getLastControlButton:function(){for(var e=this.zoomControl._container,t=e.children.length-1;t>0;){var n=e.children[t];if(this._indicator!==n&&0!==n.offsetWidth&&0!==n.offsetHeight)break;t--}return e.children[t]},_handleLoading:function(e){this.addLoader(this.getEventId(e))},_handleLoad:function(e){this.removeLoader(this.getEventId(e))},getEventId:function(e){return e.id?e.id:e.layer?e.layer._leaflet_id:e.target._leaflet_id},_layerAdd:function(e){if(e.layer&&e.layer.on){try{e.layer.on({loading:this._handleLoading,load:this._handleLoad},this)}catch(t){i.warn("L.Control.Loading: Tried and failed to add event handlers to layer",e.layer),i.warn("L.Control.Loading: Full details",t)}e.layer._loading&&this._handleLoading({type:"loading",target:e.layer})}},_layerRemove:function(e){if(e.layer&&e.layer.off)try{e.layer.off({loading:this._handleLoading,load:this._handleLoad},this)}catch(t){i.warn("L.Control.Loading: Tried and failed to remove event handlers from layer",e.layer),i.warn("L.Control.Loading: Full details",t)}},_addLayerListeners:function(e){e.eachLayer(function(e){e.on&&e.on({loading:this._handleLoading,load:this._handleLoad},this)},this),e.on("layeradd",this._layerAdd,this),e.on("layerremove",this._layerRemove,this)},_removeLayerListeners:function(e){e.eachLayer(function(e){e.off&&e.off({loading:this._handleLoading,load:this._handleLoad},this)},this),e.off("layeradd",this._layerAdd,this),e.off("layerremove",this._layerRemove,this)},_addMapListeners:function(e){e.on({baselayerchange:this._handleLoading,dataloading:this._handleLoading,dataload:this._handleLoad,layerremove:this._handleLoad},this)},_removeMapListeners:function(e){e.off({baselayerchange:this._handleLoading,dataloading:this._handleLoading,dataload:this._handleLoad,layerremove:this._handleLoad},this)}}),e.Map.addInitHook(function(){this.options.loadingControl&&(this.loadingControl=new e.Control.Loading,this.addControl(this.loadingControl))}),e.Control.loading=function(t){return new e.Control.Loading(t)}}var i=window.console||{error:function(){},warn:function(){}};r=[n(1498)],o=function(e){a(e)}.apply(t,r),!(void 0!==o&&(e.exports=o))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;tOpenStreetMap contributors',ext:"png",maxZoom:17,minZoom:0,url:location.protocol+"//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}},render:function(){var e=this.props,t=e.attribution,n=e.bounds,r=e.ext,a=e.format,l=e.maxNativeZoom,u=e.maxZoom,c=e.minZoom,f=e.opacity,d=e.tms,p=e.url,h=e.variant,m=e.zIndex,g={};return void 0!==l&&(g.maxNativeZoom=l),i.default.createElement(s.TileLayer,o({},g,{attribution:t,bounds:n,children:void 0,detectRetinea:"true",ext:r,format:a,key:JSON.stringify({attribution:t,maxNativeZoom:l,maxZoom:u,minZoom:c,variant:h}),maxZoom:u,minZoom:c,opacity:f,reuseTiles:"true",tms:d,url:p,variant:h,zIndex:m}))}});t.default=c},function(e,t,n){var r=n(1537);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform;transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:hsla(0,0%,100%,.5)}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url("+n(1538)+");width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url("+n(1539)+");background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers-expanded .leaflet-control-layers-toggle,.leaflet-control-layers .leaflet-control-layers-list{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url("+n(1540)+')}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;box-sizing:border-box;background:#fff;background:hsla(0,0%,100%,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;border:none;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}',""])},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC"},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII="},function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},function(e,t,n){var r=n(1542);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,".leaflet-control-loading:empty{background-image:url(data:image/gif;base64,R0lGODlhEAAQAPQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQACgACACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhqtMJg8DgQBgfrEsJAEAg4YhZIEiwgKtHiMBgtpg3wbUZXGO7kOb1MUKRFMysCChAoggJCIg0GC2aNe4gqQldfL4l/Ag1AXySJgn5LcoE3QXI3IQAh+QQACgADACwAAAAAEAAQAAAFdiAgAgLZNGU5joQhCEjxIssqEo8bC9BRjy9Ag7GILQ4QEoE0gBAEBcOpcBA0DoxSK/e8LRIHn+i1cK0IyKdg0VAoljYIg+GgnRrwVS/8IAkICyosBIQpBAMoKy9dImxPhS+GKkFrkX+TigtLlIyKXUF+NjagNiEAIfkEAAoABAAsAAAAABAAEAAABWwgIAICaRhlOY4EIgjH8R7LKhKHGwsMvb4AAy3WODBIBBKCsYA9TjuhDNDKEVSERezQEL0WrhXucRUQGuik7bFlngzqVW9LMl9XWvLdjFaJtDFqZ1cEZUB0dUgvL3dgP4WJZn4jkomWNpSTIyEAIfkEAAoABQAsAAAAABAAEAAABX4gIAICuSxlOY6CIgiD8RrEKgqGOwxwUrMlAoSwIzAGpJpgoSDAGifDY5kopBYDlEpAQBwevxfBtRIUGi8xwWkDNBCIwmC9Vq0aiQQDQuK+VgQPDXV9hCJjBwcFYU5pLwwHXQcMKSmNLQcIAExlbH8JBwttaX0ABAcNbWVbKyEAIfkEAAoABgAsAAAAABAAEAAABXkgIAICSRBlOY7CIghN8zbEKsKoIjdFzZaEgUBHKChMJtRwcWpAWoWnifm6ESAMhO8lQK0EEAV3rFopIBCEcGwDKAqPh4HUrY4ICHH1dSoTFgcHUiZjBhAJB2AHDykpKAwHAwdzf19KkASIPl9cDgcnDkdtNwiMJCshACH5BAAKAAcALAAAAAAQABAAAAV3ICACAkkQZTmOAiosiyAoxCq+KPxCNVsSMRgBsiClWrLTSWFoIQZHl6pleBh6suxKMIhlvzbAwkBWfFWrBQTxNLq2RG2yhSUkDs2b63AYDAoJXAcFRwADeAkJDX0AQCsEfAQMDAIPBz0rCgcxky0JRWE1AmwpKyEAIfkEAAoACAAsAAAAABAAEAAABXkgIAICKZzkqJ4nQZxLqZKv4NqNLKK2/Q4Ek4lFXChsg5ypJjs1II3gEDUSRInEGYAw6B6zM4JhrDAtEosVkLUtHA7RHaHAGJQEjsODcEg0FBAFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAAKAAkALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQACgAKACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQACgALACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==);background-repeat:no-repeat}.leaflet-control-loading,.leaflet-control-zoom a.leaflet-control-loading,.leaflet-control-zoomslider a.leaflet-control-loading{display:none}.leaflet-control-loading.is-loading,.leaflet-control-zoom a.leaflet-control-loading.is-loading,.leaflet-control-zoomslider a.leaflet-control-loading.is-loading{display:block}.leaflet-bar-part-bottom{border-bottom:medium none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;tD?D=w[I][0].value:D;var L=Math.sqrt(2*Math.pow(te/2,2));h.push({clusterType:"histogram",chartDataTable:u,key:b,lat:c[b][0].lat,lng:c[b][0].lng,originalRadius:L,chartData:M,table:u,primKey:c[b][0].primKey,colourScaleFunction:(0,H.scaleColour)([S,D]),latProperty:c[b][0].latProperty,lngProperty:c[b][0].lngProperty,originalLat:c[b][0].originalLat,originalLng:c[b][0].originalLng})}else{var N=[];for(var F in w)N.push({name:w[F].length+" "+this.config.tablesById[u].namePlural+"\n"+w[F].map(function(e){return e.title}).join(", "),value:w[F].length,color:w[F][0].valueAsColour});h.push({clusterType:"pieChart",chartDataTable:u,key:b,lat:c[b][0].lat,lng:c[b][0].lng,originalRadius:Math.sqrt(c[b].length),chartData:N,table:u,primKey:c[b][0].primKey,count:c[b].length,latProperty:c[b][0].latProperty,lngProperty:c[b][0].lngProperty,originalLat:c[b][0].originalLat,originalLng:c[b][0].originalLng})}}}if(!(h.length>0))return l.default.createElement(B.default,{children:p,layerContainer:r,map:a});var R=function(){var t=a.getSize(),o=a.getBounds(),i=t.x*t.y,c=(0,y.default)((0,_.default)((0,A.default)(h,function(e){var t=e.lat,n=e.lng;return o.contains([t,n])}),function(e){return e.originalRadius*e.originalRadius*2*Math.PI})),f=e.lastLengthRatio||1;return c>0&&(f=Math.sqrt(.15/(c/i))),e.lastLengthRatio=f,(0,C.default)(h,function(e){return e.radius=e.originalRadius*f}),{v:l.default.createElement(B.default,{layerContainer:r,map:a},l.default.createElement(W.default,{nodes:h},function(t){return l.default.createElement(B.default,{layerContainer:r,map:a},t.map(function(t,r){var o=t.radius>ne?t.radius:ne,a=l.default.createElement("svg",{style:{overflow:"visible"},width:o,height:o},l.default.createElement("g",{className:"panoptes-cluster-bubble",style:{fill:t.valueAsColour}},l.default.createElement("title",null,t.title),l.default.createElement("circle",{cx:"0",cy:"0",r:o}),l.default.createElement("text",{x:"0",y:"0",textAnchor:"middle",alignmentBaseline:"middle",fontSize:"10"},t.count)));if("pieChart"===t.clusterType)a=l.default.createElement(Y.default,{chartData:t.chartData,crs:n,hideValues:!0,lat:t.lat,lng:t.lng,originalLat:t.originalLat,originalLng:t.originalLng,radius:t.radius,faceText:t.count});else if("histogram"===t.clusterType){var i=2*Math.sqrt(Math.pow(t.radius,2)/2);a=l.default.createElement($.default,{chartData:t.chartData,width:i,height:i,radius:t.radius,lat:t.lat,lng:t.lng,originalLat:t.originalLat,originalLng:t.originalLng,unitNameSingle:e.config.tablesById[u].nameSingle,unitNamePlural:e.config.tablesById[u].namePlural,valueName:e.config.tablesById[u].propertiesById[s].name,colourScaleFunction:t.colourScaleFunction})}var c={table:t.table,originalLat:t.originalLat,originalLng:t.originalLng,latProperty:t.latProperty,lngProperty:t.lngProperty};return l.default.createElement(O.default,{key:"ComponentMarker_"+r,position:{lat:t.lat,lng:t.lng},onClick:function(t){return e.handleClickClusterMarker(t,c)},zIndexOffset:0},a)}).concat(t.map(function(e,t){return l.default.createElement(V.default,{className:"panoptes-table-markers-layer-polyline",key:"Polyline_"+t,positions:[[e.lat,e.lng],[e.fixedNode.lat,e.fixedNode.lng]]})})))}),l.default.createElement(B.default,{children:p,layerContainer:r,map:a}))}}();return"object"===("undefined"==typeof R?"undefined":o(R))?R.v:void 0}});t.default=re},function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||f(e)||i(e)))return!e.length;var t=a(e);if(t==d||t==p)return!e.size;if(c(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=n(626),a=n(695),i=n(616),s=n(607),l=n(603),u=n(618),c=n(627),f=n(622),d="[object Map]",p="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){if(null==e)return 0;if(i(e))return s(e)?l(e):e.length;var t=a(e);return t==u||t==c?e.size:o(e).length}var o=n(626),a=n(695),i=n(603),s=n(606),l=n(1546),u="[object Map]",c="[object Set]";e.exports=r},function(e,t,n){function r(e){return a(e)?i(e):o(e)}var o=n(1547),a=n(1393),i=n(1548);e.exports=r},function(e,t,n){var r=n(719),o=r("length");e.exports=o},function(e,t){function n(e){for(var t=_.lastIndex=0;_.test(e);)++t;return t}var r="\\ud800-\\udfff",o="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=o+a+i,l="\\ufe0e\\ufe0f",u="["+r+"]",c="["+s+"]",f="\\ud83c[\\udffb-\\udfff]",d="(?:"+c+"|"+f+")",p="[^"+r+"]",h="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",g="\\u200d",v=d+"?",y="["+l+"]?",b="(?:"+g+"(?:"+[p,h,m].join("|")+")"+y+v+")*",A=y+v+b,x="(?:"+[p+c+"?",c,h,m,u].join("|")+")",_=RegExp(f+"(?="+f+")|"+x+A,"g");e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=window.L,n=void 0;if(void 0!==e&&e.length>=1){var r=t.latLng((0,i.default)(e,function(e){return e.lat}).lat,(0,l.default)(e,function(e){return e.lng}).lng),o=t.latLng((0,l.default)(e,function(e){return e.lat}).lat,(0,i.default)(e,function(e){return e.lng}).lng);n=t.latLngBounds(r,o)}return n}var a=n(1550),i=r(a),s=n(1551),l=r(s);e.exports={calcMapBounds:o}},function(e,t,n){function r(e,t){return e&&e.length?o(e,i(t,2),a):void 0}var o=n(1025),a=n(1026),i=n(638);e.exports=r},function(e,t,n){function r(e,t){return e&&e.length?o(e,a(t,2),i):void 0}var o=n(1025),a=n(638),i=n(1238);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1553),s=r(i),l=n(728),u=r(l),c=a.default.createClass({ -displayName:"ComponentMarker",mixins:[u.default],contextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},propTypes:{children:a.default.PropTypes.node,onClick:a.default.PropTypes.func,position:a.default.PropTypes.object,title:a.default.PropTypes.string,alt:a.default.PropTypes.string,layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object,opacity:a.default.PropTypes.number,zIndexOffset:a.default.PropTypes.number,fillColour:a.default.PropTypes.string,iconColour:a.default.PropTypes.string},childContextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},getDefaultProps:function(){return{fillColour:"#ff4081",iconColour:"white"}},handleClick:function(e){this.props.onClick(e)},render:function(){var e=this,t=this.props,n=t.alt,r=t.children,o=t.fillColour,i=t.iconColour,l=t.onClick,u=t.opacity,c=t.position,f=t.title,d=t.zIndexOffset;return void 0===n&&void 0!==f&&(n=f),void 0===r&&(r=a.default.createElement("svg",{style:{overflow:"visible",width:"25px",height:"25px"},viewBox:"0 0 24 24"},a.default.createElement("g",{transform:"translate(-6, -14)"},a.default.createElement("g",{transform:"scale(0.4) translate(18, 10)"},a.default.createElement("path",{fill:i,d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"})),a.default.createElement("path",{fill:o,d:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z",stroke:"black",strokeWidth:"1"})))),a.default.createElement(s.default,{alt:n,className:null,onClick:function(t){return l(t,e)},opacity:u,position:c,title:f,iconSize:0,zIndexOffset:d},a.default.Children.only(r))}});t.default=c},function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;td+s||rh+s||of.index){var l=d-a.x-a.vx,c=h-a.y-a.vy,v=l*l+c*c;ve.r&&(e.r=e[t].r)}function o(){if(s){var t,n,r=s.length;for(l=new Array(r),t=0;t1?(null==t?h.remove(e):h.set(e,s(t)),l):h.get(e)},find:function(t,n,r){var o,a,i,s,l,u=0,c=e.length;for(null==r?r=1/0:r*=r,u=0;u1?(y.on(e,t),l):y.on(e)}}},b=function(){function e(e){var n,l=a.length,f=t.quadtree(a,u,c).visitAfter(r);for(s=e,n=0;n=m)){(e.data!==i||e.next)&&(0===o&&(o=p(),c+=o*o),0===a&&(a=p(),c+=a*a),c=(a=(m+v)/2))?m=a:v=a,(c=n>=(i=(g+y)/2))?g=i:y=i,o=p,!(p=p[f=c<<1|u]))return o[f]=h,e;if(s=+e._x.call(null,p.data),l=+e._y.call(null,p.data),t===s&&n===l)return h.next=p,o?o[f]=h:e._root=h,e;do o=o?o[f]=new Array(4):e._root=new Array(4),(u=t>=(a=(m+v)/2))?m=a:v=a,(c=n>=(i=(g+y)/2))?g=i:y=i;while((f=c<<1|u)===(d=(l>=i)<<1|s>=a));return o[d]=p,o[f]=h,e}function n(e){var n,r,o,a,i=e.length,s=new Array(i),l=new Array(i),u=1/0,c=1/0,f=-(1/0),d=-(1/0);for(r=0;rf&&(f=o),ad&&(d=a));for(fe||e>o||r>t||t>a))return this;var i,s,l=o-n,u=this._root;switch(s=(t<(r+a)/2)<<1|e<(n+o)/2){case 0:do i=new Array(4),i[s]=u,u=i;while(l*=2,o=n+l,a=r+l,e>o||t>a);break;case 1:do i=new Array(4),i[s]=u,u=i;while(l*=2,n=o-l,a=r+l,n>e||t>a);break;case 2:do i=new Array(4),i[s]=u,u=i;while(l*=2,o=n+l,r=a-l,e>o||r>t);break;case 3:do i=new Array(4),i[s]=u,u=i;while(l*=2,n=o-l,r=a-l,n>e||r>t)}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=o,this._y1=a,this},f=function(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e},d=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},p=function(e,t,n,r,o){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=o},h=function(e,t,n){var r,o,a,i,s,l,u,c=this._x0,f=this._y0,d=this._x1,h=this._y1,m=[],g=this._root;for(g&&m.push(new p(g,c,f,d,h)),null==n?n=1/0:(c=e-n,f=t-n,d=e+n,h=t+n,n*=n);l=m.pop();)if(!(!(g=l.node)||(o=l.x0)>d||(a=l.y0)>h||(i=l.x1)=y)<<1|e>=v)&&(l=m[m.length-1],m[m.length-1]=m[m.length-1-u],m[m.length-1-u]=l)}else{var b=e-+this._x.call(null,g.data),A=t-+this._y.call(null,g.data),x=b*b+A*A;if(x=(s=(h+g)/2))?h=s:g=s,(c=i>=(l=(m+v)/2))?m=l:v=l,t=p,!(p=p[f=c<<1|u]))return this;if(!p.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,d=f)}for(;p.data!==e;)if(r=p,!(p=p.next))return this;return(o=p.next)&&delete p.next,r?(o?r.next=o:delete r.next,this):t?(o?t[f]=o:delete t[f],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[d]=p:this._root=p),this):(this._root=o,this)},g=function(){return this._root},v=function(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e},y=function(e){var t,n,r,o,a,i,s=[],l=this._root;for(l&&s.push(new p(l,this._x0,this._y0,this._x1,this._y1));t=s.pop();)if(!e(l=t.node,r=t.x0,o=t.y0,a=t.x1,i=t.y1)&&l.length){var u=(r+a)/2,c=(o+i)/2;(n=l[3])&&s.push(new p(n,u,c,a,i)),(n=l[2])&&s.push(new p(n,r,c,u,i)),(n=l[1])&&s.push(new p(n,u,o,a,c)),(n=l[0])&&s.push(new p(n,r,o,u,c))}return this},b=function(e){var t,n=[],r=[];for(this._root&&n.push(new p(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var o=t.node;if(o.length){var a,i=t.x0,s=t.y0,l=t.x1,u=t.y1,c=(i+l)/2,f=(s+u)/2;(a=o[0])&&n.push(new p(a,i,s,c,f)),(a=o[1])&&n.push(new p(a,c,s,l,f)),(a=o[2])&&n.push(new p(a,i,f,c,u)),(a=o[3])&&n.push(new p(a,c,f,l,u))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},A=function(e){return arguments.length?(this._x=e,this):this._x},x=function(e){return arguments.length?(this._y=e,this):this._y},_=i.prototype=s.prototype;_.copy=function(){var e,t,n=new s(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=l(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var o=0;o<4;++o)(t=r.source[o])&&(t.length?e.push({source:t,target:r.target[o]=new Array(4)}):r.target[o]=l(t));return n},_.add=u,_.addAll=n,_.cover=c,_.data=f,_.extent=d,_.find=h,_.remove=m,_.removeAll=r,_.root=g,_.size=v,_.visit=y,_.visitAfter=b,_.x=A,_.y=x,e.quadtree=i,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){!function(e,n){n(t)}(this,function(e){"use strict";function t(){for(var e,t=0,r=arguments.length,o={};t=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}})}function o(e,t){for(var n,r=0,o=e.length;r0)for(var n,r,o=new Array(n),a=0;a=0&&n._call.call(null,e),n=n._next;--d}function i(){v=(g=b.now())+y,d=p=0;try{a()}finally{d=0,l(),v=0}}function s(){var e=b.now(),t=e-g;t>m&&(y-=t,g=e)}function l(){for(var e,t,n=c,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:c=t);f=e,u(r)}function u(e){if(!d){p&&(p=clearTimeout(p));var t=e-v;t>24?(e<1/0&&(p=setTimeout(i,t)),h&&(h=clearInterval(h))):(h||(g=v,h=setInterval(s,m)),d=1,A(i))}}var c,f,d=0,p=0,h=0,m=1e3,g=0,v=0,y=0,b="object"==typeof performance&&performance.now?performance:Date,A="function"==typeof requestAnimationFrame?requestAnimationFrame:function(e){setTimeout(e,17)};r.prototype=o.prototype={constructor:r,restart:function(e,n,r){if("function"!=typeof e)throw new TypeError("callback is not a function");r=(null==r?t():+r)+(null==n?0:+n),this._next||f===this||(f?f._next=this:c=this,f=this),this._call=e,this._time=r,u()},stop:function(){this._call&&(this._call=null,this._time=1/0,u())}};var x=function(e,t,n){var o=new r;return t=null==t?0:+t,o.restart(function(n){o.stop(),e(n+t)},t,n),o},_=function(e,n,o){var a=new r,i=n;return null==n?(a.restart(e,n,o),a):(n=+n,o=null==o?t():+o,a.restart(function t(r){r+=i,a.restart(t,i+=n,o),e(r)},n,o),a)};e.now=t,e.timer=o,e.timerFlush=a,e.timeout=x,e.interval=_,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1495),s=n(728),l=r(s),u=a.default.createClass({displayName:"Polyline",mixins:[l.default],propTypes:{positions:a.default.PropTypes.array},render:function(){return a.default.createElement(i.Polyline,this.props)}});t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1562),a=n(321),i=r(a),s=n(722),l=r(s),u=n(728),c=r(u),f=n(1564),d=r(f),p=i.default.createClass({displayName:"PieChart",mixins:[l.default,c.default],propTypes:{chartData:i.default.PropTypes.array,map:i.default.PropTypes.object,lat:i.default.PropTypes.number,lng:i.default.PropTypes.number,name:i.default.PropTypes.string,originalLat:i.default.PropTypes.number,originalLng:i.default.PropTypes.number,radius:i.default.PropTypes.number,hideValues:i.default.PropTypes.bool},getDefaultProps:function(){return{hideValues:!1,name:"",residualFractionName:"Other",radius:5,faceText:""}},render:function(){for(var e=this.props,t=e.chartData,n=e.hideValues,r=e.name,a=e.radius,s=e.faceText,l=[],u=[],c=0,f=t.length;c=1?Q:e<=-1?-Q:Math.asin(e)}function l(e,t,n,r,o,a,i,s){var l=n-e,u=r-t,c=i-o,f=s-a,d=(c*(t-a)-f*(e-o))/(f*l-c*u);return[e+d*l,t+d*u]}function u(e,t,n,r,o,a,i){var s=e-n,l=t-r,u=(i?a:-a)/Math.sqrt(s*s+l*l),c=u*l,f=-u*s,d=e+c,p=t+f,h=n+c,m=r+f,g=(d+h)/2,v=(p+m)/2,y=h-d,b=m-p,A=y*y+b*b,x=o-a,_=d*m-h*p,w=(b<0?-1:1)*Math.sqrt(Math.max(0,x*x*A-_*_)),C=(_*b-y*w)/A,E=(-_*y-b*w)/A,T=(_*b+y*w)/A,k=(-_*y+b*w)/A,P=C-g,M=E-v,S=T-g,D=k-v;return P*P+M*M>S*S+D*D&&(C=T,E=k),{cx:C,cy:E,x01:-c,y01:-f,x11:C*(o/x-1),y11:E*(o/x-1)}}function c(e){this._context=e}function f(e){return e[0]}function d(e){return e[1]}function p(e){this._curve=e}function h(e){function t(t){return new p(e(t))}return t._curve=e,t}function m(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(h(e)):t()._curve},e}function g(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function v(e){this._context=e}function y(e){this._context=e}function b(e){this._context=e}function A(e,t){this._basis=new v(e),this._beta=t}function x(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function _(e,t){this._context=e,this._k=(1-t)/6}function w(e,t){this._context=e,this._k=(1-t)/6}function C(e,t){this._context=e,this._k=(1-t)/6}function E(e,t,n){var r=e._x1,o=e._y1,a=e._x2,i=e._y2;if(e._l01_a>Y){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>Y){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*u+e._x1*e._l23_2a-t*e._l12_2a)/c,i=(i*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,o,a,i,e._x2,e._y2)}function T(e,t){this._context=e,this._alpha=t}function k(e,t){this._context=e,this._alpha=t}function P(e,t){this._context=e,this._alpha=t}function M(e){this._context=e}function S(e){return e<0?-1:1}function D(e,t,n){var r=e._x1-e._x0,o=t-e._x1,a=(e._y1-e._y0)/(r||o<0&&-0),i=(n-e._y1)/(o||r<0&&-0),s=(a*o+i*r)/(r+o);return(S(a)+S(i))*Math.min(Math.abs(a),Math.abs(i),.5*Math.abs(s))||0}function O(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function I(e,t,n){var r=e._x0,o=e._y0,a=e._x1,i=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,o+s*t,a-s,i-s*n,a,i)}function L(e){this._context=e}function N(e){this._context=new B(e)}function B(e){this._context=e}function F(e){return new L(e)}function R(e){return new N(e)}function j(e){this._context=e}function z(e){var t,n,r=e.length-1,o=new Array(r),a=new Array(r),i=new Array(r);for(o[0]=0,a[0]=2,i[0]=e[0]+2*e[1],t=1;t=0;--t)o[t]=(i[t]-o[t+1])/a[t];for(a[r-1]=(e[r]+o[r-1])/2,t=0;ta;if(v||(v=e=t.path()),oY)if(y>X-Y)v.moveTo(o*Math.cos(a),o*Math.sin(a)),v.arc(0,0,o,a,i,!b),r>Y&&(v.moveTo(r*Math.cos(i),r*Math.sin(i)),v.arc(0,0,r,i,a,b));else{var A,x,_=a,w=i,C=a,E=i,T=y,k=y,P=g.apply(this,arguments)/2,M=P>Y&&(p?+p.apply(this,arguments):Math.sqrt(r*r+o*o)),S=Math.min(Math.abs(o-r)/2,+d.apply(this,arguments)),D=S,O=S;if(M>Y){var I=s(M/r*Math.sin(P)),L=s(M/o*Math.sin(P));(T-=2*I)>Y?(I*=b?1:-1,C+=I,E-=I):(T=0,C=E=(a+i)/2),(k-=2*L)>Y?(L*=b?1:-1,_+=L,w-=L):(k=0,_=w=(a+i)/2)}var N=o*Math.cos(_),B=o*Math.sin(_),F=r*Math.cos(E),R=r*Math.sin(E);if(S>Y){var j=o*Math.cos(w),z=o*Math.sin(w),H=r*Math.cos(C),U=r*Math.sin(C);if(yY?l(N,B,H,U,j,z,F,R):[F,R],q=N-W[0],V=B-W[1],G=j-W[0],Z=z-W[1],J=1/Math.sin(Math.acos((q*G+V*Z)/(Math.sqrt(q*q+V*V)*Math.sqrt(G*G+Z*Z)))/2),$=Math.sqrt(W[0]*W[0]+W[1]*W[1]);D=Math.min(S,(r-$)/(J-1)),O=Math.min(S,(o-$)/(J+1))}}k>Y?O>Y?(A=u(H,U,N,B,o,O,b),x=u(j,z,F,R,o,O,b),v.moveTo(A.cx+A.x01,A.cy+A.y01),OY&&T>Y?D>Y?(A=u(F,R,j,z,r,-D,b),x=u(N,B,H,U,r,-D,b),v.lineTo(A.cx+A.x01,A.cy+A.y01),D=f;--d)c.point(v[d],y[d]);c.lineEnd(),c.areaEnd()}g&&(v[n]=+r(p,n,e),y[n]=+a(p,n,e),c.point(o?+o(p,n,e):v[n],i?+i(p,n,e):y[n]))}if(h)return c=null,h+""||null}function n(){return $().defined(s).curve(u).context(l)}var r=f,o=null,a=G(0),i=d,s=G(!0),l=null,u=J,c=null;return e.x=function(t){return arguments.length?(r="function"==typeof t?t:G(+t),o=null,e):r},e.x0=function(t){return arguments.length?(r="function"==typeof t?t:G(+t),e):r},e.x1=function(t){return arguments.length?(o=null==t?null:"function"==typeof t?t:G(+t),e):o},e.y=function(t){return arguments.length?(a="function"==typeof t?t:G(+t),i=null,e):a},e.y0=function(t){return arguments.length?(a="function"==typeof t?t:G(+t),e):a},e.y1=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:G(+t),e):i},e.lineX0=e.lineY0=function(){return n().x(r).y(a)},e.lineY1=function(){return n().x(r).y(i)},e.lineX1=function(){return n().x(o).y(a)},e.defined=function(t){return arguments.length?(s="function"==typeof t?t:G(!!t),e):s},e.curve=function(t){return arguments.length?(u=t,null!=l&&(c=u(l)),e):u},e.context=function(t){return arguments.length?(null==t?l=c=null:c=u(l=t),e):l},e},te=function(e,t){return te?1:t>=e?0:NaN},ne=function(e){return e},re=function(){function e(e){var s,l,u,c,f,d=e.length,p=0,h=new Array(d),m=new Array(d),g=+o.apply(this,arguments),v=Math.min(X,Math.max(-X,a.apply(this,arguments)-g)),y=Math.min(Math.abs(v)/d,i.apply(this,arguments)),b=y*(v<0?-1:1);for(s=0;s0&&(p+=f);for(null!=n?h.sort(function(e,t){return n(m[e],m[t])}):null!=r&&h.sort(function(t,n){return r(e[t],e[n])}),s=0,u=p?(v-d*b)/p:0;s0?f*u:0)+b,m[l]={data:e[l],index:s,value:f,startAngle:g,endAngle:c,padAngle:y};return m}var t=ne,n=te,r=null,o=G(0),a=G(X),i=G(0);return e.value=function(n){return arguments.length?(t="function"==typeof n?n:G(+n),e):t},e.sortValues=function(t){return arguments.length?(n=t,r=null,e):n},e.sort=function(t){return arguments.length?(r=t,n=null,e):r},e.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:G(+t),e):o},e.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:G(+t),e):a},e.padAngle=function(t){return arguments.length?(i="function"==typeof t?t:G(+t),e):i},e},oe=h(J);p.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var ae=function(){return m($().curve(oe))},ie=function(){var e=ee().curve(oe),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return m(n())},delete e.lineX0,e.lineEndAngle=function(){return m(r())},delete e.lineX1,e.lineInnerRadius=function(){return m(o())},delete e.lineY0,e.lineOuterRadius=function(){return m(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(h(e)):t()._curve},e},se={draw:function(e,t){var n=Math.sqrt(t/K);e.moveTo(n,0),e.arc(0,0,n,0,X)}},le={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},ue=Math.sqrt(1/3),ce=2*ue,fe={draw:function(e,t){var n=Math.sqrt(t/ce),r=n*ue;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},de=.8908130915292852,pe=Math.sin(K/10)/Math.sin(7*K/10),he=Math.sin(X/10)*pe,me=-Math.cos(X/10)*pe,ge={draw:function(e,t){var n=Math.sqrt(t*de),r=he*n,o=me*n;e.moveTo(0,-n),e.lineTo(r,o);for(var a=1;a<5;++a){var i=X*a/5,s=Math.cos(i),l=Math.sin(i);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*o,l*r+s*o)}e.closePath()}},ve={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},ye=Math.sqrt(3),be={draw:function(e,t){var n=-Math.sqrt(t/(3*ye));e.moveTo(0,2*n),e.lineTo(-ye*n,-n),e.lineTo(ye*n,-n),e.closePath()}},Ae=-.5,xe=Math.sqrt(3)/2,_e=1/Math.sqrt(12),we=3*(_e/2+1),Ce={draw:function(e,t){var n=Math.sqrt(t/we),r=n/2,o=n*_e,a=r,i=n*_e+n,s=-a,l=i;e.moveTo(r,o),e.lineTo(a,i),e.lineTo(s,l),e.lineTo(Ae*r-xe*o,xe*r+Ae*o),e.lineTo(Ae*a-xe*i,xe*a+Ae*i),e.lineTo(Ae*s-xe*l,xe*s+Ae*l),e.lineTo(Ae*r+xe*o,Ae*o-xe*r),e.lineTo(Ae*a+xe*i,Ae*i-xe*a),e.lineTo(Ae*s+xe*l,Ae*l-xe*s),e.closePath()}},Ee=[se,le,fe,ve,ge,be,Ce],Te=function(){function e(){var e;if(o||(o=e=t.path()),n.apply(this,arguments).draw(o,+r.apply(this,arguments)),e)return o=null,e+""||null}var n=G(se),r=G(64),o=null;return e.type=function(t){return arguments.length?(n="function"==typeof t?t:G(t),e):n},e.size=function(t){return arguments.length?(r="function"==typeof t?t:G(+t),e):r},e.context=function(t){return arguments.length?(o=null==t?null:t,e):o},e},ke=function(){};v.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:g(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:g(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Pe=function(e){return new v(e)};y.prototype={areaStart:ke,areaEnd:ke,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:g(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Me=function(e){return new y(e)};b.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:g(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Se=function(e){return new b(e)};A.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],a=t[0],i=e[n]-o,s=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*i),this._beta*t[l]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var De=function e(t){function n(e){return 1===t?new v(e):new A(e,t)}return n.beta=function(t){return e(+t)},n}(.85);_.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:x(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:x(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Oe=function e(t){function n(e){return new _(e,t)}return n.tension=function(t){return e(+t)},n}(0);w.prototype={areaStart:ke,areaEnd:ke,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:x(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ie=function e(t){function n(e){return new w(e,t)}return n.tension=function(t){return e(+t)},n}(0);C.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(e,t){switch(e=+e,t=+t,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:x(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Le=function e(t){function n(e){return new C(e,t)}return n.tension=function(t){return e(+t)},n}(0);T.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:E(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Ne=function e(t){function n(e){return t?new T(e,t):new _(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);k.prototype={areaStart:ke,areaEnd:ke,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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:E(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Be=function e(t){function n(e){return t?new k(e,t):new w(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);P.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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:E(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var Fe=function e(t){function n(e){return t?new P(e,t):new C(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);M.prototype={areaStart:ke,areaEnd:ke,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var Re=function(e){return new M(e)};L.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:I(this,this._t0,O(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,I(this,O(this,n=D(this,e,t)),n);break;default:I(this,this._t0,n=D(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(N.prototype=Object.create(L.prototype)).point=function(e,t){L.prototype.point.call(this,t,e)},B.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,a){this._context.bezierCurveTo(t,e,r,n,a,o)}},j.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=z(e),o=z(t),a=0,i=1;i=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var ze=function(e){return new H(e,.5)},He=Array.prototype.slice,Ue=function(e,t){if((r=e.length)>1)for(var n,r,o=1,a=e[t[0]],i=a.length;o=0;)n[t]=t;return n},qe=function(){function e(e){var a,i,s=t.apply(this,arguments),l=e.length,u=s.length,c=new Array(u);for(a=0;a0){for(var n,r,o,a=0,i=e[0].length;a0){for(var n,r=0,o=e[t[0]],a=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,a=0,i=1;ia)if(Math.abs(d*u-c*f)>a&&i){var h=n-s,m=o-l,g=u*u+c*c,v=h*h+m*m,y=Math.sqrt(g),b=Math.sqrt(p),A=i*Math.tan((r-Math.acos((g+p-v)/(2*y*b)))/2),x=A/b,_=A/y;Math.abs(x-1)>a&&(this._+="L"+(e+x*f)+","+(t+x*d)),this._+="A"+i+","+i+",0,0,"+ +(d*h>f*m)+","+(this._x1=e+_*u)+","+(this._y1=t+_*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,s,l,u){e=+e,t=+t,n=+n;var c=n*Math.cos(s),f=n*Math.sin(s),d=e+c,p=t+f,h=1^u,m=u?s-l:l-s;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+d+","+p:(Math.abs(this._x1-d)>a||Math.abs(this._y1-p)>a)&&(this._+="L"+d+","+p),n&&(m>i?this._+="A"+n+","+n+",0,1,"+h+","+(e-c)+","+(t-f)+"A"+n+","+n+",0,1,"+h+","+(this._x1=d)+","+(this._y1=p):(m<0&&(m=m%o+o),this._+="A"+n+","+n+",0,"+ +(m>=r)+","+h+","+(this._x1=e+n*Math.cos(l))+","+(this._y1=t+n*Math.sin(l))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},e.path=n,Object.defineProperty(e,"__esModule",{value:!0})})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1562),s=a.default.createClass({displayName:"PieChartSector",propTypes:{outerRadius:a.default.PropTypes.number,innerRadius:a.default.PropTypes.number,fillColor:a.default.PropTypes.string,arcDescriptor:a.default.PropTypes.object,title:a.default.PropTypes.string,onClick:a.default.PropTypes.func,className:a.default.PropTypes.string},getDefaultProps:function(){return{outerRadius:20,innerRadius:0,className:"pie-chart-sector"}},render:function(){var e=this.props,t=e.outerRadius,n=e.innerRadius,r=e.fillColor,o=e.arcDescriptor,s=e.title,l=e.onClick,u=e.className,c=(0,i.arc)().outerRadius(t).innerRadius(n);return a.default.createElement("g",{className:u,style:{fill:r},onClick:l},a.default.createElement("title",null,s),a.default.createElement("path",{d:c(o)}))}});t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(980),s=n(981),l=n(1237),u=r(l),c=n(1024),f=r(c),d=n(1550),p=r(d),h=n(722),m=r(h),g=n(1566),v=r(g),y=a.default.createClass({displayName:"Histogram",mixins:[m.default],propTypes:{chartData:a.default.PropTypes.array,top:a.default.PropTypes.number,right:a.default.PropTypes.number,bottom:a.default.PropTypes.number,left:a.default.PropTypes.number,width:a.default.PropTypes.number.isRequired,height:a.default.PropTypes.number.isRequired,unitNameSingle:a.default.PropTypes.string.isRequired,unitNamePlural:a.default.PropTypes.string.isRequired,valueName:a.default.PropTypes.string.isRequired,colourScaleFunction:a.default.PropTypes.func},render:function(){var e=this.props,t=e.chartData,n=e.width,r=e.height,o=e.unitNameSingle,l=e.unitNamePlural,c=e.valueName,d=e.colourScaleFunction,h=t.map(function(e){return e.value}),m=(0,i.scaleLinear)().domain((0,s.extent)(h)).range([0,n]),g=(0,s.histogram)()(h),y=(0,u.default)(h)<0?-(0,u.default)(h)+(0,f.default)(h):(0,u.default)(h)+(0,f.default)(h),b=(0,i.scaleLinear)().domain([0,y]).range([0,n]),A=(0,i.scaleLinear)().domain([0,(0,p.default)(g,function(e){return e.length}).length]).range([r,0]);return a.default.createElement("svg",{style:{background:"white"},width:n,height:r},a.default.createElement("g",null,g.map(function(e,t){if(isNaN(e.x0)||isNaN(e.length)||isNaN(e.x1))return null;var n=m(e.x0),i=A(e.length),s=b(e.x1-e.x0),u=d((e.x0+e.x1)/2);return a.default.createElement(v.default,{x:e.x0,y:e.length,dx:e.x1-e.x0,scaledX:n,scaledY:i,scaledDx:s,maxHeight:r,key:t,unitNameSingle:o,unitNamePlural:l,valueName:c,fillColour:u})})))}});t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=a.default.createClass({displayName:"HistogramBin",mixins:[s.default],propTypes:{x:a.default.PropTypes.number.isRequired,y:a.default.PropTypes.number.isRequired,dx:a.default.PropTypes.number.isRequired,scaledX:a.default.PropTypes.number.isRequired,scaledY:a.default.PropTypes.number.isRequired,scaledDx:a.default.PropTypes.number.isRequired,maxHeight:a.default.PropTypes.number.isRequired,unitNameSingle:a.default.PropTypes.string,unitNamePlural:a.default.PropTypes.string,valueName:a.default.PropTypes.string,fillColour:a.default.PropTypes.string},getDefaultProps:function(){return{fillColour:"#3d8bd5"}},render:function(){var e=this.props,t=e.x,n=e.y,r=e.dx,o=e.scaledX,i=e.scaledY,s=e.scaledDx,l=e.maxHeight,u=e.unitNameSingle,c=e.unitNamePlural,f=e.valueName,d=e.fillColour;return a.default.createElement("g",{transform:"translate("+o+", "+i+")"},a.default.createElement("rect",{width:s,height:l-i,fill:d},a.default.createElement("title",null,n," ",n>1?c:u," with ",f," between ",t.toFixed(2)," and ",(t+r).toFixed(2))))}});t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(728),s=r(i),l=n(1494),u=r(l),c=n(1554),f=r(c),d=n(1535),p=r(d),h=n(1568),m=r(h),g=a.default.createClass({displayName:"PieChartMap",mixins:[s.default],propTypes:{chartDataTable:a.default.PropTypes.string,center:a.default.PropTypes.object,componentColumns:a.default.PropTypes.array,setProps:a.default.PropTypes.func,locationDataTable:a.default.PropTypes.string,locationNameProperty:a.default.PropTypes.string,locationSizeProperty:a.default.PropTypes.string,primKey:a.default.PropTypes.string,table:a.default.PropTypes.string,title:a.default.PropTypes.string,zoom:a.default.PropTypes.number},title:function(){return this.props.title||"Pie Chart Map"},render:function(){var e=this.props,t=e.center,n=e.chartDataTable,r=e.componentColumns,o=e.setProps,i=e.locationDataTable,s=e.locationNameProperty,l=e.locationSizeProperty,c=e.primKey,d=e.table,h=e.zoom;return void 0===n&&void 0!==d&&(n=d),a.default.createElement(u.default,{center:t,setProps:o,style:{height:"100%"},zoom:h},a.default.createElement(f.default,null,a.default.createElement(p.default,null),a.default.createElement(m.default,{locationDataTable:i,chartDataTable:n,componentColumns:r,locationNameProperty:s,locationSizeProperty:l,primKey:c})))}});t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=Object.assign||function(e){for(var t=1;t0&&(f=Math.sqrt(.15/(c/u))),this.lastLengthRatio=f,(0,j.default)(a,function(e){return e.radius=e.originalRadius*f}),a.length?s.default.createElement(k.default,{nodes:a},function(t){return s.default.createElement(w.default,{layerContainer:r,map:o},t.map(function(t,r){return s.default.createElement(b.default,{key:r,position:{lat:t.lat,lng:t.lng},onClick:function(n){return e.handleClickMarker(n,t)}},s.default.createElement(D.default,{chartData:t.chartData,crs:n,key:r,lat:t.lat,lng:t.lng,name:t.name,originalLat:t.lat,originalLng:t.lng,radius:t.radius}))}).concat(t.map(function(e,t){return s.default.createElement(E.default,{className:"panoptes-pie-chart-markers-layer-polyline",positions:[[e.lat,e.lng],[e.fixedNode.lat,e.fixedNode.lng]]})})))}):null}});t.default=U},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;tthis.defaultCollapsedOptions.min&&e.length5&&(this.dragging=!0,this.offsetx=this.origx+n,this.offsety=this.origy+r,this.draw())}else{var o=e,a=this.getNodeAtMousePosition(o);a&&a.interactive&&(this.internalNodesSelectable||a.leaf)?(this.root.cascadeFlag("hovered",!1),a.hovered=!0,a.leaf||a.hasCollapsedAncestor()||this.tooltip.open(o.clientX,o.clientY,a),this.containerElement.style.cursor="pointer"):(this.tooltip.close(),this.root.cascadeFlag("hovered",!1),this.containerElement.style.cursor="auto"),this.draw()}}},{key:"draw",value:function(e){if(this.highlighters.length=0,0===this.maxBranchLength)return void this.loadError(new Error("All branches in the tree are identical."));this.canvas.restore(),this.canvas.clearRect(0,0,this.canvas.canvas.width,this.canvas.canvas.height),this.canvas.lineCap="round",this.canvas.lineJoin="round",this.canvas.strokeStyle=this.branchColour,this.canvas.save(),this.drawn&&!e||(this.prerenderer.run(this),e||this.fitInPanel());var t=A(this.canvas);this.canvas.lineWidth=this.lineWidth/this.zoom,this.canvas.translate(this.offsetx*t,this.offsety*t),this.canvas.scale(this.zoom,this.zoom),this.branchRenderer.render(this,this.root),this.highlighters.forEach(function(e){return e()}),this.defaultCollapsed=!1,this.drawn=!0}},{key:"drop",value:function(){return!!this.drawn&&void(this.pickedup=!1)}},{key:"findLeaves",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?"id":arguments[1],n=[],r=!0,o=!1,a=void 0;try{for(var i,s=this.leaves[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;l[t]&&l[t].match(e)&&n.push(l)}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}},{key:"updateLeaves",value:function(e,t,n){var r=!0,o=!1,a=void 0;try{for(var i,s=this.leaves[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;l[t]=!n}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}var u=!0,c=!1,f=void 0;try{for(var d,p=e[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var l=d.value;l[t]=n}}catch(e){c=!0,f=e}finally{try{!u&&p.return&&p.return()}finally{if(c)throw f}}this.nodesUpdated(e.map(function(e){return e.id}),t)}},{key:"clearSelect",value:function(){this.root.cascadeFlag("selected",!1),this.draw()}},{key:"getPngUrl",value:function(){return this.canvas.canvas.toDataURL()}},{key:"hideLabels",value:function(){this.showLabels=!1,this.draw()}},{key:"load",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2],r=t,o=n;if("function"==typeof t&&(o=t,r={}),o&&(r.callback=o),r.format)return void this.build(e,g.default[r.format],r);var a=!0,i=!1,s=void 0;try{for(var l,u=Object.keys(g.default)[Symbol.iterator]();!(a=(l=u.next()).done);a=!0){var c=l.value,f=g.default[c];if(e.match(f.fileExtension)||e.match(f.validator))return void this.build(e,f,r)}}catch(e){i=!0,s=e}finally{try{!a&&u.return&&u.return()}finally{if(i)throw s}}var d=new Error("String not recognised as a file or a parseable format string");o&&o(d),this.loadError(d)}},{key:"saveOriginalTree",value:function(){this.originalTree.branches=this.branches,this.originalTree.leaves=this.leaves,this.originalTree.root=this.root,this.originalTree.branchLengths={},this.originalTree.parents={}}},{key:"clearState",value:function(){this.root=!1,this.leaves=[],this.branches={},this.drawn=!1}},{key:"saveState",value:function(){if(this.extractNestedBranches(),this.root.branchLength=0,this.maxBranchLength=0,this.root.setTotalLength(),0===this.maxBranchLength)return void this.loadError(new Error("All branches in the tree are identical."))}},{key:"build",value:function(e,t,n){var r=this;this.originalTree={},this.clearState(),u.default.lastId=0;var o=new u.default;o.id="root",this.branches.root=o,this.setRoot(o),t.parse({formatString:e,root:o,options:n},function(t){return t?(n.callback&&n.callback(t),void r.loadError(t)):(r.stringRepresentation=e,r.saveState(),r.setInitialCollapsedBranches(),r.draw(),r.saveOriginalTree(),n.callback&&n.callback(),void r.loadCompleted())})}},{key:"pickup",value:function(e){return!!this.drawn&&(this.origx=this.offsetx,this.origy=this.offsety,0===e.button&&(this.pickedup=!0),this.startx=e.clientX,void(this.starty=e.clientY))}},{key:"redrawFromBranch",value:function(e){this.clearState(),this.resetTree(),this.originalTree.branchLengths[e.id]=e.branchLength,this.originalTree.parents[e.id]=e.parent,this.root=e,this.root.parent=!1,this.saveState(),this.draw(),this.subtreeDrawn(e.id)}},{key:"redrawOriginalTree",value:function(){this.load(this.stringRepresentation)}},{key:"storeNode",value:function(e){if(e.id&&""!==e.id||(e.id=u.default.generateId()),this.branches[e.id]&&e!==this.branches[e.id]){if(e.leaf)throw new Error("Two nodes on this tree share the id "+e.id);e.id=u.default.generateId()}this.branches[e.id]=e,e.leaf&&this.leaves.push(e)}},{key:"scroll",value:function(e){var t=this;if(e.preventDefault(),!(this._zooming||"wheelDelta"in e&&0===e.wheelDelta)){var n=e.detail<0||e.wheelDelta>0?1:-1;if(this.branchScaling&&(e.metaKey||e.ctrlKey))this.currentBranchScale*=Math.pow(this.branchScalingStep,n),this.setBranchScale(this.currentBranchScale,{x:e.offsetX,y:e.offsetY});else{var r=Math.log(this.zoom)/Math.log(10)+n*this.zoomFactor;this.setZoom(r,e.offsetX,e.offsetY)}this._zooming=!0,setTimeout(function(){t._zooming=!1},128)}}},{key:"selectNodes",value:function(e){var t,n,r,o=e;if(this.root){this.root.cascadeFlag("selected",!1),"string"==typeof e&&(o=o.split(","));for(n in this.branches)if(this.branches.hasOwnProperty(n))for(t=this.branches[n],r=0;r-2&&e<2){var r=this.zoom,o=Math.pow(10,e);this.zoom=o,this.offsetx=this.calculateZoomedOffset(this.offsetx,t,r,o),this.offsety=this.calculateZoomedOffset(this.offsety,n,r,o),this.draw()}}},{key:"calculateZoomedOffset",value:function(e,t,n,r){return-1*((-1*e+t)/n*r-t)}},{key:"setBranchScale",value:function(){var e=arguments.length<=0||void 0===arguments[0]?1:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{x:this.canvas.canvas.width/2,y:this.canvas.canvas.height/2}:arguments[1],n=h.default[this.treeType];if(n.branchScalingAxis&&!(e<0)){var r=this.branchScalar;this.branchScalar=this.initialBranchScalar*e;var o=this.branchScalar/r,a=this["offset"+n.branchScalingAxis],i=t[n.branchScalingAxis],s=(t[n.branchScalingAxis]-a)*o+a;this["offset"+n.branchScalingAxis]+=i-s,this.draw()}}},{key:"toggleLabels",value:function(){this.showLabels=!this.showLabels,this.draw()}},{key:"setMaxLabelLength",value:function(){var e;void 0===this.maxLabelLength[this.treeType]&&(this.maxLabelLength[this.treeType]=0);for(var t=0;tthis.maxLabelLength[this.treeType]&&(this.maxLabelLength[this.treeType]=e.width)}},{key:"loadCompleted",value:function(){y(this.containerElement,"loaded")}},{key:"loadStarted",value:function(){y(this.containerElement,"loading")}},{key:"loadError",value:function(e){y(this.containerElement,"error",{error:e})}},{key:"subtreeDrawn",value:function(e){y(this.containerElement,"subtree",{node:e})}},{key:"nodesUpdated",value:function(e,t){var n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];y(this.containerElement,"updated",{nodeIds:e,property:t,append:n})}},{key:"addListener",value:function(e,t){b(this.containerElement,e,t)}},{key:"getBounds",value:function(){for(var e=this.root.startx,t=this.root.startx,n=this.root.starty,r=this.root.starty,o=this.leaves.length;o--;){var a=this.leaves[o].getBounds();e=Math.min(e,a.minx),t=Math.max(t,a.maxx),n=Math.min(n,a.miny),r=Math.max(r,a.maxy)}return[[e,n],[t,r]]}},{key:"fitInPanel",value:function(){var e=[this.canvas.canvas.width-2*this.padding,this.canvas.canvas.height-2*this.padding],t=this.getBounds(),n=[t[1][0]-t[0][0],t[1][1]-t[0][1]],r=A(this.canvas),o=e[0]/n[0],a=e[1]/n[1];this.zoom=Math.min(o,a),this.offsetx=-1*t[0][0]*this.zoom,this.offsety=-1*t[0][1]*this.zoom,o>a?(this.offsetx+=this.padding+(e[0]-n[0]*this.zoom)/2,this.offsety+=this.padding):(this.offsetx+=this.padding,this.offsety+=this.padding+(e[1]-n[1]*this.zoom)/2),this.offsetx=this.offsetx/r,this.offsety=this.offsety/r}},{key:"adjustForPixelRatio",value:function(){var e=A(this.canvas);this.canvas.canvas.style.height=this.canvas.canvas.height+"px",this.canvas.canvas.style.width=this.canvas.canvas.width+"px",e>1&&(this.canvas.canvas.width*=e,this.canvas.canvas.height*=e)}},{key:"treeTypeChanged",value:function(e,t){y(this.containerElement,"typechanged",{oldType:e,newType:t})}},{key:"resetTree",value:function(){if(this.originalTree.branches){this.branches=this.originalTree.branches;var e=!0,t=!1,n=void 0;try{for(var r,o=Object.keys(this.originalTree.branchLengths)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value;this.branches[a].branchLength=this.originalTree.branchLengths[a],this.branches[a].parent=this.originalTree.parents[a]}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}this.leaves=this.originalTree.leaves,this.root=this.originalTree.root}}},{key:"rotateBranch",value:function(e){this.branches[e.id].rotate()}},{key:"extractNestedBranches",value:function(){this.branches={},this.leaves=[],this.storeNode(this.root),this.root.extractChildren()}},{key:"exportNwk",value:function(){var e=this.root.getNwk();return e.substr(0,e.lastIndexOf(")")+1)+";"}},{key:"resizeToContainer",value:function(){this.setSize(this.containerElement.offsetWidth,this.containerElement.offsetHeight)}},{key:"alignLabels",get:function(){return this.showLabels&&this.labelAlign&&this.labelAlignEnabled},set:function(e){this.labelAlignEnabled=e}}]),e}();t.default=_,_.prototype.on=_.prototype.addListener},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.events=t.dom=t.constants=t.canvas=void 0;var o=n(3),a=r(o),i=n(6),s=r(i),l=n(4),u=r(l),c=n(5),f=r(c);t.canvas=a,t.constants=s,t.dom=u,t.events=f},function(e,t,n){"use strict";function r(e){return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}function o(e){return(window.devicePixelRatio||1)/r(e)}function a(e,t){var n=o(t.canvas);return[(e.offsetX-t.offsetx)/t.zoom*n,(e.offsetY-t.offsety)/t.zoom*n]}function i(e,t){var n=e.x,r=e.y,a=o(t.canvas);return{x:n?(n-t.offsetx)/t.zoom*a:null,y:r?(r-t.offsety)/t.zoom*a:null}}function s(e,t){var n=e.x,r=e.y,a=o(t.canvas);return{x:n?n/a*t.zoom+t.offsetx:null,y:r?r/a*t.zoom+t.offsety:null}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBackingStorePixelRatio=r,t.getPixelRatio=o,t.translateClick=a,t.translatePoint=i,t.undoPointTranslation=s;n(4)},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?"text/plain;charset=utf-8":arguments[1],n=new Blob([e],{type:t});return f.createObjectURL(n)}function o(e,t){var n=document.createElement("a"),r="undefined"!=typeof n.download;n.href=e,n.target="_blank",r&&(n.download=t),(0,c.fireEvent)(n,"click"),r&&f.revokeObjectURL(n.href)}function a(e){for(var t=0;e;)t+=e.offsetLeft,e=e.offsetParent;return t}function i(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}function s(e,t){var n=e.className.split(" ");n.indexOf(t)===-1&&(n.push(t),e.className=n.join(" "))}function l(e,t){var n=e.className.split(" "),r=n.indexOf(t);r!==-1&&(n.splice(r,1),e.className=n.join(" "))}function u(e,t){var n=e.className.split(" "),r=n.indexOf(t);return r!==-1}Object.defineProperty(t,"__esModule",{value:!0}),t.createBlobUrl=r,t.setupDownloadLink=o,t.getX=a,t.getY=i,t.addClass=s,t.removeClass=l,t.hasClass=u;var c=n(5),f=window.URL||window.webkitURL},function(e,t){"use strict";function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function r(e){return e.preventDefault(),!1}function o(e,t){var n,r,o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0)):(n=document.createEventObject(),n.eventType=t),n.eventName=t;for(r in o)o.hasOwnProperty(r)&&(n[r]=o[r]);document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)}function a(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,function(){return n.call(e,window.event)})}function i(e){e.stopPropagation(),e.preventDefault()}function s(e,t){ -var r;return r=("undefined"==typeof t?"undefined":n(t))===n("aaa")?function(n){if(e[t])return e[t](n)}:function(){return t(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.preventDefault=r,t.fireEvent=o,t.addEvent=a,t.killEvent=i,t.createHandler=s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Angles={FORTYFIVE:Math.PI/4,QUARTER:Math.PI/2,HALF:Math.PI,FULL:2*Math.PI},t.Shapes={x:"star",s:"square",o:"circle",t:"triangle"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;nthis.minx&&tthis.miny)return this;for(n=this.children.length-1;n>=0;n--)if(r=this.children[n].clicked(e,t))return r}}},{key:"drawLabel",value:function(){var e=this.getTextSize(),t=this.getLabel();this.canvas.font=this.getFontString(),this.labelWidth=this.canvas.measureText(t).width,void 0===this.tree.maxLabelLength[this.tree.treeType]&&(this.tree.maxLabelLength[this.tree.treeType]=0),this.labelWidth>this.tree.maxLabelLength[this.tree.treeType]&&(this.tree.maxLabelLength[this.tree.treeType]=this.labelWidth);var n=this.getLabelStartX();this.tree.alignLabels&&(n+=Math.abs(this.tree.labelAlign.getLabelOffset(this))),this.angle>u.QUARTER&&this.angleu.QUARTER&&this.anglethis.tree.maxBranchLength&&(this.tree.maxBranchLength=this.totalBranchLength)):(this.totalBranchLength=this.branchLength,this.tree.maxBranchLength=this.totalBranchLength),e=0;ethis.getDiameter()}},{key:"getLabelStartX",value:function(){var e=this.getLeafStyle(),t=e.lineWidth,n=this.hasLabelConnector(),r=this.getDiameter();return this.isHighlighted&&!n&&(r+=this.getHighlightSize()-this.getRadius()),this.isHighlighted||n||(r+=t/2),r+Math.min(this.tree.labelPadding,this.tree.labelPadding/this.tree.zoom)}},{key:"getHighlightLineWidth",value:function(){return this.tree.highlightWidth/this.tree.zoom}},{key:"getHighlightRadius",value:function(){var e=this.getHighlightLineWidth()*this.tree.highlightSize;return e+=this.getLeafStyle().lineWidth/this.tree.highlightSize,this.leaf?this.getRadius()+e:.666*e}},{key:"getHighlightSize",value:function(){return this.getHighlightRadius()+this.getHighlightLineWidth()}},{key:"rotate",value:function(e){for(var t=[],n=this.children.length;n--;)t.push(this.children[n]);this.children=t,e.preventredraw||(this.tree.extractNestedBranches(),this.tree.draw(!0))}},{key:"getChildNo",value:function(){return this.parent.children.indexOf(this)}},{key:"setDisplay",value:function(e){var t=e.colour,n=e.shape,r=e.size,o=e.leafStyle,a=e.labelStyle;t&&(this.colour=t),n&&(this.nodeShape=c[n]?c[n]:n),r&&(this.radius=r),o&&(this.leafStyle=o),a&&(this.labelStyle=a)}},{key:"getTotalLength",value:function(){var e=this.getRadius();return(this.tree.showLabels||this.tree.hoverLabel&&this.isHighlighted)&&(e+=this.getLabelStartX()+this.getLabelSize()),e}},{key:"getBounds",value:function(){var e=this.tree,t=e.alignLabels?e.labelAlign.getX(this):this.centerx,n=e.alignLabels?e.labelAlign.getY(this):this.centery,r=this.getRadius(),o=this.getTotalLength(),a=void 0,i=void 0,s=void 0,l=void 0;return this.angle>u.QUARTER&&this.angle0&&r!==o&&e.stroke(),e.restore()}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),i=a.constants.Angles,s=function(e){return e*Math.sqrt(2)};t.default={circle:function(e,t,n){var a=Math.pow(s(t),2),l=Math.sqrt(a/Math.PI);r(e,t-l),e.beginPath(),e.arc(t,0,l,0,i.FULL,!1),e.closePath(),o(e,n)},square:function(e,t,n){var a=s(t),i=t-a/2;r(e,i),e.beginPath(),e.moveTo(i,0),e.lineTo(i,a/2),e.lineTo(i+a,a/2),e.lineTo(i+a,-a/2),e.lineTo(i,-a/2),e.lineTo(i,0),e.closePath(),o(e,n)},star:function(e,t,n){var a=t,i=0,s=5,l=t,u=.5*l,c=Math.PI/s;r(e,l-u);var f=Math.PI/2*3;e.beginPath(),e.moveTo(a,i-l);for(var d=0;d0?e.leaves[n-1].centery+t:0,e.leaves[n].centerx=e.leaves[n].totalBranchLength*e.branchScalar,e.leaves[n].centerx>e.farthestNodeFromRootX&&(e.farthestNodeFromRootX=e.leaves[n].centerx),e.leaves[n].centery>e.farthestNodeFromRootY&&(e.farthestNodeFromRootY=e.leaves[n].centery);for(var r=e.leaves[n];r.parent;r=r.parent){var o=r.parent.children;r.parent.centery=(o[0].centery+o[o.length-1].centery)/2}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),a=r(o),i=n(14),s=r(i),l=n(18),u=r(l),c=n(19),f=r(c),d={getX:function(e){return e.centerx+e.labelOffsetX+e.getDiameter()*Math.cos(e.angle)},getY:function(e){return e.centery+e.labelOffsetY+e.getDiameter()*Math.sin(e.angle)},getLabelOffset:function(e){return e.labelOffsetX/Math.cos(e.angle)}};t.default={branchRenderer:new a.default(u.default),prerenderer:new s.default(f.default),labelAlign:d,scaleCollapsedNode:function(e){return e/3},calculateFontSize:function(e){return Math.min(10*e+4,40)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=t.totalBranchLength*e.branchScalar;t.canvas.beginPath(),t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath(),t.canvas.strokeStyle=t.getColour(),t.children.length>1&&!t.collapsed&&(t.canvas.beginPath(),t.canvas.arc(0,0,n,t.minChildAngle,t.maxChildAngle,t.maxChildAnglen?n=e.branchScalar*e.maxBranchLength:e.branchScalar=n/e.maxBranchLength;for(var r=0;r0?e.leaves[n-1].centery+t:0,e.leaves[n].angle=0;for(var r=e.leaves[n];r.parent&&r.getChildNo()===r.parent.children.length-1;r=r.parent){r.parent.centery=r.parent.getChildYTotal()/r.parent.getChildCount(),r.parent.centerx=r.parent.children[0].centerx+(r.parent.children[0].centery-r.parent.centery)*Math.tan(o.FORTYFIVE);for(var a=0;a0?e.leaves[n-1].centerx+t:0,e.leaves[n].centery=e.leaves[n].totalBranchLength*e.branchScalar;for(var r=e.leaves[n];r.parent&&(0===r.getChildNo()&&(r.parent.centerx=r.centerx),r.getChildNo()===r.parent.children.length-1);r=r.parent){r.parent.angle=o.QUARTER,r.parent.centerx=(r.parent.centerx+r.centerx)/2,r.parent.centery=r.parent.totalBranchLength*e.branchScalar;for(var a=0;ae.farthestNodeFromRootX&&(e.farthestNodeFromRootX=e.leaves[n].centerx),e.leaves[n].centery>e.farthestNodeFromRootY&&(e.farthestNodeFromRootY=e.leaves[n].centery)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(30),a=r(o),i=n(31),s=r(i),l=n(32),u=r(l);t.default={nexus:new a.default(u.default),newick:new a.default(s.default)}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var n=0;nr.maxZoom&&(o=r.maxZoom),this.props.zoom",j=i.default.createElement("div",{className:"sidebar map-sidebar"},i.default.createElement(J.default,{icon:this.icon(),description:"View data geographically"}),i.default.createElement("div",{className:"map-controls vertical stack"},i.default.createElement(X.default,{autoWidth:!0,floatingLabelText:"Markers:",onChange:this.handleChangeTable,options:g,value:p}),void 0!==p&&p!==de?i.default.createElement(B.default,{table:p,query:this.getDefinedQuery(),onPick:this.handleQueryPick}):null,i.default.createElement(S.default,{autoWidth:!0,floatingLabelText:"Base layer:",onChange:function(t,n,r){return e.handleChangeBaseTileLayer(t,n,r)},value:o},this.baseTileLayersMenu),i.default.createElement(S.default,{autoWidth:!0,floatingLabelText:"Overlay:",onChange:function(t,n,r){return e.handleChangeOverlayLayer(t,n,r)},value:u},this.overlayLayersMenu),void 0!==p&&p!==de?i.default.createElement(le.default,{table:p,value:s,label:"Marker colour",onSelect:this.handleChangeMarkerColourProperty,allowNull:!0}):null,this.config.user.isManager?i.default.createElement(O.default,{floatingLabelText:"Template code:",multiLine:!0,textareaStyle:{fontFamily:"'Courier New', Courier, monospace",fontSize:"8pt",lineHeight:"8pt"},value:F}):null)),H="Map";return void 0!==o&&o!=fe&&(H=o+" map"),void 0!==p&&p!==de&&(H=H+" of "+this.config.tablesById[p].namePlural),i.default.createElement(h.default,{docked:f,styles:{sidebar:{paddingRight:(0,d.default)()+"px"}},sidebar:j},i.default.createElement("div",{className:"vertical stack"},i.default.createElement("div",{className:"top-bar"},i.default.createElement(R.default,{className:"pointer icon",name:f?"arrow-left":"bars",title:f?"Expand":"Sidebar",onClick:function(){return r({sidebar:!f})}}),i.default.createElement("span",{className:"text"},H),p?i.default.createElement("span",{className:"block text"},i.default.createElement(K.default,{prefix:"Filter: ",table:p,query:this.getDefinedQuery()})):null),i.default.createElement("div",{className:"grow map-content"},N)))}});t.default=he},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return!!e&&e[t]===n}function a(e,t){var n=void 0;return Array.isArray(e)?n=e.map(function(e){return a(e)}):e&&"object"===("undefined"==typeof e?"undefined":u(e))?(n={},Object.keys(e).map(function(r){var o=e[r];f.default.isValidElement(o)?o=s(o,t):Array.isArray(o)?o=o.map(function(e){return a(e,t)}):"object"===("undefined"==typeof o?"undefined":u(o))?o=a(o,t):"function"==typeof o&&(o=t.useFunctionCode?t.functionNameOnly?item.name.toString():item.toString():"..."),n[r]=o})):n=e,n}function i(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=void 0;if("string"==typeof e)r=n?"'"+e+"'":e;else if("number"==typeof e||"boolean"==typeof e)r=""+e;else if(Array.isArray(e)){var o=new Array(t.spacing+1).join(" "),l=n?", ":"\n"+o,c=e.map(function(e){return i(e,t)}).join(l);r=n?"["+c+"]":""+c}else f.default.isValidElement(e)?r=s(e,t):"object"===("undefined"==typeof e?"undefined":u(e))?(r=(0,p.default)(a(e,t)),r=r.replace(h,function(e){return e.slice(1,e.length-1)})):"function"==typeof e&&(r=t.useFunctionCode?t.functionNameOnly?e.name.toString():e.toString():"...");return r}function s(e,t){var n={displayName:e.type.displayName||e.type.name||e.type,ignoreProps:[],keyValueOverride:{},spacing:0,detectFunctions:!1},r=l({},n,t),a={name:r.displayName};if(delete r.displayName,e.props){var s=new Array(r.spacing+3).join(" ");a.props=Object.keys(e.props).filter(function(t){return"children"!==t&&!o(e.type.defaultProps,t,e.props[t])&&r.ignoreProps.indexOf(t)===-1}).map(function(t){var n=r.keyValueOverride[t]||i(e.props[t],l({},r,{key:t}));return"string"==typeof n&&"'"===n[0]||(n="{"+n+"}"),t+"="+n}).join("\n"+s),a.props.length>0&&(a.props=" "+a.props)}if(e.props.children){r.spacing+=2;var u=new Array(r.spacing+1).join(" ");return Array.isArray(e.props.children)?a.children=e.props.children.reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e}).map(function(e){return i(e,r,!1)}).join("\n"+u):a.children=i(e.props.children,r,!1),"<"+a.name+a.props+">\n"+(""+u+a.children+"\n")+(u.slice(0,-2)+""); -}return"<"+a.name+a.props+" />"}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t"/g;t.default=s,e.exports=t.default},[1881,1595],function(e,t,n){"use strict";var r=n(1596),o=n(1736),a=n(1740),i=n(1631),s=n(1745),l={};i(l,a),i(l,{findDOMNode:s("findDOMNode","ReactDOM","react-dom",r,r.findDOMNode),render:s("render","ReactDOM","react-dom",r,r.render),unmountComponentAtNode:s("unmountComponentAtNode","ReactDOM","react-dom",r,r.unmountComponentAtNode),renderToString:s("renderToString","ReactDOMServer","react-dom/server",o,o.renderToString),renderToStaticMarkup:s("renderToStaticMarkup","ReactDOMServer","react-dom/server",o,o.renderToStaticMarkup)}),l.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=r,l.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o,e.exports=l},function(e,t,n){"use strict";var r=n(1597),o=n(1598),a=n(1663),i=n(1637),s=n(1620),l=n(1610),u=n(1642),c=n(1646),f=n(1734),d=n(1683),p=n(1735);n(1617);a.inject();var h=l.measure("React","render",s.render),m={findDOMNode:d,render:h,unmountComponentAtNode:s.unmountComponentAtNode,version:f,unstable_batchedUpdates:c.batchedUpdates,unstable_renderSubtreeIntoContainer:p};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:r,InstanceHandles:i,Mount:s,Reconciler:u,TextComponent:o});e.exports=m},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){"use strict";var r=n(1599),o=n(1614),a=n(1618),i=n(1620),s=n(1631),l=n(1613),u=n(1612),c=(n(1662),function(e){});s(c.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){if(this._rootNodeID=e,t.useCreateElement){var r=n[i.ownerDocumentContextKey],a=r.createElement("span");return o.setAttributeForID(a,e),i.getID(a),u(a,this._stringText),a}var s=l(this._stringText);return t.renderToStaticMarkup?s:""+s+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var o=i.getNode(this._rootNodeID);r.updateTextContent(o,n)}}},unmountComponent:function(){a.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},function(e,t,n){"use strict";function r(e,t,n){var r=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,r)}var o=n(1600),a=n(1608),i=n(1610),s=n(1611),l=n(1612),u=n(1605),c={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:l,processUpdates:function(e,t){for(var n,i=null,c=null,f=0;f]+)/,c="data-danger-index",f={dangerouslyRenderMarkup:function(e){o.canUseDOM?void 0:l(!1);for(var t,n={},f=0;f":i.innerHTML="<"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var o=n(1601),a=n(1605),i=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,"","
"],c=[3,"","
"],f=[1,'',""],d={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){d[e]=f,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return function(){return e}}function r(){}r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";var r=n(1609),o=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,SET_MARKUP:null,TEXT_CONTENT:null});e.exports=o},function(e,t,n){"use strict";var r=n(1605),o=function(e){var t,n={};e instanceof Object&&!Array.isArray(e)?void 0:r(!1);for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};e.exports=o},function(e,t,n){"use strict";function r(e,t,n){return n}var o={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){o.storedMeasure=e}}};e.exports=o},function(e,t,n){"use strict";var r=n(1601),o=/^[ \r\n\t\f]/,a=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,i=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(i=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(i=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(t)||"<"===t[0]&&a.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=i},function(e,t,n){"use strict";var r=n(1601),o=n(1613),a=n(1611),i=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){a(e,o(t))})),e.exports=i},function(e,t){"use strict";function n(e){return o[e]}function r(e){return(""+e).replace(a,n)}var o={"&":"&",">":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;e.exports=r},function(e,t,n){"use strict";function r(e){return!!c.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(l.test(e)?(c[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var a=n(1615),i=n(1610),s=n(1616),l=(n(1617),/^[a-zA-Z_][\w\.\-]*$/),u={},c={},f={createMarkupForID:function(e){return a.ID_ATTRIBUTE_NAME+"="+s(e)},setAttributeForID:function(e,t){e.setAttribute(a.ID_ATTRIBUTE_NAME,t)},createMarkupForProperty:function(e,t){var n=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+s(t)}return a.isCustomAttribute(e)?null==t?"":e+"="+s(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+s(t):""},setValueForProperty:function(e,t,n){var r=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(r){var i=r.mutationMethod;if(i)i(e,n);else if(o(r,n))this.deleteValueForProperty(e,t);else if(r.mustUseAttribute){var s=r.attributeName,l=r.attributeNamespace;l?e.setAttributeNS(l,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}else{var u=r.propertyName;r.hasSideEffects&&""+e[u]==""+n||(e[u]=n)}}else a.isCustomAttribute(t)&&f.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){r(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){var n=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseAttribute)e.removeAttribute(n.attributeName);else{var o=n.propertyName,i=a.getDefaultValueForProperty(e.nodeName,o);n.hasSideEffects&&""+e[o]===i||(e[o]=i)}}else a.isCustomAttribute(t)&&e.removeAttribute(t)}};i.measureMethods(f,"DOMPropertyOperations",{setValueForProperty:"setValueForProperty",setValueForAttribute:"setValueForAttribute",deleteValueForProperty:"deleteValueForProperty"}),e.exports=f},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(1605),a={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var f in n){s.properties.hasOwnProperty(f)?o(!1):void 0;var d=f.toLowerCase(),p=n[f],h={attributeName:d,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseAttribute:r(p,t.MUST_USE_ATTRIBUTE),mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasSideEffects:r(p,t.HAS_SIDE_EFFECTS),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.mustUseAttribute&&h.mustUseProperty?o(!1):void 0,!h.mustUseProperty&&h.hasSideEffects?o(!1):void 0,h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o(!1),l.hasOwnProperty(f)){var m=l[f];h.attributeName=m}i.hasOwnProperty(f)&&(h.attributeNamespace=i[f]),u.hasOwnProperty(f)&&(h.propertyName=u[f]),c.hasOwnProperty(f)&&(h.mutationMethod=c[f]),s.properties[f]=h}}},i={},s={ID_ATTRIBUTE_NAME:"data-reactid",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t-1?void 0:i(!1),!u.plugins[n]){t.extractEvents?void 0:i(!1),u.plugins[n]=t;var r=t.eventTypes;for(var a in r)o(r[a],t,a)?void 0:i(!1)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)?i(!1):void 0,u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,t,n)}return!0}return!!e.registrationName&&(a(e.registrationName,t,n),!0)}function a(e,t,n){u.registrationNameModules[e]?i(!1):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=n(1605),s=null,l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s?i(!1):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]?i(!1):void 0,l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},function(e,t,n){"use strict";function r(e){return e===g.topMouseUp||e===g.topTouchEnd||e===g.topTouchCancel}function o(e){return e===g.topMouseMove||e===g.topTouchMove}function a(e){return e===g.topMouseDown||e===g.topTouchStart}function i(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=m.Mount.getNode(r),t?p.invokeGuardedCallbackWithCatch(o,n,e,r):p.invokeGuardedCallback(o,n,e,r),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var o=0;o1){for(var p=Array(d),h=0;h1){for(var m=Array(h),g=0;g1){var t=e.indexOf(p,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var a=u(e,t);a!==e&&c(e,a,n,r,!1,!0),a!==t&&c(a,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(c("",e,t,n,!0,!0),c(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},getFirstCommonAncestorID:u,_getNextDescendantID:l,isAncestorIDOf:i,SEPARATOR:p};e.exports=g},function(e,t){"use strict";var n={injectCreateReactRootIndex:function(e){r.createReactRootIndex=e}},r={createReactRootIndex:null,injection:n};e.exports=r},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t,n){"use strict";var r=n(1641),o=/\/?>/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=a},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,a=e.length,i=a&-4;o8&&w<=11),T=32,k=String.fromCharCode(T),P=p.topLevelTypes,M={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[P.topCompositionEnd,P.topKeyPress,P.topTextInput,P.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[P.topBlur,P.topCompositionEnd,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[P.topBlur,P.topCompositionStart,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[P.topBlur,P.topCompositionUpdate,P.topKeyDown,P.topKeyPress,P.topKeyUp,P.topMouseDown]}},S=!1,D=null,O={eventTypes:M,extractEvents:function(e,t,n,r,o){return[u(e,t,n,r,o),d(e,t,n,r,o)]}};e.exports=O},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return y(e,r)}function o(e,t,n){var o=t?v.bubbled:v.captured,a=r(e,n,o);a&&(n._dispatchListeners=m(n._dispatchListeners,a),n._dispatchIDs=m(n._dispatchIDs,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,o,e)}function i(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.injection.getInstanceHandle().traverseTwoPhaseSkipTarget(e.dispatchMarker,o,e)}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=y(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchIDs=m(n._dispatchIDs,e))}}function l(e){e&&e.dispatchConfig.registrationName&&s(e.dispatchMarker,null,e)}function u(e){g(e,a)}function c(e){g(e,i)}function f(e,t,n,r){h.injection.getInstanceHandle().traverseEnterLeave(n,r,s,e,t)}function d(e){g(e,l)}var p=n(1622),h=n(1623),m=(n(1617),n(1627)),g=n(1628),v=p.PropagationPhases,y=h.getListener,b={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:f};e.exports=b},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(1648),a=n(1631),i=n(1667);a(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(1601),a=null;e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1669),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;l?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse}var o=n(1648),a=n(1631),i=n(1607),s=(n(1617),{type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null});a(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=s,r.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);a(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=a({},n.Interface,t),e.augmentClass=n.augmentClass,o.addPoolingTo(e,o.fourArgumentPooler)},o.addPoolingTo(r,o.fourArgumentPooler),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1669),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=w.getPooled(M.change,D,e,C(e));A.accumulateTwoPhaseDispatches(t),_.batchedUpdates(a,t)}function a(e){b.enqueueEvents(e),b.processEventQueue(!1)}function i(e,t){S=e,D=t,S.attachEvent("onchange",o)}function s(){S&&(S.detachEvent("onchange",o),S=null,D=null)}function l(e,t,n){if(e===P.topChange)return n}function u(e,t,n){e===P.topFocus?(s(),i(t,n)):e===P.topBlur&&s()}function c(e,t){S=e,D=t,O=e.value,I=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(S,"value",B),S.attachEvent("onpropertychange",d)}function f(){S&&(delete S.value,S.detachEvent("onpropertychange",d),S=null,D=null,O=null,I=null)}function d(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==O&&(O=t,o(e))}}function p(e,t,n){if(e===P.topInput)return n}function h(e,t,n){e===P.topFocus?(f(),c(t,n)):e===P.topBlur&&f()}function m(e,t,n){if((e===P.topSelectionChange||e===P.topKeyUp||e===P.topKeyDown)&&S&&S.value!==O)return O=S.value,D}function g(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type); -}function v(e,t,n){if(e===P.topClick)return n}var y=n(1622),b=n(1623),A=n(1665),x=n(1601),_=n(1646),w=n(1669),C=n(1673),E=n(1632),T=n(1674),k=n(1671),P=y.topLevelTypes,M={change:{phasedRegistrationNames:{bubbled:k({onChange:null}),captured:k({onChangeCapture:null})},dependencies:[P.topBlur,P.topChange,P.topClick,P.topFocus,P.topInput,P.topKeyDown,P.topKeyUp,P.topSelectionChange]}},S=null,D=null,O=null,I=null,L=!1;x.canUseDOM&&(L=E("change")&&(!("documentMode"in document)||document.documentMode>8));var N=!1;x.canUseDOM&&(N=E("input")&&(!("documentMode"in document)||document.documentMode>9));var B={get:function(){return I.get.call(this)},set:function(e){O=""+e,I.set.call(this,e)}},F={eventTypes:M,extractEvents:function(e,t,n,o,a){var i,s;if(r(t)?L?i=l:s=u:T(t)?N?i=p:(i=m,s=h):g(t)&&(i=v),i){var c=i(e,t,n);if(c){var f=w.getPooled(M.change,c,o,a);return f.type="change",A.accumulateTwoPhaseDispatches(f),f}}s&&s(e,t,n)}};e.exports=F},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&r[e.type]||"textarea"===t)}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t){"use strict";var n=0,r={createReactRootIndex:function(){return n++}};e.exports=r},function(e,t,n){"use strict";var r=n(1671),o=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null})];e.exports=o},function(e,t,n){"use strict";var r=n(1622),o=n(1665),a=n(1678),i=n(1620),s=n(1671),l=r.topLevelTypes,u=i.getFirstReactDOM,c={mouseEnter:{registrationName:s({onMouseEnter:null}),dependencies:[l.topMouseOut,l.topMouseOver]},mouseLeave:{registrationName:s({onMouseLeave:null}),dependencies:[l.topMouseOut,l.topMouseOver]}},f=[null,null],d={eventTypes:c,extractEvents:function(e,t,n,r,s){if(e===l.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==l.topMouseOut&&e!==l.topMouseOver)return null;var d;if(t.window===t)d=t;else{var p=t.ownerDocument;d=p?p.defaultView||p.parentWindow:window}var h,m,g="",v="";if(e===l.topMouseOut?(h=t,g=n,m=u(r.relatedTarget||r.toElement),m?v=i.getID(m):m=d,m=m||d):(h=d,m=t,v=n),h===m)return null;var y=a.getPooled(c.mouseLeave,g,r,s);y.type="mouseleave",y.target=h,y.relatedTarget=m;var b=a.getPooled(c.mouseEnter,v,r,s);return b.type="mouseenter",b.target=m,b.relatedTarget=h,o.accumulateEnterLeaveDispatches(y,b,g,v),f[0]=y,f[1]=b,f}};e.exports=d},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1679),a=n(1630),i=n(1680),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+a.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+a.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1669),a=n(1673),i={view:function(e){if(e.view)return e.view;var t=a(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,i),e.exports=r},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t,n){"use strict";var r,o=n(1615),a=n(1601),i=o.injection.MUST_USE_ATTRIBUTE,s=o.injection.MUST_USE_PROPERTY,l=o.injection.HAS_BOOLEAN_VALUE,u=o.injection.HAS_SIDE_EFFECTS,c=o.injection.HAS_NUMERIC_VALUE,f=o.injection.HAS_POSITIVE_NUMERIC_VALUE,d=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(a.canUseDOM){var p=document.implementation;r=p&&p.hasFeature&&p.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var h={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:i|l,allowTransparency:i,alt:null,async:l,autoComplete:null,autoPlay:l,capture:i|l,cellPadding:null,cellSpacing:null,charSet:i,challenge:i,checked:s|l,classID:i,className:r?i:s,cols:i|f,colSpan:null,content:null,contentEditable:null,contextMenu:i,controls:s|l,coords:null,crossOrigin:null,data:null,dateTime:i,default:l,defer:l,dir:null,disabled:i|l,download:d,draggable:null,encType:null,form:i,formAction:i,formEncType:i,formMethod:i,formNoValidate:l,formTarget:i,frameBorder:i,headers:null,height:i,hidden:i|l,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:s,inputMode:i,integrity:null,is:i,keyParams:i,keyType:i,kind:null,label:null,lang:null,list:i,loop:s|l,low:null,manifest:i,marginHeight:null,marginWidth:null,max:null,maxLength:i,media:i,mediaGroup:null,method:null,min:null,minLength:i,multiple:s|l,muted:s|l,name:null,nonce:i,noValidate:l,open:l,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:s|l,rel:null,required:l,reversed:l,role:i,rows:i|f,rowSpan:null,sandbox:null,scope:null,scoped:l,scrolling:null,seamless:i|l,selected:s|l,shape:null,size:i|f,sizes:i,span:f,spellCheck:null,src:null,srcDoc:s,srcLang:null,srcSet:i,start:c,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:s|u,width:i,wmode:i,wrap:null,about:i,datatype:i,inlist:i,prefix:i,property:i,resource:i,typeof:i,vocab:i,autoCapitalize:i,autoCorrect:i,autoSave:null,color:null,itemProp:i,itemScope:i|l,itemType:i,itemID:i,itemRef:i,results:null,security:i,unselectable:i},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};e.exports=h},function(e,t,n){"use strict";var r=(n(1639),n(1683)),o=(n(1617),"_getDOMNodeDidWarn"),a={getDOMNode:function(){return this.constructor[o]=!0,r(this)}};e.exports=a},function(e,t,n){"use strict";function r(e){return null==e?null:1===e.nodeType?e:o.has(e)?a.getNodeFromInstance(e):(null!=e.render&&"function"==typeof e.render?i(!1):void 0,void i(!1))}var o=(n(1597),n(1639)),a=n(1620),i=n(1605);n(1617);e.exports=r},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(1646),a=n(1649),i=n(1631),s=n(1607),l={initialize:s,close:function(){d.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];i(r.prototype,a.Mixin,{getTransactionWrappers:function(){return c}});var f=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=d.isBatchingUpdates;d.isBatchingUpdates=!0,i?e(t,n,r,o,a):f.perform(e,null,t,n,r,o,a)}};e.exports=d},function(e,t,n){"use strict";function r(){return this}function o(){var e=this._reactInternalComponent;return!!e}function a(){}function i(e,t){var n=this._reactInternalComponent;n&&(O.enqueueSetPropsInternal(n,e),t&&O.enqueueCallbackInternal(n,t))}function s(e,t){var n=this._reactInternalComponent;n&&(O.enqueueReplacePropsInternal(n,e),t&&O.enqueueCallbackInternal(n,t))}function l(e,t){t&&(null!=t.dangerouslySetInnerHTML&&(null!=t.children?B(!1):void 0,"object"==typeof t.dangerouslySetInnerHTML&&G in t.dangerouslySetInnerHTML?void 0:B(!1)),null!=t.style&&"object"!=typeof t.style?B(!1):void 0)}function u(e,t,n,r){var o=M.findReactContainerForID(e);if(o){var a=o.nodeType===Y?o.ownerDocument:o;H(t,a)}r.getReactMountReady().enqueue(c,{id:e,registrationName:t,listener:n})}function c(){var e=this;_.putListener(e.id,e.registrationName,e.listener)}function f(){var e=this;e._rootNodeID?void 0:B(!1);var t=M.getNode(e._rootNodeID);switch(t?void 0:B(!1),e._tag){case"iframe":e._wrapperState.listeners=[_.trapBubbledEvent(x.topLevelTypes.topLoad,"load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in K)K.hasOwnProperty(n)&&e._wrapperState.listeners.push(_.trapBubbledEvent(x.topLevelTypes[n],K[n],t));break;case"img":e._wrapperState.listeners=[_.trapBubbledEvent(x.topLevelTypes.topError,"error",t),_.trapBubbledEvent(x.topLevelTypes.topLoad,"load",t)];break;case"form":e._wrapperState.listeners=[_.trapBubbledEvent(x.topLevelTypes.topReset,"reset",t),_.trapBubbledEvent(x.topLevelTypes.topSubmit,"submit",t)]}}function d(){E.mountReadyWrapper(this)}function p(){k.postUpdateWrapper(this)}function h(e){$.call(J,e)||(Z.test(e)?void 0:B(!1),J[e]=!0)}function m(e,t){return e.indexOf("-")>=0||null!=t.is}function g(e){h(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null}var v=n(1686),y=n(1688),b=n(1615),A=n(1614),x=n(1622),_=n(1621),w=n(1618),C=n(1696),E=n(1697),T=n(1701),k=n(1704),P=n(1705),M=n(1620),S=n(1706),D=n(1610),O=n(1645),I=n(1631),L=n(1635),N=n(1613),B=n(1605),F=(n(1632),n(1671)),R=n(1611),j=n(1612),z=(n(1709),n(1662),n(1617),_.deleteListener),H=_.listenTo,U=_.registrationNameModules,W={string:!0,number:!0},q=F({children:null}),V=F({style:null}),G=F({__html:null}),Y=1,K={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},Z=(I({menuitem:!0},Q),/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/),J={},$={}.hasOwnProperty;g.displayName="ReactDOMComponent",g.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(f,this);break;case"button":r=C.getNativeProps(this,r,n);break;case"input":E.mountWrapper(this,r,n),r=E.getNativeProps(this,r,n);break;case"option":T.mountWrapper(this,r,n),r=T.getNativeProps(this,r,n);break;case"select":k.mountWrapper(this,r,n),r=k.getNativeProps(this,r,n),n=k.processChildContext(this,r,n);break;case"textarea":P.mountWrapper(this,r,n),r=P.getNativeProps(this,r,n)}l(this,r);var o;if(t.useCreateElement){var a=n[M.ownerDocumentContextKey],i=a.createElement(this._currentElement.type);A.setAttributeForID(i,this._rootNodeID),M.getID(i),this._updateDOMProperties({},r,t,i),this._createInitialChildren(t,r,n,i),o=i}else{var s=this._createOpenTagMarkupAndPutListeners(t,r),u=this._createContentMarkup(t,r,n);o=!u&&Q[this._tag]?s+"/>":s+">"+u+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(d,this);case"button":case"select":case"textarea":r.autoFocus&&t.getReactMountReady().enqueue(v.focusDOMComponent,this)}return o},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(U.hasOwnProperty(r))o&&u(this._rootNodeID,r,o,e);else{r===V&&(o&&(o=this._previousStyleCopy=I({},t.style)),o=y.createMarkupForStyles(o));var a=null;null!=this._tag&&m(this._tag,t)?r!==q&&(a=A.createMarkupForCustomAttribute(r,o)):a=A.createMarkupForProperty(r,o),a&&(n+=" "+a)}}if(e.renderToStaticMarkup)return n;var i=A.createMarkupForID(this._rootNodeID);return n+" "+i},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=W[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=N(a);else if(null!=i){var s=this.mountChildren(i,e,n);r=s.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&R(r,o.__html);else{var a=W[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)j(r,a);else if(null!=i)for(var s=this.mountChildren(i,e,n),l=0;l>"}var y=n(1634),b=n(1658),A=n(1607),x=n(1700),_="<>",w={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:a(),arrayOf:i,element:s(),instanceOf:l,node:d(),objectOf:c,oneOf:u,oneOfType:f,shape:p};e.exports=w},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t,n){"use strict";var r=n(1702),o=n(1704),a=n(1631),i=(n(1617),o.valueContextKey),s={mountWrapper:function(e,t,n){var r=n[i],o=null;if(null!=r)if(o=!1,Array.isArray(r)){for(var a=0;at.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a="undefined"==typeof t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var f=document.createRange();f.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(f),n.extend(l.node,l.offset)):(f.setEnd(l.node,l.offset),n.addRange(f))}}}var l=n(1601),u=n(1720),c=n(1667),f=l.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:f?o:a,setOffsets:f?i:s};e.exports=d},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),a=0,i=0;o;){if(3===o.nodeType){if(i=a+o.textContent.length,a<=t&&i>=t)return{node:o,offset:t-a};a=i}o=n(r(o))}}e.exports=o},function(e,t){"use strict";function n(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(A||null==v||v!==c())return null;var n=r(v);if(!b||!p(b,n)){b=n;var o=u.getPooled(g.select,y,e,t);return o.type="select",o.target=v,i.accumulateTwoPhaseDispatches(o),o}return null}var a=n(1622),i=n(1665),s=n(1601),l=n(1718),u=n(1669),c=n(1721),f=n(1674),d=n(1671),p=n(1709),h=a.topLevelTypes,m=s.canUseDOM&&"documentMode"in document&&document.documentMode<=11,g={select:{phasedRegistrationNames:{bubbled:d({onSelect:null}),captured:d({onSelectCapture:null})},dependencies:[h.topBlur,h.topContextMenu,h.topFocus,h.topKeyDown,h.topMouseDown,h.topMouseUp,h.topSelectionChange]}},v=null,y=null,b=null,A=!1,x=!1,_=d({onSelect:null}),w={eventTypes:g,extractEvents:function(e,t,n,r,a){if(!x)return null;switch(e){case h.topFocus:(f(t)||"true"===t.contentEditable)&&(v=t,y=n,b=null);break;case h.topBlur:v=null,y=null,b=null;break;case h.topMouseDown:A=!0;break;case h.topContextMenu:case h.topMouseUp:return A=!1,o(r,a);case h.topSelectionChange:if(m)break;case h.topKeyDown:case h.topKeyUp:return o(r,a)}return null},didPutListener:function(e,t,n){t===_&&(x=!0)}};e.exports=w},function(e,t){"use strict";var n=Math.pow(2,53),r={createReactRootIndex:function(){return Math.ceil(Math.random()*n)}};e.exports=r},function(e,t,n){"use strict";var r=n(1622),o=n(1711),a=n(1665),i=n(1620),s=n(1725),l=n(1669),u=n(1726),c=n(1727),f=n(1678),d=n(1730),p=n(1731),h=n(1679),m=n(1732),g=n(1607),v=n(1728),y=n(1605),b=n(1671),A=r.topLevelTypes,x={abort:{phasedRegistrationNames:{bubbled:b({onAbort:!0}),captured:b({onAbortCapture:!0})}},blur:{phasedRegistrationNames:{bubbled:b({onBlur:!0}),captured:b({onBlurCapture:!0})}},canPlay:{phasedRegistrationNames:{bubbled:b({onCanPlay:!0}),captured:b({onCanPlayCapture:!0})}},canPlayThrough:{phasedRegistrationNames:{bubbled:b({onCanPlayThrough:!0}),captured:b({onCanPlayThroughCapture:!0})}},click:{phasedRegistrationNames:{bubbled:b({onClick:!0}),captured:b({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:b({onContextMenu:!0}),captured:b({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:b({onCopy:!0}),captured:b({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:b({onCut:!0}),captured:b({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:b({onDoubleClick:!0}),captured:b({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:b({onDrag:!0}),captured:b({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:b({onDragEnd:!0}),captured:b({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:b({onDragEnter:!0}),captured:b({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:b({onDragExit:!0}),captured:b({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:b({onDragLeave:!0}),captured:b({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:b({onDragOver:!0}),captured:b({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:b({onDragStart:!0}),captured:b({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:b({onDrop:!0}),captured:b({onDropCapture:!0})}},durationChange:{phasedRegistrationNames:{bubbled:b({onDurationChange:!0}),captured:b({onDurationChangeCapture:!0})}},emptied:{phasedRegistrationNames:{bubbled:b({onEmptied:!0}),captured:b({onEmptiedCapture:!0})}},encrypted:{phasedRegistrationNames:{bubbled:b({onEncrypted:!0}),captured:b({onEncryptedCapture:!0})}},ended:{phasedRegistrationNames:{bubbled:b({onEnded:!0}),captured:b({onEndedCapture:!0})}},error:{phasedRegistrationNames:{bubbled:b({onError:!0}),captured:b({onErrorCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:b({onFocus:!0}),captured:b({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:b({onInput:!0}),captured:b({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:b({onKeyDown:!0}),captured:b({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:b({onKeyPress:!0}),captured:b({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:b({onKeyUp:!0}),captured:b({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:b({onLoad:!0}),captured:b({onLoadCapture:!0})}},loadedData:{phasedRegistrationNames:{bubbled:b({onLoadedData:!0}),captured:b({onLoadedDataCapture:!0})}},loadedMetadata:{phasedRegistrationNames:{bubbled:b({onLoadedMetadata:!0}),captured:b({onLoadedMetadataCapture:!0})}},loadStart:{phasedRegistrationNames:{bubbled:b({onLoadStart:!0}),captured:b({onLoadStartCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:b({onMouseDown:!0}),captured:b({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:b({onMouseMove:!0}),captured:b({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:b({onMouseOut:!0}),captured:b({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:b({onMouseOver:!0}),captured:b({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:b({onMouseUp:!0}),captured:b({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:b({onPaste:!0}),captured:b({onPasteCapture:!0})}},pause:{phasedRegistrationNames:{bubbled:b({onPause:!0}),captured:b({onPauseCapture:!0})}},play:{phasedRegistrationNames:{bubbled:b({onPlay:!0}),captured:b({onPlayCapture:!0})}},playing:{phasedRegistrationNames:{bubbled:b({onPlaying:!0}),captured:b({onPlayingCapture:!0})}},progress:{phasedRegistrationNames:{bubbled:b({onProgress:!0}),captured:b({onProgressCapture:!0})}},rateChange:{phasedRegistrationNames:{bubbled:b({onRateChange:!0}),captured:b({onRateChangeCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:b({onReset:!0}),captured:b({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:b({onScroll:!0}),captured:b({onScrollCapture:!0})}},seeked:{phasedRegistrationNames:{bubbled:b({onSeeked:!0}),captured:b({onSeekedCapture:!0})}},seeking:{phasedRegistrationNames:{bubbled:b({onSeeking:!0}),captured:b({onSeekingCapture:!0})}},stalled:{phasedRegistrationNames:{bubbled:b({onStalled:!0}),captured:b({onStalledCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:b({onSubmit:!0}),captured:b({onSubmitCapture:!0})}},suspend:{phasedRegistrationNames:{bubbled:b({onSuspend:!0}),captured:b({onSuspendCapture:!0})}},timeUpdate:{phasedRegistrationNames:{bubbled:b({onTimeUpdate:!0}),captured:b({onTimeUpdateCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:b({onTouchCancel:!0}),captured:b({onTouchCancelCapture:!0})}},touchEnd:{phasedRegistrationNames:{bubbled:b({onTouchEnd:!0}),captured:b({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:b({onTouchMove:!0}),captured:b({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:b({onTouchStart:!0}),captured:b({onTouchStartCapture:!0})}},volumeChange:{phasedRegistrationNames:{bubbled:b({onVolumeChange:!0}),captured:b({onVolumeChangeCapture:!0})}},waiting:{phasedRegistrationNames:{bubbled:b({onWaiting:!0}),captured:b({onWaitingCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:b({onWheel:!0}),captured:b({onWheelCapture:!0})}}},_={topAbort:x.abort,topBlur:x.blur,topCanPlay:x.canPlay,topCanPlayThrough:x.canPlayThrough,topClick:x.click,topContextMenu:x.contextMenu,topCopy:x.copy,topCut:x.cut,topDoubleClick:x.doubleClick,topDrag:x.drag,topDragEnd:x.dragEnd,topDragEnter:x.dragEnter,topDragExit:x.dragExit,topDragLeave:x.dragLeave,topDragOver:x.dragOver,topDragStart:x.dragStart,topDrop:x.drop,topDurationChange:x.durationChange,topEmptied:x.emptied,topEncrypted:x.encrypted,topEnded:x.ended,topError:x.error,topFocus:x.focus,topInput:x.input,topKeyDown:x.keyDown,topKeyPress:x.keyPress,topKeyUp:x.keyUp,topLoad:x.load,topLoadedData:x.loadedData,topLoadedMetadata:x.loadedMetadata,topLoadStart:x.loadStart,topMouseDown:x.mouseDown,topMouseMove:x.mouseMove,topMouseOut:x.mouseOut,topMouseOver:x.mouseOver,topMouseUp:x.mouseUp,topPaste:x.paste,topPause:x.pause,topPlay:x.play,topPlaying:x.playing,topProgress:x.progress,topRateChange:x.rateChange,topReset:x.reset,topScroll:x.scroll,topSeeked:x.seeked,topSeeking:x.seeking,topStalled:x.stalled,topSubmit:x.submit,topSuspend:x.suspend,topTimeUpdate:x.timeUpdate,topTouchCancel:x.touchCancel,topTouchEnd:x.touchEnd,topTouchMove:x.touchMove,topTouchStart:x.touchStart,topVolumeChange:x.volumeChange,topWaiting:x.waiting,topWheel:x.wheel};for(var w in _)_[w].dependencies=[w];var C=b({onClick:null}),E={},T={eventTypes:x,extractEvents:function(e,t,n,r,o){var i=_[e];if(!i)return null;var g;switch(e){case A.topAbort:case A.topCanPlay:case A.topCanPlayThrough:case A.topDurationChange:case A.topEmptied:case A.topEncrypted:case A.topEnded:case A.topError:case A.topInput:case A.topLoad:case A.topLoadedData:case A.topLoadedMetadata:case A.topLoadStart:case A.topPause:case A.topPlay:case A.topPlaying:case A.topProgress:case A.topRateChange:case A.topReset:case A.topSeeked:case A.topSeeking:case A.topStalled:case A.topSubmit:case A.topSuspend:case A.topTimeUpdate:case A.topVolumeChange:case A.topWaiting:g=l;break;case A.topKeyPress:if(0===v(r))return null;case A.topKeyDown:case A.topKeyUp:g=c;break;case A.topBlur:case A.topFocus:g=u;break;case A.topClick:if(2===r.button)return null;case A.topContextMenu:case A.topDoubleClick:case A.topMouseDown:case A.topMouseMove:case A.topMouseOut:case A.topMouseOver:case A.topMouseUp:g=f;break;case A.topDrag:case A.topDragEnd:case A.topDragEnter:case A.topDragExit:case A.topDragLeave:case A.topDragOver:case A.topDragStart:case A.topDrop:g=d;break;case A.topTouchCancel:case A.topTouchEnd:case A.topTouchMove:case A.topTouchStart:g=p;break;case A.topScroll:g=h;break;case A.topWheel:g=m;break;case A.topCopy:case A.topCut:case A.topPaste:g=s}g?void 0:y(!1);var b=g.getPooled(i,n,r,o);return a.accumulateTwoPhaseDispatches(b),b},didPutListener:function(e,t,n){if(t===C){var r=i.getNode(e);E[e]||(E[e]=o.listen(r,"click",g))}},willDeleteListener:function(e,t){t===C&&(E[e].remove(),delete E[e])}};e.exports=T},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1669),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1679),a={relatedTarget:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1679),a=n(1728),i=n(1729),s=n(1680),l={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,l),e.exports=r},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t,n){"use strict";function r(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var o=n(1728),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1678),a={dataTransfer:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1679),a=n(1680),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){o.call(this,e,t,n,r)}var o=n(1678),a={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";var r=n(1615),o=r.injection.MUST_USE_ATTRIBUTE,a={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},i={Properties:{clipPath:o,cx:o,cy:o,d:o,dx:o,dy:o,fill:o,fillOpacity:o,fontFamily:o,fontSize:o,fx:o,fy:o,gradientTransform:o,gradientUnits:o,markerEnd:o,markerMid:o,markerStart:o,offset:o,opacity:o,patternContentUnits:o,patternUnits:o,points:o,preserveAspectRatio:o,r:o,rx:o,ry:o,spreadMethod:o,stopColor:o,stopOpacity:o,stroke:o,strokeDasharray:o,strokeLinecap:o,strokeOpacity:o,strokeWidth:o,textAnchor:o,transform:o,version:o,viewBox:o,x1:o,x2:o,x:o,xlinkActuate:o,xlinkArcrole:o,xlinkHref:o,xlinkRole:o,xlinkShow:o,xlinkTitle:o,xlinkType:o,xmlBase:o,xmlLang:o,xmlSpace:o,y1:o,y2:o,y:o},DOMAttributeNamespaces:{xlinkActuate:a.xlink,xlinkArcrole:a.xlink,xlinkHref:a.xlink,xlinkRole:a.xlink,xlinkShow:a.xlink,xlinkTitle:a.xlink,xlinkType:a.xlink,xmlBase:a.xml,xmlLang:a.xml,xmlSpace:a.xml},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlLang:"xml:lang",xmlSpace:"xml:space"}};e.exports=i},function(e,t){"use strict";e.exports="0.14.8"},function(e,t,n){"use strict";var r=n(1620);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";var r=n(1663),o=n(1737),a=n(1734);r.inject();var i={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:a};e.exports=i},function(e,t,n){"use strict";function r(e){i.isValidElement(e)?void 0:h(!1);var t;try{f.injection.injectBatchingStrategy(u);var n=s.createReactRootID();return t=c.getPooled(!1),t.perform(function(){var r=p(e,null),o=r.mountComponent(n,t,d);return l.addChecksumToMarkup(o)},null)}finally{c.release(t),f.injection.injectBatchingStrategy(a)}}function o(e){i.isValidElement(e)?void 0:h(!1);var t;try{f.injection.injectBatchingStrategy(u);var n=s.createReactRootID();return t=c.getPooled(!0),t.perform(function(){var r=p(e,null);return r.mountComponent(n,t,d)},null)}finally{c.release(t),f.injection.injectBatchingStrategy(a)}}var a=n(1684),i=n(1634),s=n(1637),l=n(1640),u=n(1738),c=n(1739),f=n(1646),d=n(1650),p=n(1654),h=n(1605);e.exports={renderToString:r,renderToStaticMarkup:o}},function(e,t){"use strict";var n={isBatchingUpdates:!1,batchedUpdates:function(e){}};e.exports=n},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=a.getPooled(null),this.useCreateElement=!1}var o=n(1648),a=n(1647),i=n(1649),s=n(1631),l=n(1607),u={initialize:function(){this.reactMountReady.reset(); -},close:l},c=[u],f={getTransactionWrappers:function(){return c},getReactMountReady:function(){return this.reactMountReady},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};s(r.prototype,i.Mixin,f),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(1702),o=n(1715),a=n(1714),i=n(1741),s=n(1634),l=(n(1742),n(1699)),u=n(1734),c=n(1631),f=n(1744),d=s.createElement,p=s.createFactory,h=s.cloneElement,m={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:f},Component:o,createElement:d,cloneElement:h,isValidElement:s.isValidElement,PropTypes:l,createClass:a.createClass,createFactory:p,createMixin:function(e){return e},DOM:i,version:u,__spread:c};e.exports=m},function(e,t,n){"use strict";function r(e){return o.createFactory(e)}var o=n(1634),a=(n(1742),n(1743)),i=a({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hgroup:"hgroup",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul",var:"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",image:"image",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);e.exports=i},function(e,t,n){"use strict";function r(){if(f.current){var e=f.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;a("uniqueKey",e,t)}}function a(e,t,n){var o=r();if(!o){var a="string"==typeof n?n:n.displayName||n.name;a&&(o=" Check the top-level render call using <"+a+">.")}var i=h[e]||(h[e]={});if(i[o])return null;i[o]=!0;var s={parentOrOwner:o,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==f.current&&(s.childOwner=" It was passed a child from "+t._owner.getName()+"."),s}function i(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n0)return[c[0],n+d.join(",\n"+f),c[1]].join("\n"+o)}return s}(e,"",0)}function r(e){return e.replace(a,function(e,t){return t?e:e+" "})}function o(e,t,n){return t in e?e[t]:n}var a=/("(?:[^"]|\\.)*")|[:,]/g;e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1495),s=n(728),l=r(s),u=n(597),c=r(u),f=["Circle","FeatureGroup","ImageOverlay","Marker","MapPopup","Rectangle","TableMarkersLayer","TileLayer"],d=a.default.createClass({displayName:"Overlay",mixins:[l.default],contextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},propTypes:{addOverlay:a.default.PropTypes.func,checked:a.default.PropTypes.bool,children:a.default.PropTypes.node,layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object,name:a.default.PropTypes.string,removeLayer:a.default.PropTypes.func,removeLayerControl:a.default.PropTypes.func},childContextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},getDefaultProps:function(){return{name:"Overlay"}},render:function(){var e=this.props,t=e.addOverlay,n=e.checked,r=e.children,o=e.name,s=e.removeLayer,l=e.removeLayerControl;return r=(0,c.default)(this,r,f),a.default.createElement(i.LayersControl.Overlay,{addOverlay:t,checked:n,children:a.default.Children.only(r),name:o,removeLayer:s,removeLayerControl:l})}});t.default=d},function(e,t,n){var r=n(1749);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,".map-sidebar{width:280px}.map-controls{-ms-flex-align:start;align-items:flex-start}.map-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.map-controls .dropdown-option .icon{color:#757575;padding-right:7px}.map-controls .legend .legend-element{min-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:16px}.map-controls .legend .legend-element .label{padding-left:8px}.map-content{height:calc(100% - 33px)}.dropdown-option .icon{color:#757575;padding-right:7px}.map-custom-control{background-color:#fff;opacity:.7;border-radius:10px}.map-custom-control .legend{padding:5px 10px}.map-custom-control .legend .legend-element{min-height:16px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.map-custom-control .legend .legend-element .label{padding-left:8px}.panoptes-chart-pie-sector,.panoptes-cluster-bubble{stroke:#000;stroke-width:.5}.panoptes-table-markers-layer-polyline{stroke:#000;fill:none;stroke-width:2}.panoptes-pie-chart-markers-layer-polyline{stroke:#3d8bd5;fill:none;stroke-width:1}",""])},function(e,t,n){var r,o,a;!function(i,s){o=[n(1498)],r=s,a="function"==typeof r?r.apply(t,o):r,!(void 0!==a&&(e.exports=a))}(this,function(e){"use strict";return e.TileLayer.Provider=e.TileLayer.extend({initialize:function(t,n){var r=e.TileLayer.Provider.providers,o=t.split("."),a=o[0],i=o[1];if(!r[a])throw"No such provider ("+a+")";var s={url:r[a].url,options:r[a].options};if(i&&"variants"in r[a]){if(!(i in r[a].variants))throw"No such variant of "+a+" ("+i+")";var l,u=r[a].variants[i];l="string"==typeof u?{variant:u}:u.options,s={url:u.url||s.url,options:e.Util.extend({},s.options,l)}}var c="file:"===window.location.protocol||s.options.forceHTTP;0===s.url.indexOf("//")&&c&&(s.url="http:"+s.url),s.options.retina&&(n.detectRetina&&e.Browser.retina?n.detectRetina=!1:s.options.retina="");var f=function(e){return e.indexOf("{attribution.")===-1?e:e.replace(/\{attribution.(\w*)\}/,function(e,t){return f(r[t].options.attribution)})};s.options.attribution=f(s.options.attribution);var d=e.Util.extend({},s.options,n);e.TileLayer.prototype.initialize.call(this,s.url,d)}}),e.TileLayer.Provider.providers={OpenStreetMap:{url:"//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'© OpenStreetMap'},variants:{Mapnik:{},BlackAndWhite:{url:"http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",options:{maxZoom:18}},DE:{url:"http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png",options:{maxZoom:18}},France:{url:"//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png",options:{maxZoom:20,attribution:"© Openstreetmap France | {attribution.OpenStreetMap}"}},HOT:{url:"//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",options:{attribution:'{attribution.OpenStreetMap}, Tiles courtesy of Humanitarian OpenStreetMap Team'}}}},OpenSeaMap:{url:"http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png",options:{attribution:'Map data: © OpenSeaMap contributors'}},OpenTopoMap:{url:"//{s}.tile.opentopomap.org/{z}/{x}/{y}.png",options:{maxZoom:17,attribution:'Map data: {attribution.OpenStreetMap}, SRTM | Map style: © OpenTopoMap (CC-BY-SA)'}},Thunderforest:{url:"//{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}.png?apikey={apikey}",options:{attribution:'© Thunderforest, {attribution.OpenStreetMap}',variant:"cycle"},variants:{OpenCycleMap:"cycle",Transport:{options:{variant:"transport",maxZoom:19}},TransportDark:{options:{variant:"transport-dark",maxZoom:19}},SpinalMap:{options:{variant:"spinal-map",maxZoom:11}},Landscape:"landscape",Outdoors:"outdoors",Pioneer:"pioneer"}},OpenMapSurfer:{url:"http://korona.geog.uni-heidelberg.de/tiles/{variant}/x={x}&y={y}&z={z}",options:{maxZoom:20,variant:"roads",attribution:'Imagery from GIScience Research Group @ University of Heidelberg — Map data {attribution.OpenStreetMap}'},variants:{Roads:"roads",AdminBounds:{options:{variant:"adminb",maxZoom:19}},Grayscale:{options:{variant:"roadsg",maxZoom:19}}}},Hydda:{url:"//{s}.tile.openstreetmap.se/hydda/{variant}/{z}/{x}/{y}.png",options:{variant:"full",attribution:'Tiles courtesy of OpenStreetMap Sweden — Map data {attribution.OpenStreetMap}'},variants:{Full:"full",Base:"base",RoadsAndLabels:"roads_and_labels"}},MapBox:{url:"//api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}",options:{attribution:'Imagery from MapBox — Map data {attribution.OpenStreetMap}',subdomains:"abcd"}},Stamen:{url:"//stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.{ext}",options:{attribution:'Map tiles by Stamen Design, CC BY 3.0 — Map data {attribution.OpenStreetMap}',subdomains:"abcd",minZoom:0,maxZoom:20,variant:"toner",ext:"png"},variants:{Toner:"toner",TonerBackground:"toner-background",TonerHybrid:"toner-hybrid",TonerLines:"toner-lines",TonerLabels:"toner-labels",TonerLite:"toner-lite",Watercolor:{options:{variant:"watercolor",minZoom:1,maxZoom:16}},Terrain:{options:{variant:"terrain",minZoom:0,maxZoom:18}},TerrainBackground:{options:{variant:"terrain-background",minZoom:0,maxZoom:18}},TopOSMRelief:{options:{variant:"toposm-color-relief",ext:"jpg",bounds:[[22,-132],[51,-56]]}},TopOSMFeatures:{options:{variant:"toposm-features",bounds:[[22,-132],[51,-56]],opacity:.9}}}},Esri:{url:"//server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}",options:{variant:"World_Street_Map",attribution:"Tiles © Esri"},variants:{WorldStreetMap:{options:{attribution:"{attribution.Esri} — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012"}},DeLorme:{options:{variant:"Specialty/DeLorme_World_Base_Map",minZoom:1,maxZoom:11,attribution:"{attribution.Esri} — Copyright: ©2012 DeLorme"}},WorldTopoMap:{options:{variant:"World_Topo_Map",attribution:"{attribution.Esri} — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community"}},WorldImagery:{options:{variant:"World_Imagery",attribution:"{attribution.Esri} — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"}},WorldTerrain:{options:{variant:"World_Terrain_Base",maxZoom:13,attribution:"{attribution.Esri} — Source: USGS, Esri, TANA, DeLorme, and NPS"}},WorldShadedRelief:{options:{variant:"World_Shaded_Relief",maxZoom:13,attribution:"{attribution.Esri} — Source: Esri"}},WorldPhysical:{options:{variant:"World_Physical_Map",maxZoom:8,attribution:"{attribution.Esri} — Source: US National Park Service"}},OceanBasemap:{options:{variant:"Ocean_Basemap",maxZoom:13,attribution:"{attribution.Esri} — Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri"}},NatGeoWorldMap:{options:{variant:"NatGeo_World_Map",maxZoom:16,attribution:"{attribution.Esri} — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC"}},WorldGrayCanvas:{options:{variant:"Canvas/World_Light_Gray_Base",maxZoom:16,attribution:"{attribution.Esri} — Esri, DeLorme, NAVTEQ"}}}},OpenWeatherMap:{url:"http://{s}.tile.openweathermap.org/map/{variant}/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'Map data © OpenWeatherMap',opacity:.5},variants:{Clouds:"clouds",CloudsClassic:"clouds_cls",Precipitation:"precipitation",PrecipitationClassic:"precipitation_cls",Rain:"rain",RainClassic:"rain_cls",Pressure:"pressure",PressureContour:"pressure_cntr",Wind:"wind",Temperature:"temp",Snow:"snow"}},HERE:{url:"//{s}.{base}.maps.cit.api.here.com/maptile/2.1/{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?app_id={app_id}&app_code={app_code}&lg={language}",options:{attribution:'Map © 1987-2014 HERE',subdomains:"1234",mapID:"newest",app_id:"",app_code:"",base:"base",variant:"normal.day",maxZoom:20,type:"maptile",language:"eng",format:"png8",size:"256"},variants:{normalDay:"normal.day",normalDayCustom:"normal.day.custom",normalDayGrey:"normal.day.grey",normalDayMobile:"normal.day.mobile",normalDayGreyMobile:"normal.day.grey.mobile",normalDayTransit:"normal.day.transit",normalDayTransitMobile:"normal.day.transit.mobile",normalNight:"normal.night",normalNightMobile:"normal.night.mobile",normalNightGrey:"normal.night.grey",normalNightGreyMobile:"normal.night.grey.mobile",basicMap:{options:{type:"basetile"}},mapLabels:{options:{type:"labeltile",format:"png"}},trafficFlow:{options:{base:"traffic",type:"flowtile"}},carnavDayGrey:"carnav.day.grey",hybridDay:{options:{base:"aerial",variant:"hybrid.day"}},hybridDayMobile:{options:{base:"aerial",variant:"hybrid.day.mobile"}},pedestrianDay:"pedestrian.day",pedestrianNight:"pedestrian.night",satelliteDay:{options:{base:"aerial",variant:"satellite.day"}},terrainDay:{options:{base:"aerial",variant:"terrain.day"}},terrainDayMobile:{options:{base:"aerial",variant:"terrain.day.mobile"}}}},FreeMapSK:{url:"http://t{s}.freemap.sk/T/{z}/{x}/{y}.jpeg",options:{minZoom:8,maxZoom:16,subdomains:"1234",bounds:[[47.204642,15.996093],[49.830896,22.576904]],attribution:'{attribution.OpenStreetMap}, vizualization CC-By-SA 2.0 Freemap.sk'}},MtbMap:{url:"http://tile.mtbmap.cz/mtbmap_tiles/{z}/{x}/{y}.png",options:{attribution:"{attribution.OpenStreetMap} & USGS"}},CartoDB:{url:"http://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}.png",options:{attribution:'{attribution.OpenStreetMap} © CartoDB',subdomains:"abcd",maxZoom:19,variant:"light_all"},variants:{Positron:"light_all",PositronNoLabels:"light_nolabels",PositronOnlyLabels:"light_only_labels",DarkMatter:"dark_all",DarkMatterNoLabels:"dark_nolabels",DarkMatterOnlyLabels:"dark_only_labels"}},HikeBike:{url:"http://{s}.tiles.wmflabs.org/{variant}/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:"{attribution.OpenStreetMap}",variant:"hikebike"},variants:{HikeBike:{},HillShading:{options:{maxZoom:15,variant:"hillshading"}}}},BasemapAT:{url:"https://maps{s}.wien.gv.at/basemap/{variant}/normal/google3857/{z}/{y}/{x}.{format}",options:{maxZoom:19,attribution:'Datenquelle: basemap.at',subdomains:["","1","2","3","4"],format:"png",bounds:[[46.35877,8.782379],[49.037872,17.189532]],variant:"geolandbasemap"},variants:{basemap:{options:{maxZoom:20,variant:"geolandbasemap"}},grau:"bmapgrau",overlay:"bmapoverlay",highdpi:{options:{variant:"bmaphidpi",format:"jpeg"}},orthofoto:{options:{maxZoom:20,variant:"bmaporthofoto30cm",format:"jpeg"}}}},NASAGIBS:{url:"//map1.vis.earthdata.nasa.gov/wmts-webmerc/{variant}/default/{time}/{tilematrixset}{maxZoom}/{z}/{y}/{x}.{format}",options:{attribution:'Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.',bounds:[[-85.0511287776,-179.999999975],[85.0511287776,179.999999975]],minZoom:1,maxZoom:9,format:"jpg",time:"",tilematrixset:"GoogleMapsCompatible_Level"},variants:{ModisTerraTrueColorCR:"MODIS_Terra_CorrectedReflectance_TrueColor",ModisTerraBands367CR:"MODIS_Terra_CorrectedReflectance_Bands367",ViirsEarthAtNight2012:{options:{variant:"VIIRS_CityLights_2012",maxZoom:8}},ModisTerraLSTDay:{options:{variant:"MODIS_Terra_Land_Surface_Temp_Day",format:"png",maxZoom:7,opacity:.75}},ModisTerraSnowCover:{options:{variant:"MODIS_Terra_Snow_Cover",format:"png",maxZoom:8,opacity:.75}},ModisTerraAOD:{options:{variant:"MODIS_Terra_Aerosol",format:"png",maxZoom:6,opacity:.75}},ModisTerraChlorophyll:{options:{variant:"MODIS_Terra_Chlorophyll_A",format:"png",maxZoom:7,opacity:.75}}}},NLS:{url:"//nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg",options:{attribution:'National Library of Scotland Historic Maps',bounds:[[49.6,-12],[61.7,3]],minZoom:1,maxZoom:18,subdomains:"0123"}},JusticeMap:{url:"http://www.justicemap.org/tile/{size}/{variant}/{z}/{x}/{y}.png",options:{attribution:'Justice Map',size:"county",bounds:[[14,-180],[72,-56]]},variants:{income:"income",americanIndian:"indian",asian:"asian",black:"black",hispanic:"hispanic",multi:"multi",nonWhite:"nonwhite",white:"white",plurality:"plural"}}},e.tileLayer.provider=function(t,n){return new e.TileLayer.Provider(t,n)},e})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1495),s=n(597),l=r(s),u=n(728),c=r(u),f=a.default.createClass({displayName:"MapPopup",mixins:[c.default],contextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},propTypes:{children:a.default.PropTypes.node,layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},childContextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},render:function(){var e=(0,l.default)(this,this.props.children);return a.default.createElement(i.Popup,{children:a.default.Children.only(e)})}});t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1495),s=n(728),l=r(s),u=a.default.createClass({displayName:"Rectangle",mixins:[l.default],propTypes:{bounds:a.default.PropTypes.array},render:function(){return a.default.createElement(i.Rectangle,{bounds:this.props.bounds})}});t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1495),s=n(728),l=r(s),u=a.default.createClass({displayName:"WMSTileLayer",mixins:[l.default],contextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},propTypes:{attribution:a.default.PropTypes.string,format:a.default.PropTypes.string,layerContainer:a.default.PropTypes.object,layers:a.default.PropTypes.string,map:a.default.PropTypes.object,transparent:a.default.PropTypes.bool,url:a.default.PropTypes.string.isRequired,version:a.default.PropTypes.string},childContextTypes:{layerContainer:a.default.PropTypes.object,map:a.default.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},getDefaultProps:function(){return{attribution:"Weather data © 2012 IEM Nexrad",format:"image/png",layers:"nexrad-n0r-900913",transparent:!0,url:"http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"}},render:function(){var e=this.props,t=e.attribution,n=e.format,r=e.layers,o=e.transparent,s=e.url;return a.default.createElement(i.WMSTileLayer,{attribution:t,children:void 0,format:n,layers:r,transparent:o,url:s})}});t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=a.default.createClass({displayName:"ComponentStack",propTypes:{children:a.default.PropTypes.node,title:a.default.PropTypes.string},title:function(){return this.props.title},render:function(){return a.default.createElement("div",null,this.props.children)}});t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(1756),f=r(c),d=n(1761),p=r(d),h=a.default.createClass({displayName:"EmptyTab",mixins:[s.default,u.default],propTypes:{replaceSelf:a.default.PropTypes.func},icon:function(){return"folder-o"},title:function(){return"New tab"},handleClick:function(e){var t=e.component,n=e.middleClick;n?this.flux.actions.session.tabOpen(t,!1):this.props.replaceSelf(t)},render:function(){return a.default.createElement("div",{className:"horizontal stack start-align wrap"},a.default.createElement(f.default,{style:{width:"500px"},onClick:this.handleClick}),a.default.createElement(p.default,{style:{width:"500px"},onClick:this.handleClick}))}});t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1161),s=r(i),l=n(630),u=r(l),c=n(722),f=r(c),d=n(728),p=r(d),h=n(729),m=r(h),g=n(1199),v=n(1201),y=r(v),b=n(736),A=r(b),x=n(956),_=r(x),w=n(1757),C=r(w),E=n(1758),T=r(E),k=n(1585),P=r(k),M=n(1434),S=r(M),D=n(1592),O=r(D),I=n(1572),L=r(I),N=a.default.createClass({displayName:"ViewList",mixins:[f.default,p.default,m.default],propTypes:{style:a.default.PropTypes.object,onClick:a.default.PropTypes.func},handleOpen:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;(this.props.onClick||this.handleClick)({component:t,middleClick:n})},handleClick:function(e){var t=e.component,n=e.middleClick;n?this.flux.actions.session.tabOpen(t,!1):this.flux.actions.session.tabOpen(t,!0)},render:function(){var e=this,t=(0,s.default)(this.config.visibleTables),n=(0,s.default)((0,u.default)(this.config.visibleTables,function(e){return e.trees})),r=(0,s.default)((0,u.default)(this.config.visibleTables,function(e){return e.hasGeoCoord})),o=(0,s.default)(this.config.mapLayers);return a.default.createElement(g.List,{style:this.props.style},a.default.createElement(y.default,null,"Open a view:"),this.config.user.isManager?a.default.createElement(g.ListItem,{primaryText:"Dataset Manager",secondaryText:"Import and configure datasets",leftIcon:a.default.createElement("div",null,a.default.createElement(A.default,{fixedWidth:!0,name:"database"})),onClick:function(t){return e.handleOpen(t,a.default.createElement(P.default,null))}}):null,a.default.createElement(g.ListItem,{primaryText:"Genome Browser",secondaryText:"View table data and sequence data on the genome",leftIcon:a.default.createElement("div",null,a.default.createElement(A.default,{fixedWidth:!0,name:"bitmap:genomebrowser.png"})),onClick:function(t){return e.handleOpen(t,a.default.createElement(_.default,null,a.default.createElement(C.default,{fixed:!0}),a.default.createElement(T.default,{fixed:!0})))}}),a.default.createElement(g.ListItem,{primaryText:"Table Plotter",disabled:!t,innerDivStyle:{opacity:t?"inherit":.5},secondaryText:t?"View table data graphically":"No table data to plot",leftIcon:a.default.createElement("div",null,a.default.createElement(A.default,{fixedWidth:!0,name:"area-chart"})),onClick:t?function(t){return e.handleOpen(t,a.default.createElement(S.default,null))}:function(){return null}}),a.default.createElement(g.ListItem,{primaryText:"Map Composer",disabled:!(r||o),innerDivStyle:{opacity:r||o?"inherit":.5},secondaryText:"View data geographically",leftIcon:a.default.createElement("div",null,a.default.createElement(A.default,{fixedWidth:!0,name:"globe"})),onClick:r||o?function(t){return e.handleOpen(t,a.default.createElement(O.default,null))}:function(){return null}}),a.default.createElement(g.ListItem,{primaryText:"Tree Plotter",disabled:!n,innerDivStyle:{opacity:n?"inherit":.5},secondaryText:n?"View a neighbour joining tree":"No tree data to plot",leftIcon:a.default.createElement("div",null,a.default.createElement(A.default,{fixedWidth:!0,name:"tree"})),onClick:n?function(t){return e.handleOpen(t,a.default.createElement(L.default,null))}:function(){return null}}))}});t.default=N},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(321),s=r(i),l=n(968),u=r(l),c=n(729),f=r(c),d=n(773),p=r(d),h=n(728),m=r(h),g=n(778),v=r(g),y=n(786),b=r(y),A=n(793),x=r(A),_=n(955),w=r(_),C=n(1042),E=r(C),T=n(1039),k=r(T),P=n(1160),M=n(1168),S=r(M),D=n(1120),O=r(D),I=26,L={97:"A",116:"T",99:"C",103:"G"},N=s.default.createClass({displayName:"ReferenceSequence",mixins:[(0,u.default)({redirect:[],check:["chromosome","width","sideWidth","name"]}),m.default,f.default,(0,p.default)("chromosome","start","end","width","sideWidth")],propTypes:{chromosome:s.default.PropTypes.string,start:s.default.PropTypes.number,end:s.default.PropTypes.number,width:s.default.PropTypes.number,sideWidth:s.default.PropTypes.number,onChangeLoadStatus:s.default.PropTypes.func},componentWillMount:function(){this.blocks=[]},componentDidUpdate:function(){this.draw(this.props,this.blocks)},fetchData:function(e,t){var n=this,r=e.chromosome,o=e.start,a=e.end,i=e.width,s=e.sideWidth;if(this.props.chromosome!==r&&this.applyData(e,[]),!(i-s<1)){var l=(0,P.findBlock)({start:o,end:a,width:i}),u=l.blockLevel,c=l.blockIndex,f=l.needNext,d=l.summaryWindow;this.props.chromosome===r&&this.blockLevel===u&&this.blockIndex===c&&this.needNext===f&&this.requestSummaryWindow===d||!function(){n.blockLevel=u,n.blockIndex=c,n.needNext=f,n.requestSummaryWindow=d,n.props.onChangeLoadStatus&&n.props.onChangeLoadStatus("LOADING");var i=[{expr:["/",["pos",d]],as:"window"},{expr:["count",["*"]],as:"count"},"base"],s=x.default.WhereClause.CompareFixed("chrom","=",r),l={database:n.config.dataset,table:"_sequence_",columns:i,query:x.default.WhereClause.encode(s),groupBy:["base","window"],orderBy:[["asc","window"],["desc","count"]],transpose:!1,typedArrays:!0},p={method:"query",regionField:"pos",queryField:"query",start:o,end:a,useWiderBlocksIfInCache:!1,isBlockTooBig:function(){return!1},postProcessBlock:n.cacheDraw};t.request(function(r){return(0,P.regionCacheGet)(l,p,r).then(function(e){n.props.onChangeLoadStatus&&n.props.onChangeLoadStatus("DONE"),n.applyData(n.props,e,d)}).catch(function(e){throw n.props.onChangeLoadStatus&&n.props.onChangeLoadStatus("DONE"),e}).catch(b.default.filterAborted).catch(v.default.filterCancelled).catch(function(r){throw n.applyData(n.props,[]),(0,w.default)(n.getFlux(),r.message,function(){return n.fetchData(e,t)}),r})})}(),this.draw(e)}},cacheDraw:function(e){for(var t=e.base.array,n=e.window.array,r=[],o=null,a=0,i=t.length;a=15&&1===t.summaryWindow)for(var o=e.base.array,a=0,l=o.length;a0&&c0&&ci[c]+a[c];)d+=1;u[d]=i[c]+a[c],l[c]=d}for(var p={},h=0,m=n.length;h-60&&wy&&(y=v[x])}}c.fillStyle="#3d8bd5";for(var k=0,P=m.length;k-4&&Me&&gd[h]*S&&t<5+(d[h]+1)*S)return l[h]}return null},handleClick:function(e){var t=this.convertXY(e),n=a(t,2),r=n[0],o=n[1],i=this.xyToGene(r,o);i&&this.flux.actions.session.popupOpen(s.default.createElement(b.default,{geneId:i}),!1)},setHover:function(e){if(e){for(var t=0,n=this.data.ids.length;t=",parseInt(n.fstart)),_.default.WhereClause.CompareFixed(e.position,"<=",parseInt(n.fstop))])):e.isRegionOnGenome&&(t=_.default.WhereClause.encode(_.default.WhereClause.AND([_.default.WhereClause.CompareFixed(e.chromosome,"=",n.chromid),_.default.WhereClause.CompareFixed(e.regionStart,"<=",parseInt(n.fstop)),_.default.WhereClause.CompareFixed(e.regionStop,">=",parseInt(n.fstart))])));var r=i.default.createElement(C.default,{key:e.id,label:"Show "+e.namePlural+" in "+n.fname,icon:e.icon},e.listView?i.default.createElement(B.default,{table:e.id,query:t}):i.default.createElement(R.default,{table:e.id,query:t}));s.push(r)}});for(var l=this.config.genome.externalGeneLinks,u=[],c=0,f=l.length;c=o+r/2?r/2:-r/2),s=i+r;return i>e||sMath.min(s-t,e-i)?[[o,a],[i,s]]:[[i,s],[o,a]]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(958),s=r(i),l=n(722),u=r(l),c=n(729),f=r(c),d=n(1199),p=n(1201),h=r(p),m=n(736),g=r(m),v=n(1483),y=r(v),b=n(728),A=r(b),x=n(1477),_=r(x),w=n(1246),C=r(w),E=a.default.createClass({displayName:"TableList",mixins:[u.default,A.default,f.default],propTypes:{style:a.default.PropTypes.object,onClick:a.default.PropTypes.func},handleOpen:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;(this.props.onClick||this.handleClick)({component:t,middleClick:n})},handleClick:function(e){var t=e.component,n=e.middleClick;n?this.flux.actions.session.tabOpen(t,!1):this.flux.actions.session.tabOpen(t,!0)},handleTableClick:function(e,t){this.config.tablesById[t.id].listView?this.handleOpen(e,a.default.createElement(_.default,{table:t.id})):this.handleOpen(e,a.default.createElement(C.default,{table:t.id}))},render:function(){var e=this,t=this.config.tables;return a.default.createElement(d.List,{style:this.props.style},a.default.createElement(h.default,null,"Open a table:"),(0,s.default)(t,function(t){return e.config.tablesById[t.id].isHidden?null:a.default.createElement(d.ListItem,{key:t.id,primaryText:t.capNamePlural,secondaryText:(0,y.default)(t.description),leftIcon:a.default.createElement("div",null,a.default.createElement(g.default,{fixedWidth:!0,name:t.icon})),onClick:function(n){return e.handleTableClick(n,t)}})}))}});t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=a.default.createClass({displayName:"ErrorTab",mixins:[s.default,u.default],propTypes:{err:a.default.PropTypes.string},icon:function(){return"warning"},title:function(){return"Error"},render:function(){return a.default.createElement("div",{className:"centering-container"},a.default.createElement("div",{className:"error"}," Error: ",this.props.err," "))}});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(729),f=r(c),d=n(730),p=r(d),h=n(771),m=r(h),g=n(1764),v=r(g),y=n(1766),b=r(y),A=n(1768),x=r(A),_=n(1759),w=r(_),C=n(1754),E=r(C),T=a.default.createClass({displayName:"FindGene",mixins:[s.default,u.default,f.default],propTypes:{setProps:a.default.PropTypes.func,replaceSelf:a.default.PropTypes.func,activeTab:a.default.PropTypes.string,search:a.default.PropTypes.string,chromosome:a.default.PropTypes.string,startPosition:a.default.PropTypes.number,endPosition:a.default.PropTypes.number,chromosomeLength:a.default.PropTypes.number},getDefaultProps:function(){return{activeTab:"tab_0",startPosition:0}},icon:function(){return"bitmap:genomebrowser.png"},title:function(){return"Find gene"},handleSelectGene:function(e,t,n){this.getFlux().actions.session.geneFound(t,n);var r=a.default.createElement(w.default,{geneId:t}),o=1==e.button||e.metaKey||e.ctrlKey;o?this.flux.actions.session.popupOpen(r,!1):this.props.replaceSelf(r)},render:function(){var e=this.props,t=e.setProps,n=e.activeTab,r=e.search,o=e.chromosome,i=e.startPosition,s=e.endPosition,l=e.chromosomeLength,u=o,c=s,f=l,d=Object.keys(this.config.chromosomes)[0];if((null===u||void 0===u)&&null!==d){var h=parseInt(this.config.chromosomes[d]);f=h,u=d,null!==c&&void 0!==c||(c=h)}var g=a.default.createElement("div",{style:{borderTop:"4px solid #3d8bd5"}},a.default.createElement(x.default,{onSelect:this.handleSelectGene,subheaderText:"Recently found genes"}));return a.default.createElement(p.default,{activeTab:n,onSwitch:function(e){return t({activeTab:e})}},a.default.createElement(m.default,{compId:"tab_0",key:"tab_0"},a.default.createElement(E.default,{title:"Find gene by name / description"},a.default.createElement(v.default,{setProps:t,onSelect:this.handleSelectGene,search:r}),g)),a.default.createElement(m.default,{compId:"tab_1",key:"tab_1"},a.default.createElement(E.default,{title:"Find gene by region"},a.default.createElement(b.default,{setProps:t,onSelect:this.handleSelectGene,chromosome:u,startPosition:i,endPosition:c,chromosomeLength:f}),g)),a.default.createElement(m.default,{compId:"tab_2",key:"tab_2"},a.default.createElement(x.default,{onSelect:this.handleSelectGene,title:"Recently found genes"})))}});t.default=T},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(1765),u=r(l),c=n(1178),f=r(c),d=a.default.createClass({displayName:"FindGeneByNameDesc",mixins:[s.default],propTypes:{setProps:a.default.PropTypes.func,title:a.default.PropTypes.string,search:a.default.PropTypes.string,onSelect:a.default.PropTypes.func},getDefaultProps:function(){return{search:""}},title:function(){return this.props.title},handleSearchChange:function(e){this.props.setProps({search:e.target.value})},render:function(){var e=this.props,t=e.search,n=e.onSelect,r=null;return r=t.length<=2?a.default.createElement("p",null,"Enter more than 2 characters."):a.default.createElement(u.default,{search:t,onSelectGene:n,icon:"bitmap:genomebrowser.png"}),a.default.createElement("div",{style:{padding:"10px"}},a.default.createElement("div",{className:"search"},a.default.createElement(f.default,{autoFocus:!0,fullWidth:!0,floatingLabelText:"Search",value:t,onChange:this.handleSearchChange})),r)}});t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&(c=i.default.createElement("span",null,"Found ",u.ids.length," matching genes:"));for(var d=[],p=function(t,o){d.push(i.default.createElement(w.ListItem,{key:u.ids[t],primaryText:i.default.createElement("div",null,i.default.createElement(l.default,{search:r},i.default.createElement("span",null,u.ids[t]),i.default.createElement("span",null," on "),i.default.createElement("span",null,u.chromosomes[t]))),secondaryText:i.default.createElement("div",null,i.default.createElement(l.default,{search:r},u.descriptions[t].split(",").join(", ").split(";").join("; "))),secondaryTextLines:2,onClick:function(n){return e.handleSelectGene(n,u.ids[t],u.descriptions[t].split(",").join(", ").split(";").join("; "))},leftIcon:i.default.createElement("div",null,i.default.createElement(M.default,{fixedWidth:!0,name:n}))}))},h=0,m=u.ids.length;hn,primary:!0,icon:a.default.createElement(v.default,{fixedWidth:!0,name:"search",inverse:!0}),onClick:this.handleFind})),a.default.createElement("td",{className:"table-col-cell"})))),f)}});t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t0&&(c=i.default.createElement("span",null,"Found ",u.length," genes on chromosome ",r," between positions ",o," and ",a,":"));for(var f=[],d=function(t,r){f.push(i.default.createElement(x.ListItem,{key:u[t].fid,primaryText:i.default.createElement("div",null,i.default.createElement("span",null,u[t].fname),i.default.createElement("span",null," between "),i.default.createElement("span",null,u[t].fstart," and ",u[t].fstop)),secondaryText:i.default.createElement("div",null,u[t].descr.split(";").join("; ").split(",").join(", ")),secondaryTextLines:2,onClick:function(n){return e.handleSelectGene(n,u[t].fid,u[t].descr.split(";").join("; ").split(",").join(", "))},leftIcon:i.default.createElement("div",null,i.default.createElement(k.default,{fixedWidth:!0,name:n}))}))},p=0,h=u.length;p0){var i=(0,s.default)(r.toJS(),function(e){var n=e.geneId,r=e.geneDesc;return a.default.createElement(h.ListItem,{key:n,primaryText:n,secondaryText:r,leftIcon:a.default.createElement("div",null,a.default.createElement(y.default,{fixedWidth:!0,name:"bitmap:genomebrowser.png"})),onClick:function(e){return t(e,n,r)}})}),l=void 0;void 0!==n&&(l=a.default.createElement(g.default,null,n)),o=a.default.createElement(h.List,null,l,i)}else o=a.default.createElement(h.List,null,a.default.createElement(g.default,null,"No recently found genes."));return o}});t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(729),f=r(c),d=n(1199),p=n(736),h=r(p),m=n(733),g=r(m),v=n(1246),y=r(v),b=n(1477),A=r(b),x=n(1763),_=r(x),w=a.default.createClass({displayName:"Finder",mixins:[s.default,u.default,f.default],propTypes:{icon:a.default.PropTypes.string,title:a.default.PropTypes.string},getDefaultProps:function(){return{title:"Find",icon:"search"}},icon:function(){return this.props.icon},title:function(){return this.props.title},handleOpenTableTab:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;n||this.getFlux().actions.session.modalClose();var r=!n;this.config.tablesById[t].listView?this.getFlux().actions.session.tabOpen(a.default.createElement(A.default,{table:t,initialSearchFocus:!0}),r):this.getFlux().actions.session.tabOpen(a.default.createElement(y.default,{ -table:t,initialSearchFocus:!0}),r)},handleOpenPopup:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;n||this.getFlux().actions.session.modalClose();var r=!n;this.getFlux().actions.session.popupOpen(t,r)},render:function(){var e=this,t=[];if(this.config.genome.annotation){var n="Name, Description, Genomic region",r=a.default.createElement(d.ListItem,{key:"findGeneListItem",primaryText:"Gene",secondaryText:n,leftIcon:a.default.createElement("div",null,a.default.createElement(h.default,{fixedWidth:!0,name:"bitmap:genomebrowser.png"})),onClick:function(t){return e.handleOpenPopup(t,a.default.createElement(_.default,null))}});t.push(r)}(0,g.default)(this.config.visibleTables,function(n){for(var r="",o=0,i=n.quickFindFields.length;o0?a.default.createElement(d.List,{className:"tall-modal",style:{overflow:"auto"}},t):a.default.createElement("div",{className:"centering-container"},"No search wizards available.")}});t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(728),u=r(l),c=n(729),f=r(c),d=n(1756),p=r(d),h=n(1761),m=r(h),g=n(1387),v=r(g),y=a.default.createClass({displayName:"StartTab",mixins:[s.default,u.default,f.default],propTypes:{setProps:a.default.PropTypes.func.isRequired},icon:function(){return"home"},title:function(){return"Start"},render:function(){return a.default.createElement("div",{className:"horizontal stack start-align"},a.default.createElement(v.default,{className:"grow description"},this.config.settings.description),a.default.createElement("div",{className:""},a.default.createElement(p.default,{style:{width:"410px"}}),a.default.createElement(m.default,{style:{width:"410px"}})))}});t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(722),s=r(i),l=n(607),u=r(l),c=n(597),f=r(c),d=a.default.createClass({displayName:"Anchor",mixins:[s.default],propTypes:{onClick:a.default.PropTypes.func},render:function(){var e=this.props.children;if(e=(0,f.default)(this,e),(0,u.default)(e))throw Error("Anchor can only have one child until https://github.com/facebook/react/issues/2127");return a.default.cloneElement(e,{onClick:this.props.onClick})}});t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=",e*E),A.default.WhereClause.CompareFixed(m,"<",(e+x)*E)])),groupBy:["block"]};return s.default.get("summarisation"+JSON.stringify(a),function(e){return u.default.query(o({cancellation:e},a))},b)}),D=function(e){e.length>0&&!function(){var t=P-Math.floor(P/x)*x,n=M-Math.floor(M/x)*x;e=e.map(function(r,o){return(0,h.default)(r,function(r,a,i){var s=a.data,l=a.summariser;0==o||o==e.length-1?r[i]={data:s.slice(0==o?t:0,o==e.length-1?n:void 0),summariser:l}:r[i]={data:s,summariser:l}})})}();var t=(0,h.default)(r,function(t,n,r){return t[r]={data:[],summariser:e[0][r].summariser}}),n=(0,g.default)(e,function(e,t){return(0,y.default)(t,function(t,n){var r=t.data;return Array.prototype.push.apply(e[n].data,r)}),e},t);return{columns:n,dataStart:P*E,dataStep:E,chromosome:i}};return Promise.all(S).then(D)}};t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(321),i=r(a),s=(n(980),n(1015)),l=r(s),u=n(968),c=r(u),f=n(1039),d=r(f),p=n(1040),h=r(p),m=n(995),g=n(1760),v=r(g),y=i.default.createClass({displayName:"ScaledSVGChannel",mixins:[(0,c.default)({redirect:["onClose"]})],propTypes:{chromosome:i.default.PropTypes.string,start:i.default.PropTypes.number,end:i.default.PropTypes.number,width:i.default.PropTypes.number,height:i.default.PropTypes.number,sideWidth:i.default.PropTypes.number,autoYScale:i.default.PropTypes.bool,yMin:i.default.PropTypes.number,yMax:i.default.PropTypes.number,dataYMin:i.default.PropTypes.number,dataYMax:i.default.PropTypes.number,side:i.default.PropTypes.element,controls:i.default.PropTypes.element,legend:i.default.PropTypes.element,onClose:i.default.PropTypes.func,children:i.default.PropTypes.object},getDefaultProps:function(){return{height:100}},handleClose:function(){this.redirectedProps.onClose&&this.redirectedProps.onClose()},render:function(){var e=this,t=this.props,n=t.start,r=t.end,a=t.width,s=t.height,u=t.sideWidth,c=t.yMin,f=t.yMax,p=t.autoYScale,g=t.dataYMin,y=t.dataYMax,b=t.side,A=t.controls,x=t.legend;p&&(0,l.default)(g)&&(0,l.default)(y)&&(c=g,f=y),!(0,l.default)(c)&&this.lastYMin&&(c=this.lastYMin),!(0,l.default)(f)&&this.lastYMax&&(f=this.lastYMax);var _=[c,f];if(this.lastYMin=_[0],this.lastYMax=_[1],a<=0)return null;var w=a-u,C=scaleLinear().domain([n,r]).range([0,w]),E=(C(r)-C(n))/(r-n),T=C(0)-C(n+.5),k={yMin:(0,l.default)(c)?c:null,yMax:(0,l.default)(f)?f:null},P={yMin:(0,m.spring)(k.yMin),yMax:(0,m.spring)(k.yMax)},M=(0,v.default)(n,r),S=o(M,2),D=o(S[0],2),O=D[0],I=D[1],L=o(S[1],2),N=L[0],B=L[1];this.blockEnd===I&&this.blockStart===O||this.blockEnd===B&&this.blockStart===N||(this.blockStart=O,this.blockEnd=I);var F=(a-u)/2/(r-n)*(this.blockEnd-this.blockStart);return i.default.createElement(d.default,{width:a,sideWidth:u,height:s,sideComponent:i.default.createElement("div",{className:"side-name"},b),configComponent:A,legendComponent:x,onClose:this.handleClose},i.default.createElement("svg",{className:"numerical-channel",width:w,height:s},i.default.createElement(m.Motion,{style:P,defaultStyle:k},function(t){var n=t.yMin,r=t.yMax;return i.default.createElement("g",null,i.default.createElement("g",{transform:(0,l.default)(n)&&(0,l.default)(r)?"translate("+T+", "+(s+n*(s/(r-n)))+") scale("+E+","+-(s/(r-n))+")":""},i.default.createElement("rect",{className:"origin-shifter",x:-w,y:-s,width:2*w,height:2*s}),i.default.Children.map(e.props.children,function(t){return i.default.cloneElement(t,{blockStart:e.blockStart,blockEnd:e.blockEnd,blockPixelWidth:F})})),i.default.createElement(h.default,{min:n,max:r,width:w,height:s}))})))}});t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(1783),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=(e-t)/(n-t);return isNaN(r)&&(r=0),r}Object.defineProperty(t,"__esModule",{value:!0});var a=n(827),i=r(a),s=n(865),l=r(s),u=n(866),c=r(u),f=n(871),d=r(f),p=n(872),h=r(p),m=n(876),g=r(m),v=n(911),y=r(v),b=n(1784),A=r(b),x=n(919),_=r(x),w=n(321),C=r(w),E=n(927),T=r(E),k=n(312),P=(r(k),n(920)),M=r(P),S=n(928),D=r(S),O=n(1785),I=(r(O),{x:"height","x-reverse":"height",y:"width","y-reverse":"width"}),L={x:"top","x-reverse":"top",y:"left","y-reverse":"left"},N={x:"width","x-reverse":"width",y:"height","y-reverse":"height"},B={x:"marginRight","x-reverse":"marginLeft",y:"marginTop","y-reverse":"marginBottom"},F={x:"marginLeft","x-reverse":"marginRight",y:"marginBottom","y-reverse":"marginTop"},R={x:"left","x-reverse":"right",y:"bottom","y-reverse":"top"},j={x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"},z={x:"clientX","x-reverse":"clientX",y:"clientY","y-reverse":"clientY"},H={x:"right","x-reverse":"left",y:"top","y-reverse":"bottom"},U=function(e){return"x-reverse"===e||"y"===e},W=function(e,t,n){var r,a,i,s,l,u,c=e.axis,f=e.disabled,d=e.max,p=e.min,h=t.muiTheme.slider,m=h.handleColorZero,g=h.handleFillColor,v=h.handleSize,y=h.handleSizeDisabled,b=h.handleSizeActive,x=h.trackSize,w=h.trackColor,C=h.trackColorSelected,E=h.rippleColor,T=h.selectionColor,k=v/2,P=x+y/2,S=f?" - "+P+"px":"",D=o(n.value,p,d),O={slider:(r={touchCallout:"none",userSelect:"none",cursor:"default"},(0,A.default)(r,I[c],b),(0,A.default)(r,N[c],"100%"),(0,A.default)(r,"position","relative"),(0,A.default)(r,"marginTop",24),(0,A.default)(r,"marginBottom",48),r),track:(a={position:"absolute"},(0,A.default)(a,L[c],(b-x)/2),(0,A.default)(a,R[c],0),(0,A.default)(a,N[c],"100%"),(0,A.default)(a,I[c],x),a),filledAndRemaining:(i={position:"absolute"},(0,A.default)(i,L,0),(0,A.default)(i,I[c],"100%"),(0,A.default)(i,"transition",M.default.easeOut(null,"margin")),i),handle:(s={boxSizing:"border-box",position:"absolute",cursor:"pointer",pointerEvents:"inherit"},(0,A.default)(s,L[c],0),(0,A.default)(s,R[c],0===D?"0%":100*D+"%"),(0,A.default)(s,"zIndex",1),(0,A.default)(s,"margin",{x:x/2+"px 0 0 0","x-reverse":x/2+"px 0 0 0",y:"0 0 0 "+x/2+"px","y-reverse":"0 0 0 "+x/2+"px"}[c]),(0,A.default)(s,"width",v),(0,A.default)(s,"height",v),(0,A.default)(s,"backgroundColor",T),(0,A.default)(s,"backgroundClip","padding-box"),(0,A.default)(s,"border","0px solid transparent"),(0,A.default)(s,"borderRadius","50%"),(0,A.default)(s,"transform",{x:"translate(-50%, -50%)","x-reverse":"translate(50%, -50%)",y:"translate(-50%, 50%)","y-reverse":"translate(-50%, -50%)"}[c]),(0,A.default)(s,"transition",M.default.easeOut("450ms","background")+", "+M.default.easeOut("450ms","border-color")+", "+M.default.easeOut("450ms","width")+", "+M.default.easeOut("450ms","height")),(0,A.default)(s,"overflow","visible"),(0,A.default)(s,"outline","none"),s),handleWhenDisabled:{boxSizing:"content-box",cursor:"not-allowed",backgroundColor:w,width:y,height:y,border:"none"},handleWhenPercentZero:{border:x+"px solid "+m,backgroundColor:g,boxShadow:"none"},handleWhenPercentZeroAndDisabled:{cursor:"not-allowed",width:y,height:y},handleWhenPercentZeroAndFocused:{border:x+"px solid "+C},handleWhenActive:{width:b,height:b},ripple:{height:v,width:v,overflow:"visible"},rippleWhenPercentZero:{top:-x,left:-x},rippleInner:{height:"300%",width:"300%",top:-v,left:-v},rippleColor:{fill:0===D?m:E}};return O.filled=(0,_.default)({},O.filledAndRemaining,(l={},(0,A.default)(l,R[c],0),(0,A.default)(l,"backgroundColor",f?w:T),(0,A.default)(l,B[c],k),(0,A.default)(l,N[c],"calc("+100*D+"%"+S+")"),l)),O.remaining=(0,_.default)({},O.filledAndRemaining,(u={},(0,A.default)(u,H[c],0),(0,A.default)(u,"backgroundColor",!n.hovered&&!n.focused||f?w:C),(0,A.default)(u,F[c],k),(0,A.default)(u,N[c],"calc("+100*(1-D)+"%"+S+")"),u)),O},q=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;sa?l=a:lo?a=o:an&&(t=n);var r=this.props,o=r.step,a=r.min,i=r.max,s=void 0;s=t/n*(i-a),s=Math.round(s/o)*o+a,s=parseFloat(s.toFixed(5)),s>i?s=i:s5?l-5:0),c=5;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=n(321),i=r(a),s=n(722),l=r(s),u=i.default.createClass({displayName:"HelloWorld",mixins:[l.default],propTypes:{msg:i.default.PropTypes.string.isRequired},render:function(){var e=this.props,t=e.msg,n=o(e,["msg"]);return i.default.createElement("div",n,"Hello World! ",t)}});t.default=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t1?t-1:0),r=1;r-1}function k(e,t){var n=this.__data__,r=W(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&xe(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++r-1&&e%1==0&&e-1&&e%1==0&&e<=We}function Ie(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Le(e){return!!e&&"object"==typeof e}function Ne(e){if(!Le(e)||zt.call(e)!=$e||d(e))return!1;var t=Vt(e);if(null===t)return!0;var n=Rt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ft.call(n)==jt}function Be(e){return fe(e,Re(e))}function Fe(e){return Me(e)?z(e):Z(e)}function Re(e){return Me(e)?z(e,!0):J(e)}function je(){return[]}function ze(){return!1}var He=200,Ue="__lodash_hash_undefined__",We=9007199254740991,qe="[object Arguments]",Ve="[object Array]",Ge="[object Boolean]",Ye="[object Date]",Ke="[object Error]",Qe="[object Function]",Xe="[object GeneratorFunction]",Ze="[object Map]",Je="[object Number]",$e="[object Object]",et="[object Promise]",tt="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object Symbol]",at="[object WeakMap]",it="[object ArrayBuffer]",st="[object DataView]",lt="[object Float32Array]",ut="[object Float64Array]",ct="[object Int8Array]",ft="[object Int16Array]",dt="[object Int32Array]",pt="[object Uint8Array]",ht="[object Uint8ClampedArray]",mt="[object Uint16Array]",gt="[object Uint32Array]",vt=/[\\^$.*+?()[\]{}|]/g,yt=/\w*$/,bt=/^\[object .+?Constructor\]$/,At=/^(?:0|[1-9]\d*)$/,xt={};xt[lt]=xt[ut]=xt[ct]=xt[ft]=xt[dt]=xt[pt]=xt[ht]=xt[mt]=xt[gt]=!0,xt[qe]=xt[Ve]=xt[it]=xt[Ge]=xt[st]=xt[Ye]=xt[Ke]=xt[Qe]=xt[Ze]=xt[Je]=xt[$e]=xt[tt]=xt[nt]=xt[rt]=xt[at]=!1;var _t={};_t[qe]=_t[Ve]=_t[it]=_t[st]=_t[Ge]=_t[Ye]=_t[lt]=_t[ut]=_t[ct]=_t[ft]=_t[dt]=_t[Ze]=_t[Je]=_t[$e]=_t[tt]=_t[nt]=_t[rt]=_t[ot]=_t[pt]=_t[ht]=_t[mt]=_t[gt]=!0,_t[Ke]=_t[Qe]=_t[at]=!1;var wt="object"==typeof e&&e&&e.Object===Object&&e,Ct="object"==typeof self&&self&&self.Object===Object&&self,Et=wt||Ct||Function("return this")(),Tt="object"==typeof t&&t&&!t.nodeType&&t,kt=Tt&&"object"==typeof n&&n&&!n.nodeType&&n,Pt=kt&&kt.exports===Tt,Mt=Pt&&wt.process,St=function(){try{return Mt&&Mt.binding("util")}catch(e){}}(),Dt=St&&St.isTypedArray,Ot=Array.prototype,It=Function.prototype,Lt=Object.prototype,Nt=Et["__core-js_shared__"],Bt=function(){var e=/[^.]+$/.exec(Nt&&Nt.keys&&Nt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ft=It.toString,Rt=Lt.hasOwnProperty,jt=Ft.call(Object),zt=Lt.toString,Ht=RegExp("^"+Ft.call(Rt).replace(vt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ut=Pt?Et.Buffer:void 0,Wt=Et.Symbol,qt=Et.Uint8Array,Vt=h(Object.getPrototypeOf,Object),Gt=Object.create,Yt=Lt.propertyIsEnumerable,Kt=Ot.splice,Qt=Object.getOwnPropertySymbols,Xt=Ut?Ut.isBuffer:void 0,Zt=h(Object.keys,Object),Jt=Math.max,$t=ge(Et,"DataView"),en=ge(Et,"Map"),tn=ge(Et,"Promise"),nn=ge(Et,"Set"),rn=ge(Et,"WeakMap"),on=ge(Object,"create"),an=Te($t),sn=Te(en),ln=Te(tn),un=Te(nn),cn=Te(rn),fn=Wt?Wt.prototype:void 0,dn=fn?fn.valueOf:void 0;g.prototype.clear=v,g.prototype.delete=y,g.prototype.get=b,g.prototype.has=A,g.prototype.set=x,_.prototype.clear=w,_.prototype.delete=C,_.prototype.get=E,_.prototype.has=T,_.prototype.set=k,P.prototype.clear=M,P.prototype.delete=S,P.prototype.get=D,P.prototype.has=O,P.prototype.set=I,L.prototype.clear=N,L.prototype.delete=B,L.prototype.get=F,L.prototype.has=R,L.prototype.set=j;var pn=Qt?h(Qt,Object):je,hn=K;($t&&hn(new $t(new ArrayBuffer(1)))!=st||en&&hn(new en)!=Ze||tn&&hn(tn.resolve())!=et||nn&&hn(new nn)!=nt||rn&&hn(new rn)!=at)&&(hn=function(e){var t=zt.call(e),n=t==$e?e.constructor:void 0,r=n?Te(n):void 0;if(r)switch(r){case an:return st;case sn:return Ze;case ln:return et;case un:return nt;case cn:return at}return t});var mn=Array.isArray,gn=Xt||ze,vn=Dt?c(Dt):X,yn=pe(function(e,t,n){$(e,t,n)});n.exports=yn}).call(t,function(){return this}(),n(619)(e))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1800),a=n(921),i=n(1801),s=r(i);t.default={spacing:s.default,fontFamily:"Roboto, sans-serif",palette:{primary1Color:o.cyan500,primary2Color:o.cyan700,primary3Color:o.grey400,accent1Color:o.pinkA200,accent2Color:o.grey100,accent3Color:o.grey500,textColor:o.darkBlack,secondaryTextColor:(0,a.fade)(o.darkBlack,.54),alternateTextColor:o.white,canvasColor:o.white,borderColor:o.grey300,disabledColor:(0,a.fade)(o.darkBlack,.3),pickerHeaderColor:o.cyan500,clockCircleColor:(0,a.fade)(o.darkBlack,.07),shadowColor:o.fullBlack}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.red50="#ffebee",t.red100="#ffcdd2",t.red200="#ef9a9a",t.red300="#e57373",t.red400="#ef5350",t.red500="#f44336",t.red600="#e53935",t.red700="#d32f2f",t.red800="#c62828",t.red900="#b71c1c",t.redA100="#ff8a80",t.redA200="#ff5252",t.redA400="#ff1744",t.redA700="#d50000",t.pink50="#fce4ec",t.pink100="#f8bbd0",t.pink200="#f48fb1",t.pink300="#f06292",t.pink400="#ec407a",t.pink500="#e91e63",t.pink600="#d81b60",t.pink700="#c2185b",t.pink800="#ad1457",t.pink900="#880e4f",t.pinkA100="#ff80ab",t.pinkA200="#ff4081",t.pinkA400="#f50057",t.pinkA700="#c51162",t.purple50="#f3e5f5",t.purple100="#e1bee7",t.purple200="#ce93d8",t.purple300="#ba68c8",t.purple400="#ab47bc",t.purple500="#9c27b0",t.purple600="#8e24aa",t.purple700="#7b1fa2",t.purple800="#6a1b9a",t.purple900="#4a148c",t.purpleA100="#ea80fc",t.purpleA200="#e040fb",t.purpleA400="#d500f9",t.purpleA700="#aa00ff",t.deepPurple50="#ede7f6",t.deepPurple100="#d1c4e9",t.deepPurple200="#b39ddb",t.deepPurple300="#9575cd",t.deepPurple400="#7e57c2",t.deepPurple500="#673ab7",t.deepPurple600="#5e35b1",t.deepPurple700="#512da8",t.deepPurple800="#4527a0",t.deepPurple900="#311b92",t.deepPurpleA100="#b388ff",t.deepPurpleA200="#7c4dff",t.deepPurpleA400="#651fff",t.deepPurpleA700="#6200ea",t.indigo50="#e8eaf6",t.indigo100="#c5cae9",t.indigo200="#9fa8da",t.indigo300="#7986cb",t.indigo400="#5c6bc0",t.indigo500="#3f51b5",t.indigo600="#3949ab",t.indigo700="#303f9f",t.indigo800="#283593",t.indigo900="#1a237e",t.indigoA100="#8c9eff",t.indigoA200="#536dfe",t.indigoA400="#3d5afe",t.indigoA700="#304ffe",t.blue50="#e3f2fd",t.blue100="#bbdefb",t.blue200="#90caf9",t.blue300="#64b5f6",t.blue400="#42a5f5",t.blue500="#2196f3",t.blue600="#1e88e5",t.blue700="#1976d2",t.blue800="#1565c0",t.blue900="#0d47a1",t.blueA100="#82b1ff",t.blueA200="#448aff",t.blueA400="#2979ff",t.blueA700="#2962ff",t.lightBlue50="#e1f5fe",t.lightBlue100="#b3e5fc",t.lightBlue200="#81d4fa",t.lightBlue300="#4fc3f7",t.lightBlue400="#29b6f6",t.lightBlue500="#03a9f4",t.lightBlue600="#039be5",t.lightBlue700="#0288d1",t.lightBlue800="#0277bd",t.lightBlue900="#01579b",t.lightBlueA100="#80d8ff",t.lightBlueA200="#40c4ff",t.lightBlueA400="#00b0ff",t.lightBlueA700="#0091ea",t.cyan50="#e0f7fa",t.cyan100="#b2ebf2",t.cyan200="#80deea",t.cyan300="#4dd0e1",t.cyan400="#26c6da",t.cyan500="#00bcd4",t.cyan600="#00acc1",t.cyan700="#0097a7",t.cyan800="#00838f",t.cyan900="#006064",t.cyanA100="#84ffff",t.cyanA200="#18ffff",t.cyanA400="#00e5ff",t.cyanA700="#00b8d4",t.teal50="#e0f2f1",t.teal100="#b2dfdb",t.teal200="#80cbc4",t.teal300="#4db6ac",t.teal400="#26a69a",t.teal500="#009688",t.teal600="#00897b",t.teal700="#00796b",t.teal800="#00695c",t.teal900="#004d40",t.tealA100="#a7ffeb",t.tealA200="#64ffda",t.tealA400="#1de9b6",t.tealA700="#00bfa5",t.green50="#e8f5e9",t.green100="#c8e6c9",t.green200="#a5d6a7",t.green300="#81c784",t.green400="#66bb6a",t.green500="#4caf50",t.green600="#43a047",t.green700="#388e3c",t.green800="#2e7d32",t.green900="#1b5e20",t.greenA100="#b9f6ca",t.greenA200="#69f0ae",t.greenA400="#00e676",t.greenA700="#00c853",t.lightGreen50="#f1f8e9",t.lightGreen100="#dcedc8",t.lightGreen200="#c5e1a5",t.lightGreen300="#aed581",t.lightGreen400="#9ccc65",t.lightGreen500="#8bc34a",t.lightGreen600="#7cb342",t.lightGreen700="#689f38",t.lightGreen800="#558b2f",t.lightGreen900="#33691e",t.lightGreenA100="#ccff90",t.lightGreenA200="#b2ff59",t.lightGreenA400="#76ff03",t.lightGreenA700="#64dd17",t.lime50="#f9fbe7",t.lime100="#f0f4c3",t.lime200="#e6ee9c",t.lime300="#dce775",t.lime400="#d4e157",t.lime500="#cddc39",t.lime600="#c0ca33",t.lime700="#afb42b",t.lime800="#9e9d24",t.lime900="#827717",t.limeA100="#f4ff81",t.limeA200="#eeff41",t.limeA400="#c6ff00",t.limeA700="#aeea00",t.yellow50="#fffde7",t.yellow100="#fff9c4",t.yellow200="#fff59d",t.yellow300="#fff176",t.yellow400="#ffee58",t.yellow500="#ffeb3b",t.yellow600="#fdd835",t.yellow700="#fbc02d",t.yellow800="#f9a825",t.yellow900="#f57f17",t.yellowA100="#ffff8d",t.yellowA200="#ffff00",t.yellowA400="#ffea00",t.yellowA700="#ffd600",t.amber50="#fff8e1",t.amber100="#ffecb3",t.amber200="#ffe082",t.amber300="#ffd54f",t.amber400="#ffca28",t.amber500="#ffc107",t.amber600="#ffb300",t.amber700="#ffa000",t.amber800="#ff8f00",t.amber900="#ff6f00",t.amberA100="#ffe57f",t.amberA200="#ffd740",t.amberA400="#ffc400",t.amberA700="#ffab00",t.orange50="#fff3e0",t.orange100="#ffe0b2",t.orange200="#ffcc80",t.orange300="#ffb74d",t.orange400="#ffa726",t.orange500="#ff9800",t.orange600="#fb8c00",t.orange700="#f57c00",t.orange800="#ef6c00",t.orange900="#e65100",t.orangeA100="#ffd180",t.orangeA200="#ffab40",t.orangeA400="#ff9100",t.orangeA700="#ff6d00",t.deepOrange50="#fbe9e7",t.deepOrange100="#ffccbc",t.deepOrange200="#ffab91",t.deepOrange300="#ff8a65",t.deepOrange400="#ff7043",t.deepOrange500="#ff5722",t.deepOrange600="#f4511e",t.deepOrange700="#e64a19",t.deepOrange800="#d84315",t.deepOrange900="#bf360c",t.deepOrangeA100="#ff9e80",t.deepOrangeA200="#ff6e40",t.deepOrangeA400="#ff3d00",t.deepOrangeA700="#dd2c00",t.brown50="#efebe9",t.brown100="#d7ccc8",t.brown200="#bcaaa4",t.brown300="#a1887f",t.brown400="#8d6e63",t.brown500="#795548",t.brown600="#6d4c41",t.brown700="#5d4037",t.brown800="#4e342e",t.brown900="#3e2723",t.blueGrey50="#eceff1",t.blueGrey100="#cfd8dc",t.blueGrey200="#b0bec5",t.blueGrey300="#90a4ae",t.blueGrey400="#78909c",t.blueGrey500="#607d8b",t.blueGrey600="#546e7a",t.blueGrey700="#455a64",t.blueGrey800="#37474f",t.blueGrey900="#263238",t.grey50="#fafafa",t.grey100="#f5f5f5",t.grey200="#eeeeee",t.grey300="#e0e0e0",t.grey400="#bdbdbd",t.grey500="#9e9e9e",t.grey600="#757575",t.grey700="#616161",t.grey800="#424242",t.grey900="#212121",t.black="#000000",t.white="#ffffff",t.transparent="rgba(0, 0, 0, 0)",t.fullBlack="rgba(0, 0, 0, 1)",t.darkBlack="rgba(0, 0, 0, 0.87)",t.lightBlack="rgba(0, 0, 0, 0.54)",t.minBlack="rgba(0, 0, 0, 0.26)",t.faintBlack="rgba(0, 0, 0, 0.12)",t.fullWhite="rgba(255, 255, 255, 1)",t.darkWhite="rgba(255, 255, 255, 0.87)",t.lightWhite="rgba(255, 255, 255, 0.54)"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={iconSize:24,desktopGutter:24,desktopGutterMore:32,desktopGutterLess:16,desktopGutterMini:8,desktopKeylineIncrement:64,desktopDropDownMenuItemHeight:32,desktopDropDownMenuFontSize:15,desktopDrawerMenuItemHeight:48,desktopSubheaderHeight:48,desktopToolbarHeight:56}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={menu:1e3,appBar:1100,drawerOverlay:1200,drawer:1300,dialogOverlay:1400,dialog:1500,layer:2e3,popover:2100,snackbar:2900,tooltip:3e3}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(877),a=r(o);t.default=function(e){var t="undefined"!=typeof navigator,n=e.userAgent;if(void 0===n&&t&&(n=navigator.userAgent),void 0!==n||u||(u=!0),n===!1)return null;if("all"===n||void 0===n)return function(e){var n=["flex","inline-flex"].indexOf(e.display)!==-1,r=s.default.prefixAll(e);if(n){var o=r.display;t?r.display=o[o.length-1]:r.display=o.join("; display: ")}return r};var r=function(){var e=new s.default({userAgent:n});return{v:function(t){return e.prefix(t)}}}();return"object"===("undefined"==typeof r?"undefined":(0,a.default)(r))?r.v:void 0};var i=n(1804),s=r(i),l=n(312),u=(r(l),!1)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2],r=arguments[3];Object.keys(t).forEach(function(o){var a=e[o];Array.isArray(a)?[].concat(t[o]).forEach(function(t){e[o].indexOf(t)===-1&&e[o].splice(a.indexOf(n),r?0:1,t)}):e[o]=t[o]})}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n=t._browserInfo.version}).reduce(function(e,t){return e[t]=!0,e},{}),this._hasPropsRequiringPrefix=Object.keys(this._requiresPrefix).length>0):this._usePrefixAllFallback=!0}return i(e,[{key:"prefix",value:function(e){var t=this;return this._usePrefixAllFallback?(0,l.default)(e):this._hasPropsRequiringPrefix?(Object.keys(e).forEach(function(n){var r=e[n];r instanceof Object&&!Array.isArray(r)?e[n]=t.prefix(r):t._requiresPrefix[n]&&(e[t.jsPrefix+(0,h.default)(n)]=r,t._keepUnprefixed||delete e[n])}),Object.keys(e).forEach(function(n){[].concat(e[n]).forEach(function(r){N.forEach(function(o){a(e,o({property:n,value:r,styles:e,browserInfo:t._browserInfo,prefix:{js:t.jsPrefix,css:t.cssPrefix,keyframes:t.prefixedKeyframes},keepUnprefixed:t._keepUnprefixed,requiresPrefix:t._requiresPrefix}),r,t._keepUnprefixed)})})}),e):e}}],[{key:"prefixAll",value:function(e){return(0,l.default)(e)}}]),e}();t.default=B,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return Object.keys(e).forEach(function(t){var n=e[t];n instanceof Object&&!Array.isArray(n)?e[t]=o(n):Object.keys(s.default).forEach(function(r){var o=s.default[r];o[t]&&(e[r+(0,u.default)(t)]=n)})}),Object.keys(e).forEach(function(t){[].concat(e[t]).forEach(function(n,r){T.forEach(function(r){return a(e,r(t,n))})})}),e}function a(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];Object.keys(t).forEach(function(n){var r=e[n];Array.isArray(r)?[].concat(t[n]).forEach(function(t){var o=r.indexOf(t);o>-1&&e[n].splice(o,1),e[n].push(t)}):e[n]=t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(1806),s=r(i),l=n(1807),u=r(l),c=n(1808),f=r(c),d=n(1811),p=r(d),h=n(1812),m=r(h),g=n(1813),v=r(g),y=n(1814),b=r(y),A=n(1815),x=r(A),_=n(1817),w=r(_),C=n(1818),E=r(C),T=[f.default,p.default,v.default,b.default,x.default,w.default,E.default,m.default];e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,l.default)(t)&&t.indexOf("calc(")>-1)return(0,i.default)(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1809),i=r(a),s=n(1810),l=r(s);e.exports=t.default},function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return n({},e,["-webkit-","-moz-",""].map(function(e){return r(e,t)}))},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.isArray(e)&&(e=e.join(",")),null!==e.match(/-webkit-|-moz-|-ms-/)},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("cursor"===e&&s[t])return(0,i.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1809),i=r(a),s={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default},function(e,t){"use strict";function n(e,t){if("display"===e&&r[t])return{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r={flex:!0,"inline-flex":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(s[e]&&l[t])return(0,i.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1809),i=r(a),s={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},l={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,l.default)(t)&&null!==t.match(u))return(0,i.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1809),i=r(a),s=n(1810),l=r(s),u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if("string"==typeof t&&m[e]){var n,r=i(t),a=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",");return e.indexOf("Webkit")>-1?o({},e,a):(n={},o(n,"Webkit"+(0,c.default)(e),a),o(n,e,r),n)}}function i(e){if((0,d.default)(e))return e;var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return t.forEach(function(e,n){t[n]=Object.keys(h.default).reduce(function(t,n){var r="-"+n.toLowerCase()+"-";return Object.keys(h.default[n]).forEach(function(n){var o=(0,l.default)(n);e.indexOf(o)>-1&&"order"!==o&&(t=e.replace(o,r+o)+","+t)}),t},e)}),t.join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var s=n(1816),l=r(s),u=n(1807),c=r(u),f=n(1810),d=r(f),p=n(1806),h=r(p),m={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0};e.exports=t.default},function(e,t){"use strict";function n(e){return e in a?a[e]:a[e]=e.replace(r,"-$&").toLowerCase().replace(o,"-ms-")}var r=/[A-Z]/g,o=/^ms-/,a={};e.exports=n},function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){if(a[e])return n({},a[e],o[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},a={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},function(e,t){"use strict";function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){return"flexDirection"===e&&"string"==typeof t?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:a[e]?n({},a[e],o[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},a={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1820),a=r(o),i={Webkit:["chrome","safari","ios","android","phantom","opera","webos","blackberry","bada","tizen","chromium","vivaldi"],Moz:["firefox","seamonkey","sailfish"],ms:["msie","msedge"]},s={chrome:[["chrome"],["chromium"]],safari:[["safari"]],firefox:[["firefox"]],edge:[["msedge"]],opera:[["opera"],["vivaldi"]],ios_saf:[["ios","mobile"],["ios","tablet"]],ie:[["msie"]],op_mini:[["opera","mobile"],["opera","tablet"]],and_uc:[["android","mobile"],["android","tablet"]],android:[["android","mobile"],["android","tablet"]]},l=function(e){if(e.firefox)return"firefox";var t="";return Object.keys(s).forEach(function(n){s[n].forEach(function(r){var o=0;r.forEach(function(t){e[t]&&(o+=1)}),r.length===o&&(t=n)})}),t};t.default=function(e){if(!e)return!1;var t=a.default._detect(e);return Object.keys(i).forEach(function(e){i[e].forEach(function(n){t[n]&&(t.prefix={inline:e,css:"-"+e.toLowerCase()+"-"})})}),t.browser=l(t),t.version=t.version?parseFloat(t.version):parseInt(parseFloat(t.osversion),10),t.osversion=parseFloat(t.osversion),"ios_saf"===t.browser&&t.version>t.osversion&&(t.version=t.osversion,t.safari=!0),"android"===t.browser&&t.chrome&&t.version>37&&(t.browser="and_chr"),"android"===t.browser&&t.osversion<5&&(t.version=t.osversion),t},e.exports=t.default},function(e,t,n){/*! - * Bowser - a browser detector - * https://github.com/ded/bowser - * MIT License | (c) Dustin Diaz 2015 - */ -!function(t,r){"undefined"!=typeof e&&e.exports?e.exports=r():n(1459)(t,r)}("bowser",function(){function e(e){function t(t){var n=e.match(t);return n&&n.length>1&&n[1]||""}function n(t){var n=e.match(t);return n&&n.length>1&&n[2]||""}var r,o=t(/(ipod|iphone|ipad)/i).toLowerCase(),a=/like android/i.test(e),s=!a&&/android/i.test(e),l=/nexus\s*[0-6]\s*/i.test(e),u=!l&&/nexus\s*[0-9]+/i.test(e),c=/CrOS/.test(e),f=/silk/i.test(e),d=/sailfish/i.test(e),p=/tizen/i.test(e),h=/(web|hpw)os/i.test(e),m=/windows phone/i.test(e),g=(/SamsungBrowser/i.test(e),!m&&/windows/i.test(e)),v=!o&&!f&&/macintosh/i.test(e),y=!s&&!d&&!p&&!h&&/linux/i.test(e),b=t(/edge\/(\d+(\.\d+)?)/i),A=t(/version\/(\d+(\.\d+)?)/i),x=/tablet/i.test(e),_=!x&&/[^-]mobi/i.test(e),w=/xbox/i.test(e);/opera/i.test(e)?r={name:"Opera",opera:i,version:A||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(e)?r={name:"Opera",opera:i,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||A}:/SamsungBrowser/i.test(e)?r={name:"Samsung Internet for Android",samsungBrowser:i,version:A||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(e)?r={name:"Opera Coast",coast:i,version:A||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?r={name:"Yandex Browser",yandexbrowser:i,version:A||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?r={name:"UC Browser",ucbrowser:i,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?r={name:"Maxthon",maxthon:i,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?r={name:"Epiphany",epiphany:i,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?r={name:"Puffin",puffin:i,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?r={name:"Sleipnir",sleipnir:i,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?r={name:"K-Meleon",kMeleon:i,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(r={name:"Windows Phone",windowsphone:i},b?(r.msedge=i,r.version=b):(r.msie=i,r.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?r={name:"Internet Explorer",msie:i,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?r={name:"Chrome",chromeos:i,chromeBook:i,chrome:i,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?r={name:"Microsoft Edge",msedge:i,version:b}:/vivaldi/i.test(e)?r={name:"Vivaldi",vivaldi:i,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||A}:d?r={name:"Sailfish",sailfish:i,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?r={name:"SeaMonkey",seamonkey:i,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(r={name:"Firefox",firefox:i,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(r.firefoxos=i)):f?r={name:"Amazon Silk",silk:i,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?r={name:"PhantomJS",phantom:i,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?r={name:"SlimerJS",slimer:i,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?r={name:"BlackBerry",blackberry:i,version:A||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:h?(r={name:"WebOS",webos:i,version:A||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(r.touchpad=i)):/bada/i.test(e)?r={name:"Bada",bada:i,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:p?r={name:"Tizen",tizen:i,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||A}:/qupzilla/i.test(e)?r={name:"QupZilla",qupzilla:i,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||A}:/chromium/i.test(e)?r={name:"Chromium",chromium:i,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||A}:/chrome|crios|crmo/i.test(e)?r={name:"Chrome",chrome:i,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?r={name:"Android",version:A}:/safari|applewebkit/i.test(e)?(r={name:"Safari",safari:i},A&&(r.version=A)):o?(r={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},A&&(r.version=A)):r=/googlebot/i.test(e)?{name:"Googlebot",googlebot:i,version:t(/googlebot\/(\d+(\.\d+))/i)||A}:{name:t(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!r.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(r.name=r.name||"Blink",r.blink=i):(r.name=r.name||"Webkit",r.webkit=i),!r.version&&A&&(r.version=A)):!r.opera&&/gecko\//i.test(e)&&(r.name=r.name||"Gecko",r.gecko=i,r.version=r.version||t(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||r.msedge||!s&&!r.silk?r.windowsphone||r.msedge||!o?v?r.mac=i:w?r.xbox=i:g?r.windows=i:y&&(r.linux=i):(r[o]=i,r.ios=i):r.android=i;var C="";r.windowsphone?C=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):o?(C=t(/os (\d+([_\s]\d+)*) like mac os x/i),C=C.replace(/[_\s]/g,".")):s?C=t(/android[ \/-](\d+(\.\d+)*)/i):r.webos?C=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?C=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?C=t(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(C=t(/tizen[\/\s](\d+(\.\d+)*)/i)),C&&(r.osversion=C);var E=C.split(".")[0];return x||u||"ipad"==o||s&&(3==E||E>=4&&!_)||r.silk?r.tablet=i:(_||"iphone"==o||"ipod"==o||s||l||r.blackberry||r.webos||r.bada)&&(r.mobile=i),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=i:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=i:r.x=i,r}function t(e){return e.split(".").length}function n(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]!==o[1][r])return-1;if(0===r)return 0}}function o(t,n,o){var a=s;"string"==typeof n&&(o=n,n=void 0),void 0===n&&(n=!1),o&&(a=e(o));var i=""+a.version;for(var l in t)if(t.hasOwnProperty(l)&&a[l]){if("string"!=typeof t[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(t));return r([i,t[l]])<0}return n}function a(e,t,n){return!o(e,t,n)}var i=!0,s=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return s.test=function(e){for(var t=0;t-1&&("firefox"===a&&i<15||"chrome"===a&&i<25||"safari"===a&&i<6.1||"ios_saf"===a&&i<7))return o({},t,(0,s.default)(n.replace(/calc\(/g,l+"calc("),n,u))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(1824),s=r(i);e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return n?[e,t]:e},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.property,n=e.value,r=e.browserInfo,o=r.browser,a=r.version,l=e.prefix.css,u=e.keepUnprefixed;if("cursor"===t&&s[n]&&("firefox"===o&&a<24||"chrome"===o&&a<37||"safari"===o&&a<9||"opera"===o&&a<24))return{cursor:(0,i.default)(l+n,n,u)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1824),i=r(a),s={"zoom-in":!0,"zoom-out":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.property,n=e.value,r=e.browserInfo.browser,o=e.prefix.css,a=e.keepUnprefixed;if("cursor"===t&&s[n]&&("firefox"===r||"chrome"===r||"safari"===r||"opera"===r))return{cursor:(0,i.default)(o+n,n,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1824),i=r(a),s={grab:!0,grabbing:!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.property,n=e.value,r=e.browserInfo,o=r.browser,a=r.version,l=e.prefix.css,u=e.keepUnprefixed;if("display"===t&&s[n]&&("chrome"===o&&a<29&&a>20||("safari"===o||"ios_saf"===o)&&a<9&&a>6||"opera"===o&&(15==a||16==a)))return{display:(0,i.default)(l+n,n,u)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(1824),i=r(a),s={flex:!0,"inline-flex":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=e.property,n=e.value,r=e.prefix.css,a=e.keepUnprefixed;if(l[t]&&u[n])return o({},t,(0,s.default)(r+n,n,a))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(1824),s=r(i),l={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},u={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=e.property,n=e.value,r=e.browserInfo,a=r.browser,i=r.version,u=e.prefix.css,c=e.keepUnprefixed;if("string"==typeof n&&null!==n.match(l)&&("firefox"===a&&i<16||"chrome"===a&&i<26||("safari"===a||"ios_saf"===a)&&i<7||("opera"===a||"op_mini"===a)&&i<12.1||"android"===a&&i<4.4||"and_uc"===a))return o({},t,(0,s.default)(u+n,n,c))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(1824),s=r(i),l=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=e.property,n=e.value,r=e.prefix.css,a=e.requiresPrefix,s=e.keepUnprefixed,u=(0,c.default)(t);if("string"==typeof n&&f[u]){var d=function(){var e=Object.keys(a).map(function(e){return(0,l.default)(e)}),i=n.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return e.forEach(function(e){i.forEach(function(t,n){t.indexOf(e)>-1&&"order"!==e&&(i[n]=t.replace(e,r+e)+(s?","+t:""))})}),{v:o({},t,i.join(","))}}();if("object"===("undefined"==typeof d?"undefined":i(d)))return d.v}}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.default=a;var s=n(1816),l=r(s),u=n(1831),c=r(u),f={transition:!0,transitionProperty:!0};e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.replace(/^(ms|Webkit|Moz|O)/,"");return t.charAt(0).toLowerCase()+t.slice(1)},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=e.property,n=e.value,r=e.styles,a=e.browserInfo,i=a.browser,c=a.version,f=e.prefix.css,d=e.keepUnprefixed;if((u[t]||"display"===t&&"string"==typeof n&&n.indexOf("flex")>-1)&&("ie_mob"===i||"ie"===i)&&10==c){if(d||Array.isArray(r[t])||delete r[t],"display"===t&&l[n])return{display:(0,s.default)(f+l[n],n,d)};if(u[t])return o({},u[t],l[n]||n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(1824),s=r(i),l={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end",flex:"flexbox","inline-flex":"inline-flexbox"},u={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e){var t=e.property,n=e.value,r=e.styles,a=e.browserInfo,i=a.browser,c=a.version,d=e.prefix.css,p=e.keepUnprefixed;if((f.indexOf(t)>-1||"display"===t&&"string"==typeof n&&n.indexOf("flex")>-1)&&("firefox"===i&&c<22||"chrome"===i&&c<21||("safari"===i||"ios_saf"===i)&&c<=6.1||"android"===i&&c<4.4||"and_uc"===i)){if(p||Array.isArray(r[t])||delete r[t],"flexDirection"===t&&"string"==typeof n)return{WebkitBoxOrient:n.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:n.indexOf("reverse")>-1?"reverse":"normal"};if("display"===t&&l[n])return{display:(0,s.default)(d+l[n],n,p)};if(u[t])return o({},u[t],l[n]||n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(1824),s=r(i),l={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple",flex:"box","inline-flex":"inline-box"},u={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"},c=["alignContent","alignSelf","order","flexGrow","flexShrink","flexBasis","flexDirection"],f=Object.keys(u).concat(c);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(312);r(a)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.isRtl)return function(e){if(e.directionInvariant===!0)return e;var t={right:"left",left:"right",marginRight:"marginLeft",marginLeft:"marginRight",paddingRight:"paddingLeft",paddingLeft:"paddingRight",borderRight:"borderLeft",borderLeft:"borderRight"},n={};return(0,i.default)(e).forEach(function(r){var o=e[r],a=r;switch(t.hasOwnProperty(r)&&(a=t[r]),r){case"float":case"textAlign":"right"===o?o="left":"left"===o&&(o="right");break;case"direction":"ltr"===o?o="rtl":"rtl"===o&&(o="ltr");break;case"transform":if(!o)break;var i=void 0;(i=o.match(s))&&(o=o.replace(i[0],i[1]+-parseFloat(i[4]))),(i=o.match(l))&&(o=o.replace(i[0],i[1]+-parseFloat(i[4])+i[5]+i[6]?", "+(-parseFloat(i[7])+i[8]):""));break;case"transformOrigin":if(!o)break;o.indexOf("right")>-1?o=o.replace("right","left"):o.indexOf("left")>-1&&(o=o.replace("left","right"))}n[a]=o}),n}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(1836),i=r(a);t.default=o;var s=/((^|\s)translate(3d|X)?\()(\-?[\d]+)/,l=/((^|\s)skew(x|y)?\()\s*(\-?[\d]+)(deg|rad|grad)(,\s*(\-?[\d]+)(deg|rad|grad))?/},function(e,t,n){e.exports={default:n(1837),__esModule:!0}},function(e,t,n){n(1838),e.exports=n(833).Object.keys},function(e,t,n){var r=n(864),o=n(847);n(870)("keys",function(){return function(e){return o(r(e))}})},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;nli{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);transform:scaleX(-1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\\F000"}.fa-music:before{content:"\\F001"}.fa-search:before{content:"\\F002"}.fa-envelope-o:before{content:"\\F003"}.fa-heart:before{content:"\\F004"}.fa-star:before{content:"\\F005"}.fa-star-o:before{content:"\\F006"}.fa-user:before{content:"\\F007"}.fa-film:before{content:"\\F008"}.fa-th-large:before{content:"\\F009"}.fa-th:before{content:"\\F00A"}.fa-th-list:before{content:"\\F00B"}.fa-check:before{content:"\\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\\F00D"}.fa-search-plus:before{content:"\\F00E"}.fa-search-minus:before{content:"\\F010"}.fa-power-off:before{content:"\\F011"}.fa-signal:before{content:"\\F012"}.fa-cog:before,.fa-gear:before{content:"\\F013"}.fa-trash-o:before{content:"\\F014"}.fa-home:before{content:"\\F015"}.fa-file-o:before{content:"\\F016"}.fa-clock-o:before{content:"\\F017"}.fa-road:before{content:"\\F018"}.fa-download:before{content:"\\F019"}.fa-arrow-circle-o-down:before{content:"\\F01A"}.fa-arrow-circle-o-up:before{content:"\\F01B"}.fa-inbox:before{content:"\\F01C"}.fa-play-circle-o:before{content:"\\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\\F01E"}.fa-refresh:before{content:"\\F021"}.fa-list-alt:before{content:"\\F022"}.fa-lock:before{content:"\\F023"}.fa-flag:before{content:"\\F024"}.fa-headphones:before{content:"\\F025"}.fa-volume-off:before{content:"\\F026"}.fa-volume-down:before{content:"\\F027"}.fa-volume-up:before{content:"\\F028"}.fa-qrcode:before{content:"\\F029"}.fa-barcode:before{content:"\\F02A"}.fa-tag:before{content:"\\F02B"}.fa-tags:before{content:"\\F02C"}.fa-book:before{content:"\\F02D"}.fa-bookmark:before{content:"\\F02E"}.fa-print:before{content:"\\F02F"}.fa-camera:before{content:"\\F030"}.fa-font:before{content:"\\F031"}.fa-bold:before{content:"\\F032"}.fa-italic:before{content:"\\F033"}.fa-text-height:before{content:"\\F034"}.fa-text-width:before{content:"\\F035"}.fa-align-left:before{content:"\\F036"}.fa-align-center:before{content:"\\F037"}.fa-align-right:before{content:"\\F038"}.fa-align-justify:before{content:"\\F039"}.fa-list:before{content:"\\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\\F03B"}.fa-indent:before{content:"\\F03C"}.fa-video-camera:before{content:"\\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\\F03E"}.fa-pencil:before{content:"\\F040"}.fa-map-marker:before{content:"\\F041"}.fa-adjust:before{content:"\\F042"}.fa-tint:before{content:"\\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\\F044"}.fa-share-square-o:before{content:"\\F045"}.fa-check-square-o:before{content:"\\F046"}.fa-arrows:before{content:"\\F047"}.fa-step-backward:before{content:"\\F048"}.fa-fast-backward:before{content:"\\F049"}.fa-backward:before{content:"\\F04A"}.fa-play:before{content:"\\F04B"}.fa-pause:before{content:"\\F04C"}.fa-stop:before{content:"\\F04D"}.fa-forward:before{content:"\\F04E"}.fa-fast-forward:before{content:"\\F050"}.fa-step-forward:before{content:"\\F051"}.fa-eject:before{content:"\\F052"}.fa-chevron-left:before{content:"\\F053"}.fa-chevron-right:before{content:"\\F054"}.fa-plus-circle:before{content:"\\F055"}.fa-minus-circle:before{content:"\\F056"}.fa-times-circle:before{content:"\\F057"}.fa-check-circle:before{content:"\\F058"}.fa-question-circle:before{content:"\\F059"}.fa-info-circle:before{content:"\\F05A"}.fa-crosshairs:before{content:"\\F05B"}.fa-times-circle-o:before{content:"\\F05C"}.fa-check-circle-o:before{content:"\\F05D"}.fa-ban:before{content:"\\F05E"}.fa-arrow-left:before{content:"\\F060"}.fa-arrow-right:before{content:"\\F061"}.fa-arrow-up:before{content:"\\F062"}.fa-arrow-down:before{content:"\\F063"}.fa-mail-forward:before,.fa-share:before{content:"\\F064"}.fa-expand:before{content:"\\F065"}.fa-compress:before{content:"\\F066"}.fa-plus:before{content:"\\F067"}.fa-minus:before{content:"\\F068"}.fa-asterisk:before{content:"\\F069"}.fa-exclamation-circle:before{content:"\\F06A"}.fa-gift:before{content:"\\F06B"}.fa-leaf:before{content:"\\F06C"}.fa-fire:before{content:"\\F06D"}.fa-eye:before{content:"\\F06E"}.fa-eye-slash:before{content:"\\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\\F071"}.fa-plane:before{content:"\\F072"}.fa-calendar:before{content:"\\F073"}.fa-random:before{content:"\\F074"}.fa-comment:before{content:"\\F075"}.fa-magnet:before{content:"\\F076"}.fa-chevron-up:before{content:"\\F077"}.fa-chevron-down:before{content:"\\F078"}.fa-retweet:before{content:"\\F079"}.fa-shopping-cart:before{content:"\\F07A"}.fa-folder:before{content:"\\F07B"}.fa-folder-open:before{content:"\\F07C"}.fa-arrows-v:before{content:"\\F07D"}.fa-arrows-h:before{content:"\\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\\F080"}.fa-twitter-square:before{content:"\\F081"}.fa-facebook-square:before{content:"\\F082"}.fa-camera-retro:before{content:"\\F083"}.fa-key:before{content:"\\F084"}.fa-cogs:before,.fa-gears:before{content:"\\F085"}.fa-comments:before{content:"\\F086"}.fa-thumbs-o-up:before{content:"\\F087"}.fa-thumbs-o-down:before{content:"\\F088"}.fa-star-half:before{content:"\\F089"}.fa-heart-o:before{content:"\\F08A"}.fa-sign-out:before{content:"\\F08B"}.fa-linkedin-square:before{content:"\\F08C"}.fa-thumb-tack:before{content:"\\F08D"}.fa-external-link:before{content:"\\F08E"}.fa-sign-in:before{content:"\\F090"}.fa-trophy:before{content:"\\F091"}.fa-github-square:before{content:"\\F092"}.fa-upload:before{content:"\\F093"}.fa-lemon-o:before{content:"\\F094"}.fa-phone:before{content:"\\F095"}.fa-square-o:before{content:"\\F096"}.fa-bookmark-o:before{content:"\\F097"}.fa-phone-square:before{content:"\\F098"}.fa-twitter:before{content:"\\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\\F09A"}.fa-github:before{content:"\\F09B"}.fa-unlock:before{content:"\\F09C"}.fa-credit-card:before{content:"\\F09D"}.fa-rss:before{content:"\\F09E"}.fa-hdd-o:before{content:"\\F0A0"}.fa-bullhorn:before{content:"\\F0A1"}.fa-bell:before{content:"\\F0F3"}.fa-certificate:before{content:"\\F0A3"}.fa-hand-o-right:before{content:"\\F0A4"}.fa-hand-o-left:before{content:"\\F0A5"}.fa-hand-o-up:before{content:"\\F0A6"}.fa-hand-o-down:before{content:"\\F0A7"}.fa-arrow-circle-left:before{content:"\\F0A8"}.fa-arrow-circle-right:before{content:"\\F0A9"}.fa-arrow-circle-up:before{content:"\\F0AA"}.fa-arrow-circle-down:before{content:"\\F0AB"}.fa-globe:before{content:"\\F0AC"}.fa-wrench:before{content:"\\F0AD"}.fa-tasks:before{content:"\\F0AE"}.fa-filter:before{content:"\\F0B0"}.fa-briefcase:before{content:"\\F0B1"}.fa-arrows-alt:before{content:"\\F0B2"}.fa-group:before,.fa-users:before{content:"\\F0C0"}.fa-chain:before,.fa-link:before{content:"\\F0C1"}.fa-cloud:before{content:"\\F0C2"}.fa-flask:before{content:"\\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\\F0C5"}.fa-paperclip:before{content:"\\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\\F0C7"}.fa-square:before{content:"\\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\\F0C9"}.fa-list-ul:before{content:"\\F0CA"}.fa-list-ol:before{content:"\\F0CB"}.fa-strikethrough:before{content:"\\F0CC"}.fa-underline:before{content:"\\F0CD"}.fa-table:before{content:"\\F0CE"}.fa-magic:before{content:"\\F0D0"}.fa-truck:before{content:"\\F0D1"}.fa-pinterest:before{content:"\\F0D2"}.fa-pinterest-square:before{content:"\\F0D3"}.fa-google-plus-square:before{content:"\\F0D4"}.fa-google-plus:before{content:"\\F0D5"}.fa-money:before{content:"\\F0D6"}.fa-caret-down:before{content:"\\F0D7"}.fa-caret-up:before{content:"\\F0D8"}.fa-caret-left:before{content:"\\F0D9"}.fa-caret-right:before{content:"\\F0DA"}.fa-columns:before{content:"\\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\\F0DE"}.fa-envelope:before{content:"\\F0E0"}.fa-linkedin:before{content:"\\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\\F0E4"}.fa-comment-o:before{content:"\\F0E5"}.fa-comments-o:before{content:"\\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\\F0E7"}.fa-sitemap:before{content:"\\F0E8"}.fa-umbrella:before{content:"\\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\\F0EA"}.fa-lightbulb-o:before{content:"\\F0EB"}.fa-exchange:before{content:"\\F0EC"}.fa-cloud-download:before{content:"\\F0ED"}.fa-cloud-upload:before{content:"\\F0EE"}.fa-user-md:before{content:"\\F0F0"}.fa-stethoscope:before{content:"\\F0F1"}.fa-suitcase:before{content:"\\F0F2"}.fa-bell-o:before{content:"\\F0A2"}.fa-coffee:before{content:"\\F0F4"}.fa-cutlery:before{content:"\\F0F5"}.fa-file-text-o:before{content:"\\F0F6"}.fa-building-o:before{content:"\\F0F7"}.fa-hospital-o:before{content:"\\F0F8"}.fa-ambulance:before{content:"\\F0F9"}.fa-medkit:before{content:"\\F0FA"}.fa-fighter-jet:before{content:"\\F0FB"}.fa-beer:before{content:"\\F0FC"}.fa-h-square:before{content:"\\F0FD"}.fa-plus-square:before{content:"\\F0FE"}.fa-angle-double-left:before{content:"\\F100"}.fa-angle-double-right:before{content:"\\F101"}.fa-angle-double-up:before{content:"\\F102"}.fa-angle-double-down:before{content:"\\F103"}.fa-angle-left:before{content:"\\F104"}.fa-angle-right:before{content:"\\F105"}.fa-angle-up:before{content:"\\F106"}.fa-angle-down:before{content:"\\F107"}.fa-desktop:before{content:"\\F108"}.fa-laptop:before{content:"\\F109"}.fa-tablet:before{content:"\\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\\F10B"}.fa-circle-o:before{content:"\\F10C"}.fa-quote-left:before{content:"\\F10D"}.fa-quote-right:before{content:"\\F10E"}.fa-spinner:before{content:"\\F110"}.fa-circle:before{content:"\\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\\F112"}.fa-github-alt:before{content:"\\F113"}.fa-folder-o:before{content:"\\F114"}.fa-folder-open-o:before{content:"\\F115"}.fa-smile-o:before{content:"\\F118"}.fa-frown-o:before{content:"\\F119"}.fa-meh-o:before{content:"\\F11A"}.fa-gamepad:before{content:"\\F11B"}.fa-keyboard-o:before{content:"\\F11C"}.fa-flag-o:before{content:"\\F11D"}.fa-flag-checkered:before{content:"\\F11E"}.fa-terminal:before{content:"\\F120"}.fa-code:before{content:"\\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\\F123"}.fa-location-arrow:before{content:"\\F124"}.fa-crop:before{content:"\\F125"}.fa-code-fork:before{content:"\\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\\F127"}.fa-question:before{content:"\\F128"}.fa-info:before{content:"\\F129"}.fa-exclamation:before{content:"\\F12A"}.fa-superscript:before{content:"\\F12B"}.fa-subscript:before{content:"\\F12C"}.fa-eraser:before{content:"\\F12D"}.fa-puzzle-piece:before{content:"\\F12E"}.fa-microphone:before{content:"\\F130"}.fa-microphone-slash:before{content:"\\F131"}.fa-shield:before{content:"\\F132"}.fa-calendar-o:before{content:"\\F133"}.fa-fire-extinguisher:before{content:"\\F134"}.fa-rocket:before{content:"\\F135"}.fa-maxcdn:before{content:"\\F136"}.fa-chevron-circle-left:before{content:"\\F137"}.fa-chevron-circle-right:before{content:"\\F138"}.fa-chevron-circle-up:before{content:"\\F139"}.fa-chevron-circle-down:before{content:"\\F13A"}.fa-html5:before{content:"\\F13B"}.fa-css3:before{content:"\\F13C"}.fa-anchor:before{content:"\\F13D"}.fa-unlock-alt:before{content:"\\F13E"}.fa-bullseye:before{content:"\\F140"}.fa-ellipsis-h:before{content:"\\F141"}.fa-ellipsis-v:before{content:"\\F142"}.fa-rss-square:before{content:"\\F143"}.fa-play-circle:before{content:"\\F144"}.fa-ticket:before{content:"\\F145"}.fa-minus-square:before{content:"\\F146"}.fa-minus-square-o:before{content:"\\F147"}.fa-level-up:before{content:"\\F148"}.fa-level-down:before{content:"\\F149"}.fa-check-square:before{content:"\\F14A"}.fa-pencil-square:before{content:"\\F14B"}.fa-external-link-square:before{content:"\\F14C"}.fa-share-square:before{content:"\\F14D"}.fa-compass:before{content:"\\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\\F152"}.fa-eur:before,.fa-euro:before{content:"\\F153"}.fa-gbp:before{content:"\\F154"}.fa-dollar:before,.fa-usd:before{content:"\\F155"}.fa-inr:before,.fa-rupee:before{content:"\\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\\F158"}.fa-krw:before,.fa-won:before{content:"\\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\\F15A"}.fa-file:before{content:"\\F15B"}.fa-file-text:before{content:"\\F15C"}.fa-sort-alpha-asc:before{content:"\\F15D"}.fa-sort-alpha-desc:before{content:"\\F15E"}.fa-sort-amount-asc:before{content:"\\F160"}.fa-sort-amount-desc:before{content:"\\F161"}.fa-sort-numeric-asc:before{content:"\\F162"}.fa-sort-numeric-desc:before{content:"\\F163"}.fa-thumbs-up:before{content:"\\F164"}.fa-thumbs-down:before{content:"\\F165"}.fa-youtube-square:before{content:"\\F166"}.fa-youtube:before{content:"\\F167"}.fa-xing:before{content:"\\F168"}.fa-xing-square:before{content:"\\F169"}.fa-youtube-play:before{content:"\\F16A"}.fa-dropbox:before{content:"\\F16B"}.fa-stack-overflow:before{content:"\\F16C"}.fa-instagram:before{content:"\\F16D"}.fa-flickr:before{content:"\\F16E"}.fa-adn:before{content:"\\F170"}.fa-bitbucket:before{content:"\\F171"}.fa-bitbucket-square:before{content:"\\F172"}.fa-tumblr:before{content:"\\F173"}.fa-tumblr-square:before{content:"\\F174"}.fa-long-arrow-down:before{content:"\\F175"}.fa-long-arrow-up:before{content:"\\F176"}.fa-long-arrow-left:before{content:"\\F177"}.fa-long-arrow-right:before{content:"\\F178"}.fa-apple:before{content:"\\F179"}.fa-windows:before{content:"\\F17A"}.fa-android:before{content:"\\F17B"}.fa-linux:before{content:"\\F17C"}.fa-dribbble:before{content:"\\F17D"}.fa-skype:before{content:"\\F17E"}.fa-foursquare:before{content:"\\F180"}.fa-trello:before{content:"\\F181"}.fa-female:before{content:"\\F182"}.fa-male:before{content:"\\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\\F184"}.fa-sun-o:before{content:"\\F185"}.fa-moon-o:before{content:"\\F186"}.fa-archive:before{content:"\\F187"}.fa-bug:before{content:"\\F188"}.fa-vk:before{content:"\\F189"}.fa-weibo:before{content:"\\F18A"}.fa-renren:before{content:"\\F18B"}.fa-pagelines:before{content:"\\F18C"}.fa-stack-exchange:before{content:"\\F18D"}.fa-arrow-circle-o-right:before{content:"\\F18E"}.fa-arrow-circle-o-left:before{content:"\\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\\F191"}.fa-dot-circle-o:before{content:"\\F192"}.fa-wheelchair:before{content:"\\F193"}.fa-vimeo-square:before{content:"\\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\\F195"}.fa-plus-square-o:before{content:"\\F196"}.fa-space-shuttle:before{content:"\\F197"}.fa-slack:before{content:"\\F198"}.fa-envelope-square:before{content:"\\F199"}.fa-wordpress:before{content:"\\F19A"}.fa-openid:before{content:"\\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\\F19D"}.fa-yahoo:before{content:"\\F19E"}.fa-google:before{content:"\\F1A0"}.fa-reddit:before{content:"\\F1A1"}.fa-reddit-square:before{content:"\\F1A2"}.fa-stumbleupon-circle:before{content:"\\F1A3"}.fa-stumbleupon:before{content:"\\F1A4"}.fa-delicious:before{content:"\\F1A5"}.fa-digg:before{content:"\\F1A6"}.fa-pied-piper:before{content:"\\F1A7"}.fa-pied-piper-alt:before{content:"\\F1A8"}.fa-drupal:before{content:"\\F1A9"}.fa-joomla:before{content:"\\F1AA"}.fa-language:before{content:"\\F1AB"}.fa-fax:before{content:"\\F1AC"}.fa-building:before{content:"\\F1AD"}.fa-child:before{content:"\\F1AE"}.fa-paw:before{content:"\\F1B0"}.fa-spoon:before{content:"\\F1B1"}.fa-cube:before{content:"\\F1B2"}.fa-cubes:before{content:"\\F1B3"}.fa-behance:before{content:"\\F1B4"}.fa-behance-square:before{content:"\\F1B5"}.fa-steam:before{content:"\\F1B6"}.fa-steam-square:before{content:"\\F1B7"}.fa-recycle:before{content:"\\F1B8"}.fa-automobile:before,.fa-car:before{content:"\\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\\F1BA"}.fa-tree:before{content:"\\F1BB"}.fa-spotify:before{content:"\\F1BC"}.fa-deviantart:before{content:"\\F1BD"}.fa-soundcloud:before{content:"\\F1BE"}.fa-database:before{content:"\\F1C0"}.fa-file-pdf-o:before{content:"\\F1C1"}.fa-file-word-o:before{content:"\\F1C2"}.fa-file-excel-o:before{content:"\\F1C3"}.fa-file-powerpoint-o:before{content:"\\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\\F1C8"}.fa-file-code-o:before{content:"\\F1C9"}.fa-vine:before{content:"\\F1CA"}.fa-codepen:before{content:"\\F1CB"}.fa-jsfiddle:before{content:"\\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\\F1CD"}.fa-circle-o-notch:before{content:"\\F1CE"}.fa-ra:before,.fa-rebel:before{content:"\\F1D0"}.fa-empire:before,.fa-ge:before{content:"\\F1D1"}.fa-git-square:before{content:"\\F1D2"}.fa-git:before{content:"\\F1D3"}.fa-hacker-news:before{content:"\\F1D4"}.fa-tencent-weibo:before{content:"\\F1D5"}.fa-qq:before{content:"\\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\\F1D9"}.fa-history:before{content:"\\F1DA"}.fa-circle-thin:before,.fa-genderless:before{content:"\\F1DB"}.fa-header:before{content:"\\F1DC"}.fa-paragraph:before{content:"\\F1DD"}.fa-sliders:before{content:"\\F1DE"}.fa-share-alt:before{content:"\\F1E0"}.fa-share-alt-square:before{content:"\\F1E1"}.fa-bomb:before{content:"\\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\\F1E3"}.fa-tty:before{content:"\\F1E4"}.fa-binoculars:before{content:"\\F1E5"}.fa-plug:before{content:"\\F1E6"}.fa-slideshare:before{content:"\\F1E7"}.fa-twitch:before{content:"\\F1E8"}.fa-yelp:before{content:"\\F1E9"}.fa-newspaper-o:before{content:"\\F1EA"}.fa-wifi:before{content:"\\F1EB"}.fa-calculator:before{content:"\\F1EC"}.fa-paypal:before{content:"\\F1ED"}.fa-google-wallet:before{content:"\\F1EE"}.fa-cc-visa:before{content:"\\F1F0"}.fa-cc-mastercard:before{content:"\\F1F1"}.fa-cc-discover:before{content:"\\F1F2"}.fa-cc-amex:before{content:"\\F1F3"}.fa-cc-paypal:before{content:"\\F1F4"}.fa-cc-stripe:before{content:"\\F1F5"}.fa-bell-slash:before{content:"\\F1F6"}.fa-bell-slash-o:before{content:"\\F1F7"}.fa-trash:before{content:"\\F1F8"}.fa-copyright:before{content:"\\F1F9"}.fa-at:before{content:"\\F1FA"}.fa-eyedropper:before{content:"\\F1FB"}.fa-paint-brush:before{content:"\\F1FC"}.fa-birthday-cake:before{content:"\\F1FD"}.fa-area-chart:before{content:"\\F1FE"}.fa-pie-chart:before{content:"\\F200"}.fa-line-chart:before{content:"\\F201"}.fa-lastfm:before{content:"\\F202"}.fa-lastfm-square:before{content:"\\F203"}.fa-toggle-off:before{content:"\\F204"}.fa-toggle-on:before{content:"\\F205"}.fa-bicycle:before{content:"\\F206"}.fa-bus:before{content:"\\F207"}.fa-ioxhost:before{content:"\\F208"}.fa-angellist:before{content:"\\F209"}.fa-cc:before{content:"\\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\\F20B"}.fa-meanpath:before{content:"\\F20C"}.fa-buysellads:before{content:"\\F20D"}.fa-connectdevelop:before{content:"\\F20E"}.fa-dashcube:before{content:"\\F210"}.fa-forumbee:before{content:"\\F211"}.fa-leanpub:before{content:"\\F212"}.fa-sellsy:before{content:"\\F213"}.fa-shirtsinbulk:before{content:"\\F214"}.fa-simplybuilt:before{content:"\\F215"}.fa-skyatlas:before{content:"\\F216"}.fa-cart-plus:before{content:"\\F217"}.fa-cart-arrow-down:before{content:"\\F218"}.fa-diamond:before{content:"\\F219"}.fa-ship:before{content:"\\F21A"}.fa-user-secret:before{content:"\\F21B"}.fa-motorcycle:before{content:"\\F21C"}.fa-street-view:before{content:"\\F21D"}.fa-heartbeat:before{content:"\\F21E"}.fa-venus:before{content:"\\F221"}.fa-mars:before{content:"\\F222"}.fa-mercury:before{content:"\\F223"}.fa-transgender:before{content:"\\F224"}.fa-transgender-alt:before{content:"\\F225"}.fa-venus-double:before{content:"\\F226"}.fa-mars-double:before{content:"\\F227"}.fa-venus-mars:before{content:"\\F228"}.fa-mars-stroke:before{content:"\\F229"}.fa-mars-stroke-v:before{content:"\\F22A"}.fa-mars-stroke-h:before{content:"\\F22B"}.fa-neuter:before{content:"\\F22C"}.fa-facebook-official:before{content:"\\F230"}.fa-pinterest-p:before{content:"\\F231"}.fa-whatsapp:before{content:"\\F232"}.fa-server:before{content:"\\F233"}.fa-user-plus:before{content:"\\F234"}.fa-user-times:before{content:"\\F235"}.fa-bed:before,.fa-hotel:before{content:"\\F236"}.fa-viacoin:before{content:"\\F237"}.fa-train:before{content:"\\F238"}.fa-subway:before{content:"\\F239"}.fa-medium:before{content:"\\F23A"}',""]); -},function(e,t,n){e.exports=n.p+"f7c2b4b747b1a225eb8dee034134a1b0.eot"},1844,function(e,t,n){e.exports=n.p+"97493d3f11c0a3bd5cbd959f5d19b699.woff2"},function(e,t,n){e.exports=n.p+"d9ee23d59d0e0e727b51368b458a0bff.woff"},function(e,t,n){e.exports=n.p+"706450d7bba6374ca02fe167d86685cb.ttf"},function(e,t,n){e.exports=n.p+"2980083682e94d33a66eef2e7d612519.svg"},function(e,t,n){var r=n(1851);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,'.tabbed-area{position:absolute;width:100%;height:100%}.tabbed-area .tab-content{position:relative;width:100%;height:calc(100% - 44px - 4px - 3px)}.tabbed-area .tab-content .tab-pane{display:none;position:absolute;top:0;left:0;overflow:hidden;clear:both;width:100%;height:100%}.tabbed-area .tab-content .tab-pane.active{overflow:auto;display:inherit}.tabbed-area .tabs{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-height:44px;border-bottom:4px solid #3d8bd5;padding-top:3px}.tabbed-area .tabs .tab{font-size:15px;display:-ms-flexbox;display:flex;margin-right:0;margin-left:3px;cursor:pointer;top:1px;overflow:hidden;white-space:nowrap;min-width:100px;max-width:250px;padding-left:10px;padding-right:10px}.tabbed-area .tabs .tab .title{-ms-flex:1;flex:1;vertical-align:middle;line-height:44px;text-overflow:ellipsis;overflow:hidden}.tabbed-area .tabs .tab.active{top:0;background:#3d8bd5;color:#fff}.tabbed-area .tabs .tab.active .icon .bitmap{filter:invert(100%)}.tabbed-area .tabs .tab.inactive:hover{background:#66a2de;color:#fff}.tabbed-area .tabs .tab.inactive:hover .icon .bitmap{filter:invert(100%)}.tabbed-area .tabs .tab.inactive .action{visibility:hidden}.tabbed-area .tabs .tab.dragging{z-index:9999}.tabbed-area .tabs .icon{line-height:44px;margin-left:5px;margin-right:5px;opacity:.5}.tabbed-area .tabs .icon .bitmap{transform:translateY(3px)}.tabbed-area .tabs .icon.close:hover{opacity:1}.icon{position:relative;vertical-align:middle;font-size:22px}.icon .bitmap{height:22px}.icon:hover{opacity:1}.icon.close{opacity:.3}.icon.close:hover{opacity:1}.icon.inverted-bitmap{filter:invert(100%)}.icon.inverted-bitmap img.bitmap{vertical-align:middle}.popups{position:absolute;top:0;left:0;width:0;height:0}.popup{position:fixed!important;border:1px solid #6e6e6e;box-shadow:0 19px 60px rgba(0,0,0,.3),0 15px 20px rgba(0,0,0,.22);background:#fff;z-index:1002}.popup .popup-drag{position:absolute;height:33px;width:calc(100% - 64px);top:0;left:0;cursor:move;z-index:1003}.popup .popup-header{overflow:hidden;white-space:nowrap;height:33px;cursor:move;font-size:10pt;font-weight:700;color:#fff;background:linear-gradient(90deg,#3d8bd5 0,#3d8bd5);display:-ms-flexbox;display:flex;box-shadow:0 1px 6px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.24);position:relative;z-index:3}.popup .popup-header .icon{line-height:33px;margin-left:5px;margin-right:5px}.popup .popup-header .icon .bitmap{filter:invert(100%);transform:translateY(3px)}.popup .popup-header .title{-ms-flex:1;flex:1;vertical-align:middle;line-height:33px;margin-left:1em;margin-right:1em;text-overflow:ellipsis;overflow:hidden}.popup .popup-body{position:relative;overflow:auto}.modal{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:9999;position:absolute;width:100%;height:100%;top:0;left:0;outline:0;opacity:0;background:rgba(0,0,0,.7);transition:visibility 0s linear .5s,opacity .5s linear}.modal .popup{position:static!important;transition:none;visibility:hidden}.modal .popup .popup-header{cursor:inherit}.modal.visible{opacity:1;transition-delay:0s}.modal.visible,.modal.visible .popup{visibility:visible}.react-resizable{position:relative}.react-resizable-handle{z-index:9999;background-color:hsla(0,0%,100%,.6)}.react-resizable-handle.react-draggable{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize;transform:none!important;-webkit-transform:none!important;-ms-transform:none!important;-o-transform:none!important;-moz-transform:none!important;z-index:99}.status-text{text-align:center;font-style:italic;opacity:.5}.top-bar{background:#3d8bd5;box-shadow:0 1px 6px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.24);position:relative;z-index:2}.top-bar .block{display:inline-block;margin-left:5px;white-space:nowrap}.top-bar .block .icon:first-child{margin-left:0}.top-bar .btn{border:none;background:transparent;color:#fff}.top-bar .text{vertical-align:middle;line-height:33px;color:#fff;margin-left:7px;margin-right:7px}.top-bar .icon{margin-left:5px;margin-right:5px;line-height:33px;color:#fff}.top-bar .disabled{color:#66a2de}.load-container{width:100%;height:100%;position:absolute}.sidebar{width:258px;padding:12px 9px}.sidebar-header{line-height:normal}.sidebar-header .icon-holder{border-radius:9px;border:2px solid #66a2de;padding:5px;margin-right:10px;margin-bottom:10px;float:left;background-color:#e6f4f5}.sidebar-header .icon-holder .icon{font-size:30px;line-height:30px;color:#3d8bd5}.sidebar-header .icon-holder .icon .bitmap{height:30px}.stack{display:-ms-flexbox;display:flex;width:100%;height:100%}.stack div.grow{position:relative;-ms-flex:1;flex:1}.stack.start-align{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.stack.start-align .description{padding:20px 10px 0}.stack.wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.stack.vertical{-ms-flex-direction:column;flex-direction:column}.stack.horizontal{-ms-flex-direction:row;flex-direction:row}.stack.spread{-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around}.pointer{cursor:pointer}.large-modal{height:calc(100vh - 150px);width:calc(100vw - 150px)}.tall-modal{max-height:calc(100vh - 150px)}.centering-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:20px}.scroll-within{overflow:auto}.query-editor-container{padding:5px}.query-editor{margin:5px;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content;text-align:center;background:url("data:image/png;base64,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");background-position:50%;background-repeat:repeat-y}.query-editor .endpoint{display:inline-block;border-radius:18px;background:#e0e0e0;padding:10px}.query-editor .criteria{display:inline-block;margin:10px}.query-editor .or{margin:5px}.query-editor .or .startline{height:16px;background:#e0e0e0;border-top-left-radius:16px;border-top-right-radius:16px}.query-editor .or .endline{height:16px;background:#e0e0e0;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.query-editor .or .components{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content;border-right:2px solid #e0e0e0;border-left:2px solid #e0e0e0;background:#fff}.query-editor .or .components .or-criteria-wrapper{padding-top:5px;padding-bottom:5px;background:url("data:image/png;base64,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");background-position:50%;background-repeat:repeat-y}.query-editor .and{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content}.query-editor .criterion{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:5px;padding:5px}.query-editor .criterion .close{color:#000}.query-editor .criterion input,.query-editor .criterion select{margin:5px;width:150px;display:block}.query-editor .criterion input{text-indent:3px}.query-editor .criterion .actions{border-left:1px solid #e0e0e0}.query-editor .criterion .icon{height:18px;line-height:18px}.query-editor .criterion .action{cursor:pointer;height:18px;line-height:18px;margin:5px;opacity:.3}.query-editor .criterion .action:hover{opacity:1}.query-editor .criterion .icon-wrapper{position:relative}.query-editor .criterion .icon-overlay{position:absolute;top:3px;left:0}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAGCAIAAAB1kpiRAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wcIDRQ1KO1wgAAAAFBJREFUCNdtyjEOwCAMQ1E7KhFHyP1Px8iSiSgwICG11KPfp7uPMfA3kk+ttfd+FyTNTETEzEopt6mqAPgUxwBwzrnfzGytRcSxF+8iIo4BWFGnInEcArZUAAAAAElFTkSuQmCC") no-repeat 100%}input,select{border:none;border-bottom:1px solid #e0e0e0}input:focus{outline:none;outline-offset:inherit;border-bottom:2px solid #3d8bd5}input.invalid{border-bottom:2px solid #d62728}.query-picker .list-string{width:250px}.table-row-cell{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:8px}.table-row-cell .icon{min-width:20px;color:#a9a9a9;font-size:20px;padding-left:3px;padding-right:3px}.table-row-cell .icon.info{font-size:14px}.table-row-cell .icon:hover{color:#4e4e4e}.table-col{margin:5px}.table-col-cell{padding-left:5px;padding-right:5px}.prop{opacity:.7}.prop.true{color:#2ca02c}.prop.false{color:#d62728}.table-row-cell .prop.bool{top:-4px}.table-row-header{padding:0!important;height:100%;line-height:50px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.table-row-header .label{-ms-flex-negative:1;flex-shrink:1;text-align:center}.table-row-header .icon{min-width:20px;color:#a9a9a9;font-size:14px;padding-left:3px;padding-right:3px}.table-row-header .icon:hover{color:#4e4e4e}.table-row-header.sort-column-ascending,.table-row-header.sort-column-descending{background:#e8e8e8;box-shadow:inset 1px 1px 1px #a9a9a9}.table-col-header{padding:0 5px!important;height:100%;line-height:30px;display:-ms-flexbox;display:flex;-ms-flex-pack:left;justify-content:left;-ms-flex-align:left;align-items:left}.table-col-header .label{-ms-flex-negative:1;flex-shrink:1;text-overflow:ellipsis;overflow:hidden;text-align:left;white-space:nowrap}.table-col-header .icon{min-width:20px;color:#a9a9a9;font-size:14px;padding-left:3px;padding-right:3px;vertical-align:baseline}.table-col-header .icon:hover{color:#4e4e4e}.rc-tooltip{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}.item-picker .picked{opacity:.5}.item-picker .header{text-align:center;font-size:18px;padding-top:16px}.item-picker .search{padding-left:16px}.highlight{color:#ff4081}.internal-link{color:#3d8bd5;text-decoration:underline;cursor:pointer}.external-link-icon{margin-right:5px}.error{font-size:20px;font-weight:700;color:darkred}',""])},function(e,t,n){var r=n(1853);"string"==typeof r&&(r=[[e.id,r,""]]);n(1022)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(1021)(),t.push([e.id,".green{background-color:green}.red{background-color:red}.blue{background-color:blue}*,:after,:before{box-sizing:border-box}body{font-family:Roboto,sans-serif;color:#242424;font-size:14px}a{text-decoration:underline;cursor:pointer}.main .page{height:100vh;width:100vw;-ms-flex-direction:column;flex-direction:column}.main .page,.main .page .header{display:-ms-flexbox;display:flex}.main .page .header{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:visible;z-index:1;height:50px;background:#fff}.main .page .header a{color:inherit;text-decoration:inherit}.main .page .header .title{-ms-flex:1;flex:1;margin:25px;font-weight:700;font-size:large}.main .page .header .logo{margin:25px}.main .page .header .username{margin:7px;font-weight:700}.main .page .body{-ms-flex:1;flex:1;position:relative}a{color:#3d8bd5}a:visited{color:#66a2de}",""])},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:"change";return function(r){var o=t.state;e(r),o.equals(t.state)&&"notify"!==n||t.emit(n)}},componentSetProps:function(e){var t=e.componentPath,n=e.updater;(0,v.default)(n)?this.state=this.state.updateIn(["components"].concat(o(t),["props"]),n):this.state=this.state.mergeDeepIn(["components"].concat(o(t),["props"]),n)},componentReplace:function(e){var t=e.componentPath,n=e.newComponent;this.state=this.state.setIn(["components"].concat(o(t)),n)},modalClose:function(){this.modal=null,this.emit("change")},modalOpen:function(e){this.modal=e,this.emit("change")},modalSetProps:function(e){var t=e.updater;(0,v.default)(t)?this.modal=s.default.cloneElement(this.modal,t(this.modal.props)):this.modal=s.default.cloneElement(this.modal,t),this.emit("change")},notify:function(e){this.lastNotification=e},popupClose:function(e){var t=e.compId,n=this.state.getIn(["popups","components"]).filter(function(e){return e!==t});this.state=this.state.setIn(["popups","components"],n);for(var r=0,o=this.state.get("popupSlots").size;rthis.state.get("popupSlots").size)return console.error("nextPopupSlotIndex > this.state.get('popupSlots').size"),console.info("nextPopupSlotIndex: %o",s),console.info("this.state.get('popupSlots').size: %o",this.state.get("popupSlots").size),null;s===this.state.get("popupSlots").size?this.state=this.state.set("popupSlots",this.state.get("popupSlots").push(n)):this.state=this.state.setIn(["popupSlots",s],n);var c=200,d=Math.floor((window.innerHeight-c)/k),h=Math.floor((window.innerWidth-c)/k);i={x:50+s%d*k+Math.floor(s/d)%h*k,y:50+s%d*k}}this.state=this.state.setIn(["popups","state",n,"position"],f.default.Map(i||a))}},popupResize:function(e){var t=e.compId,n=e.size;this.state=this.state.mergeIn(["popups","state",t,"size"],n)},popupToTab:function(e){this.tabOpen(a({switchTo:!0},e)),this.popupClose(e)},tabClose:function(e,t){var n=e.compId;if(t||this.state.getIn(["components",n,"component"])!==_){var r=this.state.getIn(["tabs","components"]).indexOf(n);if(r===-1)throw Error("Closed non-existant tab");var o=this.state.getIn(["tabs","components"]).delete(r);this.state=this.state.setIn(["tabs","components"],o),0==o.size?this.tabOpen({component:{component:x},switchTo:!0}):n===this.state.getIn(["tabs","selectedTab"])&&(r=window.innerWidth&&(i=window.innerWidth-o-1,i=window.innerHeight&&(s=window.innerHeight-a-1,s0,t.showByDefault="tableDefaultVisible"in t?t.tableDefaultVisible:t.isPrimKey||t.id==e.chromosome||t.id==e.position||!1,t.defaultValue=(t.distinctValues||{})[0]||{Text:"",Float:0,Double:0,Int8:0,Int16:0,Int32:0,Boolean:!0,GeoLatitude:0,GeoLongitude:0,Date:0}[t.dataType]}),e.hasGeoCoord=!(!e.longitude||!e.latitude)}});t.default=P},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1856),s=r(i),l=n(957),u=r(l),c=n(1755),f=r(c),d=s.default.SESSION,p={componentSetProps:function(e,t){this.dispatch(d.COMPONENT_SET_PROPS,{componentPath:e,updater:t})},componentReplace:function(e,t){this.dispatch(d.COMPONENT_REPLACE,{componentPath:e,newComponent:(0,u.default)(t)})},modalClose:function(){this.dispatch(d.MODAL_CLOSE)},modalOpen:function(e){this.dispatch(d.MODAL_OPEN,e)},modalSetProps:function(e,t){this.dispatch(d.MODAL_SET_PROPS,{updater:t})},notify:function(e){this.dispatch(d.NOTIFY,e)},popupClose:function(e){this.dispatch(d.POPUP_CLOSE,{compId:e})},popupOpen:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.dispatch(d.POPUP_OPEN,{component:(0,u.default)(e),switchTo:t})},popupFocus:function(e){this.dispatch(d.POPUP_FOCUS,{compId:e})},popupMove:function(e,t){this.dispatch(d.POPUP_MOVE,{compId:e,pos:t})},popupResize:function(e,t){this.dispatch(d.POPUP_RESIZE,{compId:e,size:t})},popupToTab:function(e){this.dispatch(d.POPUP_TO_TAB,{compId:e})},tabClose:function(e){this.dispatch(d.TAB_CLOSE,{compId:e})},tabOpen:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e||(e=a.default.createElement(f.default,null)),this.dispatch(d.TAB_OPEN,{component:(0,u.default)(e),switchTo:t})},tabPopOut:function(e,t){this.dispatch(d.TAB_POP_OUT,{compId:e,pos:t})},tabSwitch:function(e){this.dispatch(d.TAB_SWITCH,{compId:e})},geneFound:function(e,t){this.dispatch(d.GENE_FOUND,{geneId:e,geneDesc:t})},tableQueryUsed:function(e,t){this.dispatch(d.TABLE_QUERY_USED,{table:e,query:t})},appResize:function(){this.dispatch(d.APP_RESIZE,{})}};t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(321),a=r(o),i=n(1856),s=r(i),l=n(1489),u=r(l),c=n(596),f=r(c),d=n(957),p=r(d),h=s.default.SESSION,m=function(e){return{dataItemPopup:function(t){var n=t.table,r=t.primKey,o=t.switchTo,i=void 0===o||o,s=e.tablesById[n].dataItemViews,l=u.default.getViews(s,e.tablesById[n].hasGeoCoord);this.dispatch(h.POPUP_OPEN,{component:(0,p.default)(a.default.createElement(f.default,{table:n,primKey:r},l)),switchTo:i})}}};t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t=0},g=10,v=750,y={x:null,y:null},b=null,A={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},x=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],_=["topMouseDown","topMouseMove","topMouseUp"].concat(x),w={touchTap:{phasedRegistrationNames:{bubbled:d({onTouchTap:null}),captured:d({onTouchTapCapture:null})},dependencies:_}},C=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=a},function(e,t){"use strict";var n={topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null},r={topLevelTypes:n};e.exports=r},function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t,n){e.exports=n(1872)},function(e,t,n){"use strict";function r(){y||(y=!0,"undefined"!=typeof console&&console.error("ReactPerf is not supported in the production builds of React. To collect measurements, please use the development build of React instead."))}function o(){return r(),[]}function a(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function i(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function s(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function l(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function u(e){return void r()}function c(e){return void r()}function f(e){return void r()}function d(e){return void r()}function p(e){return b=!0,d(e)}function h(e){return A=!0,s(e)}function m(){return void r()}function g(){return void r()}function v(){return r(),!1}var y=(n(366),n(1873),n(330),!1),b=!1,A=!1,x={getLastMeasurements:o,getExclusive:a,getInclusive:i,getWasted:s,getOperations:l,printExclusive:u,printInclusive:c,printWasted:f,printOperations:d,start:m,stop:g,isRunning:v,printDOM:p,getMeasurementsSummaryMap:h};e.exports=x},function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,s){try{t.call(n,r,o,a,i,s)}catch(t){_[e]=!0}}function o(e,t,n,o,a,i){for(var s=0;s1&&void 0!==arguments[1]&&arguments[1]}function u(e,t){0!==T&&(O&&!I&&(I=!0),S=A(),D=0,M=e,O=t)}function c(e,t){0!==T&&(O===t||I||(I=!0),w&&k.push({timerType:t,instanceID:e,duration:A()-S-D}),S=0,D=0,M=null,O=null)}function f(){var e={startTime:S,nestedFlushStartTime:A(),debugID:M,timerType:O};E.push(e),S=0,D=0,M=null,O=null}function d(){var e=E.pop(),t=e.startTime,n=e.nestedFlushStartTime,r=e.debugID,o=e.timerType,a=A()-n;S=t,D+=a,M=r,O=o}function p(e){if(!w||!N)return!1;var t=y.getElement(e);if(null==t||"object"!=typeof t)return!1;var n="string"==typeof t.type;return!n}function h(e,t){if(p(e)){var n=e+"::"+t;L=A(),performance.mark(n)}}function m(e,t){if(p(e)){var n=e+"::"+t,r=y.getDisplayName(e)||"Unknown",o=A();if(o-L>.1){var a=r+" ["+t+"]";performance.measure(a,n)}performance.clearMarks(n),performance.clearMeasures(a)}}var g=n(1874),v=n(1875),y=n(442),b=n(364),A=n(1876),x=(n(330),[]),_={},w=!1,C=[],E=[],T=0,k=[],P=0,M=null,S=0,D=0,O=null,I=!1,L=0,N="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,B={addHook:function(e){x.push(e)},removeHook:function(e){for(var t=0;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/babel-runtime/helpers/typeof.js"),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},"./node_modules/babel-runtime/helpers/toArray.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/babel-runtime/core-js/array/from.js"),i=r(o);t.default=function(e){return Array.isArray(e)?e:(0,i.default)(e)}},"./node_modules/babel-runtime/helpers/toConsumableArray.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/babel-runtime/core-js/array/from.js"),i=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return 3*e.length/4-r(e)}function i(e){var t,n,o,i,a,s,l=e.length;a=r(e),s=new d(3*l/4-a),o=a>0?l-4:l;var u=0;for(t=0,n=0;t>16&255,s[u++]=i>>8&255,s[u++]=255&i;return 2===a?(i=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,s[u++]=255&i):1===a&&(i=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,s[u++]=i>>8&255,s[u++]=255&i),s}function a(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function s(e,t,n){for(var r,o=[],i=t;ic?c:l+a));return 1===r?(t=e[n-1],o+=u[t>>2],o+=u[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=u[t>>10],o+=u[t>>4&63],o+=u[t<<2&63],o+="="),i.push(o),i.join("")}t.byteLength=o,t.toByteArray=i,t.fromByteArray=l;for(var u=[],c=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,h=p.length;f1&&n[1]||""}function n(t){var n=e.match(t);return n&&n.length>1&&n[2]||""}var r,o=t(/(ipod|iphone|ipad)/i).toLowerCase(),i=/like android/i.test(e),s=!i&&/android/i.test(e),l=/nexus\s*[0-6]\s*/i.test(e),u=!l&&/nexus\s*[0-9]+/i.test(e),c=/CrOS/.test(e),d=/silk/i.test(e),p=/sailfish/i.test(e),f=/tizen/i.test(e),h=/(web|hpw)os/i.test(e),m=/windows phone/i.test(e),g=(/SamsungBrowser/i.test(e),!m&&/windows/i.test(e)),y=!o&&!d&&/macintosh/i.test(e),v=!s&&!p&&!f&&!h&&/linux/i.test(e),b=t(/edge\/(\d+(\.\d+)?)/i),_=t(/version\/(\d+(\.\d+)?)/i),A=/tablet/i.test(e),x=!A&&/[^-]mobi/i.test(e),j=/xbox/i.test(e);/opera/i.test(e)?r={name:"Opera",opera:a,version:_||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr|opios/i.test(e)?r={name:"Opera",opera:a,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(e)?r={name:"Samsung Internet for Android",samsungBrowser:a,version:_||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/coast/i.test(e)?r={name:"Opera Coast",coast:a,version:_||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/yabrowser/i.test(e)?r={name:"Yandex Browser",yandexbrowser:a,version:_||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?r={name:"UC Browser",ucbrowser:a,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?r={name:"Maxthon",maxthon:a,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?r={name:"Epiphany",epiphany:a,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?r={name:"Puffin",puffin:a,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?r={name:"Sleipnir",sleipnir:a,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?r={name:"K-Meleon",kMeleon:a,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:m?(r={name:"Windows Phone",windowsphone:a},b?(r.msedge=a,r.version=b):(r.msie=a,r.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?r={name:"Internet Explorer",msie:a,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:c?r={name:"Chrome",chromeos:a,chromeBook:a,chrome:a,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?r={name:"Microsoft Edge",msedge:a,version:b}:/vivaldi/i.test(e)?r={name:"Vivaldi",vivaldi:a,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||_}:p?r={name:"Sailfish",sailfish:a,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?r={name:"SeaMonkey",seamonkey:a,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(r={name:"Firefox",firefox:a,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(r.firefoxos=a)):d?r={name:"Amazon Silk",silk:a,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?r={name:"PhantomJS",phantom:a,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?r={name:"SlimerJS",slimer:a,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?r={name:"BlackBerry",blackberry:a,version:_||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:h?(r={name:"WebOS",webos:a,version:_||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(r.touchpad=a)):/bada/i.test(e)?r={name:"Bada",bada:a,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:f?r={name:"Tizen",tizen:a,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(e)?r={name:"QupZilla",qupzilla:a,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(e)?r={name:"Chromium",chromium:a,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(e)?r={name:"Chrome",chrome:a,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:s?r={name:"Android",version:_}:/safari|applewebkit/i.test(e)?(r={name:"Safari",safari:a},_&&(r.version=_)):o?(r={name:"iphone"==o?"iPhone":"ipad"==o?"iPad":"iPod"},_&&(r.version=_)):r=/googlebot/i.test(e)?{name:"Googlebot",googlebot:a,version:t(/googlebot\/(\d+(\.\d+))/i)||_}:{name:t(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!r.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(r.name=r.name||"Blink",r.blink=a):(r.name=r.name||"Webkit",r.webkit=a),!r.version&&_&&(r.version=_)):!r.opera&&/gecko\//i.test(e)&&(r.name=r.name||"Gecko",r.gecko=a,r.version=r.version||t(/gecko\/(\d+(\.\d+)?)/i)),r.windowsphone||r.msedge||!s&&!r.silk?r.windowsphone||r.msedge||!o?y?r.mac=a:j?r.xbox=a:g?r.windows=a:v&&(r.linux=a):(r[o]=a,r.ios=a):r.android=a;var w="";r.windowsphone?w=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):o?(w=t(/os (\d+([_\s]\d+)*) like mac os x/i),w=w.replace(/[_\s]/g,".")):s?w=t(/android[ \/-](\d+(\.\d+)*)/i):r.webos?w=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):r.blackberry?w=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):r.bada?w=t(/bada\/(\d+(\.\d+)*)/i):r.tizen&&(w=t(/tizen[\/\s](\d+(\.\d+)*)/i)),w&&(r.osversion=w);var C=w.split(".")[0];return A||u||"ipad"==o||s&&(3==C||C>=4&&!x)||r.silk?r.tablet=a:(x||"iphone"==o||"ipod"==o||s||l||r.blackberry||r.webos||r.bada)&&(r.mobile=a),r.msedge||r.msie&&r.version>=10||r.yandexbrowser&&r.version>=15||r.vivaldi&&r.version>=1||r.chrome&&r.version>=20||r.samsungBrowser&&r.version>=4||r.firefox&&r.version>=20||r.safari&&r.version>=6||r.opera&&r.version>=10||r.ios&&r.osversion&&r.osversion.split(".")[0]>=6||r.blackberry&&r.version>=10.1||r.chromium&&r.version>=20?r.a=a:r.msie&&r.version<10||r.chrome&&r.version<20||r.firefox&&r.version<20||r.safari&&r.version<6||r.opera&&r.version<10||r.ios&&r.osversion&&r.osversion.split(".")[0]<6||r.chromium&&r.version<20?r.c=a:r.x=a,r}function t(e){return e.split(".").length}function n(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]!==o[1][r])return-1;if(0===r)return 0}}function o(t,n,o){var i=s;"string"==typeof n&&(o=n,n=void 0),void 0===n&&(n=!1),o&&(i=e(o));var a=""+i.version;for(var l in t)if(t.hasOwnProperty(l)&&i[l]){if("string"!=typeof t[l])throw new Error("Browser version in the minVersion map should be a string: "+l+": "+String(t));return r([a,t[l]])<0}return n}function i(e,t,n){return!o(e,t,n)}var a=!0,s=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return s.test=function(e){for(var t=0;ta)throw new RangeError("size is too large");var r=n,i=t;void 0===i&&(r=void 0,i=0);var s=new o(e);if("string"==typeof i)for(var l=new o(i,r),u=l.length,c=-1;++ca)throw new RangeError("size is too large");return new o(e)},t.from=function(t,n,r){if("function"==typeof o.from&&(!e.Uint8Array||Uint8Array.from!==o.from))return o.from(t,n,r);if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("string"==typeof t)return new o(t,n);if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer){var i=n;if(1===arguments.length)return new o(t);void 0===i&&(i=0);var a=r;if(void 0===a&&(a=t.byteLength-i),i>=t.byteLength)throw new RangeError("'offset' is out of bounds");if(a>t.byteLength-i)throw new RangeError("'length' is out of bounds");return new o(t.slice(i,i+a))}if(o.isBuffer(t)){var s=new o(t.length);return t.copy(s,0,0,t.length),s}if(t){if(Array.isArray(t)||"undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return new o(t);if("Buffer"===t.type&&Array.isArray(t.data))return new o(t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")},t.allocUnsafeSlow=function(e){if("function"==typeof o.allocUnsafeSlow)return o.allocUnsafeSlow(e);if("number"!=typeof e)throw new TypeError("size must be a number");if(e>=a)throw new RangeError("size is too large");return new i(e)}}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/buffer/index.js":function(e,t,n){"use strict";(function(e){function r(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function o(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(o()=o())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o().toString(16)+" bytes");return 0|e}function g(e){return+e!=e&&(e=0),a.alloc(+e)}function y(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return V(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Y(e).length;default:if(r)return V(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return D(this,t,n);case"base64":return T(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function b(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function _(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:A(e,t,n,r,o);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):A(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function A(e,t,n,r,o){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}var u;if(o){var c=-1;for(u=n;us&&(n=s-l),u=n;u>=0;u--){for(var d=!0,p=0;po&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a239?4:i>223?3:i>191?2:1;if(o+s<=n){var l,u,c,d;switch(s){case 1:i<128&&(a=i);break;case 2:l=e[o+1],128==(192&l)&&(d=(31&i)<<6|63&l)>127&&(a=d);break;case 3:l=e[o+1],u=e[o+2],128==(192&l)&&128==(192&u)&&(d=(15&i)<<12|(63&l)<<6|63&u)>2047&&(d<55296||d>57343)&&(a=d);break;case 4:l=e[o+1],u=e[o+2],c=e[o+3],128==(192&l)&&128==(192&u)&&128==(192&c)&&(d=(15&i)<<18|(63&l)<<12|(63&u)<<6|63&c)>65535&&d<1114112&&(a=d)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),o+=s}return P(r)}function P(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,o,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function F(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function B(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(e,t,n,r,o){return o||B(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,n,r,23,4),n+4}function H(e,t,n,r,o){return o||B(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,n,r,52,8),n+8}function U(e){if(e=W(e).replace(te,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function W(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function V(e,t){t=t||1/0;for(var n,r=e.length,o=null,i=[],a=0;a55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){for(var t=[],n=0;n>8,o=n%256,i.push(o),i.push(r);return i}function Y(e){return Z.toByteArray(U(e))}function Q(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function X(e){return e!==e}var Z=n("./node_modules/base64-js/index.js"),J=n("./node_modules/ieee754/index.js"),$=n("./node_modules/isarray/index.js");t.Buffer=a,t.SlowBuffer=g,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:r(),t.kMaxLength=o(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return u(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},a.prototype.compare=function(e,t,n,r,o){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,s=n-t,l=Math.min(i,s),u=this.slice(r,o),c=e.slice(t,n),d=0;do)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return j(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return E(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t0&&(o*=256);)r+=this[e+--t]*o;return r},a.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=this[e],o=1,i=0;++i=o&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),J.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),J.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),J.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),J.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t|=0,n|=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);L(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);L(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):F(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):F(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return z(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return z(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return H(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return H(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},s.rgb.lab=function(e){var t,n,r,o=s.rgb.xyz(e),i=o[0],a=o[1],l=o[2];return i/=95.047,a/=100,l/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,t=116*a-16,n=500*(i-a),r=200*(a-l),[t,n,r]},s.hsl.rgb=function(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return i=255*l,[i,i,i];n=l<.5?l*(1+s):l+s-l*s,t=2*l-n,o=[0,0,0];for(var u=0;u<3;u++)r=a+1/3*-(u-1),r<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[u]=255*i;return o},s.hsl.hsv=function(e){var t,n,r=e[0],o=e[1]/100,i=e[2]/100,a=o,s=Math.max(i,.01);return i*=2,o*=i<=1?i:2-i,a*=s<=1?s:2-s,n=(i+o)/2,t=0===i?2*a/(s+a):2*o/(i+o),[r,100*t,100*n]},s.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},s.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-i)*a,t=(2-i)*s,n=i*s,n/=t<=1?t:2-t,n=n||0,r/=2,[o,100*n,100*r]},s.hwb.rgb=function(e){var t,n,r,o,i=e[0]/360,a=e[1]/100,s=e[2]/100,l=a+s;l>1&&(a/=l,s/=l),t=Math.floor(6*i),n=1-s,r=6*i-t,0!=(1&t)&&(r=1-r),o=a+r*(n-a);var u,c,d;switch(t){default:case 6:case 0:u=n,c=o,d=a;break;case 1:u=o,c=n,d=a;break;case 2:u=a,c=n,d=o;break;case 3:u=a,c=o,d=n;break;case 4:u=o,c=a,d=n;break;case 5:u=n,c=a,d=o}return[255*u,255*c,255*d]},s.cmyk.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100,s=e[3]/100;return t=1-Math.min(1,o*(1-s)+s),n=1-Math.min(1,i*(1-s)+s),r=1-Math.min(1,a*(1-s)+s),[255*t,255*n,255*r]},s.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return t=3.2406*o+i*-1.5372+a*-.4986,n=o*-.9689+1.8758*i+.0415*a,r=.0557*o+i*-.204+1.057*a,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]},s.xyz.lab=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];return o/=95.047,i/=100,a/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,t=116*i-16,n=500*(o-i),r=200*(i-a),[t,n,r]},s.lab.xyz=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];n=(o+16)/116,t=i/500+n,r=n-a/200;var s=Math.pow(n,3),l=Math.pow(t,3),u=Math.pow(r,3);return n=s>.008856?s:(n-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,r=u>.008856?u:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},s.lab.lch=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];return t=Math.atan2(a,i),n=360*t/2/Math.PI,n<0&&(n+=360),r=Math.sqrt(i*i+a*a),[o,r,n]},s.lch.lab=function(e){var t,n,r,o=e[0],i=e[1],a=e[2];return r=a/360*2*Math.PI,t=i*Math.cos(r),n=i*Math.sin(r),[o,t,n]},s.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],o=1 in arguments?arguments[1]:s.rgb.hsv(e)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===o&&(i+=60),i},s.hsv.ansi16=function(e){return s.rgb.ansi16(s.hsv.rgb(e),e[2])},s.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},s.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}e-=16;var n;return[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},s.rgb.hex=function(e){var t=((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2])),n=t.toString(16).toUpperCase();return"000000".substring(n.length)+n},s.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.max(Math.max(r,o),i),s=Math.min(Math.min(r,o),i),l=a-s;return t=l<1?s/(1-l):0,n=l<=0?0:a===r?(o-i)/l%6:a===o?2+(i-r)/l:4+(r-o)/l+4,n/=6,n%=1,[360*n,100*l,100*t]},s.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return r=n<.5?2*t*n:2*t*(1-n),r<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},s.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},s.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],i=t%1*6,a=i%1,s=1-a,l=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-n)*r,[255*(n*o[0]+l),255*(n*o[1]+l),255*(n*o[2]+l)]},s.hcg.hsv=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t),o=0;return r>0&&(o=t/r),[e[0],100*o,100*r]},s.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100,r=n*(1-t)+.5*t,o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],100*o,100*r]},s.hcg.hwb=function(e){var t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],100*(r-t),100*(1-r)]},s.hwb.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1-n,o=r-t,i=0;return o<1&&(i=(r-o)/(1-o)),[e[0],100*o,100*i]},s.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},s.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},s.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},s.gray.hsl=s.gray.hsv=function(e){return[0,0,e[0]]},s.gray.hwb=function(e){return[0,100,e[0]]},s.gray.cmyk=function(e){return[0,0,0,e[0]]},s.gray.lab=function(e){return[e[0],0,0]},s.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=(t<<16)+(t<<8)+t,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r},s.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},"./node_modules/color-convert/index.js":function(e,t,n){function r(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function o(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},u.to.keyword=function(e){return s[e.slice(0,3)]}},"./node_modules/color/index.js":function(e,t,n){"use strict";function r(e,t){if(!(this instanceof r))return new r(e,t);if(t&&t in f&&(t=null),t&&!(t in d))throw new Error("Unknown model: "+t);var n,o;if(e)if(e instanceof r)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var i=c.get(e);if(null===i)throw new Error("Unable to parse color from string: "+e);this.model=i.model,o=d[this.model].channels,this.color=i.value.slice(0,o),this.valpha="number"==typeof i.value[o]?i.value[o]:1}else if(e.length){this.model=t||"rgb",o=d[this.model].channels;var a=p.call(e,0,o);this.color=u(a,o),this.valpha="number"==typeof e[o]?e[o]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var s=Object.keys(e);"alpha"in e&&(s.splice(s.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var l=s.sort().join("");if(!(l in h))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=h[l];var g=d[this.model].labels,y=[];for(n=0;nn?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return r.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix:function(e,t){var n=this.rgb(),o=e.rgb(),i=void 0===t?.5:t,a=2*i-1,s=n.alpha()-o.alpha(),l=((a*s==-1?a:(a+s)/(1+a*s))+1)/2,u=1-l;return r.rgb(l*n.red()+u*o.red(),l*n.green()+u*o.green(),l*n.blue()+u*o.blue(),n.alpha()*i+o.alpha()*(1-i))}},Object.keys(d).forEach(function(e){if(f.indexOf(e)===-1){var t=d[e].channels;r.prototype[e]=function(){if(this.model===e)return new r(this);if(arguments.length)return new r(arguments,e);var n="number"==typeof arguments[t]?t:this.valpha;return new r(l(d[this.model][e].raw(this.color)).concat(n),e)},r[e]=function(n){return"number"==typeof n&&(n=u(p.call(arguments),t)),new r(n,e)}}}),e.exports=r},"./node_modules/component-classes/index.js":function(e,t,n){function r(e){if(!e||!e.nodeType)throw new Error("A DOM element reference is required");this.el=e,this.list=e.classList}try{var o=n("./node_modules/component-indexof/index.js")}catch(e){var o=n("./node_modules/component-indexof/index.js")}var i=/\s+/,a=Object.prototype.toString;e.exports=function(e){return new r(e)},r.prototype.add=function(e){if(this.list)return this.list.add(e),this;var t=this.array();return~o(t,e)||t.push(e),this.el.className=t.join(" "),this},r.prototype.remove=function(e){if("[object RegExp]"==a.call(e))return this.removeMatching(e);if(this.list)return this.list.remove(e),this;var t=this.array(),n=o(t,e);return~n&&t.splice(n,1),this.el.className=t.join(" "),this},r.prototype.removeMatching=function(e){for(var t=this.array(),n=0;nc;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},"./node_modules/core-js/library/modules/_classof.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_cof.js"),o=n("./node_modules/core-js/library/modules/_wks.js")("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},"./node_modules/core-js/library/modules/_cof.js":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"./node_modules/core-js/library/modules/_core.js":function(e,t){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},"./node_modules/core-js/library/modules/_create-property.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_object-dp.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js");e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},"./node_modules/core-js/library/modules/_ctx.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_a-function.js");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},"./node_modules/core-js/library/modules/_defined.js":function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},"./node_modules/core-js/library/modules/_descriptors.js":function(e,t,n){e.exports=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_dom-create.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_is-object.js"),o=n("./node_modules/core-js/library/modules/_global.js").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"./node_modules/core-js/library/modules/_enum-bug-keys.js":function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"./node_modules/core-js/library/modules/_enum-keys.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-keys.js"),o=n("./node_modules/core-js/library/modules/_object-gops.js"),i=n("./node_modules/core-js/library/modules/_object-pie.js");e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},"./node_modules/core-js/library/modules/_export.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_global.js"),o=n("./node_modules/core-js/library/modules/_core.js"),i=n("./node_modules/core-js/library/modules/_ctx.js"),a=n("./node_modules/core-js/library/modules/_hide.js"),s="prototype",l=function(e,t,n){var u,c,d,p=e&l.F,f=e&l.G,h=e&l.S,m=e&l.P,g=e&l.B,y=e&l.W,v=f?o:o[t]||(o[t]={}),b=v[s],_=f?r:h?r[t]:(r[t]||{})[s];f&&(n=t);for(u in n)(c=!p&&_&&void 0!==_[u])&&u in v||(d=c?_[u]:n[u],v[u]=f&&"function"!=typeof _[u]?n[u]:g&&c?i(d,r):y&&_[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[s]=e[s],t}(d):m&&"function"==typeof d?i(Function.call,d):d,m&&((v.virtual||(v.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"./node_modules/core-js/library/modules/_fails.js":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"./node_modules/core-js/library/modules/_global.js":function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"./node_modules/core-js/library/modules/_has.js":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"./node_modules/core-js/library/modules/_hide.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-dp.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js");e.exports=n("./node_modules/core-js/library/modules/_descriptors.js")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},"./node_modules/core-js/library/modules/_html.js":function(e,t,n){e.exports=n("./node_modules/core-js/library/modules/_global.js").document&&document.documentElement},"./node_modules/core-js/library/modules/_ie8-dom-define.js":function(e,t,n){e.exports=!n("./node_modules/core-js/library/modules/_descriptors.js")&&!n("./node_modules/core-js/library/modules/_fails.js")(function(){return 7!=Object.defineProperty(n("./node_modules/core-js/library/modules/_dom-create.js")("div"),"a",{get:function(){return 7}}).a})},"./node_modules/core-js/library/modules/_iobject.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_cof.js");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},"./node_modules/core-js/library/modules/_is-array-iter.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_iterators.js"),o=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},"./node_modules/core-js/library/modules/_is-array.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_cof.js");e.exports=Array.isArray||function(e){return"Array"==r(e)}},"./node_modules/core-js/library/modules/_is-object.js":function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},"./node_modules/core-js/library/modules/_iter-call.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_an-object.js");e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},"./node_modules/core-js/library/modules/_iter-create.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_object-create.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js"),i=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),a={};n("./node_modules/core-js/library/modules/_hide.js")(a,n("./node_modules/core-js/library/modules/_wks.js")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},"./node_modules/core-js/library/modules/_iter-define.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_library.js"),o=n("./node_modules/core-js/library/modules/_export.js"),i=n("./node_modules/core-js/library/modules/_redefine.js"),a=n("./node_modules/core-js/library/modules/_hide.js"),s=n("./node_modules/core-js/library/modules/_has.js"),l=n("./node_modules/core-js/library/modules/_iterators.js"),u=n("./node_modules/core-js/library/modules/_iter-create.js"),c=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),d=n("./node_modules/core-js/library/modules/_object-gpo.js"),p=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),f=!([].keys&&"next"in[].keys()),h="keys",m="values",g=function(){return this};e.exports=function(e,t,n,y,v,b,_){u(n,t,y);var A,x,j,w=function(e){if(!f&&e in T)return T[e];switch(e){case h:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},C=t+" Iterator",E=v==m,k=!1,T=e.prototype,S=T[p]||T["@@iterator"]||v&&T[v],P=S||w(v),M=v?E?w("entries"):P:void 0,D="Array"==t?T.entries||S:S;if(D&&(j=d(D.call(new e)))!==Object.prototype&&(c(j,C,!0),r||s(j,p)||a(j,p,g)),E&&S&&S.name!==m&&(k=!0,P=function(){return S.call(this)}),r&&!_||!f&&!k&&T[p]||a(T,p,P),l[t]=P,l[C]=g,v)if(A={values:E?P:w(m),keys:b?P:w(h),entries:M},_)for(x in A)x in T||i(T,x,A[x]);else o(o.P+o.F*(f||k),t,A);return A}},"./node_modules/core-js/library/modules/_iter-detect.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},"./node_modules/core-js/library/modules/_iter-step.js":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},"./node_modules/core-js/library/modules/_iterators.js":function(e,t){e.exports={}},"./node_modules/core-js/library/modules/_keyof.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-keys.js"),o=n("./node_modules/core-js/library/modules/_to-iobject.js");e.exports=function(e,t){for(var n,i=o(e),a=r(i),s=a.length,l=0;s>l;)if(i[n=a[l++]]===t)return n}},"./node_modules/core-js/library/modules/_library.js":function(e,t){e.exports=!0},"./node_modules/core-js/library/modules/_meta.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_uid.js")("meta"),o=n("./node_modules/core-js/library/modules/_is-object.js"),i=n("./node_modules/core-js/library/modules/_has.js"),a=n("./node_modules/core-js/library/modules/_object-dp.js").f,s=0,l=Object.isExtensible||function(){return!0},u=!n("./node_modules/core-js/library/modules/_fails.js")(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},p=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return u&&h.NEED&&l(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:f}},"./node_modules/core-js/library/modules/_object-assign.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_object-keys.js"),o=n("./node_modules/core-js/library/modules/_object-gops.js"),i=n("./node_modules/core-js/library/modules/_object-pie.js"),a=n("./node_modules/core-js/library/modules/_to-object.js"),s=n("./node_modules/core-js/library/modules/_iobject.js"),l=Object.assign;e.exports=!l||n("./node_modules/core-js/library/modules/_fails.js")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=o.f,d=i.f;l>u;)for(var p,f=s(arguments[u++]),h=c?r(f).concat(c(f)):r(f),m=h.length,g=0;m>g;)d.call(f,p=h[g++])&&(n[p]=f[p]);return n}:l},"./node_modules/core-js/library/modules/_object-create.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_an-object.js"),o=n("./node_modules/core-js/library/modules/_object-dps.js"),i=n("./node_modules/core-js/library/modules/_enum-bug-keys.js"),a=n("./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),s=function(){},l="prototype",u=function(){var e,t=n("./node_modules/core-js/library/modules/_dom-create.js")("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n("./node_modules/core-js/library/modules/_html.js").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),u=e.F;r--;)delete u[l][i[r]];return u()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[a]=e):n=u(),void 0===t?n:o(n,t)}},"./node_modules/core-js/library/modules/_object-dp.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_an-object.js"),o=n("./node_modules/core-js/library/modules/_ie8-dom-define.js"),i=n("./node_modules/core-js/library/modules/_to-primitive.js"),a=Object.defineProperty;t.f=n("./node_modules/core-js/library/modules/_descriptors.js")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"./node_modules/core-js/library/modules/_object-dps.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-dp.js"),o=n("./node_modules/core-js/library/modules/_an-object.js"),i=n("./node_modules/core-js/library/modules/_object-keys.js");e.exports=n("./node_modules/core-js/library/modules/_descriptors.js")?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},"./node_modules/core-js/library/modules/_object-gopd.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-pie.js"),o=n("./node_modules/core-js/library/modules/_property-desc.js"),i=n("./node_modules/core-js/library/modules/_to-iobject.js"),a=n("./node_modules/core-js/library/modules/_to-primitive.js"),s=n("./node_modules/core-js/library/modules/_has.js"),l=n("./node_modules/core-js/library/modules/_ie8-dom-define.js"),u=Object.getOwnPropertyDescriptor;t.f=n("./node_modules/core-js/library/modules/_descriptors.js")?u:function(e,t){if(e=i(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},"./node_modules/core-js/library/modules/_object-gopn-ext.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-iobject.js"),o=n("./node_modules/core-js/library/modules/_object-gopn.js").f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},"./node_modules/core-js/library/modules/_object-gopn.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-keys-internal.js"),o=n("./node_modules/core-js/library/modules/_enum-bug-keys.js").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},"./node_modules/core-js/library/modules/_object-gops.js":function(e,t){t.f=Object.getOwnPropertySymbols},"./node_modules/core-js/library/modules/_object-gpo.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_has.js"),o=n("./node_modules/core-js/library/modules/_to-object.js"),i=n("./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"./node_modules/core-js/library/modules/_object-keys-internal.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_has.js"),o=n("./node_modules/core-js/library/modules/_to-iobject.js"),i=n("./node_modules/core-js/library/modules/_array-includes.js")(!1),a=n("./node_modules/core-js/library/modules/_shared-key.js")("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},"./node_modules/core-js/library/modules/_object-keys.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-keys-internal.js"),o=n("./node_modules/core-js/library/modules/_enum-bug-keys.js");e.exports=Object.keys||function(e){return r(e,o)}},"./node_modules/core-js/library/modules/_object-pie.js":function(e,t){t.f={}.propertyIsEnumerable},"./node_modules/core-js/library/modules/_object-sap.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_export.js"),o=n("./node_modules/core-js/library/modules/_core.js"),i=n("./node_modules/core-js/library/modules/_fails.js");e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},"./node_modules/core-js/library/modules/_property-desc.js":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"./node_modules/core-js/library/modules/_redefine.js":function(e,t,n){e.exports=n("./node_modules/core-js/library/modules/_hide.js")},"./node_modules/core-js/library/modules/_set-proto.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_is-object.js"),o=n("./node_modules/core-js/library/modules/_an-object.js"),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n("./node_modules/core-js/library/modules/_ctx.js")(Function.call,n("./node_modules/core-js/library/modules/_object-gopd.js").f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},"./node_modules/core-js/library/modules/_set-to-string-tag.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_object-dp.js").f,o=n("./node_modules/core-js/library/modules/_has.js"),i=n("./node_modules/core-js/library/modules/_wks.js")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},"./node_modules/core-js/library/modules/_shared-key.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_shared.js")("keys"),o=n("./node_modules/core-js/library/modules/_uid.js");e.exports=function(e){return r[e]||(r[e]=o(e))}},"./node_modules/core-js/library/modules/_shared.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_global.js"),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},"./node_modules/core-js/library/modules/_string-at.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-integer.js"),o=n("./node_modules/core-js/library/modules/_defined.js");e.exports=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}}},"./node_modules/core-js/library/modules/_to-index.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-integer.js"),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},"./node_modules/core-js/library/modules/_to-integer.js":function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},"./node_modules/core-js/library/modules/_to-iobject.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_iobject.js"),o=n("./node_modules/core-js/library/modules/_defined.js");e.exports=function(e){return r(o(e))}},"./node_modules/core-js/library/modules/_to-length.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-integer.js"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},"./node_modules/core-js/library/modules/_to-object.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_defined.js");e.exports=function(e){return Object(r(e))}},"./node_modules/core-js/library/modules/_to-primitive.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_is-object.js");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/library/modules/_uid.js":function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},"./node_modules/core-js/library/modules/_wks-define.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_global.js"),o=n("./node_modules/core-js/library/modules/_core.js"),i=n("./node_modules/core-js/library/modules/_library.js"),a=n("./node_modules/core-js/library/modules/_wks-ext.js"),s=n("./node_modules/core-js/library/modules/_object-dp.js").f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"./node_modules/core-js/library/modules/_wks-ext.js":function(e,t,n){t.f=n("./node_modules/core-js/library/modules/_wks.js")},"./node_modules/core-js/library/modules/_wks.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_shared.js")("wks"),o=n("./node_modules/core-js/library/modules/_uid.js"),i=n("./node_modules/core-js/library/modules/_global.js").Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},"./node_modules/core-js/library/modules/core.get-iterator-method.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_classof.js"),o=n("./node_modules/core-js/library/modules/_wks.js")("iterator"),i=n("./node_modules/core-js/library/modules/_iterators.js");e.exports=n("./node_modules/core-js/library/modules/_core.js").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},"./node_modules/core-js/library/modules/es6.array.from.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_ctx.js"),o=n("./node_modules/core-js/library/modules/_export.js"),i=n("./node_modules/core-js/library/modules/_to-object.js"),a=n("./node_modules/core-js/library/modules/_iter-call.js"),s=n("./node_modules/core-js/library/modules/_is-array-iter.js"),l=n("./node_modules/core-js/library/modules/_to-length.js"),u=n("./node_modules/core-js/library/modules/_create-property.js"),c=n("./node_modules/core-js/library/modules/core.get-iterator-method.js");o(o.S+o.F*!n("./node_modules/core-js/library/modules/_iter-detect.js")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,p=i(e),f="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,y=0,v=c(p);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==v||f==Array&&s(v))for(t=l(p.length),n=new f(t);t>y;y++)u(n,y,g?m(p[y],y):p[y]);else for(d=v.call(p),n=new f;!(o=d.next()).done;y++)u(n,y,g?a(d,m,[o.value,y],!0):o.value);return n.length=y,n}})},"./node_modules/core-js/library/modules/es6.array.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_add-to-unscopables.js"),o=n("./node_modules/core-js/library/modules/_iter-step.js"),i=n("./node_modules/core-js/library/modules/_iterators.js"),a=n("./node_modules/core-js/library/modules/_to-iobject.js");e.exports=n("./node_modules/core-js/library/modules/_iter-define.js")(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},"./node_modules/core-js/library/modules/es6.object.assign.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_export.js");r(r.S+r.F,"Object",{assign:n("./node_modules/core-js/library/modules/_object-assign.js")})},"./node_modules/core-js/library/modules/es6.object.create.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_export.js");r(r.S,"Object",{create:n("./node_modules/core-js/library/modules/_object-create.js")})},"./node_modules/core-js/library/modules/es6.object.define-property.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_export.js");r(r.S+r.F*!n("./node_modules/core-js/library/modules/_descriptors.js"),"Object",{defineProperty:n("./node_modules/core-js/library/modules/_object-dp.js").f})},"./node_modules/core-js/library/modules/es6.object.get-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-object.js"),o=n("./node_modules/core-js/library/modules/_object-gpo.js");n("./node_modules/core-js/library/modules/_object-sap.js")("getPrototypeOf",function(){return function(e){return o(r(e))}})},"./node_modules/core-js/library/modules/es6.object.keys.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_to-object.js"),o=n("./node_modules/core-js/library/modules/_object-keys.js");n("./node_modules/core-js/library/modules/_object-sap.js")("keys",function(){return function(e){return o(r(e))}})},"./node_modules/core-js/library/modules/es6.object.set-prototype-of.js":function(e,t,n){var r=n("./node_modules/core-js/library/modules/_export.js");r(r.S,"Object",{setPrototypeOf:n("./node_modules/core-js/library/modules/_set-proto.js").set})},"./node_modules/core-js/library/modules/es6.object.to-string.js":function(e,t){},"./node_modules/core-js/library/modules/es6.string.iterator.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_string-at.js")(!0);n("./node_modules/core-js/library/modules/_iter-define.js")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},"./node_modules/core-js/library/modules/es6.symbol.js":function(e,t,n){"use strict";var r=n("./node_modules/core-js/library/modules/_global.js"),o=n("./node_modules/core-js/library/modules/_has.js"),i=n("./node_modules/core-js/library/modules/_descriptors.js"),a=n("./node_modules/core-js/library/modules/_export.js"),s=n("./node_modules/core-js/library/modules/_redefine.js"),l=n("./node_modules/core-js/library/modules/_meta.js").KEY,u=n("./node_modules/core-js/library/modules/_fails.js"),c=n("./node_modules/core-js/library/modules/_shared.js"),d=n("./node_modules/core-js/library/modules/_set-to-string-tag.js"),p=n("./node_modules/core-js/library/modules/_uid.js"),f=n("./node_modules/core-js/library/modules/_wks.js"),h=n("./node_modules/core-js/library/modules/_wks-ext.js"),m=n("./node_modules/core-js/library/modules/_wks-define.js"),g=n("./node_modules/core-js/library/modules/_keyof.js"),y=n("./node_modules/core-js/library/modules/_enum-keys.js"),v=n("./node_modules/core-js/library/modules/_is-array.js"),b=n("./node_modules/core-js/library/modules/_an-object.js"),_=n("./node_modules/core-js/library/modules/_to-iobject.js"),A=n("./node_modules/core-js/library/modules/_to-primitive.js"),x=n("./node_modules/core-js/library/modules/_property-desc.js"),j=n("./node_modules/core-js/library/modules/_object-create.js"),w=n("./node_modules/core-js/library/modules/_object-gopn-ext.js"),C=n("./node_modules/core-js/library/modules/_object-gopd.js"),E=n("./node_modules/core-js/library/modules/_object-dp.js"),k=n("./node_modules/core-js/library/modules/_object-keys.js"),T=C.f,S=E.f,P=w.f,M=r.Symbol,D=r.JSON,O=D&&D.stringify,I="prototype",R=f("_hidden"),L=f("toPrimitive"),F={}.propertyIsEnumerable,N=c("symbol-registry"),B=c("symbols"),z=c("op-symbols"),H=Object[I],U="function"==typeof M,W=r.QObject,q=!W||!W[I]||!W[I].findChild,V=i&&u(function(){return 7!=j(S({},"a",{get:function(){return S(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=T(H,t);r&&delete H[t],S(e,t,n),r&&e!==H&&S(H,t,r)}:S,G=function(e){var t=B[e]=j(M[I]);return t._k=e,t},K=U&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},Y=function(e,t,n){return e===H&&Y(z,t,n),b(e),t=A(t,!0),b(n),o(B,t)?(n.enumerable?(o(e,R)&&e[R][t]&&(e[R][t]=!1),n=j(n,{enumerable:x(0,!1)})):(o(e,R)||S(e,R,x(1,{})),e[R][t]=!0),V(e,t,n)):S(e,t,n)},Q=function(e,t){b(e);for(var n,r=y(t=_(t)),o=0,i=r.length;i>o;)Y(e,n=r[o++],t[n]);return e},X=function(e,t){return void 0===t?j(e):Q(j(e),t)},Z=function(e){var t=F.call(this,e=A(e,!0));return!(this===H&&o(B,e)&&!o(z,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,R)&&this[R][e])||t)},J=function(e,t){if(e=_(e),t=A(t,!0),e!==H||!o(B,t)||o(z,t)){var n=T(e,t);return!n||!o(B,t)||o(e,R)&&e[R][t]||(n.enumerable=!0),n}},$=function(e){for(var t,n=P(_(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==R||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===H,r=P(n?z:_(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(H,t)||i.push(B[t]);return i};U||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===H&&t.call(z,n),o(this,R)&&o(this[R],e)&&(this[R][e]=!1),V(this,e,x(1,n))};return i&&q&&V(H,e,{configurable:!0,set:t}),G(e)},s(M[I],"toString",function(){return this._k}),C.f=J,E.f=Y,n("./node_modules/core-js/library/modules/_object-gopn.js").f=w.f=$,n("./node_modules/core-js/library/modules/_object-pie.js").f=Z,n("./node_modules/core-js/library/modules/_object-gops.js").f=ee,i&&!n("./node_modules/core-js/library/modules/_library.js")&&s(H,"propertyIsEnumerable",Z,!0),h.f=function(e){return G(f(e))}),a(a.G+a.W+a.F*!U,{Symbol:M});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)f(te[ne++]);for(var te=k(f.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!U,"Symbol",{for:function(e){return o(N,e+="")?N[e]:N[e]=M(e)},keyFor:function(e){if(K(e))return g(N,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a(a.S+a.F*!U,"Object",{create:X,defineProperty:Y,defineProperties:Q,getOwnPropertyDescriptor:J,getOwnPropertyNames:$,getOwnPropertySymbols:ee}),D&&a(a.S+a.F*(!U||u(function(){var e=M();return"[null]"!=O([e])||"{}"!=O({a:e})||"{}"!=O(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!K(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&v(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,O.apply(D,r)}}}),M[I][L]||n("./node_modules/core-js/library/modules/_hide.js")(M[I],L,M[I].valueOf),d(M,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js":function(e,t,n){n("./node_modules/core-js/library/modules/_wks-define.js")("asyncIterator")},"./node_modules/core-js/library/modules/es7.symbol.observable.js":function(e,t,n){n("./node_modules/core-js/library/modules/_wks-define.js")("observable")},"./node_modules/core-js/library/modules/web.dom.iterable.js":function(e,t,n){n("./node_modules/core-js/library/modules/es6.array.iterator.js");for(var r=n("./node_modules/core-js/library/modules/_global.js"),o=n("./node_modules/core-js/library/modules/_hide.js"),i=n("./node_modules/core-js/library/modules/_iterators.js"),a=n("./node_modules/core-js/library/modules/_wks.js")("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[a]&&o(d,a,u),i[u]=i.Array}},"./node_modules/core-util-is/lib/util.js":function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):"[object Array]"===g(e)}function r(e){return"boolean"==typeof e}function o(e){return null===e}function i(e){return null==e}function a(e){return"number"==typeof e}function s(e){return"string"==typeof e}function l(e){return"symbol"==typeof e}function u(e){return void 0===e}function c(e){return"[object RegExp]"===g(e)}function d(e){return"object"==typeof e&&null!==e}function p(e){return"[object Date]"===g(e)}function f(e){return"[object Error]"===g(e)||e instanceof Error}function h(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=o,t.isNullOrUndefined=i,t.isNumber=a,t.isString=s,t.isSymbol=l,t.isUndefined=u,t.isRegExp=c,t.isObject=d,t.isDate=p,t.isError=f,t.isFunction=h,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(t,n("./node_modules/buffer/index.js").Buffer)},"./node_modules/css-animation/lib/Event.js":function(e,t,n){"use strict";function r(){var e=document.createElement("div"),t=e.style;"AnimationEvent"in window||delete a.animationend.animation,"TransitionEvent"in window||delete a.transitionend.transition;for(var n in a)if(a.hasOwnProperty(n)){var r=a[n];for(var o in r)if(o in t){s.push(r[o]);break}}}function o(e,t,n){e.addEventListener(t,n,!1)}function i(e,t,n){e.removeEventListener(t,n,!1)}Object.defineProperty(t,"__esModule",{value:!0});var a={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},s=[];"undefined"!=typeof window&&"undefined"!=typeof document&&r();var l={addEndEventListener:function(e,t){if(0===s.length)return void window.setTimeout(t,0);s.forEach(function(n){o(e,n,t)})},endEvents:s,removeEndEventListener:function(e,t){0!==s.length&&s.forEach(function(n){i(e,n,t)})}};t.default=l,e.exports=t.default},"./node_modules/css-animation/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=window.getComputedStyle(e,null),r="",o=0;o.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}.fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}.fixedDataTableCellLayout_main{border-right-style:solid;border-right-width:1px;border-width:0 1px 0 0;box-sizing:border-box;display:block;overflow:hidden;position:absolute;white-space:normal}.fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}.fixedDataTableCellLayout_alignRight{text-align:right}.fixedDataTableCellLayout_alignCenter{text-align:center}.fixedDataTableCellLayout_wrap1{display:table}.fixedDataTableCellLayout_wrap2{display:table-row}.fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}.fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}.fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize}.fixedDataTableCellLayout_columnResizerContainer:hover .fixedDataTableCellLayout_columnResizerKnob{visibility:visible}.fixedDataTableCellLayout_columnResizerKnob{position:absolute;right:0;visibility:hidden;width:4px}.fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}.fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:10}.fixedDataTableColumnResizerLineLayout_hiddenElem,body[dir=rtl] .fixedDataTableColumnResizerLineLayout_main{display:none!important}.fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}.fixedDataTableLayout_hasBottomBorder,.fixedDataTableLayout_header{border-bottom-style:solid;border-bottom-width:1px}.fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}.fixedDataTableLayout_bottomShadow,.fixedDataTableLayout_topShadow{height:4px;left:0;position:absolute;right:0;z-index:1}.fixedDataTableLayout_bottomShadow{margin-top:-4px}.fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}.fixedDataTableLayout_horizontalScrollbar{bottom:0;position:absolute}.fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}.fixedDataTableRowLayout_body{left:0;position:absolute;top:0}.fixedDataTableRowLayout_fixedColumnsDivider{-webkit-backface-visibility:hidden;backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}.fixedDataTableRowLayout_columnsShadow{width:4px}.fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}.ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;transition-duration:.25s;transition-timing-function:ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;transition-property:background-color width;width:15px}.ScrollbarLayout_mainVertical.public_Scrollbar_mainActive,.ScrollbarLayout_mainVertical:hover{width:17px}.ScrollbarLayout_mainHorizontal{bottom:0;height:15px;left:0;transition-property:background-color height}.ScrollbarLayout_mainHorizontal.public_Scrollbar_mainActive,.ScrollbarLayout_mainHorizontal:hover{height:17px}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1}.ScrollbarLayout_face:after{border-radius:6px;content:"";display:block;position:absolute;transition:background-color .25s ease}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{bottom:4px;left:0;top:4px;width:100%}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;left:4px;right:4px;top:0}.public_fixedDataTable_hasBottomBorder,.public_fixedDataTable_header,.public_fixedDataTable_main{border-color:#d3d3d3}.public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}.public_fixedDataTable_header,.public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}.public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}.public_fixedDataTable_topShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAF0lEQVR4AWPUkNeSBhHCjJoK2twgFisAFagCCp3pJlAAAAAASUVORK5CYII=) repeat-x}.public_fixedDataTable_bottomShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAHElEQVQI12MwNjZmZdAT1+Nm0JDWEGZQk1GTBgAWkwIeAEp52AAAAABJRU5ErkJggg==) repeat-x}.public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal{background-color:#fff}.public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}.public_fixedDataTableCell_highlighted{background-color:#f4f4f4}.public_fixedDataTableCell_cellContent{padding:8px}.public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}.public_fixedDataTableColumnResizerLine_main{border-color:#0284ff}.public_fixedDataTableRow_main{background-color:#fff}.public_fixedDataTableRow_highlighted,.public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}.public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}.public_fixedDataTableRow_columnsShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==) repeat-y}.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main:hover{background-color:hsla(0,0%,100%,.8)}.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover{background-color:#fff}.public_Scrollbar_face:after{background-color:#c2c2c2}.public_Scrollbar_faceActive:after,.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after{background-color:#7d7d7d}',""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/leaflet-loading/src/Control.Loading.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".leaflet-control-loading:empty{background-image:url(data:image/gif;base64,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);background-repeat:no-repeat}.leaflet-control-loading,.leaflet-control-zoom a.leaflet-control-loading,.leaflet-control-zoomslider a.leaflet-control-loading{display:none}.leaflet-control-loading.is-loading,.leaflet-control-zoom a.leaflet-control-loading.is-loading,.leaflet-control-zoomslider a.leaflet-control-loading.is-loading{display:block}.leaflet-bar-part-bottom{border-bottom:medium none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/leaflet/dist/leaflet.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform;transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:hsla(0,0%,100%,.5)}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url("+n("./node_modules/leaflet/dist/images/layers.png")+");width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url("+n("./node_modules/leaflet/dist/images/layers-2x.png")+");background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers-expanded .leaflet-control-layers-toggle,.leaflet-control-layers .leaflet-control-layers-list{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url("+n("./node_modules/leaflet/dist/images/marker-icon.png")+')}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;box-sizing:border-box;background:#fff;background:hsla(0,0%,100%,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;border:none;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}',""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/prismjs/themes/prism.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,"code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#a67f59;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/rc-tooltip/assets/bootstrap.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".rc-tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-size:12px;line-height:1.5;opacity:.9}.rc-tooltip-hidden{display:none}.rc-tooltip-placement-top,.rc-tooltip-placement-topLeft,.rc-tooltip-placement-topRight{padding:5px 0 9px}.rc-tooltip-placement-right,.rc-tooltip-placement-rightBottom,.rc-tooltip-placement-rightTop{padding:0 5px 0 9px}.rc-tooltip-placement-bottom,.rc-tooltip-placement-bottomLeft,.rc-tooltip-placement-bottomRight{padding:9px 0 5px}.rc-tooltip-placement-left,.rc-tooltip-placement-leftBottom,.rc-tooltip-placement-leftTop{padding:0 9px 0 5px}.rc-tooltip-inner{padding:8px 10px;color:#fff;text-align:left;text-decoration:none;background-color:#373737;border-radius:6px;box-shadow:0 0 4px rgba(0,0,0,.17);min-height:34px}.rc-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-topLeft .rc-tooltip-arrow,.rc-tooltip-placement-topRight .rc-tooltip-arrow{bottom:4px;margin-left:-5px;border-width:5px 5px 0;border-top-color:#373737}.rc-tooltip-placement-top .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-topLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-topRight .rc-tooltip-arrow{right:15%}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow,.rc-tooltip-placement-rightTop .rc-tooltip-arrow{left:4px;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#373737}.rc-tooltip-placement-right .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-rightTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow,.rc-tooltip-placement-leftTop .rc-tooltip-arrow{right:4px;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#373737}.rc-tooltip-placement-left .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-leftTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{top:4px;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#373737}.rc-tooltip-placement-bottom .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{right:15%}.rc-tooltip.rc-tooltip-zoom-enter,.rc-tooltip.rc-tooltip-zoom-leave{display:block}.rc-tooltip-zoom-appear,.rc-tooltip-zoom-enter{opacity:0;animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.18,.89,.32,1.28);animation-play-state:paused}.rc-tooltip-zoom-leave{animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.6,-.3,.74,.05);animation-play-state:paused}.rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active,.rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active{animation-name:rcToolTipZoomIn;animation-play-state:running}.rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1)}to{opacity:0;transform-origin:50% 50%;transform:scale(0)}}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/react-resizable/css/styles.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,'.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}',""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/genomebrowser.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".genome-browser{height:100%;width:100%;position:absolute;overflow:hidden;top:0;left:0}.genome-browser .control-bar{line-height:30px}.genome-browser .control-bar .loading-canvas{transition:opacity .5s ease-in-out}.genome-browser .control-bar .loading-canvas.loading{opacity:1}.genome-browser .control-bar .controls span select{line-height:normal;padding-right:15px}.genome-browser .control-bar .controls span input{width:80px}.genome-browser .control-bar .controls span .wide{width:200px}.genome-browser .control-bar .controls span.block{display:inline-block;white-space:nowrap}.genome-browser .control-bar .controls>*{padding-left:10px}.genome-browser .control-bar>*{vertical-align:middle;padding-left:10px}.genome-browser .main-area{position:relative;height:calc(100% - 33px)}.genome-browser .main-area .main-area-shadow{position:absolute;height:100%;top:0;box-shadow:inset 0 1px 6px rgba(0,0,0,.12),inset 0 1px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks{position:relative}.genome-browser .main-area .tracks .background{z-index:-1;position:absolute;top:0;left:0}.genome-browser .main-area .tracks .fixed{z-index:1}.genome-browser .main-area .tracks .fixed .channel-container:first-child .channel-stack .channel-data{box-shadow:inset 2px 2px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .fixed .channel-container:last-child{box-shadow:-1px 1px 4px rgba(0,0,0,.24);border-bottom:none}.genome-browser .main-area .tracks .fixed .channel-stack .channel-data{box-shadow:inset 4px 0 4px -2px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .scrolling{overflow-y:scroll}.genome-browser .main-area .tracks .scrolling .channel-container:last-child .channel-side{box-shadow:-1px 2px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .scrolling .channel-stack .channel-data{box-shadow:inset 3px 0 4px -2px rgba(0,0,0,.24)}.config-container{box-shadow:3px 1px 4px rgba(0,0,0,.24)}.legend-container{box-shadow:3px 0 4px rgba(0,0,0,.24)}.channel-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;border-bottom:1px solid #66a2de}.channel-container .legend-element{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.channel-container .channel-side{position:relative;overflow:hidden;background-color:#fff}.channel-container .channel-side .close{color:#d62728;padding-right:6px}.channel-container .channel-side .icon{opacity:.6}.channel-container .channel-side .icon:hover{opacity:1}.channel-container .channel-side .button{width:25px;height:25px;line-height:19px;padding:3px;position:absolute;text-align:center;right:0}.channel-container .channel-side .button .open{color:#3d8bd5}.channel-container .channel-side .config{top:0}.channel-container .channel-side .legend{transition:bottom .5s!important;bottom:0}.channel-container .channel-side .close{top:0;left:0}.channel-container .channel-side .side-component{position:absolute;right:0;left:0;text-overflow:ellipsis;overflow:auto;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.channel-container .channel-stack{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.channel-container .channel-stack .channel-data{overflow:hidden}.channel-container .channel-stack .channel-data .canvas-container{position:relative}.channel-container .channel-stack .channel-data canvas{display:block}.channel-container .channel-stack .tray-container.open{height:inherit}.channel-container .channel-stack .tray-container{position:relative;transition:height .5s!important;background:#fff;height:0;width:100%;overflow:hidden}.channel-container .channel-stack .tray-container .legend{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:16px;padding-top:6px;padding-bottom:6px}.channel-container .channel-stack .tray-container .legend .legend-element{padding-left:16px}.channel-container .channel-stack .tray-container .channel-controls,.channel-container .channel-stack .tray-container .channel-controls .control-group{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.channel-container .channel-stack .tray-container .channel-controls .control-group{padding-left:10px}.channel-container .channel-stack .tray-container .channel-controls .control{min-height:50px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:10px}.channel-container .channel-stack .tray-container .channel-controls .control .label{padding-right:5px}.channel-container .channel-stack .tray-container .channel-controls .control .dropdown{top:-4px}.channel-container .channel-stack .tray-container .channel-controls .control .slider{margin-left:30px;width:100px}.channel-container .channel-stack .tray-container .channel-controls .control .numeric-input{width:80px}.sequence{position:relative}.sequence canvas{position:absolute;transform-origin:top left}.side-name{padding:5px 0 5px 30px;max-width:125px}.genotypes-table{position:relative}.genotypes-table *{position:absolute;top:0;left:0}.genotypes-side{width:100%;height:100%;text-overflow:ellipsis;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.genotypes-side .row-label{padding:10px 35px 5px 10px}.genotypes-side canvas{position:absolute;bottom:0;right:0}.numerical-channel-canvas-holder{position:relative}.numerical-channel-canvas-holder canvas{position:absolute;top:0;left:0}.numerical-channel-canvas-holder .categorical{opacity:.7}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/genotypes.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".genotypes-channel{position:relative}.genotypes-header{position:absolute}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/geo-marker.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".geo-marker{fill:pink;stroke:#000;stroke-width:.7;fill-opacity:.9;stroke-opacity:.9;cursor:pointer}.geo-marker-highlighted{fill:green}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/loading.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".loading-container{position:absolute;overflow:hidden;top:0;left:0;z-index:2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;width:100%;background-color:hsla(0,0%,100%,.6);visibility:hidden;pointer-events:none;opacity:0;transition:visibility 0s linear .5s,opacity .5s linear}.loading-container .load-icon{opacity:.5;height:50%;width:50%;background-size:contain;background-repeat:no-repeat;background-position:50%}.loading-container .spinner{background-image:url("+n("./src/images/spinner.svg")+");animation:spin 2s infinite linear}.loading-container .error{background-image:url("+n("./src/images/error.svg")+")}.loading-container .error-text{font-style:italic;padding-top:15px}.loading-container .custom{opacity:.8;text-align:center;font-style:italic;pointer-events:auto}.loading-container.show{visibility:inherit;opacity:1}.loading-container.hide-content{background-color:#fff}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/main.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".green{background-color:green}.red{background-color:red}.blue{background-color:blue}*,:after,:before{box-sizing:border-box}body{font-family:Roboto,sans-serif;color:#242424;font-size:14px}a{text-decoration:underline;cursor:pointer}.main .page{height:100vh;width:100vw;-ms-flex-direction:column;flex-direction:column}.main .page,.main .page .header{display:-ms-flexbox;display:flex}.main .page .header{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:visible;z-index:1;height:50px;background:#fff}.main .page .header a{color:inherit;text-decoration:inherit}.main .page .header .title{-ms-flex:1;flex:1;margin:25px;font-weight:700;font-size:large}.main .page .header .logo{margin:25px}.main .page .header .username{margin:7px;font-weight:700}.main .page .header .username .logout{padding-left:5px;font-family:sans-serif;text-decoration:underline;font-style:italic;font-weight:100}.main .page .body{-ms-flex:1;flex:1;position:relative}a{color:#3d8bd5}a:visited{color:#66a2de}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/map.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".map-sidebar{width:280px}.map-controls{-ms-flex-align:start;align-items:flex-start}.map-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.map-controls .dropdown-option .icon{color:#757575;padding-right:7px}.map-controls .legend .legend-element{min-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:16px}.map-controls .legend .legend-element .label{padding-left:8px}.map-content{height:calc(100% - 33px)}.dropdown-option .icon{color:#757575;padding-right:7px}.map-custom-control{background-color:#fff;opacity:.7;border-radius:10px}.map-custom-control .legend{padding:5px 10px}.map-custom-control .legend .legend-element{min-height:16px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.map-custom-control .legend .legend-element .label{padding-left:8px}.panoptes-chart-pie-sector{stroke:#000;stroke-width:.5}.panoptes-histogram{overflow:visible;position:absolute}.panoptes-histogram-bg{fill:#fff}.panoptes-histogram-axes{stroke:#000;stroke-width:2px}.panoptes-cluster-bubble{stroke:#000;stroke-width:.5}.panoptes-table-markers-layer-polyline{stroke:#000;fill:none;stroke-width:2}.panoptes-pie-chart-markers-layer-polyline{stroke:#3d8bd5;fill:none;stroke-width:1}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/plot.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".plot,.plot-container{height:100%;width:100%}.plot-container{position:absolute}.plot-sidebar{width:280px}.plot-controls{-ms-flex-align:start;align-items:flex-start}.plot-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dropdown-option .icon,.plot-controls .dropdown-option a .icon{color:#757575;padding-right:7px}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/template.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".item-template{display:inline-block;padding:10px}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/tooltip-ellipsis.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".tooltip-ellipsis{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/tree.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,".tree-sidebar{width:280px}.tree-container{position:absolute}.tree,.tree-container{height:100%;width:100%}.tree{overflow:hidden}.tree canvas{display:block;z-index:inherit!important}.tree-controls{-ms-flex-align:start;align-items:flex-start}.tree-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-controls .dropdown-option .icon{color:#757575;padding-right:7px}.tree-controls .legend .legend-element{min-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:16px}.tree-controls .legend .legend-element .label{padding-left:8px}.dropdown-option .icon{color:#757575;padding-right:7px}",""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/ui-components.scss':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,'.tabbed-area{position:absolute;width:100%;height:100%}.tabbed-area .tab-content{position:relative;width:100%;height:calc(100% - 44px - 4px - 3px)}.tabbed-area .tab-content .tab-pane{display:none;position:absolute;top:0;left:0;overflow:hidden;clear:both;width:100%;height:100%}.tabbed-area .tab-content .tab-pane.active{overflow:auto;display:inherit}.tabbed-area .tabs{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-height:44px;border-bottom:4px solid #3d8bd5;padding-top:3px}.tabbed-area .tabs .tab{font-size:15px;display:-ms-flexbox;display:flex;margin-right:0;margin-left:3px;cursor:pointer;top:1px;overflow:hidden;white-space:nowrap;min-width:100px;max-width:250px;padding-left:10px;padding-right:10px}.tabbed-area .tabs .tab .title{vertical-align:middle;line-height:44px;text-overflow:ellipsis;overflow:hidden}.tabbed-area .tabs .tab.active{top:0;background:#3d8bd5;color:#fff}.tabbed-area .tabs .tab.active .icon .bitmap{filter:invert(100%)}.tabbed-area .tabs .tab.inactive:hover{background:#66a2de;color:#fff}.tabbed-area .tabs .tab.inactive:hover .icon .bitmap{filter:invert(100%)}.tabbed-area .tabs .tab.inactive .action{visibility:hidden}.tabbed-area .tabs .tab.dragging{z-index:9999}.tabbed-area .tabs .icon{line-height:44px;margin-left:5px;margin-right:5px;opacity:.5}.tabbed-area .tabs .icon .bitmap{transform:translateY(3px)}.tabbed-area .tabs .icon.close:hover{opacity:1}.icon{position:relative;vertical-align:middle;font-size:22px}.icon .bitmap{height:22px}.icon:hover{opacity:1}.icon.close{opacity:.3}.icon.close:hover{opacity:1}.icon.inverted-bitmap{filter:invert(100%)}.icon.inverted-bitmap img.bitmap{vertical-align:middle}.popups{position:absolute;top:0;left:0;width:0;height:0}.popup{position:fixed!important;border:1px solid #6e6e6e;box-shadow:0 19px 60px rgba(0,0,0,.3),0 15px 20px rgba(0,0,0,.22);background:#fff;z-index:1002}.popup .popup-drag{position:absolute;height:33px;width:calc(100% - 64px);top:0;left:0;cursor:move;z-index:1003}.popup .popup-header{overflow:hidden;white-space:nowrap;height:33px;cursor:move;font-size:10pt;font-weight:700;color:#fff;background:linear-gradient(90deg,#3d8bd5 0,#3d8bd5);display:-ms-flexbox;display:flex;box-shadow:0 1px 6px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.24);position:relative;z-index:3}.popup .popup-header .icon{line-height:33px;margin-left:5px;margin-right:5px}.popup .popup-header .icon .bitmap{filter:invert(100%);transform:translateY(3px)}.popup .popup-header .title{-ms-flex:1;flex:1;vertical-align:middle;line-height:33px;margin-left:1em;margin-right:1em;text-overflow:ellipsis;overflow:hidden}.popup .popup-body{position:relative;overflow:auto}.modal{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:9997;position:absolute;width:100%;height:100%;top:0;left:0;outline:0;opacity:0;background:rgba(0,0,0,.7);transition:visibility 0s linear .5s,opacity .5s linear}.modal .popup{position:static!important;transition:none;visibility:hidden}.modal .popup .popup-header{cursor:inherit}.modal.visible{opacity:1;transition-delay:0s}.modal.visible,.modal.visible .popup{visibility:visible}.react-resizable{position:relative}.react-resizable-handle{z-index:9999;background-color:hsla(0,0%,100%,.6)}.react-resizable-handle.react-draggable{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize;transform:none!important;-webkit-transform:none!important;-ms-transform:none!important;-o-transform:none!important;-moz-transform:none!important;z-index:99}.status-text{text-align:center;font-style:italic;opacity:.5}.top-bar{background:#3d8bd5;box-shadow:0 1px 6px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.24);position:relative;z-index:2}.top-bar .block{display:inline-block;margin-left:5px;white-space:nowrap}.top-bar .block .icon:first-child{margin-left:0}.top-bar .btn{border:none;background:transparent;color:#fff}.top-bar .text{vertical-align:middle;line-height:33px;color:#fff;margin-left:7px;margin-right:7px}.top-bar .icon{margin-left:5px;margin-right:5px;line-height:33px;color:#fff}.top-bar .disabled{color:#66a2de}.load-container{width:100%;height:100%;position:absolute}.sidebar{width:258px;padding:12px 9px}.sidebar-header{line-height:normal}.sidebar-header .icon-holder{border-radius:9px;border:2px solid #66a2de;padding:5px;margin-right:10px;margin-bottom:10px;float:left;background-color:#e6f4f5}.sidebar-header .icon-holder .icon{font-size:30px;line-height:30px;color:#3d8bd5}.sidebar-header .icon-holder .icon .bitmap{height:30px}.stack{display:-ms-flexbox;display:flex;width:100%;height:100%}.stack div.grow{position:relative;-ms-flex:1;flex:1}.stack.start-align{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.stack.start-align .description{padding:20px 10px 0}.stack.wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.stack.vertical{-ms-flex-direction:column;flex-direction:column}.stack.horizontal{-ms-flex-direction:row;flex-direction:row}.stack.spread{-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around}.pointer{cursor:pointer}.large-modal{height:calc(100vh - 150px);width:calc(100vw - 150px)}.tall-modal{max-height:calc(100vh - 150px)}.centering-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:20px}.scroll-within{overflow:auto}.query-editor-container{padding:5px}.query-editor{margin:5px;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content;text-align:center;background:url("data:image/png;base64,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");background-position:50%;background-repeat:repeat-y}.query-editor .endpoint{display:inline-block;border-radius:18px;background:#e0e0e0;padding:10px}.query-editor .criteria{display:inline-block;margin:10px}.query-editor .or{margin:5px}.query-editor .or .startline{height:16px;background:#e0e0e0;border-top-left-radius:16px;border-top-right-radius:16px}.query-editor .or .endline{height:16px;background:#e0e0e0;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.query-editor .or .components{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content;border-right:2px solid #e0e0e0;border-left:2px solid #e0e0e0;background:#fff}.query-editor .or .components .or-criteria-wrapper{padding-top:5px;padding-bottom:5px;background:url("data:image/png;base64,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");background-position:50%;background-repeat:repeat-y}.query-editor .and{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content}.query-editor .criterion{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:5px;padding:5px}.query-editor .criterion .close{color:#000}.query-editor .criterion input,.query-editor .criterion select{margin:5px;width:150px;display:block}.query-editor .criterion input{text-indent:3px}.query-editor .criterion .actions{border-left:1px solid #e0e0e0}.query-editor .criterion .icon{height:18px;line-height:18px}.query-editor .criterion .action{cursor:pointer;height:18px;line-height:18px;margin:5px;opacity:.3}.query-editor .criterion .action:hover{opacity:1}.query-editor .criterion .icon-wrapper{position:relative}.query-editor .criterion .icon-overlay{position:absolute;top:3px;left:0}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAGCAIAAAB1kpiRAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wcIDRQ1KO1wgAAAAFBJREFUCNdtyjEOwCAMQ1E7KhFHyP1Px8iSiSgwICG11KPfp7uPMfA3kk+ttfd+FyTNTETEzEopt6mqAPgUxwBwzrnfzGytRcSxF+8iIo4BWFGnInEcArZUAAAAAElFTkSuQmCC") no-repeat 100%}input,select{border:none;border-bottom:1px solid #e0e0e0}input:focus{outline:none;outline-offset:inherit;border-bottom:2px solid #3d8bd5}input.invalid{border-bottom:2px solid #d62728}.query-picker .list-string{width:250px}.edit-doc-page .editor{position:relative;padding:20px}.edit-doc-page .editor pre{margin:0}.edit-doc-page .editor .DraftEditor-root{font-family:monospace;border:1px solid #ccc;cursor:text}.docpage-edit{position:absolute;top:0;right:0}.table-row-cell{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:8px}.table-row-cell .icon{min-width:20px;color:#a9a9a9;font-size:20px;padding-left:3px;padding-right:3px}.table-row-cell .icon.info{font-size:14px}.table-row-cell .icon:hover{color:#4e4e4e}.table-col{margin:5px}.table-col-cell{padding-left:5px;padding-right:5px}.prop{opacity:.7}.prop.true{color:#2ca02c}.prop.false{color:#d62728}.table-row-cell .prop.bool{top:-4px}.table-row-header{padding:0!important;height:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.table-row-header .label{-ms-flex-negative:1;flex-shrink:1;text-align:center}.table-row-header .icon{min-width:20px;color:#a9a9a9;font-size:14px;padding-left:3px;padding-right:3px}.table-row-header .icon:hover{color:#4e4e4e}.table-row-header.sort-column-ascending,.table-row-header.sort-column-descending{background:#e8e8e8;box-shadow:inset 1px 1px 1px #a9a9a9}.table-col-header{padding:0 5px!important;height:100%;line-height:30px;display:-ms-flexbox;display:flex;-ms-flex-pack:left;justify-content:left;-ms-flex-align:left;align-items:left}.table-col-header .label{-ms-flex-negative:1;flex-shrink:1;text-overflow:ellipsis;overflow:hidden;text-align:left;white-space:nowrap}.table-col-header .icon{min-width:20px;color:#a9a9a9;font-size:14px;padding-left:3px;padding-right:3px;vertical-align:baseline}.table-col-header .icon:hover{color:#4e4e4e}.rc-tooltip{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}.item-picker .picked{opacity:.5}.item-picker .header{text-align:center;font-size:18px;padding-top:16px}.item-picker .search{padding-left:16px}.highlight{color:#ff4081}.internal-link{color:#3d8bd5;text-decoration:underline;cursor:pointer}.external-link-icon{margin-right:5px}.error{font-size:20px;font-weight:700;color:darkred}',""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./src/styles/font-awesome.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,"/*!\n * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome\n * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\n */@font-face{font-family:FontAwesome;src:url("+n("./src/fonts/fontawesome-webfont.eot?v=4.3.0")+");src:url("+n("./src/fonts/fontawesome-webfont.eot")+'?#iefix&v=4.3.0) format("embedded-opentype"),url('+n("./src/fonts/fontawesome-webfont.woff2?v=4.3.0")+') format("woff2"),url('+n("./src/fonts/fontawesome-webfont.woff?v=4.3.0")+') format("woff"),url('+n("./src/fonts/fontawesome-webfont.ttf?v=4.3.0")+') format("truetype"),url('+n("./src/fonts/fontawesome-webfont.svg?v=4.3.0")+'#fontawesomeregular) format("svg");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);transform:scaleX(-1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\\F000"}.fa-music:before{content:"\\F001"}.fa-search:before{content:"\\F002"}.fa-envelope-o:before{content:"\\F003"}.fa-heart:before{content:"\\F004"}.fa-star:before{content:"\\F005"}.fa-star-o:before{content:"\\F006"}.fa-user:before{content:"\\F007"}.fa-film:before{content:"\\F008"}.fa-th-large:before{content:"\\F009"}.fa-th:before{content:"\\F00A"}.fa-th-list:before{content:"\\F00B"}.fa-check:before{content:"\\F00C"}.fa-close:before,.fa-remove:before,.fa-times:before{content:"\\F00D"}.fa-search-plus:before{content:"\\F00E"}.fa-search-minus:before{content:"\\F010"}.fa-power-off:before{content:"\\F011"}.fa-signal:before{content:"\\F012"}.fa-cog:before,.fa-gear:before{content:"\\F013"}.fa-trash-o:before{content:"\\F014"}.fa-home:before{content:"\\F015"}.fa-file-o:before{content:"\\F016"}.fa-clock-o:before{content:"\\F017"}.fa-road:before{content:"\\F018"}.fa-download:before{content:"\\F019"}.fa-arrow-circle-o-down:before{content:"\\F01A"}.fa-arrow-circle-o-up:before{content:"\\F01B"}.fa-inbox:before{content:"\\F01C"}.fa-play-circle-o:before{content:"\\F01D"}.fa-repeat:before,.fa-rotate-right:before{content:"\\F01E"}.fa-refresh:before{content:"\\F021"}.fa-list-alt:before{content:"\\F022"}.fa-lock:before{content:"\\F023"}.fa-flag:before{content:"\\F024"}.fa-headphones:before{content:"\\F025"}.fa-volume-off:before{content:"\\F026"}.fa-volume-down:before{content:"\\F027"}.fa-volume-up:before{content:"\\F028"}.fa-qrcode:before{content:"\\F029"}.fa-barcode:before{content:"\\F02A"}.fa-tag:before{content:"\\F02B"}.fa-tags:before{content:"\\F02C"}.fa-book:before{content:"\\F02D"}.fa-bookmark:before{content:"\\F02E"}.fa-print:before{content:"\\F02F"}.fa-camera:before{content:"\\F030"}.fa-font:before{content:"\\F031"}.fa-bold:before{content:"\\F032"}.fa-italic:before{content:"\\F033"}.fa-text-height:before{content:"\\F034"}.fa-text-width:before{content:"\\F035"}.fa-align-left:before{content:"\\F036"}.fa-align-center:before{content:"\\F037"}.fa-align-right:before{content:"\\F038"}.fa-align-justify:before{content:"\\F039"}.fa-list:before{content:"\\F03A"}.fa-dedent:before,.fa-outdent:before{content:"\\F03B"}.fa-indent:before{content:"\\F03C"}.fa-video-camera:before{content:"\\F03D"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:"\\F03E"}.fa-pencil:before{content:"\\F040"}.fa-map-marker:before{content:"\\F041"}.fa-adjust:before{content:"\\F042"}.fa-tint:before{content:"\\F043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\\F044"}.fa-share-square-o:before{content:"\\F045"}.fa-check-square-o:before{content:"\\F046"}.fa-arrows:before{content:"\\F047"}.fa-step-backward:before{content:"\\F048"}.fa-fast-backward:before{content:"\\F049"}.fa-backward:before{content:"\\F04A"}.fa-play:before{content:"\\F04B"}.fa-pause:before{content:"\\F04C"}.fa-stop:before{content:"\\F04D"}.fa-forward:before{content:"\\F04E"}.fa-fast-forward:before{content:"\\F050"}.fa-step-forward:before{content:"\\F051"}.fa-eject:before{content:"\\F052"}.fa-chevron-left:before{content:"\\F053"}.fa-chevron-right:before{content:"\\F054"}.fa-plus-circle:before{content:"\\F055"}.fa-minus-circle:before{content:"\\F056"}.fa-times-circle:before{content:"\\F057"}.fa-check-circle:before{content:"\\F058"}.fa-question-circle:before{content:"\\F059"}.fa-info-circle:before{content:"\\F05A"}.fa-crosshairs:before{content:"\\F05B"}.fa-times-circle-o:before{content:"\\F05C"}.fa-check-circle-o:before{content:"\\F05D"}.fa-ban:before{content:"\\F05E"}.fa-arrow-left:before{content:"\\F060"}.fa-arrow-right:before{content:"\\F061"}.fa-arrow-up:before{content:"\\F062"}.fa-arrow-down:before{content:"\\F063"}.fa-mail-forward:before,.fa-share:before{content:"\\F064"}.fa-expand:before{content:"\\F065"}.fa-compress:before{content:"\\F066"}.fa-plus:before{content:"\\F067"}.fa-minus:before{content:"\\F068"}.fa-asterisk:before{content:"\\F069"}.fa-exclamation-circle:before{content:"\\F06A"}.fa-gift:before{content:"\\F06B"}.fa-leaf:before{content:"\\F06C"}.fa-fire:before{content:"\\F06D"}.fa-eye:before{content:"\\F06E"}.fa-eye-slash:before{content:"\\F070"}.fa-exclamation-triangle:before,.fa-warning:before{content:"\\F071"}.fa-plane:before{content:"\\F072"}.fa-calendar:before{content:"\\F073"}.fa-random:before{content:"\\F074"}.fa-comment:before{content:"\\F075"}.fa-magnet:before{content:"\\F076"}.fa-chevron-up:before{content:"\\F077"}.fa-chevron-down:before{content:"\\F078"}.fa-retweet:before{content:"\\F079"}.fa-shopping-cart:before{content:"\\F07A"}.fa-folder:before{content:"\\F07B"}.fa-folder-open:before{content:"\\F07C"}.fa-arrows-v:before{content:"\\F07D"}.fa-arrows-h:before{content:"\\F07E"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\\F080"}.fa-twitter-square:before{content:"\\F081"}.fa-facebook-square:before{content:"\\F082"}.fa-camera-retro:before{content:"\\F083"}.fa-key:before{content:"\\F084"}.fa-cogs:before,.fa-gears:before{content:"\\F085"}.fa-comments:before{content:"\\F086"}.fa-thumbs-o-up:before{content:"\\F087"}.fa-thumbs-o-down:before{content:"\\F088"}.fa-star-half:before{content:"\\F089"}.fa-heart-o:before{content:"\\F08A"}.fa-sign-out:before{content:"\\F08B"}.fa-linkedin-square:before{content:"\\F08C"}.fa-thumb-tack:before{content:"\\F08D"}.fa-external-link:before{content:"\\F08E"}.fa-sign-in:before{content:"\\F090"}.fa-trophy:before{content:"\\F091"}.fa-github-square:before{content:"\\F092"}.fa-upload:before{content:"\\F093"}.fa-lemon-o:before{content:"\\F094"}.fa-phone:before{content:"\\F095"}.fa-square-o:before{content:"\\F096"}.fa-bookmark-o:before{content:"\\F097"}.fa-phone-square:before{content:"\\F098"}.fa-twitter:before{content:"\\F099"}.fa-facebook-f:before,.fa-facebook:before{content:"\\F09A"}.fa-github:before{content:"\\F09B"}.fa-unlock:before{content:"\\F09C"}.fa-credit-card:before{content:"\\F09D"}.fa-rss:before{content:"\\F09E"}.fa-hdd-o:before{content:"\\F0A0"}.fa-bullhorn:before{content:"\\F0A1"}.fa-bell:before{content:"\\F0F3"}.fa-certificate:before{content:"\\F0A3"}.fa-hand-o-right:before{content:"\\F0A4"}.fa-hand-o-left:before{content:"\\F0A5"}.fa-hand-o-up:before{content:"\\F0A6"}.fa-hand-o-down:before{content:"\\F0A7"}.fa-arrow-circle-left:before{content:"\\F0A8"}.fa-arrow-circle-right:before{content:"\\F0A9"}.fa-arrow-circle-up:before{content:"\\F0AA"}.fa-arrow-circle-down:before{content:"\\F0AB"}.fa-globe:before{content:"\\F0AC"}.fa-wrench:before{content:"\\F0AD"}.fa-tasks:before{content:"\\F0AE"}.fa-filter:before{content:"\\F0B0"}.fa-briefcase:before{content:"\\F0B1"}.fa-arrows-alt:before{content:"\\F0B2"}.fa-group:before,.fa-users:before{content:"\\F0C0"}.fa-chain:before,.fa-link:before{content:"\\F0C1"}.fa-cloud:before{content:"\\F0C2"}.fa-flask:before{content:"\\F0C3"}.fa-cut:before,.fa-scissors:before{content:"\\F0C4"}.fa-copy:before,.fa-files-o:before{content:"\\F0C5"}.fa-paperclip:before{content:"\\F0C6"}.fa-floppy-o:before,.fa-save:before{content:"\\F0C7"}.fa-square:before{content:"\\F0C8"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:"\\F0C9"}.fa-list-ul:before{content:"\\F0CA"}.fa-list-ol:before{content:"\\F0CB"}.fa-strikethrough:before{content:"\\F0CC"}.fa-underline:before{content:"\\F0CD"}.fa-table:before{content:"\\F0CE"}.fa-magic:before{content:"\\F0D0"}.fa-truck:before{content:"\\F0D1"}.fa-pinterest:before{content:"\\F0D2"}.fa-pinterest-square:before{content:"\\F0D3"}.fa-google-plus-square:before{content:"\\F0D4"}.fa-google-plus:before{content:"\\F0D5"}.fa-money:before{content:"\\F0D6"}.fa-caret-down:before{content:"\\F0D7"}.fa-caret-up:before{content:"\\F0D8"}.fa-caret-left:before{content:"\\F0D9"}.fa-caret-right:before{content:"\\F0DA"}.fa-columns:before{content:"\\F0DB"}.fa-sort:before,.fa-unsorted:before{content:"\\F0DC"}.fa-sort-desc:before,.fa-sort-down:before{content:"\\F0DD"}.fa-sort-asc:before,.fa-sort-up:before{content:"\\F0DE"}.fa-envelope:before{content:"\\F0E0"}.fa-linkedin:before{content:"\\F0E1"}.fa-rotate-left:before,.fa-undo:before{content:"\\F0E2"}.fa-gavel:before,.fa-legal:before{content:"\\F0E3"}.fa-dashboard:before,.fa-tachometer:before{content:"\\F0E4"}.fa-comment-o:before{content:"\\F0E5"}.fa-comments-o:before{content:"\\F0E6"}.fa-bolt:before,.fa-flash:before{content:"\\F0E7"}.fa-sitemap:before{content:"\\F0E8"}.fa-umbrella:before{content:"\\F0E9"}.fa-clipboard:before,.fa-paste:before{content:"\\F0EA"}.fa-lightbulb-o:before{content:"\\F0EB"}.fa-exchange:before{content:"\\F0EC"}.fa-cloud-download:before{content:"\\F0ED"}.fa-cloud-upload:before{content:"\\F0EE"}.fa-user-md:before{content:"\\F0F0"}.fa-stethoscope:before{content:"\\F0F1"}.fa-suitcase:before{content:"\\F0F2"}.fa-bell-o:before{content:"\\F0A2"}.fa-coffee:before{content:"\\F0F4"}.fa-cutlery:before{content:"\\F0F5"}.fa-file-text-o:before{content:"\\F0F6"}.fa-building-o:before{content:"\\F0F7"}.fa-hospital-o:before{content:"\\F0F8"}.fa-ambulance:before{content:"\\F0F9"}.fa-medkit:before{content:"\\F0FA"}.fa-fighter-jet:before{content:"\\F0FB"}.fa-beer:before{content:"\\F0FC"}.fa-h-square:before{content:"\\F0FD"}.fa-plus-square:before{content:"\\F0FE"}.fa-angle-double-left:before{content:"\\F100"}.fa-angle-double-right:before{content:"\\F101"}.fa-angle-double-up:before{content:"\\F102"}.fa-angle-double-down:before{content:"\\F103"}.fa-angle-left:before{content:"\\F104"}.fa-angle-right:before{content:"\\F105"}.fa-angle-up:before{content:"\\F106"}.fa-angle-down:before{content:"\\F107"}.fa-desktop:before{content:"\\F108"}.fa-laptop:before{content:"\\F109"}.fa-tablet:before{content:"\\F10A"}.fa-mobile-phone:before,.fa-mobile:before{content:"\\F10B"}.fa-circle-o:before{content:"\\F10C"}.fa-quote-left:before{content:"\\F10D"}.fa-quote-right:before{content:"\\F10E"}.fa-spinner:before{content:"\\F110"}.fa-circle:before{content:"\\F111"}.fa-mail-reply:before,.fa-reply:before{content:"\\F112"}.fa-github-alt:before{content:"\\F113"}.fa-folder-o:before{content:"\\F114"}.fa-folder-open-o:before{content:"\\F115"}.fa-smile-o:before{content:"\\F118"}.fa-frown-o:before{content:"\\F119"}.fa-meh-o:before{content:"\\F11A"}.fa-gamepad:before{content:"\\F11B"}.fa-keyboard-o:before{content:"\\F11C"}.fa-flag-o:before{content:"\\F11D"}.fa-flag-checkered:before{content:"\\F11E"}.fa-terminal:before{content:"\\F120"}.fa-code:before{content:"\\F121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\F122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\\F123"}.fa-location-arrow:before{content:"\\F124"}.fa-crop:before{content:"\\F125"}.fa-code-fork:before{content:"\\F126"}.fa-chain-broken:before,.fa-unlink:before{content:"\\F127"}.fa-question:before{content:"\\F128"}.fa-info:before{content:"\\F129"}.fa-exclamation:before{content:"\\F12A"}.fa-superscript:before{content:"\\F12B"}.fa-subscript:before{content:"\\F12C"}.fa-eraser:before{content:"\\F12D"}.fa-puzzle-piece:before{content:"\\F12E"}.fa-microphone:before{content:"\\F130"}.fa-microphone-slash:before{content:"\\F131"}.fa-shield:before{content:"\\F132"}.fa-calendar-o:before{content:"\\F133"}.fa-fire-extinguisher:before{content:"\\F134"}.fa-rocket:before{content:"\\F135"}.fa-maxcdn:before{content:"\\F136"}.fa-chevron-circle-left:before{content:"\\F137"}.fa-chevron-circle-right:before{content:"\\F138"}.fa-chevron-circle-up:before{content:"\\F139"}.fa-chevron-circle-down:before{content:"\\F13A"}.fa-html5:before{content:"\\F13B"}.fa-css3:before{content:"\\F13C"}.fa-anchor:before{content:"\\F13D"}.fa-unlock-alt:before{content:"\\F13E"}.fa-bullseye:before{content:"\\F140"}.fa-ellipsis-h:before{content:"\\F141"}.fa-ellipsis-v:before{content:"\\F142"}.fa-rss-square:before{content:"\\F143"}.fa-play-circle:before{content:"\\F144"}.fa-ticket:before{content:"\\F145"}.fa-minus-square:before{content:"\\F146"}.fa-minus-square-o:before{content:"\\F147"}.fa-level-up:before{content:"\\F148"}.fa-level-down:before{content:"\\F149"}.fa-check-square:before{content:"\\F14A"}.fa-pencil-square:before{content:"\\F14B"}.fa-external-link-square:before{content:"\\F14C"}.fa-share-square:before{content:"\\F14D"}.fa-compass:before{content:"\\F14E"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:"\\F150"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:"\\F151"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:"\\F152"}.fa-eur:before,.fa-euro:before{content:"\\F153"}.fa-gbp:before{content:"\\F154"}.fa-dollar:before,.fa-usd:before{content:"\\F155"}.fa-inr:before,.fa-rupee:before{content:"\\F156"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:"\\F157"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:"\\F158"}.fa-krw:before,.fa-won:before{content:"\\F159"}.fa-bitcoin:before,.fa-btc:before{content:"\\F15A"}.fa-file:before{content:"\\F15B"}.fa-file-text:before{content:"\\F15C"}.fa-sort-alpha-asc:before{content:"\\F15D"}.fa-sort-alpha-desc:before{content:"\\F15E"}.fa-sort-amount-asc:before{content:"\\F160"}.fa-sort-amount-desc:before{content:"\\F161"}.fa-sort-numeric-asc:before{content:"\\F162"}.fa-sort-numeric-desc:before{content:"\\F163"}.fa-thumbs-up:before{content:"\\F164"}.fa-thumbs-down:before{content:"\\F165"}.fa-youtube-square:before{content:"\\F166"}.fa-youtube:before{content:"\\F167"}.fa-xing:before{content:"\\F168"}.fa-xing-square:before{content:"\\F169"}.fa-youtube-play:before{content:"\\F16A"}.fa-dropbox:before{content:"\\F16B"}.fa-stack-overflow:before{content:"\\F16C"}.fa-instagram:before{content:"\\F16D"}.fa-flickr:before{content:"\\F16E"}.fa-adn:before{content:"\\F170"}.fa-bitbucket:before{content:"\\F171"}.fa-bitbucket-square:before{content:"\\F172"}.fa-tumblr:before{content:"\\F173"}.fa-tumblr-square:before{content:"\\F174"}.fa-long-arrow-down:before{content:"\\F175"}.fa-long-arrow-up:before{content:"\\F176"}.fa-long-arrow-left:before{content:"\\F177"}.fa-long-arrow-right:before{content:"\\F178"}.fa-apple:before{content:"\\F179"}.fa-windows:before{content:"\\F17A"}.fa-android:before{content:"\\F17B"}.fa-linux:before{content:"\\F17C"}.fa-dribbble:before{content:"\\F17D"}.fa-skype:before{content:"\\F17E"}.fa-foursquare:before{content:"\\F180"}.fa-trello:before{content:"\\F181"}.fa-female:before{content:"\\F182"}.fa-male:before{content:"\\F183"}.fa-gittip:before,.fa-gratipay:before{content:"\\F184"}.fa-sun-o:before{content:"\\F185"}.fa-moon-o:before{content:"\\F186"}.fa-archive:before{content:"\\F187"}.fa-bug:before{content:"\\F188"}.fa-vk:before{content:"\\F189"}.fa-weibo:before{content:"\\F18A"}.fa-renren:before{content:"\\F18B"}.fa-pagelines:before{content:"\\F18C"}.fa-stack-exchange:before{content:"\\F18D"}.fa-arrow-circle-o-right:before{content:"\\F18E"}.fa-arrow-circle-o-left:before{content:"\\F190"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:"\\F191"}.fa-dot-circle-o:before{content:"\\F192"}.fa-wheelchair:before{content:"\\F193"}.fa-vimeo-square:before{content:"\\F194"}.fa-try:before,.fa-turkish-lira:before{content:"\\F195"}.fa-plus-square-o:before{content:"\\F196"}.fa-space-shuttle:before{content:"\\F197"}.fa-slack:before{content:"\\F198"}.fa-envelope-square:before{content:"\\F199"}.fa-wordpress:before{content:"\\F19A"}.fa-openid:before{content:"\\F19B"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:"\\F19C"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\\F19D"}.fa-yahoo:before{content:"\\F19E"}.fa-google:before{content:"\\F1A0"}.fa-reddit:before{content:"\\F1A1"}.fa-reddit-square:before{content:"\\F1A2"}.fa-stumbleupon-circle:before{content:"\\F1A3"}.fa-stumbleupon:before{content:"\\F1A4"}.fa-delicious:before{content:"\\F1A5"}.fa-digg:before{content:"\\F1A6"}.fa-pied-piper:before{content:"\\F1A7"}.fa-pied-piper-alt:before{content:"\\F1A8"}.fa-drupal:before{content:"\\F1A9"}.fa-joomla:before{content:"\\F1AA"}.fa-language:before{content:"\\F1AB"}.fa-fax:before{content:"\\F1AC"}.fa-building:before{content:"\\F1AD"}.fa-child:before{content:"\\F1AE"}.fa-paw:before{content:"\\F1B0"}.fa-spoon:before{content:"\\F1B1"}.fa-cube:before{content:"\\F1B2"}.fa-cubes:before{content:"\\F1B3"}.fa-behance:before{content:"\\F1B4"}.fa-behance-square:before{content:"\\F1B5"}.fa-steam:before{content:"\\F1B6"}.fa-steam-square:before{content:"\\F1B7"}.fa-recycle:before{content:"\\F1B8"}.fa-automobile:before,.fa-car:before{content:"\\F1B9"}.fa-cab:before,.fa-taxi:before{content:"\\F1BA"}.fa-tree:before{content:"\\F1BB"}.fa-spotify:before{content:"\\F1BC"}.fa-deviantart:before{content:"\\F1BD"}.fa-soundcloud:before{content:"\\F1BE"}.fa-database:before{content:"\\F1C0"}.fa-file-pdf-o:before{content:"\\F1C1"}.fa-file-word-o:before{content:"\\F1C2"}.fa-file-excel-o:before{content:"\\F1C3"}.fa-file-powerpoint-o:before{content:"\\F1C4"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:"\\F1C5"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:"\\F1C6"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:"\\F1C7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\\F1C8"}.fa-file-code-o:before{content:"\\F1C9"}.fa-vine:before{content:"\\F1CA"}.fa-codepen:before{content:"\\F1CB"}.fa-jsfiddle:before{content:"\\F1CC"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:"\\F1CD"}.fa-circle-o-notch:before{content:"\\F1CE"}.fa-ra:before,.fa-rebel:before{content:"\\F1D0"}.fa-empire:before,.fa-ge:before{content:"\\F1D1"}.fa-git-square:before{content:"\\F1D2"}.fa-git:before{content:"\\F1D3"}.fa-hacker-news:before{content:"\\F1D4"}.fa-tencent-weibo:before{content:"\\F1D5"}.fa-qq:before{content:"\\F1D6"}.fa-wechat:before,.fa-weixin:before{content:"\\F1D7"}.fa-paper-plane:before,.fa-send:before{content:"\\F1D8"}.fa-paper-plane-o:before,.fa-send-o:before{content:"\\F1D9"}.fa-history:before{content:"\\F1DA"}.fa-circle-thin:before,.fa-genderless:before{content:"\\F1DB"}.fa-header:before{content:"\\F1DC"}.fa-paragraph:before{content:"\\F1DD"}.fa-sliders:before{content:"\\F1DE"}.fa-share-alt:before{content:"\\F1E0"}.fa-share-alt-square:before{content:"\\F1E1"}.fa-bomb:before{content:"\\F1E2"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:"\\F1E3"}.fa-tty:before{content:"\\F1E4"}.fa-binoculars:before{content:"\\F1E5"}.fa-plug:before{content:"\\F1E6"}.fa-slideshare:before{content:"\\F1E7"}.fa-twitch:before{content:"\\F1E8"}.fa-yelp:before{content:"\\F1E9"}.fa-newspaper-o:before{content:"\\F1EA"}.fa-wifi:before{content:"\\F1EB"}.fa-calculator:before{content:"\\F1EC"}.fa-paypal:before{content:"\\F1ED"}.fa-google-wallet:before{content:"\\F1EE"}.fa-cc-visa:before{content:"\\F1F0"}.fa-cc-mastercard:before{content:"\\F1F1"}.fa-cc-discover:before{content:"\\F1F2"}.fa-cc-amex:before{content:"\\F1F3"}.fa-cc-paypal:before{content:"\\F1F4"}.fa-cc-stripe:before{content:"\\F1F5"}.fa-bell-slash:before{content:"\\F1F6"}.fa-bell-slash-o:before{content:"\\F1F7"}.fa-trash:before{content:"\\F1F8"}.fa-copyright:before{content:"\\F1F9"}.fa-at:before{content:"\\F1FA"}.fa-eyedropper:before{content:"\\F1FB"}.fa-paint-brush:before{content:"\\F1FC"}.fa-birthday-cake:before{content:"\\F1FD"}.fa-area-chart:before{content:"\\F1FE"}.fa-pie-chart:before{content:"\\F200"}.fa-line-chart:before{content:"\\F201"}.fa-lastfm:before{content:"\\F202"}.fa-lastfm-square:before{content:"\\F203"}.fa-toggle-off:before{content:"\\F204"}.fa-toggle-on:before{content:"\\F205"}.fa-bicycle:before{content:"\\F206"}.fa-bus:before{content:"\\F207"}.fa-ioxhost:before{content:"\\F208"}.fa-angellist:before{content:"\\F209"}.fa-cc:before{content:"\\F20A"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:"\\F20B"}.fa-meanpath:before{content:"\\F20C"}.fa-buysellads:before{content:"\\F20D"}.fa-connectdevelop:before{content:"\\F20E"}.fa-dashcube:before{content:"\\F210"}.fa-forumbee:before{content:"\\F211"}.fa-leanpub:before{content:"\\F212"}.fa-sellsy:before{content:"\\F213"}.fa-shirtsinbulk:before{content:"\\F214"}.fa-simplybuilt:before{content:"\\F215"}.fa-skyatlas:before{content:"\\F216"}.fa-cart-plus:before{content:"\\F217"}.fa-cart-arrow-down:before{content:"\\F218"}.fa-diamond:before{content:"\\F219"}.fa-ship:before{content:"\\F21A"}.fa-user-secret:before{content:"\\F21B"}.fa-motorcycle:before{content:"\\F21C"}.fa-street-view:before{content:"\\F21D"}.fa-heartbeat:before{content:"\\F21E"}.fa-venus:before{content:"\\F221"}.fa-mars:before{content:"\\F222"}.fa-mercury:before{content:"\\F223"}.fa-transgender:before{content:"\\F224"}.fa-transgender-alt:before{content:"\\F225"}.fa-venus-double:before{content:"\\F226"}.fa-mars-double:before{content:"\\F227"}.fa-venus-mars:before{content:"\\F228"}.fa-mars-stroke:before{content:"\\F229"}.fa-mars-stroke-v:before{content:"\\F22A"}.fa-mars-stroke-h:before{content:"\\F22B"}.fa-neuter:before{content:"\\F22C"}.fa-facebook-official:before{content:"\\F230"}.fa-pinterest-p:before{content:"\\F231"}.fa-whatsapp:before{content:"\\F232"}.fa-server:before{content:"\\F233"}.fa-user-plus:before{content:"\\F234"}.fa-user-times:before{content:"\\F235"}.fa-bed:before,.fa-hotel:before{content:"\\F236"}.fa-viacoin:before{content:"\\F237"}.fa-train:before{content:"\\F238"}.fa-subway:before{content:"\\F239"}.fa-medium:before{content:"\\F23A"}',""])},'./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./src/styles/normalize.css':function(e,t,n){t=e.exports=n("./node_modules/css-loader/lib/css-base.js")(void 0),t.push([e.i,"/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}",""])},"./node_modules/css-loader/lib/css-base.js":function(e,t,n){(function(t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t){var i=r(o),a=o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"});return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+new t(JSON.stringify(e)).toString("base64")+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;ot?1:e>=t?0:NaN}},"./node_modules/d3-array/src/bisect.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-array/src/ascending.js"),o=n("./node_modules/d3-array/src/bisector.js"),i=n.i(o.a)(r.a),a=i.right;i.left;t.a=a},"./node_modules/d3-array/src/bisector.js":function(e,t,n){"use strict";function r(e){return function(t,r){return n.i(o.a)(e(t),r)}}var o=n("./node_modules/d3-array/src/ascending.js");t.a=function(e){return 1===e.length&&(e=r(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}},"./node_modules/d3-array/src/constant.js":function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},"./node_modules/d3-array/src/cross.js":function(e,t,n){"use strict";n("./node_modules/d3-array/src/pairs.js")},"./node_modules/d3-array/src/descending.js":function(e,t,n){"use strict"},"./node_modules/d3-array/src/deviation.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-array/src/variance.js");t.a=function(e,t){var o=n.i(r.a)(e,t);return o?Math.sqrt(o):o}},"./node_modules/d3-array/src/extent.js":function(e,t,n){"use strict";t.a=function(e,t){var n,r,o,i=-1,a=e.length;if(null==t){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o=f;)h.pop(),--m;var g,y=new Array(m+1);for(r=0;r<=m;++r)g=y[r]=[],g.x0=r>0?h[r-1]:p,g.x1=r=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n}},"./node_modules/d3-array/src/number.js":function(e,t,n){"use strict";t.a=function(e){return null===e?NaN:+e}},"./node_modules/d3-array/src/pairs.js":function(e,t,n){"use strict";function r(e,t){return[e,t]}t.a=r},"./node_modules/d3-array/src/permute.js":function(e,t,n){"use strict"},"./node_modules/d3-array/src/quantile.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-array/src/number.js");t.a=function(e,t,n){if(null==n&&(n=r.a),o=e.length){if((t=+t)<=0||o<2)return+n(e[0],0,e);if(t>=1)return+n(e[o-1],o-1,e);var o,i=(o-1)*t,a=Math.floor(i),s=+n(e[a],a,e);return s+(+n(e[a+1],a+1,e)-s)*(i-a)}}},"./node_modules/d3-array/src/range.js":function(e,t,n){"use strict";t.a=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r=i?o*=10:l>=a?o*=5:l>=s&&(o*=2),t1)return l/(c-1)}},"./node_modules/d3-array/src/zip.js":function(e,t,n){"use strict";n("./node_modules/d3-array/src/transpose.js")},"./node_modules/d3-collection/index.js":function(e,t,n){"use strict";var r=(n("./node_modules/d3-collection/src/nest.js"),n("./node_modules/d3-collection/src/set.js"),n("./node_modules/d3-collection/src/map.js"));n.d(t,"a",function(){return r.a});n("./node_modules/d3-collection/src/keys.js"),n("./node_modules/d3-collection/src/values.js"),n("./node_modules/d3-collection/src/entries.js")},"./node_modules/d3-collection/src/entries.js":function(e,t,n){"use strict"},"./node_modules/d3-collection/src/keys.js":function(e,t,n){"use strict"},"./node_modules/d3-collection/src/map.js":function(e,t,n){"use strict";function r(){}function o(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var o,i=-1,a=e.length;if(null==t)for(;++i>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=x.exec(e))?i(parseInt(t[1],16)):(t=j.exec(e))?new u(t[1],t[2],t[3],1):(t=w.exec(e))?new u(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=C.exec(e))?a(t[1],t[2],t[3],t[4]):(t=E.exec(e))?a(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=k.exec(e))?c(t[1],t[2]/100,t[3]/100,1):(t=T.exec(e))?c(t[1],t[2]/100,t[3]/100,t[4]):S.hasOwnProperty(e)?i(S[e]):"transparent"===e?new u(NaN,NaN,NaN,0):null}function i(e){return new u(e>>16&255,e>>8&255,255&e,1)}function a(e,t,n,r){return r<=0&&(e=t=n=NaN),new u(e,t,n,r)}function s(e){return e instanceof r||(e=o(e)),e?(e=e.rgb(),new u(e.r,e.g,e.b,e.opacity)):new u}function l(e,t,n,r){return 1===arguments.length?s(e):new u(e,t,n,null==r?1:r)}function u(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function c(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new f(e,t,n,r)}function d(e){if(e instanceof f)return new f(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=o(e)),!e)return new f;if(e instanceof f)return e;e=e.rgb();var t=e.r/255,n=e.g/255,i=e.b/255,a=Math.min(t,n,i),s=Math.max(t,n,i),l=NaN,u=s-a,c=(s+a)/2;return u?(l=t===s?(n-i)/u+6*(n0&&c<1?0:l,new f(l,u,c,e.opacity)}function p(e,t,n,r){return 1===arguments.length?d(e):new f(e,t,n,null==r?1:r)}function f(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function h(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}var m=n("./node_modules/d3-color/src/define.js");t.c=r,n.d(t,"e",function(){return g}),n.d(t,"d",function(){return y}),t.h=o,t.b=s,t.g=l,t.a=u,t.f=p;var g=.7,y=1/g,v="\\s*([+-]?\\d+)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",A=/^#([0-9a-f]{3})$/,x=/^#([0-9a-f]{6})$/,j=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),w=new RegExp("^rgb\\("+[_,_,_]+"\\)$"),C=new RegExp("^rgba\\("+[v,v,v,b]+"\\)$"),E=new RegExp("^rgba\\("+[_,_,_,b]+"\\)$"),k=new RegExp("^hsl\\("+[b,_,_]+"\\)$"),T=new RegExp("^hsla\\("+[b,_,_,b]+"\\)$"),S={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n.i(m.a)(r,o,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),n.i(m.a)(u,l,n.i(m.b)(r,{brighter:function(e){return e=null==e?y:Math.pow(y,e),new u(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?g:Math.pow(g,e),new u(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"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===e?")":", "+e+")")}})),n.i(m.a)(f,p,n.i(m.b)(r,{brighter:function(e){return e=null==e?y:Math.pow(y,e),new f(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?g:Math.pow(g,e),new f(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new u(h(e>=240?e-240:e+120,o,r),h(e,o,r),h(e<120?e+240:e-120,o,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}}))},"./node_modules/d3-color/src/cubehelix.js":function(e,t,n){"use strict";function r(e){if(e instanceof i)return new i(e.h,e.s,e.l,e.opacity);e instanceof s.a||(e=n.i(s.b)(e));var t=e.r/255,r=e.g/255,o=e.b/255,a=(g*o+h*t-m*r)/(g+h-m),u=o-a,c=(f*(r-a)-d*u)/p,y=Math.sqrt(c*c+u*u)/(f*a*(1-a)),v=y?Math.atan2(c,u)*l.a-120:NaN;return new i(v<0?v+360:v,y,a,e.opacity)}function o(e,t,n,o){return 1===arguments.length?r(e):new i(e,t,n,null==o?1:o)}function i(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}var a=n("./node_modules/d3-color/src/define.js"),s=n("./node_modules/d3-color/src/color.js"),l=n("./node_modules/d3-color/src/math.js");t.a=o;var u=-.14861,c=1.78277,d=-.29227,p=-.90649,f=1.97294,h=f*p,m=f*c,g=c*d-p*u;n.i(a.a)(i,o,n.i(a.b)(s.c,{brighter:function(e){return e=null==e?s.d:Math.pow(s.d,e),new i(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?s.e:Math.pow(s.e,e),new i(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*l.b,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new s.a(255*(t+n*(u*r+c*o)),255*(t+n*(d*r+p*o)),255*(t+n*(f*r)),this.opacity)}}))},"./node_modules/d3-color/src/define.js":function(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}t.b=r,t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},"./node_modules/d3-color/src/lab.js":function(e,t,n){"use strict";function r(e){if(e instanceof i)return new i(e.l,e.a,e.b,e.opacity);if(e instanceof p){var t=e.h*m.b;return new i(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof h.a||(e=n.i(h.b)(e));var r=u(e.r),o=u(e.g),s=u(e.b),l=a((.4124564*r+.3575761*o+.1804375*s)/y),c=a((.2126729*r+.7151522*o+.072175*s)/v);return new i(116*c-16,500*(l-c),200*(c-a((.0193339*r+.119192*o+.9503041*s)/b)),e.opacity)}function o(e,t,n,o){return 1===arguments.length?r(e):new i(e,t,n,null==o?1:o)}function i(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function a(e){return e>j?Math.pow(e,1/3):e/x+_}function s(e){return e>A?e*e*e:x*(e-_)}function l(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function u(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function c(e){if(e instanceof p)return new p(e.h,e.c,e.l,e.opacity);e instanceof i||(e=r(e));var t=Math.atan2(e.b,e.a)*m.a;return new p(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function d(e,t,n,r){return 1===arguments.length?c(e):new p(e,t,n,null==r?1:r)}function p(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}var f=n("./node_modules/d3-color/src/define.js"),h=n("./node_modules/d3-color/src/color.js"),m=n("./node_modules/d3-color/src/math.js");t.b=o,t.a=d;var g=18,y=.95047,v=1,b=1.08883,_=4/29,A=6/29,x=3*A*A,j=A*A*A;n.i(f.a)(i,o,n.i(f.b)(h.c,{brighter:function(e){return new i(this.l+g*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new i(this.l-g*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=v*s(e),t=y*s(t),n=b*s(n),new h.a(l(3.2404542*t-1.5371385*e-.4985314*n),l(-.969266*t+1.8760108*e+.041556*n),l(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),n.i(f.a)(p,d,n.i(f.b)(h.c,{brighter:function(e){return new p(this.h,this.c,this.l+g*(null==e?1:e),this.opacity)},darker:function(e){return new p(this.h,this.c,this.l-g*(null==e?1:e),this.opacity)},rgb:function(){return r(this).rgb()}}))},"./node_modules/d3-color/src/math.js":function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return o});var r=Math.PI/180,o=180/Math.PI},"./node_modules/d3-dispatch/index.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-dispatch/src/dispatch.js");n.d(t,"a",function(){return r.a})},"./node_modules/d3-dispatch/src/dispatch.js":function(e,t,n){"use strict";function r(){for(var e,t=0,n=arguments.length,r={};t=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}})}function a(e,t){for(var n,r=0,o=e.length;r0)for(var n,r,o=new Array(n),i=0;ih+c||om+c||iu.index){var d=h-s.x-s.vx,f=m-s.y-s.vy,v=d*d+f*f;ve.r&&(e.r=e[t].r)}function u(){if(c){var t,n,r=c.length;for(d=new Array(r),t=0;t=m)){(e.data!==c||e.next)&&(0===a&&(a=n.i(o.a)(),u+=a*a),0===s&&(s=n.i(o.a)(),u+=s*s),u1?(null==t?g.remove(e):g.set(e,u(t)),c):g.get(e)},find:function(t,n,r){var o,i,a,s,l,u=0,c=e.length;for(null==r?r=1/0:r*=r,u=0;u1?(v.on(e,t),c):v.on(e)}}}},"./node_modules/d3-force/src/x.js":function(e,t,n){"use strict";n("./node_modules/d3-force/src/constant.js")},"./node_modules/d3-force/src/y.js":function(e,t,n){"use strict";n("./node_modules/d3-force/src/constant.js")},"./node_modules/d3-format/index.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/defaultLocale.js");n.d(t,"f",function(){return r.a}),n.d(t,"c",function(){return r.b});var o=(n("./node_modules/d3-format/src/locale.js"),n("./node_modules/d3-format/src/formatSpecifier.js"));n.d(t,"a",function(){return o.a});var i=n("./node_modules/d3-format/src/precisionFixed.js");n.d(t,"e",function(){return i.a});var a=n("./node_modules/d3-format/src/precisionPrefix.js");n.d(t,"b",function(){return a.a});var s=n("./node_modules/d3-format/src/precisionRound.js");n.d(t,"d",function(){return s.a})},"./node_modules/d3-format/src/defaultLocale.js":function(e,t,n){"use strict";function r(e){return i=n.i(o.a)(e),a=i.format,s=i.formatPrefix,i}var o=n("./node_modules/d3-format/src/locale.js");n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var i,a,s;r({decimal:".",thousands:",",grouping:[3],currency:["$",""]})},"./node_modules/d3-format/src/exponent.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/formatDecimal.js");t.a=function(e){return e=n.i(r.a)(Math.abs(e)),e?e[1]:NaN}},"./node_modules/d3-format/src/formatDecimal.js":function(e,t,n){"use strict";t.a=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}},"./node_modules/d3-format/src/formatDefault.js":function(e,t,n){"use strict";t.a=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,i=-1;o0&&(i=0)}return i>0?e.slice(0,i)+e.slice(n+1):e}},"./node_modules/d3-format/src/formatGroup.js":function(e,t,n){"use strict";t.a=function(e,t){return function(n,r){for(var o=n.length,i=[],a=0,s=e[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(n.substring(o-=s,o+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return i.reverse().join(t)}}},"./node_modules/d3-format/src/formatNumerals.js":function(e,t,n){"use strict";t.a=function(e){return function(t){return t.replace(/[0-9]/g,function(t){return e[+t]})}}},"./node_modules/d3-format/src/formatPrefixAuto.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/formatDecimal.js");n.d(t,"b",function(){return o});var o;t.a=function(e,t){var i=n.i(r.a)(e,t);if(!i)return e+"";var a=i[0],s=i[1],l=s-(o=3*Math.max(-8,Math.min(8,Math.floor(s/3))))+1,u=a.length;return l===u?a:l>u?a+new Array(l-u+1).join("0"):l>0?a.slice(0,l)+"."+a.slice(l):"0."+new Array(1-l).join("0")+n.i(r.a)(e,Math.max(0,t+l-1))[0]}},"./node_modules/d3-format/src/formatRounded.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/formatDecimal.js");t.a=function(e,t){var o=n.i(r.a)(e,t);if(!o)return e+"";var i=o[0],a=o[1];return a<0?"0."+new Array(-a).join("0")+i:i.length>a+1?i.slice(0,a+1)+"."+i.slice(a+1):i+new Array(a-i.length+2).join("0")}},"./node_modules/d3-format/src/formatSpecifier.js":function(e,t,n){"use strict";function r(e){return new o(e)}function o(e){if(!(t=a.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",s=t[4]||"",l=!!t[5],u=t[6]&&+t[6],c=!!t[7],d=t[8]&&+t[8].slice(1),p=t[9]||"";"n"===p?(c=!0,p="g"):i.a[p]||(p=""),(l||"0"===n&&"="===r)&&(l=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=s,this.zero=l,this.width=u,this.comma=c,this.precision=d,this.type=p}var i=n("./node_modules/d3-format/src/formatTypes.js");t.a=r;var a=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;r.prototype=o.prototype,o.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type}},"./node_modules/d3-format/src/formatTypes.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/formatDefault.js"),o=n("./node_modules/d3-format/src/formatPrefixAuto.js"),i=n("./node_modules/d3-format/src/formatRounded.js");t.a={"":r.a,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return n.i(i.a)(100*e,t)},r:i.a,s:o.a,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}}},"./node_modules/d3-format/src/identity.js":function(e,t,n){"use strict";t.a=function(e){return e}},"./node_modules/d3-format/src/locale.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/exponent.js"),o=n("./node_modules/d3-format/src/formatGroup.js"),i=n("./node_modules/d3-format/src/formatNumerals.js"),a=n("./node_modules/d3-format/src/formatSpecifier.js"),s=n("./node_modules/d3-format/src/formatTypes.js"),l=n("./node_modules/d3-format/src/formatPrefixAuto.js"),u=n("./node_modules/d3-format/src/identity.js"),c=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];t.a=function(e){function t(e){function t(e){var t,n,a,s=_,u=A;if("c"===b)u=x(e)+u,e="";else{e=+e;var f=e<0;if(e=x(Math.abs(e),v),f&&0==+e&&(f=!1),s=(f?"("===i?i:"-":"-"===i||"("===i?"":i)+s,u=u+("s"===b?c[8+l.b/3]:"")+(f&&"("===i?")":""),j)for(t=-1,n=e.length;++t(a=e.charCodeAt(t))||a>57){u=(46===a?h+e.slice(t+1):e.slice(t))+u,e=e.slice(0,t);break}}y&&!d&&(e=p(e,1/0));var w=s.length+e.length+u.length,C=w>1)+s+e+u+C.slice(w);break;default:e=C+s+e+u}return m(e)}e=n.i(a.a)(e);var r=e.fill,o=e.align,i=e.sign,u=e.symbol,d=e.zero,g=e.width,y=e.comma,v=e.precision,b=e.type,_="$"===u?f[0]:"#"===u&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",A="$"===u?f[1]:/[%p]/.test(b)?"%":"",x=s.a[b],j=!b||/[defgprs%]/.test(b);return v=null==v?b?6:12:/[gprs]/.test(b)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),t.toString=function(){return e+""},t}function d(e,o){var i=t((e=n.i(a.a)(e),e.type="f",e)),s=3*Math.max(-8,Math.min(8,Math.floor(n.i(r.a)(o)/3))),l=Math.pow(10,-s),u=c[8+s/3];return function(e){return i(l*e)+u}}var p=e.grouping&&e.thousands?n.i(o.a)(e.grouping,e.thousands):u.a,f=e.currency,h=e.decimal,m=e.numerals?n.i(i.a)(e.numerals):u.a;return{format:t,formatPrefix:d}}},"./node_modules/d3-format/src/precisionFixed.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/exponent.js");t.a=function(e){return Math.max(0,-n.i(r.a)(Math.abs(e)))}},"./node_modules/d3-format/src/precisionPrefix.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/exponent.js");t.a=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(n.i(r.a)(t)/3)))-n.i(r.a)(Math.abs(e)))}},"./node_modules/d3-format/src/precisionRound.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-format/src/exponent.js");t.a=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,n.i(r.a)(t)-n.i(r.a)(e))+1}},"./node_modules/d3-interpolate/index.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-interpolate/src/value.js");n.d(t,"c",function(){return r.a});var o=(n("./node_modules/d3-interpolate/src/array.js"),n("./node_modules/d3-interpolate/src/basis.js"),n("./node_modules/d3-interpolate/src/basisClosed.js"),n("./node_modules/d3-interpolate/src/date.js"),n("./node_modules/d3-interpolate/src/number.js"));n.d(t,"b",function(){return o.a});var i=(n("./node_modules/d3-interpolate/src/object.js"),n("./node_modules/d3-interpolate/src/round.js"));n.d(t,"d",function(){return i.a});var a=(n("./node_modules/d3-interpolate/src/string.js"),n("./node_modules/d3-interpolate/src/transform/index.js"),n("./node_modules/d3-interpolate/src/zoom.js"),n("./node_modules/d3-interpolate/src/rgb.js"),n("./node_modules/d3-interpolate/src/hsl.js"),n("./node_modules/d3-interpolate/src/lab.js"),n("./node_modules/d3-interpolate/src/hcl.js"));n.d(t,"a",function(){return a.a});var s=n("./node_modules/d3-interpolate/src/cubehelix.js");n.d(t,"e",function(){return s.a});n("./node_modules/d3-interpolate/src/quantize.js")},"./node_modules/d3-interpolate/src/array.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-interpolate/src/value.js");t.a=function(e,t){var o,i=t?t.length:0,a=e?Math.min(i,e.length):0,s=new Array(i),l=new Array(i);for(o=0;o=1?(n=1,t-1):Math.floor(n*t),i=e[o],a=e[o+1];return r((n-o/t)*t,o>0?e[o-1]:2*i-a,i,a,o180||o<-180?o-360*Math.round(o/360):o):n.i(l.a)(isNaN(e)?t:e)}function a(e){return 1==(e=+e)?s:function(t,r){return r-t?o(t,r,e):n.i(l.a)(isNaN(t)?r:t)}}function s(e,t){var o=t-e;return o?r(e,o):n.i(l.a)(isNaN(e)?t:e)}var l=n("./node_modules/d3-interpolate/src/constant.js");t.b=i,t.c=a,t.a=s},"./node_modules/d3-interpolate/src/constant.js":function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},"./node_modules/d3-interpolate/src/cubehelix.js":function(e,t,n){"use strict";function r(e){return function t(r){function a(t,a){var s=e((t=n.i(o.a)(t)).h,(a=n.i(o.a)(a)).h),l=n.i(i.a)(t.s,a.s),u=n.i(i.a)(t.l,a.l),c=n.i(i.a)(t.opacity,a.opacity);return function(e){return t.h=s(e),t.s=l(e),t.l=u(Math.pow(e,r)),t.opacity=c(e),t+""}}return r=+r,a.gamma=t,a}(1)}var o=n("./node_modules/d3-color/index.js"),i=n("./node_modules/d3-interpolate/src/color.js");n.d(t,"a",function(){return a});var a=(r(i.b),r(i.a))},"./node_modules/d3-interpolate/src/date.js":function(e,t,n){"use strict";t.a=function(e,t){var n=new Date;return e=+e,t-=e,function(r){return n.setTime(e+t*r),n}}},"./node_modules/d3-interpolate/src/hcl.js":function(e,t,n){"use strict";function r(e){return function(t,r){var a=e((t=n.i(o.b)(t)).h,(r=n.i(o.b)(r)).h),s=n.i(i.a)(t.c,r.c),l=n.i(i.a)(t.l,r.l),u=n.i(i.a)(t.opacity,r.opacity);return function(e){return t.h=a(e),t.c=s(e),t.l=l(e),t.opacity=u(e),t+""}}}var o=n("./node_modules/d3-color/index.js"),i=n("./node_modules/d3-interpolate/src/color.js");t.a=r(i.b);r(i.a)},"./node_modules/d3-interpolate/src/hsl.js":function(e,t,n){"use strict";function r(e){return function(t,r){var a=e((t=n.i(o.d)(t)).h,(r=n.i(o.d)(r)).h),s=n.i(i.a)(t.s,r.s),l=n.i(i.a)(t.l,r.l),u=n.i(i.a)(t.opacity,r.opacity);return function(e){return t.h=a(e),t.s=s(e),t.l=l(e),t.opacity=u(e),t+""}}}var o=n("./node_modules/d3-color/index.js"),i=n("./node_modules/d3-interpolate/src/color.js");r(i.b),r(i.a)},"./node_modules/d3-interpolate/src/lab.js":function(e,t,n){"use strict";n("./node_modules/d3-color/index.js"),n("./node_modules/d3-interpolate/src/color.js")},"./node_modules/d3-interpolate/src/number.js":function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t-=e,function(n){return e+t*n}}},"./node_modules/d3-interpolate/src/object.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-interpolate/src/value.js");t.a=function(e,t){var o,i={},a={};null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={});for(o in t)o in e?i[o]=n.i(r.a)(e[o],t[o]):a[o]=t[o];return function(e){for(o in i)a[o]=i[o](e);return a}}},"./node_modules/d3-interpolate/src/quantize.js":function(e,t,n){"use strict"},"./node_modules/d3-interpolate/src/rgb.js":function(e,t,n){"use strict";function r(e){return function(t){var r,i,a=t.length,s=new Array(a),l=new Array(a),u=new Array(a);for(r=0;rd&&(c=t.slice(d,c),f[p]?f[p]+=c:f[++p]=c),(l=l[0])===(u=u[0])?f[p]?f[p]+=u:f[++p]=u:(f[++p]=null,h.push({i:p,x:n.i(i.a)(l,u)})),d=s.lastIndex;return d180?t+=360:t-e>180&&(e+=360),s.push({i:r.push(a(r)+"rotate(",null,i)-2,x:n.i(o.a)(e,t)})):t&&r.push(a(r)+"rotate("+t+i)}function u(e,t,r,s){e!==t?s.push({i:r.push(a(r)+"skewX(",null,i)-2,x:n.i(o.a)(e,t)}):t&&r.push(a(r)+"skewX("+t+i)}function c(e,t,r,i,s,l){if(e!==r||t!==i){var u=s.push(a(s)+"scale(",null,",",null,")");l.push({i:u-4,x:n.i(o.a)(e,r)},{i:u-2,x:n.i(o.a)(t,i)})}else 1===r&&1===i||s.push(a(s)+"scale("+r+","+i+")")}return function(t,n){var r=[],o=[];return t=e(t),n=e(n),s(t.translateX,t.translateY,n.translateX,n.translateY,r,o),l(t.rotate,n.rotate,r,o),u(t.skewX,n.skewX,r,o),c(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,o),t=n=null,function(e){for(var t,n=-1,i=o.length;++ns)if(Math.abs(p*u-c*d)>s&&o){var h=n-a,m=r-l,g=u*u+c*c,y=h*h+m*m,v=Math.sqrt(g),b=Math.sqrt(f),_=o*Math.tan((i-Math.acos((g+f-y)/(2*v*b)))/2),A=_/b,x=_/v;Math.abs(A-1)>s&&(this._+="L"+(e+A*d)+","+(t+A*p)),this._+="A"+o+","+o+",0,0,"+ +(p*h>d*m)+","+(this._x1=e+x*u)+","+(this._y1=t+x*c)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,u){e=+e,t=+t,n=+n;var c=n*Math.cos(r),d=n*Math.sin(r),p=e+c,f=t+d,h=1^u,m=u?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+p+","+f:(Math.abs(this._x1-p)>s||Math.abs(this._y1-f)>s)&&(this._+="L"+p+","+f),n&&(m<0&&(m=m%a+a),m>l?this._+="A"+n+","+n+",0,1,"+h+","+(e-c)+","+(t-d)+"A"+n+","+n+",0,1,"+h+","+(this._x1=p)+","+(this._y1=f):m>s&&(this._+="A"+n+","+n+",0,"+ +(m>=i)+","+h+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}},t.a=o},"./node_modules/d3-quadtree/index.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-quadtree/src/quadtree.js");n.d(t,"a",function(){return r.a})},"./node_modules/d3-quadtree/src/add.js":function(e,t,n){"use strict";function r(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var o,i,a,s,l,u,c,d,p,f=e._root,h={data:r},m=e._x0,g=e._y0,y=e._x1,v=e._y1;if(!f)return e._root=h,e;for(;f.length;)if((u=t>=(i=(m+y)/2))?m=i:y=i,(c=n>=(a=(g+v)/2))?g=a:v=a,o=f,!(f=f[d=c<<1|u]))return o[d]=h,e;if(s=+e._x.call(null,f.data),l=+e._y.call(null,f.data),t===s&&n===l)return h.next=f,o?o[d]=h:e._root=h,e;do{o=o?o[d]=new Array(4):e._root=new Array(4),(u=t>=(i=(m+y)/2))?m=i:y=i,(c=n>=(a=(g+v)/2))?g=a:v=a}while((d=c<<1|u)==(p=(l>=a)<<1|s>=i));return o[p]=f,o[d]=h,e}function o(e){var t,n,o,i,a=e.length,s=new Array(a),l=new Array(a),u=1/0,c=1/0,d=-(1/0),p=-(1/0);for(n=0;nd&&(d=o),ip&&(p=i));for(de||e>o||r>t||t>i))return this;var a,s,l=o-n,u=this._root;switch(s=(t<(r+i)/2)<<1|e<(n+o)/2){case 0:do{a=new Array(4),a[s]=u,u=a}while(l*=2,o=n+l,i=r+l,e>o||t>i);break;case 1:do{a=new Array(4),a[s]=u,u=a}while(l*=2,n=o-l,i=r+l,n>e||t>i);break;case 2:do{a=new Array(4),a[s]=u,u=a}while(l*=2,o=n+l,r=i-l,e>o||r>t);break;case 3:do{a=new Array(4),a[s]=u,u=a}while(l*=2,n=o-l,r=i-l,n>e||r>t)}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=o,this._y1=i,this}},"./node_modules/d3-quadtree/src/data.js":function(e,t,n){"use strict";t.a=function(){var e=[];return this.visit(function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)}),e}},"./node_modules/d3-quadtree/src/extent.js":function(e,t,n){"use strict";t.a=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}},"./node_modules/d3-quadtree/src/find.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-quadtree/src/quad.js");t.a=function(e,t,n){var o,i,a,s,l,u,c,d=this._x0,p=this._y0,f=this._x1,h=this._y1,m=[],g=this._root;for(g&&m.push(new r.a(g,d,p,f,h)),null==n?n=1/0:(d=e-n,p=t-n,f=e+n,h=t+n,n*=n);u=m.pop();)if(!(!(g=u.node)||(i=u.x0)>f||(a=u.y0)>h||(s=u.x1)=v)<<1|e>=y)&&(u=m[m.length-1],m[m.length-1]=m[m.length-1-c],m[m.length-1-c]=u)}else{var b=e-+this._x.call(null,g.data),_=t-+this._y.call(null,g.data),A=b*b+_*_;if(A=(s=(h+g)/2))?h=s:g=s,(c=a>=(l=(m+y)/2))?m=l:y=l,t=f,!(f=f[d=c<<1|u]))return this;if(!f.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,p=d)}for(;f.data!==e;)if(r=f,!(f=f.next))return this;return(o=f.next)&&delete f.next,r?(o?r.next=o:delete r.next,this):t?(o?t[d]=o:delete t[d],(f=t[0]||t[1]||t[2]||t[3])&&f===(t[3]||t[2]||t[1]||t[0])&&!f.length&&(n?n[p]=f:this._root=f),this):(this._root=o,this)}},"./node_modules/d3-quadtree/src/root.js":function(e,t,n){"use strict";t.a=function(){return this._root}},"./node_modules/d3-quadtree/src/size.js":function(e,t,n){"use strict";t.a=function(){var e=0;return this.visit(function(t){if(!t.length)do{++e}while(t=t.next)}),e}},"./node_modules/d3-quadtree/src/visit.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-quadtree/src/quad.js");t.a=function(e){var t,n,o,i,a,s,l=[],u=this._root;for(u&&l.push(new r.a(u,this._x0,this._y0,this._x1,this._y1));t=l.pop();)if(!e(u=t.node,o=t.x0,i=t.y0,a=t.x1,s=t.y1)&&u.length){var c=(o+a)/2,d=(i+s)/2;(n=u[3])&&l.push(new r.a(n,c,d,a,s)),(n=u[2])&&l.push(new r.a(n,o,d,c,s)),(n=u[1])&&l.push(new r.a(n,c,i,a,d)),(n=u[0])&&l.push(new r.a(n,o,i,c,d))}return this}},"./node_modules/d3-quadtree/src/visitAfter.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-quadtree/src/quad.js");t.a=function(e){var t,n=[],o=[];for(this._root&&n.push(new r.a(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var i=t.node;if(i.length){var a,s=t.x0,l=t.y0,u=t.x1,c=t.y1,d=(s+u)/2,p=(l+c)/2;(a=i[0])&&n.push(new r.a(a,s,l,d,p)),(a=i[1])&&n.push(new r.a(a,d,l,u,p)),(a=i[2])&&n.push(new r.a(a,s,p,d,c)),(a=i[3])&&n.push(new r.a(a,d,p,u,c))}o.push(t)}for(;t=o.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this}},"./node_modules/d3-quadtree/src/x.js":function(e,t,n){"use strict";function r(e){return e[0]}t.a=r,t.b=function(e){return arguments.length?(this._x=e,this):this._x}},"./node_modules/d3-quadtree/src/y.js":function(e,t,n){"use strict";function r(e){return e[1]}t.a=r,t.b=function(e){return arguments.length?(this._y=e,this):this._y}},"./node_modules/d3-scale/index.js":function(e,t,n){"use strict";var r=(n("./node_modules/d3-scale/src/band.js"),n("./node_modules/d3-scale/src/identity.js"),n("./node_modules/d3-scale/src/linear.js"));n.d(t,"b",function(){return r.a});var o=(n("./node_modules/d3-scale/src/log.js"),n("./node_modules/d3-scale/src/ordinal.js"));n.d(t,"a",function(){return o.a});n("./node_modules/d3-scale/src/pow.js"),n("./node_modules/d3-scale/src/quantile.js"),n("./node_modules/d3-scale/src/quantize.js"),n("./node_modules/d3-scale/src/threshold.js"),n("./node_modules/d3-scale/src/time.js"),n("./node_modules/d3-scale/src/utcTime.js"),n("./node_modules/d3-scale/src/category10.js"),n("./node_modules/d3-scale/src/category20b.js"),n("./node_modules/d3-scale/src/category20c.js"),n("./node_modules/d3-scale/src/category20.js"),n("./node_modules/d3-scale/src/cubehelix.js"),n("./node_modules/d3-scale/src/rainbow.js"),n("./node_modules/d3-scale/src/viridis.js"),n("./node_modules/d3-scale/src/sequential.js")},"./node_modules/d3-scale/src/array.js":function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i});var r=Array.prototype,o=r.map,i=r.slice},"./node_modules/d3-scale/src/band.js":function(e,t,n){"use strict";n("./node_modules/d3-array/index.js"),n("./node_modules/d3-scale/src/ordinal.js")},"./node_modules/d3-scale/src/category10.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-scale/src/colors.js");n.i(r.a)("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf")},"./node_modules/d3-scale/src/category20.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-scale/src/colors.js");n.i(r.a)("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5")},"./node_modules/d3-scale/src/category20b.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-scale/src/colors.js");n.i(r.a)("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6")},"./node_modules/d3-scale/src/category20c.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-scale/src/colors.js");n.i(r.a)("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9")},"./node_modules/d3-scale/src/colors.js":function(e,t,n){"use strict";t.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},"./node_modules/d3-scale/src/constant.js":function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},"./node_modules/d3-scale/src/continuous.js":function(e,t,n){"use strict";function r(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:n.i(f.a)(t)}function o(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}function i(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function a(e,t,n,r){var o=e[0],i=e[1],a=t[0],s=t[1];return i2?s:a,c=f=null,l}function l(t){return(c||(c=u(g,y,b?o(e):e,v)))(+t)}var u,c,f,g=m,y=m,v=d.c,b=!1;return l.invert=function(e){return(f||(f=u(y,g,r,b?i(t):t)))(+e)},l.domain=function(e){return arguments.length?(g=p.a.call(e,h.a),n()):g.slice()},l.range=function(e){return arguments.length?(y=p.b.call(e),n()):y.slice()},l.rangeRound=function(e){return y=p.b.call(e),v=d.d,n()},l.clamp=function(e){return arguments.length?(b=!!e,n()):b},l.interpolate=function(e){return arguments.length?(v=e,n()):v},n()}var c=n("./node_modules/d3-array/index.js"),d=n("./node_modules/d3-interpolate/index.js"),p=n("./node_modules/d3-scale/src/array.js"),f=n("./node_modules/d3-scale/src/constant.js"),h=n("./node_modules/d3-scale/src/number.js");t.b=r,t.c=l,t.a=u;var m=[0,1]},"./node_modules/d3-scale/src/cubehelix.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-color/index.js"),o=n("./node_modules/d3-interpolate/index.js");n.i(o.e)(n.i(r.a)(300,.5,0),n.i(r.a)(-240,.5,1))},"./node_modules/d3-scale/src/identity.js":function(e,t,n){"use strict";n("./node_modules/d3-scale/src/array.js"),n("./node_modules/d3-scale/src/linear.js"),n("./node_modules/d3-scale/src/number.js")},"./node_modules/d3-scale/src/linear.js":function(e,t,n){"use strict";function r(e){var t=e.domain;return e.ticks=function(e){var r=t();return n.i(i.a)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){return n.i(l.a)(t(),e,r)},e.nice=function(r){var o=t(),a=o.length-1,s=null==r?10:r,l=o[0],u=o[a],c=n.i(i.b)(l,u,s);return c&&(c=n.i(i.b)(Math.floor(l/c)*c,Math.ceil(u/c)*c,s),o[0]=Math.floor(l/c)*c,o[a]=Math.ceil(u/c)*c,t(o)),e},e}function o(){var e=n.i(s.a)(s.b,a.b);return e.copy=function(){return n.i(s.c)(e,o())},r(e)}var i=n("./node_modules/d3-array/index.js"),a=n("./node_modules/d3-interpolate/index.js"),s=n("./node_modules/d3-scale/src/continuous.js"),l=n("./node_modules/d3-scale/src/tickFormat.js");t.b=r,t.a=o},"./node_modules/d3-scale/src/log.js":function(e,t,n){"use strict";n("./node_modules/d3-array/index.js"),n("./node_modules/d3-format/index.js"),n("./node_modules/d3-scale/src/constant.js"),n("./node_modules/d3-scale/src/nice.js"),n("./node_modules/d3-scale/src/continuous.js")},"./node_modules/d3-scale/src/nice.js":function(e,t,n){"use strict";t.a=function(e,t){e=e.slice();var n,r=0,o=e.length-1,i=e[r],a=e[o];return aD*D+O*O&&(E=T,k=S),{cx:E,cy:k,x01:-d,y01:-f,x11:E*(i/j-1),y11:k*(i/j-1)}}var c=n("./node_modules/d3-path/index.js"),d=n("./node_modules/d3-shape/src/constant.js"),p=n("./node_modules/d3-shape/src/math.js");t.a=function(){function e(){var e,r,o=+t.apply(this,arguments),i=+f.apply(this,arguments),a=g.apply(this,arguments)-p.f,s=y.apply(this,arguments)-p.f,d=n.i(p.g)(s-a),_=s>a;if(b||(b=e=n.i(c.a)()),ip.a)if(d>p.c-p.a)b.moveTo(i*n.i(p.h)(a),i*n.i(p.i)(a)),b.arc(0,0,i,a,s,!_),o>p.a&&(b.moveTo(o*n.i(p.h)(s),o*n.i(p.i)(s)),b.arc(0,0,o,s,a,_));else{var A,x,j=a,w=s,C=a,E=s,k=d,T=d,S=v.apply(this,arguments)/2,P=S>p.a&&(m?+m.apply(this,arguments):n.i(p.d)(o*o+i*i)),M=n.i(p.j)(n.i(p.g)(i-o)/2,+h.apply(this,arguments)),D=M,O=M;if(P>p.a){var I=n.i(p.k)(P/o*n.i(p.i)(S)),R=n.i(p.k)(P/i*n.i(p.i)(S));(k-=2*I)>p.a?(I*=_?1:-1,C+=I,E-=I):(k=0,C=E=(a+s)/2),(T-=2*R)>p.a?(R*=_?1:-1,j+=R,w-=R):(T=0,j=w=(a+s)/2)}var L=i*n.i(p.h)(j),F=i*n.i(p.i)(j),N=o*n.i(p.h)(E),B=o*n.i(p.i)(E);if(M>p.a){var z=i*n.i(p.h)(w),H=i*n.i(p.i)(w),U=o*n.i(p.h)(C),W=o*n.i(p.i)(C);if(dp.a?l(L,F,U,W,z,H,N,B):[N,B],V=L-q[0],G=F-q[1],K=z-q[0],Y=H-q[1],Q=1/n.i(p.i)(n.i(p.l)((V*K+G*Y)/(n.i(p.d)(V*V+G*G)*n.i(p.d)(K*K+Y*Y)))/2),X=n.i(p.d)(q[0]*q[0]+q[1]*q[1]);D=n.i(p.j)(M,(o-X)/(Q-1)),O=n.i(p.j)(M,(i-X)/(Q+1))}}T>p.a?O>p.a?(A=u(U,W,L,F,i,O,_),x=u(z,H,N,B,i,O,_),b.moveTo(A.cx+A.x01,A.cy+A.y01),Op.a&&k>p.a?D>p.a?(A=u(N,B,z,H,o,-D,_),x=u(L,F,U,W,o,-D,_),b.lineTo(A.cx+A.x01,A.cy+A.y01),D=o;--i)m.point(v[i],b[i]);m.lineEnd(),m.areaEnd()}y&&(v[t]=+l(a,t,e),b[t]=+c(a,t,e),m.point(u?+u(a,t,e):v[t],d?+d(a,t,e):b[t]))}if(s)return m=null,s+""||null}function t(){return n.i(a.a)().defined(p).curve(h).context(f)}var l=s.a,u=null,c=n.i(o.a)(0),d=s.b,p=n.i(o.a)(!0),f=null,h=i.a,m=null;return e.x=function(t){return arguments.length?(l="function"==typeof t?t:n.i(o.a)(+t),u=null,e):l},e.x0=function(t){return arguments.length?(l="function"==typeof t?t:n.i(o.a)(+t),e):l},e.x1=function(t){return arguments.length?(u=null==t?null:"function"==typeof t?t:n.i(o.a)(+t),e):u},e.y=function(t){return arguments.length?(c="function"==typeof t?t:n.i(o.a)(+t),d=null,e):c},e.y0=function(t){return arguments.length?(c="function"==typeof t?t:n.i(o.a)(+t),e):c},e.y1=function(t){return arguments.length?(d=null==t?null:"function"==typeof t?t:n.i(o.a)(+t),e):d},e.lineX0=e.lineY0=function(){return t().x(l).y(c)},e.lineY1=function(){return t().x(l).y(d)},e.lineX1=function(){return t().x(u).y(c)},e.defined=function(t){return arguments.length?(p="function"==typeof t?t:n.i(o.a)(!!t),e):p},e.curve=function(t){return arguments.length?(h=t,null!=f&&(m=h(f)),e):h},e.context=function(t){return arguments.length?(null==t?f=m=null:m=h(f=t),e):f},e}},"./node_modules/d3-shape/src/array.js":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var r=Array.prototype.slice},"./node_modules/d3-shape/src/constant.js":function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},"./node_modules/d3-shape/src/curve/basis.js":function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function o(e){this._context=e}t.b=r,t.a=o,o.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:r(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:r(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},"./node_modules/d3-shape/src/curve/basisClosed.js":function(e,t,n){"use strict";function r(e){this._context=e}var o=n("./node_modules/d3-shape/src/noop.js"),i=n("./node_modules/d3-shape/src/curve/basis.js");r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:n.i(i.b)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},"./node_modules/d3-shape/src/curve/basisOpen.js":function(e,t,n){"use strict";function r(e){this._context=e}var o=n("./node_modules/d3-shape/src/curve/basis.js");r.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,i=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:n.i(o.b)(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}}},"./node_modules/d3-shape/src/curve/bundle.js":function(e,t,n){"use strict";function r(e,t){this._basis=new o.a(e),this._beta=t}var o=n("./node_modules/d3-shape/src/curve/basis.js");r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,s=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};!function e(t){function n(e){return 1===t?new o.a(e):new r(e,t)}return n.beta=function(t){return e(+t)},n}(.85)},"./node_modules/d3-shape/src/curve/cardinal.js":function(e,t,n){"use strict";function r(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function o(e,t){this._context=e,this._k=(1-t)/6}t.b=r,t.a=o,o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:r(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};!function e(t){function n(e){return new o(e,t)}return n.tension=function(t){return e(+t)},n}(0)},"./node_modules/d3-shape/src/curve/cardinalClosed.js":function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}var o=n("./node_modules/d3-shape/src/noop.js"),i=n("./node_modules/d3-shape/src/curve/cardinal.js");t.a=r,r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:n.i(i.b)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};!function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},"./node_modules/d3-shape/src/curve/cardinalOpen.js":function(e,t,n){"use strict";function r(e,t){this._context=e,this._k=(1-t)/6}var o=n("./node_modules/d3-shape/src/curve/cardinal.js");t.a=r,r.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(e,t){switch(e=+e,t=+t,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:n.i(o.b)(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};!function e(t){function n(e){return new r(e,t)}return n.tension=function(t){return e(+t)},n}(0)},"./node_modules/d3-shape/src/curve/catmullRom.js":function(e,t,n){"use strict";function r(e,t,n){var r=e._x1,o=e._y1,a=e._x2,s=e._y2;if(e._l01_a>i.a){var l=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,u=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*l-e._x0*e._l12_2a+e._x2*e._l01_2a)/u,o=(o*l-e._y0*e._l12_2a+e._y2*e._l01_2a)/u}if(e._l23_a>i.a){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,d=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/d,s=(s*c+e._y1*e._l23_2a-n*e._l12_2a)/d}e._context.bezierCurveTo(r,o,a,s,e._x2,e._y2)}function o(e,t){this._context=e,this._alpha=t}var i=n("./node_modules/d3-shape/src/math.js"),a=n("./node_modules/d3-shape/src/curve/cardinal.js");t.a=r,o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){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(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};!function e(t){function n(e){return t?new o(e,t):new a.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},"./node_modules/d3-shape/src/curve/catmullRomClosed.js":function(e,t,n){"use strict";function r(e,t){this._context=e,this._alpha=t}var o=n("./node_modules/d3-shape/src/curve/cardinalClosed.js"),i=n("./node_modules/d3-shape/src/noop.js"),a=n("./node_modules/d3-shape/src/curve/catmullRom.js");r.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:n.i(a.a)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};!function e(t){function n(e){return t?new r(e,t):new o.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},"./node_modules/d3-shape/src/curve/catmullRomOpen.js":function(e,t,n){"use strict";function r(e,t){this._context=e,this._alpha=t}var o=n("./node_modules/d3-shape/src/curve/cardinalOpen.js"),i=n("./node_modules/d3-shape/src/curve/catmullRom.js");r.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(e,t){if(e=+e,t=+t,this._point){var r=this._x2-e,o=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+o*o,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:n.i(i.a)(this,e,t)}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=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};!function e(t){function n(e){return t?new r(e,t):new o.a(e,0)}return n.alpha=function(t){return e(+t)},n}(.5)},"./node_modules/d3-shape/src/curve/linear.js":function(e,t,n){"use strict";function r(e){this._context=e}r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},t.a=function(e){return new r(e)}},"./node_modules/d3-shape/src/curve/linearClosed.js":function(e,t,n){"use strict";function r(e){this._context=e}var o=n("./node_modules/d3-shape/src/noop.js");r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}}},"./node_modules/d3-shape/src/curve/monotone.js":function(e,t,n){"use strict";function r(e){return e<0?-1:1}function o(e,t,n){var o=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(o||i<0&&-0),s=(n-e._y1)/(i||o<0&&-0),l=(a*i+s*o)/(o+i);return(r(a)+r(s))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs(l))||0}function i(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function a(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function s(e){this._context=e}function l(e){this._context=new u(e)}function u(e){this._context=e}s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:a(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,a(this,i(this,n=o(this,e,t)),n);break;default:a(this,this._t0,n=o(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(l.prototype=Object.create(s.prototype)).point=function(e,t){s.prototype.point.call(this,t,e)},u.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}}},"./node_modules/d3-shape/src/curve/natural.js":function(e,t,n){"use strict";function r(e){this._context=e}function o(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}}},"./node_modules/d3-shape/src/descending.js":function(e,t,n){"use strict";t.a=function(e,t){return te?1:t>=e?0:NaN}},"./node_modules/d3-shape/src/identity.js":function(e,t,n){"use strict";t.a=function(e){return e}},"./node_modules/d3-shape/src/line.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-path/index.js"),o=n("./node_modules/d3-shape/src/constant.js"),i=n("./node_modules/d3-shape/src/curve/linear.js"),a=n("./node_modules/d3-shape/src/point.js");t.a=function(){function e(e){var o,i,a,p=e.length,f=!1;for(null==u&&(d=c(a=n.i(r.a)())),o=0;o<=p;++o)!(o1?0:e<-1?f:Math.acos(e)}function o(e){return e>=1?h:e<=-1?-h:Math.asin(e)}n.d(t,"g",function(){return i}),n.d(t,"m",function(){return a}),n.d(t,"h",function(){return s}),n.d(t,"e",function(){return l}),n.d(t,"j",function(){return u}),n.d(t,"i",function(){return c}),n.d(t,"d",function(){return d}),n.d(t,"a",function(){return p}),n.d(t,"b",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"c",function(){return m}),t.l=r,t.k=o;var i=Math.abs,a=Math.atan2,s=Math.cos,l=Math.max,u=Math.min,c=Math.sin,d=Math.sqrt,p=1e-12,f=Math.PI,h=f/2,m=2*f},"./node_modules/d3-shape/src/noop.js":function(e,t,n){"use strict";t.a=function(){}},"./node_modules/d3-shape/src/offset/expand.js":function(e,t,n){"use strict";n("./node_modules/d3-shape/src/offset/none.js")},"./node_modules/d3-shape/src/offset/none.js":function(e,t,n){"use strict";t.a=function(e,t){if((r=e.length)>1)for(var n,r,o=1,i=e[t[0]],a=i.length;o=0;)n[t]=t;return n}},"./node_modules/d3-shape/src/order/reverse.js":function(e,t,n){"use strict";n("./node_modules/d3-shape/src/order/none.js")},"./node_modules/d3-shape/src/pie.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-shape/src/constant.js"),o=n("./node_modules/d3-shape/src/descending.js"),i=n("./node_modules/d3-shape/src/identity.js"),a=n("./node_modules/d3-shape/src/math.js");t.a=function(){function e(e){var n,r,o,i,p,f=e.length,h=0,m=new Array(f),g=new Array(f),y=+u.apply(this,arguments),v=Math.min(a.c,Math.max(-a.c,c.apply(this,arguments)-y)),b=Math.min(Math.abs(v)/f,d.apply(this,arguments)),_=b*(v<0?-1:1);for(n=0;n0&&(h+=p);for(null!=s?m.sort(function(e,t){return s(g[e],g[t])}):null!=l&&m.sort(function(t,n){return l(e[t],e[n])}),n=0,o=h?(v-f*_)/h:0;n0?p*o:0)+_,g[r]={data:e[r],index:n,value:p,startAngle:y,endAngle:i,padAngle:b};return g}var t=i.a,s=o.a,l=null,u=n.i(r.a)(0),c=n.i(r.a)(a.c),d=n.i(r.a)(0);return e.value=function(o){return arguments.length?(t="function"==typeof o?o:n.i(r.a)(+o),e):t},e.sortValues=function(t){return arguments.length?(s=t,l=null,e):s},e.sort=function(t){return arguments.length?(l=t,s=null,e):l},e.startAngle=function(t){return arguments.length?(u="function"==typeof t?t:n.i(r.a)(+t),e):u},e.endAngle=function(t){return arguments.length?(c="function"==typeof t?t:n.i(r.a)(+t),e):c},e.padAngle=function(t){return arguments.length?(d="function"==typeof t?t:n.i(r.a)(+t),e):d},e}},"./node_modules/d3-shape/src/point.js":function(e,t,n){"use strict";function r(e){return e[0]}function o(e){return e[1]}t.a=r,t.b=o},"./node_modules/d3-shape/src/radialArea.js":function(e,t,n){"use strict";n("./node_modules/d3-shape/src/curve/radial.js"),n("./node_modules/d3-shape/src/area.js"),n("./node_modules/d3-shape/src/radialLine.js")},"./node_modules/d3-shape/src/radialLine.js":function(e,t,n){"use strict";function r(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(n.i(o.a)(e)):t()._curve},e}var o=n("./node_modules/d3-shape/src/curve/radial.js");n("./node_modules/d3-shape/src/line.js");t.a=r},"./node_modules/d3-shape/src/stack.js":function(e,t,n){"use strict";n("./node_modules/d3-shape/src/array.js"),n("./node_modules/d3-shape/src/constant.js"),n("./node_modules/d3-shape/src/offset/none.js"),n("./node_modules/d3-shape/src/order/none.js")},"./node_modules/d3-shape/src/symbol.js":function(e,t,n){"use strict";var r=(n("./node_modules/d3-path/index.js"),n("./node_modules/d3-shape/src/symbol/circle.js")),o=n("./node_modules/d3-shape/src/symbol/cross.js"),i=n("./node_modules/d3-shape/src/symbol/diamond.js"),a=n("./node_modules/d3-shape/src/symbol/star.js"),s=n("./node_modules/d3-shape/src/symbol/square.js"),l=n("./node_modules/d3-shape/src/symbol/triangle.js"),u=n("./node_modules/d3-shape/src/symbol/wye.js");n("./node_modules/d3-shape/src/constant.js"),r.a,o.a,i.a,s.a,a.a,l.a,u.a},"./node_modules/d3-shape/src/symbol/circle.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-shape/src/math.js");t.a={draw:function(e,t){var n=Math.sqrt(t/r.b);e.moveTo(n,0),e.arc(0,0,n,0,r.c)}}},"./node_modules/d3-shape/src/symbol/cross.js":function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}}},"./node_modules/d3-shape/src/symbol/diamond.js":function(e,t,n){"use strict";var r=Math.sqrt(1/3),o=2*r;t.a={draw:function(e,t){var n=Math.sqrt(t/o),i=n*r;e.moveTo(0,-n),e.lineTo(i,0),e.lineTo(0,n),e.lineTo(-i,0),e.closePath()}}},"./node_modules/d3-shape/src/symbol/square.js":function(e,t,n){"use strict";t.a={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}}},"./node_modules/d3-shape/src/symbol/star.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-shape/src/math.js"),o=Math.sin(r.b/10)/Math.sin(7*r.b/10),i=Math.sin(r.c/10)*o,a=-Math.cos(r.c/10)*o;t.a={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),o=i*n,s=a*n;e.moveTo(0,-n),e.lineTo(o,s);for(var l=1;l<5;++l){var u=r.c*l/5,c=Math.cos(u),d=Math.sin(u);e.lineTo(d*n,-c*n),e.lineTo(c*o-d*s,d*o+c*s)}e.closePath()}}},"./node_modules/d3-shape/src/symbol/triangle.js":function(e,t,n){"use strict";var r=Math.sqrt(3);t.a={draw:function(e,t){var n=-Math.sqrt(t/(3*r));e.moveTo(0,2*n),e.lineTo(-r*n,-n),e.lineTo(r*n,-n),e.closePath()}}},"./node_modules/d3-shape/src/symbol/wye.js":function(e,t,n){"use strict";var r=-.5,o=Math.sqrt(3)/2,i=1/Math.sqrt(12),a=3*(i/2+1);t.a={draw:function(e,t){var n=Math.sqrt(t/a),s=n/2,l=n*i,u=s,c=n*i+n,d=-u,p=c;e.moveTo(s,l),e.lineTo(u,c),e.lineTo(d,p),e.lineTo(r*s-o*l,o*s+r*l),e.lineTo(r*u-o*c,o*u+r*c),e.lineTo(r*d-o*p,o*d+r*p),e.lineTo(r*s+o*l,r*l-o*s),e.lineTo(r*u+o*c,r*c-o*u),e.lineTo(r*d+o*p,r*p-o*d),e.closePath()}}},"./node_modules/d3-time-format/index.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time-format/src/defaultLocale.js");n.d(t,"b",function(){return r.c}),n.d(t,"a",function(){return r.a});n("./node_modules/d3-time-format/src/locale.js"),n("./node_modules/d3-time-format/src/isoFormat.js"),n("./node_modules/d3-time-format/src/isoParse.js")},"./node_modules/d3-time-format/src/defaultLocale.js":function(e,t,n){"use strict";function r(e){return i=n.i(o.a)(e),a=i.format,s=i.parse,l=i.utcFormat,u=i.utcParse,i}var o=n("./node_modules/d3-time-format/src/locale.js");n.d(t,"c",function(){return a}),n.d(t,"a",function(){return l}),n.d(t,"b",function(){return u});var i,a,s,l,u;r({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"]})},"./node_modules/d3-time-format/src/isoFormat.js":function(e,t,n){"use strict";function r(e){return e.toISOString()}var o=n("./node_modules/d3-time-format/src/defaultLocale.js");n.d(t,"a",function(){return i});var i="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||n.i(o.a)(i)},"./node_modules/d3-time-format/src/isoParse.js":function(e,t,n){"use strict";function r(e){var t=new Date(e);return isNaN(t)?null:t}var o=n("./node_modules/d3-time-format/src/isoFormat.js"),i=n("./node_modules/d3-time-format/src/defaultLocale.js");+new Date("2000-01-01T00:00:00.000Z")||n.i(i.b)(o.a)},"./node_modules/d3-time-format/src/locale.js":function(e,t,n){"use strict";function r(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function o(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function i(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function a(e){function t(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date(+n));++s=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=Fe[o in te?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function s(e,t,n){var r=Ce.exec(t.slice(n));return r?(e.p=Ee[r[0].toLowerCase()],n+r[0].length):-1}function l(e,t,n){var r=Se.exec(t.slice(n));return r?(e.w=Pe[r[0].toLowerCase()],n+r[0].length):-1}function ee(e,t,n){var r=ke.exec(t.slice(n));return r?(e.w=Te[r[0].toLowerCase()],n+r[0].length):-1}function ne(e,t,n){var r=Oe.exec(t.slice(n));return r?(e.m=Ie[r[0].toLowerCase()],n+r[0].length):-1}function re(e,t,n){var r=Me.exec(t.slice(n));return r?(e.m=De[r[0].toLowerCase()],n+r[0].length):-1}function oe(e,t,n){return a(e,ye,t,n)}function ie(e,t,n){return a(e,ve,t,n)}function ae(e,t,n){return a(e,be,t,n)}function se(e){return xe[e.getDay()]}function le(e){return Ae[e.getDay()]}function ue(e){return we[e.getMonth()]}function ce(e){return je[e.getMonth()]}function de(e){return _e[+(e.getHours()>=12)]}function pe(e){return xe[e.getUTCDay()]}function fe(e){return Ae[e.getUTCDay()]}function he(e){return we[e.getUTCMonth()]}function me(e){return je[e.getUTCMonth()]}function ge(e){return _e[+(e.getUTCHours()>=12)]}var ye=e.dateTime,ve=e.date,be=e.time,_e=e.periods,Ae=e.days,xe=e.shortDays,je=e.months,we=e.shortMonths,Ce=u(_e),Ee=c(_e),ke=u(Ae),Te=c(Ae),Se=u(xe),Pe=c(xe),Me=u(je),De=c(je),Oe=u(we),Ie=c(we),Re={a:se,A:le,b:ue,B:ce,c:null,d:C,e:C,H:E,I:k,j:T,L:S,m:P,M:M,p:de,S:D,U:O,w:I,W:R,x:null,X:null,y:L,Y:F,Z:N,"%":$},Le={a:pe,A:fe,b:he,B:me,c:null,d:B,e:B,H:z,I:H,j:U,L:W,m:q,M:V,p:ge,S:G,U:K,w:Y,W:Q,x:null,X:null,y:X,Y:Z,Z:J,"%":$},Fe={a:l,A:ee,b:ne,B:re,c:oe,d:v,e:v,H:_,I:_,j:b,L:j,m:y,M:A,p:s,S:x,U:p,w:d,W:f,x:ie,X:ae,y:m,Y:h,Z:g,"%":w};return Re.x=t(ve,Re),Re.X=t(be,Re),Re.c=t(ye,Re),Le.x=t(ve,Le),Le.X=t(be,Le),Le.c=t(ye,Le),{format:function(e){var n=t(e+="",Re);return n.toString=function(){return e},n},parse:function(e){var t=n(e+="",r);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",Le);return n.toString=function(){return e},n},utcParse:function(e){var t=n(e,o);return t.toString=function(){return e},t}}}function s(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3),n+r[0].length):-1}function g(e,t,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function y(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function v(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function b(e,t,n){var r=ne.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function _(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function A(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function x(e,t,n){var r=ne.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function j(e,t,n){var r=ne.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function w(e,t,n){var r=re.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function C(e,t){return s(e.getDate(),t,2)}function E(e,t){return s(e.getHours(),t,2)}function k(e,t){return s(e.getHours()%12||12,t,2)}function T(e,t){return s(1+ee.i.count(n.i(ee.j)(e),e),t,3)}function S(e,t){return s(e.getMilliseconds(),t,3)}function P(e,t){return s(e.getMonth()+1,t,2)}function M(e,t){return s(e.getMinutes(),t,2)}function D(e,t){return s(e.getSeconds(),t,2)}function O(e,t){return s(ee.k.count(n.i(ee.j)(e),e),t,2)}function I(e){return e.getDay()}function R(e,t){return s(ee.l.count(n.i(ee.j)(e),e),t,2)}function L(e,t){return s(e.getFullYear()%100,t,2)}function F(e,t){return s(e.getFullYear()%1e4,t,4)}function N(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+s(t/60|0,"0",2)+s(t%60,"0",2)}function B(e,t){return s(e.getUTCDate(),t,2)}function z(e,t){return s(e.getUTCHours(),t,2)}function H(e,t){return s(e.getUTCHours()%12||12,t,2)}function U(e,t){return s(1+ee.d.count(n.i(ee.a)(e),e),t,3)}function W(e,t){return s(e.getUTCMilliseconds(),t,3)}function q(e,t){return s(e.getUTCMonth()+1,t,2)}function V(e,t){return s(e.getUTCMinutes(),t,2)}function G(e,t){return s(e.getUTCSeconds(),t,2)}function K(e,t){return s(ee.m.count(n.i(ee.a)(e),e),t,2)}function Y(e){return e.getUTCDay()}function Q(e,t){return s(ee.n.count(n.i(ee.a)(e),e),t,2)}function X(e,t){return s(e.getUTCFullYear()%100,t,2)}function Z(e,t){return s(e.getUTCFullYear()%1e4,t,4)}function J(){return"+0000"}function $(){return"%"}var ee=n("./node_modules/d3-time/index.js");t.a=a;var te={"-":"",_:" ",0:"0"},ne=/^\s*\d+/,re=/^%/,oe=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g},"./node_modules/d3-time/index.js":function(e,t,n){"use strict";var r=(n("./node_modules/d3-time/src/interval.js"),n("./node_modules/d3-time/src/millisecond.js"));n.d(t,"t",function(){return r.a}),n.d(t,"h",function(){return r.a});var o=n("./node_modules/d3-time/src/second.js");n.d(t,"s",function(){return o.a}),n.d(t,"g",function(){return o.a});var i=n("./node_modules/d3-time/src/minute.js");n.d(t,"r",function(){return i.a});var a=n("./node_modules/d3-time/src/hour.js");n.d(t,"q",function(){return a.a});var s=n("./node_modules/d3-time/src/day.js");n.d(t,"i",function(){return s.a});var l=n("./node_modules/d3-time/src/week.js");n.d(t,"p",function(){return l.a}),n.d(t,"k",function(){return l.a}),n.d(t,"l",function(){return l.b});var u=n("./node_modules/d3-time/src/month.js");n.d(t,"o",function(){return u.a});var c=n("./node_modules/d3-time/src/year.js");n.d(t,"j",function(){return c.a});var d=n("./node_modules/d3-time/src/utcMinute.js");n.d(t,"f",function(){return d.a});var p=n("./node_modules/d3-time/src/utcHour.js");n.d(t,"e",function(){return p.a});var f=n("./node_modules/d3-time/src/utcDay.js");n.d(t,"d",function(){return f.a});var h=n("./node_modules/d3-time/src/utcWeek.js");n.d(t,"c",function(){return h.a}),n.d(t,"m",function(){return h.a}),n.d(t,"n",function(){return h.b});var m=n("./node_modules/d3-time/src/utcMonth.js");n.d(t,"b",function(){return m.a});var g=n("./node_modules/d3-time/src/utcYear.js");n.d(t,"a",function(){return g.a})},"./node_modules/d3-time/src/day.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*o.d)/o.b},function(e){return e.getDate()-1});t.a=i;i.range},"./node_modules/d3-time/src/duration.js":function(e,t,n){"use strict";n.d(t,"e",function(){return r}),n.d(t,"d",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s});var r=1e3,o=6e4,i=36e5,a=864e5,s=6048e5},"./node_modules/d3-time/src/hour.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){var t=e.getTimezoneOffset()*o.d%o.c;t<0&&(t+=o.c),e.setTime(Math.floor((+e-t)/o.c)*o.c+t)},function(e,t){e.setTime(+e+t*o.c)},function(e,t){return(t-e)/o.c},function(e){return e.getHours()});t.a=i;i.range},"./node_modules/d3-time/src/interval.js":function(e,t,n){"use strict";function r(e,t,n,a){function s(t){return e(t=new Date(+t)),t}return s.floor=s,s.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},s.round=function(e){var t=s(e),n=s.ceil(e);return e-t0))return i;do{i.push(new Date(+n))}while(t(n,o),e(n),n=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(s.count=function(t,r){return o.setTime(+t),i.setTime(+r),e(o),e(i),Math.floor(n(o,i))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?function(t){return a(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}t.a=r;var o=new Date,i=new Date},"./node_modules/d3-time/src/millisecond.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n.i(r.a)(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?n.i(r.a)(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):o:null},t.a=o;o.range},"./node_modules/d3-time/src/minute.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){e.setTime(Math.floor(e/o.d)*o.d)},function(e,t){e.setTime(+e+t*o.d)},function(e,t){return(t-e)/o.d},function(e){return e.getMinutes()});t.a=i;i.range},"./node_modules/d3-time/src/month.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n.i(r.a)(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()});t.a=o;o.range},"./node_modules/d3-time/src/second.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){e.setTime(Math.floor(e/o.e)*o.e)},function(e,t){e.setTime(+e+t*o.e)},function(e,t){return(t-e)/o.e},function(e){return e.getUTCSeconds()});t.a=i;i.range},"./node_modules/d3-time/src/utcDay.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/o.b},function(e){return e.getUTCDate()-1});t.a=i;i.range},"./node_modules/d3-time/src/utcHour.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*o.c)},function(e,t){return(t-e)/o.c},function(e){return e.getUTCHours()});t.a=i;i.range},"./node_modules/d3-time/src/utcMinute.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n("./node_modules/d3-time/src/duration.js"),i=n.i(r.a)(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*o.d)},function(e,t){return(t-e)/o.d},function(e){return e.getUTCMinutes()});t.a=i;i.range},"./node_modules/d3-time/src/utcMonth.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n.i(r.a)(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()});t.a=o;o.range},"./node_modules/d3-time/src/utcWeek.js":function(e,t,n){"use strict";function r(e){return n.i(o.a)(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/i.a})}var o=n("./node_modules/d3-time/src/interval.js"),i=n("./node_modules/d3-time/src/duration.js");n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var a=r(0),s=r(1),l=r(2),u=r(3),c=r(4),d=r(5),p=r(6);a.range,s.range,l.range,u.range,c.range,d.range,p.range},"./node_modules/d3-time/src/utcYear.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n.i(r.a)(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.i(r.a)(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null},t.a=o;o.range},"./node_modules/d3-time/src/week.js":function(e,t,n){"use strict";function r(e){return n.i(o.a)(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*i.d)/i.a})}var o=n("./node_modules/d3-time/src/interval.js"),i=n("./node_modules/d3-time/src/duration.js");n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var a=r(0),s=r(1),l=r(2),u=r(3),c=r(4),d=r(5),p=r(6);a.range,s.range,l.range,u.range,c.range,d.range,p.range},"./node_modules/d3-time/src/year.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-time/src/interval.js"),o=n.i(r.a)(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});o.every=function(e){return isFinite(e=Math.floor(e))&&e>0?n.i(r.a)(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null},t.a=o;o.range},"./node_modules/d3-timer/index.js":function(e,t,n){"use strict";var r=n("./node_modules/d3-timer/src/timer.js");n.d(t,"a",function(){return r.a});n("./node_modules/d3-timer/src/timeout.js"),n("./node_modules/d3-timer/src/interval.js")},"./node_modules/d3-timer/src/interval.js":function(e,t,n){"use strict";n("./node_modules/d3-timer/src/timer.js")},"./node_modules/d3-timer/src/timeout.js":function(e,t,n){"use strict";n("./node_modules/d3-timer/src/timer.js")},"./node_modules/d3-timer/src/timer.js":function(e,t,n){"use strict";function r(){return b||(x(o),b=A.now()+_)}function o(){b=0}function i(){this._call=this._time=this._next=null}function a(e,t,n){var r=new i;return r.restart(e,t,n),r}function s(){r(),++h;for(var e,t=p;t;)(e=b-t._time)>=0&&t._call.call(null,e),t=t._next;--h}function l(){b=(v=A.now())+_,h=m=0;try{s()}finally{h=0,c(),b=0}}function u(){var e=A.now(),t=e-v;t>y&&(_-=t,v=e)}function c(){for(var e,t,n=p,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:p=t);f=e,d(r)}function d(e){if(!h){m&&(m=clearTimeout(m));var t=e-b;t>24?(e<1/0&&(m=setTimeout(l,t)),g&&(g=clearInterval(g))):(g||(v=b,g=setInterval(u,y)),h=1,x(l))}}t.c=r,t.b=i,t.a=a;var p,f,h=0,m=0,g=0,y=1e3,v=0,b=0,_=0,A="object"==typeof performance&&performance.now?performance:Date,x="function"==typeof requestAnimationFrame?requestAnimationFrame:function(e){setTimeout(e,17)};i.prototype=a.prototype={constructor:i,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?r():+n)+(null==t?0:+t),this._next||f===this||(f?f._next=this:p=this,f=this),this._call=e,this._time=n,d()},stop:function(){this._call&&(this._call=null,this._time=1/0,d())}}},"./node_modules/datastream/DataStream.js":function(e,t,n){(function(e){var n,r;DataStream=function(e,t,n){this._byteOffset=t||0,e instanceof ArrayBuffer?this.buffer=e:"object"==typeof e?(this.dataView=e,t&&(this._byteOffset+=t)):this.buffer=new ArrayBuffer(e||1),this.position=0,this.endianness=null==n?DataStream.LITTLE_ENDIAN:n},DataStream.prototype={},void 0===Uint8Array.prototype.BYTES_PER_ELEMENT&&(Uint8Array.prototype.BYTES_PER_ELEMENT=Uint8Array.BYTES_PER_ELEMENT,Int8Array.prototype.BYTES_PER_ELEMENT=Int8Array.BYTES_PER_ELEMENT,Uint8ClampedArray.prototype.BYTES_PER_ELEMENT=Uint8ClampedArray.BYTES_PER_ELEMENT,Uint16Array.prototype.BYTES_PER_ELEMENT=Uint16Array.BYTES_PER_ELEMENT,Int16Array.prototype.BYTES_PER_ELEMENT=Int16Array.BYTES_PER_ELEMENT,Uint32Array.prototype.BYTES_PER_ELEMENT=Uint32Array.BYTES_PER_ELEMENT,Int32Array.prototype.BYTES_PER_ELEMENT=Int32Array.BYTES_PER_ELEMENT,Float64Array.prototype.BYTES_PER_ELEMENT=Float64Array.BYTES_PER_ELEMENT),DataStream.prototype.save=function(e){var t=new Blob(this.buffer),n=window.webkitURL||window.URL;if(!n||!n.createObjectURL)throw"DataStream.save: Can't create object URL.";var r=n.createObjectURL(t),o=document.createElement("a");o.setAttribute("href",r),o.setAttribute("download",e),o.click(),n.revokeObjectURL(r)},DataStream.BIG_ENDIAN=!1,DataStream.LITTLE_ENDIAN=!0,DataStream.prototype._dynamicSize=!0,Object.defineProperty(DataStream.prototype,"dynamicSize",{get:function(){return this._dynamicSize},set:function(e){e||this._trimAlloc(),this._dynamicSize=e}}),DataStream.prototype._byteLength=0,Object.defineProperty(DataStream.prototype,"byteLength",{get:function(){return this._byteLength-this._byteOffset}}),Object.defineProperty(DataStream.prototype,"buffer",{get:function(){return this._trimAlloc(),this._buffer},set:function(e){this._buffer=e,this._dataView=new DataView(this._buffer,this._byteOffset),this._byteLength=this._buffer.byteLength}}),Object.defineProperty(DataStream.prototype,"byteOffset",{get:function(){return this._byteOffset},set:function(e){this._byteOffset=e,this._dataView=new DataView(this._buffer,this._byteOffset),this._byteLength=this._buffer.byteLength}}),Object.defineProperty(DataStream.prototype,"dataView",{get:function(){return this._dataView},set:function(e){this._byteOffset=e.byteOffset,this._buffer=e.buffer,this._dataView=new DataView(this._buffer,this._byteOffset),this._byteLength=this._byteOffset+e.byteLength}}),DataStream.prototype._realloc=function(e){if(this._dynamicSize){var t=this._byteOffset+this.position+e,n=this._buffer.byteLength;if(t<=n)return void(t>this._byteLength&&(this._byteLength=t));for(n<1&&(n=1);t>n;)n*=2;var r=new ArrayBuffer(n),o=new Uint8Array(this._buffer);new Uint8Array(r,0,o.length).set(o),this.buffer=r,this._byteLength=t}},DataStream.prototype._trimAlloc=function(){if(this._byteLength!=this._buffer.byteLength){var e=new ArrayBuffer(this._byteLength),t=new Uint8Array(e),n=new Uint8Array(this._buffer,0,t.length);t.set(n),this.buffer=e}},DataStream.prototype.seek=function(e){var t=Math.max(0,Math.min(this.byteLength,e));this.position=isNaN(t)||!isFinite(t)?0:t},DataStream.prototype.isEof=function(){return this.position>=this.byteLength},DataStream.prototype.mapInt32Array=function(e,t){this._realloc(4*e);var n=new Int32Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=4*e,n},DataStream.prototype.mapInt16Array=function(e,t){this._realloc(2*e);var n=new Int16Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=2*e,n},DataStream.prototype.mapInt8Array=function(e){this._realloc(1*e);var t=new Int8Array(this._buffer,this.byteOffset+this.position,e);return this.position+=1*e,t},DataStream.prototype.mapUint32Array=function(e,t){this._realloc(4*e);var n=new Uint32Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=4*e,n},DataStream.prototype.mapUint16Array=function(e,t){this._realloc(2*e);var n=new Uint16Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=2*e,n},DataStream.prototype.mapUint8Array=function(e){this._realloc(1*e);var t=new Uint8Array(this._buffer,this.byteOffset+this.position,e);return this.position+=1*e,t},DataStream.prototype.mapFloat64Array=function(e,t){this._realloc(8*e);var n=new Float64Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=8*e,n},DataStream.prototype.mapFloat32Array=function(e,t){this._realloc(4*e);var n=new Float32Array(this._buffer,this.byteOffset+this.position,e);return DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=4*e,n},DataStream.prototype.readInt32Array=function(e,t){e=null==e?this.byteLength-this.position/4:e;var n=new Int32Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readInt16Array=function(e,t){e=null==e?this.byteLength-this.position/2:e;var n=new Int16Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readInt8Array=function(e){e=null==e?this.byteLength-this.position:e;var t=new Int8Array(e);return DataStream.memcpy(t.buffer,0,this.buffer,this.byteOffset+this.position,e*t.BYTES_PER_ELEMENT),this.position+=t.byteLength,t},DataStream.prototype.readUint32Array=function(e,t){e=null==e?this.byteLength-this.position/4:e;var n=new Uint32Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readUint16Array=function(e,t){e=null==e?this.byteLength-this.position/2:e;var n=new Uint16Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readUint8Array=function(e){e=null==e?this.byteLength-this.position:e;var t=new Uint8Array(e);return DataStream.memcpy(t.buffer,0,this.buffer,this.byteOffset+this.position,e*t.BYTES_PER_ELEMENT),this.position+=t.byteLength,t},DataStream.prototype.readFloat64Array=function(e,t){e=null==e?this.byteLength-this.position/8:e;var n=new Float64Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.readFloat32Array=function(e,t){e=null==e?this.byteLength-this.position/4:e;var n=new Float32Array(e);return DataStream.memcpy(n.buffer,0,this.buffer,this.byteOffset+this.position,e*n.BYTES_PER_ELEMENT),DataStream.arrayToNative(n,null==t?this.endianness:t),this.position+=n.byteLength,n},DataStream.prototype.writeInt32Array=function(e,t){if(this._realloc(4*e.length),e instanceof Int32Array&&(this.byteOffset+this.position)%e.BYTES_PER_ELEMENT==0)DataStream.memcpy(this._buffer,this.byteOffset+this.position,e.buffer,0,e.byteLength),this.mapInt32Array(e.length,t);else for(var n=0;n0,DataStream.memcpy=function(e,t,n,r,o){var i=new Uint8Array(e,t,o),a=new Uint8Array(n,r,o);i.set(a)},DataStream.arrayToNative=function(e,t){return t==this.endianness?e:this.flipArrayEndianness(e)},DataStream.nativeToEndian=function(e,t){return this.endianness==t?e:this.flipArrayEndianness(e)},DataStream.flipArrayEndianness=function(e){for(var t=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=0;no;r--,o++){var i=t[o];t[o]=t[r],t[r]=i}return e},DataStream.createStringFromArray=function(e){for(var t=32768,n=[],r=0;r=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),a.default.mix(o,i)}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/dom-align/lib/utils.js"),a=r(i);t.default=o,e.exports=t.default},"./node_modules/dom-align/lib/getAlignOffset.js":function(e,t,n){"use strict";function r(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=void 0,s=void 0;return a=e.left,s=e.top,"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},"./node_modules/dom-align/lib/getElFuturePos.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var i=void 0,s=void 0,l=void 0,u=void 0;return i={left:e.left,top:e.top},l=(0,a.default)(t,n[1]),u=(0,a.default)(e,n[0]),s=[u.left-l.left,u.top-l.top],{left:i.left-s[0]+r[0]-o[0],top:i.top-s[1]+r[1]-o[1]}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/dom-align/lib/getAlignOffset.js"),a=r(i);t.default=o,e.exports=t.default},"./node_modules/dom-align/lib/getOffsetParent.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.ownerDocument,n=t.body,r=void 0,o=a.default.css(e,"position");if("fixed"!==o&&"absolute"!==o)return"html"===e.nodeName.toLowerCase()?null:e.parentNode;for(r=e.parentNode;r&&r!==n;r=r.parentNode)if("static"!==(o=a.default.css(r,"position")))return r;return null}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/dom-align/lib/utils.js"),a=r(i);t.default=o,e.exports=t.default},"./node_modules/dom-align/lib/getRegion.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0,n=void 0,r=void 0;if(a.default.isWindow(e)||9===e.nodeType){var o=a.default.getWindow(e);t={left:a.default.getWindowScrollLeft(o),top:a.default.getWindowScrollTop(o)},n=a.default.viewportWidth(o),r=a.default.viewportHeight(o)}else t=a.default.offset(e),n=a.default.outerWidth(e),r=a.default.outerHeight(e);return t.width=n,t.height=r,t}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/dom-align/lib/utils.js"),a=r(i);t.default=o,e.exports=t.default},"./node_modules/dom-align/lib/getVisibleRectForElement.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t={left:0,right:1/0,top:0,bottom:1/0},n=(0,l.default)(e),r=void 0,o=void 0,i=void 0,s=e.ownerDocument,u=s.defaultView||s.parentWindow,c=s.body,d=s.documentElement;n;){if(navigator.userAgent.indexOf("MSIE")!==-1&&0===n.clientWidth||n===c||n===d||"visible"===a.default.css(n,"overflow")){if(n===c||n===d)break}else{var p=a.default.offset(n);p.left+=n.clientLeft,p.top+=n.clientTop,t.top=Math.max(t.top,p.top),t.right=Math.min(t.right,p.left+n.clientWidth),t.bottom=Math.min(t.bottom,p.top+n.clientHeight),t.left=Math.max(t.left,p.left)}n=(0,l.default)(n)}return r=a.default.getWindowScrollLeft(u),o=a.default.getWindowScrollTop(u),t.left=Math.max(t.left,r),t.top=Math.max(t.top,o),i={width:a.default.viewportWidth(u),height:a.default.viewportHeight(u)},t.right=Math.min(t.right,r+i.width),t.bottom=Math.min(t.bottom,o+i.height),t.top>=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/dom-align/lib/utils.js"),a=r(i),s=n("./node_modules/dom-align/lib/getOffsetParent.js"),l=r(s);t.default=o,e.exports=t.default},"./node_modules/dom-align/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return e.leftn.right}function i(e,t,n){return e.topn.bottom}function a(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height",e.children&&(n+=h(e.children,t)),f[e.name]&&!t.xmlMode||(n+="")):n+="/>",n}function i(e){return"<"+e.data+">"}function a(e,t){var n=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in p||(n=c.encodeXML(n)),n}function s(e){return""}function l(e){return""}var u=n("./node_modules/dom-serializer/node_modules/domelementtype/index.js"),c=n("./node_modules/entities/index.js"),d={__proto__:null,allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,hidden:!0,ismap:!0,loop:!0,multiple:!0,muted:!0,open:!0,readonly:!0,required:!0,reversed:!0,scoped:!0,seamless:!0,selected:!0,typemustmatch:!0},p={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},f={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},h=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var n="",r=0;r-1;){for(t=n=e[o],e[o]=null,r=!0;n;){if(e.indexOf(n)>-1){r=!1,e.splice(o,1);break}n=n.parent}r&&(e[o]=t)}return e};var n={DISCONNECTED:1,PRECEDING:2,FOLLOWING:4,CONTAINS:8,CONTAINED_BY:16},r=t.compareDocumentPosition=function(e,t){var r,o,i,a,s,l,u=[],c=[];if(e===t)return 0;for(r=e;r;)u.unshift(r),r=r.parent;for(r=t;r;)c.unshift(r),r=r.parent;for(l=0;u[l]===c[l];)l++;return 0===l?n.DISCONNECTED:(o=u[l-1],i=o.children,a=u[l],s=c[l],i.indexOf(a)>i.indexOf(s)?o===t?n.FOLLOWING|n.CONTAINED_BY:n.FOLLOWING:o===e?n.PRECEDING|n.CONTAINS:n.PRECEDING)};t.uniqueSort=function(e){var t,o,i=e.length;for(e=e.slice();--i>-1;)t=e[i],(o=e.indexOf(t))>-1&&o0&&(i=o(e,i,n,r),a=a.concat(i),(r-=i.length)<=0)));s++);return a}function i(e,t){for(var n=0,r=t.length;n0&&(n=a(e,t[r].children)));return n}function s(e,t){for(var n=0,r=t.length;n0&&s(e,t[n].children)))return!0;return!1}function l(e,t){for(var n=[],r=0,o=t.length;r0&&(n=n.concat(l(e,t[r].children))));return n}var u=n("./node_modules/domelementtype/index.js").isTag;e.exports={filter:r,find:o,findOneChild:i,findOne:a,existsOne:s,findAll:l}},"./node_modules/domutils/lib/stringify.js":function(e,t,n){function r(e,t){return e.children?e.children.map(function(e){return a(e,t)}).join(""):""}function o(e){return Array.isArray(e)?e.map(o).join(""):s(e)||e.type===i.CDATA?o(e.children):e.type===i.Text?e.data:""}var i=n("./node_modules/domelementtype/index.js"),a=n("./node_modules/dom-serializer/index.js"),s=i.isTag;e.exports={getInnerHTML:r,getOuterHTML:a,getText:o}},"./node_modules/domutils/lib/traversal.js":function(e,t){var n=t.getChildren=function(e){return e.children},r=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=r(e);return t?n(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},"./node_modules/draft-js-prism/lib/index.js":function(e,t,n){function r(e){this.options=s(e||{}),this.highlighted={}}function o(e,t,n,r){for(var o=t;o1||e.first().getLength()>0},t.prototype.createEntity=function(e,t,n){return u.__create(e,t,n),this},t.prototype.mergeEntityData=function(e,t){return u.__mergeData(e,t),this},t.prototype.replaceEntityData=function(e,t){return u.__replaceData(e,t),this},t.prototype.addEntity=function(e){return u.__add(e),this},t.prototype.getEntity=function(e){return u.__get(e)},t.createFromBlockArray=function(e,n){var r=Array.isArray(e)?e:e.contentBlocks,o=a.createFromArray(r),i=o.isEmpty()?new d:d.createEmpty(o.first().getKey());return new t({blockMap:o,entityMap:n||u,selectionBefore:i,selectionAfter:i})},t.createFromText=function(e){var n=arguments.length<=1||void 0===arguments[1]?/\r\n?|\n/g:arguments[1],r=e.split(n),o=r.map(function(e){return e=f(e),new l({key:p(),text:e,type:"unstyled",characterList:h(g(s.EMPTY,e.length))})});return t.createFromBlockArray(o)},t}(v);e.exports=b},"./node_modules/draft-js/lib/ContentStateInlineStyle.js":function(e,t,n){"use strict";function r(e,t,n,r){var i=e.getBlockMap(),s=t.getStartKey(),l=t.getStartOffset(),u=t.getEndKey(),c=t.getEndOffset(),d=i.skipUntil(function(e,t){return t===s}).takeUntil(function(e,t){return t===u}).concat(a([[u,i.get(u)]])).map(function(e,t){var i,a;s===u?(i=l,a=c):(i=t===s?l:0,a=t===u?c:e.getLength());for(var d,p=e.getCharacterList();i0&&window.scrollTo(i.x,i.y+n+x)}else{n=r.offsetHeight+r.offsetTop-(o.offsetHeight+i.y),n>0&&f.setTop(o,f.getTop(o)+n+x)}}},t.prototype._renderChildren=function(){var e=this,t=this.props.block,n=t.getKey(),r=t.getText(),o=this.props.tree.size-1,i=a(this.props.selection,n);return this.props.tree.map(function(a,s){var p=a.get("leaves"),f=p.size-1,h=p.map(function(a,l){var p=c.encode(n,s,l),h=a.get("start"),m=a.get("end");return d.createElement(u,{key:p,offsetKey:p,blockKey:n,start:h,selection:i?e.props.selection:void 0,forceSelection:e.props.forceSelection,text:r.slice(h,m),styleSet:t.getInlineStyleAt(h),customStyleMap:e.props.customStyleMap,customStyleFn:e.props.customStyleFn,isLast:s===o&&l===f})}).toArray(),y=a.get("decoratorKey");if(null==y)return h;if(!e.props.decorator)return h;var v=A(e.props.decorator),b=v.getComponentForKey(y);if(!b)return h;var _=v.getPropsForKey(y),x=c.encode(n,s,0),j=r.slice(p.first().get("start"),p.last().get("end")),w=g.getHTMLDirIfDifferent(m.getDirection(j),e.props.direction);return d.createElement(b,l({},_,{contentState:e.props.contentState,decoratedText:j,dir:w,key:x,entityKey:t.getEntityAt(a.get("start")),offsetKey:x}),h)}).toArray()},t.prototype.render=function(){var e=this.props,t=e.direction,n=e.offsetKey,r=y({"public/DraftStyleDefault/block":!0,"public/DraftStyleDefault/ltr":"LTR"===t,"public/DraftStyleDefault/rtl":"RTL"===t});return d.createElement("div",{"data-offset-key":n,className:r},this._renderChildren())},t}(d.Component);e.exports=j},"./node_modules/draft-js/lib/DraftEditorCompositionHandler.js":function(e,t,n){"use strict";var r=n("./node_modules/draft-js/lib/DraftModifier.js"),o=n("./node_modules/draft-js/lib/EditorState.js"),i=n("./node_modules/fbjs/lib/Keys.js"),a=n("./node_modules/draft-js/lib/getEntityKeyForSelection.js"),s=n("./node_modules/draft-js/lib/isSelectionAtLeafStart.js"),l=20,u=!1,c=!1,d="",p={onBeforeInput:function(e,t){d=(d||"")+t.data},onCompositionStart:function(e){c=!0},onCompositionEnd:function(e){u=!1,c=!1,setTimeout(function(){u||p.resolveComposition(e)},l)},onKeyDown:function(e,t){if(!c)return p.resolveComposition(e),void e._onKeyDown(t);t.which!==i.RIGHT&&t.which!==i.LEFT||t.preventDefault()},onKeyPress:function(e,t){t.which===i.RETURN&&t.preventDefault()},resolveComposition:function(e){if(!c){u=!0;var t=d;d="";var n=o.set(e._latestEditorState,{inCompositionMode:!1}),i=n.getCurrentInlineStyle(),l=a(n.getCurrentContent(),n.getSelection()),p=!t||s(n)||i.size>0||null!==l;if(p&&e.restoreEditorDOM(),e.exitCurrentMode(),t){var f=r.replaceText(n.getCurrentContent(),n.getSelection(),t,i,l);return void e.update(o.push(n,f,"insert-characters"))}p&&e.update(o.set(n,{nativelyRenderedContent:null,forceSelection:!0}))}}};e.exports=p},"./node_modules/draft-js/lib/DraftEditorContents.react.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e,t,n,r){return p({"public/DraftStyleDefault/unorderedListItem":"unordered-list-item"===e,"public/DraftStyleDefault/orderedListItem":"ordered-list-item"===e,"public/DraftStyleDefault/reset":n,"public/DraftStyleDefault/depth0":0===t,"public/DraftStyleDefault/depth1":1===t,"public/DraftStyleDefault/depth2":2===t,"public/DraftStyleDefault/depth3":3===t,"public/DraftStyleDefault/depth4":4===t,"public/DraftStyleDefault/listLTR":"LTR"===r,"public/DraftStyleDefault/listRTL":"RTL"===r})}var s=n("./node_modules/object-assign/index.js"),l=s||function(e){for(var t=1;t_,P))}var N=k||u,B={className:F,"data-block":!0,"data-editor":this.props.editorKey,"data-offset-key":M,key:w};void 0!==S&&(B=l({},B,{contentEditable:S,suppressContentEditableWarning:!0}));var z=d.createElement(R,B,d.createElement(N,D));b.push({block:z,wrapperTemplate:I,key:w,offsetKey:M}),_=I?j.getDepth():null,A=I}for(var H=[],U=0;U0){if(e.props.handleDroppedFiles&&f(e.props.handleDroppedFiles(l,u)))return;return void c(u,function(t){t&&e.update(i(s,p(l),t))})}var d=e._internalDrag?"internal":"external";if(!e.props.handleDrop||!f(e.props.handleDrop(l,n,d)))return e._internalDrag?void e.update(o(s,l)):void e.update(i(s,l,n.getText()))}}};e.exports=h},"./node_modules/draft-js/lib/DraftEditorEditHandler.js":function(e,t,n){"use strict";var r=n("./node_modules/draft-js/lib/editOnBeforeInput.js"),o=n("./node_modules/draft-js/lib/editOnBlur.js"),i=n("./node_modules/draft-js/lib/editOnCompositionStart.js"),a=n("./node_modules/draft-js/lib/editOnCopy.js"),s=n("./node_modules/draft-js/lib/editOnCut.js"),l=n("./node_modules/draft-js/lib/editOnDragOver.js"),u=n("./node_modules/draft-js/lib/editOnDragStart.js"),c=n("./node_modules/draft-js/lib/editOnFocus.js"),d=n("./node_modules/draft-js/lib/editOnInput.js"),p=n("./node_modules/draft-js/lib/editOnKeyDown.js"),f=n("./node_modules/draft-js/lib/editOnPaste.js"),h=n("./node_modules/draft-js/lib/editOnSelect.js"),m={onBeforeInput:r,onBlur:o,onCompositionStart:i,onCopy:a,onCut:s,onDragOver:l,onDragStart:u,onFocus:c,onInput:d,onKeyDown:p,onPaste:f,onSelect:h};e.exports=m},"./node_modules/draft-js/lib/DraftEditorLeaf.react.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n("./node_modules/object-assign/index.js"),s=n("./node_modules/draft-js/lib/DraftEditorTextNode.react.js"),l=n("./node_modules/react/react.js"),u=n("./node_modules/react-dom/index.js"),c=(n("./node_modules/draft-js/lib/SelectionState.js"),n("./node_modules/draft-js/lib/setDraftEditorSelection.js")),d=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype._setSelection=function(){var e=this.props.selection;if(null!=e&&e.getHasFocus()){var t=this.props,n=t.blockKey,r=t.start,o=t.text,i=r+o.length;if(e.hasEdgeWithin(n,r,i)){var a=u.findDOMNode(this),s=a.firstChild,l=void 0;l=s.nodeType===Node.TEXT_NODE?s:"BR"===s.tagName?a:s.firstChild,c(e,l,n,r,i)}}},t.prototype.shouldComponentUpdate=function(e){return u.findDOMNode(this.refs.leaf).textContent!==e.text||e.styleSet!==this.props.styleSet||e.forceSelection},t.prototype.componentDidUpdate=function(){this._setSelection()},t.prototype.componentDidMount=function(){this._setSelection()},t.prototype.render=function(){var e=this.props.text;e.endsWith("\n")&&this.props.isLast&&(e+="\n");var t=this.props,n=t.customStyleMap,r=t.customStyleFn,o=t.offsetKey,i=t.styleSet,u=i.reduce(function(e,t){var r={},o=n[t];return void 0!==o&&e.textDecoration!==o.textDecoration&&(r.textDecoration=[e.textDecoration,o.textDecoration].join(" ").trim()),a(e,o,r)},{});if(r){u=a(u,r(i))}return l.createElement("span",{"data-offset-key":o,ref:"leaf",style:u},l.createElement(s,null,e))},t}(l.Component);e.exports=d},"./node_modules/draft-js/lib/DraftEditorPlaceholder.react.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n("./node_modules/react/react.js"),s=n("./node_modules/fbjs/lib/cx.js"),l=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.shouldComponentUpdate=function(e){return this.props.text!==e.text||this.props.editorState.getSelection().getHasFocus()!==e.editorState.getSelection().getHasFocus()},t.prototype.render=function(){var e=this.props.editorState.getSelection().getHasFocus(),t=s({"public/DraftEditorPlaceholder/root":!0,"public/DraftEditorPlaceholder/hasFocus":e});return a.createElement("div",{className:t},a.createElement("div",{className:s("public/DraftEditorPlaceholder/inner"),id:this.props.accessibilityID},this.props.text))},t}(a.Component);e.exports=l},"./node_modules/draft-js/lib/DraftEditorTextNode.react.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return c?"\n"===e.textContent:"BR"===e.tagName}var s=n("./node_modules/react/react.js"),l=n("./node_modules/react-dom/index.js"),u=n("./node_modules/fbjs/lib/UserAgent.js"),c=u.isBrowser("IE <= 11"),d=c?s.createElement("span",{key:"A","data-text":"true"},"\n"):s.createElement("br",{key:"A","data-text":"true"}),p=c?s.createElement("span",{key:"B","data-text":"true"},"\n"):s.createElement("br",{key:"B","data-text":"true"}),f=function(e){function t(n){r(this,t);var i=o(this,e.call(this,n));return i._forceFlag=!1,i}return i(t,e),t.prototype.shouldComponentUpdate=function(e){var t=l.findDOMNode(this);return""===e.children?!a(t):t.textContent!==e.children},t.prototype.componentWillUpdate=function(){this._forceFlag=!this._forceFlag},t.prototype.render=function(){return""===this.props.children?this._forceFlag?d:p:s.createElement("span",{key:this._forceFlag?"A":"B","data-text":"true"},this.props.children)},t}(s.Component);e.exports=f},"./node_modules/draft-js/lib/DraftEntity.js":function(e,t,n){"use strict";function r(e,t){console.warn("WARNING: "+e+' will be deprecated soon!\nPlease use "'+t+'" instead.')}var o=n("./node_modules/object-assign/index.js"),i=o||function(e){for(var t=1;t0)return" "+e}else if(t0?o.getInlineStyleAt(r-1):o.getLength()?o.getInlineStyleAt(0):d(e,n)}function c(e,t){var n=t.getStartKey(),r=t.getStartOffset(),o=e.getBlockForKey(n);return r0?o.getInlineStyleAt(r-1):d(e,n)}function d(e,t){for(var n,r=e.getBlockBefore(t);r;){if(n=r.getLength())return r.getInlineStyleAt(n-1);r=e.getBlockBefore(r.getKey())}return b()}var p=n("./node_modules/object-assign/index.js"),f=p||function(e){for(var t=1;t0)return null;var s=a.getType(),l=i.getBlockBefore(o);if("code-block"===s&&l&&"code-block"===l.getType())return null;if("unstyled"!==s)return r.setBlockType(i,t,"unstyled")}return null}};e.exports=s},"./node_modules/draft-js/lib/SecondaryClipboard.js":function(e,t,n){"use strict";var r=n("./node_modules/draft-js/lib/DraftModifier.js"),o=n("./node_modules/draft-js/lib/EditorState.js"),i=n("./node_modules/draft-js/lib/getContentStateFragment.js"),a=n("./node_modules/fbjs/lib/nullthrows.js"),s=null,l={cut:function(e){var t=e.getCurrentContent(),n=e.getSelection(),l=null;if(n.isCollapsed()){var u=n.getAnchorKey(),c=t.getBlockForKey(u).getLength();if(c===n.getAnchorOffset())return e;l=n.set("focusOffset",c)}else l=n;l=a(l),s=i(t,l);var d=r.removeRange(t,l,"forward");return d===t?e:o.push(e,d,"remove-range")},paste:function(e){if(!s)return e;var t=r.replaceWithFragment(e.getCurrentContent(),e.getSelection(),s);return o.push(e,t,"insert-fragment")}};e.exports=l},"./node_modules/draft-js/lib/SelectionState.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n("./node_modules/draft-js/node_modules/immutable/dist/immutable.js"),s=a.Record,l={anchorKey:"",anchorOffset:0,focusKey:"",focusOffset:0,isBackward:!1,hasFocus:!1},u=s(l),c=function(e){function t(){return r(this,t),o(this,e.apply(this,arguments))}return i(t,e),t.prototype.serialize=function(){return"Anchor: "+this.getAnchorKey()+":"+this.getAnchorOffset()+", Focus: "+this.getFocusKey()+":"+this.getFocusOffset()+", Is Backward: "+String(this.getIsBackward())+", Has Focus: "+String(this.getHasFocus())},t.prototype.getAnchorKey=function(){return this.get("anchorKey")},t.prototype.getAnchorOffset=function(){return this.get("anchorOffset")},t.prototype.getFocusKey=function(){return this.get("focusKey")},t.prototype.getFocusOffset=function(){return this.get("focusOffset")},t.prototype.getIsBackward=function(){return this.get("isBackward")},t.prototype.getHasFocus=function(){return this.get("hasFocus")},t.prototype.hasEdgeWithin=function(e,t,n){var r=this.getAnchorKey(),o=this.getFocusKey();if(r===o&&r===e){var i=this.getStartOffset();return t<=this.getEndOffset()&&i<=n}if(e!==r&&e!==o)return!1;var a=e===r?this.getAnchorOffset():this.getFocusOffset();return t<=a&&n>=a},t.prototype.isCollapsed=function(){return this.getAnchorKey()===this.getFocusKey()&&this.getAnchorOffset()===this.getFocusOffset()},t.prototype.getStartKey=function(){return this.getIsBackward()?this.getFocusKey():this.getAnchorKey()},t.prototype.getStartOffset=function(){return this.getIsBackward()?this.getFocusOffset():this.getAnchorOffset()},t.prototype.getEndKey=function(){return this.getIsBackward()?this.getAnchorKey():this.getFocusKey()},t.prototype.getEndOffset=function(){return this.getIsBackward()?this.getAnchorOffset():this.getFocusOffset()},t.createEmpty=function(e){return new t({anchorKey:e,anchorOffset:0,focusKey:e,focusOffset:0,isBackward:!1,hasFocus:!1})},t}(u);e.exports=c},"./node_modules/draft-js/lib/adjustBlockDepthForContentState.js":function(e,t,n){"use strict";function r(e,t,n,r){var o=t.getStartKey(),i=t.getEndKey(),a=e.getBlockMap(),s=a.toSeq().skipUntil(function(e,t){return t===o}).takeUntil(function(e,t){return t===i}).concat([[i,a.get(i)]]).map(function(e){var t=e.getDepth()+n;return t=Math.max(0,Math.min(t,r)),e.set("depth",t)});return a=a.merge(s),e.merge({blockMap:a,selectionBefore:t,selectionAfter:t})}e.exports=r},"./node_modules/draft-js/lib/applyEntityToContentBlock.js":function(e,t,n){"use strict";function r(e,t,n,r){for(var i=e.getCharacterList();t=0?t.add("BOLD"):W.indexOf(n)>=0&&t.remove("BOLD"),"italic"===r?t.add("ITALIC"):"normal"===r&&t.remove("ITALIC"),"underline"===o&&t.add("UNDERLINE"),"line-through"===o&&t.add("STRIKETHROUGH"),"none"===o&&(t.remove("UNDERLINE"),t.remove("STRIKETHROUGH"))}).toOrderedSet()}(),n}function p(e,t){var n=e.text.slice(-1),r=t.text.slice(0,1);if("\r"===n&&"\r"===r&&(e.text=e.text.slice(0,-1),e.inlines.pop(),e.entities.pop(),e.blocks.pop()),"\r"===n){if(t.text===R||"\n"===t.text)return e;r!==R&&"\n"!==r||(t.text=t.text.slice(1),t.inlines.shift(),t.entities.shift())}return{text:e.text+t.text,inlines:e.inlines.concat(t.inlines),entities:e.entities.concat(t.entities),blocks:e.blocks.concat(t.blocks)}}function f(e,t){return t.some(function(t){return e.indexOf("<"+t)!==-1})}function h(e){e instanceof HTMLAnchorElement||k(!1);var t=e.protocol;return"http:"===t||"https:"===t||"mailto:"===t}function m(e,t,n,s,l,u,f,g,y){var b=t.nodeName.toLowerCase(),_=!1,A="unstyled",j=v,C=e;if("#text"===b){var E=t.textContent;return""===E.trim()&&"pre"!==l?{chunk:o(y),entityMap:e}:("pre"!==l&&(E=E.replace(N,R)),v=b,{chunk:{text:E,inlines:Array(E.length).fill(n),entities:Array(E.length).fill(y),blocks:[]},entityMap:e})}if(v=b,"br"===b)return"br"!==j||l&&"unstyled"!==c(l,s,g)?{chunk:i(),entityMap:e}:{chunk:a("unstyled",f),entityMap:e};"img"===b&&t instanceof HTMLImageElement&&t.attributes.getNamedItem("src")&&t.attributes.getNamedItem("src").value&&function(){var e=t,n={};G.forEach(function(t){var r=e.getAttribute(t);r&&(n[t]=r)});var r=new w(n.src).toString();t.textContent=r,y=x.__create("IMAGE","MUTABLE",n||{})}();var k=r(),T=null;n=d(b,t,n),"ul"!==b&&"ol"!==b||(s&&(f+=1),s=b),l||u.indexOf(b)===-1?s&&"li"===l&&"li"===b&&(k=a(c(b,s,g),f),l=b,_=!0,A="ul"===s?"unordered-list-item":"ordered-list-item"):(k=a(c(b,s,g),f),l=b,_=!0);var S=t.firstChild;null!=S&&(b=S.nodeName.toLowerCase());for(var P=null;S;){S instanceof HTMLAnchorElement&&S.href&&h(S)?function(){var e=S,t={};V.forEach(function(n){var r=e.getAttribute(n);r&&(t[n]=r)}),t.url=new w(e.href).toString(),P=x.__create("LINK","MUTABLE",t||{})}():P=void 0;var M=m(C,S,n,s,l,u,f,g,P||y),D=M.chunk,O=M.entityMap;T=D,C=O,k=p(k,T);var I=S.nextSibling;I&&u.indexOf(b)>=0&&l&&(k=p(k,i())),I&&(b=I.nodeName.toLowerCase()),S=I}return _&&(k=p(k,a(A,f))),{chunk:k,entityMap:C}}function g(e,t,n,r){e=e.trim().replace(F,"").replace(B,R).replace(z,"").replace(H,"");var o=l(n),i=t(e);if(!i)return null;v=null;var a=f(e,o)?o:["div"],s=m(r,i,O(),"ul",null,a,-1,n),u=s.chunk,c=s.entityMap;return 0===u.text.indexOf("\r")&&(u={text:u.text.slice(1),inlines:u.inlines.slice(1),entities:u.entities.slice(1),blocks:u.blocks}),"\r"===u.text.slice(-1)&&(u.text=u.text.slice(0,-1),u.inlines=u.inlines.slice(0,-1),u.entities=u.entities.slice(0,-1),u.blocks.pop()),0===u.blocks.length&&u.blocks.push({type:"unstyled",depth:0}),u.text.split("\r").length===u.blocks.length+1&&u.blocks.unshift({type:"unstyled",depth:0}),{chunk:u,entityMap:c}}function y(e){var t=arguments.length<=1||void 0===arguments[1]?E:arguments[1],n=arguments.length<=2||void 0===arguments[2]?A:arguments[2],r=g(e,t,n,x);if(null==r)return null;var o=r.chunk,i=r.entityMap,a=0;return{contentBlocks:o.text.split("\r").map(function(e,t){e=S(e);var n=a+e.length,r=T(o).inlines.slice(a,n),i=T(o).entities.slice(a,n),s=D(r.map(function(e,t){var n={style:e,entity:null};return i[t]&&(n.entity=i[t]),b.create(n)}));return a=n+1,new _({key:C(),type:T(o).blocks[t].type,depth:T(o).blocks[t].depth,text:e,characterList:s})}),entityMap:i}}var v,b=n("./node_modules/draft-js/lib/CharacterMetadata.js"),_=n("./node_modules/draft-js/lib/ContentBlock.js"),A=n("./node_modules/draft-js/lib/DefaultDraftBlockRenderMap.js"),x=n("./node_modules/draft-js/lib/DraftEntity.js"),j=n("./node_modules/draft-js/node_modules/immutable/dist/immutable.js"),w=n("./node_modules/fbjs/lib/URI.js"),C=n("./node_modules/draft-js/lib/generateRandomKey.js"),E=n("./node_modules/draft-js/lib/getSafeBodyFromHTML.js"),k=n("./node_modules/fbjs/lib/invariant.js"),T=n("./node_modules/fbjs/lib/nullthrows.js"),S=n("./node_modules/draft-js/lib/sanitizeDraftText.js"),P=n("./node_modules/draft-js/node_modules/immutable/dist/immutable.js"),M=P.Set,D=j.List,O=j.OrderedSet,I=" ",R=" ",L=4,F=new RegExp("\r","g"),N=new RegExp("\n","g"),B=new RegExp(I,"g"),z=new RegExp(" ?","g"),H=new RegExp("​?","g"),U=["bold","bolder","500","600","700","800","900"],W=["light","lighter","100","200","300","400"],q={b:"BOLD",code:"CODE",del:"STRIKETHROUGH",em:"ITALIC",i:"ITALIC",s:"STRIKETHROUGH",strike:"STRIKETHROUGH",strong:"BOLD",u:"UNDERLINE"},V=["className","href","rel","target","title"],G=["alt","className","height","src","width"];e.exports=y},"./node_modules/draft-js/lib/convertFromRawToDraftState.js":function(e,t,n){"use strict";function r(e){var t=e.blocks,n=e.entityMap,r={};Object.keys(n).forEach(function(e){var t=n[e],o=t.type,i=t.mutability,a=t.data,s=l.__create(o,i,a||{});r[e]=s});var o=t.map(function(e){var t=e.key,n=e.type,o=e.text,s=e.depth,l=e.inlineStyleRanges,f=e.entityRanges,m=e.data;return t=t||p(),s=s||0,l=l||[],f=f||[],m=h(m),new a({key:t,type:n,text:o,depth:s,characterList:u(d(o,l),c(o,f.filter(function(e){return r.hasOwnProperty(e.key)}).map(function(e){return i({},e,{key:r[e.key]})}))),data:m})});return s.createFromBlockArray(o)}var o=n("./node_modules/object-assign/index.js"),i=o||function(e){for(var t=1;t0){if(e.props.handlePastedFiles&&h(e.props.handlePastedFiles(r)))return;return void f(r,function(t){if(t=t||g){var n=e._latestEditorState,r=m(t),o=s.create({style:n.getCurrentInlineStyle(),entity:p(n.getCurrentContent(),n.getSelection())}),i=c.processText(r,o),l=a.createFromArray(i),f=u.replaceWithFragment(n.getCurrentContent(),n.getSelection(),l);e.update(d.push(n,f,"insert-fragment"))}})}}var y=[],v=n.getText(),b=n.getHTML();if(!e.props.handlePastedText||!h(e.props.handlePastedText(v,b))){if(v&&(y=m(v)),!e.props.stripPastedStyles){var _=e.getClipboard();if(n.isRichText()&&_){if(b.indexOf(e.getEditorKey())!==-1||1===y.length&&1===_.size&&_.first().getText()===v)return void e.update(o(e._latestEditorState,_))}else if(_&&n.types.includes("com.apple.webarchive")&&!n.types.includes("text/html")&&i(y,_))return void e.update(o(e._latestEditorState,_));if(b){var A=c.processHTML(b,e.props.blockRenderMap);if(A){var x=A.contentBlocks,j=A.entityMap;if(x){var w=a.createFromArray(x);return void e.update(o(e._latestEditorState,w,j))}}}e.setClipboard(null)}if(y.length){var C=e._latestEditorState,E=s.create({style:C.getCurrentInlineStyle(),entity:p(C.getCurrentContent(),C.getSelection())}),k=c.processText(y,E),T=a.createFromArray(k);e.update(o(e._latestEditorState,T))}}}function o(e,t,n){var r=u.replaceWithFragment(e.getCurrentContent(),e.getSelection(),t);return d.push(e,r.set("entityMap",n),"insert-fragment")}function i(e,t){return e.length===t.size&&t.valueSeq().every(function(t,n){return t.getText()===e[n]})}var a=n("./node_modules/draft-js/lib/BlockMapBuilder.js"),s=n("./node_modules/draft-js/lib/CharacterMetadata.js"),l=n("./node_modules/fbjs/lib/DataTransfer.js"),u=n("./node_modules/draft-js/lib/DraftModifier.js"),c=n("./node_modules/draft-js/lib/DraftPasteProcessor.js"),d=n("./node_modules/draft-js/lib/EditorState.js"),p=n("./node_modules/draft-js/lib/getEntityKeyForSelection.js"),f=n("./node_modules/draft-js/lib/getTextContentFromFiles.js"),h=n("./node_modules/draft-js/lib/isEventHandled.js"),m=n("./node_modules/draft-js/lib/splitTextIntoTextBlocks.js");e.exports=r},"./node_modules/draft-js/lib/editOnSelect.js":function(e,t,n){"use strict";function r(e){if(!e._blockSelectEvents&&e._latestEditorState===e.props.editorState){var t=e.props.editorState,n=a(t,i.findDOMNode(e.refs.editorContainer).firstChild),r=n.selectionState;r!==t.getSelection()&&(t=n.needsRecovery?o.forceSelection(t,r):o.acceptSelection(t,r),e.update(t))}}var o=n("./node_modules/draft-js/lib/EditorState.js"),i=n("./node_modules/react-dom/index.js"),a=n("./node_modules/draft-js/lib/getDraftEditorSelection.js");e.exports=r},"./node_modules/draft-js/lib/encodeEntityRanges.js":function(e,t,n){"use strict";function r(e,t){var n=[];return e.findEntityRanges(function(e){return!!e.getEntity()},function(r,i){var s=e.getText(),l=e.getEntityAt(r);n.push({offset:a(s.slice(0,r)),length:a(s.slice(r,i)),key:Number(t[o.stringify(l)])})}),n}var o=n("./node_modules/draft-js/lib/DraftStringKey.js"),i=n("./node_modules/fbjs/lib/UnicodeUtils.js"),a=i.strlen;e.exports=r},"./node_modules/draft-js/lib/encodeInlineStyleRanges.js":function(e,t,n){"use strict";function r(e,t,n){var r=[];return a(t.map(function(e){return e.has(n)}).toList(),s,l,function(t,o){var a=e.getText();r.push({offset:i.strlen(a.slice(0,t)),length:i.strlen(a.slice(t,o)),style:n})}),r}function o(e){var t=e.getCharacterList().map(function(e){return e.getStyle()}).toList(),n=t.flatten().toSet().map(function(n){return r(e,t,n)});return Array.prototype.concat.apply(u,n.toJS())}var i=n("./node_modules/fbjs/lib/UnicodeUtils.js"),a=n("./node_modules/draft-js/lib/findRangesImmutable.js"),s=function(e,t){return e===t},l=function(e){return!!e},u=[];e.exports=o},"./node_modules/draft-js/lib/expandRangeToStartOfLine.js":function(e,t,n){"use strict";function r(e){var t=getComputedStyle(e),n=document.createElement("div");n.style.fontFamily=t.fontFamily,n.style.fontSize=t.fontSize,n.style.fontStyle=t.fontStyle,n.style.fontWeight=t.fontWeight,n.style.lineHeight=t.lineHeight,n.style.position="absolute",n.textContent="M",document.body.appendChild(n);var r=n.getBoundingClientRect();return document.body.removeChild(n),r.height}function o(e,t){for(var n=1/0,r=1/0,o=-(1/0),i=-(1/0),a=0;a=0;h--)if(!(null!=f&&h>0&&s.isSurrogatePair(f,h-1))){if(e.setStart(d,h),!o(l(e),n))break;a=d,c=h}if(h===-1||0===d.childNodes.length)break;d=d.childNodes[h],p=i(d)}return e.setStart(a,c),e}var s=n("./node_modules/fbjs/lib/UnicodeUtils.js"),l=n("./node_modules/draft-js/lib/getRangeClientRects.js"),u=n("./node_modules/fbjs/lib/invariant.js");e.exports=a},"./node_modules/draft-js/lib/findAncestorOffsetKey.js":function(e,t,n){"use strict";function r(e){for(var t=e;t&&t!==document.documentElement;){var n=o(t);if(null!=n)return n;t=t.parentNode}return null}var o=n("./node_modules/draft-js/lib/getSelectionOffsetKeyForNode.js");e.exports=r},"./node_modules/draft-js/lib/findRangesImmutable.js":function(e,t,n){"use strict";function r(e,t,n,r){if(e.size){var o=0;e.reduce(function(e,i,a){return t(e,i)||(n(e)&&r(o,a),o=a),i}),n(e.last())&&r(o,e.count())}}e.exports=r},"./node_modules/draft-js/lib/generateRandomKey.js":function(e,t,n){"use strict";function r(){for(var e=void 0;void 0===e||o.hasOwnProperty(e)||!isNaN(+e);)e=Math.floor(Math.random()*i).toString(32);return o[e]=!0,e}var o={},i=Math.pow(2,24);e.exports=r},"./node_modules/draft-js/lib/getCharacterRemovalRange.js":function(e,t,n){"use strict";function r(e,t,n,r){var s=n.getStartOffset(),l=n.getEndOffset(),u=t.getEntityAt(s);if(!u)return n;var c=e.__get(u),d=c.getMutability();if("MUTABLE"===d)return n;var p=i(t,u).filter(function(e){return se.start});1!=p.length&&a(!1);var f=p[0];if("IMMUTABLE"===d)return n.merge({anchorOffset:f.start,focusOffset:f.end,isBackward:!1});var h=o.getRemovalRange(s,l,t.getText().slice(f.start,f.end),f.start,r);return n.merge({anchorOffset:h.start,focusOffset:h.end,isBackward:!1})}var o=n("./node_modules/draft-js/lib/DraftEntitySegments.js"),i=n("./node_modules/draft-js/lib/getRangesForDraftEntity.js"),a=n("./node_modules/fbjs/lib/invariant.js");e.exports=r},"./node_modules/draft-js/lib/getContentStateFragment.js":function(e,t,n){"use strict";function r(e,t){var n=t.getStartKey(),r=t.getStartOffset(),a=t.getEndKey(),s=t.getEndOffset(),l=i(e,t),u=l.getBlockMap(),c=u.keySeq(),d=c.indexOf(n),p=c.indexOf(a)+1;return u.slice(d,p).map(function(e,t){var i=o(),l=e.getText(),u=e.getCharacterList();return n===a?e.merge({key:i,text:l.slice(r,s),characterList:u.slice(r,s)}):t===n?e.merge({key:i,text:l.slice(r),characterList:u.slice(r)}):t===a?e.merge({key:i,text:l.slice(0,s),characterList:u.slice(0,s)}):e.set("key",i)}).toOrderedMap()}var o=n("./node_modules/draft-js/lib/generateRandomKey.js"),i=n("./node_modules/draft-js/lib/removeEntitiesAtEdges.js");e.exports=r},"./node_modules/draft-js/lib/getDefaultKeyBinding.js":function(e,t,n){"use strict";function r(e){return d&&e.altKey||m(e)}function o(e){return h(e)?e.shiftKey?"redo":"undo":null}function i(e){return p&&e.shiftKey?null:r(e)?"delete-word":"delete"}function a(e){return h(e)&&d?"backspace-to-start-of-line":r(e)?"backspace-word":"backspace"}function s(e){switch(e.keyCode){case 66:return h(e)?"bold":null;case 68:return m(e)?"delete":null;case 72:return m(e)?"backspace":null;case 73:return h(e)?"italic":null;case 74:return h(e)?"code":null;case 75:return!p&&m(e)?"secondary-cut":null;case 77:return m(e)?"split-block":null;case 79:return m(e)?"split-block":null;case 84:return d&&m(e)?"transpose-characters":null;case 85:return h(e)?"underline":null;case 87:return d&&m(e)?"backspace-word":null;case 89:return m(e)?p?"redo":"secondary-paste":null;case 90:return o(e)||null;case u.RETURN:return"split-block";case u.DELETE:return i(e);case u.BACKSPACE:return a(e);case u.LEFT:return f&&h(e)?"move-selection-to-start-of-block":null;case u.RIGHT:return f&&h(e)?"move-selection-to-end-of-block":null;default:return null}}var l=n("./node_modules/draft-js/lib/KeyBindingUtil.js"),u=n("./node_modules/fbjs/lib/Keys.js"),c=n("./node_modules/fbjs/lib/UserAgent.js"),d=c.isPlatform("Mac OS X"),p=c.isPlatform("Windows"),f=d&&c.isBrowser("Firefox < 29"),h=l.hasCommandModifier,m=l.isCtrlKeyCommand;e.exports=s},"./node_modules/draft-js/lib/getDraftEditorSelection.js":function(e,t,n){"use strict";(function(t){function r(e,n){var r=t.getSelection();return 0===r.rangeCount?{selectionState:e.getSelection().set("hasFocus",!1),needsRecovery:!1}:o(e,n,r.anchorNode,r.anchorOffset,r.focusNode,r.focusOffset)}var o=n("./node_modules/draft-js/lib/getDraftEditorSelectionWithNodes.js");e.exports=r}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/draft-js/lib/getDraftEditorSelectionWithNodes.js":function(e,t,n){"use strict";function r(e,t,n,r,o,i){var s=n.nodeType===Node.TEXT_NODE,u=o.nodeType===Node.TEXT_NODE;if(s&&u)return{selectionState:c(e,p(l(n)),r,p(l(o)),i),needsRecovery:!1};var d=null,f=null,h=!0;return s?(d={key:p(l(n)),offset:r},f=a(t,o,i)):u?(f={key:p(l(o)),offset:i},d=a(t,n,r)):(d=a(t,n,r),f=a(t,o,i),n===o&&r===i&&(h=!!n.firstChild&&"BR"!==n.firstChild.nodeName)),{selectionState:c(e,d.key,d.offset,f.key,f.offset),needsRecovery:h}}function o(e){for(;e.firstChild&&u(e.firstChild);)e=e.firstChild;return e}function i(e){for(;e.lastChild&&u(e.lastChild);)e=e.lastChild;return e}function a(e,t,n){var r=t,a=l(r);if(null!=a||e&&(e===r||e.firstChild===r)||d(!1),e===r&&(r=r.firstChild,r instanceof Element&&"true"===r.getAttribute("data-contents")||d(!1),n>0&&(n=r.childNodes.length)),0===n){var c=null;if(null!=a)c=a;else{c=p(u(o(r)))}return{key:c,offset:0}}var f=r.childNodes[n-1],h=null,m=null;if(u(f)){var g=i(f);h=p(u(g)),m=s(g)}else h=p(a),m=s(f);return{key:h,offset:m}}function s(e){var t=e.textContent;return"\n"===t?0:t.length}var l=n("./node_modules/draft-js/lib/findAncestorOffsetKey.js"),u=n("./node_modules/draft-js/lib/getSelectionOffsetKeyForNode.js"),c=n("./node_modules/draft-js/lib/getUpdatedSelectionState.js"),d=n("./node_modules/fbjs/lib/invariant.js"),p=n("./node_modules/fbjs/lib/nullthrows.js");e.exports=r},"./node_modules/draft-js/lib/getEntityKeyForSelection.js":function(e,t,n){"use strict";function r(e,t){var n;if(t.isCollapsed()){var r=t.getAnchorKey(),i=t.getAnchorOffset();return i>0?(n=e.getBlockForKey(r).getEntityAt(i-1),o(e.getEntityMap(),n)):null}var a=t.getStartKey(),s=t.getStartOffset(),l=e.getBlockForKey(a);return n=s===l.getLength()?null:l.getEntityAt(s),o(e.getEntityMap(),n)}function o(e,t){if(t){return"MUTABLE"===e.__get(t).getMutability()?t:null}return null}e.exports=r},"./node_modules/draft-js/lib/getFragmentFromSelection.js":function(e,t,n){"use strict";function r(e){var t=e.getSelection();return t.isCollapsed()?null:o(e.getCurrentContent(),t)}var o=n("./node_modules/draft-js/lib/getContentStateFragment.js");e.exports=r},"./node_modules/draft-js/lib/getRangeBoundingClientRect.js":function(e,t,n){"use strict";function r(e){var t=o(e),n=0,r=0,i=0,a=0;if(t.length){var s=t[0];n=s.top,r=s.right,i=s.bottom,a=s.left;for(var l=1;li){var l=r.getKeyBefore(o);if(null==l)a=o;else{a=l;s=r.getBlockForKey(l).getText().length}}else s=i-t;return n.merge({focusKey:a,focusOffset:s,isBackward:!0})}e.exports=r},"./node_modules/draft-js/lib/moveSelectionForward.js":function(e,t,n){"use strict";function r(e,t){var n,r=e.getSelection(),o=r.getStartKey(),i=r.getStartOffset(),a=e.getCurrentContent(),s=o;return t>a.getBlockForKey(o).getText().length-i?(s=a.getKeyAfter(o),n=0):n=i+t,r.merge({focusKey:s,focusOffset:n})}e.exports=r},"./node_modules/draft-js/lib/removeEntitiesAtEdges.js":function(e,t,n){"use strict";function r(e,t){var n=e.getBlockMap(),r=e.getEntityMap(),o={},a=t.getStartKey(),s=t.getStartOffset(),l=n.get(a),u=i(r,l,s);u!==l&&(o[a]=u);var c=t.getEndKey(),d=t.getEndOffset(),p=n.get(c);a===c&&(p=u);var f=i(r,p,d);return f!==p&&(o[c]=f),Object.keys(o).length?e.merge({blockMap:n.merge(o),selectionAfter:t}):e.set("selectionAfter",t)}function o(e,t,n){var r;return s(e,function(e,t){return e.getEntity()===t.getEntity()},function(e){return e.getEntity()===t},function(e,t){e<=n&&t>=n&&(r={start:e,end:t})}),"object"!=typeof r&&l(!1),r}function i(e,t,n){var r=t.getCharacterList(),i=n>0?r.get(n-1):void 0,s=nt;)e=e.pop(),n--;else{var r=e.slice(0,t),o=e.slice(n);e=r.concat(o).toList()}return e}var i=n("./node_modules/draft-js/node_modules/immutable/dist/immutable.js");e.exports=r},"./node_modules/draft-js/lib/removeTextWithStrategy.js":function(e,t,n){"use strict";function r(e,t,n){var r=e.getSelection(),i=e.getCurrentContent(),a=r;if(r.isCollapsed()){if("forward"===n){if(e.isSelectionAtEndOfContent())return i}else if(e.isSelectionAtStartOfContent())return i;if((a=t(e))===r)return i}return o.removeRange(i,a,n)}var o=n("./node_modules/draft-js/lib/DraftModifier.js");e.exports=r},"./node_modules/draft-js/lib/sanitizeDraftText.js":function(e,t,n){"use strict";function r(e){return e.replace(o,"")}var o=new RegExp("\r","g");e.exports=r},"./node_modules/draft-js/lib/setDraftEditorSelection.js":function(e,t,n){"use strict";(function(t){function r(e,n,r,s,l){if(a(document.documentElement,n)){var u=t.getSelection(),c=e.getAnchorKey(),d=e.getAnchorOffset(),p=e.getFocusKey(),f=e.getFocusOffset(),h=e.getIsBackward();if(!u.extend&&h){var m=c,g=d;c=p,d=f,p=m,f=g,h=!1}var y=c===r&&s<=d&&l>=d,v=p===r&&s<=f&&l>=f;if(y&&v)return u.removeAllRanges(),i(u,n,d-s),void o(u,n,f-s);if(h){if(v&&(u.removeAllRanges(),i(u,n,f-s)),y){var b=u.focusNode,_=u.focusOffset;u.removeAllRanges(),i(u,n,d-s),o(u,b,_)}}else y&&(u.removeAllRanges(),i(u,n,d-s)),v&&o(u,n,f-s)}}function o(e,t,n){if(e.extend&&a(s(),t))e.extend(t,n);else{var r=e.getRangeAt(0);r.setEnd(t,n),e.addRange(r.cloneRange())}}function i(e,t,n){var r=document.createRange();r.setStart(t,n),e.addRange(r)}var a=n("./node_modules/fbjs/lib/containsNode.js"),s=n("./node_modules/fbjs/lib/getActiveElement.js");e.exports=r}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/draft-js/lib/splitBlockInContentState.js":function(e,t,n){"use strict";function r(e,t){t.isCollapsed()||a(!1);var n=t.getAnchorKey(),r=t.getAnchorOffset(),o=e.getBlockMap(),l=o.get(n),u=l.getText(),c=l.getCharacterList(),d=l.merge({text:u.slice(0,r),characterList:c.slice(0,r)}),p=i(),f=d.merge({key:p,text:u.slice(r),characterList:c.slice(r),data:s()}),h=o.toSeq().takeUntil(function(e){return e===l}),m=o.toSeq().skipUntil(function(e){return e===l}).rest(),g=h.concat([[d.getKey(),d],[f.getKey(),f]],m).toOrderedMap();return e.merge({blockMap:g,selectionBefore:t,selectionAfter:t.merge({anchorKey:p,anchorOffset:0,focusKey:p,focusOffset:0,isBackward:!1})})}var o=n("./node_modules/draft-js/node_modules/immutable/dist/immutable.js"),i=n("./node_modules/draft-js/lib/generateRandomKey.js"),a=n("./node_modules/fbjs/lib/invariant.js"),s=o.Map;e.exports=r},"./node_modules/draft-js/lib/splitTextIntoTextBlocks.js":function(e,t,n){"use strict";function r(e){return e.split(o)}var o=/\r\n?|\n/g;e.exports=r},"./node_modules/draft-js/node_modules/immutable/dist/immutable.js":function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:S(e)}function n(e){return a(e)?e:P(e)}function r(e){return s(e)?e:M(e)}function o(e){return i(e)&&!l(e)?e:D(e)}function i(e){return!(!e||!e[un])}function a(e){return!(!e||!e[cn])}function s(e){return!(!e||!e[dn])}function l(e){return a(e)||s(e)}function u(e){return!(!e||!e[pn])}function c(e){return e.value=!1,e}function d(e){e&&(e.value=!0)}function p(){}function f(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function g(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function v(e,t){return _(e,t,0)}function b(e,t){return _(e,t,t)}function _(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function A(e){this.next=e}function x(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function j(){return{value:void 0,done:!0}}function w(e){return!!k(e)}function C(e){return e&&"function"==typeof e.next}function E(e){var t=k(e);return t&&t.call(e)}function k(e){var t=e&&(jn&&e[jn]||e[wn]);if("function"==typeof t)return t}function T(e){return e&&"number"==typeof e.length}function S(e){return null===e||void 0===e?N():i(e)?e.toSeq():H(e)}function P(e){return null===e||void 0===e?N().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():B(e)}function M(e){return null===e||void 0===e?N():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():z(e)}function D(e){return(null===e||void 0===e?N():i(e)?a(e)?e.entrySeq():e:z(e)).toSetSeq()}function O(e){this._array=e,this.size=e.length}function I(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function R(e){this._iterable=e,this.size=e.length||e.size}function L(e){this._iterator=e,this._iteratorCache=[]}function F(e){return!(!e||!e[En])}function N(){return kn||(kn=new O([]))}function B(e){var t=Array.isArray(e)?new O(e).fromEntrySeq():C(e)?new L(e).fromEntrySeq():w(e)?new R(e).fromEntrySeq():"object"==typeof e?new I(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function z(e){var t=U(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function H(e){var t=U(e)||"object"==typeof e&&new I(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function U(e){return T(e)?new O(e):C(e)?new L(e):w(e)?new R(e):void 0}function W(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(t(s[1],r?s[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function q(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new A(function(){var e=o[n?i-a:a];return a++>i?j():x(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?G(t,e,"",{"":e}):K(e)}function G(e,t,n,r){return Array.isArray(t)?e.call(r,n,M(t).map(function(n,r){return G(e,n,r,t)})):Y(t)?e.call(r,n,P(t).map(function(n,r){return G(e,n,r,t)})):t}function K(e){return Array.isArray(e)?M(e).map(K).toList():Y(e)?P(e).map(K).toMap():e}function Y(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Q(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function X(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&Q(o[1],e)&&(n||Q(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var c=e;e=t,t=c}var d=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!Q(t,e.get(r,yn)):!Q(e.get(r,yn),t))return d=!1,!1});return d&&e.size===p}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Tn)return Tn;Tn=this}}function J(e,t){if(!e)throw new Error(t)}function $(e,t,n){if(!(this instanceof $))return new $(e,t,n);if(J(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function ie(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&((e=e.valueOf())===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Fn?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=zn[e];return void 0===t&&(t=se(e),Bn===Nn&&(Bn=0,zn={}),Bn++,zn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ce(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function de(e){return null===e||void 0===e?xe():pe(e)&&!u(e)?e:xe().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function pe(e){return!(!e||!e[Hn])}function fe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ve(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_e(e._root)}function be(e,t){return x(e,t[0],t[1])}function _e(e,t){return{node:e,index:0,__prev:t}}function Ae(e,t,n,r){var o=Object.create(Un);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xe(){return Wn||(Wn=Ae(0))}function je(e,t,n){var r,o;if(e._root){var i=c(vn),a=c(bn);if(r=we(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===yn?-1:1:0)}else{if(n===yn)return e;o=1,r=new fe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Ae(o,r):xe()}function we(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===yn?e:(d(s),d(a),new ye(t,r,[o,i]))}function Ce(e){return e.constructor===ye||e.constructor===ge}function Ee(e,t,n,r,o){if(e.keyHash===r)return new ge(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn;return new he(t,1<>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new me(e,i+1,a)}function Pe(e,t,r){for(var o=[],a=0;a>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Le(e,t,n,r){var o=r?e:f(e);return o[t]=n,o}function Fe(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s0&&oi?0:i-n,u=a-n;return u>mn&&(u=mn),function(){if(o===u)return Xn;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var s,l=e&&e.array,u=o>i?0:i-o>>r,c=1+(a-o>>r);return c>mn&&(c=mn),function(){for(;;){if(s){var e=s();if(e!==Xn)return e;s=null}if(u===c)return Xn;var i=t?--c:u++;s=n(l&&l[i],r-hn,o+(i<=e.size||t<0)return e.withMutations(function(e){t<0?Qe(e,t).set(0,n):Qe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=c(bn);return t>=Ze(e._capacity)?r=Ge(r,e.__ownerID,0,t,n,i):o=Ge(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):We(e._origin,e._capacity,e._level,o,r):e}function Ge(e,t,n,r,o,i){var a=r>>>n&gn,s=e&&a0){var u=e&&e.array[a],c=Ge(u,t,n-hn,r,o,i);return c===u?e:(l=Ke(e,t),l.array[a]=c,l)}return s&&e.array[a]===o?e:(d(i),l=Ke(e,t),void 0===o&&a===l.array.length-1?l.array.pop():l.array[a]=o,l)}function Ke(e,t){return t&&e&&t===e.ownerID?e:new He(e?e.array.slice():[],t)}function Ye(e,t){if(t>=Ze(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&gn],r-=hn;return n}}function Qe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new p,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new He(u&&u.array.length?[void 0,u]:[],r),l+=hn,c+=1<=1<d?new He([],r):h;if(h&&f>d&&ahn;y-=hn){var v=d>>>y&gn;g=g.array[v]=Ke(g.array[v],r)}g.array[d>>>hn&gn]=h}if(s=f)a-=f,s-=f,l=hn,u=null,m=m&&m.removeBefore(r,0,a);else if(a>o||f>>l&gn;if(b!==f>>>l&gn)break;b&&(c+=(1<o&&(u=u.removeBefore(r,l,a-c)),u&&fa&&(a=u.size),i(l)||(u=u.map(function(e){return V(e)})),o.push(u)}return a>e.size&&(e=e.setSize(a)),Oe(e,t,o)}function Ze(e){return e>>hn<=mn&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=Tt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=St,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===xn){var r=e.__iterator(t,n);return new A(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===An?_n:An,n)},t}function lt(e,t,n){var r=Tt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,yn);return i===yn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(xn,o);return new A(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return x(r,s,t.call(n,a[1],s,e),o)})},r}function ut(e,t){var n=Tt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=St,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function ct(e,t,n,r){var o=Tt(e);return r&&(o.has=function(r){var o=e.get(r,yn);return o!==yn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,yn);return i!==yn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,l){if(t.call(n,e,i,l))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(xn,i),s=0;return new A(function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return x(o,r?u:s++,c,i)}})},o}function dt(e,t,n){var r=de().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function pt(e,t,n){var r=a(e),o=(u(e)?Je():de()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=kt(e);return o.map(function(t){return wt(e,i(t))})}function ft(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n|=0),y(t,n,o))return e;var i=v(t,o),a=b(n,o);if(i!==i||a!==a)return ft(e.toSeq().cacheResult(),t,n,r);var s,l=a-i;l===l&&(s=l<0?0:l);var u=Tt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&F(e)&&s>=0&&(u.get=function(t,n){return t=m(this,t),t>=0&&ts)return j();var e=o.next();return r||t===An?e:t===_n?x(t,l-1,void 0,e):x(t,l-1,e.value[1],e)})},u}function ht(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(xn,o),s=!0;return new A(function(){if(!s)return j();var e=a.next();if(e.done)return e;var o=e.value,l=o[0],u=o[1];return t.call(n,u,l,i)?r===xn?e:x(r,l,u,e):(s=!1,j())})},r}function mt(e,t,n,r){var o=Tt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return l++,o(e,r?i:l-1,a)}),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(xn,i),l=!0,u=0;return new A(function(){var e,i,c;do{if(e=s.next(),e.done)return r||o===An?e:o===_n?x(o,u++,void 0,e):x(o,u++,e.value[1],e);var d=e.value;i=d[0],c=d[1],l&&(l=t.call(n,c,i,a))}while(l);return o===xn?e:x(o,i,c,e)})},o}function gt(e,t){var r=a(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?B(e):z(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var l=o[0];if(l===e||r&&a(l)||s(e)&&s(l))return l}var u=new O(o);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){function a(e,u){var c=this;e.__iterate(function(e,o){return(!t||u0}function jt(e,n,r){var o=Tt(e);return o.size=new O(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(An,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),E(o?e.reverse():e)}),a=0,s=!1;return new A(function(){var t;return s||(t=i.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?j():x(e,a++,n.apply(null,t.map(function(e){return e.value})))})},o}function wt(e,t){return F(e)?t:e.constructor(t)}function Ct(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Et(e){return ce(e.size),h(e)}function kt(e){return a(e)?n:s(e)?r:o}function Tt(e){return Object.create((a(e)?P:s(e)?M:D).prototype)}function St(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):S.prototype.cacheResult.call(this)}function Pt(e,t){return e>t?1:et?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=a(e),r=t?1:0;return an(e.__iterate(n?t?function(e,t){r=31*r+sn(ie(e),ie(t))|0}:function(e,t){r=r+sn(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0}),r)}function an(e,t){return t=Mn(t,3432918353),t=Mn(t<<15|t>>>-15,461845907),t=Mn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Mn(t^t>>>16,2246822507),t=Mn(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var ln=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=a,t.isIndexed=s,t.isAssociative=l,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=o;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",dn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",fn="delete",hn=5,mn=1<r?j():x(e,o,n[t?r-o++:o++])})},e(I,P),I.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},I.prototype.has=function(e){return this._object.hasOwnProperty(e)},I.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===!1)return i+1}return i},I.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new A(function(){var a=r[t?o-i:i];return i++>o?j():x(e,a,n[a])})},I.prototype[pn]=!0,e(R,M),R.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=E(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},R.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=E(n);if(!C(r))return new A(j);var o=0;return new A(function(){var t=r.next();return t.done?t:x(e,o++,t.value)})},e(L,M),L.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return x(e,o,r[o++])})};var kn;e(Z,M),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(e,t){return this.has(e)?this._value:t},Z.prototype.includes=function(e){return Q(this._value,e)},Z.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new Z(this._value,b(t,n)-v(e,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(e){return Q(this._value,e)?0:-1},Z.prototype.lastIndexOf=function(e){return Q(this._value,e)?this.size:-1},Z.prototype.__iterate=function(e,t){for(var n=0;n1?" by "+this._step:"")+" ]"},$.prototype.get=function(e,t){return this.has(e)?this._start+m(this,e)*this._step:t},$.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t=0&&nn?j():x(e,i++,a)})},$.prototype.equals=function(e){return e instanceof $?this._start===e._start&&this._end===e._end&&this._step===e._step:X(this,e)};var Sn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Pn,Mn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},Dn=Object.isExtensible,On=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),In="function"==typeof WeakMap;In&&(Pn=new WeakMap);var Rn=0,Ln="__immutablehash__";"function"==typeof Symbol&&(Ln=Symbol(Ln));var Fn=16,Nn=255,Bn=0,zn={};e(de,te),de.prototype.toString=function(){return this.__toString("Map {","}")},de.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},de.prototype.set=function(e,t){return je(this,e,t)},de.prototype.setIn=function(e,t){return this.updateIn(e,yn,function(){return t})},de.prototype.remove=function(e){return je(this,e,yn)},de.prototype.deleteIn=function(e){return this.updateIn(e,function(){return yn})},de.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},de.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ie(this,Mt(e),t,n);return r===yn?void 0:r},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):xe()},de.prototype.merge=function(){return Pe(this,void 0,arguments)},de.prototype.mergeWith=function(e){return Pe(this,e,ln.call(arguments,1))},de.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,xe(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},de.prototype.mergeDeep=function(){return Pe(this,Me,arguments)},de.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Pe(this,De(e),t)},de.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,xe(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},de.prototype.sort=function(e){return Je(_t(this,e))},de.prototype.sortBy=function(e,t){return Je(_t(this,t,e))},de.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},de.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},de.prototype.asImmutable=function(){return this.__ensureOwner()},de.prototype.wasAltered=function(){return this.__altered},de.prototype.__iterator=function(e,t){return new ve(this,e,t)},de.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},de.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ae(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},de.isMap=pe;var Hn="@@__IMMUTABLE_MAP__@@",Un=de.prototype;Un[Hn]=!0,Un[fn]=Un.remove,Un.removeIn=Un.deleteIn,fe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=qn)return ke(e,l,r,o);var h=e&&e===this.ownerID,m=h?l:f(l);return p?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,o]:m.push([r,o]),h?(this.entries=m,this):new fe(e,m)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Re(i&o-1)].get(e+hn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,l=1<=Vn)return Se(e,p,u,s,h);if(c&&!h&&2===p.length&&Ce(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&Ce(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,y=c?h?Le(p,d,h,m):Ne(p,d,m):Fe(p,d,h,m);return m?(this.bitmap=g,this.nodes=y,this):new he(e,g,y)},me.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&gn,i=this.nodes[o];return i?i.get(e+hn,t,n,r):r},me.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,l=o===yn,u=this.nodes,c=u[s];if(l&&!c)return this;var d=we(c,e,t+hn,n,r,o,i,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p=0&&e>>t&gn;if(r>=this.array.length)return new He([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-hn,n))===a&&i)return this}if(i&&!o)return this;var s=Ke(this,e);if(!i)for(var l=0;l>>t&gn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-hn,n))===i&&r===this.array.length-1)return this}var a=Ke(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Qn,Xn={};e(Je,de),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,yn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=$e,Je.prototype[pn]=!0,Je.prototype[fn]=Je.prototype.remove;var Zn;e(rt,P),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Et(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(An,t),r=t?Et(this):0;return new A(function(){var o=n.next();return o.done?o:x(e,t?--r:r++,o.value,o)})},rt.prototype[pn]=!0,e(ot,M),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t),r=0;return new A(function(){var t=n.next();return t.done?t:x(e,r++,t.value,t)})},e(it,D),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t);return new A(function(){var t=n.next();return t.done?t:x(e,t.value,t.value,t)})},e(at,P),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Ct(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t);return new A(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Ct(r);var o=i(r);return x(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=at.prototype.cacheResult=St,e(Dt,te),Dt.prototype.toString=function(){return this.__toString(It(this)+" {","}")},Dt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Dt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Dt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Ot(this,xe()))},Dt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+It(this));var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Ot(this,n)},Dt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Ot(this,t)},Dt.prototype.wasAltered=function(){return this._map.wasAltered()},Dt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Dt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Dt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Ot(this,t,e):(this.__ownerID=e,this._map=t,this)};var Jn=Dt.prototype;Jn[fn]=Jn.remove,Jn.deleteIn=Jn.removeIn=Un.removeIn,Jn.merge=Un.merge,Jn.mergeWith=Un.mergeWith,Jn.mergeIn=Un.mergeIn,Jn.mergeDeep=Un.mergeDeep,Jn.mergeDeepWith=Un.mergeDeepWith,Jn.mergeDeepIn=Un.mergeDeepIn,Jn.setIn=Un.setIn,Jn.update=Un.update,Jn.updateIn=Un.updateIn,Jn.withMutations=Un.withMutations,Jn.asMutable=Un.asMutable,Jn.asImmutable=Un.asImmutable,e(Ft,re),Ft.of=function(){return this(arguments)},Ft.fromKeys=function(e){return this(n(e).keySeq())},Ft.prototype.toString=function(){return this.__toString("Set {","}")},Ft.prototype.has=function(e){return this._map.has(e)},Ft.prototype.add=function(e){return Bt(this,this._map.set(e,!0))},Ft.prototype.remove=function(e){return Bt(this,this._map.remove(e))},Ft.prototype.clear=function(){return Bt(this,this._map.clear())},Ft.prototype.union=function(){var e=ln.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yt(e,t)},Gt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;ce(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yt(t,n)},Gt.prototype.pop=function(){return this.slice(1)},Gt.prototype.unshift=function(){return this.push.apply(this,arguments)},Gt.prototype.unshiftAll=function(e){return this.pushAll(e)},Gt.prototype.shift=function(){return this.pop.apply(this,arguments)},Gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qt()},Gt.prototype.slice=function(e,t){if(y(e,t,this.size))return this;var n=v(e,this.size);if(b(t,this.size)!==this.size)return ne.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Yt(r,o)},Gt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Gt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},Gt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new A(function(){if(r){var t=r.value;return r=r.next,x(e,n++,t)}return j()})},Gt.isStack=Kt;var or="@@__IMMUTABLE_STACK__@@",ir=Gt.prototype;ir[or]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var ar;t.Iterator=A,Xt(t,{toArray:function(){ce(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return de(this.toKeyedSeq())},toObject:function(){ce(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return Ut(a(this)?this.valueSeq():this)},toSet:function(){return Ft(a(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Gt(a(this)?this.valueSeq():this)},toList:function(){return Be(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return wt(this,gt(this,ln.call(arguments,0)))},includes:function(e){return this.some(function(t){return Q(t,e)})},entries:function(){return this.__iterator(xn)},every:function(e,t){ce(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return wt(this,ct(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},findEntry:function(e,t){var n;return this.__iterate(function(r,o,i){if(e.call(t,r,o,i))return n=[o,r],!1}),n},findLastEntry:function(e,t){return this.toSeq().reverse().findEntry(e,t)},forEach:function(e,t){return ce(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ce(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(_n)},map:function(e,t){return wt(this,lt(this,e,t))},reduce:function(e,t,n){ce(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return wt(this,ut(this,!0))},slice:function(e,t){return wt(this,ft(this,e,t,!0))},some:function(e,t){return!this.every($t(e),t)},sort:function(e){return wt(this,_t(this,e))},values:function(){return this.__iterator(An)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return dt(this,e,t)},equals:function(e){return X(this,e)},entrySeq:function(){var e=this;if(e._cache)return new O(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter($t(e),t)},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},first:function(){return this.find(g)},flatMap:function(e,t){return wt(this,vt(this,e,t))},flatten:function(e){return wt(this,yt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return Q(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=Mt(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,yn):yn)===yn)return t}return r},groupBy:function(e,t){return pt(this,e,t)},has:function(e){return this.get(e,yn)!==yn},hasIn:function(e){return this.getIn(e,yn)!==yn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keySeq:function(){return this.toSeq().map(Zt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},max:function(e){return At(this,e)},maxBy:function(e,t){return At(this,t,e)},min:function(e){return At(this,e?en(e):rn)},minBy:function(e,t){return At(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return wt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return wt(this,mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile($t(e),t)},sortBy:function(e,t){return wt(this,_t(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return wt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return wt(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile($t(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=t.prototype;sr[un]=!0,sr[Cn]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=tn,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,function(){try{Object.defineProperty(sr,"length",{get:function(){if(!t.noLengthWarning){var e;try{throw new Error}catch(t){e=t.stack}if(e.indexOf("_wrapObject")===-1)return console&&console.warn&&console.warn("iterable.length has been deprecated, use iterable.size or iterable.count(). This warning will become a silent error in a future version. "+e),this.size}}})}catch(e){}}(),Xt(n,{flip:function(){return wt(this,st(this))},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLastKey:function(e,t){return this.toSeq().reverse().findKey(e,t)},keyOf:function(e){return this.findKey(function(t){return Q(t,e)})},lastKeyOf:function(e){return this.findLastKey(function(t){return Q(t,e)})},mapEntries:function(e,t){var n=this,r=0;return wt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return wt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var lr=n.prototype;return lr[cn]=!0,lr[Cn]=sr.entries,lr.__toJS=sr.toObject,lr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Xt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return wt(this,ct(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.toKeyedSeq().keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.toKeyedSeq().reverse().keyOf(e);return void 0===t?-1:t},reverse:function(){return wt(this,ut(this,!1))},slice:function(e,t){return wt(this,ft(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=v(e,e<0?this.count():this.size);var r=this.slice(0,e);return wt(this,1===n?r:r.concat(f(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.toKeyedSeq().findLastKey(e,t);return void 0===n?-1:n},first:function(){return this.get(0)},flatten:function(e){return wt(this,yt(this,e,!1))},get:function(e,t){return e=m(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=m(this,e))>=0&&(void 0!==this.size?this.size===1/0||e":!0,"&":!0},a=o.ucs2.decode(e),s=[],l=0;l=127||r[c])&&!n?s.push("&"+(/;$/.test(d)?d:d+";")):u<32||u>=127||r[c]?s.push("&#"+u+";"):s.push(c)}return s.join("")}var o=n("./node_modules/punycode/punycode.js"),i=n("./node_modules/ent/reversed.json");e.exports=r},"./node_modules/ent/entities.json":function(e,t,n){e.exports=n.p+"f7871860056163bb835882b4f4e990ca.json"},"./node_modules/ent/index.js":function(e,t,n){t.encode=n("./node_modules/ent/encode.js"),t.decode=n("./node_modules/ent/decode.js")},"./node_modules/ent/reversed.json":function(e,t,n){e.exports=n.p+"0e8627b4f61088c11717365add73616c.json"},"./node_modules/entities/index.js":function(e,t,n){var r=n("./node_modules/entities/lib/encode.js"),o=n("./node_modules/entities/lib/decode.js");t.decode=function(e,t){return(!t||t<=0?o.XML:o.HTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?o.XML:o.HTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?r.XML:r.HTML)(e)},t.encodeXML=r.XML,t.encodeHTML4=t.encodeHTML5=t.encodeHTML=r.HTML,t.decodeXML=t.decodeXMLStrict=o.XML,t.decodeHTML4=t.decodeHTML5=t.decodeHTML=o.HTML,t.decodeHTML4Strict=t.decodeHTML5Strict=t.decodeHTMLStrict=o.HTMLStrict,t.escape=r.escape},"./node_modules/entities/lib/decode.js":function(e,t,n){function r(e){var t=Object.keys(e).join("|"),n=i(e);t+="|#[xX][\\da-fA-F]+|#\\d+";var r=new RegExp("&(?:"+t+");","g");return function(e){return String(e).replace(r,n)}}function o(e,t){return e=55296&&e<=57343||e>1114111)return"�";e in o&&(e=o[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)}var o=n("./node_modules/entities/maps/decode.json");e.exports=r},"./node_modules/entities/lib/encode.js":function(e,t,n){function r(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]="&"+n+";",t},{})}function o(e){var t=[],n=[];return Object.keys(e).forEach(function(e){1===e.length?t.push("\\"+e):n.push(e)}),n.unshift("["+t.join("")+"]"),new RegExp(n.join("|"),"g")}function i(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function a(e){return"&#x"+(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function s(e,t){function n(t){return e[t]}return function(e){return e.replace(t,n).replace(h,a).replace(f,i)}}function l(e){return e.replace(m,i).replace(h,a).replace(f,i)}var u=r(n("./node_modules/entities/maps/xml.json")),c=o(u);t.XML=s(u,c);var d=r(n("./node_modules/entities/maps/entities.json")),p=o(d);t.HTML=s(d,p);var f=/[^\0-\x7F]/g,h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m=o(u);t.escape=l},"./node_modules/entities/maps/decode.json":function(e,t,n){e.exports=n.p+"d910d99bf12370e4fafecfec9fffe6ed.json"},"./node_modules/entities/maps/entities.json":function(e,t,n){e.exports=n.p+"f538a60960fcdc4a4f5ceb05a8190b1d.json"},"./node_modules/entities/maps/legacy.json":function(e,t,n){e.exports=n.p+"109da3ab610328154d3119eec563adb2.json"},"./node_modules/entities/maps/xml.json":function(e,t,n){e.exports=n.p+"bcc034acc51c5c8f92c257a28ec9a1d6.json"},"./node_modules/es6-shim/es6-shim.js":function(e,t,n){(function(r,o){var i,a;!function(r,o){i=o,void 0!==(a="function"==typeof i?i.call(t,n,t,e):i)&&(e.exports=a)}(0,function(){"use strict";var e,t=Function.call.bind(Function.apply),n=Function.call.bind(Function.call),i=Array.isArray,a=Object.keys,s=function(e){return function(){return!t(e,this,arguments)}},l=function(e){try{return e(),!1}catch(e){return!0}},u=function(e){try{return e()}catch(e){return!1}},c=s(l),d=function(){return!l(function(){Object.defineProperty({},"x",{get:function(){}})})},p=!!Object.defineProperty&&d(),f="foo"===function(){}.name,h=Function.call.bind(Array.prototype.forEach),m=Function.call.bind(Array.prototype.reduce),g=Function.call.bind(Array.prototype.filter),y=Function.call.bind(Array.prototype.some),v=function(e,t,n,r){!r&&t in e||(p?Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n}):e[t]=n)},b=function(e,t,n){h(a(t),function(r){v(e,r,t[r],!!n)})},_=Function.call.bind(Object.prototype.toString),A=function(e){return"function"==typeof e},x={getter:function(e,t,n){if(!p)throw new TypeError("getters require true ES5 support");Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get:n})},proxy:function(e,t,n){if(!p)throw new TypeError("getters require true ES5 support");var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,{configurable:r.configurable,enumerable:r.enumerable,get:function(){return e[t]},set:function(n){e[t]=n}})},redefine:function(e,t,n){if(p){var r=Object.getOwnPropertyDescriptor(e,t);r.value=n,Object.defineProperty(e,t,r)}else e[t]=n},defineByDescriptor:function(e,t,n){p?Object.defineProperty(e,t,n):"value"in n&&(e[t]=n.value)},preserveToString:function(e,t){t&&A(t.toString)&&v(e,"toString",t.toString.bind(t),!0)}},j=Object.create||function(e,t){var n=function(){};n.prototype=e;var r=new n;return void 0!==t&&a(t).forEach(function(e){x.defineByDescriptor(r,e,t[e])}),r},w=function(e,t){return!!Object.setPrototypeOf&&u(function(){var n=function t(n){var r=new e(n);return Object.setPrototypeOf(r,t.prototype),r};return Object.setPrototypeOf(n,e),n.prototype=j(e.prototype,{constructor:{value:n}}),t(n)})},C=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==r)return r;throw new Error("unable to locate global object")},E=C(),k=E.isFinite,T=Function.call.bind(String.prototype.indexOf),S=Function.apply.bind(Array.prototype.indexOf),P=Function.call.bind(Array.prototype.concat),M=Function.call.bind(String.prototype.slice),D=Function.call.bind(Array.prototype.push),O=Function.apply.bind(Array.prototype.push),I=Function.call.bind(Array.prototype.shift),R=Math.max,L=Math.min,F=Math.floor,N=Math.abs,B=Math.exp,z=Math.log,H=Math.sqrt,U=Function.call.bind(Object.prototype.hasOwnProperty),W=function(){},q=E.Map,V=q&&q.prototype.delete,G=q&&q.prototype.get,K=q&&q.prototype.has,Y=q&&q.prototype.set,Q=E.Symbol||{},X=Q.species||"@@species",Z=Number.isNaN||function(e){return e!==e},J=Number.isFinite||function(e){return"number"==typeof e&&k(e)},$=A(Math.sign)?Math.sign:function(e){var t=Number(e);return 0===t?t:Z(t)?t:t<0?-1:1},ee=function(e){return"[object Arguments]"===_(e)},te=function(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==_(e)&&"[object Function]"===_(e.callee)},ne=ee(arguments)?ee:te,re={primitive:function(e){return null===e||"function"!=typeof e&&"object"!=typeof e},string:function(e){return"[object String]"===_(e)},regex:function(e){return"[object RegExp]"===_(e)},symbol:function(e){return"function"==typeof E.Symbol&&"symbol"==typeof e}},oe=function(e,t,n){var r=e[t];v(e,t,n,!0),x.preserveToString(e[t],r)},ie="function"==typeof Q&&"function"==typeof Q.for&&re.symbol(Q()),ae=re.symbol(Q.iterator)?Q.iterator:"_es6-shim iterator_";E.Set&&"function"==typeof(new E.Set)["@@iterator"]&&(ae="@@iterator"),E.Reflect||v(E,"Reflect",{},!0);var se=E.Reflect,le=String,ue="undefined"!=typeof document&&document?document.all:null,ce=null==ue?function(e){return null==e}:function(e){return null==e&&e!==ue},de={Call:function(e,n){var r=arguments.length>2?arguments[2]:[];if(!de.IsCallable(e))throw new TypeError(e+" is not a function");return t(e,n,r)},RequireObjectCoercible:function(e,t){if(ce(e))throw new TypeError(t||"Cannot call method on "+e);return e},TypeIsObject:function(e){return void 0!==e&&null!==e&&e!==!0&&e!==!1&&("function"==typeof e||"object"==typeof e||e===ue)},ToObject:function(e,t){return Object(de.RequireObjectCoercible(e,t))},IsCallable:A,IsConstructor:function(e){return de.IsCallable(e)},ToInt32:function(e){return de.ToNumber(e)>>0},ToUint32:function(e){return de.ToNumber(e)>>>0},ToNumber:function(e){if("[object Symbol]"===_(e))throw new TypeError("Cannot convert a Symbol value to a number");return+e},ToInteger:function(e){var t=de.ToNumber(e);return Z(t)?0:0!==t&&J(t)?(t>0?1:-1)*F(N(t)):t},ToLength:function(e){var t=de.ToInteger(e);return t<=0?0:t>Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:t},SameValue:function(e,t){return e===t?0!==e||1/e==1/t:Z(e)&&Z(t)},SameValueZero:function(e,t){return e===t||Z(e)&&Z(t)},IsIterable:function(e){return de.TypeIsObject(e)&&(void 0!==e[ae]||ne(e))},GetIterator:function(t){if(ne(t))return new e(t,"value");var n=de.GetMethod(t,ae);if(!de.IsCallable(n))throw new TypeError("value is not an iterable");var r=de.Call(n,t);if(!de.TypeIsObject(r))throw new TypeError("bad iterator");return r},GetMethod:function(e,t){var n=de.ToObject(e)[t];if(!ce(n)){if(!de.IsCallable(n))throw new TypeError("Method not callable: "+t);return n}},IteratorComplete:function(e){return!!e.done},IteratorClose:function(e,t){var n=de.GetMethod(e,"return");if(void 0!==n){var r,o;try{r=de.Call(n,e)}catch(e){o=e}if(!t){if(o)throw o;if(!de.TypeIsObject(r))throw new TypeError("Iterator's return method returned a non-object.")}}},IteratorNext:function(e){var t=arguments.length>1?e.next(arguments[1]):e.next();if(!de.TypeIsObject(t))throw new TypeError("bad iterator");return t},IteratorStep:function(e){var t=de.IteratorNext(e);return!de.IteratorComplete(t)&&t},Construct:function(e,t,n,r){var o=void 0===n?e:n;if(!r&&se.construct)return se.construct(e,t,o);var i=o.prototype;de.TypeIsObject(i)||(i=Object.prototype);var a=j(i),s=de.Call(e,a,t);return de.TypeIsObject(s)?s:a},SpeciesConstructor:function(e,t){var n=e.constructor;if(void 0===n)return t;if(!de.TypeIsObject(n))throw new TypeError("Bad constructor");var r=n[X];if(ce(r))return t;if(!de.IsConstructor(r))throw new TypeError("Bad @@species");return r},CreateHTML:function(e,t,n,r){var o=de.ToString(e),i="<"+t;if(""!==n){i+=" "+n+'="'+de.ToString(r).replace(/"/g,""")+'"'}return i+">"+o+""},IsRegExp:function(e){if(!de.TypeIsObject(e))return!1;var t=e[Q.match];return void 0!==t?!!t:re.regex(e)},ToString:function(e){return le(e)}};if(p&&ie){var pe=function(e){if(re.symbol(Q[e]))return Q[e];var t=Q.for("Symbol."+e);return Object.defineProperty(Q,e,{configurable:!1,enumerable:!1,writable:!1,value:t}),t};if(!re.symbol(Q.search)){var fe=pe("search"),he=String.prototype.search;v(RegExp.prototype,fe,function(e){return de.Call(he,e,[this])});var me=function(e){var t=de.RequireObjectCoercible(this);if(!ce(e)){var n=de.GetMethod(e,fe);if(void 0!==n)return de.Call(n,e,[t])}return de.Call(he,t,[de.ToString(e)])};oe(String.prototype,"search",me)}if(!re.symbol(Q.replace)){var ge=pe("replace"),ye=String.prototype.replace;v(RegExp.prototype,ge,function(e,t){return de.Call(ye,e,[this,t])});var ve=function(e,t){var n=de.RequireObjectCoercible(this);if(!ce(e)){var r=de.GetMethod(e,ge);if(void 0!==r)return de.Call(r,e,[n,t])}return de.Call(ye,n,[de.ToString(e),t])};oe(String.prototype,"replace",ve)}if(!re.symbol(Q.split)){var be=pe("split"),_e=String.prototype.split;v(RegExp.prototype,be,function(e,t){return de.Call(_e,e,[this,t])});var Ae=function(e,t){var n=de.RequireObjectCoercible(this);if(!ce(e)){var r=de.GetMethod(e,be);if(void 0!==r)return de.Call(r,e,[n,t])}return de.Call(_e,n,[de.ToString(e),t])};oe(String.prototype,"split",Ae)}var xe=re.symbol(Q.match),je=xe&&function(){var e={};return e[Q.match]=function(){return 42},42!=="a".match(e)}();if(!xe||je){var we=pe("match"),Ce=String.prototype.match;v(RegExp.prototype,we,function(e){return de.Call(Ce,e,[this])});var Ee=function(e){var t=de.RequireObjectCoercible(this);if(!ce(e)){var n=de.GetMethod(e,we);if(void 0!==n)return de.Call(n,e,[t])}return de.Call(Ce,t,[de.ToString(e)])};oe(String.prototype,"match",Ee)}}var ke=function(e,t,n){x.preserveToString(t,e),Object.setPrototypeOf&&Object.setPrototypeOf(e,t),p?h(Object.getOwnPropertyNames(e),function(r){r in W||n[r]||x.proxy(e,r,t)}):h(Object.keys(e),function(r){r in W||n[r]||(t[r]=e[r])}),t.prototype=e.prototype,x.redefine(e.prototype,"constructor",t)},Te=function(){return this},Se=function(e){p&&!U(e,X)&&x.getter(e,X,Te)},Pe=function(e,t){var n=t||function(){return this};v(e,ae,n),!e[ae]&&re.symbol(ae)&&(e[ae]=n)},Me=function(e,t,n){p?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n},De=function(e,t,n){if(Me(e,t,n),!de.SameValue(e[t],n))throw new TypeError("property is nonconfigurable")},Oe=function(e,t,n,r){if(!de.TypeIsObject(e))throw new TypeError("Constructor requires `new`: "+t.name);var o=t.prototype;de.TypeIsObject(o)||(o=n);var i=j(o);for(var a in r)if(U(r,a)){var s=r[a];v(i,a,s,!0)}return i};if(String.fromCodePoint&&1!==String.fromCodePoint.length){var Ie=String.fromCodePoint;oe(String,"fromCodePoint",function(e){return de.Call(Ie,this,arguments)})}var Re={fromCodePoint:function(e){for(var t,n=[],r=0,o=arguments.length;r1114111)throw new RangeError("Invalid code point "+t);t<65536?D(n,String.fromCharCode(t)):(t-=65536,D(n,String.fromCharCode(55296+(t>>10))),D(n,String.fromCharCode(t%1024+56320)))}return n.join("")},raw:function(e){var t=de.ToObject(e,"bad callSite"),n=de.ToObject(t.raw,"bad raw value"),r=n.length,o=de.ToLength(r);if(o<=0)return"";for(var i,a,s,l,u=[],c=0;c=o));)a=c+1=Fe)throw new RangeError("repeat count must be less than infinity and not overflow maximum string size");return Le(t,n)},startsWith:function(e){var t=de.ToString(de.RequireObjectCoercible(this));if(de.IsRegExp(e))throw new TypeError('Cannot call method "startsWith" with a regex');var n,r=de.ToString(e);arguments.length>1&&(n=arguments[1]);var o=R(de.ToInteger(n),0);return M(t,o,o+r.length)===r},endsWith:function(e){var t=de.ToString(de.RequireObjectCoercible(this));if(de.IsRegExp(e))throw new TypeError('Cannot call method "endsWith" with a regex');var n,r=de.ToString(e),o=t.length;arguments.length>1&&(n=arguments[1]);var i=void 0===n?o:de.ToInteger(n),a=L(R(i,0),o);return M(t,a-r.length,a)===r},includes:function(e){if(de.IsRegExp(e))throw new TypeError('"includes" does not accept a RegExp');var t,n=de.ToString(e);return arguments.length>1&&(t=arguments[1]),T(this,n,t)!==-1},codePointAt:function(e){var t=de.ToString(de.RequireObjectCoercible(this)),n=de.ToInteger(e),r=t.length;if(n>=0&&n56319||i)return o;var a=t.charCodeAt(n+1);return a<56320||a>57343?o:1024*(o-55296)+(a-56320)+65536}}};if(String.prototype.includes&&"a".includes("a",1/0)!==!1&&oe(String.prototype,"includes",Ne.includes),String.prototype.startsWith&&String.prototype.endsWith){var Be=l(function(){"/a/".startsWith(/a/)}),ze=u(function(){return"abc".startsWith("a",1/0)===!1});Be&&ze||(oe(String.prototype,"startsWith",Ne.startsWith),oe(String.prototype,"endsWith",Ne.endsWith))}if(ie){u(function(){var e=/a/;return e[Q.match]=!1,"/a/".startsWith(e)})||oe(String.prototype,"startsWith",Ne.startsWith);u(function(){var e=/a/;return e[Q.match]=!1,"/a/".endsWith(e)})||oe(String.prototype,"endsWith",Ne.endsWith);u(function(){var e=/a/;return e[Q.match]=!1,"/a/".includes(e)})||oe(String.prototype,"includes",Ne.includes)}b(String.prototype,Ne);var He=["\t\n\v\f\r   ᠎    ","          \u2028","\u2029\ufeff"].join(""),Ue=new RegExp("(^["+He+"]+)|(["+He+"]+$)","g"),We=function(){return de.ToString(de.RequireObjectCoercible(this)).replace(Ue,"")},qe=["…","​","￾"].join(""),Ve=new RegExp("["+qe+"]","g"),Ge=/^[-+]0x[0-9a-f]+$/i,Ke=qe.trim().length!==qe.length;v(String.prototype,"trim",We,Ke);var Ye=function(e){return{value:e,done:0===arguments.length}},Qe=function(e){de.RequireObjectCoercible(e),this._s=de.ToString(e),this._i=0};Qe.prototype.next=function(){var e=this._s,t=this._i;if(void 0===e||t>=e.length)return this._s=void 0,Ye();var n,r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===e.length?r=1:(n=e.charCodeAt(t+1),r=n<56320||n>57343?1:2),this._i=t+r,Ye(e.substr(t,r))},Pe(Qe.prototype),Pe(String.prototype,function(){return new Qe(this)});var Xe={from:function(e){var t,r=this;arguments.length>1&&(t=arguments[1]);var o,i;if(void 0===t)o=!1;else{if(!de.IsCallable(t))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2]),o=!0}var a,s,l,u=void 0!==(ne(e)||de.GetMethod(e,ae));if(u){s=de.IsConstructor(r)?Object(new r):[];var c,d,p=de.GetIterator(e);for(l=0;;){if((c=de.IteratorStep(p))===!1)break;d=c.value;try{o&&(d=void 0===i?t(d,l):n(t,i,d,l)),s[l]=d}catch(e){throw de.IteratorClose(p,!0),e}l+=1}a=l}else{var f=de.ToObject(e);a=de.ToLength(f.length),s=de.IsConstructor(r)?Object(new r(a)):new Array(a);var h;for(l=0;l2&&(n=arguments[2]);var u=void 0===n?o:de.ToInteger(n),c=u<0?R(o+u,0):L(u,o),d=L(c-l,o-s),p=1;for(l0;)l in r?r[s]=r[l]:delete r[s],l+=p,s+=p,d-=1;return r},fill:function(e){var t;arguments.length>1&&(t=arguments[1]);var n;arguments.length>2&&(n=arguments[2]);var r=de.ToObject(this),o=de.ToLength(r.length);t=de.ToInteger(void 0===t?0:t),n=de.ToInteger(void 0===n?o:n);for(var i=t<0?R(o+t,0):L(t,o),a=n<0?o+n:n,s=i;s1?arguments[1]:null,a=0;a1?arguments[1]:null,i=0;i1&&void 0!==arguments[1]?de.Call(tt,this,arguments):n(tt,this,e)})}var nt=-(Math.pow(2,32)-1),rt=function(e,t){var r={length:nt};return r[t?(r.length>>>0)-1:0]=!0,u(function(){return n(e,r,function(){throw new RangeError("should not reach here")},[]),!0})};if(!rt(Array.prototype.forEach)){var ot=Array.prototype.forEach;oe(Array.prototype,"forEach",function(e){return de.Call(ot,this.length>=0?this:[],arguments)},!0)}if(!rt(Array.prototype.map)){var it=Array.prototype.map;oe(Array.prototype,"map",function(e){return de.Call(it,this.length>=0?this:[],arguments)},!0)}if(!rt(Array.prototype.filter)){var at=Array.prototype.filter;oe(Array.prototype,"filter",function(e){return de.Call(at,this.length>=0?this:[],arguments)},!0)}if(!rt(Array.prototype.some)){var st=Array.prototype.some;oe(Array.prototype,"some",function(e){return de.Call(st,this.length>=0?this:[],arguments)},!0)}if(!rt(Array.prototype.every)){var lt=Array.prototype.every;oe(Array.prototype,"every",function(e){return de.Call(lt,this.length>=0?this:[],arguments)},!0)}if(!rt(Array.prototype.reduce)){var ut=Array.prototype.reduce;oe(Array.prototype,"reduce",function(e){return de.Call(ut,this.length>=0?this:[],arguments)},!0)}if(!rt(Array.prototype.reduceRight,!0)){var ct=Array.prototype.reduceRight;oe(Array.prototype,"reduceRight",function(e){return de.Call(ct,this.length>=0?this:[],arguments)},!0)}var dt=8!==Number("0o10"),pt=2!==Number("0b10"),ft=y(qe,function(e){return 0===Number(e+0+e)});if(dt||pt||ft){var ht=Number,mt=/^0b[01]+$/i,gt=/^0o[0-7]+$/i,yt=mt.test.bind(mt),vt=gt.test.bind(gt),bt=function(e){var t;if("function"==typeof e.valueOf&&(t=e.valueOf(),re.primitive(t)))return t;if("function"==typeof e.toString&&(t=e.toString(),re.primitive(t)))return t;throw new TypeError("No default value")},_t=Ve.test.bind(Ve),At=Ge.test.bind(Ge),xt=function(){var e=function(t){var n;"string"==typeof(n=arguments.length>0?re.primitive(t)?t:bt(t,"number"):0)&&(n=de.Call(We,n),yt(n)?n=parseInt(M(n,2),2):vt(n)?n=parseInt(M(n,2),8):(_t(n)||At(n))&&(n=NaN));var r=this,o=u(function(){return ht.prototype.valueOf.call(r),!0});return r instanceof e&&!o?new ht(n):ht(n)};return e}();ke(ht,xt,{}),b(xt,{NaN:ht.NaN,MAX_VALUE:ht.MAX_VALUE,MIN_VALUE:ht.MIN_VALUE,NEGATIVE_INFINITY:ht.NEGATIVE_INFINITY,POSITIVE_INFINITY:ht.POSITIVE_INFINITY}),Number=xt,x.redefine(E,"Number",xt)}var jt=Math.pow(2,53)-1;b(Number,{MAX_SAFE_INTEGER:jt,MIN_SAFE_INTEGER:-jt,EPSILON:2.220446049250313e-16,parseInt:E.parseInt,parseFloat:E.parseFloat,isFinite:J,isInteger:function(e){return J(e)&&de.ToInteger(e)===e},isSafeInteger:function(e){return Number.isInteger(e)&&N(e)<=Number.MAX_SAFE_INTEGER},isNaN:Z}),v(Number,"parseInt",E.parseInt,Number.parseInt!==E.parseInt),1===[,1].find(function(){return!0})&&oe(Array.prototype,"find",Ze.find),0!==[,1].findIndex(function(){return!0})&&oe(Array.prototype,"findIndex",Ze.findIndex);var wt=Function.bind.call(Function.bind,Object.prototype.propertyIsEnumerable),Ct=function(e,t){p&&wt(e,t)&&Object.defineProperty(e,t,{enumerable:!1})},Et=function(){for(var e=Number(this),t=arguments.length,n=t-e,r=new Array(n<0?0:n),o=e;o1?NaN:t===-1?-(1/0):1===t?1/0:0===t?t:.5*z((1+t)/(1-t))},cbrt:function(e){var t=Number(e);if(0===t)return t;var n,r=t<0;return r&&(t=-t),t===1/0?n=1/0:(n=B(z(t)/3),n=(t/(n*n)+2*n)/3),r?-n:n},clz32:function(e){var t=Number(e),n=de.ToUint32(t);return 0===n?32:pn?de.Call(pn,n):31-F(z(n+.5)*cn)},cosh:function(e){var t=Number(e);return 0===t?1:Z(t)?NaN:k(t)?(t<0&&(t=-t),t>21?B(t)/2:(B(t)+B(-t))/2):1/0},expm1:function(e){var t=Number(e);if(t===-(1/0))return-1;if(!k(t)||0===t)return t;if(N(t)>.5)return B(t)-1;for(var n=t,r=0,o=1;r+n!==r;)r+=n,o+=1,n*=t/o;return r},hypot:function(e,t){for(var n=0,r=0,o=0;o0?i/r*(i/r):i}return r===1/0?1/0:r*H(n)},log2:function(e){return z(e)*cn},log10:function(e){return z(e)*dn},log1p:function(e){var t=Number(e);return t<-1||Z(t)?NaN:0===t||t===1/0?t:t===-1?-(1/0):1+t-1==0?t:t*(z(1+t)/(1+t-1))},sign:$,sinh:function(e){var t=Number(e);return k(t)&&0!==t?N(t)<1?(Math.expm1(t)-Math.expm1(-t))/2:(B(t-1)-B(-t-1))*un/2:t},tanh:function(e){var t=Number(e);return Z(t)||0===t?t:t>=20?1:t<=-20?-1:(Math.expm1(t)-Math.expm1(-t))/(B(t)+B(-t))},trunc:function(e){var t=Number(e);return t<0?-F(-t):F(t)},imul:function(e,t){var n=de.ToUint32(e),r=de.ToUint32(t),o=n>>>16&65535,i=65535&n,a=r>>>16&65535,s=65535&r;return i*s+(o*s+i*a<<16>>>0)|0},fround:function(e){var t=Number(e);if(0===t||t===1/0||t===-(1/0)||Z(t))return t;var n=$(t),r=N(t);if(rsn||Z(i)?n*(1/0):n*i}};b(Math,fn),v(Math,"log1p",fn.log1p,Math.log1p(-1e-17)!==-1e-17),v(Math,"asinh",fn.asinh,Math.asinh(-1e7)!==-Math.asinh(1e7)),v(Math,"tanh",fn.tanh,Math.tanh(-2e-17)!==-2e-17),v(Math,"acosh",fn.acosh,Math.acosh(Number.MAX_VALUE)===1/0),v(Math,"cbrt",fn.cbrt,Math.abs(1-Math.cbrt(1e-300)/1e-100)/Number.EPSILON>8),v(Math,"sinh",fn.sinh,Math.sinh(-2e-17)!==-2e-17);var hn=Math.expm1(10);v(Math,"expm1",fn.expm1,hn>22025.465794806718||hn<22025.465794806718);var mn=Math.round,gn=0===Math.round(.5-Number.EPSILON/4)&&1===Math.round(-.5+Number.EPSILON/3.99),yn=rn+1,vn=2*rn-1,bn=[yn,vn].every(function(e){return Math.round(e)===e});v(Math,"round",function(e){var t=F(e),n=t===-1?-0:t+1;return e-t<.5?t:n},!gn||!bn),x.preserveToString(Math.round,mn);var _n=Math.imul;Math.imul(4294967295,5)!==-5&&(Math.imul=fn.imul,x.preserveToString(Math.imul,_n)),2!==Math.imul.length&&oe(Math,"imul",function(e,t){return de.Call(_n,Math,arguments)});var An=function(){var e=E.setTimeout;if("function"==typeof e||"object"==typeof e){de.IsPromise=function(e){return!!de.TypeIsObject(e)&&void 0!==e._promise};var t,r=function(e){if(!de.IsConstructor(e))throw new TypeError("Bad promise constructor");var t=this,n=function(e,n){if(void 0!==t.resolve||void 0!==t.reject)throw new TypeError("Bad Promise implementation!");t.resolve=e,t.reject=n};if(t.resolve=void 0,t.reject=void 0,t.promise=new e(n),!de.IsCallable(t.resolve)||!de.IsCallable(t.reject))throw new TypeError("Bad promise constructor")};"undefined"!=typeof window&&de.IsCallable(window.postMessage)&&(t=function(){var e=[],t="zero-timeout-message",n=function(n){D(e,n),window.postMessage(t,"*")},r=function(n){if(n.source===window&&n.data===t){if(n.stopPropagation(),0===e.length)return;I(e)()}};return window.addEventListener("message",r,!0),n});var i,a,s=function(){var e=E.Promise,t=e&&e.resolve&&e.resolve();return t&&function(e){return t.then(e)}},l=de.IsCallable(E.setImmediate)?E.setImmediate:"object"==typeof o&&o.nextTick?o.nextTick:s()||(de.IsCallable(t)?t():function(t){e(t,0)}),u=function(e){return e},c=function(e){throw e},d=0,p=1,f=2,h=0,m=1,g=2,y={},v=function(e,t,n){l(function(){_(e,t,n)})},_=function(e,t,n){var r,o;if(t===y)return e(n);try{r=e(n),o=t.resolve}catch(e){r=e,o=t.reject}o(r)},A=function(e,t){var n=e._promise,r=n.reactionLength;if(r>0&&(v(n.fulfillReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o0&&(v(n.rejectReactionHandler0,n.reactionCapability0,t),n.fulfillReactionHandler0=void 0,n.rejectReactions0=void 0,n.reactionCapability0=void 0,r>1))for(var o=1,i=0;o2&&arguments[2]===y&&i===k?y:new r(i);var a,s=de.IsCallable(e)?e:u,l=de.IsCallable(t)?t:c,b=n._promise;if(b.state===d){if(0===b.reactionLength)b.fulfillReactionHandler0=s,b.rejectReactionHandler0=l,b.reactionCapability0=o;else{var _=3*(b.reactionLength-1);b[_+h]=s,b[_+m]=l,b[_+g]=o}b.reactionLength+=1}else if(b.state===p)a=b.result,v(s,o,a);else{if(b.state!==f)throw new TypeError("unexpected Promise state");a=b.result,v(l,o,a)}return o.promise}}),y=new r(k),a=i.then,k}}();if(E.Promise&&(delete E.Promise.accept,delete E.Promise.defer,delete E.Promise.prototype.chain),"function"==typeof An){b(E,{Promise:An});var xn=w(E.Promise,function(e){return e.resolve(42).then(function(){})instanceof e}),jn=!l(function(){E.Promise.reject(42).then(null,5).then(null,W)}),wn=l(function(){E.Promise.call(3,W)}),Cn=function(e){var t=e.resolve(5);t.constructor={};var n=e.resolve(t);try{n.then(null,W).then(null,W)}catch(e){return!0}return t===n}(E.Promise),En=p&&function(){var e=0,t=Object.defineProperty({},"then",{get:function(){e+=1}});return Promise.resolve(t),1===e}(),kn=function e(t){var n=new Promise(t);t(3,function(){}),this.then=n.then,this.constructor=e};kn.prototype=Promise.prototype,kn.all=Promise.all;var Tn=u(function(){return!!kn.all([1,2])});if(xn&&jn&&wn&&!Cn&&En&&!Tn||(Promise=An,oe(E,"Promise",An)),1!==Promise.all.length){var Sn=Promise.all;oe(Promise,"all",function(e){return de.Call(Sn,this,arguments)})}if(1!==Promise.race.length){var Pn=Promise.race;oe(Promise,"race",function(e){return de.Call(Pn,this,arguments)})}if(1!==Promise.resolve.length){var Mn=Promise.resolve;oe(Promise,"resolve",function(e){return de.Call(Mn,this,arguments)})}if(1!==Promise.reject.length){var Dn=Promise.reject;oe(Promise,"reject",function(e){return de.Call(Dn,this,arguments)})}Ct(Promise,"all"),Ct(Promise,"race"),Ct(Promise,"resolve"),Ct(Promise,"reject"),Se(Promise)}var On=function(e){var t=a(m(e,function(e,t){return e[t]=!0,e},{}));return e.join(":")===t.join(":")},In=On(["z","a","bb"]),Rn=On(["z",1,"a","3",2]);if(p){var Ln=function(e,t){return t||In?ce(e)?"^"+de.ToString(e):"string"==typeof e?"$"+e:"number"==typeof e?Rn?e:"n"+e:"boolean"==typeof e?"b"+e:null:null},Fn=function(){return Object.create?Object.create(null):{}},Nn=function(e,t,r){if(i(r)||re.string(r))h(r,function(e){if(!de.TypeIsObject(e))throw new TypeError("Iterator value "+e+" is not an entry object");t.set(e[0],e[1])});else if(r instanceof e)n(e.prototype.forEach,r,function(e,n){t.set(n,e)});else{var o,a;if(!ce(r)){if(a=t.set,!de.IsCallable(a))throw new TypeError("bad map");o=de.GetIterator(r)}if(void 0!==o)for(;;){var s=de.IteratorStep(o);if(s===!1)break;var l=s.value;try{if(!de.TypeIsObject(l))throw new TypeError("Iterator value "+l+" is not an entry object");n(a,t,l[0],l[1])}catch(e){throw de.IteratorClose(o,!0),e}}}},Bn=function(e,t,r){if(i(r)||re.string(r))h(r,function(e){t.add(e)});else if(r instanceof e)n(e.prototype.forEach,r,function(e){t.add(e)});else{var o,a;if(!ce(r)){if(a=t.add,!de.IsCallable(a))throw new TypeError("bad set");o=de.GetIterator(r)}if(void 0!==o)for(;;){var s=de.IteratorStep(o);if(s===!1)break;var l=s.value;try{n(a,t,l)}catch(e){throw de.IteratorClose(o,!0),e}}}},zn={Map:function(){var e={},t=function(e,t){this.key=e,this.value=t,this.next=null,this.prev=null};t.prototype.isRemoved=function(){return this.key===e};var r=function(e){return!!e._es6map},o=function(e,t){if(!de.TypeIsObject(e)||!r(e))throw new TypeError("Method Map.prototype."+t+" called on incompatible receiver "+de.ToString(e))},i=function(e,t){o(e,"[[MapIterator]]"),this.head=e._head,this.i=this.head,this.kind=t};i.prototype={next:function(){var e=this.i,t=this.kind,n=this.head;if(void 0===this.i)return Ye();for(;e.isRemoved()&&e!==n;)e=e.prev;for(var r;e.next!==n;)if(e=e.next,!e.isRemoved())return r="key"===t?e.key:"value"===t?e.value:[e.key,e.value],this.i=e,Ye(r);return this.i=void 0,Ye()}},Pe(i.prototype);var a,s=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');if(this&&this._es6map)throw new TypeError("Bad construction");var n=Oe(this,e,a,{_es6map:!0,_head:null,_map:q?new q:null,_size:0,_storage:Fn()}),r=new t(null,null);return r.next=r.prev=r,n._head=r,arguments.length>0&&Nn(e,n,arguments[0]),n};return a=s.prototype,x.getter(a,"size",function(){if(void 0===this._size)throw new TypeError("size method called on incompatible Map");return this._size}),b(a,{get:function(e){o(this,"get");var t,n=Ln(e,!0);if(null!==n)return t=this._storage[n],t?t.value:void 0;if(this._map)return t=G.call(this._map,e),t?t.value:void 0;for(var r=this._head,i=r;(i=i.next)!==r;)if(de.SameValueZero(i.key,e))return i.value},has:function(e){o(this,"has");var t=Ln(e,!0);if(null!==t)return void 0!==this._storage[t];if(this._map)return K.call(this._map,e);for(var n=this._head,r=n;(r=r.next)!==n;)if(de.SameValueZero(r.key,e))return!0;return!1},set:function(e,n){o(this,"set");var r,i=this._head,a=i,s=Ln(e,!0);if(null!==s){if(void 0!==this._storage[s])return this._storage[s].value=n,this;r=this._storage[s]=new t(e,n),a=i.prev}else this._map&&(K.call(this._map,e)?G.call(this._map,e).value=n:(r=new t(e,n),Y.call(this._map,e,r),a=i.prev));for(;(a=a.next)!==i;)if(de.SameValueZero(a.key,e))return a.value=n,this;return r=r||new t(e,n),de.SameValue(-0,e)&&(r.key=0),r.next=this._head,r.prev=this._head.prev,r.prev.next=r,r.next.prev=r,this._size+=1,this},delete:function(t){o(this,"delete");var n=this._head,r=n,i=Ln(t,!0);if(null!==i){if(void 0===this._storage[i])return!1;r=this._storage[i].prev,delete this._storage[i]}else if(this._map){if(!K.call(this._map,t))return!1;r=G.call(this._map,t).prev,V.call(this._map,t)}for(;(r=r.next)!==n;)if(de.SameValueZero(r.key,t))return r.key=e,r.value=e,r.prev.next=r.next,r.next.prev=r.prev,this._size-=1,!0;return!1},clear:function(){o(this,"clear"),this._map=q?new q:null,this._size=0,this._storage=Fn();for(var t=this._head,n=t,r=n.next;(n=r)!==t;)n.key=e,n.value=e,r=n.next,n.next=n.prev=t;t.next=t.prev=t},keys:function(){return o(this,"keys"),new i(this,"key")},values:function(){return o(this,"values"),new i(this,"value")},entries:function(){return o(this,"entries"),new i(this,"key+value")},forEach:function(e){o(this,"forEach");for(var t=arguments.length>1?arguments[1]:null,r=this.entries(),i=r.next();!i.done;i=r.next())t?n(e,t,i.value[1],i.value[0],this):e(i.value[1],i.value[0],this)}}),Pe(a,a.entries),s}(),Set:function(){var e,t=function(e){return e._es6set&&void 0!==e._storage},r=function(e,n){if(!de.TypeIsObject(e)||!t(e))throw new TypeError("Set.prototype."+n+" called on incompatible receiver "+de.ToString(e))},o=function t(){if(!(this instanceof t))throw new TypeError('Constructor Set requires "new"');if(this&&this._es6set)throw new TypeError("Bad construction");var n=Oe(this,t,e,{_es6set:!0,"[[SetData]]":null,_storage:Fn()});if(!n._es6set)throw new TypeError("bad set");return arguments.length>0&&Bn(t,n,arguments[0]),n};e=o.prototype;var i=function(e){var t=e;if("^null"===t)return null;if("^undefined"!==t){var n=t.charAt(0);return"$"===n?M(t,1):"n"===n?+M(t,1):"b"===n?"btrue"===t:+t}},s=function(e){if(!e["[[SetData]]"]){var t=new zn.Map;e["[[SetData]]"]=t,h(a(e._storage),function(e){var n=i(e);t.set(n,n)}),e["[[SetData]]"]=t}e._storage=null};return x.getter(o.prototype,"size",function(){return r(this,"size"),this._storage?a(this._storage).length:(s(this),this["[[SetData]]"].size)}),b(o.prototype,{has:function(e){r(this,"has");var t;return this._storage&&null!==(t=Ln(e))?!!this._storage[t]:(s(this),this["[[SetData]]"].has(e))},add:function(e){r(this,"add");var t;return this._storage&&null!==(t=Ln(e))?(this._storage[t]=!0,this):(s(this),this["[[SetData]]"].set(e,e),this)},delete:function(e){r(this,"delete");var t;if(this._storage&&null!==(t=Ln(e))){var n=U(this._storage,t);return delete this._storage[t]&&n}return s(this),this["[[SetData]]"].delete(e)},clear:function(){r(this,"clear"),this._storage&&(this._storage=Fn()),this["[[SetData]]"]&&this["[[SetData]]"].clear()},values:function(){return r(this,"values"),s(this),this["[[SetData]]"].values()},entries:function(){return r(this,"entries"),s(this),this["[[SetData]]"].entries()},forEach:function(e){r(this,"forEach");var t=arguments.length>1?arguments[1]:null,o=this;s(o),this["[[SetData]]"].forEach(function(r,i){t?n(e,t,i,i,o):e(i,i,o)})}}),v(o.prototype,"keys",o.prototype.values,!0),Pe(o.prototype,o.prototype.values),o}()};if(E.Map||E.Set){u(function(){return 2===new Map([[1,2]]).get(1)})||(E.Map=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=new q;return arguments.length>0&&Nn(e,t,arguments[0]),delete t.constructor,Object.setPrototypeOf(t,E.Map.prototype),t},E.Map.prototype=j(q.prototype),v(E.Map.prototype,"constructor",E.Map,!0),x.preserveToString(E.Map,q));var Hn=new Map,Un=function(){var e=new Map([[1,0],[2,0],[3,0],[4,0]]);return e.set(-0,e),e.get(0)===e&&e.get(-0)===e&&e.has(0)&&e.has(-0)}(),Wn=Hn.set(1,2)===Hn;Un&&Wn||oe(Map.prototype,"set",function(e,t){return n(Y,this,0===e?0:e,t),this}),Un||(b(Map.prototype,{get:function(e){return n(G,this,0===e?0:e)},has:function(e){return n(K,this,0===e?0:e)}},!0),x.preserveToString(Map.prototype.get,G),x.preserveToString(Map.prototype.has,K));var qn=new Set,Vn=function(e){return e.delete(0),e.add(-0),!e.has(0)}(qn),Gn=qn.add(1)===qn;if(!Vn||!Gn){var Kn=Set.prototype.add;Set.prototype.add=function(e){return n(Kn,this,0===e?0:e),this},x.preserveToString(Set.prototype.add,Kn)}if(!Vn){var Yn=Set.prototype.has;Set.prototype.has=function(e){return n(Yn,this,0===e?0:e)},x.preserveToString(Set.prototype.has,Yn);var Qn=Set.prototype.delete;Set.prototype.delete=function(e){return n(Qn,this,0===e?0:e)},x.preserveToString(Set.prototype.delete,Qn)}var Xn=w(E.Map,function(e){var t=new e([]);return t.set(42,42),t instanceof e}),Zn=Object.setPrototypeOf&&!Xn,Jn=function(){try{return!(E.Map()instanceof E.Map)}catch(e){return e instanceof TypeError}}();0===E.Map.length&&!Zn&&Jn||(E.Map=function e(){if(!(this instanceof e))throw new TypeError('Constructor Map requires "new"');var t=new q;return arguments.length>0&&Nn(e,t,arguments[0]),delete t.constructor,Object.setPrototypeOf(t,e.prototype),t},E.Map.prototype=q.prototype,v(E.Map.prototype,"constructor",E.Map,!0),x.preserveToString(E.Map,q));var $n=w(E.Set,function(e){var t=new e([]);return t.add(42,42),t instanceof e}),er=Object.setPrototypeOf&&!$n,tr=function(){try{return!(E.Set()instanceof E.Set)}catch(e){return e instanceof TypeError}}();if(0!==E.Set.length||er||!tr){var nr=E.Set;E.Set=function e(){if(!(this instanceof e))throw new TypeError('Constructor Set requires "new"');var t=new nr;return arguments.length>0&&Bn(e,t,arguments[0]),delete t.constructor,Object.setPrototypeOf(t,e.prototype),t},E.Set.prototype=nr.prototype,v(E.Set.prototype,"constructor",E.Set,!0),x.preserveToString(E.Set,nr)}var rr=new E.Map,or=!u(function(){return rr.keys().next().done});if(("function"!=typeof E.Map.prototype.clear||0!==(new E.Set).size||0!==rr.size||"function"!=typeof E.Map.prototype.keys||"function"!=typeof E.Set.prototype.keys||"function"!=typeof E.Map.prototype.forEach||"function"!=typeof E.Set.prototype.forEach||c(E.Map)||c(E.Set)||"function"!=typeof rr.keys().next||or||!Xn)&&b(E,{Map:zn.Map,Set:zn.Set},!0),E.Set.prototype.keys!==E.Set.prototype.values&&v(E.Set.prototype,"keys",E.Set.prototype.values,!0),Pe(Object.getPrototypeOf((new E.Map).keys())),Pe(Object.getPrototypeOf((new E.Set).keys())),f&&"has"!==E.Set.prototype.has.name){var ir=E.Set.prototype.has;oe(E.Set.prototype,"has",function(e){return n(ir,this,e)})}}b(E,zn),Se(E.Map),Se(E.Set)}var ar=function(e){if(!de.TypeIsObject(e))throw new TypeError("target must be an object")},sr={apply:function(){return de.Call(de.Call,null,arguments)},construct:function(e,t){if(!de.IsConstructor(e))throw new TypeError("First argument must be a constructor.");var n=arguments.length>2?arguments[2]:e;if(!de.IsConstructor(n))throw new TypeError("new.target must be a constructor.");return de.Construct(e,t,n,"internal")},deleteProperty:function(e,t){if(ar(e),p){var n=Object.getOwnPropertyDescriptor(e,t);if(n&&!n.configurable)return!1}return delete e[t]},has:function(e,t){return ar(e),t in e}};Object.getOwnPropertyNames&&Object.assign(sr,{ownKeys:function(e){ar(e);var t=Object.getOwnPropertyNames(e);return de.IsCallable(Object.getOwnPropertySymbols)&&O(t,Object.getOwnPropertySymbols(e)),t}});var lr=function(e){return!l(e)};if(Object.preventExtensions&&Object.assign(sr,{isExtensible:function(e){return ar(e),Object.isExtensible(e)},preventExtensions:function(e){return ar(e),lr(function(){Object.preventExtensions(e)})}}),p){var ur=function(e,t,n){var r=Object.getOwnPropertyDescriptor(e,t);if(!r){var o=Object.getPrototypeOf(e);if(null===o)return;return ur(o,t,n)}return"value"in r?r.value:r.get?de.Call(r.get,n):void 0},cr=function(e,t,r,o){var i=Object.getOwnPropertyDescriptor(e,t);if(!i){var a=Object.getPrototypeOf(e);if(null!==a)return cr(a,t,r,o);i={value:void 0,writable:!0,enumerable:!0,configurable:!0}}if("value"in i){if(!i.writable)return!1;if(!de.TypeIsObject(o))return!1;return Object.getOwnPropertyDescriptor(o,t)?se.defineProperty(o,t,{value:r}):se.defineProperty(o,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}return!!i.set&&(n(i.set,o,r),!0)};Object.assign(sr,{defineProperty:function(e,t,n){return ar(e),lr(function(){Object.defineProperty(e,t,n)})},getOwnPropertyDescriptor:function(e,t){return ar(e),Object.getOwnPropertyDescriptor(e,t)},get:function(e,t){return ar(e),ur(e,t,arguments.length>2?arguments[2]:e)},set:function(e,t,n){return ar(e),cr(e,t,n,arguments.length>3?arguments[3]:e)}})}if(Object.getPrototypeOf){var dr=Object.getPrototypeOf;sr.getPrototypeOf=function(e){return ar(e),dr(e)}}if(Object.setPrototypeOf&&sr.getPrototypeOf){var pr=function(e,t){for(var n=t;n;){if(e===n)return!0;n=sr.getPrototypeOf(n)}return!1};Object.assign(sr,{setPrototypeOf:function(e,t){if(ar(e),null!==t&&!de.TypeIsObject(t))throw new TypeError("proto must be an object or null");return t===se.getPrototypeOf(e)||!(se.isExtensible&&!se.isExtensible(e))&&(!pr(e,t)&&(Object.setPrototypeOf(e,t),!0))}})}var fr=function(e,t){if(de.IsCallable(E.Reflect[e])){u(function(){return E.Reflect[e](1),E.Reflect[e](NaN),E.Reflect[e](!0),!0})&&oe(E.Reflect,e,t)}else v(E.Reflect,e,t)};Object.keys(sr).forEach(function(e){fr(e,sr[e])});var hr=E.Reflect.getPrototypeOf;if(f&&hr&&"getPrototypeOf"!==hr.name&&oe(E.Reflect,"getPrototypeOf",function(e){return n(hr,E.Reflect,e)}),E.Reflect.setPrototypeOf&&u(function(){return E.Reflect.setPrototypeOf(1,{}),!0})&&oe(E.Reflect,"setPrototypeOf",sr.setPrototypeOf),E.Reflect.defineProperty&&(u(function(){var e=!E.Reflect.defineProperty(1,"test",{value:1}),t="function"!=typeof Object.preventExtensions||!E.Reflect.defineProperty(Object.preventExtensions({}),"test",{});return e&&t})||oe(E.Reflect,"defineProperty",sr.defineProperty)),E.Reflect.construct&&(u(function(){var e=function(){};return E.Reflect.construct(function(){},[],e)instanceof e})||oe(E.Reflect,"construct",sr.construct)),"Invalid Date"!==String(new Date(NaN))){var mr=Date.prototype.toString,gr=function(){var e=+this;return e!==e?"Invalid Date":de.Call(mr,this)};oe(Date.prototype,"toString",gr)}var yr={anchor:function(e){return de.CreateHTML(this,"a","name",e)},big:function(){return de.CreateHTML(this,"big","","")},blink:function(){return de.CreateHTML(this,"blink","","")},bold:function(){return de.CreateHTML(this,"b","","")},fixed:function(){return de.CreateHTML(this,"tt","","")},fontcolor:function(e){return de.CreateHTML(this,"font","color",e)},fontsize:function(e){return de.CreateHTML(this,"font","size",e)},italics:function(){return de.CreateHTML(this,"i","","")},link:function(e){return de.CreateHTML(this,"a","href",e)},small:function(){return de.CreateHTML(this,"small","","")},strike:function(){return de.CreateHTML(this,"strike","","")},sub:function(){return de.CreateHTML(this,"sub","","")},sup:function(){return de.CreateHTML(this,"sup","","")}};h(Object.keys(yr),function(e){var t=String.prototype[e],r=!1;if(de.IsCallable(t)){var o=n(t,"",' " '),i=P([],o.match(/"/g)).length;r=o!==o.toLowerCase()||i>2}else r=!0;r&&oe(String.prototype,e,yr[e])});var vr=function(){if(!ie)return!1;var e="object"==typeof JSON&&"function"==typeof JSON.stringify?JSON.stringify:null;if(!e)return!1;if(void 0!==e(Q()))return!0;if("[null]"!==e([Q()]))return!0;var t={a:Q()};return t[Q()]=!0,"{}"!==e(t)}(),br=u(function(){return!ie||"{}"===JSON.stringify(Object(Q()))&&"[{}]"===JSON.stringify([Object(Q())])});if(vr||!br){var _r=JSON.stringify;oe(JSON,"stringify",function(e){if("symbol"!=typeof e){var t;arguments.length>1&&(t=arguments[1]);var r=[e];if(i(t))r.push(t);else{var o=de.IsCallable(t)?t:null,a=function(e,t){var r=o?n(o,this,e,t):t;if("symbol"!=typeof r)return re.symbol(r)?kt({})(r):r};r.push(a)}return arguments.length>2&&r.push(arguments[2]),_r.apply(this,r)}})}return E})}).call(t,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/process/browser.js"))},"./node_modules/escape-string-regexp/index.js":function(e,t,n){"use strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(r,"\\$&")}},"./node_modules/eventemitter3/index.js":function(e,t,n){"use strict";function r(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(){}o.prototype._events=void 0,o.prototype.listeners=function(e){if(!this._events||!this._events[e])return[];if(this._events[e].fn)return[this._events[e].fn];for(var t=0,n=this._events[e].length,r=new Array(n);t0&&this._events[e].length>o&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),o||(o=!0,t.apply(this,arguments))}if(!r(t))throw TypeError("listener must be a function");var o=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,o,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,o=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){o=s;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},"./node_modules/extend/index.js":function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===o.call(e)},a=function(e){if(!e||"[object Object]"!==o.call(e))return!1;var t=r.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!t&&!n)return!1;var i;for(i in e);return void 0===i||r.call(e,i)};e.exports=function e(){var t,n,r,o,s,l,u=arguments[0],c=1,d=arguments.length,p=!1;for("boolean"==typeof u?(p=u,u=arguments[1]||{},c=2):("object"!=typeof u&&"function"!=typeof u||null==u)&&(u={});c0},e}();e.exports=d},"./node_modules/fbjs/lib/EventListener.js":function(e,t,n){"use strict";var r=n("./node_modules/fbjs/lib/emptyFunction.js"),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},"./node_modules/fbjs/lib/ExecutionEnvironment.js":function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},"./node_modules/fbjs/lib/Keys.js":function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},"./node_modules/fbjs/lib/PhotosMimeType.js":function(e,t,n){"use strict";function r(e){return e.split("/")}var o={isImage:function(e){return"image"===r(e)[0]},isJpeg:function(e){var t=r(e);return o.isImage(e)&&("jpeg"===t[1]||"pjpeg"===t[1])}};e.exports=o},"./node_modules/fbjs/lib/Scroll.js":function(e,t,n){"use strict";function r(e,t){return!!t&&(e===t.documentElement||e===t.body)}var o={getTop:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollTop||t.documentElement.scrollTop:e.scrollTop},setTop:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollTop=n.documentElement.scrollTop=t:e.scrollTop=t},getLeft:function(e){var t=e.ownerDocument;return r(e,t)?t.body.scrollLeft||t.documentElement.scrollLeft:e.scrollLeft},setLeft:function(e,t){var n=e.ownerDocument;r(e,n)?n.body.scrollLeft=n.documentElement.scrollLeft=t:e.scrollLeft=t}};e.exports=o},"./node_modules/fbjs/lib/Style.js":function(e,t,n){"use strict";function r(e,t){var n=i.get(e,t);return"auto"===n||"scroll"===n}var o=n("./node_modules/fbjs/lib/getStyleProperty.js"),i={get:o,getScrollParent:function(e){if(!e)return null;for(;e&&e!==document.body;){if(r(e,"overflow")||r(e,"overflowY")||r(e,"overflowX"))return e;e=e.parentNode}return window}};e.exports=i},"./node_modules/fbjs/lib/TokenizeUtil.js":function(e,t,n){"use strict";e.exports={getPunctuation:function(){return"[.,+*?$|#{}()'\\^\\-\\[\\]\\\\\\/!@%\"~=<>_:;・、。〈-】〔-〟:-?!-/[-`{-・⸮؟٪-٬؛،؍﴾﴿᠁।၊။‐-‧‰-⁞¡-±´-¸º»¿]"}}},"./node_modules/fbjs/lib/URI.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(t){r(this,e),this._uri=t}return e.prototype.toString=function(){return this._uri},e}();e.exports=o},"./node_modules/fbjs/lib/UnicodeBidi.js":function(e,t,n){"use strict";function r(e){var t=p.exec(e);return null==t?null:t[0]}function o(e){var t=r(e);return null==t?u.NEUTRAL:f.exec(t)?u.RTL:u.LTR}function i(e,t){if(t=t||u.NEUTRAL,!e.length)return t;var n=o(e);return n===u.NEUTRAL?t:n}function a(e,t){return t||(t=u.getGlobalDir()),u.isStrong(t)||c(!1),i(e,t)}function s(e,t){return a(e,t)===u.LTR}function l(e,t){return a(e,t)===u.RTL}var u=n("./node_modules/fbjs/lib/UnicodeBidiDirection.js"),c=n("./node_modules/fbjs/lib/invariant.js"),d={L:"A-Za-zªµºÀ-ÖØ-öø-ƺƻƼ-ƿǀ-ǃDŽ-ʓʔʕ-ʯʰ-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͷͺͻ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҂Ҋ-ԯԱ-Ֆՙ՚-՟ա-և։ःऄ-हऻऽा-ीॉ-ौॎ-ॏॐक़-ॡ।-॥०-९॰ॱॲ-ঀং-ঃঅ-ঌএ-ঐও-নপ-রলশ-হঽা-ীে-ৈো-ৌৎৗড়-ঢ়য়-ৡ০-৯ৰ-ৱ৴-৹৺ਃਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਾ-ੀਖ਼-ੜਫ਼੦-੯ੲ-ੴઃઅ-ઍએ-ઑઓ-નપ-રલ-ળવ-હઽા-ીૉો-ૌૐૠ-ૡ૦-૯૰ଂ-ଃଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଵ-ହଽାୀେ-ୈୋ-ୌୗଡ଼-ଢ଼ୟ-ୡ୦-୯୰ୱ୲-୷ஃஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-ஹா-ிு-ூெ-ைொ-ௌௐௗ௦-௯௰-௲ఁ-ఃఅ-ఌఎ-ఐఒ-నప-హఽు-ౄౘ-ౙౠ-ౡ౦-౯౿ಂ-ಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽಾಿೀ-ೄೆೇ-ೈೊ-ೋೕ-ೖೞೠ-ೡ೦-೯ೱ-ೲം-ഃഅ-ഌഎ-ഐഒ-ഺഽാ-ീെ-ൈൊ-ൌൎൗൠ-ൡ൦-൯൰-൵൹ൺ-ൿං-ඃඅ-ඖක-නඳ-රලව-ෆා-ෑෘ-ෟ෦-෯ෲ-ෳ෴ก-ะา-ำเ-ๅๆ๏๐-๙๚-๛ກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ະາ-ຳຽເ-ໄໆ໐-໙ໜ-ໟༀ༁-༃༄-༒༓༔༕-༗༚-༟༠-༩༪-༳༴༶༸༾-༿ཀ-ཇཉ-ཬཿ྅ྈ-ྌ྾-࿅࿇-࿌࿎-࿏࿐-࿔࿕-࿘࿙-࿚က-ဪါ-ာေးျ-ြဿ၀-၉၊-၏ၐ-ၕၖ-ၗၚ-ၝၡၢ-ၤၥ-ၦၧ-ၭၮ-ၰၵ-ႁႃ-ႄႇ-ႌႎႏ႐-႙ႚ-ႜ႞-႟Ⴀ-ჅჇჍა-ჺ჻ჼჽ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፠-፨፩-፼ᎀ-ᎏᎠ-Ᏼᐁ-ᙬ᙭-᙮ᙯ-ᙿᚁ-ᚚᚠ-ᛪ᛫-᛭ᛮ-ᛰᛱ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱ᜵-᜶ᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳាើ-ៅះ-ៈ។-៖ៗ៘-៚ៜ០-៩᠐-᠙ᠠ-ᡂᡃᡄ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᤣ-ᤦᤩ-ᤫᤰ-ᤱᤳ-ᤸ᥆-᥏ᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧀᧁ-ᧇᧈ-ᧉ᧐-᧙᧚ᨀ-ᨖᨙ-ᨚ᨞-᨟ᨠ-ᩔᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪉᪐-᪙᪠-᪦ᪧ᪨-᪭ᬄᬅ-ᬳᬵᬻᬽ-ᭁᭃ-᭄ᭅ-ᭋ᭐-᭙᭚-᭠᭡-᭪᭴-᭼ᮂᮃ-ᮠᮡᮦ-ᮧ᮪ᮮ-ᮯ᮰-᮹ᮺ-ᯥᯧᯪ-ᯬᯮ᯲-᯳᯼-᯿ᰀ-ᰣᰤ-ᰫᰴ-ᰵ᰻-᰿᱀-᱉ᱍ-ᱏ᱐-᱙ᱚ-ᱷᱸ-ᱽ᱾-᱿᳀-᳇᳓᳡ᳩ-ᳬᳮ-ᳱᳲ-ᳳᳵ-ᳶᴀ-ᴫᴬ-ᵪᵫ-ᵷᵸᵹ-ᶚᶛ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‎ⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℴℵ-ℸℹℼ-ℿⅅ-ⅉⅎ⅏Ⅰ-ↂↃ-ↄↅ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-Ⱞⰰ-ⱞⱠ-ⱻⱼ-ⱽⱾ-ⳤⳫ-ⳮⳲ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵰ⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々〆〇〡-〩〮-〯〱-〵〸-〺〻〼ぁ-ゖゝ-ゞゟァ-ヺー-ヾヿㄅ-ㄭㄱ-ㆎ㆐-㆑㆒-㆕㆖-㆟ㆠ-ㆺㇰ-ㇿ㈀-㈜㈠-㈩㈪-㉇㉈-㉏㉠-㉻㉿㊀-㊉㊊-㊰㋀-㋋㋐-㋾㌀-㍶㍻-㏝㏠-㏾㐀-䶵一-鿌ꀀ-ꀔꀕꀖ-ꒌꓐ-ꓷꓸ-ꓽ꓾-꓿ꔀ-ꘋꘌꘐ-ꘟ꘠-꘩ꘪ-ꘫꙀ-ꙭꙮꚀ-ꚛꚜ-ꚝꚠ-ꛥꛦ-ꛯ꛲-꛷Ꜣ-ꝯꝰꝱ-ꞇ꞉-꞊Ꞌ-ꞎꞐ-ꞭꞰ-Ʇꟷꟸ-ꟹꟺꟻ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꠣ-ꠤꠧ꠰-꠵꠶-꠷ꡀ-ꡳꢀ-ꢁꢂ-ꢳꢴ-ꣃ꣎-꣏꣐-꣙ꣲ-ꣷ꣸-꣺ꣻ꤀-꤉ꤊ-ꤥ꤮-꤯ꤰ-ꥆꥒ-꥓꥟ꥠ-ꥼꦃꦄ-ꦲꦴ-ꦵꦺ-ꦻꦽ-꧀꧁-꧍ꧏ꧐-꧙꧞-꧟ꧠ-ꧤꧦꧧ-ꧯ꧰-꧹ꧺ-ꧾꨀ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ꩐-꩙꩜-꩟ꩠ-ꩯꩰꩱ-ꩶ꩷-꩹ꩺꩻꩽꩾ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂꫛ-ꫜꫝ꫞-꫟ꫠ-ꫪꫫꫮ-ꫯ꫰-꫱ꫲꫳ-ꫴꫵꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚ꭛ꭜ-ꭟꭤ-ꭥꯀ-ꯢꯣ-ꯤꯦ-ꯧꯩ-ꯪ꯫꯬꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ-豈-舘並-龎ff-stﬓ-ﬗA-Za-zヲ-ッーア-ン゙-゚ᅠ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",R:"֐־׀׃׆׈-׏א-ת׫-ׯװ-ײ׳-״׵-׿߀-߉ߊ-ߪߴ-ߵߺ߻-߿ࠀ-ࠕࠚࠤࠨ࠮-࠯࠰-࠾࠿ࡀ-ࡘ࡜-࡝࡞࡟-࢟‏יִײַ-ﬨשׁ-זּ﬷טּ-לּ﬽מּ﬿נּ-סּ﭂ףּ-פּ﭅צּ-ﭏ",AL:"؈؋؍؛؜؝؞-؟ؠ-ؿـف-ي٭ٮ-ٯٱ-ۓ۔ەۥ-ۦۮ-ۯۺ-ۼ۽-۾ۿ܀-܍܎܏ܐܒ-ܯ݋-݌ݍ-ޥޱ޲-޿ࢠ-ࢲࢳ-ࣣﭐ-ﮱ﮲-﯁﯂-﯒ﯓ-ﴽ﵀-﵏ﵐ-ﶏ﶐-﶑ﶒ-ﷇ﷈-﷏ﷰ-ﷻ﷼﷾-﷿ﹰ-ﹴ﹵ﹶ-ﻼ﻽-﻾"},p=new RegExp("["+d.L+d.R+d.AL+"]"),f=new RegExp("["+d.R+d.AL+"]"),h={firstStrongChar:r,firstStrongCharDir:o,resolveBlockDir:i,getDirection:a,isDirectionLTR:s,isDirectionRTL:l};e.exports=h},"./node_modules/fbjs/lib/UnicodeBidiDirection.js":function(e,t,n){"use strict";function r(e){return e===d||e===p}function o(e){return r(e)||u(!1),e===d?"ltr":"rtl"}function i(e,t){return r(e)||u(!1),r(t)||u(!1),e===t?null:o(e)}function a(e){f=e}function s(){a(d)}function l(){return f||this.initGlobalDir(),f||u(!1),f}var u=n("./node_modules/fbjs/lib/invariant.js"),c="NEUTRAL",d="LTR",p="RTL",f=null,h={NEUTRAL:c,LTR:d,RTL:p,isStrong:r,getHTMLDir:o,getHTMLDirIfDifferent:i,setGlobalDir:a,initGlobalDir:s,getGlobalDir:l};e.exports=h},"./node_modules/fbjs/lib/UnicodeBidiService.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n("./node_modules/fbjs/lib/UnicodeBidi.js"),i=n("./node_modules/fbjs/lib/UnicodeBidiDirection.js"),a=n("./node_modules/fbjs/lib/invariant.js"),s=function(){function e(t){r(this,e),t?i.isStrong(t)||a(!1):t=i.getGlobalDir(),this._defaultDir=t,this.reset()}return e.prototype.reset=function(){this._lastDir=this._defaultDir},e.prototype.getDirection=function(e){return this._lastDir=o.getDirection(e,this._lastDir),this._lastDir},e}();e.exports=s},"./node_modules/fbjs/lib/UnicodeUtils.js":function(e,t,n){"use strict";function r(e){return p<=e&&e<=m}function o(e,t){if(0<=t&&tr||n<=0)return"";var o=0;if(t>0){for(;t>0&&o=r)return""}else if(t<0){for(o=r;t<0&&00&&s1?n.some(function(e){return E.contains(e,t)}):(e=n[0].trim(),o(e,t))}function o(e,t){var n=e.split(j);if(n.length>0&&n.length<=2||_(!1),1===n.length)return i(n[0],t);var r=n[0],o=n[1];return h(r)&&h(o)||_(!1),i(">="+r,t)&&i("<="+o,t)}function i(e,t){if(""===(e=e.trim()))return!0;var n=t.split(A),r=p(e),o=r.modifier,i=r.rangeComponents;switch(o){case"<":return a(n,i);case"<=":return s(n,i);case">=":return u(n,i);case">":return c(n,i);case"~":case"~>":return d(n,i);default:return l(n,i)}}function a(e,t){return b(e,t)===-1}function s(e,t){var n=b(e,t);return n===-1||0===n}function l(e,t){return 0===b(e,t)}function u(e,t){var n=b(e,t);return 1===n||0===n}function c(e,t){return 1===b(e,t)}function d(e,t){var n=t.slice(),r=t.slice();r.length>1&&r.pop();var o=r.length-1,i=parseInt(r[o],10);return f(i)&&(r[o]=i+1+""),u(e,n)&&a(e,r)}function p(e){var t=e.split(A),n=t[0].match(w);return n||_(!1),{modifier:n[1],rangeComponents:[n[2]].concat(t.slice(1))}}function f(e){return!isNaN(e)&&isFinite(e)}function h(e){return!p(e).modifier}function m(e,t){for(var n=e.length;nt?1:e=|~>|~|>|)?\s*(.+)/,C=/^(\d*)(.*)/,E={contains:function(e,t){return r(e.trim(),t.trim())}};e.exports=E},"./node_modules/fbjs/lib/camelize.js":function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},"./node_modules/fbjs/lib/camelizeStyleName.js":function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n("./node_modules/fbjs/lib/camelize.js"),i=/^-ms-/;e.exports=r},"./node_modules/fbjs/lib/containsNode.js":function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n("./node_modules/fbjs/lib/isTextNode.js");e.exports=r},"./node_modules/fbjs/lib/createArrayFromMixed.js":function(e,t,n){"use strict";function r(e){var t=e.length;if((Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e)&&a(!1),"number"!=typeof t&&a(!1),0===t||t-1 in e||a(!1),"function"==typeof e.callee&&a(!1),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r-1;e.exports=r},"./node_modules/fbjs/lib/getElementPosition.js":function(e,t,n){"use strict";function r(e){var t=o(e);return{x:t.left,y:t.top,width:t.right-t.left,height:t.bottom-t.top}}var o=n("./node_modules/fbjs/lib/getElementRect.js");e.exports=r},"./node_modules/fbjs/lib/getElementRect.js":function(e,t,n){"use strict";function r(e){var t=document.documentElement;if(!("getBoundingClientRect"in e&&o(t,e)))return{left:0,right:0,top:0,bottom:0};var n=e.getBoundingClientRect();return{left:Math.round(n.left)-t.clientLeft,right:Math.round(n.right)-t.clientLeft,top:Math.round(n.top)-t.clientTop,bottom:Math.round(n.bottom)-t.clientTop}}var o=n("./node_modules/fbjs/lib/containsNode.js");e.exports=r},"./node_modules/fbjs/lib/getMarkupWrap.js":function(e,t,n){"use strict";function r(e){return a||i(!1),p.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(a.innerHTML="*"===e?"":"<"+e+">",s[e]=!a.firstChild),s[e]?p[e]:null}var o=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),i=n("./node_modules/fbjs/lib/invariant.js"),a=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,"","
"],c=[3,"","
"],d=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){p[e]=d,s[e]=!0}),e.exports=r},"./node_modules/fbjs/lib/getScrollPosition.js":function(e,t,n){"use strict";function r(e){var t=o();e===window&&(e=t);var n=i(e),r=e===t?document.documentElement:e,a=e.scrollWidth-r.clientWidth,s=e.scrollHeight-r.clientHeight;return n.x=Math.max(0,Math.min(n.x,a)),n.y=Math.max(0,Math.min(n.y,s)),n}var o=n("./node_modules/fbjs/lib/getDocumentScrollElement.js"),i=n("./node_modules/fbjs/lib/getUnboundedScrollPosition.js");e.exports=r},"./node_modules/fbjs/lib/getStyleProperty.js":function(e,t,n){"use strict";function r(e){return null==e?e:String(e)}function o(e,t){var n=void 0;if(window.getComputedStyle&&(n=window.getComputedStyle(e,null)))return r(n.getPropertyValue(a(t)));if(document.defaultView&&document.defaultView.getComputedStyle){if(n=document.defaultView.getComputedStyle(e,null))return r(n.getPropertyValue(a(t)));if("display"===t)return"none"}return r(e.currentStyle?"float"===t?e.currentStyle.cssFloat||e.currentStyle.styleFloat:e.currentStyle[i(t)]:e.style&&e.style[i(t)])}var i=n("./node_modules/fbjs/lib/camelize.js"),a=n("./node_modules/fbjs/lib/hyphenate.js");e.exports=o},"./node_modules/fbjs/lib/getUnboundedScrollPosition.js":function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},"./node_modules/fbjs/lib/getViewportDimensions.js":function(e,t,n){"use strict";function r(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientWidth),!e&&document.body&&(e=document.body.clientWidth),e||0}function o(){var e=void 0;return document.documentElement&&(e=document.documentElement.clientHeight),!e&&document.body&&(e=document.body.clientHeight),e||0}function i(){return{width:window.innerWidth||r(),height:window.innerHeight||o()}}i.withoutScrollbars=function(){return{width:r(),height:o()}},e.exports=i},"./node_modules/fbjs/lib/hyphenate.js":function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},"./node_modules/fbjs/lib/hyphenateStyleName.js":function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n("./node_modules/fbjs/lib/hyphenate.js"),i=/^ms-/;e.exports=r},"./node_modules/fbjs/lib/invariant.js":function(e,t,n){"use strict";function r(e,t,n,r,i,a,s,l){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,a,s,l],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};e.exports=r},"./node_modules/fbjs/lib/isNode.js":function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},"./node_modules/fbjs/lib/isTextNode.js":function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n("./node_modules/fbjs/lib/isNode.js");e.exports=r},"./node_modules/fbjs/lib/joinClasses.js":function(e,t,n){"use strict";function r(e){e||(e="");var t=void 0,n=arguments.length;if(n>1)for(var r=1;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=n("./node_modules/fixed-data-table/internal/FixedDataTableCellDefault.react.js"),i=n("./node_modules/fixed-data-table/internal/FixedDataTableHelper.js"),a=n("./node_modules/fixed-data-table/internal/React.js"),s=n("./node_modules/fixed-data-table/internal/cx.js"),l=n("./node_modules/fixed-data-table/internal/joinClasses.js"),u=i.DIR_SIGN,c=a.PropTypes,d={align:"left",highlighted:!1},p=a.createClass({displayName:"FixedDataTableCell",propTypes_DISABLED_FOR_PERFORMANCE:{isScrolling:c.bool,align:c.oneOf(["left","center","right"]),className:c.string,highlighted:c.bool,width:c.number.isRequired,minWidth:c.number,maxWidth:c.number,height:c.number.isRequired,cell:c.oneOfType([c.string,c.element,c.func]),columnKey:c.oneOfType([c.string,c.number]),rowIndex:c.number.isRequired,onColumnResize:c.func,left:c.number},shouldComponentUpdate:function(e){return!e.isScrolling||this.props.rowIndex!==e.rowIndex},getDefaultProps:function(){return d},render:function(){var e=this.props,t=e.height,n=e.width,i=e.columnKey,c=r(e,["height","width","columnKey"]),d={height:t,width:n};1===u?d.left=c.left:d.right=c.left;var p,f=l(s({"fixedDataTableCellLayout/main":!0,"fixedDataTableCellLayout/lastChild":c.lastChild,"fixedDataTableCellLayout/alignRight":"right"===c.align,"fixedDataTableCellLayout/alignCenter":"center"===c.align,"public/fixedDataTableCell/alignRight":"right"===c.align,"public/fixedDataTableCell/highlighted":c.highlighted,"public/fixedDataTableCell/main":!0}),c.className);if(c.onColumnResize){var h={height:t};p=a.createElement("div",{className:s("fixedDataTableCellLayout/columnResizerContainer"),style:h,onMouseDown:this._onColumnResizerMouseDown},a.createElement("div",{className:l(s("fixedDataTableCellLayout/columnResizerKnob"),s("public/fixedDataTableCell/columnResizerKnob")),style:h}))}var m={columnKey:i,height:t,width:n};c.rowIndex>=0&&(m.rowIndex=c.rowIndex);var g;return g=a.isValidElement(c.cell)?a.cloneElement(c.cell,m):"function"==typeof c.cell?c.cell(m):a.createElement(o,m,c.cell),a.createElement("div",{className:f,style:d},p,g)},_onColumnResizerMouseDown:function(e){this.props.onColumnResize(this.props.left,this.props.width,this.props.minWidth,this.props.maxWidth,this.props.columnKey,e)}});e.exports=p},"./node_modules/fixed-data-table/internal/FixedDataTableCellDefault.react.js":function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}var o=Object.assign||function(e){for(var t=1;t=0){var c="cell_"+o;n[o]=this._renderCell(e.rowIndex,e.rowHeight,s,r,c)}r+=s.width}var p=this._getColumnsWidth(t),f={height:e.height,position:"absolute",width:p,zIndex:e.zIndex};return u(f,-1*d*e.left,0),a.createElement("div",{className:l("fixedDataTableCellGroupLayout/cellGroup"),style:f},n)},_renderCell:function(e,t,n,r,o){var i=n.isResizable&&this.props.onColumnResize,l=i?this.props.onColumnResize:null,u=n.cellClassName;return a.createElement(s,{isScrolling:this.props.isScrolling,align:n.align,className:u,height:t,key:o,maxWidth:n.maxWidth,minWidth:n.minWidth,onColumnResize:l,rowIndex:e,columnKey:n.columnKey,width:n.width,left:r,cell:n.cell})},_getColumnsWidth:function(e){for(var t=0,n=0;n0||e>=0&&this.state.scrollX0||e>=0&&this.state.scrollYr?r:this.state.height>r&&this.props.ownerHeight?Math.max(r,this.props.ownerHeight):this.state.height+this.state.maxScrollY,e!==this._contentHeight&&this.props.onContentHeightChange&&this.props.onContentHeightChange(e),this._contentHeight=e},componentDidMount:function(){this._reportContentHeight()},componentWillReceiveProps:function(e){var t=e.scrollToRow;void 0!==t&&null!==t&&(this._rowToScrollTo=t);var n=e.scrollToColumn;void 0!==n&&null!==n&&(this._columnToScrollTo=n);var r=e.overflowX,o=e.overflowY;r===this.props.overflowX&&o===this.props.overflowY||(this._wheelHandler=new a(this._onWheel,"hidden"!==r,"hidden"!==o)),this.props.ownerHeight===e.ownerHeight&&this.props.scrollTop===e.scrollTop||this._didScrollStart(),this._didScrollStop(),this.setState(this._calculateState(e,this.state))},componentDidUpdate:function(){this._reportContentHeight()},render:function(){var e,t=this.state,n=this.props;t.useGroupHeader&&(e=o.createElement(c,{key:"group_header",isScrolling:this._isScrolling,className:y(f("fixedDataTableLayout/header"),f("public/fixedDataTable/header")),width:t.width,height:t.groupHeaderHeight,index:0,zIndex:1,offsetTop:0,scrollLeft:t.scrollX,fixedColumns:t.groupHeaderFixedColumns,scrollableColumns:t.groupHeaderScrollableColumns,onColumnResize:this._onColumnResize}));var r=this.state.maxScrollY,i=t.maxScrollX>0&&"hidden"!==t.overflowX,a=r>0&&"hidden"!==t.overflowY,l=i?s.SIZE:0,d=t.height-l-2*j-t.footerHeight,p=t.useGroupHeader?t.groupHeaderHeight:0,h=p+t.headerHeight;d-=h;var m=0,g=null!=n.maxHeight?h+t.bodyHeight:h+d,v=g+t.footerHeight;void 0!==n.ownerHeight&&n.ownerHeightt.ownerHeight||t.scrollY or "),n.push(e))});var o=!1;n.length&&n[0].type.__TableColumnGroup__&&(o=!0);var i,a,l=t&&t.firstRowIndex||0,u=t&&t.firstRowOffset||0;i=t&&"hidden"!==e.overflowX?t.scrollX:e.scrollLeft,t&&"hidden"!==e.overflowY?a=t.scrollY:(h=this._scrollHelper.scrollTo(e.scrollTop),l=h.index,u=h.offset,a=h.position),void 0!==this._rowToScrollTo&&(h=this._scrollHelper.scrollRowIntoView(this._rowToScrollTo),l=h.index,u=h.offset,a=h.position,delete this._rowToScrollTo);var c=o?e.groupHeaderHeight:0;if(t&&e.rowsCount!==t.rowsCount){var f=(void 0===e.height?e.maxHeight:e.height)-(e.headerHeight||0)-(e.footerHeight||0)-(e.groupHeaderHeight||0);this._scrollHelper=new d(e.rowsCount,e.rowHeight,f,e.rowHeightGetter);var h=this._scrollHelper.scrollToRow(l,u);l=h.index,u=h.offset,a=h.position}else t&&e.rowHeightGetter!==t.rowHeightGetter&&this._scrollHelper.setRowHeightGetter(e.rowHeightGetter);var m;m=e.isColumnResizing?t&&t.columnResizingData:x;var y,v;if(o){var b=p.adjustColumnGroupWidths(n,e.width);y=b.columns,v=b.columnGroups}else y=p.adjustColumnWidths(n,e.width);var _=this._populateColumnsAndColumnData(y,v,t);if(void 0!==this._columnToScrollTo){var w=_.bodyFixedColumns.length;if(this._columnToScrollTo>=w){var C,E,k=0;for(C=0;C<_.bodyFixedColumns.length;++C)E=_.bodyFixedColumns[C],k+=E.props.width;var T=Math.min(this._columnToScrollTo-w,_.bodyScrollableColumns.length-1),S=0;for(C=0;CS&&(i=S)}delete this._columnToScrollTo}var O=void 0===e.height,I=Math.round(O?e.maxHeight:e.height),R=e.footerHeight+e.headerHeight+c+2*j,L=I-R,F=this._scrollHelper.getContentHeight(),N=F+R,B=p.getTotalWidth(y),z=B>e.width&&"hidden"!==e.overflowX;z&&(L-=s.SIZE,N+=s.SIZE,R+=s.SIZE);var H=Math.max(0,B-e.width),U=Math.max(0,F-L);return i=Math.min(i,H),a=Math.min(a,U),U||(O&&(I=N),L=N-R),this._scrollHelper.setViewportHeight(L),r({isColumnResizing:t&&t.isColumnResizing},_,e,{columns:y,columnGroups:v,columnResizingData:m,firstRowIndex:l,firstRowOffset:u,horizontalScrollbarVisible:z,maxScrollX:H,maxScrollY:U,reservedHeight:R,scrollContentHeight:F,scrollX:i,scrollY:a,bodyHeight:L,height:I,groupHeaderHeight:c,useGroupHeader:o})},_selectColumnElement:function(e,t){for(var n=[],r=0;rMath.abs(e)&&"hidden"!==this.props.overflowY){var r=this._scrollHelper.scrollBy(Math.round(t)),o=Math.max(0,r.contentHeight-this.state.bodyHeight);this.setState({firstRowIndex:r.index,firstRowOffset:r.offset,scrollY:r.position,scrollContentHeight:r.contentHeight,maxScrollY:o})}else e&&"hidden"!==this.props.overflowX&&(n+=e,n=n<0?0:n,n=n>this.state.maxScrollX?this.state.maxScrollX:n,this.setState({scrollX:n}));this._didScrollStop()}},_onHorizontalScroll:function(e){this.isMounted()&&e!==this.state.scrollX&&(this._isScrolling||this._didScrollStart(),this.setState({scrollX:e}),this._didScrollStop())},_onVerticalScroll:function(e){if(this.isMounted()&&e!==this.state.scrollY){this._isScrolling||this._didScrollStart();var t=this._scrollHelper.scrollTo(Math.round(e));this.setState({firstRowIndex:t.index,firstRowOffset:t.offset,scrollY:t.position,scrollContentHeight:t.contentHeight}),this._didScrollStop()}},_didScrollStart:function(){this.isMounted()&&!this._isScrolling&&(this._isScrolling=!0,this.props.onScrollStart&&this.props.onScrollStart(this.state.scrollX,this.state.scrollY))},_didScrollStop:function(){this.isMounted()&&this._isScrolling&&(this._isScrolling=!1,this.setState({redraw:!0}),this.props.onScrollEnd&&this.props.onScrollEnd(this.state.scrollX,this.state.scrollY))}}),T=o.createClass({displayName:"HorizontalScrollbar",mixins:[i],propTypes:{contentSize:_.number.isRequired,offset:_.number.isRequired,onScroll:_.func.isRequired,position:_.number.isRequired,size:_.number.isRequired},render:function(){var e={height:s.SIZE,width:this.props.size},t={height:s.SIZE,position:"absolute",overflow:"hidden",width:this.props.size};return b(t,0,this.props.offset),o.createElement("div",{className:y(f("fixedDataTableLayout/horizontalScrollbar"),f("public/fixedDataTable/horizontalScrollbar")),style:e},o.createElement("div",{style:t},o.createElement(s,r({},this.props,{isOpaque:!0,orientation:"horizontal",offset:void 0}))))}});e.exports=k},"./node_modules/fixed-data-table/internal/FixedDataTableRoot.js":function(e,t,n){"use strict";var r=n("./node_modules/fixed-data-table/internal/FixedDataTable.react.js"),o=n("./node_modules/fixed-data-table/internal/FixedDataTableCellDefault.react.js"),i=n("./node_modules/fixed-data-table/internal/FixedDataTableColumn.react.js"),a=n("./node_modules/fixed-data-table/internal/FixedDataTableColumnGroup.react.js"),s={Cell:o,Column:i,ColumnGroup:a,Table:r};s.version="0.6.3",e.exports=s},"./node_modules/fixed-data-table/internal/FixedDataTableRow.react.js":function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t0){var t=a({"fixedDataTableRowLayout/fixedColumnsDivider":!0,"fixedDataTableRowLayout/columnsShadow":this.props.scrollLeft>0,"public/fixedDataTableRow/fixedColumnsDivider":!0,"public/fixedDataTableRow/columnsShadow":this.props.scrollLeft>0}),n={left:e,height:this.props.height};return o.createElement("div",{className:t,style:n})}},_onClick:function(e){this.props.onClick(e,this.props.index)},_onDoubleClick:function(e){this.props.onDoubleClick(e,this.props.index)},_onMouseDown:function(e){this.props.onMouseDown(e,this.props.index)},_onMouseEnter:function(e){this.props.onMouseEnter(e,this.props.index)},_onMouseLeave:function(e){this.props.onMouseLeave(e,this.props.index)}}),d=o.createClass({displayName:"FixedDataTableRow",propTypes:{isScrolling:u.bool,height:u.number.isRequired,zIndex:u.number,offsetTop:u.number.isRequired,width:u.number.isRequired},render:function(){var e={width:this.props.width,height:this.props.height,zIndex:this.props.zIndex?this.props.zIndex:0};return l(e,0,this.props.offsetTop),o.createElement("div",{style:e,className:a("fixedDataTableRowLayout/rowWrapper")},o.createElement(c,r({},this.props,{offsetTop:void 0,zIndex:void 0})))}});e.exports=d},"./node_modules/fixed-data-table/internal/FixedDataTableRowBuffer.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;n0;)this._addRowToBuffer(t,this._viewportRowsBegin,this._viewportRowsEnd-1),t++,e--;return this._rows}},{key:"getRows",value:function(e,t){var n=t,r=n,o=e,i=Math.min(e+this._maxVisibleRowCount,this._rowsCount);for(this._viewportRowsBegin=e;o=i&&(r=this._bufferSet.replaceFurthestValuePosition(t,n,e)),null===r?(r=this._bufferSet.getNewPositionForValue(e),this._rows[r]=e):this._rows[r]=e}}]),e}();e.exports=c},"./node_modules/fixed-data-table/internal/FixedDataTableScrollHelper.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;n=0&&t>=e-s;){var n=this._updateRowHeight(t);this._position+=n,t--}}},{key:"_updateRowHeight",value:function(e){if(e<0||e>=this._rowCount)return 0;var t=this._rowHeightGetter(e);if(t!==this._storedHeights[e]){var n=t-this._storedHeights[e];return this._rowOffsets.set(e,t),this._storedHeights[e]=t,this._contentHeight+=n,n}return 0}},{key:"getRowPosition",value:function(e){return this._updateRowHeight(e),this._rowOffsets.sumUntil(e)}},{key:"scrollBy",value:function(e){if(0===this._rowCount)return l;var t=this._rowOffsets.greatestLowerBound(this._position);t=a(t,0,Math.max(this._rowCount-1,0));var n=this._rowOffsets.sumUntil(t),r=t,o=this._position,i=this._updateRowHeight(r);0!==n&&(o+=i);var s=this._storedHeights[r]-(o-n);if(e>=0)for(;e>0&&r0&&r>=0;)if(e=0){var c=this._updateRowHeight(r);u=this._storedHeights[r],o+=c}}o=a(o,0,this._contentHeight-this._viewportHeight),this._position=o;var d=this._rowOffsets.greatestLowerBound(o);d=a(d,0,Math.max(this._rowCount-1,0)),n=this._rowOffsets.sumUntil(d);var p=n-o;return this._updateHeightsInViewport(d,p),this._updateHeightsAboveViewport(d),{index:d,offset:p,position:this._position,contentHeight:this._contentHeight}}},{key:"_getRowAtEndPosition",value:function(e){this._updateRowHeight(e);for(var t=e,n=this._storedHeights[t];n=0;)--t>=0&&(this._updateRowHeight(t),n+=this._storedHeights[t]);var r=this._rowOffsets.sumTo(e)-this._viewportHeight;return r<0&&(r=0),r}},{key:"scrollTo",value:function(e){if(0===this._rowCount)return l;if(e<=0)return this._position=0,this._updateHeightsInViewport(0,0),{index:0,offset:0,position:this._position,contentHeight:this._contentHeight};if(e>=this._contentHeight-this._viewportHeight){var t=this._rowCount-1;e=this._getRowAtEndPosition(t)}this._position=e;var n=this._rowOffsets.greatestLowerBound(e);n=a(n,0,Math.max(this._rowCount-1,0));var r=this._rowOffsets.sumUntil(n),o=r-e;return this._updateHeightsInViewport(n,o),this._updateHeightsAboveViewport(n),{index:n,offset:o,position:this._position,contentHeight:this._contentHeight}}},{key:"scrollToRow",value:function(e,t){e=a(e,0,Math.max(this._rowCount-1,0)),t=a(t,-this._storedHeights[e],0);var n=this._rowOffsets.sumUntil(e);return this.scrollTo(n-t)}},{key:"scrollRowIntoView",value:function(e){e=a(e,0,Math.max(this._rowCount-1,0));var t=this._rowOffsets.sumUntil(e),n=t+this._storedHeights[e];if(t0&&(this._items[0]=t,this._sinkDown(0)),e}}},{key:"push",value:function(e){this._items[this._size++]=e,this._bubbleUp(this._size-1)}},{key:"size",value:function(){return this._size}},{key:"peek",value:function(){if(0!==this._size)return this._items[0]}},{key:"_heapify",value:function(){for(var e=Math.floor((this._size+1)/2);e>=0;e--)this._sinkDown(e)}},{key:"_bubbleUp",value:function(e){for(var t=this._items[e];e>0;){var n=Math.floor((e+1)/2)-1,r=this._items[n];if(this._comparator(r,t))return;this._items[n]=t,this._items[e]=r,e=n}}},{key:"_sinkDown",value:function(e){for(var t=this._items[e];;){var n=2*(e+1)-1,r=2*(e+1),o=-1;if(n=e&&o<=t)return null;var i;e-r>o-t?(i=r,this._smallValues.pop()):(i=o,this._largeValues.pop());var s=this._valueToPositionMap[i];return delete this._valueToPositionMap[i],this._valueToPositionMap[n]=s,this._pushToHeaps(s,n),s}},{key:"_pushToHeaps",value:function(e,t){var n={position:e,value:t};this._smallValues.push(n),this._largeValues.push(n)}},{key:"_cleanHeaps",value:function(){this._cleanHeap(this._smallValues),this._cleanHeap(this._largeValues);var e=Math.min(this._smallValues.size(),this._largeValues.size());Math.max(this._smallValues.size(),this._largeValues.size())>10*e&&this._recreateHeaps()}},{key:"_recreateHeaps",value:function(){for(var e=this._smallValues.size()t.value}}]),e}();e.exports=s},"./node_modules/fixed-data-table/internal/Keys.js":function(e,t,n){"use strict";e.exports={BACKSPACE:8,TAB:9,RETURN:13,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46,COMMA:188,PERIOD:190,A:65,Z:90,ZERO:48,NUMPAD_0:96,NUMPAD_9:105}},"./node_modules/fixed-data-table/internal/Locale.js":function(e,t,n){"use strict";var r={isRTL:function(){return!1},getDirection:function(){return"LTR"}};e.exports=r},"./node_modules/fixed-data-table/internal/PrefixIntervalTree.js":function(e,t,n){"use strict";(function(t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){for(var t=1;t=0;--n)t[n]=0;return t},u=function(){function e(t){r(this,e),this._size=t.length,this._half=o(this._size),this._heap=new l(2*this._half);var n;for(n=0;n0;--n)this._heap[n]=this._heap[2*n]+this._heap[2*n+1]}return i(e,[{key:"set",value:function(e,t){a(0<=e&&e=0;--o)r[o]=n;return new e(r)}},{key:"empty",value:function(t){return e.uniform(t,0)}}]),e}();e.exports=u}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/fixed-data-table/internal/React.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react/react.js")},"./node_modules/fixed-data-table/internal/ReactComponentWithPureRenderMixin.js":function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}var o={shouldComponentUpdate:function(e,t){return!r(this.props,e)||!r(this.state,t)}};e.exports=o},"./node_modules/fixed-data-table/internal/ReactDOM.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-dom/index.js")},"./node_modules/fixed-data-table/internal/ReactWheelHandler.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(e,t){for(var n=0;nu&&(e=u);var c=!!this._mouseMoveTracker&&this._mouseMoveTracker.isDragging(),d={faceSize:s,isDragging:c,isHorizontal:i,position:e,scale:a,scrollable:l};return this._stateKey=o,this._stateForKey=d,d},_onWheelY:function(e,t){this._onWheel(t)},_onWheelX:function(e,t){this._onWheel(e)},_onWheel:function(e){var t=this.props;this._setNextState(this._calculateState(this.state.position+e,t.size,t.contentSize,t.orientation))},_onMouseDown:function(e){var t;if(e.target!==a.findDOMNode(this.refs.face)){var n=e.nativeEvent,r=this.state.isHorizontal?n.offsetX||n.layerX:n.offsetY||n.layerY,o=this.props;r/=this.state.scale,t=this._calculateState(r-.5*this.state.faceSize/this.state.scale,o.size,o.contentSize,o.orientation)}else t={};t.focused=!0,this._setNextState(t),this._mouseMoveTracker.captureMouseMoves(e),a.findDOMNode(this).focus()},_onMouseMove:function(e,t){var n=this.props,r=this.state.isHorizontal?e:t;r/=this.state.scale,this._setNextState(this._calculateState(this.state.position+r,n.size,n.contentSize,n.orientation))},_onMouseMoveEnd:function(){this._nextState=null,this._mouseMoveTracker.releaseMouseMoves(),this.setState({isDragging:!1})},_onKeyDown:function(e){var t=e.keyCode;if(t!==o.TAB){var n=v,r=0;if(this.state.isHorizontal)switch(t){case o.HOME:r=-1,n=this.props.contentSize;break;case o.LEFT:r=-1;break;case o.RIGHT:r=1;break;default:return}if(!this.state.isHorizontal)switch(t){case o.SPACE:r=e.shiftKey?-1:1;break;case o.HOME:r=-1,n=this.props.contentSize;break;case o.UP:r=-1;break;case o.DOWN:r=1;break;case o.PAGE_UP:r=-1,n=this.props.size;break;case o.PAGE_DOWN:r=1,n=this.props.size;break;default:return}e.preventDefault();var i=this.props;this._setNextState(this._calculateState(this.state.position+n*r,i.size,i.contentSize,i.orientation))}},_onFocus:function(){this.setState({focused:!0})},_onBlur:function(){this.setState({focused:!1})},_blur:function(){if(this.isMounted())try{this._onBlur(),a.findDOMNode(this).blur()}catch(e){}},_setNextState:function(e,t){t=t||this.props;var n=t.position,r=this.state.position!==e.position;if(void 0===n){var o=r?this._didScroll:void 0;this.setState(e,o)}else{if(n!==e.position)return void(void 0!==e.position&&e.position!==this.state.position&&this.props.onScroll(e.position));this.setState(e)}r&&b!==this&&(b&&b._blur(),b=this)},_didScroll:function(){this.props.onScroll(this.state.position)}});_.KEYBOARD_SCROLL_AMOUNT=v,_.SIZE=parseInt(u("scrollbar-size"),10),e.exports=_},"./node_modules/fixed-data-table/internal/UserAgent_DEPRECATED.js":function(e,t,n){"use strict";function r(){if(!b){b=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(m=/\b(iPhone|iP[ao]d)/.exec(e),g=/\b(iP[ao]d)/.exec(e),f=/Android/i.exec(e),y=/FBAN\/\w+;/i.exec(e),v=/Mobile/i.exec(e),h=!!/Win64/.exec(e),t){o=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);u=r?parseFloat(r[1])+4:o,i=t[2]?parseFloat(t[2]):NaN,a=t[3]?parseFloat(t[3]):NaN,s=t[4]?parseFloat(t[4]):NaN,s?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),l=t&&t[1]?parseFloat(t[1]):NaN):l=NaN}else o=i=a=l=s=NaN;if(n){if(n[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);c=!_||parseFloat(_[1].replace("_","."))}else c=!1;d=!!n[2],p=!!n[3]}else c=d=p=!1}}var o,i,a,s,l,u,c,d,p,f,h,m,g,y,v,b=!1,_={ie:function(){return r()||o},ieCompatibilityMode:function(){return r()||u>o},ie64:function(){return _.ie()&&h},firefox:function(){return r()||i},opera:function(){return r()||a},webkit:function(){return r()||s},safari:function(){return _.webkit()},chrome:function(){return r()||l},windows:function(){return r()||d},osx:function(){return r()||c},linux:function(){return r()||p},iphone:function(){return r()||m},mobile:function(){return r()||m||g||f||v},nativeApp:function(){return r()||y},android:function(){return r()||f},ipad:function(){return r()||g}};e.exports=_},"./node_modules/fixed-data-table/internal/camelize.js":function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},"./node_modules/fixed-data-table/internal/cancelAnimationFramePolyfill.js":function(e,t,n){"use strict";(function(t){var n=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||t.clearTimeout;e.exports=n}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/fixed-data-table/internal/clamp.js":function(e,t,n){"use strict";function r(e,t,n){return en?n:e}e.exports=r},"./node_modules/fixed-data-table/internal/cssVar.js":function(e,t,n){"use strict";function r(e){if(o.hasOwnProperty(e))return o[e];throw new Error('cssVar("'+e+'"): Unexpected class transformation.')}var o={"scrollbar-face-active-color":"#7d7d7d","scrollbar-face-color":"#c2c2c2","scrollbar-face-margin":"4px","scrollbar-face-radius":"6px","scrollbar-size":"15px","scrollbar-size-large":"17px","scrollbar-track-color":"rgba(255, 255, 255, 0.8)","fbui-white":"#fff","fbui-desktop-background-light":"#f6f7f8"};r.CSS_VARS=o,e.exports=r},"./node_modules/fixed-data-table/internal/cx.js":function(e,t,n){"use strict";function r(e){return a[e]?a[e]:(a[e]=e.replace(i,"_"),a[e])}function o(e){var t;return t="object"==typeof e?Object.keys(e).filter(function(t){return e[t]}):Array.prototype.slice.call(arguments),t.map(r).join(" ")}var i=/\//g,a={};e.exports=o},"./node_modules/fixed-data-table/internal/debounceCore.js":function(e,t,n){"use strict";function r(e,t,n,r,o){function i(){for(var o=arguments.length,s=Array(o),l=0;l1)for(var r=1;r-1)throw new Error("A store cannot wait on itself");var o=this.currentDispatch[r];if(o.waitingOn.length)throw new Error(r+" already waiting on stores");u(t,function(e){var t=this.currentDispatch[e];if(!this.stores[e])throw new Error("Cannot wait for non-existent store "+e);if(t.waitingOn.indexOf(r)>-1)throw new Error("Circular wait detected between "+r+" and "+e)},this),o.resolved=!1,o.waitingOn=p(o.waitingOn.concat(t)),o.waitCallback=n},h.prototype.setDispatchInterceptor=function(e){this.dispatchInterceptor=e?e:f},e.exports=h},"./node_modules/fluxxor/lib/flux.js":function(e,t,n){var r=n("./node_modules/eventemitter3/index.js"),o=n("./node_modules/fluxxor/lib/util/inherits.js"),i=n("./node_modules/object-path/index.js"),a=n("./node_modules/fluxxor/node_modules/lodash/collection/forEach.js"),s=n("./node_modules/fluxxor/node_modules/lodash/collection/reduce.js"),l=n("./node_modules/fluxxor/node_modules/lodash/lang/isFunction.js"),u=n("./node_modules/fluxxor/node_modules/lodash/lang/isString.js"),c=n("./node_modules/fluxxor/lib/dispatcher.js"),d=function(e,t,n){t=t||[];for(var r in e)e.hasOwnProperty(r)&&(l(e[r])?n(t.concat(r),e[r]):d(e[r],t.concat(r),n))},p=function(e,t){r.call(this),this.dispatcher=new c(e),this.actions={},this.stores={};var n=this.dispatcher,o=this;this.dispatchBinder={flux:o,dispatch:function(e,t){try{o.emit("dispatch",e,t)}finally{n.dispatch({type:e,payload:t})}}},this.addActions(t),this.addStores(e)};o(p,r),p.prototype.addActions=function(e){d(e,[],this.addAction.bind(this))},p.prototype.addAction=function(){if(arguments.length<2)throw new Error("addAction requires at least two arguments, a string (or array of strings) and a function");var e=Array.prototype.slice.call(arguments);if(!l(e[e.length-1]))throw new Error("The last argument to addAction must be a function");var t=e.pop().bind(this.dispatchBinder);if(u(e[0])||(e=e[0]),a(s(e,function(e,t){if(e){var n=e[e.length-1].concat([t]);return e.concat([n])}return[[t]]},null),function(t){if(l(i.get(this.actions,t)))throw new Error("An action named "+e.join(".")+" already exists")},this),i.get(this.actions,e))throw new Error("A namespace named "+e.join(".")+" already exists");i.set(this.actions,e,t,!0)},p.prototype.store=function(e){return this.stores[e]},p.prototype.getAllStores=function(){return this.stores},p.prototype.addStore=function(e,t){if(e in this.stores)throw new Error("A store named '"+e+"' already exists");t.flux=this,this.stores[e]=t,this.dispatcher.addStore(e,t)},p.prototype.addStores=function(e){for(var t in e)e.hasOwnProperty(t)&&this.addStore(t,e[t])},p.prototype.setDispatchInterceptor=function(e){this.dispatcher.setDispatchInterceptor(e)},e.exports=p},"./node_modules/fluxxor/lib/flux_child_mixin.js":function(e,t){var n=function(e){return{componentWillMount:function(){if(console&&console.warn){var e=this.constructor.displayName?" in "+this.constructor.displayName:"",t="Fluxxor.FluxChildMixin was found in use"+e+", but has been deprecated. Use Fluxxor.FluxMixin instead.";console.warn(t)}},contextTypes:{flux:e.PropTypes.object},getFlux:function(){return this.context.flux}}};n.componentWillMount=function(){throw new Error("Fluxxor.FluxChildMixin is a function that takes React as a parameter and returns the mixin, e.g.: mixins[Fluxxor.FluxChildMixin(React)]")},e.exports=n},"./node_modules/fluxxor/lib/flux_mixin.js":function(e,t){var n=function(e){return{componentWillMount:function(){if(!(this.props.flux||this.context&&this.context.flux)){var e=this.constructor.displayName?" of "+this.constructor.displayName:"";throw new Error("Could not find flux on this.props or this.context"+e)}},childContextTypes:{flux:e.PropTypes.object},contextTypes:{flux:e.PropTypes.object},getChildContext:function(){return{flux:this.getFlux()}},getFlux:function(){return this.props.flux||this.context&&this.context.flux}}};n.componentWillMount=function(){throw new Error("Fluxxor.FluxMixin is a function that takes React as a parameter and returns the mixin, e.g.: mixins: [Fluxxor.FluxMixin(React)]")},e.exports=n},"./node_modules/fluxxor/lib/store.js":function(e,t,n){function r(e){this.dispatcher=e,this.__actions__={},o.call(this)}var o=n("./node_modules/eventemitter3/index.js"),i=n("./node_modules/fluxxor/lib/util/inherits.js"),a=n("./node_modules/fluxxor/node_modules/lodash/lang/isFunction.js"),s=n("./node_modules/fluxxor/node_modules/lodash/lang/isObject.js");i(r,o),r.prototype.__handleAction__=function(e){var t;if(t=this.__actions__[e.type]){if(a(t))t.call(this,e.payload,e.type);else{if(!t||!a(this[t]))throw new Error("The handler for action type "+e.type+" is not a function");this[t].call(this,e.payload,e.type)}return!0}return!1},r.prototype.bindActions=function(){var e=Array.prototype.slice.call(arguments);if(e.length>1&&e.length%2!=0)throw new Error("bindActions must take an even number of arguments.");var t=function(e,t){if(!t)throw new Error("The handler for action type "+e+" is falsy");this.__actions__[e]=t}.bind(this);if(1===e.length&&s(e[0])){e=e[0];for(var n in e)e.hasOwnProperty(n)&&t(n,e[n])}else for(var r=0;r=120?i(n&&d):null}var p=e[0],f=-1,h=p?p.length:0,m=s[0];e:for(;++fo?0:o+t),n=void 0===n||n>o?o:+n||0,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=s,d=c?a():null,p=[];d?(r=i,u=!1):(c=!1,d=t?[]:p);e:for(;++nu))return!1;for(;++l-1&&e%1==0&&e-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},"./node_modules/fluxxor/node_modules/lodash/internal/isObjectLike.js":function(e,t){function n(e){return!!e&&"object"==typeof e}e.exports=n},"./node_modules/fluxxor/node_modules/lodash/internal/isStrictComparable.js":function(e,t,n){function r(e){return e===e&&!o(e)}var o=n("./node_modules/fluxxor/node_modules/lodash/lang/isObject.js");e.exports=r},"./node_modules/fluxxor/node_modules/lodash/internal/shimKeys.js":function(e,t,n){function r(e){for(var t=l(e),n=t.length,r=n&&e.length,u=!!r&&s(r)&&(i(e)||o(e)),d=-1,p=[];++d0;++r\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),e.apply(this,arguments)}}function p(e,t,n){var r,o=t.prototype;r=e.prototype=Object.create(o),r.constructor=e,r._super=o,n&&me(r,n)}function f(e,t){return function(){return e.apply(t,arguments)}}function h(e,t){return typeof e==ve?e.apply(t?t[0]||s:s,t):e}function m(e,t){return e===s?t:e}function g(e,t,n){c(_(t),function(t){e.addEventListener(t,n,!1)})}function y(e,t,n){c(_(t),function(t){e.removeEventListener(t,n,!1)})}function v(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function b(e,t){return e.indexOf(t)>-1}function _(e){return e.trim().split(/\s+/g)}function A(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;rn[t]}):r.sort()),r}function w(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),i=0;i1&&!n.firstMultiple?n.firstMultiple=O(t):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,s=a?a.center:i.center,l=t.center=I(r);t.timeStamp=Ae(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=N(s,l),t.distance=F(s,l),M(n,t),t.offsetDirection=L(t.deltaX,t.deltaY);var u=R(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=_e(u.x)>_e(u.y)?u.x:u.y,t.scale=a?z(a.pointers,r):1,t.rotation=a?B(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,D(n,t);var c=e.element;v(t.srcEvent.target,c)&&(c=t.srcEvent.target),t.target=c}function M(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},i=e.prevInput||{};t.eventType!==Ie&&i.eventType!==Le||(o=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}function D(e,t){var n,r,o,i,a=e.lastInterval||t,l=t.timeStamp-a.timeStamp;if(t.eventType!=Fe&&(l>Oe||a.velocity===s)){var u=t.deltaX-a.deltaX,c=t.deltaY-a.deltaY,d=R(l,u,c);r=d.x,o=d.y,n=_e(d.x)>_e(d.y)?d.x:d.y,i=L(u,c),e.lastInterval=t}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=i}function O(e){for(var t=[],n=0;n=_e(t)?e<0?Be:ze:t<0?He:Ue}function F(e,t,n){n||(n=Ge);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function N(e,t,n){n||(n=Ge);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return 180*Math.atan2(o,r)/Math.PI}function B(e,t){return N(t[1],t[0],Ke)+N(e[1],e[0],Ke)}function z(e,t){return F(t[0],t[1],Ke)/F(e[0],e[1],Ke)}function H(){this.evEl=Qe,this.evWin=Xe,this.pressed=!1,k.apply(this,arguments)}function U(){this.evEl=$e,this.evWin=et,k.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function W(){this.evTarget=nt,this.evWin=rt,this.started=!1,k.apply(this,arguments)}function q(e,t){var n=x(e.touches),r=x(e.changedTouches);return t&(Le|Fe)&&(n=j(n.concat(r),"identifier",!0)),[n,r]}function V(){this.evTarget=it,this.targetIds={},k.apply(this,arguments)}function G(e,t){var n=x(e.touches),r=this.targetIds;if(t&(Ie|Re)&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=x(e.changedTouches),s=[],l=this.target;if(i=n.filter(function(e){return v(e.target,l)}),t===Ie)for(o=0;o-1&&r.splice(e,1)};setTimeout(o,at)}}function X(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){function t(t){n.manager.emit(t,e)}var n=this,r=this.state;r<_t&&t(n.options.event+te(r)),t(n.options.event),e.additionalEvent&&t(e.additionalEvent),r>=_t&&t(n.options.event+te(r))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=jt},canEmit:function(){for(var e=0;et.threshold&&o&t.direction},attrTest:function(e){return oe.prototype.attrTest.call(this,e)&&(this.state&vt||!(this.state&vt)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ne(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),p(ae,oe,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[ft]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||this.state&vt)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),p(se,ee,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[dt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distancet.time;if(this._input=e,!r||!n||e.eventType&(Le|Fe)&&!o)this.reset();else if(e.eventType&Ie)this.reset(),this._timer=l(function(){this.state=At,this.tryEmit()},t.time,this);else if(e.eventType&Le)return At;return jt},reset:function(){clearTimeout(this._timer)},emit:function(e){this.state===At&&(e&&e.eventType&Le?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=Ae(),this.manager.emit(this.options.event,this._input)))}}),p(le,oe,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[ft]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||this.state&vt)}}),p(ue,oe,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:We|qe,pointers:1},getTouchAction:function(){return ie.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return n&(We|qe)?t=e.overallVelocity:n&We?t=e.overallVelocityX:n&qe&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&_e(t)>this.options.velocity&&e.eventType&Le},emit:function(e){var t=ne(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),p(ce,ee,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[pt]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance= 2.0.0-beta.1",7:">= 4.0.0"};t.REVISION_CHANGES=p;var f="[object Object]";r.prototype={constructor:r,logger:d.default,log:d.default.log,registerHelper:function(e,t){if(i.toString.call(e)===f){if(t)throw new s.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(i.toString.call(e)===f)i.extend(this.partials,e);else{if(void 0===t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(i.toString.call(e)===f){if(t)throw new s.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]}};var h=d.default.log;t.log=h,t.createFrame=i.createFrame,t.logger=d.default},function(e,t){"use strict";function n(e){return c[e]}function r(e){for(var t=1;t":">",'"':""","'":"'","`":"`","=":"="},d=/[&<>"'`=]/g,p=/[&<>"'`=]/,f=Object.prototype.toString;t.toString=f;var h=function(e){return"function"==typeof e};h(/x/)&&(t.isFunction=h=function(e){return"function"==typeof e&&"[object Function]"===f.call(e)}),t.isFunction=h;var m=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===f.call(e)};t.isArray=m},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,a=void 0,s=void 0;n&&(a=n.start.line,s=n.start.column,e+=" - "+a+":"+s);for(var l=Error.prototype.constructor.call(this,e),u=0;u0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(t,n)})},e.exports=t.default},function(e,t,n){"use strict";var r=n(1).default;t.__esModule=!0;var o=n(5),i=n(6),a=r(i);t.default=function(e){e.registerHelper("each",function(e,t){function n(t,n,i){u&&(u.key=t,u.index=n,u.first=0===n,u.last=!!i,c&&(u.contextPath=c+t)),l+=r(e[t],{data:u,blockParams:o.blockParams([e[t],t],[c+t,null])})}if(!t)throw new a.default("Must pass iterator to #each");var r=t.fn,i=t.inverse,s=0,l="",u=void 0,c=void 0;if(t.data&&t.ids&&(c=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(u=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(var d=e.length;s=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i2&&A.push("'"+this.terminals_[v]+"'");j=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(j,{text:this.lexer.match,token:this.terminals_[f]||f,line:this.lexer.yylineno,loc:d,expected:A})}}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(g[0]){case 1:r.push(f),o.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(g[1]),f=null,h?(f=h,h=null):(u=this.lexer.yyleng,s=this.lexer.yytext,l=this.lexer.yylineno,d=this.lexer.yylloc,c>0&&c--);break;case 2:if(b=this.productions_[g[1]][1],x.$=o[o.length-b],x._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},p&&(x._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(y=this.performAction.call(x,s,u,l,this.yy,g[1],o,i)))return y;b&&(r=r.slice(0,-1*b*2),o=o.slice(0,-1*b),i=i.slice(0,-1*b)),r.push(this.productions_[g[1]][0]),o.push(x.$),i.push(x._$),_=a[r[r.length-2]][r[r.length-1]],r.push(_);break;case 3:return!0}}return!0}},n=function(){var e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this},more:function(){return this._more=!0,this},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r,o;this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)||(t=n,r=a,this.options.flex));a++);return t?(o=t[0].match(/(?:\r\n?|\n).*/g),o&&(this.yylineno+=o.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:o?o[o.length-1].length-o[o.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i[r],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e?e:void 0):""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return void 0!==e?e:this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(e){this.begin(e)}};return e.options={},e.performAction=function(e,t,n,r){function o(e,n){return t.yytext=t.yytext.substr(e,t.yyleng-n)}switch(n){case 0:if("\\\\"===t.yytext.slice(-2)?(o(0,1),this.begin("mu")):"\\"===t.yytext.slice(-1)?(o(0,1),this.begin("emu")):this.begin("mu"),t.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;case 3:return this.begin("raw"),15;case 4:return this.popState(),"raw"===this.conditionStack[this.conditionStack.length-1]?15:(t.yytext=t.yytext.substr(5,t.yyleng-9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;case 16:return this.popState(),44;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(t.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;case 30:return this.popState(),33;case 31:return t.yytext=o(1,2).replace(/\\"/g,'"'),80;case 32:return t.yytext=o(1,2).replace(/\\'/g,"'"),80;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return t.yytext=t.yytext.replace(/\\([\\\]])/g,"$1"),72;case 43:return"INVALID";case 44:return 5}},e.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]*?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],e.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},e}();return t.lexer=n,e.prototype=t,t.Parser=e,new e}();t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.options=e}function o(e,t,n){void 0===t&&(t=e.length);var r=e[t-1],o=e[t-2];return r?"ContentStatement"===r.type?(o||!n?/\r?\n\s*?$/:/(^|\r?\n)\s*?$/).test(r.original):void 0:n}function i(e,t,n){void 0===t&&(t=-1);var r=e[t+1],o=e[t+2];return r?"ContentStatement"===r.type?(o||!n?/^\s*?\r?\n/:/^\s*?(\r?\n|$)/).test(r.original):void 0:n}function a(e,t,n){var r=e[null==t?0:t+1];if(r&&"ContentStatement"===r.type&&(n||!r.rightStripped)){var o=r.value;r.value=r.value.replace(n?/^\s+/:/^[ \t]*\r?\n?/,""),r.rightStripped=r.value!==o}}function s(e,t,n){var r=e[null==t?e.length-1:t-1];if(r&&"ContentStatement"===r.type&&(n||!r.leftStripped)){var o=r.value;return r.value=r.value.replace(n?/\s+$/:/[ \t]+$/,""),r.leftStripped=r.value!==o,r.leftStripped}}var l=n(1).default;t.__esModule=!0;var u=n(28),c=l(u);r.prototype=new c.default,r.prototype.Program=function(e){var t=!this.options.ignoreStandalone,n=!this.isRootSeen;this.isRootSeen=!0;for(var r=e.body,l=0,u=r.length;l0)throw new g.default("Invalid path: "+r,{loc:n});".."===u&&(i++,a+="../")}}return{type:"PathExpression",data:e,depth:i,parts:o,original:r,loc:n}}function u(e,t,n,r,o,i){var a=r.charAt(3)||r.charAt(2),s="{"!==a&&"&"!==a;return{type:/\*/.test(r)?"Decorator":"MustacheStatement",path:e,params:t,hash:n,escaped:s,strip:o,loc:this.locInfo(i)}}function c(e,t,n,o){r(e,n),o=this.locInfo(o);var i={type:"Program",body:t,strip:{},loc:o};return{type:"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:i,openStrip:{},inverseStrip:{},closeStrip:{},loc:o}}function d(e,t,n,o,i,a){o&&o.path&&r(e,o);var s=/\*/.test(e.open);t.blockParams=e.blockParams;var l=void 0,u=void 0;if(n){if(s)throw new g.default("Unexpected inverse block on decorator",n);n.chain&&(n.program.body[0].closeStrip=o.strip),u=n.strip,l=n.program}return i&&(i=l,l=t,t=i),{type:s?"DecoratorBlock":"BlockStatement",path:e.path,params:e.params,hash:e.hash,program:t,inverse:l,openStrip:e.strip,inverseStrip:u,closeStrip:o&&o.strip,loc:this.locInfo(a)}}function p(e,t){if(!t&&e.length){var n=e[0].loc,r=e[e.length-1].loc;n&&r&&(t={source:n.source,start:{line:n.start.line,column:n.start.column},end:{line:r.end.line,column:r.end.column}})}return{type:"Program",body:e,strip:{},loc:t}}function f(e,t,n,o){return r(e,n),{type:"PartialBlockStatement",name:e.path,params:e.params,hash:e.hash,program:t,openStrip:e.strip,closeStrip:n&&n.strip,loc:this.locInfo(o)}}var h=n(1).default;t.__esModule=!0,t.SourceLocation=o,t.id=i,t.stripFlags=a,t.stripComment=s,t.preparePath=l,t.prepareMustache=u,t.prepareRawBlock=c,t.prepareBlock=d,t.prepareProgram=p,t.preparePartialBlock=f;var m=n(6),g=h(m)},function(e,t,n){"use strict";function r(){}function o(e,t,n){if(null==e||"string"!=typeof e&&"Program"!==e.type)throw new c.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed "+e);t=t||{},"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var r=n.parse(e,t),o=(new n.Compiler).compile(r,t);return(new n.JavaScriptCompiler).compile(o,t)}function i(e,t,n){function r(){var r=n.parse(e,t),o=(new n.Compiler).compile(r,t),i=(new n.JavaScriptCompiler).compile(o,t,void 0,!0);return n.template(i)}function o(e,t){return i||(i=r()),i.call(this,e,t)}if(void 0===t&&(t={}),null==e||"string"!=typeof e&&"Program"!==e.type)throw new c.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed "+e);"data"in t||(t.data=!0),t.compat&&(t.useDepths=!0);var i=void 0;return o._setup=function(e){return i||(i=r()),i._setup(e)},o._child=function(e,t,n,o){return i||(i=r()),i._child(e,t,n,o)},o}function a(e,t){if(e===t)return!0;if(d.isArray(e)&&d.isArray(t)&&e.length===t.length){for(var n=0;n1)throw new c.default("Unsupported number of partial arguments: "+n.length,e);n.length||(this.options.explicitPartialContext?this.opcode("pushLiteral","undefined"):n.push({type:"PathExpression",parts:[],depth:0}));var r=e.name.original,o="SubExpression"===e.name.type;o&&this.accept(e.name),this.setupFullMustacheParams(e,t,void 0,!0);var i=e.indent||"";this.options.preventIndent&&i&&(this.opcode("appendContent",i),i=""),this.opcode("invokePartial",o,r,i),this.opcode("append")},PartialBlockStatement:function(e){this.PartialStatement(e)},MustacheStatement:function(e){this.SubExpression(e),e.escaped&&!this.options.noEscape?this.opcode("appendEscaped"):this.opcode("append")},Decorator:function(e){this.DecoratorBlock(e)},ContentStatement:function(e){e.value&&this.opcode("appendContent",e.value)},CommentStatement:function(){},SubExpression:function(e){s(e);var t=this.classifySexpr(e);"simple"===t?this.simpleSexpr(e):"helper"===t?this.helperSexpr(e):this.ambiguousSexpr(e)},ambiguousSexpr:function(e,t,n){var r=e.path,o=r.parts[0],i=null!=t||null!=n;this.opcode("getContext",r.depth),this.opcode("pushProgram",t),this.opcode("pushProgram",n),r.strict=!0,this.accept(r),this.opcode("invokeAmbiguous",o,i)},simpleSexpr:function(e){var t=e.path;t.strict=!0,this.accept(t),this.opcode("resolvePossibleLambda")},helperSexpr:function(e,t,n){var r=this.setupFullMustacheParams(e,t,n),o=e.path,i=o.parts[0];if(this.options.knownHelpers[i])this.opcode("invokeKnownHelper",r.length,i);else{if(this.options.knownHelpersOnly)throw new c.default("You specified knownHelpersOnly, but used the unknown helper "+i,e);o.strict=!0,o.falsy=!0,this.accept(o),this.opcode("invokeHelper",r.length,o.original,f.default.helpers.simpleId(o))}},PathExpression:function(e){this.addDepth(e.depth),this.opcode("getContext",e.depth);var t=e.parts[0],n=f.default.helpers.scopedId(e),r=!e.depth&&!n&&this.blockParamIndex(t);r?this.opcode("lookupBlockParam",r,e.parts):t?e.data?(this.options.data=!0,this.opcode("lookupData",e.depth,e.parts,e.strict)):this.opcode("lookupOnContext",e.parts,e.falsy,e.strict,n):this.opcode("pushContext")},StringLiteral:function(e){this.opcode("pushString",e.value)},NumberLiteral:function(e){this.opcode("pushLiteral",e.value)},BooleanLiteral:function(e){this.opcode("pushLiteral",e.value)},UndefinedLiteral:function(){this.opcode("pushLiteral","undefined")},NullLiteral:function(){this.opcode("pushLiteral","null")},Hash:function(e){var t=e.pairs,n=0,r=t.length;for(this.opcode("pushHash");n=0)return[t,o]}}}},function(e,t,n){"use strict";function r(e){this.value=e}function o(){}function i(e,t,n,r){var o=t.popStack(),i=0,a=n.length;for(e&&a--;i0&&(t+=", "+n.join(", "));var r=0;for(var o in this.aliases){var i=this.aliases[o];this.aliases.hasOwnProperty(o)&&i.children&&i.referenceCount>1&&(t+=", alias"+ ++r+"="+o,i.children[0]="alias"+r)}var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var s=this.mergeSource(t);return e?(a.push(s),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),") {\n ",s,"}"])},mergeSource:function(e){var t=this.environment.isSimple,n=!this.forceBuffer,r=void 0,o=void 0,i=void 0,a=void 0;return this.source.each(function(e){e.appendToBuffer?(i?e.prepend(" + "):i=e,a=e):(i&&(o?i.prepend("buffer += "):r=!0,a.add(";"),i=a=void 0),o=!0,t||(n=!1))}),n?i?(i.prepend("return "),a.add(";")):o||this.source.push('return "";'):(e+=", buffer = "+(r?"":this.initializeBuffer()),i?(i.prepend("return buffer + "),a.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(r?"":";\n")),this.source.merge()},blockValue:function(e){var t=this.aliasable("helpers.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var r=this.popStack();n.splice(1,0,r),this.push(this.source.functionCall(t,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("helpers.blockHelperMissing"),t=[this.contextName(0)];this.setupHelperArgs("",0,t,!0),this.flushInline();var n=this.topStack();t.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",t),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(e){return[" != null ? ",e,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,t,n,r){var o=0;r||!this.options.compat||this.lastContext?this.pushContext():this.push(this.depthedLookup(e[o++])),this.resolvePath("context",e,o,t,n)},lookupBlockParam:function(e,t){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",t,1)},lookupData:function(e,t,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",t,0,!0,n)},resolvePath:function(e,t,n,r,o){var a=this;if(this.options.strict||this.options.assumeObjects)return void this.push(i(this.options.strict&&o,this,t,e));for(var s=t.length;nthis.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var t=0,n=e.length;t0&&void 0!==arguments[0]?arguments[0]:{};(0,u.default)(h.canUseDOM,"Browser history needs a DOM");var t=window.history,n=(0,h.supportsHistory)(),r=!(0,h.supportsPopStateOnHashChange)(),a=e.forceRefresh,l=void 0!==a&&a,p=e.getUserConfirmation,v=void 0===p?h.getConfirmation:p,b=e.keyLength,_=void 0===b?6:b,A=e.basename?(0,d.stripTrailingSlash)((0,d.addLeadingSlash)(e.basename)):"",x=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname,s=o.search,l=o.hash,u=a+s+l;return A&&(u=(0,d.stripPrefix)(u,A)),i({},(0,d.parsePath)(u),{state:r,key:n})},j=function(){return Math.random().toString(36).substr(2,_)},w=(0,f.default)(),C=function(e){i(q,e),q.length=t.length,w.notifyListeners(q.location,q.action)},E=function(e){(0,h.isExtraneousPopstateEvent)(e)||S(x(e.state))},k=function(){S(x(y()))},T=!1,S=function(e){if(T)T=!1,C();else{var t="POP";w.confirmTransitionTo(e,t,v,function(n){n?C({action:t,location:e}):P(e)})}},P=function(e){var t=q.location,n=D.indexOf(t.key);n===-1&&(n=0);var r=D.indexOf(e.key);r===-1&&(r=0);var o=n-r;o&&(T=!0,L(o))},M=x(y()),D=[M.key],O=function(e){return A+(0,d.createPath)(e)},I=function(e,r){(0,s.default)(!("object"===(void 0===e?"undefined":o(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",a=(0,c.createLocation)(e,r,j(),q.location);w.confirmTransitionTo(a,i,v,function(e){if(e){var r=O(a),o=a.key,u=a.state;if(n)if(t.pushState({key:o,state:u},null,r),l)window.location.href=r;else{var c=D.indexOf(q.location.key),d=D.slice(0,c===-1?0:c+1);d.push(a.key),D=d,C({action:i,location:a})}else(0,s.default)(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},R=function(e,r){(0,s.default)(!("object"===(void 0===e?"undefined":o(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",a=(0,c.createLocation)(e,r,j(),q.location);w.confirmTransitionTo(a,i,v,function(e){if(e){var r=O(a),o=a.key,u=a.state;if(n)if(t.replaceState({key:o,state:u},null,r),l)window.location.replace(r);else{var c=D.indexOf(q.location.key);c!==-1&&(D[c]=a.key),C({action:i,location:a})}else(0,s.default)(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},L=function(e){t.go(e)},F=function(){return L(-1)},N=function(){return L(1)},B=0,z=function(e){B+=e,1===B?((0,h.addEventListener)(window,m,E),r&&(0,h.addEventListener)(window,g,k)):0===B&&((0,h.removeEventListener)(window,m,E),r&&(0,h.removeEventListener)(window,g,k))},H=!1,U=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=w.setPrompt(e);return H||(z(1),H=!0),function(){return H&&(H=!1,z(-1)),t()}},W=function(e){var t=w.appendListener(e);return z(1),function(){z(-1),t()}},q={length:t.length,action:"POP",location:M,createHref:O,push:I,replace:R,go:L,goBack:F,goForward:N,block:U,listen:W};return q};t.default=v},"./node_modules/history/createTransitionManager.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/warning/browser.js"),i=r(o),a=function(){var e=null,t=function(t){return(0,i.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},n=function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):((0,i.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(a!==!1)}else o(!0)},r=[];return{setPrompt:t,confirmTransitionTo:n,appendListener:function(e){var t=!0,n=function(){t&&e.apply(void 0,arguments)};return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,t=Array(e),n=0;n element.");return u(o[0],t,r,0)};return{parse:function(t){var n=new s(e);return c(t,l.alwaysValid,n.defaultProcessingInstructions)},parseWithInstructions:c}};e.exports=u},"./node_modules/html-to-react/lib/process-node-definitions.js":function(e,t,n){"use strict";function r(e){if(!e)return{};for(var t,n,r,i=e.split(";"),a={},s=0;s0&&r.length>0&&(a[n]=r);return a}var o=n("./node_modules/lodash.camelcase/index.js"),i=n("./node_modules/lodash.foreach/index.js"),a=n("./node_modules/lodash.includes/index.js"),s=n("./node_modules/ent/index.js"),l=["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","textarea"],u=function(e){function t(t,n,o){if("text"===t.type)return s.decode(t.data);if("comment"===t.type)return!1;var u={key:o};return t.attribs&&i(t.attribs,function(e,n){switch(n||""){case"style":u.style=r(t.attribs.style);break;case"class":u.className=e;break;default:u[n]=e}}),a(l,t.name)?e.createElement(t.name,u):void 0!==t.data?e.createElement(t.name,u,t.data,n):e.createElement(t.name,u,n)}return{processDefaultNode:t}};e.exports=u},"./node_modules/html-to-react/lib/processing-instructions.js":function(e,t,n){"use strict";var r=n("./node_modules/html-to-react/lib/should-process-node-definitions.js"),o=n("./node_modules/html-to-react/lib/process-node-definitions.js"),i=function(e){var t=new o(e);return{defaultProcessingInstructions:[{shouldProcessNode:r.shouldProcessEveryNode,processNode:t.processDefaultNode}]}};e.exports=i},"./node_modules/html-to-react/lib/should-process-node-definitions.js":function(e,t,n){"use strict";function r(e){return!0}e.exports={shouldProcessEveryNode:r}},"./node_modules/htmlparser2/lib/CollectingHandler.js":function(e,t,n){function r(e){this._cbs=e||{},this.events=[]}e.exports=r;var o=n("./node_modules/htmlparser2/lib/index.js").EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this.events.push([e,t,n]),this._cbs[e]&&this._cbs[e](t,n)}}}),r.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},r.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},r.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},r.prototype.parseComplete=function(e){this.reset(),this.end(e)},r.prototype.write=function(e){this._tokenizer.write(e)},r.prototype.end=function(e){this._tokenizer.end(e)},r.prototype.pause=function(){this._tokenizer.pause()},r.prototype.resume=function(){this._tokenizer.resume()},r.prototype.parseChunk=r.prototype.write,r.prototype.done=r.prototype.end,e.exports=r},"./node_modules/htmlparser2/lib/ProxyHandler.js":function(e,t,n){function r(e){this._cbs=e||{}}e.exports=r;var o=n("./node_modules/htmlparser2/lib/index.js").EVENTS;Object.keys(o).forEach(function(e){if(0===o[e])e="on"+e,r.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,r.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,r.prototype[e]=function(t,n){this._cbs[e]&&this._cbs[e](t,n)}}})},"./node_modules/htmlparser2/lib/Stream.js":function(e,t,n){function r(e){i.call(this,new o(this),e)}function o(e){this.scope=e}e.exports=r;var i=n("./node_modules/htmlparser2/lib/WritableStream.js");n("./node_modules/inherits/inherits_browser.js")(r,i),r.prototype.readable=!0;var a=n("./node_modules/htmlparser2/lib/index.js").EVENTS;Object.keys(a).forEach(function(e){if(0===a[e])o.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])o.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");o.prototype["on"+e]=function(t,n){this.scope.emit(e,t,n)}}})},"./node_modules/htmlparser2/lib/Tokenizer.js":function(e,t,n){function r(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function o(e,t){return function(n){n===e&&(this._state=t)}}function i(e,t,n){var r=e.toLowerCase();return e===r?function(e){e===r?this._state=t:(this._state=n,this._index--)}:function(o){o===r||o===e?this._state=t:(this._state=n,this._index--)}}function a(e,t){var n=e.toLowerCase();return function(r){r===n||r===e?this._state=t:(this._state=m,this._index--)}}function s(e,t){this._state=f,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=f,this._special=me,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}e.exports=s;var l=n("./node_modules/entities/lib/decode_codepoint.js"),u=n("./node_modules/entities/maps/entities.json"),c=n("./node_modules/entities/maps/legacy.json"),d=n("./node_modules/entities/maps/xml.json"),p=0,f=p++,h=p++,m=p++,g=p++,y=p++,v=p++,b=p++,_=p++,A=p++,x=p++,j=p++,w=p++,C=p++,E=p++,k=p++,T=p++,S=p++,P=p++,M=p++,D=p++,O=p++,I=p++,R=p++,L=p++,F=p++,N=p++,B=p++,z=p++,H=p++,U=p++,W=p++,q=p++,V=p++,G=p++,K=p++,Y=p++,Q=p++,X=p++,Z=p++,J=p++,$=p++,ee=p++,te=p++,ne=p++,re=p++,oe=p++,ie=p++,ae=p++,se=p++,le=p++,ue=p++,ce=p++,de=p++,pe=p++,fe=p++,he=0,me=he++,ge=he++,ye=he++;s.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=h,this._sectionStart=this._index):this._decodeEntities&&this._special===me&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=f,this._state=ue,this._sectionStart=this._index)},s.prototype._stateBeforeTagName=function(e){"/"===e?this._state=y:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==me||r(e)?this._state=f:"!"===e?(this._state=k,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?m:W,this._sectionStart=this._index)},s.prototype._stateInTagName=function(e){("/"===e||">"===e||r(e))&&(this._emitToken("onopentagname"),this._state=_,this._index--)},s.prototype._stateBeforeCloseingTagName=function(e){r(e)||(">"===e?this._state=f:this._special!==me?"s"===e||"S"===e?this._state=q:(this._state=f,this._index--):(this._state=v,this._sectionStart=this._index))},s.prototype._stateInCloseingTagName=function(e){(">"===e||r(e))&&(this._emitToken("onclosetag"),this._state=b,this._index--)},s.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=f,this._sectionStart=this._index+1)},s.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=f,this._sectionStart=this._index+1):"/"===e?this._state=g:r(e)||(this._state=A,this._sectionStart=this._index)},s.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=f,this._sectionStart=this._index+1):r(e)||(this._state=_,this._index--)},s.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||r(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=x,this._index--)},s.prototype._stateAfterAttributeName=function(e){"="===e?this._state=j:"/"===e||">"===e?(this._cbs.onattribend(),this._state=_,this._index--):r(e)||(this._cbs.onattribend(),this._state=A,this._sectionStart=this._index)},s.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=w,this._sectionStart=this._index+1):"'"===e?(this._state=C,this._sectionStart=this._index+1):r(e)||(this._state=E,this._sectionStart=this._index,this._index--)},s.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=_):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ue,this._sectionStart=this._index)},s.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=_):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ue,this._sectionStart=this._index)},s.prototype._stateInAttributeValueNoQuotes=function(e){r(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=_,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=ue,this._sectionStart=this._index)},s.prototype._stateBeforeDeclaration=function(e){this._state="["===e?I:"-"===e?P:T},s.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=f,this._sectionStart=this._index+1)},s.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=f,this._sectionStart=this._index+1)},s.prototype._stateBeforeComment=function(e){"-"===e?(this._state=M,this._sectionStart=this._index+1):this._state=T},s.prototype._stateInComment=function(e){"-"===e&&(this._state=D)},s.prototype._stateAfterComment1=function(e){this._state="-"===e?O:M},s.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"-"!==e&&(this._state=M)},s.prototype._stateBeforeCdata1=i("C",R,T),s.prototype._stateBeforeCdata2=i("D",L,T),s.prototype._stateBeforeCdata3=i("A",F,T),s.prototype._stateBeforeCdata4=i("T",N,T),s.prototype._stateBeforeCdata5=i("A",B,T),s.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=z,this._sectionStart=this._index+1):(this._state=T,this._index--)},s.prototype._stateInCdata=function(e){"]"===e&&(this._state=H)},s.prototype._stateAfterCdata1=o("]",U),s.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=f,this._sectionStart=this._index+1):"]"!==e&&(this._state=z)},s.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=V:"t"===e||"T"===e?this._state=te:(this._state=m,this._index--)},s.prototype._stateBeforeSpecialEnd=function(e){this._special!==ge||"c"!==e&&"C"!==e?this._special!==ye||"t"!==e&&"T"!==e?this._state=f:this._state=ie:this._state=X},s.prototype._stateBeforeScript1=a("R",G),s.prototype._stateBeforeScript2=a("I",K),s.prototype._stateBeforeScript3=a("P",Y),s.prototype._stateBeforeScript4=a("T",Q),s.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||r(e))&&(this._special=ge),this._state=m,this._index--},s.prototype._stateAfterScript1=i("R",Z,f),s.prototype._stateAfterScript2=i("I",J,f),s.prototype._stateAfterScript3=i("P",$,f),s.prototype._stateAfterScript4=i("T",ee,f),s.prototype._stateAfterScript5=function(e){">"===e||r(e)?(this._special=me,this._state=v,this._sectionStart=this._index-6,this._index--):this._state=f},s.prototype._stateBeforeStyle1=a("Y",ne),s.prototype._stateBeforeStyle2=a("L",re),s.prototype._stateBeforeStyle3=a("E",oe),s.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||r(e))&&(this._special=ye),this._state=m,this._index--},s.prototype._stateAfterStyle1=i("Y",ae,f),s.prototype._stateAfterStyle2=i("L",se,f),s.prototype._stateAfterStyle3=i("E",le,f),s.prototype._stateAfterStyle4=function(e){">"===e||r(e)?(this._special=me,this._state=v,this._sectionStart=this._index-5,this._index--):this._state=f},s.prototype._stateBeforeEntity=i("#",ce,de),s.prototype._stateBeforeNumericEntity=i("X",fe,pe),s.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(c.hasOwnProperty(n))return this._emitPartial(c[n]),void(this._sectionStart+=t+1);t--}},s.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==f?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},s.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=this._buffer.substring(n,this._index),o=parseInt(r,t);this._emitPartial(l(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},s.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},s.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},s.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===f?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},s.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},s.prototype._parse=function(){for(;this._index>1,c=-7,d=n?o-1:0,p=n?-1:1,f=e[t+d];for(d+=p,i=f&(1<<-c)-1,f>>=-c,c+=s;c>0;i=256*i+e[t+d],d+=p,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,r),i-=u}return(f?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,u=8*i-o-1,c=(1<>1,p=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?p/l:p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+f]=255&s,f+=h,s/=256,o-=8);for(a=a<0;e[n+f]=255&a,f+=h,a/=256,u-=8);e[n+f-h]|=128*m}},"./node_modules/immutable/dist/immutable.js":function(e,t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return i(e)?e:S(e)}function n(e){return a(e)?e:P(e)}function r(e){return s(e)?e:M(e)}function o(e){return i(e)&&!l(e)?e:D(e)}function i(e){return!(!e||!e[un])}function a(e){return!(!e||!e[cn])}function s(e){return!(!e||!e[dn])}function l(e){return a(e)||s(e)}function u(e){return!(!e||!e[pn])}function c(e){return e.value=!1,e}function d(e){e&&(e.value=!0)}function p(){}function f(e,t){t=t||0;for(var n=Math.max(0,e.length-t),r=new Array(n),o=0;o>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function g(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function v(e,t){return _(e,t,0)}function b(e,t){return _(e,t,t)}function _(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function A(e){this.next=e}function x(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function j(){return{value:void 0,done:!0}}function w(e){return!!k(e)}function C(e){return e&&"function"==typeof e.next}function E(e){var t=k(e);return t&&t.call(e)}function k(e){var t=e&&(jn&&e[jn]||e[wn]);if("function"==typeof t)return t}function T(e){return e&&"number"==typeof e.length}function S(e){return null===e||void 0===e?N():i(e)?e.toSeq():H(e)}function P(e){return null===e||void 0===e?N().toKeyedSeq():i(e)?a(e)?e.toSeq():e.fromEntrySeq():B(e)}function M(e){return null===e||void 0===e?N():i(e)?a(e)?e.entrySeq():e.toIndexedSeq():z(e)}function D(e){return(null===e||void 0===e?N():i(e)?a(e)?e.entrySeq():e:z(e)).toSetSeq()}function O(e){this._array=e,this.size=e.length}function I(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function R(e){this._iterable=e,this.size=e.length||e.size}function L(e){this._iterator=e,this._iteratorCache=[]}function F(e){return!(!e||!e[En])}function N(){return kn||(kn=new O([]))}function B(e){var t=Array.isArray(e)?new O(e).fromEntrySeq():C(e)?new L(e).fromEntrySeq():w(e)?new R(e).fromEntrySeq():"object"==typeof e?new I(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function z(e){var t=U(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function H(e){var t=U(e)||"object"==typeof e&&new I(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function U(e){return T(e)?new O(e):C(e)?new L(e):w(e)?new R(e):void 0}function W(e,t,n,r){var o=e._cache;if(o){for(var i=o.length-1,a=0;a<=i;a++){var s=o[n?i-a:a];if(t(s[1],r?s[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function q(e,t,n,r){var o=e._cache;if(o){var i=o.length-1,a=0;return new A(function(){var e=o[n?i-a:a];return a++>i?j():x(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function V(e,t){return t?G(t,e,"",{"":e}):K(e)}function G(e,t,n,r){return Array.isArray(t)?e.call(r,n,M(t).map(function(n,r){return G(e,n,r,t)})):Y(t)?e.call(r,n,P(t).map(function(n,r){return G(e,n,r,t)})):t}function K(e){return Array.isArray(e)?M(e).map(K).toList():Y(e)?P(e).map(K).toMap():e}function Y(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Q(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function X(e,t){if(e===t)return!0;if(!i(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&Q(o[1],e)&&(n||Q(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var c=e;e=t,t=c}var d=!0,p=t.__iterate(function(t,r){if(n?!e.has(t):o?!Q(t,e.get(r,yn)):!Q(e.get(r,yn),t))return d=!1,!1});return d&&e.size===p}function Z(e,t){if(!(this instanceof Z))return new Z(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Tn)return Tn;Tn=this}}function J(e,t){if(!e)throw new Error(t)}function $(e,t,n){if(!(this instanceof $))return new $(e,t,n);if(J(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function ie(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&((e=e.valueOf())===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return oe(n)}if("string"===t)return e.length>Fn?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=zn[e];return void 0===t&&(t=se(e),Bn===Nn&&(Bn=0,zn={}),Bn++,zn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ce(e){J(e!==1/0,"Cannot perform this action with an infinite size.")}function de(e){return null===e||void 0===e?xe():pe(e)&&!u(e)?e:xe().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function pe(e){return!(!e||!e[Hn])}function fe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ve(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&_e(e._root)}function be(e,t){return x(e,t[0],t[1])}function _e(e,t){return{node:e,index:0,__prev:t}}function Ae(e,t,n,r){var o=Object.create(Un);return o.size=e,o._root=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function xe(){return Wn||(Wn=Ae(0))}function je(e,t,n){var r,o;if(e._root){var i=c(vn),a=c(bn);if(r=we(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;o=e.size+(i.value?n===yn?-1:1:0)}else{if(n===yn)return e;o=1,r=new fe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=o,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?Ae(o,r):xe()}function we(e,t,n,r,o,i,a,s){return e?e.update(t,n,r,o,i,a,s):i===yn?e:(d(s),d(a),new ye(t,r,[o,i]))}function Ce(e){return e.constructor===ye||e.constructor===ge}function Ee(e,t,n,r,o){if(e.keyHash===r)return new ge(t,r,[e.entry,o]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&gn,s=(0===n?r:r>>>n)&gn;return new he(t,1<>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new me(e,i+1,a)}function Pe(e,t,r){for(var o=[],a=0;a>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Le(e,t,n,r){var o=r?e:f(e);return o[t]=n,o}function Fe(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;s0&&oi?0:i-n,u=a-n;return u>mn&&(u=mn),function(){if(o===u)return Xn;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var s,l=e&&e.array,u=o>i?0:i-o>>r,c=1+(a-o>>r);return c>mn&&(c=mn),function(){for(;;){if(s){var e=s();if(e!==Xn)return e;s=null}if(u===c)return Xn;var i=t?--c:u++;s=n(l&&l[i],r-hn,o+(i<=e.size||t<0)return e.withMutations(function(e){t<0?Qe(e,t).set(0,n):Qe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,o=e._root,i=c(bn);return t>=Ze(e._capacity)?r=Ge(r,e.__ownerID,0,t,n,i):o=Ge(o,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=o,e._tail=r,e.__hash=void 0,e.__altered=!0,e):We(e._origin,e._capacity,e._level,o,r):e}function Ge(e,t,n,r,o,i){var a=r>>>n&gn,s=e&&a0){var u=e&&e.array[a],c=Ge(u,t,n-hn,r,o,i);return c===u?e:(l=Ke(e,t),l.array[a]=c,l)}return s&&e.array[a]===o?e:(d(i),l=Ke(e,t),void 0===o&&a===l.array.length-1?l.array.pop():l.array[a]=o,l)}function Ke(e,t){return t&&e&&t===e.ownerID?e:new He(e?e.array.slice():[],t)}function Ye(e,t){if(t>=Ze(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&gn],r-=hn;return n}}function Qe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new p,o=e._origin,i=e._capacity,a=o+t,s=void 0===n?i:n<0?i+n:o+n;if(a===o&&s===i)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new He(u&&u.array.length?[void 0,u]:[],r),l+=hn,c+=1<=1<d?new He([],r):h;if(h&&f>d&&ahn;y-=hn){var v=d>>>y&gn;g=g.array[v]=Ke(g.array[v],r)}g.array[d>>>hn&gn]=h}if(s=f)a-=f,s-=f,l=hn,u=null,m=m&&m.removeBefore(r,0,a);else if(a>o||f>>l&gn;if(b!==f>>>l&gn)break;b&&(c+=(1<o&&(u=u.removeBefore(r,l,a-c)),u&&fa&&(a=u.size),i(l)||(u=u.map(function(e){return V(e)})),o.push(u)}return a>e.size&&(e=e.setSize(a)),Oe(e,t,o)}function Ze(e){return e>>hn<=mn&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):et(r,o)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=Tt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=St,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===xn){var r=e.__iterator(t,n);return new A(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===An?_n:An,n)},t}function lt(e,t,n){var r=Tt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,yn);return i===yn?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(xn,o);return new A(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return x(r,s,t.call(n,a[1],s,e),o)})},r}function ut(e,t){var n=Tt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=St,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function ct(e,t,n,r){var o=Tt(e);return r&&(o.has=function(r){var o=e.get(r,yn);return o!==yn&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,yn);return i!==yn&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,l){if(t.call(n,e,i,l))return s++,o(e,r?i:s-1,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(xn,i),s=0;return new A(function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return x(o,r?u:s++,c,i)}})},o}function dt(e,t,n){var r=de().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function pt(e,t,n){var r=a(e),o=(u(e)?Je():de()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=kt(e);return o.map(function(t){return wt(e,i(t))})}function ft(e,t,n,r){var o=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=o:n|=0),y(t,n,o))return e;var i=v(t,o),a=b(n,o);if(i!==i||a!==a)return ft(e.toSeq().cacheResult(),t,n,r);var s,l=a-i;l===l&&(s=l<0?0:l);var u=Tt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&F(e)&&s>=0&&(u.get=function(t,n){return t=m(this,t),t>=0&&ts)return j();var e=o.next();return r||t===An?e:t===_n?x(t,l-1,void 0,e):x(t,l-1,e.value[1],e)})},u}function ht(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(xn,o),s=!0;return new A(function(){if(!s)return j();var e=a.next();if(e.done)return e;var o=e.value,l=o[0],u=o[1];return t.call(n,u,l,i)?r===xn?e:x(r,l,u,e):(s=!1,j())})},r}function mt(e,t,n,r){var o=Tt(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return l++,o(e,r?i:l-1,a)}),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(xn,i),l=!0,u=0;return new A(function(){var e,i,c;do{if(e=s.next(),e.done)return r||o===An?e:o===_n?x(o,u++,void 0,e):x(o,u++,e.value[1],e);var d=e.value;i=d[0],c=d[1],l&&(l=t.call(n,c,i,a))}while(l);return o===xn?e:x(o,i,c,e)})},o}function gt(e,t){var r=a(e),o=[e].concat(t).map(function(e){return i(e)?r&&(e=n(e)):e=r?B(e):z(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===o.length)return e;if(1===o.length){var l=o[0];if(l===e||r&&a(l)||s(e)&&s(l))return l}var u=new O(o);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=o.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,o){function a(e,u){var c=this;e.__iterate(function(e,o){return(!t||u0}function jt(e,n,r){var o=Tt(e);return o.size=new O(r).map(function(e){return e.size}).min(),o.__iterate=function(e,t){for(var n,r=this.__iterator(An,t),o=0;!(n=r.next()).done&&e(n.value,o++,this)!==!1;);return o},o.__iteratorUncached=function(e,o){var i=r.map(function(e){return e=t(e),E(o?e.reverse():e)}),a=0,s=!1;return new A(function(){var t;return s||(t=i.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?j():x(e,a++,n.apply(null,t.map(function(e){return e.value})))})},o}function wt(e,t){return F(e)?t:e.constructor(t)}function Ct(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function Et(e){return ce(e.size),h(e)}function kt(e){return a(e)?n:s(e)?r:o}function Tt(e){return Object.create((a(e)?P:s(e)?M:D).prototype)}function St(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):S.prototype.cacheResult.call(this)}function Pt(e,t){return e>t?1:et?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=a(e),r=t?1:0;return an(e.__iterate(n?t?function(e,t){r=31*r+sn(ie(e),ie(t))|0}:function(e,t){r=r+sn(ie(e),ie(t))|0}:t?function(e){r=31*r+ie(e)|0}:function(e){r=r+ie(e)|0}),r)}function an(e,t){return t=Mn(t,3432918353),t=Mn(t<<15|t>>>-15,461845907),t=Mn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Mn(t^t>>>16,2246822507),t=Mn(t^t>>>13,3266489909),t=oe(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var ln=Array.prototype.slice;e(n,t),e(r,t),e(o,t),t.isIterable=i,t.isKeyed=a,t.isIndexed=s,t.isAssociative=l,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=o;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",dn="@@__IMMUTABLE_INDEXED__@@",pn="@@__IMMUTABLE_ORDERED__@@",fn="delete",hn=5,mn=1<r?j():x(e,o,n[t?r-o++:o++])})},e(I,P),I.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},I.prototype.has=function(e){return this._object.hasOwnProperty(e)},I.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,o=r.length-1,i=0;i<=o;i++){var a=r[t?o-i:i];if(e(n[a],a,this)===!1)return i+1}return i},I.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,o=r.length-1,i=0;return new A(function(){var a=r[t?o-i:i];return i++>o?j():x(e,a,n[a])})},I.prototype[pn]=!0,e(R,M),R.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=E(n),o=0;if(C(r))for(var i;!(i=r.next()).done&&e(i.value,o++,this)!==!1;);return o},R.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=E(n);if(!C(r))return new A(j);var o=0;return new A(function(){var t=r.next();return t.done?t:x(e,o++,t.value)})},e(L,M),L.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,o=0;o=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return x(e,o,r[o++])})};var kn;e(Z,M),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(e,t){return this.has(e)?this._value:t},Z.prototype.includes=function(e){return Q(this._value,e)},Z.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new Z(this._value,b(t,n)-v(e,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(e){return Q(this._value,e)?0:-1},Z.prototype.lastIndexOf=function(e){return Q(this._value,e)?this.size:-1},Z.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?j():x(e,i++,a)})},$.prototype.equals=function(e){return e instanceof $?this._start===e._start&&this._end===e._end&&this._step===e._step:X(this,e)};var Sn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Pn,Mn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},Dn=Object.isExtensible,On=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),In="function"==typeof WeakMap;In&&(Pn=new WeakMap);var Rn=0,Ln="__immutablehash__";"function"==typeof Symbol&&(Ln=Symbol(Ln));var Fn=16,Nn=255,Bn=0,zn={};e(de,te),de.of=function(){var e=ln.call(arguments,0);return xe().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},de.prototype.toString=function(){return this.__toString("Map {","}")},de.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},de.prototype.set=function(e,t){return je(this,e,t)},de.prototype.setIn=function(e,t){return this.updateIn(e,yn,function(){return t})},de.prototype.remove=function(e){return je(this,e,yn)},de.prototype.deleteIn=function(e){return this.updateIn(e,function(){return yn})},de.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},de.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Ie(this,Mt(e),t,n);return r===yn?void 0:r},de.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):xe()},de.prototype.merge=function(){return Pe(this,void 0,arguments)},de.prototype.mergeWith=function(e){return Pe(this,e,ln.call(arguments,1))},de.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,xe(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},de.prototype.mergeDeep=function(){return Pe(this,Me,arguments)},de.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Pe(this,De(e),t)},de.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,xe(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},de.prototype.sort=function(e){return Je(_t(this,e))},de.prototype.sortBy=function(e,t){return Je(_t(this,t,e))},de.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},de.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new p)},de.prototype.asImmutable=function(){return this.__ensureOwner()},de.prototype.wasAltered=function(){return this.__altered},de.prototype.__iterator=function(e,t){return new ve(this,e,t)},de.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},de.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ae(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},de.isMap=pe;var Hn="@@__IMMUTABLE_MAP__@@",Un=de.prototype;Un[Hn]=!0,Un[fn]=Un.remove,Un.removeIn=Un.deleteIn,fe.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=qn)return ke(e,l,r,o);var h=e&&e===this.ownerID,m=h?l:f(l);return p?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,o]:m.push([r,o]),h?(this.entries=m,this):new fe(e,m)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=1<<((0===e?t:t>>>e)&gn),i=this.bitmap;return 0==(i&o)?r:this.nodes[Re(i&o-1)].get(e+hn,t,n,r)},he.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,l=1<=Vn)return Se(e,p,u,s,h);if(c&&!h&&2===p.length&&Ce(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&Ce(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,y=c?h?Le(p,d,h,m):Ne(p,d,m):Fe(p,d,h,m);return m?(this.bitmap=g,this.nodes=y,this):new he(e,g,y)},me.prototype.get=function(e,t,n,r){void 0===t&&(t=ie(n));var o=(0===e?t:t>>>e)&gn,i=this.nodes[o];return i?i.get(e+hn,t,n,r):r},me.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=ie(r));var s=(0===t?n:n>>>t)&gn,l=o===yn,u=this.nodes,c=u[s];if(l&&!c)return this;var d=we(c,e,t+hn,n,r,o,i,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p=0&&e>>t&gn;if(r>=this.array.length)return new He([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-hn,n))===a&&i)return this}if(i&&!o)return this;var s=Ke(this,e);if(!i)for(var l=0;l>>t&gn;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-hn,n))===i&&r===this.array.length-1)return this}var a=Ke(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Qn,Xn={};e(Je,de),Je.of=function(){return this(arguments)},Je.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Je.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Je.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Je.prototype.set=function(e,t){return nt(this,e,t)},Je.prototype.remove=function(e){return nt(this,e,yn)},Je.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Je.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Je.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Je.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Je.isOrderedMap=$e,Je.prototype[pn]=!0,Je.prototype[fn]=Je.prototype.remove;var Zn;e(rt,P),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?Et(this):0,function(o){return e(o,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(An,t),r=t?Et(this):0;return new A(function(){var o=n.next();return o.done?o:x(e,t?--r:r++,o.value,o)})},rt.prototype[pn]=!0,e(ot,M),ot.prototype.includes=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t),r=0;return new A(function(){var t=n.next();return t.done?t:x(e,r++,t.value,t)})},e(it,D),it.prototype.has=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t);return new A(function(){var t=n.next();return t.done?t:x(e,t.value,t.value,t)})},e(at,P),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Ct(t);var r=i(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t);return new A(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Ct(r);var o=i(r);return x(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},ot.prototype.cacheResult=rt.prototype.cacheResult=it.prototype.cacheResult=at.prototype.cacheResult=St,e(Dt,te),Dt.prototype.toString=function(){return this.__toString(It(this)+" {","}")},Dt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Dt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Dt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Ot(this,xe()))},Dt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+It(this));if(this._map&&!this._map.has(e)){if(t===this._defaultValues[e])return this}var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Ot(this,n)},Dt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Ot(this,t)},Dt.prototype.wasAltered=function(){return this._map.wasAltered()},Dt.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},Dt.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},Dt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Ot(this,t,e):(this.__ownerID=e,this._map=t,this)};var Jn=Dt.prototype;Jn[fn]=Jn.remove,Jn.deleteIn=Jn.removeIn=Un.removeIn,Jn.merge=Un.merge,Jn.mergeWith=Un.mergeWith,Jn.mergeIn=Un.mergeIn,Jn.mergeDeep=Un.mergeDeep,Jn.mergeDeepWith=Un.mergeDeepWith,Jn.mergeDeepIn=Un.mergeDeepIn,Jn.setIn=Un.setIn,Jn.update=Un.update,Jn.updateIn=Un.updateIn,Jn.withMutations=Un.withMutations,Jn.asMutable=Un.asMutable,Jn.asImmutable=Un.asImmutable,e(Ft,re),Ft.of=function(){return this(arguments)},Ft.fromKeys=function(e){return this(n(e).keySeq())},Ft.prototype.toString=function(){return this.__toString("Set {","}")},Ft.prototype.has=function(e){return this._map.has(e)},Ft.prototype.add=function(e){return Bt(this,this._map.set(e,!0))},Ft.prototype.remove=function(e){return Bt(this,this._map.remove(e))},Ft.prototype.clear=function(){return Bt(this,this._map.clear())},Ft.prototype.union=function(){var e=ln.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yt(e,t)},Gt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;ce(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yt(t,n)},Gt.prototype.pop=function(){return this.slice(1)},Gt.prototype.unshift=function(){return this.push.apply(this,arguments)},Gt.prototype.unshiftAll=function(e){return this.pushAll(e)},Gt.prototype.shift=function(){return this.pop.apply(this,arguments)},Gt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qt()},Gt.prototype.slice=function(e,t){if(y(e,t,this.size))return this;var n=v(e,this.size);if(b(t,this.size)!==this.size)return ne.prototype.slice.call(this,e,t);for(var r=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=r,this._head=o,this.__hash=void 0,this.__altered=!0,this):Yt(r,o)},Gt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Gt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&e(r.value,n++,this)!==!1;)r=r.next;return n},Gt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new A(function(){if(r){var t=r.value;return r=r.next,x(e,n++,t)}return j()})},Gt.isStack=Kt;var or="@@__IMMUTABLE_STACK__@@",ir=Gt.prototype;ir[or]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var ar;t.Iterator=A,Xt(t,{toArray:function(){ce(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new ot(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return de(this.toKeyedSeq())},toObject:function(){ce(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Je(this.toKeyedSeq())},toOrderedSet:function(){return Ut(a(this)?this.valueSeq():this)},toSet:function(){return Ft(a(this)?this.valueSeq():this)},toSetSeq:function(){return new it(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Gt(a(this)?this.valueSeq():this)},toList:function(){return Be(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return wt(this,gt(this,ln.call(arguments,0)))},includes:function(e){return this.some(function(t){return Q(t,e)})},entries:function(){return this.__iterator(xn)},every:function(e,t){ce(this.size);var n=!0;return this.__iterate(function(r,o,i){if(!e.call(t,r,o,i))return n=!1,!1}),n},filter:function(e,t){return wt(this,ct(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return ce(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ce(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(_n)},map:function(e,t){return wt(this,lt(this,e,t))},reduce:function(e,t,n){ce(this.size);var r,o;return arguments.length<2?o=!0:r=t,this.__iterate(function(t,i,a){o?(o=!1,r=t):r=e.call(n,r,t,i,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return wt(this,ut(this,!0))},slice:function(e,t){return wt(this,ft(this,e,t,!0))},some:function(e,t){return!this.every($t(e),t)},sort:function(e){return wt(this,_t(this,e))},values:function(){return this.__iterator(An)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return dt(this,e,t)},equals:function(e){return X(this,e)},entrySeq:function(){var e=this;if(e._cache)return new O(e._cache);var t=e.toSeq().map(Jt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter($t(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,o,i){if(e.call(t,n,o,i))return r=[o,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(g)},flatMap:function(e,t){return wt(this,vt(this,e,t))},flatten:function(e){return wt(this,yt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return Q(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,o=Mt(e);!(n=o.next()).done;){var i=n.value;if((r=r&&r.get?r.get(i,yn):yn)===yn)return t}return r},groupBy:function(e,t){return pt(this,e,t)},has:function(e){return this.get(e,yn)!==yn},hasIn:function(e){return this.getIn(e,yn)!==yn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return Q(t,e)})},keySeq:function(){return this.toSeq().map(Zt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return At(this,e)},maxBy:function(e,t){return At(this,t,e)},min:function(e){return At(this,e?en(e):rn)},minBy:function(e,t){return At(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return wt(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return wt(this,mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile($t(e),t)},sortBy:function(e,t){return wt(this,_t(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return wt(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return wt(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile($t(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var sr=t.prototype;sr[un]=!0,sr[Cn]=sr.values,sr.__toJS=sr.toArray,sr.__toStringMapper=tn,sr.inspect=sr.toSource=function(){return this.toString()},sr.chain=sr.flatMap,sr.contains=sr.includes,Xt(n,{flip:function(){return wt(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return wt(this,this.toSeq().map(function(o,i){return e.call(t,[i,o],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return wt(this,this.toSeq().flip().map(function(r,o){return e.call(t,r,o,n)}).flip())}});var lr=n.prototype;return lr[cn]=!0,lr[Cn]=sr.entries,lr.__toJS=sr.toObject,lr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},Xt(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return wt(this,ct(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return wt(this,ut(this,!1))},slice:function(e,t){return wt(this,ft(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=v(e,e<0?this.count():this.size);var r=this.slice(0,e);return wt(this,1===n?r:r.concat(f(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return wt(this,yt(this,e,!1))},get:function(e,t){return e=m(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=m(this,e))>=0&&(void 0!==this.size?this.size===1/0||e=t._browserInfo.version}).reduce(function(e,t){return e[t]=!0,e},{}),this._hasPropsRequiringPrefix=Object.keys(this._requiresPrefix).length>0):this._usePrefixAllFallback=!0}return a(e,[{key:"prefix",value:function(e){var t=this;return this._usePrefixAllFallback?(0,l.default)(e):this._hasPropsRequiringPrefix?(Object.keys(e).forEach(function(n){var r=e[n];r instanceof Object&&!Array.isArray(r)?e[n]=t.prefix(r):t._requiresPrefix[n]&&(e[t.jsPrefix+(0,h.default)(n)]=r,t._keepUnprefixed||delete e[n])}),Object.keys(e).forEach(function(n){[].concat(e[n]).forEach(function(r){B.forEach(function(o){i(e,o({property:n,value:r,styles:e,browserInfo:t._browserInfo,prefix:{js:t.jsPrefix,css:t.cssPrefix,keyframes:t.prefixedKeyframes},keepUnprefixed:t._keepUnprefixed,requiresPrefix:t._requiresPrefix}),r,t._keepUnprefixed)})})}),(0,g.default)(e)):e}}],[{key:"prefixAll",value:function(e){return(0,l.default)(e)}}]),e}();t.default=z,e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/calc.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.browserInfo,i=r.browser,a=r.version,l=e.prefix.css,u=e.keepUnprefixed;if("string"==typeof n&&n.indexOf("calc(")>-1&&("firefox"===i&&a<15||"chrome"===i&&a<25||"safari"===i&&a<6.1||"ios_saf"===i&&a<7))return o({},t,(0,s.default)(n.replace(/calc\(/g,l+"calc("),n,u))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),s=r(a);e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/flex.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.property,n=e.value,r=e.browserInfo,o=r.browser,i=r.version,l=e.prefix.css,u=e.keepUnprefixed;if("display"===t&&s[n]&&("chrome"===o&&i<29&&i>20||("safari"===o||"ios_saf"===o)&&i<9&&i>6||"opera"===o&&(15==i||16==i)))return{display:(0,a.default)(l+n,n,u)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),a=r(i),s={flex:!0,"inline-flex":!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/flexboxIE.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.styles,i=e.browserInfo,a=i.browser,c=i.version,d=e.prefix.css,p=e.keepUnprefixed;if((u[t]||"display"===t&&"string"==typeof n&&n.indexOf("flex")>-1)&&("ie_mob"===a||"ie"===a)&&10==c){if(p||Array.isArray(r[t])||delete r[t],"display"===t&&l[n])return{display:(0,s.default)(d+l[n],n,p)};if(u[t])return o({},u[t],l[n]||n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),s=r(a),l={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end",flex:"flexbox","inline-flex":"inline-flexbox"},u={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/flexboxOld.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.styles,i=e.browserInfo,a=i.browser,c=i.version,p=e.prefix.css,f=e.keepUnprefixed;if((d.indexOf(t)>-1||"display"===t&&"string"==typeof n&&n.indexOf("flex")>-1)&&("firefox"===a&&c<22||"chrome"===a&&c<21||("safari"===a||"ios_saf"===a)&&c<=6.1||"android"===a&&c<4.4||"and_uc"===a)){if(f||Array.isArray(r[t])||delete r[t],"flexDirection"===t&&"string"==typeof n)return{WebkitBoxOrient:n.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:n.indexOf("reverse")>-1?"reverse":"normal"};if("display"===t&&l[n])return{display:(0,s.default)(p+l[n],n,f)};if(u[t])return o({},u[t],l[n]||n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),s=r(a),l={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple",flex:"box","inline-flex":"inline-box"},u={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"},c=["alignContent","alignSelf","order","flexGrow","flexShrink","flexBasis","flexDirection"],d=Object.keys(u).concat(c);e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/grabCursor.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.property,n=e.value,r=e.browserInfo.browser,o=e.prefix.css,i=e.keepUnprefixed;if("cursor"===t&&s[n]&&("firefox"===r||"chrome"===r||"safari"===r||"opera"===r))return{cursor:(0,a.default)(o+n,n,i)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),a=r(i),s={grab:!0,grabbing:!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/gradient.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.browserInfo,i=r.browser,a=r.version,u=e.prefix.css,c=e.keepUnprefixed;if("string"==typeof n&&null!==n.match(l)&&("firefox"===i&&a<16||"chrome"===i&&a<26||("safari"===i||"ios_saf"===i)&&a<7||("opera"===i||"op_mini"===i)&&a<12.1||"android"===i&&a<4.4||"and_uc"===i))return o({},t,(0,s.default)(u+n,n,c))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),s=r(a),l=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/position.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.browserInfo.browser,i=e.prefix.css,a=e.keepUnprefixed;if("position"===t&&"sticky"===n&&("safari"===r||"ios_saf"===r))return o({},t,(0,s.default)(i+n,n,a))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),s=r(a);e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/sizing.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.prefix.css,i=e.keepUnprefixed;if(l[t]&&u[n])return o({},t,(0,s.default)(r+n,n,i))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),s=r(a),l={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},u={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/transition.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=e.property,n=e.value,r=e.prefix.css,i=e.requiresPrefix,s=e.keepUnprefixed,u=(0,c.default)(t);if("string"==typeof n&&d[u]){var p=function(){var e=Object.keys(i).map(function(e){return(0,l.default)(e)}),a=n.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return e.forEach(function(e){a.forEach(function(t,n){t.indexOf(e)>-1&&"order"!==e&&(a[n]=t.replace(e,r+e)+(s?","+t:""))})}),{v:o({},t,a.join(","))}}();if("object"===(void 0===p?"undefined":a(p)))return p.v}}Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.default=i;var s=n("./node_modules/hyphenate-style-name/index.js"),l=r(s),u=n("./node_modules/inline-style-prefixer/lib/utils/unprefixProperty.js"),c=r(u),d={transition:!0,transitionProperty:!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/plugins/zoomCursor.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.property,n=e.value,r=e.browserInfo,o=r.browser,i=r.version,l=e.prefix.css,u=e.keepUnprefixed;if("cursor"===t&&s[n]&&("firefox"===o&&i<24||"chrome"===o&&i<37||"safari"===o&&i<9||"opera"===o&&i<24))return{cursor:(0,a.default)(l+n,n,u)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js"),a=r(i),s={"zoom-in":!0,"zoom-out":!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/prefixProps.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={chrome:{transform:35,transformOrigin:35,transformOriginX:35,transformOriginY:35,backfaceVisibility:35,perspective:35,perspectiveOrigin:35,transformStyle:35,transformOriginZ:35,animation:42,animationDelay:42,animationDirection:42,animationFillMode:42,animationDuration:42,animationIterationCount:42,animationName:42,animationPlayState:42,animationTimingFunction:42,appearance:55,userSelect:55,fontKerning:32,textEmphasisPosition:55,textEmphasis:55,textEmphasisStyle:55,textEmphasisColor:55,boxDecorationBreak:55,clipPath:55,maskImage:55,maskMode:55,maskRepeat:55,maskPosition:55,maskClip:55,maskOrigin:55,maskSize:55,maskComposite:55,mask:55,maskBorderSource:55,maskBorderMode:55,maskBorderSlice:55,maskBorderWidth:55,maskBorderOutset:55,maskBorderRepeat:55,maskBorder:55,maskType:55,textDecorationStyle:55,textDecorationSkip:55,textDecorationLine:55,textDecorationColor:55,filter:52,fontFeatureSettings:47,breakAfter:49,breakBefore:49,breakInside:49,columnCount:49,columnFill:49,columnGap:49,columnRule:49,columnRuleColor:49,columnRuleStyle:49,columnRuleWidth:49,columns:49,columnSpan:49,columnWidth:49},safari:{flex:8,flexBasis:8,flexDirection:8,flexGrow:8,flexFlow:8,flexShrink:8,flexWrap:8,alignContent:8,alignItems:8,alignSelf:8,justifyContent:8,order:8,transition:6,transitionDelay:6,transitionDuration:6,transitionProperty:6,transitionTimingFunction:6,transform:8,transformOrigin:8,transformOriginX:8,transformOriginY:8,backfaceVisibility:8,perspective:8,perspectiveOrigin:8,transformStyle:8,transformOriginZ:8,animation:8,animationDelay:8,animationDirection:8,animationFillMode:8,animationDuration:8,animationIterationCount:8,animationName:8,animationPlayState:8,animationTimingFunction:8,appearance:10,userSelect:10,backdropFilter:10,fontKerning:9,scrollSnapType:10,scrollSnapPointsX:10,scrollSnapPointsY:10,scrollSnapDestination:10,scrollSnapCoordinate:10,textEmphasisPosition:7,textEmphasis:7,textEmphasisStyle:7,textEmphasisColor:7,boxDecorationBreak:10,clipPath:10,maskImage:10,maskMode:10,maskRepeat:10,maskPosition:10,maskClip:10,maskOrigin:10,maskSize:10,maskComposite:10,mask:10,maskBorderSource:10,maskBorderMode:10,maskBorderSlice:10,maskBorderWidth:10,maskBorderOutset:10,maskBorderRepeat:10,maskBorder:10,maskType:10,textDecorationStyle:10,textDecorationSkip:10,textDecorationLine:10,textDecorationColor:10,shapeImageThreshold:10,shapeImageMargin:10,shapeImageOutside:10,filter:9,hyphens:10,flowInto:10,flowFrom:10,breakBefore:8,breakAfter:8,breakInside:8,regionFragment:10,columnCount:8,columnFill:8,columnGap:8,columnRule:8,columnRuleColor:8,columnRuleStyle:8,columnRuleWidth:8,columns:8,columnSpan:8,columnWidth:8},firefox:{appearance:51,userSelect:51,boxSizing:28,textAlignLast:48,textDecorationStyle:35,textDecorationSkip:35,textDecorationLine:35,textDecorationColor:35,tabSize:51,hyphens:42,fontFeatureSettings:33,breakAfter:51,breakBefore:51,breakInside:51,columnCount:51,columnFill:51,columnGap:51,columnRule:51,columnRuleColor:51,columnRuleStyle:51,columnRuleWidth:51,columns:51,columnSpan:51,columnWidth:51},opera:{flex:16,flexBasis:16,flexDirection:16,flexGrow:16,flexFlow:16,flexShrink:16,flexWrap:16,alignContent:16,alignItems:16,alignSelf:16,justifyContent:16,order:16,transform:22,transformOrigin:22,transformOriginX:22,transformOriginY:22,backfaceVisibility:22,perspective:22,perspectiveOrigin:22,transformStyle:22,transformOriginZ:22,animation:29,animationDelay:29,animationDirection:29,animationFillMode:29,animationDuration:29,animationIterationCount:29,animationName:29,animationPlayState:29,animationTimingFunction:29,appearance:41,userSelect:41,fontKerning:19,textEmphasisPosition:41,textEmphasis:41,textEmphasisStyle:41,textEmphasisColor:41,boxDecorationBreak:41,clipPath:41,maskImage:41,maskMode:41,maskRepeat:41,maskPosition:41,maskClip:41,maskOrigin:41,maskSize:41,maskComposite:41,mask:41,maskBorderSource:41,maskBorderMode:41,maskBorderSlice:41,maskBorderWidth:41,maskBorderOutset:41,maskBorderRepeat:41,maskBorder:41,maskType:41,textDecorationStyle:41,textDecorationSkip:41,textDecorationLine:41,textDecorationColor:41,filter:39,fontFeatureSettings:34,breakAfter:36,breakBefore:36,breakInside:36,columnCount:36,columnFill:36,columnGap:36,columnRule:36,columnRuleColor:36,columnRuleStyle:36,columnRuleWidth:36,columns:36,columnSpan:36,columnWidth:36},ie:{flex:10,flexDirection:10,flexFlow:10,flexWrap:10,transform:9,transformOrigin:9,transformOriginX:9,transformOriginY:9,userSelect:11,wrapFlow:11,wrapThrough:11,wrapMargin:11,scrollSnapType:11,scrollSnapPointsX:11,scrollSnapPointsY:11,scrollSnapDestination:11,scrollSnapCoordinate:11,touchAction:10,hyphens:11,flowInto:11,flowFrom:11,breakBefore:11,breakAfter:11,breakInside:11,regionFragment:11,gridTemplateColumns:11,gridTemplateRows:11,gridTemplateAreas:11,gridTemplate:11,gridAutoColumns:11,gridAutoRows:11,gridAutoFlow:11,grid:11,gridRowStart:11,gridColumnStart:11,gridRowEnd:11,gridRow:11,gridColumn:11,gridColumnEnd:11,gridColumnGap:11,gridRowGap:11,gridArea:11,gridGap:11,textSizeAdjust:11},edge:{userSelect:14,wrapFlow:14,wrapThrough:14,wrapMargin:14,scrollSnapType:14,scrollSnapPointsX:14,scrollSnapPointsY:14,scrollSnapDestination:14,scrollSnapCoordinate:14,hyphens:14,flowInto:14,flowFrom:14,breakBefore:14,breakAfter:14,breakInside:14,regionFragment:14,gridTemplateColumns:14,gridTemplateRows:14,gridTemplateAreas:14,gridTemplate:14,gridAutoColumns:14,gridAutoRows:14,gridAutoFlow:14,grid:14,gridRowStart:14,gridColumnStart:14,gridRowEnd:14,gridRow:14,gridColumn:14,gridColumnEnd:14,gridColumnGap:14,gridRowGap:14,gridArea:14,gridGap:14},ios_saf:{flex:8.1,flexBasis:8.1,flexDirection:8.1,flexGrow:8.1,flexFlow:8.1,flexShrink:8.1,flexWrap:8.1,alignContent:8.1,alignItems:8.1,alignSelf:8.1,justifyContent:8.1,order:8.1,transition:6,transitionDelay:6,transitionDuration:6,transitionProperty:6,transitionTimingFunction:6,transform:8.1,transformOrigin:8.1,transformOriginX:8.1,transformOriginY:8.1,backfaceVisibility:8.1,perspective:8.1,perspectiveOrigin:8.1,transformStyle:8.1,transformOriginZ:8.1,animation:8.1,animationDelay:8.1,animationDirection:8.1,animationFillMode:8.1,animationDuration:8.1,animationIterationCount:8.1,animationName:8.1,animationPlayState:8.1,animationTimingFunction:8.1,appearance:9.3,userSelect:9.3,backdropFilter:9.3,fontKerning:9.3,scrollSnapType:9.3,scrollSnapPointsX:9.3,scrollSnapPointsY:9.3,scrollSnapDestination:9.3,scrollSnapCoordinate:9.3,boxDecorationBreak:9.3,clipPath:9.3,maskImage:9.3,maskMode:9.3,maskRepeat:9.3,maskPosition:9.3,maskClip:9.3,maskOrigin:9.3,maskSize:9.3,maskComposite:9.3,mask:9.3,maskBorderSource:9.3,maskBorderMode:9.3,maskBorderSlice:9.3,maskBorderWidth:9.3,maskBorderOutset:9.3,maskBorderRepeat:9.3,maskBorder:9.3,maskType:9.3,textSizeAdjust:9.3,textDecorationStyle:9.3,textDecorationSkip:9.3,textDecorationLine:9.3,textDecorationColor:9.3,shapeImageThreshold:9.3,shapeImageMargin:9.3,shapeImageOutside:9.3,filter:9,hyphens:9.3,flowInto:9.3,flowFrom:9.3,breakBefore:8.1,breakAfter:8.1,breakInside:8.1,regionFragment:9.3,columnCount:8.1,columnFill:8.1,columnGap:8.1,columnRule:8.1,columnRuleColor:8.1,columnRuleStyle:8.1,columnRuleWidth:8.1,columns:8.1,columnSpan:8.1,columnWidth:8.1},android:{flex:4.2,flexBasis:4.2,flexDirection:4.2,flexGrow:4.2,flexFlow:4.2,flexShrink:4.2,flexWrap:4.2,alignContent:4.2,alignItems:4.2,alignSelf:4.2,justifyContent:4.2,order:4.2,transition:4.2,transitionDelay:4.2,transitionDuration:4.2,transitionProperty:4.2,transitionTimingFunction:4.2,transform:4.4,transformOrigin:4.4,transformOriginX:4.4,transformOriginY:4.4,backfaceVisibility:4.4,perspective:4.4,perspectiveOrigin:4.4,transformStyle:4.4,transformOriginZ:4.4,animation:4.4,animationDelay:4.4,animationDirection:4.4,animationFillMode:4.4,animationDuration:4.4,animationIterationCount:4.4,animationName:4.4,animationPlayState:4.4,animationTimingFunction:4.4,appearance:51,userSelect:51,fontKerning:4.4,textEmphasisPosition:51,textEmphasis:51,textEmphasisStyle:51,textEmphasisColor:51,boxDecorationBreak:51,clipPath:51,maskImage:51,maskMode:51,maskRepeat:51,maskPosition:51,maskClip:51,maskOrigin:51,maskSize:51,maskComposite:51,mask:51,maskBorderSource:51,maskBorderMode:51,maskBorderSlice:51,maskBorderWidth:51,maskBorderOutset:51,maskBorderRepeat:51,maskBorder:51,maskType:51,filter:51,fontFeatureSettings:4.4,breakAfter:51,breakBefore:51,breakInside:51,columnCount:51,columnFill:51,columnGap:51,columnRule:51,columnRuleColor:51,columnRuleStyle:51,columnRuleWidth:51,columns:51,columnSpan:51,columnWidth:51},and_chr:{appearance:51,userSelect:51,textEmphasisPosition:51,textEmphasis:51,textEmphasisStyle:51,textEmphasisColor:51,boxDecorationBreak:51,clipPath:51,maskImage:51,maskMode:51,maskRepeat:51,maskPosition:51,maskClip:51,maskOrigin:51,maskSize:51,maskComposite:51,mask:51,maskBorderSource:51,maskBorderMode:51,maskBorderSlice:51,maskBorderWidth:51,maskBorderOutset:51,maskBorderRepeat:51,maskBorder:51,maskType:51,textDecorationStyle:51,textDecorationSkip:51,textDecorationLine:51,textDecorationColor:51,filter:51},and_uc:{flex:9.9,flexBasis:9.9,flexDirection:9.9,flexGrow:9.9,flexFlow:9.9,flexShrink:9.9,flexWrap:9.9,alignContent:9.9,alignItems:9.9,alignSelf:9.9,justifyContent:9.9,order:9.9,transition:9.9,transitionDelay:9.9,transitionDuration:9.9,transitionProperty:9.9,transitionTimingFunction:9.9,transform:9.9,transformOrigin:9.9,transformOriginX:9.9,transformOriginY:9.9,backfaceVisibility:9.9,perspective:9.9,perspectiveOrigin:9.9,transformStyle:9.9,transformOriginZ:9.9,animation:9.9,animationDelay:9.9,animationDirection:9.9,animationFillMode:9.9,animationDuration:9.9,animationIterationCount:9.9,animationName:9.9,animationPlayState:9.9,animationTimingFunction:9.9,appearance:9.9,userSelect:9.9,fontKerning:9.9,textEmphasisPosition:9.9,textEmphasis:9.9,textEmphasisStyle:9.9,textEmphasisColor:9.9,maskImage:9.9,maskMode:9.9,maskRepeat:9.9,maskPosition:9.9,maskClip:9.9,maskOrigin:9.9,maskSize:9.9,maskComposite:9.9,mask:9.9,maskBorderSource:9.9,maskBorderMode:9.9,maskBorderSlice:9.9,maskBorderWidth:9.9,maskBorderOutset:9.9,maskBorderRepeat:9.9,maskBorder:9.9,maskType:9.9,textSizeAdjust:9.9,filter:9.9,hyphens:9.9,flowInto:9.9,flowFrom:9.9,breakBefore:9.9,breakAfter:9.9,breakInside:9.9,regionFragment:9.9,fontFeatureSettings:9.9,columnCount:9.9,columnFill:9.9,columnGap:9.9,columnRule:9.9,columnRuleColor:9.9,columnRuleStyle:9.9,columnRuleWidth:9.9,columns:9.9,columnSpan:9.9,columnWidth:9.9},op_mini:{}},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/calc.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,l.default)(t)&&t.indexOf("calc(")>-1)return(0,a.default)(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/joinPrefixedValue.js"),a=r(i),s=n("./node_modules/inline-style-prefixer/lib/utils/isPrefixedValue.js"),l=r(s);e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/cursor.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("cursor"===e&&s[t])return(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/joinPrefixedValue.js"),a=r(i),s={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/flex.js":function(e,t,n){"use strict";function r(e,t){if("display"===e&&o[t])return{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var o={flex:!0,"inline-flex":!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/flexboxIE.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(a[e])return r({},a[e],i[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},a={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/flexboxOld.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return"flexDirection"===e&&"string"==typeof t?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:a[e]?r({},a[e],i[t]||t):void 0}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},a={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/gradient.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,l.default)(t)&&null!==t.match(u))return(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/joinPrefixedValue.js"),a=r(i),s=n("./node_modules/inline-style-prefixer/lib/utils/isPrefixedValue.js"),l=r(s),u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/position.js":function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return{position:["-webkit-sticky","sticky"]}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/sizing.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(s[e]&&l[t])return(0,a.default)(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/joinPrefixedValue.js"),a=r(i),s={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},l={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/plugins/transition.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){if("string"==typeof t&&m[e]){var n,r=a(t),i=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",");return e.indexOf("Webkit")>-1?o({},e,i):(n={},o(n,"Webkit"+(0,c.default)(e),i),o(n,e,r),n)}}function a(e){if((0,p.default)(e))return e;var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return t.forEach(function(e,n){t[n]=Object.keys(h.default).reduce(function(t,n){var r="-"+n.toLowerCase()+"-";return Object.keys(h.default[n]).forEach(function(n){var o=(0,l.default)(n);e.indexOf(o)>-1&&"order"!==o&&(t=e.replace(o,r+o)+","+t)}),t},e)}),t.join(",")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var s=n("./node_modules/hyphenate-style-name/index.js"),l=r(s),u=n("./node_modules/inline-style-prefixer/lib/utils/capitalizeString.js"),c=r(u),d=n("./node_modules/inline-style-prefixer/lib/utils/isPrefixedValue.js"),p=r(d),f=n("./node_modules/inline-style-prefixer/lib/static/prefixProps.js"),h=r(f),m={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0};e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/prefixAll.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return Object.keys(e).forEach(function(t){var n=e[t];n instanceof Object&&!Array.isArray(n)?e[t]=o(n):Object.keys(s.default).forEach(function(r){s.default[r][t]&&(e[r+(0,u.default)(t)]=n)})}),Object.keys(e).forEach(function(t){[].concat(e[t]).forEach(function(n,r){P.forEach(function(r){return i(e,r(t,n))})})}),(0,d.default)(e)}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];Object.keys(t).forEach(function(n){var r=e[n];Array.isArray(r)?[].concat(t[n]).forEach(function(t){var o=r.indexOf(t);o>-1&&e[n].splice(o,1),e[n].push(t)}):e[n]=t[n]})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n("./node_modules/inline-style-prefixer/lib/static/prefixProps.js"),s=r(a),l=n("./node_modules/inline-style-prefixer/lib/utils/capitalizeString.js"),u=r(l),c=n("./node_modules/inline-style-prefixer/lib/utils/sortPrefixedStyle.js"),d=r(c),p=n("./node_modules/inline-style-prefixer/lib/static/plugins/position.js"),f=r(p),h=n("./node_modules/inline-style-prefixer/lib/static/plugins/calc.js"),m=r(h),g=n("./node_modules/inline-style-prefixer/lib/static/plugins/cursor.js"),y=r(g),v=n("./node_modules/inline-style-prefixer/lib/static/plugins/flex.js"),b=r(v),_=n("./node_modules/inline-style-prefixer/lib/static/plugins/sizing.js"),A=r(_),x=n("./node_modules/inline-style-prefixer/lib/static/plugins/gradient.js"),j=r(x),w=n("./node_modules/inline-style-prefixer/lib/static/plugins/transition.js"),C=r(w),E=n("./node_modules/inline-style-prefixer/lib/static/plugins/flexboxIE.js"),k=r(E),T=n("./node_modules/inline-style-prefixer/lib/static/plugins/flexboxOld.js"),S=r(T),P=[f.default,m.default,y.default,A.default,j.default,C.default,k.default,S.default,b.default];e.exports=t.default},"./node_modules/inline-style-prefixer/lib/static/prefixProps.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/capitalizeString.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/getBrowserInformation.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/bowser/src/bowser.js"),i=r(o),a={Webkit:["chrome","safari","ios","android","phantom","opera","webos","blackberry","bada","tizen","chromium","vivaldi"],Moz:["firefox","seamonkey","sailfish"],ms:["msie","msedge"]},s={chrome:[["chrome"],["chromium"]],safari:[["safari"]],firefox:[["firefox"]],edge:[["msedge"]],opera:[["opera"],["vivaldi"]],ios_saf:[["ios","mobile"],["ios","tablet"]],ie:[["msie"]],op_mini:[["opera","mobile"],["opera","tablet"]],and_uc:[["android","mobile"],["android","tablet"]],android:[["android","mobile"],["android","tablet"]]},l=function(e){if(e.firefox)return"firefox";var t="";return Object.keys(s).forEach(function(n){s[n].forEach(function(r){var o=0;r.forEach(function(t){e[t]&&(o+=1)}),r.length===o&&(t=n)})}),t};t.default=function(e){if(!e)return!1;var t=i.default._detect(e);return Object.keys(a).forEach(function(e){a[e].forEach(function(n){t[n]&&(t.prefix={inline:e,css:"-"+e.toLowerCase()+"-"})})}),t.browser=l(t),t.version=t.version?parseFloat(t.version):parseInt(parseFloat(t.osversion),10),t.osversion=parseFloat(t.osversion),"ios_saf"===t.browser&&t.version>t.osversion&&(t.version=t.osversion,t.safari=!0),"android"===t.browser&&t.chrome&&t.version>37&&(t.browser="and_chr"),"android"===t.browser&&t.osversion<5&&(t.version=t.osversion),t},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/getPrefixedKeyframes.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.browser,n=e.version,r=e.prefix,o="keyframes";return("chrome"===t&&n<43||("safari"===t||"ios_saf"===t)&&n<9||"opera"===t&&n<30||"android"===t&&n<=4.4||"and_uc"===t)&&(o=r.css+o),o},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/getPrefixedValue.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return n?[e,t]:e},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/isPrefixedProperty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e.match(/^(Webkit|Moz|O|ms)/)},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/isPrefixedValue.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Array.isArray(e)&&(e=e.join(",")),null!==e.match(/-webkit-|-moz-|-ms-/)},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/joinPrefixedValue.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return r({},e,["-webkit-","-moz-",""].map(function(e){return n(e,t)}))},e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/sortPrefixedStyle.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return Object.keys(e).sort(function(e,t){return(0,a.default)(e)&&!(0,a.default)(t)?-1:!(0,a.default)(e)&&(0,a.default)(t)?1:0}).reduce(function(t,n){return t[n]=e[n],t},{})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/inline-style-prefixer/lib/utils/isPrefixedProperty.js"),a=r(i);e.exports=t.default},"./node_modules/inline-style-prefixer/lib/utils/unprefixProperty.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.replace(/^(ms|Webkit|Moz|O)/,"");return t.charAt(0).toLowerCase()+t.slice(1)},e.exports=t.default},"./node_modules/invariant/browser.js":function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},"./node_modules/is-arrayish/index.js":function(e,t,n){"use strict";e.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},"./node_modules/isarray/index.js":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"./node_modules/json-stringify-pretty-compact/index.js":function(e,t){function n(e,t){t=t||{};var n=JSON.stringify([1],null,o(t,"indent",2)).slice(2,-3),i=""===n?1/0:o(t,"maxLength",80);return function e(t,o,a){t&&"function"==typeof t.toJSON&&(t=t.toJSON());var s=JSON.stringify(t);if(void 0===s)return s;var l=i-o.length-a;if(s.length<=l){var u=r(s);if(u.length<=l)return u}if("object"==typeof t&&null!==t){var c,d=o+n,p=[],f=function(e,t){return t===e.length-1?0:1};if(Array.isArray(t)){for(var h=0;h0)return[c[0],n+p.join(",\n"+d),c[1]].join("\n"+o)}return s}(e,"",0)}function r(e){return e.replace(i,function(e,t){return t?e:e+" "})}function o(e,t,n){return t in e?e[t]:n}var i=/("(?:[^"]|\\.)*")|[:,]/g;e.exports=n},"./node_modules/jsx-to-string/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return!!e&&e[t]===n}function i(e,t){var n=void 0;return Array.isArray(e)?n=e.map(function(e){return i(e)}):e&&"object"===(void 0===e?"undefined":u(e))?(n={},Object.keys(e).map(function(r){var o=e[r];d.default.isValidElement(o)?o=s(o,t):Array.isArray(o)?o=o.map(function(e){return i(e,t)}):"object"===(void 0===o?"undefined":u(o))?o=i(o,t):"function"==typeof o&&(o=t.useFunctionCode?t.functionNameOnly?item.name.toString():item.toString():"..."),n[r]=o})):n=e,n}function a(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=void 0;if((0,h.isImmutable)(e))r=a(e.toJS(),t,n);else if("string"==typeof e)r=n?"'"+e+"'":e;else if("number"==typeof e||"boolean"==typeof e)r=""+e;else if(Array.isArray(e)){var o=new Array(t.spacing+1).join(" "),l=n?", ":"\n"+o,c=e.map(function(e){return a(e,t)}).join(l);r=n?"["+c+"]":""+c}else d.default.isValidElement(e)?r=s(e,t):"object"===(void 0===e?"undefined":u(e))?(r=(0,f.default)(i(e,t)),r=r.replace(m,function(e){return e.slice(1,e.length-1)})):"function"==typeof e&&(r=t.useFunctionCode?t.functionNameOnly?e.name.toString():e.toString():"...");return r}function s(e,t){var n={displayName:e.type.displayName||e.type.name||e.type,ignoreProps:[],keyValueOverride:{},spacing:0,detectFunctions:!1},r=l({},n,t),i={name:r.displayName};if(delete r.displayName,e.props){var s=new Array(r.spacing+3).join(" ");i.props=Object.keys(e.props).filter(function(t){return"children"!==t&&!o(e.type.defaultProps,t,e.props[t])&&r.ignoreProps.indexOf(t)===-1}).map(function(t){var n=void 0;return n="function"==typeof r.keyValueOverride[t]?r.keyValueOverride[t](e.props[t]):r.keyValueOverride[t]?r.keyValueOverride[t]:a(e.props[t],l({},r,{key:t})),"string"==typeof n&&"'"===n[0]||(n="{"+n+"}"),t+"="+n}).join("\n"+s),e.key&&r.ignoreProps.indexOf("key")===-1&&(i.props+="key='"+e.key+"'"),i.props.length>0&&(i.props=" "+i.props)}if(e.props.children){r.spacing+=2;var u=new Array(r.spacing+1).join(" ");return Array.isArray(e.props.children)?i.children=e.props.children.reduce(function(e,t){return e.concat(t)},[]).filter(function(e){return e}).map(function(e){return a(e,r,!1)}).join("\n"+u):i.children=a(e.props.children,r,!1),"<"+i.name+i.props+">\n"+u+i.children+"\n"+u.slice(0,-2)+""}return"<"+i.name+i.props+" />"}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t"/g;t.default=s,e.exports=t.default},"./node_modules/jsx-to-string/node_modules/fbjs/lib/EventListener.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyFunction.js"),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},"./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js":function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},"./node_modules/jsx-to-string/node_modules/fbjs/lib/camelize.js":function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/camelizeStyleName.js":function(e,t,n){"use strict";function r(e){return o(e.replace(i,"ms-"))}var o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/camelize.js"),i=/^-ms-/;e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/containsNode.js":function(e,t,n){"use strict";function r(e,t){var n=!0;e:for(;n;){var r=e,i=t;if(n=!1,r&&i){if(r===i)return!0;if(o(r))return!1;if(o(i)){e=r,t=i.parentNode,n=!0;continue e}return r.contains?r.contains(i):!!r.compareDocumentPosition&&!!(16&r.compareDocumentPosition(i))}return!1}}var o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/isTextNode.js");e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/createArrayFromMixed.js":function(e,t,n){"use strict";function r(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function o(e){return r(e)?Array.isArray(e)?e.slice():i(e):[e]}var i=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/toArray.js");e.exports=o},"./node_modules/jsx-to-string/node_modules/fbjs/lib/createNodesFromMarkup.js":function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=u;u||l(!1);var o=r(e),i=o&&s(o);if(i){n.innerHTML=i[1]+e+i[2];for(var c=i[0];c--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t||l(!1),a(d).forEach(t));for(var p=a(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return p}var i=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),a=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/createArrayFromMixed.js"),s=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/getMarkupWrap.js"),l=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),u=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},"./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyFunction.js":function(e,t,n){"use strict";function r(e){return function(){return e}}function o(){}o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},"./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyObject.js":function(e,t,n){"use strict";var r={};e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/focusNode.js":function(e,t,n){"use strict";function r(e){try{e.focus()}catch(e){}}e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/getActiveElement.js":function(e,t,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/getMarkupWrap.js":function(e,t,n){"use strict";function r(e){return a||i(!1),p.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||(a.innerHTML="*"===e?"":"<"+e+">",s[e]=!a.firstChild),s[e]?p[e]:null}var o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),i=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),a=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,"","
"],c=[3,"","
"],d=[1,'',""],p={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){p[e]=d,s[e]=!0}),e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/getUnboundedScrollPosition.js":function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/hyphenate.js":function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/hyphenateStyleName.js":function(e,t,n){"use strict";function r(e){return o(e).replace(i,"-ms-")}var o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/hyphenate.js"),i=/^ms-/;e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/isNode.js":function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/isTextNode.js":function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/isNode.js");e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/keyMirror.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),o=function(e){var t,n={};e instanceof Object&&!Array.isArray(e)||r(!1);for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};e.exports=o},"./node_modules/jsx-to-string/node_modules/fbjs/lib/keyOf.js":function(e,t,n){"use strict";var r=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/mapObject.js":function(e,t,n){"use strict";function r(e,t,n){if(!e)return null;var r={};for(var i in e)o.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r}var o=Object.prototype.hasOwnProperty;e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/memoizeStringOnly.js":function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=r},"./node_modules/jsx-to-string/node_modules/fbjs/lib/shallowEqual.js":function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=o.bind(t),a=0;a>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?i(e)+t:t}function s(){return!0}function l(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function u(e,t){return d(e,t,0)}function c(e,t){return d(e,t,t)}function d(e,t,n){return void 0===e?n:e<0?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function p(e){return(f(e)||v(e))&&!e.__ownerID}function f(e){return!(!e||!e[Ot])}function h(e){return!(!e||!e[It])}function m(e){return!(!e||!e[Rt])}function g(e){return h(e)||m(e)}function y(e){return!(!e||!e[Lt])}function v(e){return!(!e||!e[Ft])}function b(e){return!(!e||"function"!=typeof e.equals||"function"!=typeof e.hashCode)}function _(e,t,n,r){var o=0===e?t:1===e?n:[t,n];return r?r.value=o:r={value:o,done:!1},r}function A(){return{value:void 0,done:!0}}function x(e){return!!C(e)}function j(e){return e&&"function"==typeof e.next}function w(e){var t=C(e);return t&&t.call(e)}function C(e){var t=e&&(Vt&&e[Vt]||e[Gt]);if("function"==typeof t)return t}function E(e){return e&&"number"==typeof e.length}function k(e){return!(!e||!e[$t])}function T(){return nn||(nn=new en([]))}function S(e){var t=Array.isArray(e)?new en(e):j(e)?new an(e):x(e)?new on(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new tn(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function P(e){var t=D(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function M(e){var t=D(e);if(t)return t;if("object"==typeof e)return new tn(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}function D(e){return E(e)?new en(e):j(e)?new an(e):x(e)?new on(e):void 0}function O(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!!(b(e)&&b(t)&&e.equals(t))}function I(e,t){return R([],t||L,e,"",t&&t.length>2?[]:void 0,{"":e})}function R(e,t,n,r,o,i){var a=Array.isArray(n)?Zt:F(n)?Xt:null;if(a){if(~e.indexOf(n))throw new TypeError("Cannot convert circular structure to Immutable");e.push(n),o&&""!==r&&o.push(r);var s=t.call(i,r,a(n).map(function(r,i){return R(e,t,r,i,o,n)}),o&&o.slice());return e.pop(),o&&o.pop(),s}return n}function L(e,t){return h(t)?t.toMap():t.toList()}function F(e){return e&&(e.constructor===Object||void 0===e.constructor)}function N(e){return e>>>1&1073741824|3221225471&e}function B(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&((e=e.valueOf())===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return N(n)}if("string"===t)return e.length>fn?z(e):H(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return U(e);if("function"==typeof e.toString)return H(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function z(e){var t=gn[e];return void 0===t&&(t=H(e),mn===hn&&(mn=0,gn={}),mn++,gn[e]=t),t}function H(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function q(e){var t=ce(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=de,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return t(n,e,r)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===qt){var r=e.__iterator(t,n);return new Yt(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===Wt?Ut:Wt,n)},t}function V(e,t,n){var r=ce(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,o){var i=e.get(r,Pt);return i===Pt?o:t.call(n,i,r,e)},r.__iterateUncached=function(r,o){var i=this;return e.__iterate(function(e,o,a){return r(t.call(n,e,o,a),o,i)!==!1},o)},r.__iteratorUncached=function(r,o){var i=e.__iterator(qt,o);return new Yt(function(){var o=i.next();if(o.done)return o;var a=o.value,s=a[0];return _(r,s,t.call(n,a[1],s,e),o)})},r}function G(e,t){var n=this,r=ce(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=q(e);return t.reverse=function(){return e.flip()},t}),r.get=function(n,r){return e.get(t?n:-1-n,r)},r.has=function(n){return e.has(t?n:-1-n)},r.includes=function(t){return e.includes(t)},r.cacheResult=de,r.__iterate=function(n,r){var o=this,a=0;return r&&i(e),e.__iterate(function(e,i){return n(e,t?i:r?o.size-++a:a++,o)},!r)},r.__iterator=function(r,o){var a=0;o&&i(e);var s=e.__iterator(qt,!o);return new Yt(function(){var e=s.next();if(e.done)return e;var i=e.value;return _(r,t?i[0]:o?n.size-++a:a++,i[1],e)})},r}function K(e,t,n,r){var o=ce(e);return r&&(o.has=function(r){var o=e.get(r,Pt);return o!==Pt&&!!t.call(n,o,r,e)},o.get=function(r,o){var i=e.get(r,Pt);return i!==Pt&&t.call(n,i,r,e)?i:o}),o.__iterateUncached=function(o,i){var a=this,s=0;return e.__iterate(function(e,i,l){if(t.call(n,e,i,l))return o(e,r?i:s++,a)},i),s},o.__iteratorUncached=function(o,i){var a=e.__iterator(qt,i),s=0;return new Yt(function(){for(;;){var i=a.next();if(i.done)return i;var l=i.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return _(o,r?u:s++,c,i)}})},o}function Y(e,t,n){var r=An().asMutable();return e.__iterate(function(o,i){r.update(t.call(n,o,i,e),0,function(e){return e+1})}),r.asImmutable()}function Q(e,t,n){var r=h(e),o=(y(e)?zn():An()).asMutable();e.__iterate(function(i,a){o.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(r?[a,i]:i),e})});var i=ue(e);return o.map(function(t){return se(e,i(t))})}function X(e,t,n,r){var o=e.size;if(l(t,n,o))return e;var i=u(t,o),s=c(n,o);if(i!==i||s!==s)return X(e.toSeq().cacheResult(),t,n,r);var d,p=s-i;p===p&&(d=p<0?0:p);var f=ce(e);return f.size=0===d?d:e.size&&d||void 0,!r&&k(e)&&d>=0&&(f.get=function(t,n){return t=a(this,t),t>=0&&td)return A();var e=o.next();return r||t===Wt?e:t===Ut?_(t,s-1,void 0,e):_(t,s-1,e.value[1],e)})},f}function Z(e,t,n){var r=ce(e);return r.__iterateUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterate(r,o);var a=0;return e.__iterate(function(e,o,s){return t.call(n,e,o,s)&&++a&&r(e,o,i)}),a},r.__iteratorUncached=function(r,o){var i=this;if(o)return this.cacheResult().__iterator(r,o);var a=e.__iterator(qt,o),s=!0;return new Yt(function(){if(!s)return A();var e=a.next();if(e.done)return e;var o=e.value,l=o[0],u=o[1];return t.call(n,u,l,i)?r===qt?e:_(r,l,u,e):(s=!1,A())})},r}function J(e,t,n,r){var o=ce(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,l=0;return e.__iterate(function(e,i,u){if(!s||!(s=t.call(n,e,i,u)))return l++,o(e,r?i:l-1,a)}),l},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(qt,i),l=!0,u=0;return new Yt(function(){var e,i,c;do{if(e=s.next(),e.done)return r||o===Wt?e:o===Ut?_(o,u++,void 0,e):_(o,u++,e.value[1],e);var d=e.value;i=d[0],c=d[1],l&&(l=t.call(n,c,i,a))}while(l);return o===qt?e:_(o,i,c,e)})},o}function $(e,t){var n=h(e),r=[e].concat(t).map(function(e){return f(e)?n&&(e=Bt(e)):e=n?S(e):P(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===r.length)return e;if(1===r.length){var o=r[0];if(o===e||n&&h(o)||m(e)&&m(o))return o}var i=new en(r);return n?i=i.toKeyedSeq():m(e)||(i=i.toSetSeq()),i=i.flatten(!0),i.size=r.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),i}function ee(e,t,n){var r=ce(e);return r.__iterateUncached=function(o,i){function a(e,u){e.__iterate(function(e,i){return(!t||u0}function ae(e,t,n){var r=ce(e);return r.size=new en(n).map(function(e){return e.size}).min(),r.__iterate=function(e,t){for(var n,r=this,o=this.__iterator(Wt,t),i=0;!(n=o.next()).done&&e(n.value,i++,r)!==!1;);return i},r.__iteratorUncached=function(e,r){var o=n.map(function(e){return e=Nt(e),w(r?e.reverse():e)}),i=0,a=!1;return new Yt(function(){var n;return a||(n=o.map(function(e){return e.next()}),a=n.some(function(e){return e.done})),a?A():_(e,i++,t.apply(null,n.map(function(e){return e.value})))})},r}function se(e,t){return e===t?e:k(e)?t:e.constructor(t)}function le(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function ue(e){return h(e)?Bt:m(e)?zt:Ht}function ce(e){return Object.create((h(e)?Xt:m(e)?Zt:Jt).prototype)}function de(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):Qt.prototype.cacheResult.call(this)}function pe(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e>>n)&St,s=(0===n?r:r>>>n)&St;return new Cn(t,1<>>=1)a[s]=1&n?t[i++]:void 0;return a[r]=o,new En(e,i+1,a)}function Se(e,t,n){for(var r=[],o=0;o>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Re(e,t,n,r){var i=r?e:o(e);return i[t]=n,i}function Le(e,t,n,r){var o=e.length+1;if(r&&t+1===o)return e[t]=n,e;for(var i=new Array(o),a=0,s=0;si?0:i-n,u=a-n;return u>Tt&&(u=Tt),function(){if(o===u)return Bn;var e=t?--u:o++;return r&&r[e]}}function o(e,r,o){var s,l=e&&e.array,u=o>i?0:i-o>>r,c=1+(a-o>>r);return c>Tt&&(c=Tt),function(){for(;;){if(s){var e=s();if(e!==Bn)return e;s=null}if(u===c)return Bn;var i=t?--c:u++;s=n(l&&l[i],r-kt,o+(i<=e.size||n<0)return e.withMutations(function(e){n<0?Ge(e,n).set(0,r):Ge(e,0,n+1).set(n,r)});n+=e._origin;var o=e._tail,i=e._root,s=t(Dt);return n>=Ye(e._capacity)?o=We(o,e.__ownerID,0,n,r,s):i=We(i,e.__ownerID,e._level,n,r,s),s.value?e.__ownerID?(e._root=i,e._tail=o,e.__hash=void 0,e.__altered=!0,e):ze(e._origin,e._capacity,e._level,i,o):e}function We(e,t,r,o,i,a){var s=o>>>r&St,l=e&&s0){var c=e&&e.array[s],d=We(c,t,r-kt,o,i,a);return d===c?e:(u=qe(e,t),u.array[s]=d,u)}return l&&e.array[s]===i?e:(n(a),u=qe(e,t),void 0===i&&s===u.array.length-1?u.array.pop():u.array[s]=i,u)}function qe(e,t){return t&&e&&t===e.ownerID?e:new Fn(e?e.array.slice():[],t)}function Ve(e,t){if(t>=Ye(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&St],r-=kt;return n}}function Ge(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var o=e.__ownerID||new r,i=e._origin,a=e._capacity,s=i+t,l=void 0===n?a:n<0?a+n:i+n;if(s===i&&l===a)return e;if(s>=l)return e.clear();for(var u=e._level,c=e._root,d=0;s+d<0;)c=new Fn(c&&c.array.length?[void 0,c]:[],o),u+=kt,d+=1<=1<p?new Fn([],o):h;if(h&&f>p&&skt;y-=kt){var v=p>>>y&St;g=g.array[v]=qe(g.array[v],o)}g.array[p>>>kt&St]=h}if(l=f)s-=f,l-=f,u=kt,c=null,m=m&&m.removeBefore(o,0,s);else if(s>i||f>>u&St;if(b!==f>>>u&St)break;b&&(d+=(1<i&&(c=c.removeBefore(o,u,s-d)),c&&fo&&(o=s.size),f(a)||(s=s.map(function(e){return I(e)})),r.push(s)}return o>e.size&&(e=e.setSize(o)),De(e,t,r)}function Ye(e){return e>>kt<=Tt&&a.size>=2*i.size?(o=a.filter(function(e,t){return void 0!==e&&s!==t}),r=o.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=o.__ownerID=e.__ownerID)):(r=i.remove(t),o=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=i,o=a.set(s,[t,n])}else r=i.set(t,a.size),o=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=o,e.__hash=void 0,e):Xe(r,o)}function $e(e){return!(!e||!e[Wn])}function et(e,t,n,r){var o=Object.create(qn);return o.size=e,o._head=t,o.__ownerID=n,o.__hash=r,o.__altered=!1,o}function tt(){return Vn||(Vn=et(0))}function nt(e,t){if(e===t)return!0;if(!f(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||h(e)!==h(t)||m(e)!==m(t)||y(e)!==y(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!g(e);if(y(e)){var r=e.entries();return t.every(function(e,t){var o=r.next().value;return o&&O(o[1],e)&&(n||O(o[0],t))})&&r.next().done}var o=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{o=!0;var i=e;e=t,t=i}var a=!0,s=t.__iterate(function(t,r){if(n?!e.has(t):o?!O(t,e.get(r,Pt)):!O(e.get(r,Pt),t))return a=!1,!1});return a&&e.size===s}function rt(e,t){var n=function(n){e.prototype[n]=t[n]};return Object.keys(t).forEach(n),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(n),e}function ot(e){return!(!e||!e[Kn])}function it(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function at(e,t){var n=Object.create(Yn);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function st(){return Qn||(Qn=at(Ae()))}function lt(e,t,n,r,o,i){return me(e.size),e.__iterate(function(e,i,a){o?(o=!1,n=e):n=t.call(r,n,e,i,a)},i),n}function ut(e,t){return t}function ct(e,t){return[t,e]}function dt(e){return e&&"function"==typeof e.toJS?e.toJS():e}function pt(e){return function(){return!e.apply(this,arguments)}}function ft(e){return function(){return-e.apply(this,arguments)}}function ht(){return o(arguments)}function mt(e,t){return et?-1:0}function gt(e){if(e.size===1/0)return 0;var t=y(e),n=h(e),r=t?1:0;return yt(e.__iterate(n?t?function(e,t){r=31*r+vt(B(e),B(t))|0}:function(e,t){r=r+vt(B(e),B(t))|0}:t?function(e){r=31*r+B(e)|0}:function(e){r=r+B(e)|0}),r)}function yt(e,t){return t=sn(t,3432918353),t=sn(t<<15|t>>>-15,461845907),t=sn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=sn(t^t>>>16,2246822507),t=sn(t^t>>>13,3266489909),t=N(t^t>>>16)}function vt(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}function bt(e){return ot(e)&&y(e)}function _t(e,t){var n=Object.create(nr);return n.size=e?e.size:0,n._map=e,n.__ownerID=t,n}function At(){return rr||(rr=_t(Ze()))}function xt(e,t,n){var r=Object.create(Object.getPrototypeOf(e));return r._values=t,r.__ownerID=n,r}function jt(e){return e._name||e.constructor.name||"Record"}function wt(e){return S(e._keys.map(function(t){return[t,e.get(t)]}))}function Ct(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){he(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}var Et="delete",kt=5,Tt=1<=r.length){var t=n.next();if(t.done)return t;r[o]=t.value}return _(e,o,r[o++])})},t}(Zt),sn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},ln=Object.isExtensible,un=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),cn="function"==typeof WeakMap;cn&&(rn=new WeakMap);var dn=0,pn="__immutablehash__";"function"==typeof Symbol&&(pn=Symbol(pn));var fn=16,hn=255,mn=0,gn={},yn=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=G(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var n=this,r=V(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t,r){return e(t,r,n)},t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(Xt);yn.prototype[Lt]=!0;var vn=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this,r=0;return t&&i(this),this._iter.__iterate(function(o){return e(o,t?n.size-++r:r++,n)},t)},t.prototype.__iterator=function(e,t){var n=this,r=this._iter.__iterator(Wt,t),o=0;return t&&i(this),new Yt(function(){var i=r.next();return i.done?i:_(e,t?n.size-++o:o++,i.value,i)})},t}(Zt),bn=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Wt,t);return new Yt(function(){var t=n.next();return t.done?t:_(e,t.value,t.value,t)})},t}(Jt),_n=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){le(t);var r=f(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},t.prototype.__iterator=function(e,t){var n=this._iter.__iterator(Wt,t);return new Yt(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){le(r);var o=f(r);return _(e,o?r.get(0):r[0],o?r.get(1):r[1],t)}}})},t}(Xt);vn.prototype.cacheResult=yn.prototype.cacheResult=bn.prototype.cacheResult=_n.prototype.cacheResult=de;var An=function(e){function t(t){return null===t||void 0===t?Ae():ye(t)&&!y(t)?t:Ae().withMutations(function(n){var r=e(t);me(r.size),r.forEach(function(e,t){return n.set(t,e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return Ae().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return xe(this,e,t)},t.prototype.setIn=function(e,t){return this.updateIn(e,Pt,function(){return t})},t.prototype.remove=function(e){return xe(this,e,Pt)},t.prototype.deleteIn=function(e){if(e=[].concat(fe(e)),e.length){var t=e.pop();return this.updateIn(e,function(e){return e&&e.remove(t)})}},t.prototype.deleteAll=function(e){var t=Nt(e);return 0===t.size?this:this.withMutations(function(e){t.forEach(function(t){return e.remove(t)})})},t.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},t.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Oe(this,fe(e),0,t,n);return r===Pt?t:r},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ae()},t.prototype.merge=function(){return Se(this,void 0,arguments)},t.prototype.mergeWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Se(this,e,t)},t.prototype.mergeIn=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return this.updateIn(e,Ae(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},t.prototype.mergeDeep=function(){return Se(this,Pe,arguments)},t.prototype.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Se(this,Me(e),t)},t.prototype.mergeDeepIn=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return this.updateIn(e,Ae(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},t.prototype.sort=function(e){return zn(re(this,e))},t.prototype.sortBy=function(e,t){return zn(re(this,t,e))},t.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},t.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new r)},t.prototype.asImmutable=function(){return this.__ensureOwner()},t.prototype.wasAltered=function(){return this.__altered},t.prototype.__iterator=function(e,t){return new Pn(this,e,t)},t.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?_e(this.size,this._root,e,this.__hash):0===this.size?Ae():(this.__ownerID=e,this.__altered=!1,this)},t}(Bt);An.isMap=ye;var xn="@@__IMMUTABLE_MAP__@@",jn=An.prototype;jn[xn]=!0,jn[Et]=jn.remove,jn.removeIn=jn.deleteIn,jn.removeAll=jn.deleteAll;var wn=function(e,t){this.ownerID=e,this.entries=t};wn.prototype.get=function(e,t,n,r){for(var o=this.entries,i=0,a=o.length;i=Mn)return Ee(e,c,i,a);var h=e&&e===this.ownerID,m=h?c:o(c);return f?u?d===p-1?m.pop():m[d]=m.pop():m[d]=[i,a]:m.push([i,a]),h?(this.entries=m,this):new wn(e,m)}};var Cn=function(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n};Cn.prototype.get=function(e,t,n,r){void 0===t&&(t=B(n));var o=1<<((0===e?t:t>>>e)&St),i=this.bitmap;return 0==(i&o)?r:this.nodes[Ie(i&o-1)].get(e+kt,t,n,r)},Cn.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=B(r));var s=(0===t?n:n>>>t)&St,l=1<=Dn)return Te(e,p,u,s,h);if(c&&!h&&2===p.length&&we(p[1^d]))return p[1^d];if(c&&h&&1===p.length&&we(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,y=c?h?Re(p,d,h,m):Fe(p,d,m):Le(p,d,h,m);return m?(this.bitmap=g,this.nodes=y,this):new Cn(e,g,y)};var En=function(e,t,n){this.ownerID=e,this.count=t,this.nodes=n};En.prototype.get=function(e,t,n,r){void 0===t&&(t=B(n));var o=(0===e?t:t>>>e)&St,i=this.nodes[o];return i?i.get(e+kt,t,n,r):r},En.prototype.update=function(e,t,n,r,o,i,a){void 0===n&&(n=B(r));var s=(0===t?n:n>>>t)&St,l=o===Pt,u=this.nodes,c=u[s];if(l&&!c)return this;var d=je(c,e,t+kt,n,r,o,i,a);if(d===c)return this;var p=this.count;if(c){if(!d&&--p0&&o=0&&e0;)t[n]=arguments[n+1];return Ke(this,e,t)},t.prototype.mergeDeep=function(){return Ke(this,Pe,arguments)},t.prototype.mergeDeepWith=function(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return Ke(this,Me(e),t)},t.prototype.setSize=function(e){return Ge(this,0,e)},t.prototype.slice=function(e,t){var n=this.size;return l(e,t,n)?this:Ge(this,u(e,n),c(t,n))},t.prototype.__iterator=function(e,t){var n=t?this.size:0,r=Be(this,t);return new Yt(function(){var o=r();return o===Bn?A():_(e,t?--n:n++,o)})},t.prototype.__iterate=function(e,t){for(var n,r=this,o=t?this.size:0,i=Be(this,t);(n=i())!==Bn&&e(n,t?--o:o++,r)!==!1;);return o},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?ze(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?He():(this.__ownerID=e,this)},t}(zt);In.isList=Ne;var Rn="@@__IMMUTABLE_LIST__@@",Ln=In.prototype;Ln[Rn]=!0,Ln[Et]=Ln.remove,Ln.setIn=jn.setIn,Ln.deleteIn=Ln.removeIn=jn.removeIn,Ln.update=jn.update,Ln.updateIn=jn.updateIn,Ln.mergeIn=jn.mergeIn,Ln.mergeDeepIn=jn.mergeDeepIn,Ln.withMutations=jn.withMutations,Ln.asMutable=jn.asMutable,Ln.asImmutable=jn.asImmutable,Ln.wasAltered=jn.wasAltered;var Fn=function(e,t){this.array=e,this.ownerID=t};Fn.prototype.removeBefore=function(e,t,n){if(n===t?1<>>t&St;if(r>=this.array.length)return new Fn([],e);var o,i=0===r;if(t>0){var a=this.array[r];if((o=a&&a.removeBefore(e,t-kt,n))===a&&i)return this}if(i&&!o)return this;var s=qe(this,e);if(!i)for(var l=0;l>>t&St;if(r>=this.array.length)return this;var o;if(t>0){var i=this.array[r];if((o=i&&i.removeAfter(e,t-kt,n))===i&&r===this.array.length-1)return this}var a=qe(this,e);return a.array.splice(r+1),o&&(a.array[r]=o),a};var Nn,Bn={},zn=function(e){function t(e){return null===e||void 0===e?Ze():Qe(e)?e:Ze().withMutations(function(t){var n=Bt(e);me(n.size),n.forEach(function(e,n){return t.set(n,e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):Ze()},t.prototype.set=function(e,t){return Je(this,e,t)},t.prototype.remove=function(e){return Je(this,e,Pt)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?Xe(t,n,e,this.__hash):0===this.size?Ze():(this.__ownerID=e,this._map=t,this._list=n,this)},t}(An);zn.isOrderedMap=Qe,zn.prototype[Lt]=!0,zn.prototype[Et]=zn.prototype.remove;var Hn,Un=function(e){function t(e){return null===e||void 0===e?tt():$e(e)?e:tt().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var n=this._head;for(e=a(this,e);n&&e--;)n=n.next;return n?n.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,n=this._head,r=arguments.length-1;r>=0;r--)n={value:e[r],next:n};return this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):et(t,n)},t.prototype.pushAll=function(t){if(t=e(t),0===t.size)return this;if(0===this.size&&$e(t))return t;me(t.size);var n=this.size,r=this._head;return t.__iterate(function(e){n++,r={value:e,next:r}},!0),this.__ownerID?(this.size=n,this._head=r,this.__hash=void 0,this.__altered=!0,this):et(n,r)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):tt()},t.prototype.slice=function(t,n){if(l(t,n,this.size))return this;var r=u(t,this.size);if(c(n,this.size)!==this.size)return e.prototype.slice.call(this,t,n);for(var o=this.size-r,i=this._head;r--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):et(o,i)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?et(this.size,this._head,e,this.__hash):0===this.size?tt():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var n=this;if(t)return new en(this.toArray()).__iterate(function(t,r){return e(t,r,n)},t);for(var r=0,o=this._head;o&&e(o.value,r++,n)!==!1;)o=o.next;return r},t.prototype.__iterator=function(e,t){if(t)return new en(this.toArray()).__iterator(e,t);var n=0,r=this._head;return new Yt(function(){if(r){var t=r.value;return r=r.next,_(e,n++,t)}return A()})},t}(zt);Un.isStack=$e;var Wn="@@__IMMUTABLE_STACK__@@",qn=Un.prototype;qn[Wn]=!0,qn.withMutations=jn.withMutations,qn.asMutable=jn.asMutable,qn.asImmutable=jn.asImmutable,qn.wasAltered=jn.wasAltered,qn.shift=qn.pop,qn.unshift=qn.push,qn.unshiftAll=qn.pushAll;var Vn,Gn=function(e){function t(t){return null===t||void 0===t?st():ot(t)&&!y(t)?t:st().withMutations(function(n){var r=e(t);me(r.size),r.forEach(function(e){return n.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(Bt(e).keySeq())},t.intersect=function(e){return e=Nt(e).toArray(),e.length?Yn.intersect.apply(t(e.pop()),e):st()},t.union=function(e){return e=Nt(e).toArray(),e.length?Yn.union.apply(t(e.pop()),e):st()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return it(this,this._map.set(e,!0))},t.prototype.remove=function(e){return it(this,this._map.remove(e))},t.prototype.clear=function(){return it(this,this._map.clear())},t.prototype.union=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return t=t.filter(function(e){return 0!==e.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(n){for(var r=0;r0;)t[n]=arguments[n+1];return this.union.apply(this,t)},t.prototype.sort=function(e){return tr(re(this,e))},t.prototype.sortBy=function(e,t){return tr(re(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var n=this;return this._map.__iterate(function(t,r){return e(r,r,n)},t)},t.prototype.__iterator=function(e,t){return this._map.map(function(e,t){return t}).__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?st():(this.__ownerID=e,this._map=t,this)},t}(Ht);Gn.isSet=ot;var Kn="@@__IMMUTABLE_SET__@@",Yn=Gn.prototype;Yn[Kn]=!0,Yn[Et]=Yn.remove,Yn.mergeDeep=Yn.merge,Yn.mergeDeepWith=Yn.mergeWith,Yn.withMutations=jn.withMutations,Yn.asMutable=jn.asMutable,Yn.asImmutable=jn.asImmutable,Yn.__empty=st,Yn.__make=at;var Qn,Xn,Zn=function(e){function t(e,n,r){if(!(this instanceof t))return new t(e,n,r);if(he(0!==r,"Cannot step a Range by 0"),e=e||0,void 0===n&&(n=1/0),r=void 0===r?1:Math.abs(r),n=0&&t=0&&nthis.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=a(this,e))>=0&&(void 0!==this.size?this.size===1/0||e8&&j<=11),E=32,k=String.fromCharCode(E),T=f.topLevelTypes,S={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[T.topCompositionEnd,T.topKeyPress,T.topTextInput,T.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[T.topBlur,T.topCompositionEnd,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[T.topBlur,T.topCompositionStart,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[T.topBlur,T.topCompositionUpdate,T.topKeyDown,T.topKeyPress,T.topKeyUp,T.topMouseDown]}},P=!1,M=null,D={eventTypes:S,extractEvents:function(e,t,n,r,o){return[u(e,t,n,r,o),p(e,t,n,r,o)]}};e.exports=D},"./node_modules/jsx-to-string/node_modules/react/lib/CSSProperty.js":function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){i.forEach(function(t){o[r(t,e)]=o[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:a};e.exports=s},"./node_modules/jsx-to-string/node_modules/react/lib/CSSPropertyOperations.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/CSSProperty.js"),o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPerf.js"),a=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/camelizeStyleName.js"),n("./node_modules/jsx-to-string/node_modules/react/lib/dangerousStyleValue.js")),s=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/hyphenateStyleName.js"),l=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/memoizeStringOnly.js"),u=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js"),l(function(e){return s(e)})),c=!1,d="cssFloat";if(o.canUseDOM){var p=document.createElement("div").style;try{p.font=""}catch(e){c=!0}void 0===document.documentElement.style.cssFloat&&(d="styleFloat")}var f={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=u(n)+":",t+=a(n,r)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var o in t)if(t.hasOwnProperty(o)){var i=a(o,t[o]);if("float"===o&&(o=d),i)n[o]=i;else{var s=c&&r.shorthandPropertyExpansions[o];if(s)for(var l in s)n[l]="";else n[o]=""}}}};i.measureMethods(f,"CSSPropertyOperations",{setValueForStyles:"setValueForStyles"}),e.exports=f},"./node_modules/jsx-to-string/node_modules/react/lib/CallbackQueue.js":function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/PooledClass.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),a=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js");i(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){e.length!==t.length&&a(!1),this._callbacks=null,this._contexts=null;for(var n=0;n8));var R=!1;A.canUseDOM&&(R=C("input")&&(!("documentMode"in document)||document.documentMode>9));var L={get:function(){return O.get.call(this)},set:function(e){D=""+e,O.set.call(this,e)}},F={eventTypes:S,extractEvents:function(e,t,n,o,i){var a,s;if(r(t)?I?a=l:s=u:E(t)?R?a=f:(a=m,s=h):g(t)&&(a=y),a){var c=a(e,t,n);if(c){var d=j.getPooled(S.change,c,o,i);return d.type="change",_.accumulateTwoPhaseDispatches(d),d}}s&&s(e,t,n)}};e.exports=F},"./node_modules/jsx-to-string/node_modules/react/lib/ClientReactRootIndex.js":function(e,t,n){"use strict";var r=0,o={createReactRootIndex:function(){return r++}};e.exports=o},"./node_modules/jsx-to-string/node_modules/react/lib/DOMChildrenOperations.js":function(e,t,n){"use strict";function r(e,t,n){var r=n>=e.childNodes.length?null:e.childNodes.item(n);e.insertBefore(t,r)}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/Danger.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMultiChildUpdateTypes.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPerf.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/setInnerHTML.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/setTextContent.js"),u=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),c={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,updateTextContent:l,processUpdates:function(e,t){for(var n,a=null,c=null,d=0;d]+)/,c="data-danger-index",d={dangerouslyRenderMarkup:function(e){o.canUseDOM||l(!1);for(var t,n={},d=0;d-1||a(!1),!u.plugins[n]){t.extractEvents||a(!1),u.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)||a(!1)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&a(!1),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){u.registrationNameModules[e]&&a(!1),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),s=null,l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){s&&a(!1),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]&&a(!1),l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=u.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},"./node_modules/jsx-to-string/node_modules/react/lib/EventPluginUtils.js":function(e,t,n){"use strict";function r(e){return e===g.topMouseUp||e===g.topTouchEnd||e===g.topTouchCancel}function o(e){return e===g.topMouseMove||e===g.topTouchMove}function i(e){return e===g.topMouseDown||e===g.topTouchStart}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=m.Mount.getNode(r),t?f.invokeGuardedCallbackWithCatch(o,n,e,r):f.invokeGuardedCallback(o,n,e,r),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var o=0;o1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),o.addPoolingTo(r),e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/HTMLDOMPropertyConfig.js":function(e,t,n){"use strict";var r,o=n("./node_modules/jsx-to-string/node_modules/react/lib/DOMProperty.js"),i=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),a=o.injection.MUST_USE_ATTRIBUTE,s=o.injection.MUST_USE_PROPERTY,l=o.injection.HAS_BOOLEAN_VALUE,u=o.injection.HAS_SIDE_EFFECTS,c=o.injection.HAS_NUMERIC_VALUE,d=o.injection.HAS_POSITIVE_NUMERIC_VALUE,p=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(i.canUseDOM){var f=document.implementation;r=f&&f.hasFeature&&f.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var h={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:a|l,allowTransparency:a,alt:null,async:l,autoComplete:null,autoPlay:l,capture:a|l,cellPadding:null,cellSpacing:null,charSet:a,challenge:a,checked:s|l,classID:a,className:r?a:s,cols:a|d,colSpan:null,content:null,contentEditable:null,contextMenu:a,controls:s|l,coords:null,crossOrigin:null,data:null,dateTime:a,default:l,defer:l,dir:null,disabled:a|l,download:p,draggable:null,encType:null,form:a,formAction:a,formEncType:a,formMethod:a,formNoValidate:l,formTarget:a,frameBorder:a,headers:null,height:a,hidden:a|l,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:s,inputMode:a,integrity:null,is:a,keyParams:a,keyType:a,kind:null,label:null,lang:null,list:a,loop:s|l,low:null,manifest:a,marginHeight:null,marginWidth:null,max:null,maxLength:a,media:a,mediaGroup:null,method:null,min:null,minLength:a,multiple:s|l,muted:s|l,name:null,nonce:a,noValidate:l,open:l,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:s|l,rel:null,required:l,reversed:l,role:a,rows:a|d,rowSpan:null,sandbox:null,scope:null,scoped:l,scrolling:null,seamless:a|l,selected:s|l,shape:null,size:a|d,sizes:a,span:d,spellCheck:null,src:null,srcDoc:s,srcLang:null,srcSet:a,start:c,step:null,style:null,summary:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:s|u,width:a,wmode:a,wrap:null,about:a,datatype:a,inlist:a,prefix:a,property:a,resource:a,typeof:a,vocab:a,autoCapitalize:a,autoCorrect:a,autoSave:null,color:null,itemProp:a,itemScope:a|l,itemType:a,itemID:a,itemRef:a,results:null,security:a,unselectable:a},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoComplete:"autocomplete",autoFocus:"autofocus",autoPlay:"autoplay",autoSave:"autosave",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};e.exports=h},"./node_modules/jsx-to-string/node_modules/react/lib/LinkedValueUtils.js":function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink&&u(!1)}function o(e){r(e),(null!=e.value||null!=e.onChange)&&u(!1)}function i(e){r(e),(null!=e.checked||null!=e.onChange)&&u(!1)}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPropTypes.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPropTypeLocations.js"),u=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),c=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js"),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||c[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:s.func},p={},f={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var o=d[r](t,r,e,l.prop);if(o instanceof Error&&!(o.message in p)){p[o.message]=!0;a(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=f},"./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js":function(e,t,n){"use strict";function r(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,o=1;o=0||null!=t.is}function g(e){h(e),this._tag=e.toLowerCase(),this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._rootNodeID=null,this._wrapperState=null,this._topLevelWrapper=null,this._nodeWithLegacyProperties=null}var y=n("./node_modules/jsx-to-string/node_modules/react/lib/AutoFocusUtils.js"),v=n("./node_modules/jsx-to-string/node_modules/react/lib/CSSPropertyOperations.js"),b=n("./node_modules/jsx-to-string/node_modules/react/lib/DOMProperty.js"),_=n("./node_modules/jsx-to-string/node_modules/react/lib/DOMPropertyOperations.js"),A=n("./node_modules/jsx-to-string/node_modules/react/lib/EventConstants.js"),x=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactBrowserEventEmitter.js"),j=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactComponentBrowserEnvironment.js"),w=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMButton.js"),C=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMInput.js"),E=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMOption.js"),k=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMSelect.js"),T=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMTextarea.js"),S=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMount.js"),P=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMultiChild.js"),M=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPerf.js"),D=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdateQueue.js"),O=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),I=n("./node_modules/jsx-to-string/node_modules/react/lib/canDefineProperty.js"),R=n("./node_modules/jsx-to-string/node_modules/react/lib/escapeTextContentForBrowser.js"),L=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),F=(n("./node_modules/jsx-to-string/node_modules/react/lib/isEventSupported.js"),n("./node_modules/jsx-to-string/node_modules/fbjs/lib/keyOf.js")),N=n("./node_modules/jsx-to-string/node_modules/react/lib/setInnerHTML.js"),B=n("./node_modules/jsx-to-string/node_modules/react/lib/setTextContent.js"),z=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/shallowEqual.js"),n("./node_modules/jsx-to-string/node_modules/react/lib/validateDOMNesting.js"),n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js"),x.deleteListener),H=x.listenTo,U=x.registrationNameModules,W={string:!0,number:!0},q=F({children:null}),V=F({style:null}),G=F({__html:null}),K=1,Y={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Q={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},Z=(O({menuitem:!0},Q),/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/),J={},$={}.hasOwnProperty;g.displayName="ReactDOMComponent",g.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e;var r=this._currentElement.props;switch(this._tag){case"iframe":case"img":case"form":case"video":case"audio":this._wrapperState={listeners:null},t.getReactMountReady().enqueue(d,this);break;case"button":r=w.getNativeProps(this,r,n);break;case"input":C.mountWrapper(this,r,n),r=C.getNativeProps(this,r,n);break;case"option":E.mountWrapper(this,r,n),r=E.getNativeProps(this,r,n);break;case"select":k.mountWrapper(this,r,n),r=k.getNativeProps(this,r,n),n=k.processChildContext(this,r,n);break;case"textarea":T.mountWrapper(this,r,n),r=T.getNativeProps(this,r,n)}l(this,r);var o;if(t.useCreateElement){var i=n[S.ownerDocumentContextKey],a=i.createElement(this._currentElement.type);_.setAttributeForID(a,this._rootNodeID),S.getID(a),this._updateDOMProperties({},r,t,a),this._createInitialChildren(t,r,n,a),o=a}else{var s=this._createOpenTagMarkupAndPutListeners(t,r),u=this._createContentMarkup(t,r,n);o=!u&&Q[this._tag]?s+"/>":s+">"+u+""}switch(this._tag){case"input":t.getReactMountReady().enqueue(p,this);case"button":case"select":case"textarea":r.autoFocus&&t.getReactMountReady().enqueue(y.focusDOMComponent,this)}return o},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(U.hasOwnProperty(r))o&&u(this._rootNodeID,r,o,e);else{r===V&&(o&&(o=this._previousStyleCopy=O({},t.style)),o=v.createMarkupForStyles(o));var i=null;null!=this._tag&&m(this._tag,t)?r!==q&&(i=_.createMarkupForCustomAttribute(r,o)):i=_.createMarkupForProperty(r,o),i&&(n+=" "+i)}}return e.renderToStaticMarkup?n:n+" "+_.createMarkupForID(this._rootNodeID)},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=W[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=R(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&N(r,o.__html);else{var i=W[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)B(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),l=0;lt.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=u(e,o),l=u(e,i);if(s&&l){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(d),n.extend(l.node,l.offset)):(d.setEnd(l.node,l.offset),n.addRange(d))}}}var l=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),u=n("./node_modules/jsx-to-string/node_modules/react/lib/getNodeForCharacterOffset.js"),c=n("./node_modules/jsx-to-string/node_modules/react/lib/getTextContentAccessor.js"),d=l.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:d?o:i,setOffsets:d?a:s};e.exports=p},"./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMServer.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDefaultInjection.js"),o=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactServerRendering.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactVersion.js");r.inject();var a={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:i};e.exports=a},"./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMTextComponent.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/DOMChildrenOperations.js"),o=n("./node_modules/jsx-to-string/node_modules/react/lib/DOMPropertyOperations.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactComponentBrowserEnvironment.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMount.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/escapeTextContentForBrowser.js"),u=n("./node_modules/jsx-to-string/node_modules/react/lib/setTextContent.js"),c=(n("./node_modules/jsx-to-string/node_modules/react/lib/validateDOMNesting.js"),function(e){});s(c.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){if(this._rootNodeID=e,t.useCreateElement){var r=n[a.ownerDocumentContextKey],i=r.createElement("span");return o.setAttributeForID(i,e),a.getID(i),u(i,this._stringText),i}var s=l(this._stringText);return t.renderToStaticMarkup?s:""+s+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var o=a.getNode(this._rootNodeID);r.updateTextContent(o,n)}}},unmountComponent:function(){i.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=c},"./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMTextarea.js":function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=i.executeOnChange(t,e);return s.asap(r,this),n}var i=n("./node_modules/jsx-to-string/node_modules/react/lib/LinkedValueUtils.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMIDOperations.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdates.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),u=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),c=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js"),{getNativeProps:function(e,t,n){return null!=t.dangerouslySetInnerHTML&&u(!1),l({},t,{defaultValue:void 0,value:void 0,children:e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=t.defaultValue,r=t.children;null!=r&&(null!=n&&u(!1),Array.isArray(r)&&(r.length<=1||u(!1),r=r[0]),n=""+r),null==n&&(n="");var a=i.getValue(t);e._wrapperState={initialValue:""+(null!=a?a:n),onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=i.getValue(t);null!=n&&a.updatePropertyByID(e._rootNodeID,"value",""+n)}});e.exports=c},"./node_modules/jsx-to-string/node_modules/react/lib/ReactDefaultBatchingStrategy.js":function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdates.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/Transaction.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),s=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyFunction.js"),l={initialize:s,close:function(){p.isBatchingUpdates=!1}},u={initialize:s,close:o.flushBatchedUpdates.bind(o)},c=[u,l];a(r.prototype,i.Mixin,{getTransactionWrappers:function(){return c}});var d=new r,p={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,i){var a=p.isBatchingUpdates;p.isBatchingUpdates=!0,a?e(t,n,r,o,i):d.perform(e,null,t,n,r,o,i)}};e.exports=p},"./node_modules/jsx-to-string/node_modules/react/lib/ReactDefaultInjection.js":function(e,t,n){"use strict";function r(){if(!C){C=!0,y.EventEmitter.injectReactEventListener(g),y.EventPluginHub.injectEventPluginOrder(s),y.EventPluginHub.injectInstanceHandle(v),y.EventPluginHub.injectMount(b),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:j,EnterLeaveEventPlugin:l,ChangeEventPlugin:i,SelectEventPlugin:A,BeforeInputEventPlugin:o}),y.NativeComponent.injectGenericComponentClass(h),y.NativeComponent.injectTextComponentClass(m),y.Class.injectMixin(d),y.DOMProperty.injectDOMPropertyConfig(c),y.DOMProperty.injectDOMPropertyConfig(w),y.EmptyComponent.injectEmptyComponent("noscript"),y.Updates.injectReconcileTransaction(_),y.Updates.injectBatchingStrategy(f),y.RootIndex.injectCreateReactRootIndex(u.canUseDOM?a.createReactRootIndex:x.createReactRootIndex),y.Component.injectEnvironment(p)}}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/BeforeInputEventPlugin.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ChangeEventPlugin.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ClientReactRootIndex.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/DefaultEventPluginOrder.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/EnterLeaveEventPlugin.js"),u=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),c=n("./node_modules/jsx-to-string/node_modules/react/lib/HTMLDOMPropertyConfig.js"),d=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactBrowserComponentMixin.js"),p=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactComponentBrowserEnvironment.js"),f=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDefaultBatchingStrategy.js"),h=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMComponent.js"),m=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMTextComponent.js"),g=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactEventListener.js"),y=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactInjection.js"),v=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactInstanceHandles.js"),b=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMount.js"),_=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactReconcileTransaction.js"),A=n("./node_modules/jsx-to-string/node_modules/react/lib/SelectEventPlugin.js"),x=n("./node_modules/jsx-to-string/node_modules/react/lib/ServerReactRootIndex.js"),j=n("./node_modules/jsx-to-string/node_modules/react/lib/SimpleEventPlugin.js"),w=n("./node_modules/jsx-to-string/node_modules/react/lib/SVGDOMPropertyConfig.js"),C=!1;e.exports={inject:r}},"./node_modules/jsx-to-string/node_modules/react/lib/ReactElement.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactCurrentOwner.js"),o=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),i=(n("./node_modules/jsx-to-string/node_modules/react/lib/canDefineProperty.js"),"function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103),a={key:!0,ref:!0,__self:!0,__source:!0},s=function(e,t,n,r,o,a,s){var l={$$typeof:i,type:e,key:t,ref:n,props:s,_owner:a};return l};s.createElement=function(e,t,n){var o,i={},l=null,u=null,c=null,d=null;if(null!=t){u=void 0===t.ref?null:t.ref,l=void 0===t.key?null:""+t.key,c=void 0===t.__self?null:t.__self,d=void 0===t.__source?null:t.__source;for(o in t)t.hasOwnProperty(o)&&!a.hasOwnProperty(o)&&(i[o]=t[o])}var p=arguments.length-2;if(1===p)i.children=n;else if(p>1){for(var f=Array(p),h=0;h1){for(var m=Array(h),g=0;g.")}var a=h[e]||(h[e]={});if(a[o])return null;a[o]=!0;var s={parentOrOwner:o,url:" See https://fb.me/react-warning-keys for more information.",childOwner:null};return t&&t._owner&&t._owner!==d.current&&(s.childOwner=" It was passed a child from "+t._owner.getName()+"."),s}function a(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n1){var t=e.indexOf(f,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,o){var i=u(e,t);i!==e&&c(e,i,n,r,!1,!0),i!==t&&c(i,t,n,o,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseTwoPhaseSkipTarget:function(e,t,n){e&&(c("",e,t,n,!0,!0),c(e,"",t,n,!0,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},getFirstCommonAncestorID:u,_getNextDescendantID:l,isAncestorIDOf:a,SEPARATOR:f};e.exports=g},"./node_modules/jsx-to-string/node_modules/react/lib/ReactInstanceMap.js":function(e,t,n){"use strict";var r={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/ReactIsomorphic.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactChildren.js"),o=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactComponent.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactClass.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMFactories.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactElement.js"),l=(n("./node_modules/jsx-to-string/node_modules/react/lib/ReactElementValidator.js"),n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPropTypes.js")),u=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactVersion.js"),c=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),d=n("./node_modules/jsx-to-string/node_modules/react/lib/onlyChild.js"),p=s.createElement,f=s.createFactory,h=s.cloneElement,m={Children:{map:r.map,forEach:r.forEach,count:r.count,toArray:r.toArray,only:d},Component:o,createElement:p,cloneElement:h,isValidElement:s.isValidElement,PropTypes:l,createClass:i.createClass,createFactory:f,createMixin:function(e){return e},DOM:a,version:u,__spread:c};e.exports=m},"./node_modules/jsx-to-string/node_modules/react/lib/ReactMarkupChecksum.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/adler32.js"),o=/\/?>/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(o," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=i},"./node_modules/jsx-to-string/node_modules/react/lib/ReactMount.js":function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r>"}var v=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactElement.js"),b=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactPropTypeLocationNames.js"),_=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyFunction.js"),A=n("./node_modules/jsx-to-string/node_modules/react/lib/getIteratorFn.js"),x="<>",j={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:i(),arrayOf:a,element:s(),instanceOf:l,node:p(),objectOf:c,oneOf:u,oneOfType:d,shape:f};e.exports=j},"./node_modules/jsx-to-string/node_modules/react/lib/ReactReconcileTransaction.js":function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=o.getPooled(null),this.useCreateElement=!e&&s.useCreateElement}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/CallbackQueue.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/PooledClass.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactBrowserEventEmitter.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDOMFeatureFlags.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactInputSelection.js"),u=n("./node_modules/jsx-to-string/node_modules/react/lib/Transaction.js"),c=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),d={initialize:l.getSelectionInformation,close:l.restoreSelection},p={initialize:function(){var e=a.isEnabled();return a.setEnabled(!1),e},close:function(e){a.setEnabled(e)}},f={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[d,p,f],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null}};c(r.prototype,u.Mixin,m),i.addPoolingTo(r),e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/ReactReconciler.js":function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactRef.js"),i={mountComponent:function(e,t,n,o){var i=e.mountComponent(t,n,o);return e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e),i},unmountComponent:function(e){o.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}};e.exports=i},"./node_modules/jsx-to-string/node_modules/react/lib/ReactRef.js":function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactOwner.js"),a={};a.attachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null===e||e===!1,r=null===t||t===!1;return n||r||t._owner!==e._owner||t.ref!==e.ref},a.detachRefs=function(e,t){if(null!==t&&t!==!1){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},"./node_modules/jsx-to-string/node_modules/react/lib/ReactRootIndex.js":function(e,t,n){"use strict";var r={injectCreateReactRootIndex:function(e){o.createReactRootIndex=e}},o={createReactRootIndex:null,injection:r};e.exports=o},"./node_modules/jsx-to-string/node_modules/react/lib/ReactServerBatchingStrategy.js":function(e,t,n){"use strict";var r={isBatchingUpdates:!1,batchedUpdates:function(e){}};e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/ReactServerRendering.js":function(e,t,n){"use strict";function r(e){a.isValidElement(e)||h(!1);var t;try{d.injection.injectBatchingStrategy(u);var n=s.createReactRootID();return t=c.getPooled(!1),t.perform(function(){var r=f(e,null),o=r.mountComponent(n,t,p);return l.addChecksumToMarkup(o)},null)}finally{c.release(t),d.injection.injectBatchingStrategy(i)}}function o(e){a.isValidElement(e)||h(!1);var t;try{d.injection.injectBatchingStrategy(u);var n=s.createReactRootID();return t=c.getPooled(!0),t.perform(function(){return f(e,null).mountComponent(n,t,p)},null)}finally{c.release(t),d.injection.injectBatchingStrategy(i)}}var i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactDefaultBatchingStrategy.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactElement.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactInstanceHandles.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMarkupChecksum.js"),u=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactServerBatchingStrategy.js"),c=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactServerRenderingTransaction.js"),d=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdates.js"),p=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyObject.js"),f=n("./node_modules/jsx-to-string/node_modules/react/lib/instantiateReactComponent.js"),h=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js");e.exports={renderToString:r,renderToStaticMarkup:o}},"./node_modules/jsx-to-string/node_modules/react/lib/ReactServerRenderingTransaction.js":function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=i.getPooled(null),this.useCreateElement=!1}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/PooledClass.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/CallbackQueue.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/Transaction.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),l=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/emptyFunction.js"),u={initialize:function(){this.reactMountReady.reset()},close:l},c=[u],d={getTransactionWrappers:function(){return c},getReactMountReady:function(){return this.reactMountReady},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};s(r.prototype,a.Mixin,d),o.addPoolingTo(r),e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdateQueue.js":function(e,t,n){"use strict";function r(e){s.enqueueUpdate(e)}function o(e,t){var n=a.get(e);return n?n:null}var i=(n("./node_modules/jsx-to-string/node_modules/react/lib/ReactCurrentOwner.js"),n("./node_modules/jsx-to-string/node_modules/react/lib/ReactElement.js")),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactInstanceMap.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdates.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),u=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),c=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js"),{isMounted:function(e){var t=a.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t){"function"!=typeof t&&u(!1);var n=o(e);if(!n)return null;n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],r(n)},enqueueCallbackInternal:function(e,t){"function"!=typeof t&&u(!1),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=o(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueSetProps:function(e,t){var n=o(e,"setProps");n&&c.enqueueSetPropsInternal(n,t)},enqueueSetPropsInternal:function(e,t){var n=e._topLevelWrapper;n||u(!1);var o=n._pendingElement||n._currentElement,a=o.props,s=l({},a.props,t);n._pendingElement=i.cloneAndReplaceProps(o,i.cloneAndReplaceProps(a,s)),r(n)},enqueueReplaceProps:function(e,t){var n=o(e,"replaceProps");n&&c.enqueueReplacePropsInternal(n,t)},enqueueReplacePropsInternal:function(e,t){var n=e._topLevelWrapper;n||u(!1);var o=n._pendingElement||n._currentElement,a=o.props;n._pendingElement=i.cloneAndReplaceProps(o,i.cloneAndReplaceProps(a,t)),r(n)},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}});e.exports=c},"./node_modules/jsx-to-string/node_modules/react/lib/ReactUpdates.js":function(e,t,n){"use strict";function r(){E.ReactReconcileTransaction&&_||g(!1)}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=E.ReactReconcileTransaction.getPooled(!1)}function i(e,t,n,o,i,a){r(),_.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==y.length&&g(!1),y.sort(a);for(var n=0;n":">","<":"<",'"':""","'":"'"},a=/[&><"']/g;e.exports=o},"./node_modules/jsx-to-string/node_modules/react/lib/findDOMNode.js":function(e,t,n){"use strict";function r(e){return null==e?null:1===e.nodeType?e:o.has(e)?i.getNodeFromInstance(e):(null!=e.render&&"function"==typeof e.render&&a(!1),void a(!1))}var o=(n("./node_modules/jsx-to-string/node_modules/react/lib/ReactCurrentOwner.js"),n("./node_modules/jsx-to-string/node_modules/react/lib/ReactInstanceMap.js")),i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMount.js"),a=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js");n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js");e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/flattenChildren.js":function(e,t,n){"use strict";function r(e,t,n){var r=e,o=void 0===r[n];o&&null!=t&&(r[n]=t)}function o(e){if(null==e)return e;var t={};return i(e,r,t),t}var i=n("./node_modules/jsx-to-string/node_modules/react/lib/traverseAllChildren.js");n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js");e.exports=o},"./node_modules/jsx-to-string/node_modules/react/lib/forEachAccumulated.js":function(e,t,n){"use strict";var r=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/getEventCharCode.js":function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/getEventKey.js":function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/getEventCharCode.js"),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/getEventModifierState.js":function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return!!r&&!!n[r]}function o(e){return r}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=o},"./node_modules/jsx-to-string/node_modules/react/lib/getEventTarget.js":function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return 3===t.nodeType?t.parentNode:t}e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/getIteratorFn.js":function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/getNodeForCharacterOffset.js":function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},"./node_modules/jsx-to-string/node_modules/react/lib/getTextContentAccessor.js":function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),i=null;e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/instantiateReactComponent.js":function(e,t,n){"use strict";function r(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function o(e){var t;if(null===e||e===!1)t=new a(o);else if("object"==typeof e){var n=e;(!n||"function"!=typeof n.type&&"string"!=typeof n.type)&&u(!1),t="string"==typeof n.type?s.createInternalComponent(n):r(n.type)?new n.type(n):new c}else"string"==typeof e||"number"==typeof e?t=s.createInstanceForText(e):u(!1);return t.construct(e),t._mountIndex=0,t._mountImage=null,t}var i=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactCompositeComponent.js"),a=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactEmptyComponent.js"),s=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactNativeComponent.js"),l=n("./node_modules/jsx-to-string/node_modules/react/lib/Object.assign.js"),u=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js"),c=(n("./node_modules/jsx-to-string/node_modules/fbjs/lib/warning.js"),function(){});l(c.prototype,i.Mixin,{_instantiateReactComponent:o}),e.exports=o},"./node_modules/jsx-to-string/node_modules/react/lib/isEventSupported.js":function(e,t,n){"use strict";function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js");i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/isTextInputElement.js":function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&o[e.type]||"textarea"===t)}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/onlyChild.js":function(e,t,n){"use strict";function r(e){return o.isValidElement(e)||i(!1),e}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactElement.js"),i=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/invariant.js");e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/quoteAttributeValueForBrowser.js":function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n("./node_modules/jsx-to-string/node_modules/react/lib/escapeTextContentForBrowser.js");e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/renderSubtreeIntoContainer.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/react/lib/ReactMount.js");e.exports=r.renderSubtreeIntoContainer},"./node_modules/jsx-to-string/node_modules/react/lib/setInnerHTML.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),o=/^[ \r\n\t\f]/,i=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,a=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(a=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var s=document.createElement("div");s.innerHTML=" ",""===s.innerHTML&&(a=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),o.test(t)||"<"===t[0]&&i.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=a},"./node_modules/jsx-to-string/node_modules/react/lib/setTextContent.js":function(e,t,n){"use strict";var r=n("./node_modules/jsx-to-string/node_modules/fbjs/lib/ExecutionEnvironment.js"),o=n("./node_modules/jsx-to-string/node_modules/react/lib/escapeTextContentForBrowser.js"),i=n("./node_modules/jsx-to-string/node_modules/react/lib/setInnerHTML.js"),a=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){i(e,o(t))})),e.exports=a},"./node_modules/jsx-to-string/node_modules/react/lib/shouldUpdateReactComponent.js":function(e,t,n){"use strict";function r(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=r},"./node_modules/jsx-to-string/node_modules/react/lib/traverseAllChildren.js":function(e,t,n){"use strict";function r(e){return m[e]}function o(e,t){return e&&null!=e.key?a(e.key):t.toString(36)}function i(e){return(""+e).replace(g,r)}function a(e){return"$"+i(e)}function s(e,t,n,r){var i=typeof e;if("undefined"!==i&&"boolean"!==i||(e=null),null===e||"string"===i||"number"===i||u.isValidElement(e))return n(r,e,""===t?f+o(e,0):t),1;var l,c,m=0,g=""===t?f:t+h;if(Array.isArray(e))for(var y=0;y0},_countLoaders:function(){var e,t=0;for(e in this._dataLoaders)this._dataLoaders.hasOwnProperty(e)&&t++;return t},_showIndicator:function(){e.DomUtil.addClass(this._indicator,"is-loading"),this.options.separate||(this.zoomControl instanceof e.Control.Zoom?e.DomUtil.removeClass(this._getLastControlButton(),"leaflet-bar-part-bottom"):"function"==typeof e.Control.Zoomslider&&this.zoomControl instanceof e.Control.Zoomslider&&e.DomUtil.removeClass(this.zoomControl._ui.zoomOut,"leaflet-bar-part-bottom"))},_hideIndicator:function(){e.DomUtil.removeClass(this._indicator,"is-loading"),this.options.separate||(this.zoomControl instanceof e.Control.Zoom?e.DomUtil.addClass(this._getLastControlButton(),"leaflet-bar-part-bottom"):"function"==typeof e.Control.Zoomslider&&this.zoomControl instanceof e.Control.Zoomslider&&e.DomUtil.addClass(this.zoomControl._ui.zoomOut,"leaflet-bar-part-bottom"))},_getLastControlButton:function(){for(var e=this.zoomControl._container,t=e.children.length-1;t>0;){var n=e.children[t];if(this._indicator!==n&&0!==n.offsetWidth&&0!==n.offsetHeight)break;t--}return e.children[t]},_handleLoading:function(e){this.addLoader(this.getEventId(e))},_handleLoad:function(e){this.removeLoader(this.getEventId(e))},getEventId:function(e){return e.id?e.id:e.layer?e.layer._leaflet_id:e.target._leaflet_id},_layerAdd:function(e){if(e.layer&&e.layer.on){try{e.layer.on({loading:this._handleLoading,load:this._handleLoad},this)}catch(t){a.warn("L.Control.Loading: Tried and failed to add event handlers to layer",e.layer),a.warn("L.Control.Loading: Full details",t)}e.layer._loading&&this._handleLoading({type:"loading",target:e.layer})}},_layerRemove:function(e){if(e.layer&&e.layer.off)try{e.layer.off({loading:this._handleLoading,load:this._handleLoad},this)}catch(t){a.warn("L.Control.Loading: Tried and failed to remove event handlers from layer",e.layer),a.warn("L.Control.Loading: Full details",t)}},_addLayerListeners:function(e){e.eachLayer(function(e){e.on&&e.on({loading:this._handleLoading,load:this._handleLoad},this)},this),e.on("layeradd",this._layerAdd,this),e.on("layerremove",this._layerRemove,this)},_removeLayerListeners:function(e){e.eachLayer(function(e){e.off&&e.off({loading:this._handleLoading,load:this._handleLoad},this)},this),e.off("layeradd",this._layerAdd,this),e.off("layerremove",this._layerRemove,this)},_addMapListeners:function(e){e.on({baselayerchange:this._handleLoading,dataloading:this._handleLoading,dataload:this._handleLoad,layerremove:this._handleLoad},this)},_removeMapListeners:function(e){e.off({baselayerchange:this._handleLoading,dataloading:this._handleLoading,dataload:this._handleLoad,layerremove:this._handleLoad},this)}}),e.Map.addInitHook(function(){this.options.loadingControl&&(this.loadingControl=new e.Control.Loading,this.addControl(this.loadingControl))}),e.Control.loading=function(t){return new e.Control.Loading(t)}}var a=window.console||{error:function(){},warn:function(){}};r=[n("./node_modules/leaflet/dist/leaflet-src.js")],void 0!==(o=function(e){i(e)}.apply(t,r))&&(e.exports=o)}()},"./node_modules/leaflet-providers/leaflet-providers.js":function(e,t,n){var r,o,i;!function(a,s){o=[n("./node_modules/leaflet/dist/leaflet-src.js")],r=s,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e){"use strict";return e.TileLayer.Provider=e.TileLayer.extend({initialize:function(t,n){var r=e.TileLayer.Provider.providers,o=t.split("."),i=o[0],a=o[1];if(!r[i])throw"No such provider ("+i+")";var s={url:r[i].url,options:r[i].options};if(a&&"variants"in r[i]){if(!(a in r[i].variants))throw"No such variant of "+i+" ("+a+")";var l,u=r[i].variants[a];l="string"==typeof u?{variant:u}:u.options,s={url:u.url||s.url,options:e.Util.extend({},s.options,l)}}var c="file:"===window.location.protocol||s.options.forceHTTP;0===s.url.indexOf("//")&&c&&(s.url="http:"+s.url),s.options.retina&&(n.detectRetina&&e.Browser.retina?n.detectRetina=!1:s.options.retina="");var d=function(e){return e.indexOf("{attribution.")===-1?e:e.replace(/\{attribution.(\w*)\}/,function(e,t){return d(r[t].options.attribution)})};s.options.attribution=d(s.options.attribution);var p=e.Util.extend({},s.options,n);e.TileLayer.prototype.initialize.call(this,s.url,p)}}),e.TileLayer.Provider.providers={OpenStreetMap:{url:"//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'© OpenStreetMap'},variants:{Mapnik:{},BlackAndWhite:{url:"http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png",options:{maxZoom:18}},DE:{url:"http://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png",options:{maxZoom:18}},France:{url:"//{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png",options:{maxZoom:20,attribution:"© Openstreetmap France | {attribution.OpenStreetMap}"}},HOT:{url:"//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",options:{attribution:'{attribution.OpenStreetMap}, Tiles courtesy of Humanitarian OpenStreetMap Team'}}}},OpenSeaMap:{url:"http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png",options:{attribution:'Map data: © OpenSeaMap contributors'}},OpenTopoMap:{url:"//{s}.tile.opentopomap.org/{z}/{x}/{y}.png",options:{maxZoom:17,attribution:'Map data: {attribution.OpenStreetMap}, SRTM | Map style: © OpenTopoMap (CC-BY-SA)'}},Thunderforest:{url:"//{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}.png?apikey={apikey}",options:{attribution:'© Thunderforest, {attribution.OpenStreetMap}',variant:"cycle"},variants:{OpenCycleMap:"cycle",Transport:{options:{variant:"transport",maxZoom:19}},TransportDark:{options:{variant:"transport-dark",maxZoom:19}},SpinalMap:{options:{variant:"spinal-map",maxZoom:11}},Landscape:"landscape",Outdoors:"outdoors",Pioneer:"pioneer"}},OpenMapSurfer:{url:"http://korona.geog.uni-heidelberg.de/tiles/{variant}/x={x}&y={y}&z={z}",options:{maxZoom:20,variant:"roads",attribution:'Imagery from GIScience Research Group @ University of Heidelberg — Map data {attribution.OpenStreetMap}'},variants:{Roads:"roads",AdminBounds:{options:{variant:"adminb",maxZoom:19}},Grayscale:{options:{variant:"roadsg",maxZoom:19}}}},Hydda:{url:"//{s}.tile.openstreetmap.se/hydda/{variant}/{z}/{x}/{y}.png",options:{variant:"full",attribution:'Tiles courtesy of OpenStreetMap Sweden — Map data {attribution.OpenStreetMap}'},variants:{Full:"full",Base:"base",RoadsAndLabels:"roads_and_labels"}},MapBox:{url:"//api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}",options:{attribution:'Imagery from MapBox — Map data {attribution.OpenStreetMap}',subdomains:"abcd"}},Stamen:{url:"//stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.{ext}",options:{attribution:'Map tiles by Stamen Design, CC BY 3.0 — Map data {attribution.OpenStreetMap}',subdomains:"abcd",minZoom:0,maxZoom:20,variant:"toner",ext:"png"},variants:{Toner:"toner",TonerBackground:"toner-background",TonerHybrid:"toner-hybrid",TonerLines:"toner-lines",TonerLabels:"toner-labels",TonerLite:"toner-lite",Watercolor:{options:{variant:"watercolor",minZoom:1,maxZoom:16}},Terrain:{options:{variant:"terrain",minZoom:0,maxZoom:18}},TerrainBackground:{options:{variant:"terrain-background",minZoom:0,maxZoom:18}},TopOSMRelief:{options:{variant:"toposm-color-relief",ext:"jpg",bounds:[[22,-132],[51,-56]]}},TopOSMFeatures:{options:{variant:"toposm-features",bounds:[[22,-132],[51,-56]],opacity:.9}}}},Esri:{url:"//server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}",options:{variant:"World_Street_Map",attribution:"Tiles © Esri"},variants:{WorldStreetMap:{options:{attribution:"{attribution.Esri} — Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012"}},DeLorme:{options:{variant:"Specialty/DeLorme_World_Base_Map",minZoom:1,maxZoom:11,attribution:"{attribution.Esri} — Copyright: ©2012 DeLorme"}},WorldTopoMap:{options:{variant:"World_Topo_Map",attribution:"{attribution.Esri} — Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community"}},WorldImagery:{options:{variant:"World_Imagery",attribution:"{attribution.Esri} — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"}},WorldTerrain:{options:{variant:"World_Terrain_Base",maxZoom:13,attribution:"{attribution.Esri} — Source: USGS, Esri, TANA, DeLorme, and NPS"}},WorldShadedRelief:{options:{variant:"World_Shaded_Relief",maxZoom:13,attribution:"{attribution.Esri} — Source: Esri"}},WorldPhysical:{options:{variant:"World_Physical_Map",maxZoom:8,attribution:"{attribution.Esri} — Source: US National Park Service"}},OceanBasemap:{options:{variant:"Ocean_Basemap",maxZoom:13,attribution:"{attribution.Esri} — Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri"}},NatGeoWorldMap:{options:{variant:"NatGeo_World_Map",maxZoom:16,attribution:"{attribution.Esri} — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC"}},WorldGrayCanvas:{options:{variant:"Canvas/World_Light_Gray_Base",maxZoom:16,attribution:"{attribution.Esri} — Esri, DeLorme, NAVTEQ"}}}},OpenWeatherMap:{url:"http://{s}.tile.openweathermap.org/map/{variant}/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:'Map data © OpenWeatherMap',opacity:.5},variants:{Clouds:"clouds",CloudsClassic:"clouds_cls",Precipitation:"precipitation",PrecipitationClassic:"precipitation_cls",Rain:"rain",RainClassic:"rain_cls",Pressure:"pressure",PressureContour:"pressure_cntr",Wind:"wind",Temperature:"temp",Snow:"snow"}},HERE:{url:"//{s}.{base}.maps.cit.api.here.com/maptile/2.1/{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?app_id={app_id}&app_code={app_code}&lg={language}",options:{attribution:'Map © 1987-2014 HERE',subdomains:"1234",mapID:"newest",app_id:"",app_code:"",base:"base",variant:"normal.day",maxZoom:20,type:"maptile",language:"eng",format:"png8",size:"256"},variants:{normalDay:"normal.day",normalDayCustom:"normal.day.custom",normalDayGrey:"normal.day.grey",normalDayMobile:"normal.day.mobile",normalDayGreyMobile:"normal.day.grey.mobile",normalDayTransit:"normal.day.transit",normalDayTransitMobile:"normal.day.transit.mobile",normalNight:"normal.night",normalNightMobile:"normal.night.mobile",normalNightGrey:"normal.night.grey",normalNightGreyMobile:"normal.night.grey.mobile",basicMap:{options:{type:"basetile"}},mapLabels:{options:{type:"labeltile",format:"png"}},trafficFlow:{options:{base:"traffic",type:"flowtile"}},carnavDayGrey:"carnav.day.grey",hybridDay:{options:{base:"aerial",variant:"hybrid.day"}},hybridDayMobile:{options:{base:"aerial",variant:"hybrid.day.mobile"}},pedestrianDay:"pedestrian.day",pedestrianNight:"pedestrian.night",satelliteDay:{options:{base:"aerial",variant:"satellite.day"}},terrainDay:{options:{base:"aerial",variant:"terrain.day"}},terrainDayMobile:{options:{base:"aerial",variant:"terrain.day.mobile"}}}},FreeMapSK:{url:"http://t{s}.freemap.sk/T/{z}/{x}/{y}.jpeg",options:{minZoom:8,maxZoom:16,subdomains:"1234",bounds:[[47.204642,15.996093],[49.830896,22.576904]],attribution:'{attribution.OpenStreetMap}, vizualization CC-By-SA 2.0 Freemap.sk'}},MtbMap:{url:"http://tile.mtbmap.cz/mtbmap_tiles/{z}/{x}/{y}.png",options:{attribution:"{attribution.OpenStreetMap} & USGS"}},CartoDB:{url:"http://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}.png",options:{attribution:'{attribution.OpenStreetMap} © CartoDB',subdomains:"abcd",maxZoom:19,variant:"light_all"},variants:{Positron:"light_all",PositronNoLabels:"light_nolabels",PositronOnlyLabels:"light_only_labels",DarkMatter:"dark_all",DarkMatterNoLabels:"dark_nolabels",DarkMatterOnlyLabels:"dark_only_labels"}},HikeBike:{url:"http://{s}.tiles.wmflabs.org/{variant}/{z}/{x}/{y}.png",options:{maxZoom:19,attribution:"{attribution.OpenStreetMap}",variant:"hikebike"},variants:{HikeBike:{},HillShading:{options:{maxZoom:15,variant:"hillshading"}}}},BasemapAT:{url:"https://maps{s}.wien.gv.at/basemap/{variant}/normal/google3857/{z}/{y}/{x}.{format}",options:{maxZoom:19,attribution:'Datenquelle: basemap.at',subdomains:["","1","2","3","4"],format:"png",bounds:[[46.35877,8.782379],[49.037872,17.189532]],variant:"geolandbasemap"},variants:{basemap:{options:{maxZoom:20,variant:"geolandbasemap"}},grau:"bmapgrau",overlay:"bmapoverlay",highdpi:{options:{variant:"bmaphidpi",format:"jpeg"}},orthofoto:{options:{maxZoom:20,variant:"bmaporthofoto30cm",format:"jpeg"}}}},NASAGIBS:{url:"//map1.vis.earthdata.nasa.gov/wmts-webmerc/{variant}/default/{time}/{tilematrixset}{maxZoom}/{z}/{y}/{x}.{format}",options:{attribution:'Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System (ESDIS) with funding provided by NASA/HQ.',bounds:[[-85.0511287776,-179.999999975],[85.0511287776,179.999999975]],minZoom:1,maxZoom:9,format:"jpg",time:"",tilematrixset:"GoogleMapsCompatible_Level"},variants:{ModisTerraTrueColorCR:"MODIS_Terra_CorrectedReflectance_TrueColor",ModisTerraBands367CR:"MODIS_Terra_CorrectedReflectance_Bands367",ViirsEarthAtNight2012:{options:{variant:"VIIRS_CityLights_2012",maxZoom:8}},ModisTerraLSTDay:{options:{variant:"MODIS_Terra_Land_Surface_Temp_Day",format:"png",maxZoom:7,opacity:.75}},ModisTerraSnowCover:{options:{variant:"MODIS_Terra_Snow_Cover",format:"png",maxZoom:8,opacity:.75}},ModisTerraAOD:{options:{variant:"MODIS_Terra_Aerosol",format:"png",maxZoom:6,opacity:.75}},ModisTerraChlorophyll:{options:{variant:"MODIS_Terra_Chlorophyll_A",format:"png",maxZoom:7,opacity:.75}}}},NLS:{url:"//nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg",options:{attribution:'National Library of Scotland Historic Maps',bounds:[[49.6,-12],[61.7,3]],minZoom:1,maxZoom:18,subdomains:"0123"}},JusticeMap:{url:"http://www.justicemap.org/tile/{size}/{variant}/{z}/{x}/{y}.png",options:{attribution:'Justice Map',size:"county",bounds:[[14,-180],[72,-56]]},variants:{income:"income",americanIndian:"indian",asian:"asian",black:"black",hispanic:"hispanic",multi:"multi",nonWhite:"nonwhite",white:"white",plurality:"plural"}}},e.tileLayer.provider=function(t,n){return new e.TileLayer.Provider(t,n)},e})},"./node_modules/leaflet/dist/images/layers-2x.png":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII="},"./node_modules/leaflet/dist/images/layers.png":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC"},"./node_modules/leaflet/dist/images/marker-icon.png":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII="},"./node_modules/leaflet/dist/leaflet-src.js":function(e,t,n){var r,o;!function(i,a,s){function l(){var e=i.L;u.noConflict=function(){return i.L=e,this},i.L=u}var u={version:"1.0.3"};"object"==typeof e&&"object"==typeof e.exports?e.exports=u:(r=u,(o="function"==typeof r?r.call(t,n,t,e):r)!==s&&(e.exports=o)),void 0!==i&&l(),u.Util={extend:function(e){var t,n,r,o;for(n=1,r=arguments.length;n1}}(),u.Point=function(e,t,n){this.x=n?Math.round(e):e,this.y=n?Math.round(t):t},u.Point.prototype={clone:function(){return new u.Point(this.x,this.y)},add:function(e){return this.clone()._add(u.point(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(u.point(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new u.Point(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new u.Point(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},distanceTo:function(e){e=u.point(e);var t=e.x-this.x,n=e.y-this.y;return Math.sqrt(t*t+n*n)},equals:function(e){return e=u.point(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=u.point(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+u.Util.formatNum(this.x)+", "+u.Util.formatNum(this.y)+")"}},u.point=function(e,t,n){return e instanceof u.Point?e:u.Util.isArray(e)?new u.Point(e[0],e[1]):e===s||null===e?e:"object"==typeof e&&"x"in e&&"y"in e?new u.Point(e.x,e.y):new u.Point(e,t,n)},u.Bounds=function(e,t){if(e)for(var n=t?[e,t]:e,r=0,o=n.length;r=this.min.x&&n.x<=this.max.x&&t.y>=this.min.y&&n.y<=this.max.y},intersects:function(e){e=u.bounds(e);var t=this.min,n=this.max,r=e.min,o=e.max,i=o.x>=t.x&&r.x<=n.x,a=o.y>=t.y&&r.y<=n.y;return i&&a},overlaps:function(e){e=u.bounds(e);var t=this.min,n=this.max,r=e.min,o=e.max,i=o.x>t.x&&r.xt.y&&r.y0&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(n)},addClass:function(e,t){if(e.classList!==s)for(var n=u.Util.splitWords(t),r=0,o=n.length;r=r.lat&&n.lat<=o.lat&&t.lng>=r.lng&&n.lng<=o.lng},intersects:function(e){e=u.latLngBounds(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),o=e.getNorthEast(),i=o.lat>=t.lat&&r.lat<=n.lat,a=o.lng>=t.lng&&r.lng<=n.lng;return i&&a},overlaps:function(e){e=u.latLngBounds(e);var t=this._southWest,n=this._northEast,r=e.getSouthWest(),o=e.getNorthEast(),i=o.lat>t.lat&&r.latt.lng&&r.lngthis.options.maxZoom?this.setZoom(e):this},panInsideBounds:function(e,t){this._enforcingBounds=!0;var n=this.getCenter(),r=this._limitCenter(n,this._zoom,u.latLngBounds(e));return n.equals(r)||this.panTo(r,t),this._enforcingBounds=!1,this},invalidateSize:function(e){if(!this._loaded)return this;e=u.extend({animate:!1,pan:!0},e===!0?{animate:!0}:e);var t=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var n=this.getSize(),r=t.divideBy(2).round(),o=n.divideBy(2).round(),i=r.subtract(o);return i.x||i.y?(e.animate&&e.pan?this.panBy(i):(e.pan&&this._rawPanBy(i),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u.bind(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:t,newSize:n})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=u.extend({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var t=u.bind(this._handleGeolocationResponse,this),n=u.bind(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(t,n,e):navigator.geolocation.getCurrentPosition(t,n,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){var t=e.code,n=e.message||(1===t?"permission denied":2===t?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:t,message:"Geolocation error: "+n+"."})},_handleGeolocationResponse:function(e){var t=e.coords.latitude,n=e.coords.longitude,r=new u.LatLng(t,n),o=r.toBounds(e.coords.accuracy),i=this._locateOptions;if(i.setView){var a=this.getBoundsZoom(o);this.setView(r,i.maxZoom?Math.min(a,i.maxZoom):a)}var s={latlng:r,bounds:o,timestamp:e.timestamp};for(var l in e.coords)"number"==typeof e.coords[l]&&(s[l]=e.coords[l]);this.fire("locationfound",s)},addHandler:function(e,t){if(!t)return this;var n=this[e]=new t(this);return this._handlers.push(n),this.options[e]&&n.enable(),this},remove:function(){if(this._initEvents(!0),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(e){this._container._leaflet_id=s,this._containerId=s}u.DomUtil.remove(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._clearHandlers(),this._loaded&&this.fire("unload");for(var e in this._layers)this._layers[e].remove();return this},createPane:function(e,t){var n="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),r=u.DomUtil.create("div",n,t||this._mapPane);return e&&(this._panes[e]=r),r},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter:this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),t=this.unproject(e.getBottomLeft()),n=this.unproject(e.getTopRight());return new u.LatLngBounds(t,n)},getMinZoom:function(){return this.options.minZoom===s?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===s?this._layersMaxZoom===s?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,t,n){e=u.latLngBounds(e),n=u.point(n||[0,0]);var r=this.getZoom()||0,o=this.getMinZoom(),i=this.getMaxZoom(),a=e.getNorthWest(),s=e.getSouthEast(),l=this.getSize().subtract(n),c=u.bounds(this.project(s,r),this.project(a,r)).getSize(),d=u.Browser.any3d?this.options.zoomSnap:1,p=Math.min(l.x/c.x,l.y/c.y);return r=this.getScaleZoom(p,r),d&&(r=Math.round(r/(d/100))*(d/100),r=t?Math.ceil(r/d)*d:Math.floor(r/d)*d),Math.max(o,Math.min(i,r))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new u.Point(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,t){var n=this._getTopLeftPoint(e,t);return new u.Bounds(n,n.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===s?this.getZoom():e)},getPane:function(e){return"string"==typeof e?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,t){var n=this.options.crs;return t=t===s?this._zoom:t,n.scale(e)/n.scale(t)},getScaleZoom:function(e,t){var n=this.options.crs;t=t===s?this._zoom:t;var r=n.zoom(e*n.scale(t));return isNaN(r)?1/0:r},project:function(e,t){return t=t===s?this._zoom:t,this.options.crs.latLngToPoint(u.latLng(e),t)},unproject:function(e,t){return t=t===s?this._zoom:t,this.options.crs.pointToLatLng(u.point(e),t)},layerPointToLatLng:function(e){var t=u.point(e).add(this.getPixelOrigin());return this.unproject(t)},latLngToLayerPoint:function(e){return this.project(u.latLng(e))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(u.latLng(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(u.latLngBounds(e))},distance:function(e,t){return this.options.crs.distance(u.latLng(e),u.latLng(t))},containerPointToLayerPoint:function(e){return u.point(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return u.point(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var t=this.containerPointToLayerPoint(u.point(e));return this.layerPointToLatLng(t)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(u.latLng(e)))},mouseEventToContainerPoint:function(e){return u.DomEvent.getMousePosition(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var t=this._container=u.DomUtil.get(e);if(!t)throw new Error("Map container not found.");if(t._leaflet_id)throw new Error("Map container is already initialized.");u.DomEvent.addListener(t,"scroll",this._onScroll,this),this._containerId=u.Util.stamp(t)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&u.Browser.any3d,u.DomUtil.addClass(e,"leaflet-container"+(u.Browser.touch?" leaflet-touch":"")+(u.Browser.retina?" leaflet-retina":"")+(u.Browser.ielt9?" leaflet-oldie":"")+(u.Browser.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var t=u.DomUtil.getStyle(e,"position");"absolute"!==t&&"relative"!==t&&"fixed"!==t&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),u.DomUtil.setPosition(this._mapPane,new u.Point(0,0)),this.createPane("tilePane"),this.createPane("shadowPane"),this.createPane("overlayPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(u.DomUtil.addClass(e.markerPane,"leaflet-zoom-hide"),u.DomUtil.addClass(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,t){u.DomUtil.setPosition(this._mapPane,new u.Point(0,0));var n=!this._loaded;this._loaded=!0,t=this._limitZoom(t),this.fire("viewprereset");var r=this._zoom!==t;this._moveStart(r)._move(e,t)._moveEnd(r),this.fire("viewreset"),n&&this.fire("load")},_moveStart:function(e){return e&&this.fire("zoomstart"),this.fire("movestart")},_move:function(e,t,n){t===s&&(t=this._zoom);var r=this._zoom!==t;return this._zoom=t,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),(r||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return u.Util.cancelAnimFrame(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){u.DomUtil.setPosition(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){if(u.DomEvent){this._targets={},this._targets[u.stamp(this._container)]=this;var t=e?"off":"on";u.DomEvent[t](this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress",this._handleDOMEvent,this),this.options.trackResize&&u.DomEvent[t](i,"resize",this._onResize,this),u.Browser.any3d&&this.options.transform3DLimit&&this[t]("moveend",this._onMoveEnd)}},_onResize:function(){u.Util.cancelAnimFrame(this._resizeRequest),this._resizeRequest=u.Util.requestAnimFrame(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,t){for(var n,r=[],o="mouseout"===t||"mouseover"===t,i=e.target||e.srcElement,a=!1;i;){if((n=this._targets[u.stamp(i)])&&("click"===t||"preclick"===t)&&!e._simulated&&this._draggableMoved(n)){a=!0;break}if(n&&n.listens(t,!0)){if(o&&!u.DomEvent._isExternalTarget(i,e))break;if(r.push(n),o)break}if(i===this._container)break;i=i.parentNode}return r.length||a||o||!u.DomEvent._isExternalTarget(i,e)||(r=[this]),r},_handleDOMEvent:function(e){if(this._loaded&&!u.DomEvent._skipped(e)){var t="keypress"===e.type&&13===e.keyCode?"click":e.type;"mousedown"===t&&u.DomUtil.preventOutline(e.target||e.srcElement),this._fireDOMEvent(e,t)}},_fireDOMEvent:function(e,t,n){if("click"===e.type){var r=u.Util.extend({},e);r.type="preclick",this._fireDOMEvent(r,r.type,n)}if(!e._stopped&&(n=(n||[]).concat(this._findEventTargets(e,t)),n.length)){var o=n[0];"contextmenu"===t&&o.listens(t,!0)&&u.DomEvent.preventDefault(e);var i={originalEvent:e};if("keypress"!==e.type){var a=o instanceof u.Marker;i.containerPoint=a?this.latLngToContainerPoint(o.getLatLng()):this.mouseEventToContainerPoint(e),i.layerPoint=this.containerPointToLayerPoint(i.containerPoint),i.latlng=a?o.getLatLng():this.layerPointToLatLng(i.layerPoint)}for(var s=0;s0?Math.round(e-t)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(t))},_limitZoom:function(e){var t=this.getMinZoom(),n=this.getMaxZoom(),r=u.Browser.any3d?this.options.zoomSnap:1;return r&&(e=Math.round(e/r)*r),Math.max(t,Math.min(n,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){u.DomUtil.removeClass(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,t){var n=this._getCenterOffset(e)._floor();return!((t&&t.animate)!==!0&&!this.getSize().contains(n))&&(this.panBy(n,t),!0)},_createAnimProxy:function(){var e=this._proxy=u.DomUtil.create("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(t){var n=u.DomUtil.TRANSFORM,r=e.style[n];u.DomUtil.setTransform(e,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),r===e.style[n]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",function(){var t=this.getCenter(),n=this.getZoom();u.DomUtil.setTransform(e,this.project(t,n),this.getZoomScale(n,1))},this)},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,t,n){if(this._animatingZoom)return!0;if(n=n||{},!this._zoomAnimated||n.animate===!1||this._nothingToAnimate()||Math.abs(t-this._zoom)>this.options.zoomAnimationThreshold)return!1;var r=this.getZoomScale(t),o=this._getCenterOffset(e)._divideBy(1-1/r);return!(n.animate!==!0&&!this.getSize().contains(o))&&(u.Util.requestAnimFrame(function(){this._moveStart(!0)._animateZoom(e,t,!0)},this),!0)},_animateZoom:function(e,t,n,r){n&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=t,u.DomUtil.addClass(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:t,noUpdate:r}),setTimeout(u.bind(this._onZoomTransitionEnd,this),250)},_onZoomTransitionEnd:function(){this._animatingZoom&&(u.DomUtil.removeClass(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom),u.Util.requestAnimFrame(function(){this._moveEnd(!0)},this))}}),u.map=function(e,t){return new u.Map(e,t)},u.Layer=u.Evented.extend({options:{pane:"overlayPane",nonBubblingEvents:[],attribution:null},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[u.stamp(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[u.stamp(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var t=e.target;if(t.hasLayer(this)){if(this._map=t,this._zoomAnimated=t._zoomAnimated,this.getEvents){var n=this.getEvents();t.on(n,this),this.once("remove",function(){t.off(n,this)},this)}this.onAdd(t),this.getAttribution&&t.attributionControl&&t.attributionControl.addAttribution(this.getAttribution()),this.fire("add"),t.fire("layeradd",{layer:this})}}}),u.Map.include({addLayer:function(e){var t=u.stamp(e);return this._layers[t]?this:(this._layers[t]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var t=u.stamp(e);return this._layers[t]?(this._loaded&&e.onRemove(this),e.getAttribution&&this.attributionControl&&this.attributionControl.removeAttribution(e.getAttribution()),delete this._layers[t],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return!!e&&u.stamp(e)in this._layers},eachLayer:function(e,t){for(var n in this._layers)e.call(t,this._layers[n]);return this},_addLayers:function(e){e=e?u.Util.isArray(e)?e:[e]:[];for(var t=0,n=e.length;tthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===s&&this._layersMinZoom&&this.getZoom()100&&r<500||e.target._simulatedClick&&!e._simulated)return void u.DomEvent.stop(e);u.DomEvent._lastClick=n,t(e)}},u.DomEvent.addListener=u.DomEvent.on,u.DomEvent.removeListener=u.DomEvent.off,u.PosAnimation=u.Evented.extend({run:function(e,t,n,r){this.stop(),this._el=e,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(r||.5,.2),this._startPos=u.DomUtil.getPosition(e),this._offset=t.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=u.Util.requestAnimFrame(this._animate,this),this._step()},_step:function(e){var t=+new Date-this._startTime,n=1e3*this._duration;t1e-7;l++)t=i*Math.sin(s),t=Math.pow((1-t)/(1+t),i/2),c=Math.PI/2-2*Math.atan(a*t)-s,s+=c;return new u.LatLng(s*n,e.x*n/r)}},u.CRS.EPSG3395=u.extend({},u.CRS.Earth,{code:"EPSG:3395",projection:u.Projection.Mercator,transformation:function(){var e=.5/(Math.PI*u.Projection.Mercator.R);return new u.Transformation(e,.5,-e,.5)}()}),u.GridLayer=u.Layer.extend({options:{tileSize:256,opacity:1,updateWhenIdle:u.Browser.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:s,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(e){u.setOptions(this,e)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView(),this._update()},beforeAdd:function(e){e._addZoomLimit(this)},onRemove:function(e){this._removeAllTiles(),u.DomUtil.remove(this._container),e._removeZoomLimit(this),this._container=null,this._tileZoom=null},bringToFront:function(){return this._map&&(u.DomUtil.toFront(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(u.DomUtil.toBack(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(e){return this.options.opacity=e,this._updateOpacity(),this},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){return this._map&&(this._removeAllTiles(),this._update()),this},getEvents:function(){var e={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=u.Util.throttle(this._onMoveEnd,this.options.updateInterval,this)),e.move=this._onMove),this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},createTile:function(){return a.createElement("div")},getTileSize:function(){var e=this.options.tileSize;return e instanceof u.Point?e:new u.Point(e,e)},_updateZIndex:function(){this._container&&this.options.zIndex!==s&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(e){for(var t,n=this.getPane().children,r=-e(-(1/0),1/0),o=0,i=n.length;othis.options.maxZoom||nr&&this._retainParent(o,i,a,r))},_retainChildren:function(e,t,n,r){for(var o=2*e;o<2*e+2;o++)for(var i=2*t;i<2*t+2;i++){var a=new u.Point(o,i);a.z=n+1;var s=this._tileCoordsToKey(a),l=this._tiles[s];l&&l.active?l.retain=!0:(l&&l.loaded&&(l.retain=!0),n+1this.options.maxZoom||this.options.minZoom!==s&&o1)return void this._setView(e,n);for(var h=o.min.y;h<=o.max.y;h++)for(var m=o.min.x;m<=o.max.x;m++){var g=new u.Point(m,h);if(g.z=this._tileZoom,this._isValidTile(g)){var y=this._tiles[this._tileCoordsToKey(g)];y?y.current=!0:l.push(g)}}if(l.sort(function(e,t){return e.distanceTo(i)-t.distanceTo(i)}),0!==l.length){this._loading||(this._loading=!0,this.fire("loading"));var v=a.createDocumentFragment();for(m=0;mn.max.x)||!t.wrapLat&&(e.yn.max.y))return!1}if(!this.options.bounds)return!0;var r=this._tileCoordsToBounds(e);return u.latLngBounds(this.options.bounds).overlaps(r)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToBounds:function(e){var t=this._map,n=this.getTileSize(),r=e.scaleBy(n),o=r.add(n),i=t.unproject(r,e.z),a=t.unproject(o,e.z),s=new u.LatLngBounds(i,a);return this.options.noWrap||t.wrapLatLngBounds(s),s},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var t=e.split(":"),n=new u.Point(+t[0],+t[1]);return n.z=+t[2],n},_removeTile:function(e){var t=this._tiles[e];t&&(u.DomUtil.remove(t.el),delete this._tiles[e],this.fire("tileunload",{tile:t.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){u.DomUtil.addClass(e,"leaflet-tile");var t=this.getTileSize();e.style.width=t.x+"px",e.style.height=t.y+"px",e.onselectstart=u.Util.falseFn,e.onmousemove=u.Util.falseFn,u.Browser.ielt9&&this.options.opacity<1&&u.DomUtil.setOpacity(e,this.options.opacity),u.Browser.android&&!u.Browser.android23&&(e.style.WebkitBackfaceVisibility="hidden")},_addTile:function(e,t){var n=this._getTilePos(e),r=this._tileCoordsToKey(e),o=this.createTile(this._wrapCoords(e),u.bind(this._tileReady,this,e));this._initTile(o),this.createTile.length<2&&u.Util.requestAnimFrame(u.bind(this._tileReady,this,e,null,o)),u.DomUtil.setPosition(o,n),this._tiles[r]={el:o,coords:e,current:!0},t.appendChild(o),this.fire("tileloadstart",{tile:o,coords:e})},_tileReady:function(e,t,n){if(this._map){t&&this.fire("tileerror",{error:t,tile:n,coords:e});var r=this._tileCoordsToKey(e);n=this._tiles[r],n&&(n.loaded=+new Date,this._map._fadeAnimated?(u.DomUtil.setOpacity(n.el,0),u.Util.cancelAnimFrame(this._fadeFrame),this._fadeFrame=u.Util.requestAnimFrame(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),t||(u.DomUtil.addClass(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),u.Browser.ielt9||!this._map._fadeAnimated?u.Util.requestAnimFrame(this._pruneTiles,this):setTimeout(u.bind(this._pruneTiles,this),250)))}},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var t=new u.Point(this._wrapX?u.Util.wrapNum(e.x,this._wrapX):e.x,this._wrapY?u.Util.wrapNum(e.y,this._wrapY):e.y);return t.z=e.z,t},_pxBoundsToTileRange:function(e){var t=this.getTileSize();return new u.Bounds(e.min.unscaleBy(t).floor(),e.max.unscaleBy(t).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}}),u.gridLayer=function(e){return new u.GridLayer(e)},u.TileLayer=u.GridLayer.extend({options:{minZoom:0,maxZoom:18,maxNativeZoom:null,minNativeZoom:null,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1},initialize:function(e,t){this._url=e,t=u.setOptions(this,t),t.detectRetina&&u.Browser.retina&&t.maxZoom>0&&(t.tileSize=Math.floor(t.tileSize/2),t.zoomReverse?(t.zoomOffset--,t.minZoom++):(t.zoomOffset++,t.maxZoom--),t.minZoom=Math.max(0,t.minZoom)),"string"==typeof t.subdomains&&(t.subdomains=t.subdomains.split("")),u.Browser.android||this.on("tileunload",this._onTileRemove)},setUrl:function(e,t){return this._url=e,t||this.redraw(),this},createTile:function(e,t){var n=a.createElement("img");return u.DomEvent.on(n,"load",u.bind(this._tileOnLoad,this,t,n)),u.DomEvent.on(n,"error",u.bind(this._tileOnError,this,t,n)),this.options.crossOrigin&&(n.crossOrigin=""),n.alt="",n.setAttribute("role","presentation"),n.src=this.getTileUrl(e),n},getTileUrl:function(e){var t={r:u.Browser.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var n=this._globalTileRange.max.y-e.y;this.options.tms&&(t.y=n),t["-y"]=n}return u.Util.template(this._url,u.extend(t,this.options))},_tileOnLoad:function(e,t){u.Browser.ielt9?setTimeout(u.bind(e,this,null,t),0):e(null,t)},_tileOnError:function(e,t,n){var r=this.options.errorTileUrl;r&&t.src!==r&&(t.src=r),e(n,t)},getTileSize:function(){var e=this._map,t=u.GridLayer.prototype.getTileSize.call(this),n=this._tileZoom+this.options.zoomOffset,r=this.options.minNativeZoom,o=this.options.maxNativeZoom;return null!==r&&no?t.divideBy(e.getZoomScale(o,n)).round():t},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,t=this.options.maxZoom,n=this.options.zoomReverse,r=this.options.zoomOffset,o=this.options.minNativeZoom,i=this.options.maxNativeZoom;return n&&(e=t-e),e+=r,null!==o&&ei?i:e},_getSubdomain:function(e){var t=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[t]},_abortLoading:function(){var e,t;for(e in this._tiles)this._tiles[e].coords.z!==this._tileZoom&&(t=this._tiles[e].el,t.onload=u.Util.falseFn,t.onerror=u.Util.falseFn,t.complete||(t.src=u.Util.emptyImageUrl,u.DomUtil.remove(t)))}}),u.tileLayer=function(e,t){return new u.TileLayer(e,t)},u.TileLayer.WMS=u.TileLayer.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,t){this._url=e;var n=u.extend({},this.defaultWmsParams);for(var r in t)r in this.options||(n[r]=t[r]);t=u.setOptions(this,t),n.width=n.height=t.tileSize*(t.detectRetina&&u.Browser.retina?2:1),this.wmsParams=n},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var t=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[t]=this._crs.code,u.TileLayer.prototype.onAdd.call(this,e)},getTileUrl:function(e){var t=this._tileCoordsToBounds(e),n=this._crs.project(t.getNorthWest()),r=this._crs.project(t.getSouthEast()),o=(this._wmsVersion>=1.3&&this._crs===u.CRS.EPSG4326?[r.y,n.x,n.y,r.x]:[n.x,r.y,r.x,n.y]).join(","),i=u.TileLayer.prototype.getTileUrl.call(this,e);return i+u.Util.getParamString(this.wmsParams,i,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+o},setParams:function(e,t){return u.extend(this.wmsParams,e),t||this.redraw(),this}}),u.tileLayer.wms=function(e,t){return new u.TileLayer.WMS(e,t)},u.ImageOverlay=u.Layer.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1},initialize:function(e,t,n){this._url=e,this._bounds=u.latLngBounds(t),u.setOptions(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(u.DomUtil.addClass(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){u.DomUtil.remove(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&u.DomUtil.toFront(this._image),this},bringToBack:function(){return this._map&&u.DomUtil.toBack(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=e,this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._image=u.DomUtil.create("img","leaflet-image-layer "+(this._zoomAnimated?"leaflet-zoom-animated":""));e.onselectstart=u.Util.falseFn,e.onmousemove=u.Util.falseFn,e.onload=u.bind(this.fire,this,"load"),this.options.crossOrigin&&(e.crossOrigin=""),e.src=this._url,e.alt=this.options.alt},_animateZoom:function(e){var t=this._map.getZoomScale(e.zoom),n=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;u.DomUtil.setTransform(this._image,n,t)},_reset:function(){var e=this._image,t=new u.Bounds(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=t.getSize();u.DomUtil.setPosition(e,t.min),e.style.width=n.x+"px",e.style.height=n.y+"px"},_updateOpacity:function(){u.DomUtil.setOpacity(this._image,this.options.opacity)}}),u.imageOverlay=function(e,t,n){return new u.ImageOverlay(e,t,n)},u.Icon=u.Class.extend({initialize:function(e){u.setOptions(this,e)},createIcon:function(e){return this._createIcon("icon",e)},createShadow:function(e){return this._createIcon("shadow",e)},_createIcon:function(e,t){var n=this._getIconUrl(e);if(!n){if("icon"===e)throw new Error("iconUrl not set in Icon options (see the docs).");return null}var r=this._createImg(n,t&&"IMG"===t.tagName?t:null);return this._setIconStyles(r,e),r},_setIconStyles:function(e,t){var n=this.options,r=n[t+"Size"];"number"==typeof r&&(r=[r,r]);var o=u.point(r),i=u.point("shadow"===t&&n.shadowAnchor||n.iconAnchor||o&&o.divideBy(2,!0));e.className="leaflet-marker-"+t+" "+(n.className||""),i&&(e.style.marginLeft=-i.x+"px",e.style.marginTop=-i.y+"px"),o&&(e.style.width=o.x+"px",e.style.height=o.y+"px")},_createImg:function(e,t){return t=t||a.createElement("img"),t.src=e,t},_getIconUrl:function(e){return u.Browser.retina&&this.options[e+"RetinaUrl"]||this.options[e+"Url"]}}),u.icon=function(e){return new u.Icon(e)},u.Icon.Default=u.Icon.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(e){return u.Icon.Default.imagePath||(u.Icon.Default.imagePath=this._detectIconPath()),(this.options.imagePath||u.Icon.Default.imagePath)+u.Icon.prototype._getIconUrl.call(this,e)},_detectIconPath:function(){var e=u.DomUtil.create("div","leaflet-default-icon-path",a.body),t=u.DomUtil.getStyle(e,"background-image")||u.DomUtil.getStyle(e,"backgroundImage");return a.body.removeChild(e),0===t.indexOf("url")?t.replace(/^url\([\"\']?/,"").replace(/marker-icon\.png[\"\']?\)$/,""):""}}),u.Marker=u.Layer.extend({options:{icon:new u.Icon.Default,interactive:!0,draggable:!1,keyboard:!0,title:"",alt:"",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",nonBubblingEvents:["click","dblclick","mouseover","mouseout","contextmenu"]},initialize:function(e,t){u.setOptions(this,t),this._latlng=u.latLng(e)},onAdd:function(e){this._zoomAnimated=this._zoomAnimated&&e.options.markerZoomAnimation,this._zoomAnimated&&e.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(e){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),this._zoomAnimated&&e.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(e){var t=this._latlng;return this._latlng=u.latLng(e),this.update(),this.fire("move",{oldLatLng:t,latlng:this._latlng})},setZIndexOffset:function(e){return this.options.zIndexOffset=e,this.update()},setIcon:function(e){return this.options.icon=e,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){if(this._icon){var e=this._map.latLngToLayerPoint(this._latlng).round();this._setPos(e)}return this},_initIcon:function(){var e=this.options,t="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=e.icon.createIcon(this._icon),r=!1;n!==this._icon&&(this._icon&&this._removeIcon(),r=!0,e.title&&(n.title=e.title),e.alt&&(n.alt=e.alt)),u.DomUtil.addClass(n,t),e.keyboard&&(n.tabIndex="0"),this._icon=n,e.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex});var o=e.icon.createShadow(this._shadow),i=!1;o!==this._shadow&&(this._removeShadow(),i=!0),o&&(u.DomUtil.addClass(o,t),o.alt=""),this._shadow=o,e.opacity<1&&this._updateOpacity(),r&&this.getPane().appendChild(this._icon),this._initInteraction(),o&&i&&this.getPane("shadowPane").appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),u.DomUtil.remove(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&u.DomUtil.remove(this._shadow),this._shadow=null},_setPos:function(e){u.DomUtil.setPosition(this._icon,e),this._shadow&&u.DomUtil.setPosition(this._shadow,e),this._zIndex=e.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(e){this._icon.style.zIndex=this._zIndex+e},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center).round();this._setPos(t)},_initInteraction:function(){if(this.options.interactive&&(u.DomUtil.addClass(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),u.Handler.MarkerDrag)){var e=this.options.draggable;this.dragging&&(e=this.dragging.enabled(),this.dragging.disable()),this.dragging=new u.Handler.MarkerDrag(this),e&&this.dragging.enable()}},setOpacity:function(e){return this.options.opacity=e,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var e=this.options.opacity;u.DomUtil.setOpacity(this._icon,e),this._shadow&&u.DomUtil.setOpacity(this._shadow,e)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor||[0,0]},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor||[0,0]}}),u.marker=function(e,t){return new u.Marker(e,t)},u.DivIcon=u.Icon.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(e){var t=e&&"DIV"===e.tagName?e:a.createElement("div"),n=this.options;if(t.innerHTML=n.html!==!1?n.html:"",n.bgPos){var r=u.point(n.bgPos);t.style.backgroundPosition=-r.x+"px "+-r.y+"px"}return this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}),u.divIcon=function(e){return new u.DivIcon(e)},u.DivOverlay=u.Layer.extend({options:{offset:[0,7],className:"",pane:"popupPane"},initialize:function(e,t){u.setOptions(this,e),this._source=t},onAdd:function(e){this._zoomAnimated=e._zoomAnimated,this._container||this._initLayout(),e._fadeAnimated&&u.DomUtil.setOpacity(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),e._fadeAnimated&&u.DomUtil.setOpacity(this._container,1),this.bringToFront()},onRemove:function(e){e._fadeAnimated?(u.DomUtil.setOpacity(this._container,0),this._removeTimeout=setTimeout(u.bind(u.DomUtil.remove,u.DomUtil,this._container),200)):u.DomUtil.remove(this._container)},getLatLng:function(){return this._latlng},setLatLng:function(e){return this._latlng=u.latLng(e),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(e){return this._content=e,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var e={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&u.DomUtil.toFront(this._container),this},bringToBack:function(){return this._map&&u.DomUtil.toBack(this._container),this},_updateContent:function(){if(this._content){var e=this._contentNode,t="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof t)e.innerHTML=t;else{for(;e.hasChildNodes();)e.removeChild(e.firstChild);e.appendChild(t)}this.fire("contentupdate")}},_updatePosition:function(){if(this._map){var e=this._map.latLngToLayerPoint(this._latlng),t=u.point(this.options.offset),n=this._getAnchor();this._zoomAnimated?u.DomUtil.setPosition(this._container,e.add(n)):t=t.add(e).add(n);var r=this._containerBottom=-t.y,o=this._containerLeft=-Math.round(this._containerWidth/2)+t.x;this._container.style.bottom=r+"px",this._container.style.left=o+"px"}},_getAnchor:function(){return[0,0]}}),u.Popup=u.DivOverlay.extend({options:{maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,className:""},openOn:function(e){return e.openPopup(this),this},onAdd:function(e){u.DivOverlay.prototype.onAdd.call(this,e),e.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof u.Path||this._source.on("preclick",u.DomEvent.stopPropagation))},onRemove:function(e){u.DivOverlay.prototype.onRemove.call(this,e),e.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof u.Path||this._source.off("preclick",u.DomEvent.stopPropagation))},getEvents:function(){var e=u.DivOverlay.prototype.getEvents.call(this);return("closeOnClick"in this.options?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(e.preclick=this._close),this.options.keepInView&&(e.moveend=this._adjustPan),e},_close:function(){this._map&&this._map.closePopup(this)},_initLayout:function(){var e="leaflet-popup",t=this._container=u.DomUtil.create("div",e+" "+(this.options.className||"")+" leaflet-zoom-animated");if(this.options.closeButton){var n=this._closeButton=u.DomUtil.create("a",e+"-close-button",t);n.href="#close",n.innerHTML="×",u.DomEvent.on(n,"click",this._onCloseButtonClick,this)}var r=this._wrapper=u.DomUtil.create("div",e+"-content-wrapper",t);this._contentNode=u.DomUtil.create("div",e+"-content",r),u.DomEvent.disableClickPropagation(r).disableScrollPropagation(this._contentNode).on(r,"contextmenu",u.DomEvent.stopPropagation),this._tipContainer=u.DomUtil.create("div",e+"-tip-container",t),this._tip=u.DomUtil.create("div",e+"-tip",this._tipContainer)},_updateLayout:function(){var e=this._contentNode,t=e.style;t.width="",t.whiteSpace="nowrap";var n=e.offsetWidth;n=Math.min(n,this.options.maxWidth),n=Math.max(n,this.options.minWidth),t.width=n+1+"px",t.whiteSpace="",t.height="";var r=e.offsetHeight,o=this.options.maxHeight,i="leaflet-popup-scrolled";o&&r>o?(t.height=o+"px",u.DomUtil.addClass(e,i)):u.DomUtil.removeClass(e,i),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var t=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),n=this._getAnchor();u.DomUtil.setPosition(this._container,t.add(n))},_adjustPan:function(){if(!(!this.options.autoPan||this._map._panAnim&&this._map._panAnim._inProgress)){var e=this._map,t=parseInt(u.DomUtil.getStyle(this._container,"marginBottom"),10)||0,n=this._container.offsetHeight+t,r=this._containerWidth,o=new u.Point(this._containerLeft,-n-this._containerBottom);o._add(u.DomUtil.getPosition(this._container));var i=e.layerPointToContainerPoint(o),a=u.point(this.options.autoPanPadding),s=u.point(this.options.autoPanPaddingTopLeft||a),l=u.point(this.options.autoPanPaddingBottomRight||a),c=e.getSize(),d=0,p=0;i.x+r+l.x>c.x&&(d=i.x+r-c.x+l.x),i.x-d-s.x<0&&(d=i.x-s.x),i.y+n+l.y>c.y&&(p=i.y+n-c.y+l.y),i.y-p-s.y<0&&(p=i.y-s.y),(d||p)&&e.fire("autopanstart").panBy([d,p])}},_onCloseButtonClick:function(e){this._close(),u.DomEvent.stop(e)},_getAnchor:function(){return u.point(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),u.popup=function(e,t){return new u.Popup(e,t)},u.Map.mergeOptions({closePopupOnClick:!0}),u.Map.include({openPopup:function(e,t,n){return e instanceof u.Popup||(e=new u.Popup(n).setContent(e)),t&&e.setLatLng(t),this.hasLayer(e)?this:(this._popup&&this._popup.options.autoClose&&this.closePopup(),this._popup=e,this.addLayer(e))},closePopup:function(e){return e&&e!==this._popup||(e=this._popup,this._popup=null),e&&this.removeLayer(e),this}}),u.Layer.include({bindPopup:function(e,t){return e instanceof u.Popup?(u.setOptions(e,t),this._popup=e,e._source=this):(this._popup&&!t||(this._popup=new u.Popup(t,this)),this._popup.setContent(e)),this._popupHandlersAdded||(this.on({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e,t){if(e instanceof u.Layer||(t=e,e=this),e instanceof u.FeatureGroup)for(var n in this._layers){e=this._layers[n];break}return t||(t=e.getCenter?e.getCenter():e.getLatLng()),this._popup&&this._map&&(this._popup._source=e,this._popup.update(),this._map.openPopup(this._popup,t)),this},closePopup:function(){return this._popup&&this._popup._close(),this},togglePopup:function(e){return this._popup&&(this._popup._map?this.closePopup():this.openPopup(e)),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){var t=e.layer||e.target;if(this._popup&&this._map){if(u.DomEvent.stop(e),t instanceof u.Path)return void this.openPopup(e.layer||e.target,e.latlng);this._map.hasLayer(this._popup)&&this._popup._source===t?this.closePopup():this.openPopup(t,e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)}}),u.Tooltip=u.DivOverlay.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,interactive:!1,opacity:.9},onAdd:function(e){u.DivOverlay.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&this._source.fire("tooltipopen",{tooltip:this},!0)},onRemove:function(e){u.DivOverlay.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&this._source.fire("tooltipclose",{tooltip:this},!0)},getEvents:function(){var e=u.DivOverlay.prototype.getEvents.call(this);return u.Browser.touch&&!this.options.permanent&&(e.preclick=this._close),e},_close:function(){this._map&&this._map.closeTooltip(this)},_initLayout:function(){var e="leaflet-tooltip",t=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=u.DomUtil.create("div",t)},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var t=this._map,n=this._container,r=t.latLngToContainerPoint(t.getCenter()),o=t.layerPointToContainerPoint(e),i=this.options.direction,a=n.offsetWidth,s=n.offsetHeight,l=u.point(this.options.offset),c=this._getAnchor();"top"===i?e=e.add(u.point(-a/2+l.x,-s+l.y+c.y,!0)):"bottom"===i?e=e.subtract(u.point(a/2-l.x,-l.y,!0)):"center"===i?e=e.subtract(u.point(a/2+l.x,s/2-c.y+l.y,!0)):"right"===i||"auto"===i&&o.xl&&(i=a,l=s);l>n&&(t[i]=1,this._simplifyDPStep(e,t,n,r,i),this._simplifyDPStep(e,t,n,i,o))},_reducePoints:function(e,t){for(var n=[e[0]],r=1,o=0,i=e.length;rt&&(n.push(e[r]),o=r);return ot.max.x&&(n|=2),e.yt.max.y&&(n|=8),n},_sqDist:function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},_sqClosestPointOnSegment:function(e,t,n,r){var o,i=t.x,a=t.y,s=n.x-i,l=n.y-a,c=s*s+l*l;return c>0&&(o=((e.x-i)*s+(e.y-a)*l)/c,o>1?(i=n.x,a=n.y):o>0&&(i+=s*o,a+=l*o)),s=e.x-i,l=e.y-a,r?s*s+l*l:new u.Point(i,a)}},u.Polyline=u.Path.extend({options:{smoothFactor:1,noClip:!1},initialize:function(e,t){u.setOptions(this,t),this._setLatLngs(e)},getLatLngs:function(){return this._latlngs},setLatLngs:function(e){return this._setLatLngs(e),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(e){for(var t,n,r=1/0,o=null,i=u.LineUtil._sqClosestPointOnSegment,a=0,s=this._parts.length;at)return a=(r-t)/n,this._map.layerPointToLatLng([i.x-a*(i.x-o.x),i.y-a*(i.y-o.y)])},getBounds:function(){return this._bounds},addLatLng:function(e,t){return t=t||this._defaultShape(),e=u.latLng(e),t.push(e),this._bounds.extend(e),this.redraw()},_setLatLngs:function(e){this._bounds=new u.LatLngBounds,this._latlngs=this._convertLatLngs(e)},_defaultShape:function(){return u.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(e){for(var t=[],n=u.Polyline._flat(e),r=0,o=e.length;r=2&&t[0]instanceof u.LatLng&&t[0].equals(t[n-1])&&t.pop(),t},_setLatLngs:function(e){u.Polyline.prototype._setLatLngs.call(this,e),u.Polyline._flat(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return u.Polyline._flat(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,t=this.options.weight,n=new u.Point(t,t);if(e=new u.Bounds(e.min.subtract(n),e.max.add(n)),this._parts=[],this._pxBounds&&this._pxBounds.intersects(e)){if(this.options.noClip)return void(this._parts=this._rings);for(var r,o=0,i=this._rings.length;o';var t=e.firstChild;return t.style.behavior="url(#default#VML)",t&&"object"==typeof t.adj}catch(e){return!1}}(),u.SVG.include(u.Browser.vml?{_initContainer:function(){this._container=u.DomUtil.create("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(u.Renderer.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var t=e._container=u.SVG.create("shape");u.DomUtil.addClass(t,"leaflet-vml-shape "+(this.options.className||"")),t.coordsize="1 1",e._path=u.SVG.create("path"),t.appendChild(e._path),this._updateStyle(e),this._layers[u.stamp(e)]=e},_addPath:function(e){var t=e._container;this._container.appendChild(t),e.options.interactive&&e.addInteractiveTarget(t)},_removePath:function(e){var t=e._container;u.DomUtil.remove(t),e.removeInteractiveTarget(t),delete this._layers[u.stamp(e)]},_updateStyle:function(e){var t=e._stroke,n=e._fill,r=e.options,o=e._container;o.stroked=!!r.stroke,o.filled=!!r.fill,r.stroke?(t||(t=e._stroke=u.SVG.create("stroke")),o.appendChild(t),t.weight=r.weight+"px",t.color=r.color,t.opacity=r.opacity,r.dashArray?t.dashStyle=u.Util.isArray(r.dashArray)?r.dashArray.join(" "):r.dashArray.replace(/( *, *)/g," "):t.dashStyle="",t.endcap=r.lineCap.replace("butt","flat"),t.joinstyle=r.lineJoin):t&&(o.removeChild(t),e._stroke=null),r.fill?(n||(n=e._fill=u.SVG.create("fill")),o.appendChild(n),n.color=r.fillColor||r.color,n.opacity=r.fillOpacity):n&&(o.removeChild(n),e._fill=null)},_updateCircle:function(e){var t=e._point.round(),n=Math.round(e._radius),r=Math.round(e._radiusY||n);this._setPath(e,e._empty()?"M0 0":"AL "+t.x+","+t.y+" "+n+","+r+" 0,23592600")},_setPath:function(e,t){e._path.v=t},_bringToFront:function(e){u.DomUtil.toFront(e._container)},_bringToBack:function(e){u.DomUtil.toBack(e._container)}}:{}),u.Browser.vml&&(u.SVG.create=function(){try{return a.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(e){return a.createElement("')}}catch(e){return function(e){return a.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}}()),u.Canvas=u.Renderer.extend({getEvents:function(){var e=u.Renderer.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){u.Renderer.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=a.createElement("canvas");u.DomEvent.on(e,"mousemove",u.Util.throttle(this._onMouseMove,32,this),this).on(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this).on(e,"mouseout",this._handleMouseOut,this),this._ctx=e.getContext("2d")},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var t in this._layers)e=this._layers[t],e._update();this._redraw()}},_update:function(){if(!this._map._animatingZoom||!this._bounds){this._drawnLayers={},u.Renderer.prototype._update.call(this);var e=this._bounds,t=this._container,n=e.getSize(),r=u.Browser.retina?2:1;u.DomUtil.setPosition(t,e.min),t.width=r*n.x,t.height=r*n.y,t.style.width=n.x+"px",t.style.height=n.y+"px",u.Browser.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){u.Renderer.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[u.stamp(e)]=e;var t=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var t=e._order,n=t.next,r=t.prev;n?n.prev=r:this._drawLast=r,r?r.next=n:this._drawFirst=n,delete e._order,delete this._layers[u.stamp(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(e.options.dashArray){var t,n=e.options.dashArray.split(","),r=[];for(t=0;te.y!=r.y>e.y&&e.x<(r.x-n.x)*(e.y-n.y)/(r.y-n.y)+n.x&&(c=!c);return c||u.Polyline.prototype._containsPoint.call(this,e,!0)},u.CircleMarker.prototype._containsPoint=function(e){return e.distanceTo(this._point)<=this._radius+this._clickTolerance()},u.GeoJSON=u.FeatureGroup.extend({initialize:function(e,t){u.setOptions(this,t),this._layers={},e&&this.addData(e)},addData:function(e){var t,n,r,o=u.Util.isArray(e)?e:e.features;if(o){for(t=0,n=o.length;t1)return void(this._moved=!0);var t=e.touches&&1===e.touches.length?e.touches[0]:e,n=new u.Point(t.clientX,t.clientY),r=n.subtract(this._startPoint);(r.x||r.y)&&(Math.abs(r.x)+Math.abs(r.y)50&&(this._positions.shift(),this._times.shift())}this._map.fire("move",e).fire("drag",e)},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),t=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=t.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,t){return e-(e-t)*this._viscosity},_onPreDragLimit:function(){if(this._viscosity&&this._offsetLimit){var e=this._draggable._newPos.subtract(this._draggable._startPos),t=this._offsetLimit;e.xt.max.x&&(e.x=this._viscousLimit(e.x,t.max.x)),e.y>t.max.y&&(e.y=this._viscousLimit(e.y,t.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,t=Math.round(e/2),n=this._initialWorldOffset,r=this._draggable._newPos.x,o=(r-t+n)%e+t-n,i=(r+t+n)%e-t-n,a=Math.abs(o+n)0?i:-i))-t;this._delta=0,this._startTime=null,a&&("center"===e.options.scrollWheelZoom?e.setZoom(t+a):e.setZoomAround(this._lastMousePos,t+a))}}),u.Map.addInitHook("addHandler","scrollWheelZoom",u.Map.ScrollWheelZoom),u.extend(u.DomEvent,{_touchstart:u.Browser.msPointer?"MSPointerDown":u.Browser.pointer?"pointerdown":"touchstart",_touchend:u.Browser.msPointer?"MSPointerUp":u.Browser.pointer?"pointerup":"touchend",addDoubleTapListener:function(e,t,n){function r(e){var t;if(u.Browser.pointer){if(!u.Browser.edge||"mouse"===e.pointerType)return;t=u.DomEvent._pointersCount}else t=e.touches.length;if(!(t>1)){var n=Date.now(),r=n-(i||n);a=e.touches?e.touches[0]:e,s=r>0&&r<=l,i=n}}function o(e){if(s&&!a.cancelBubble){if(u.Browser.pointer){if(!u.Browser.edge||"mouse"===e.pointerType)return;var n,r,o={};for(r in a)n=a[r],o[r]=n&&n.bind?n.bind(a):n;a=o}a.type="dblclick",t(a),i=null}}var i,a,s=!1,l=250,c="_leaflet_",d=this._touchstart,p=this._touchend;return e[c+d+n]=r,e[c+p+n]=o,e[c+"dblclick"+n]=t,e.addEventListener(d,r,!1),e.addEventListener(p,o,!1),e.addEventListener("dblclick",t,!1),this},removeDoubleTapListener:function(e,t){var n="_leaflet_",r=e[n+this._touchstart+t],o=e[n+this._touchend+t],i=e[n+"dblclick"+t];return e.removeEventListener(this._touchstart,r,!1),e.removeEventListener(this._touchend,o,!1),u.Browser.edge||e.removeEventListener("dblclick",i,!1),this}}),u.extend(u.DomEvent,{POINTER_DOWN:u.Browser.msPointer?"MSPointerDown":"pointerdown",POINTER_MOVE:u.Browser.msPointer?"MSPointerMove":"pointermove",POINTER_UP:u.Browser.msPointer?"MSPointerUp":"pointerup",POINTER_CANCEL:u.Browser.msPointer?"MSPointerCancel":"pointercancel",TAG_WHITE_LIST:["INPUT","SELECT","OPTION"],_pointers:{},_pointersCount:0,addPointerListener:function(e,t,n,r){return"touchstart"===t?this._addPointerStart(e,n,r):"touchmove"===t?this._addPointerMove(e,n,r):"touchend"===t&&this._addPointerEnd(e,n,r),this},removePointerListener:function(e,t,n){var r=e["_leaflet_"+t+n];return"touchstart"===t?e.removeEventListener(this.POINTER_DOWN,r,!1):"touchmove"===t?e.removeEventListener(this.POINTER_MOVE,r,!1):"touchend"===t&&(e.removeEventListener(this.POINTER_UP,r,!1),e.removeEventListener(this.POINTER_CANCEL,r,!1)),this},_addPointerStart:function(e,t,n){var r=u.bind(function(e){if("mouse"!==e.pointerType&&e.MSPOINTER_TYPE_MOUSE&&e.pointerType!==e.MSPOINTER_TYPE_MOUSE){if(!(this.TAG_WHITE_LIST.indexOf(e.target.tagName)<0))return;u.DomEvent.preventDefault(e)}this._handlePointer(e,t)},this);if(e["_leaflet_touchstart"+n]=r,e.addEventListener(this.POINTER_DOWN,r,!1),!this._pointerDocListener){var o=u.bind(this._globalPointerUp,this);a.documentElement.addEventListener(this.POINTER_DOWN,u.bind(this._globalPointerDown,this),!0),a.documentElement.addEventListener(this.POINTER_MOVE,u.bind(this._globalPointerMove,this),!0),a.documentElement.addEventListener(this.POINTER_UP,o,!0),a.documentElement.addEventListener(this.POINTER_CANCEL,o,!0),this._pointerDocListener=!0}},_globalPointerDown:function(e){this._pointers[e.pointerId]=e,this._pointersCount++},_globalPointerMove:function(e){this._pointers[e.pointerId]&&(this._pointers[e.pointerId]=e)},_globalPointerUp:function(e){delete this._pointers[e.pointerId],this._pointersCount--},_handlePointer:function(e,t){e.touches=[];for(var n in this._pointers)e.touches.push(this._pointers[n]);e.changedTouches=[e],t(e)},_addPointerMove:function(e,t,n){var r=u.bind(function(e){(e.pointerType!==e.MSPOINTER_TYPE_MOUSE&&"mouse"!==e.pointerType||0!==e.buttons)&&this._handlePointer(e,t)},this);e["_leaflet_touchmove"+n]=r,e.addEventListener(this.POINTER_MOVE,r,!1)},_addPointerEnd:function(e,t,n){var r=u.bind(function(e){this._handlePointer(e,t)},this);e["_leaflet_touchend"+n]=r,e.addEventListener(this.POINTER_UP,r,!1),e.addEventListener(this.POINTER_CANCEL,r,!1)}}),u.Map.mergeOptions({touchZoom:u.Browser.touch&&!u.Browser.android23,bounceAtZoomLimits:!0}),u.Map.TouchZoom=u.Handler.extend({addHooks:function(){u.DomUtil.addClass(this._map._container,"leaflet-touch-zoom"),u.DomEvent.on(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){u.DomUtil.removeClass(this._map._container,"leaflet-touch-zoom"),u.DomEvent.off(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var t=this._map;if(e.touches&&2===e.touches.length&&!t._animatingZoom&&!this._zooming){var n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=t.getSize()._divideBy(2),this._startLatLng=t.containerPointToLatLng(this._centerPoint),"center"!==t.options.touchZoom&&(this._pinchStartLatLng=t.containerPointToLatLng(n.add(r)._divideBy(2))),this._startDist=n.distanceTo(r),this._startZoom=t.getZoom(),this._moved=!1,this._zooming=!0,t._stop(),u.DomEvent.on(a,"touchmove",this._onTouchMove,this).on(a,"touchend",this._onTouchEnd,this),u.DomEvent.preventDefault(e)}},_onTouchMove:function(e){if(e.touches&&2===e.touches.length&&this._zooming){var t=this._map,n=t.mouseEventToContainerPoint(e.touches[0]),r=t.mouseEventToContainerPoint(e.touches[1]),o=n.distanceTo(r)/this._startDist;if(this._zoom=t.getScaleZoom(o,this._startZoom),!t.options.bounceAtZoomLimits&&(this._zoomt.getMaxZoom()&&o>1)&&(this._zoom=t._limitZoom(this._zoom)),"center"===t.options.touchZoom){if(this._center=this._startLatLng,1===o)return}else{var i=n._add(r)._divideBy(2)._subtract(this._centerPoint);if(1===o&&0===i.x&&0===i.y)return;this._center=t.unproject(t.project(this._pinchStartLatLng,this._zoom).subtract(i),this._zoom)}this._moved||(t._moveStart(!0),this._moved=!0),u.Util.cancelAnimFrame(this._animRequest);var a=u.bind(t._move,t,this._center,this._zoom,{pinch:!0,round:!1});this._animRequest=u.Util.requestAnimFrame(a,this,!0),u.DomEvent.preventDefault(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming)return void(this._zooming=!1);this._zooming=!1,u.Util.cancelAnimFrame(this._animRequest),u.DomEvent.off(a,"touchmove",this._onTouchMove).off(a,"touchend",this._onTouchEnd),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}}),u.Map.addInitHook("addHandler","touchZoom",u.Map.TouchZoom),u.Map.mergeOptions({tap:!0,tapTolerance:15}),u.Map.Tap=u.Handler.extend({addHooks:function(){u.DomEvent.on(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){u.DomEvent.off(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(e.touches){if(u.DomEvent.preventDefault(e),this._fireClick=!0,e.touches.length>1)return this._fireClick=!1,void clearTimeout(this._holdTimeout);var t=e.touches[0],n=t.target;this._startPos=this._newPos=new u.Point(t.clientX,t.clientY),n.tagName&&"a"===n.tagName.toLowerCase()&&u.DomUtil.addClass(n,"leaflet-active"),this._holdTimeout=setTimeout(u.bind(function(){this._isTapValid()&&(this._fireClick=!1,this._onUp(),this._simulateEvent("contextmenu",t))},this),1e3),this._simulateEvent("mousedown",t),u.DomEvent.on(a,{touchmove:this._onMove,touchend:this._onUp},this)}},_onUp:function(e){if(clearTimeout(this._holdTimeout),u.DomEvent.off(a,{touchmove:this._onMove,touchend:this._onUp},this),this._fireClick&&e&&e.changedTouches){var t=e.changedTouches[0],n=t.target;n&&n.tagName&&"a"===n.tagName.toLowerCase()&&u.DomUtil.removeClass(n,"leaflet-active"),this._simulateEvent("mouseup",t),this._isTapValid()&&this._simulateEvent("click",t)}},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_onMove:function(e){var t=e.touches[0];this._newPos=new u.Point(t.clientX,t.clientY),this._simulateEvent("mousemove",t)},_simulateEvent:function(e,t){var n=a.createEvent("MouseEvents");n._simulated=!0,t.target._simulatedClick=!0,n.initMouseEvent(e,!0,!0,i,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(n)}}),u.Browser.touch&&!u.Browser.pointer&&u.Map.addInitHook("addHandler","tap",u.Map.Tap),u.Map.mergeOptions({boxZoom:!0}),u.Map.BoxZoom=u.Handler.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane},addHooks:function(){u.DomEvent.on(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){u.DomEvent.off(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_resetState:function(){this._moved=!1},_onMouseDown:function(e){if(!e.shiftKey||1!==e.which&&1!==e.button)return!1;this._resetState(),u.DomUtil.disableTextSelection(),u.DomUtil.disableImageDrag(),this._startPoint=this._map.mouseEventToContainerPoint(e),u.DomEvent.on(a,{contextmenu:u.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=u.DomUtil.create("div","leaflet-zoom-box",this._container),u.DomUtil.addClass(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var t=new u.Bounds(this._point,this._startPoint),n=t.getSize();u.DomUtil.setPosition(this._box,t.min),this._box.style.width=n.x+"px",this._box.style.height=n.y+"px"},_finish:function(){this._moved&&(u.DomUtil.remove(this._box),u.DomUtil.removeClass(this._container,"leaflet-crosshair")),u.DomUtil.enableTextSelection(),u.DomUtil.enableImageDrag(),u.DomEvent.off(a,{contextmenu:u.DomEvent.stop,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if((1===e.which||1===e.button)&&(this._finish(),this._moved)){setTimeout(u.bind(this._resetState,this),0);var t=new u.LatLngBounds(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})}},_onKeyDown:function(e){27===e.keyCode&&this._finish()}}),u.Map.addInitHook("addHandler","boxZoom",u.Map.BoxZoom),u.Map.mergeOptions({keyboard:!0,keyboardPanDelta:80}),u.Map.Keyboard=u.Handler.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(e){this._map=e,this._setPanDelta(e.options.keyboardPanDelta),this._setZoomDelta(e.options.zoomDelta)},addHooks:function(){var e=this._map._container;e.tabIndex<=0&&(e.tabIndex="0"),u.DomEvent.on(e,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),u.DomEvent.off(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){if(!this._focused){var e=a.body,t=a.documentElement,n=e.scrollTop||t.scrollTop,r=e.scrollLeft||t.scrollLeft;this._map._container.focus(),i.scrollTo(r,n)}},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(e){var t,n,r=this._panKeys={},o=this.keyCodes;for(t=0,n=o.left.length;t0&&e.screenY>0&&this._map.getContainer().focus()}}),u.control=function(e){return new u.Control(e)},u.Map.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){function e(e,o){var i=n+e+" "+n+o;t[e+o]=u.DomUtil.create("div",i,r)}var t=this._controlCorners={},n="leaflet-",r=this._controlContainer=u.DomUtil.create("div",n+"control-container",this._container);e("top","left"),e("top","right"),e("bottom","left"),e("bottom","right")},_clearControlPos:function(){u.DomUtil.remove(this._controlContainer)}}),u.Control.Zoom=u.Control.extend({options:{position:"topleft",zoomInText:"+",zoomInTitle:"Zoom in",zoomOutText:"-",zoomOutTitle:"Zoom out"},onAdd:function(e){var t="leaflet-control-zoom",n=u.DomUtil.create("div",t+" leaflet-bar"),r=this.options;return this._zoomInButton=this._createButton(r.zoomInText,r.zoomInTitle,t+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(r.zoomOutText,r.zoomOutTitle,t+"-out",n,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,t,n,r,o){var i=u.DomUtil.create("a",n,r);return i.innerHTML=e,i.href="#",i.title=t,i.setAttribute("role","button"),i.setAttribute("aria-label",t),u.DomEvent.on(i,"mousedown dblclick",u.DomEvent.stopPropagation).on(i,"click",u.DomEvent.stop).on(i,"click",o,this).on(i,"click",this._refocusOnMap,this),i},_updateDisabled:function(){var e=this._map,t="leaflet-disabled";u.DomUtil.removeClass(this._zoomInButton,t),u.DomUtil.removeClass(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMinZoom())&&u.DomUtil.addClass(this._zoomOutButton,t),(this._disabled||e._zoom===e.getMaxZoom())&&u.DomUtil.addClass(this._zoomInButton,t)}}),u.Map.mergeOptions({zoomControl:!0}),u.Map.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new u.Control.Zoom,this.addControl(this.zoomControl))}),u.control.zoom=function(e){return new u.Control.Zoom(e)},u.Control.Attribution=u.Control.extend({options:{position:"bottomright",prefix:'Leaflet'},initialize:function(e){u.setOptions(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=u.DomUtil.create("div","leaflet-control-attribution"),u.DomEvent&&u.DomEvent.disableClickPropagation(this._container);for(var t in e._layers)e._layers[t].getAttribution&&this.addAttribution(e._layers[t].getAttribution());return this._update(),this._container},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(" | ")}}}),u.Map.mergeOptions({attributionControl:!0}),u.Map.addInitHook(function(){this.options.attributionControl&&(new u.Control.Attribution).addTo(this)}),u.control.attribution=function(e){return new u.Control.Attribution(e)},u.Control.Scale=u.Control.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var t="leaflet-control-scale",n=u.DomUtil.create("div",t),r=this.options;return this._addScales(r,t+"-line",n),e.on(r.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),n},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,t,n){e.metric&&(this._mScale=u.DomUtil.create("div",t,n)),e.imperial&&(this._iScale=u.DomUtil.create("div",t,n))},_update:function(){var e=this._map,t=e.getSize().y/2,n=e.distance(e.containerPointToLatLng([0,t]),e.containerPointToLatLng([this.options.maxWidth,t]));this._updateScales(n)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var t=this._getRoundNum(e),n=t<1e3?t+" m":t/1e3+" km";this._updateScale(this._mScale,n,t/e)},_updateImperial:function(e){var t,n,r,o=3.2808399*e;o>5280?(t=o/5280,n=this._getRoundNum(t),this._updateScale(this._iScale,n+" mi",n/t)):(r=this._getRoundNum(o),this._updateScale(this._iScale,r+" ft",r/o))},_updateScale:function(e,t,n){e.style.width=Math.round(this.options.maxWidth*n)+"px",e.innerHTML=t},_getRoundNum:function(e){var t=Math.pow(10,(Math.floor(e)+"").length-1),n=e/t;return n=n>=10?10:n>=5?5:n>=3?3:n>=2?2:1,t*n}}),u.control.scale=function(e){return new u.Control.Scale(e)},u.Control.Layers=u.Control.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,t,n,r){return n1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=t&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var t=this._getLayer(u.stamp(e.target)),n=t.overlay?"add"===e.type?"overlayadd":"overlayremove":"add"===e.type?"baselayerchange":null;n&&this._map.fire(n,t)},_createRadioElement:function(e,t){var n='",r=a.createElement("div");return r.innerHTML=n,r.firstChild},_addItem:function(e){var t,n=a.createElement("label"),r=this._map.hasLayer(e.layer);e.overlay?(t=a.createElement("input"),t.type="checkbox",t.className="leaflet-control-layers-selector",t.defaultChecked=r):t=this._createRadioElement("leaflet-base-layers",r),t.layerId=u.stamp(e.layer),u.DomEvent.on(t,"click",this._onInputClick,this);var o=a.createElement("span");o.innerHTML=" "+e.name;var i=a.createElement("div");return n.appendChild(i),i.appendChild(t),i.appendChild(o),(e.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){var e,t,n,r=this._form.getElementsByTagName("input"),o=[],i=[];this._handlingClick=!0;for(var a=r.length-1;a>=0;a--)e=r[a],t=this._getLayer(e.layerId).layer,n=this._map.hasLayer(t),e.checked&&!n?o.push(t):!e.checked&&n&&i.push(t);for(a=0;a=0;o--)e=n[o],t=this._getLayer(e.layerId).layer,e.disabled=t.options.minZoom!==s&&rt.options.maxZoom},_expand:function(){return this.expand()},_collapse:function(){return this.collapse()}}),u.control.layers=function(e,t,n){return new u.Control.Layers(e,t,n)}}(window,document)},"./node_modules/leaflet/dist/leaflet.css":function(e,t,n){var r=n('./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/leaflet/dist/leaflet.css');"string"==typeof r&&(r=[[e.i,r,""]]);n("./node_modules/style-loader/addStyles.js")(r,{});r.locals&&(e.exports=r.locals)},"./node_modules/lodash.camelcase/index.js":function(e,t,n){(function(t){function n(e,t,n,r){var o=-1,i=e?e.length:0;for(r&&i&&(n=e[++o]);++oo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=r?e:d(e,t,n)}function h(e){return function(t){t=v(t);var n=a(t)?l(t):void 0,r=n?n[0]:t.charAt(0),o=n?f(n,1).join(""):t.slice(1);return r[e]()+o}}function m(e){return function(t){return n(A(_(t).replace(ue,"")),e,"")}}function g(e){return!!e&&"object"==typeof e}function y(e){return"symbol"==typeof e||g(e)&&Ae.call(e)==j}function v(e){return null==e?"":p(e)}function b(e){return Ee(v(e).toLowerCase())}function _(e){return(e=v(e))&&e.replace(C,be).replace(ce,"")}function A(e,t,n){return e=v(e),t=n?void 0:t,void 0===t?s(e)?c(e):o(e):e.match(t)||[]}var x=1/0,j="[object Symbol]",w=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,C=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,E="\\ud800-\\udfff",k="\\u0300-\\u036f\\ufe20-\\ufe23",T="\\u20d0-\\u20f0",S="\\u2700-\\u27bf",P="a-z\\xdf-\\xf6\\xf8-\\xff",M="\\xac\\xb1\\xd7\\xf7",D="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",O="\\u2000-\\u206f",I=" \\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",R="A-Z\\xc0-\\xd6\\xd8-\\xde",L="\\ufe0e\\ufe0f",F=M+D+O+I,N="['’]",B="["+E+"]",z="["+F+"]",H="["+k+T+"]",U="\\d+",W="["+S+"]",q="["+P+"]",V="[^"+E+F+U+S+P+R+"]",G="\\ud83c[\\udffb-\\udfff]",K="(?:"+H+"|"+G+")",Y="[^"+E+"]",Q="(?:\\ud83c[\\udde6-\\uddff]){2}",X="[\\ud800-\\udbff][\\udc00-\\udfff]",Z="["+R+"]",J="\\u200d",$="(?:"+q+"|"+V+")",ee="(?:"+Z+"|"+V+")",te="(?:"+N+"(?:d|ll|m|re|s|t|ve))?",ne="(?:"+N+"(?:D|LL|M|RE|S|T|VE))?",re=K+"?",oe="["+L+"]?",ie="(?:"+J+"(?:"+[Y,Q,X].join("|")+")"+oe+re+")*",ae=oe+re+ie,se="(?:"+[W,Q,X].join("|")+")"+ae,le="(?:"+[Y+H+"?",H,Q,X,B].join("|")+")",ue=RegExp(N,"g"),ce=RegExp(H,"g"),de=RegExp(G+"(?="+G+")|"+le+ae,"g"),pe=RegExp([Z+"?"+q+"+"+te+"(?="+[z,Z,"$"].join("|")+")",ee+"+"+ne+"(?="+[z,Z+$,"$"].join("|")+")",Z+"?"+$+"+"+te,Z+"+"+ne,U,se].join("|"),"g"),fe=RegExp("["+J+E+k+T+L+"]"),he=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,me={"À":"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","ſ":"ss"},ge="object"==typeof t&&t&&t.Object===Object&&t,ye="object"==typeof self&&self&&self.Object===Object&&self,ve=ge||ye||Function("return this")(),be=i(me),_e=Object.prototype,Ae=_e.toString,xe=ve.Symbol,je=xe?xe.prototype:void 0,we=je?je.toString:void 0,Ce=m(function(e,t,n){return t=t.toLowerCase(),e+(n?b(t):t)}),Ee=h("toUpperCase");e.exports=Ce}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/lodash.clonedeep/index.js":function(e,t,n){(function(e,n){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function i(e,t){for(var n=-1,r=e?e.length:0;++n-1}function C(e,t){var n=this.__data__,r=z(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Pe}function je(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function we(e){return!!e&&"object"==typeof e}function Ce(e){return be(e)?N(e):K(e)}function Ee(){return[]}function ke(){return!1}var Te=200,Se="__lodash_hash_undefined__",Pe=9007199254740991,Me="[object Arguments]",De="[object Boolean]",Oe="[object Date]",Ie="[object Function]",Re="[object GeneratorFunction]",Le="[object Map]",Fe="[object Number]",Ne="[object Object]",Be="[object Promise]",ze="[object RegExp]",He="[object Set]",Ue="[object String]",We="[object Symbol]",qe="[object WeakMap]",Ve="[object ArrayBuffer]",Ge="[object DataView]",Ke="[object Float32Array]",Ye="[object Float64Array]",Qe="[object Int8Array]",Xe="[object Int16Array]",Ze="[object Int32Array]",Je="[object Uint8Array]",$e="[object Uint8ClampedArray]",et="[object Uint16Array]",tt="[object Uint32Array]",nt=/[\\^$.*+?()[\]{}|]/g,rt=/\w*$/,ot=/^\[object .+?Constructor\]$/,it=/^(?:0|[1-9]\d*)$/,at={};at[Me]=at["[object Array]"]=at[Ve]=at[Ge]=at[De]=at[Oe]=at[Ke]=at[Ye]=at[Qe]=at[Xe]=at[Ze]=at[Le]=at[Fe]=at[Ne]=at[ze]=at[He]=at[Ue]=at[We]=at[Je]=at[$e]=at[et]=at[tt]=!0,at["[object Error]"]=at[Ie]=at[qe]=!1;var st="object"==typeof e&&e&&e.Object===Object&&e,lt="object"==typeof self&&self&&self.Object===Object&&self,ut=st||lt||Function("return this")(),ct="object"==typeof t&&t&&!t.nodeType&&t,dt=ct&&"object"==typeof n&&n&&!n.nodeType&&n,pt=dt&&dt.exports===ct,ft=Array.prototype,ht=Function.prototype,mt=Object.prototype,gt=ut["__core-js_shared__"],yt=function(){var e=/[^.]+$/.exec(gt&>.keys&>.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),vt=ht.toString,bt=mt.hasOwnProperty,_t=mt.toString,At=RegExp("^"+vt.call(bt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),xt=pt?ut.Buffer:void 0,jt=ut.Symbol,wt=ut.Uint8Array,Ct=p(Object.getPrototypeOf,Object),Et=Object.create,kt=mt.propertyIsEnumerable,Tt=ft.splice,St=Object.getOwnPropertySymbols,Pt=xt?xt.isBuffer:void 0,Mt=p(Object.keys,Object),Dt=se(ut,"DataView"),Ot=se(ut,"Map"),It=se(ut,"Promise"),Rt=se(ut,"Set"),Lt=se(ut,"WeakMap"),Ft=se(Object,"create"),Nt=me(Dt),Bt=me(Ot),zt=me(It),Ht=me(Rt),Ut=me(Lt),Wt=jt?jt.prototype:void 0,qt=Wt?Wt.valueOf:void 0;h.prototype.clear=m,h.prototype.delete=g,h.prototype.get=y,h.prototype.has=v,h.prototype.set=b,_.prototype.clear=A,_.prototype.delete=x,_.prototype.get=j,_.prototype.has=w,_.prototype.set=C,E.prototype.clear=k,E.prototype.delete=T,E.prototype.get=S,E.prototype.has=P,E.prototype.set=M,D.prototype.clear=O,D.prototype.delete=I,D.prototype.get=R,D.prototype.has=L,D.prototype.set=F;var Vt=St?p(St,Object):Ee,Gt=V;(Dt&&Gt(new Dt(new ArrayBuffer(1)))!=Ge||Ot&&Gt(new Ot)!=Le||It&&Gt(It.resolve())!=Be||Rt&&Gt(new Rt)!=He||Lt&&Gt(new Lt)!=qe)&&(Gt=function(e){var t=_t.call(e),n=t==Ne?e.constructor:void 0,r=n?me(n):void 0;if(r)switch(r){case Nt:return Ge;case Bt:return Le;case zt:return Be;case Ht:return He;case Ut:return qe}return t});var Kt=Array.isArray,Yt=Pt||ke;n.exports=ge}).call(t,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash.compact/index.js":function(e,t){function n(e){for(var t=-1,n=e?e.length:0,r=0,o=[];++t-1}function w(e,t){var n=this.__data__,r=H(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t-1?o[i?t[a]:a]:void 0}}function oe(e,t,n,o,i,a){var s=i&qe,l=e.length,u=t.length;if(l!=u&&!(s&&u>l))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var d=-1,p=!0,f=i&We?new M:void 0;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=Ge}function Te(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Se(e){return!!e&&"object"==typeof e}function Pe(e){return"symbol"==typeof e||Se(e)&&Wt.call(e)==ut}function Me(e){if(!e)return 0===e?e:0;if((e=Oe(e))===Ve||e===-Ve){return(e<0?-1:1)*Ke}return e===e?e:0}function De(e){var t=Me(e),n=t%1;return t===t?n?t-n:t:0}function Oe(e){if("number"==typeof e)return e;if(Pe(e))return Ye;if(Te(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Te(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(vt,"");var n=At.test(e);return n||jt.test(e)?Et(e.slice(2),n?2:8):_t.test(e)?Ye:+e}function Ie(e){return null==e?"":te(e)}function Re(e,t,n){var r=null==e?void 0:U(e,t);return void 0===r?n:r}function Le(e,t){return null!=e&&ce(e,t,q)}function Fe(e){return we(e)?z(e):Z(e)}function Ne(e){return e}function Be(e){return pe(e)?i(ve(e)):ee(e)}var ze=200,He="Expected a function",Ue="__lodash_hash_undefined__",We=1,qe=2,Ve=1/0,Ge=9007199254740991,Ke=1.7976931348623157e308,Ye=NaN,Qe="[object Arguments]",Xe="[object Array]",Ze="[object Boolean]",Je="[object Date]",$e="[object Error]",et="[object Function]",tt="[object GeneratorFunction]",nt="[object Map]",rt="[object Number]",ot="[object Object]",it="[object Promise]",at="[object RegExp]",st="[object Set]",lt="[object String]",ut="[object Symbol]",ct="[object WeakMap]",dt="[object ArrayBuffer]",pt="[object DataView]",ft=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ht=/^\w*$/,mt=/^\./,gt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,yt=/[\\^$.*+?()[\]{}|]/g,vt=/^\s+|\s+$/g,bt=/\\(\\)?/g,_t=/^[-+]0x[0-9a-f]+$/i,At=/^0b[01]+$/i,xt=/^\[object .+?Constructor\]$/,jt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,Ct={};Ct["[object Float32Array]"]=Ct["[object Float64Array]"]=Ct["[object Int8Array]"]=Ct["[object Int16Array]"]=Ct["[object Int32Array]"]=Ct["[object Uint8Array]"]=Ct["[object Uint8ClampedArray]"]=Ct["[object Uint16Array]"]=Ct["[object Uint32Array]"]=!0,Ct[Qe]=Ct[Xe]=Ct[dt]=Ct[Ze]=Ct[pt]=Ct[Je]=Ct[$e]=Ct[et]=Ct[nt]=Ct[rt]=Ct[ot]=Ct[at]=Ct[st]=Ct[lt]=Ct[ct]=!1;var Et=parseInt,kt="object"==typeof e&&e&&e.Object===Object&&e,Tt="object"==typeof self&&self&&self.Object===Object&&self,St=kt||Tt||Function("return this")(),Pt="object"==typeof t&&t&&!t.nodeType&&t,Mt=Pt&&"object"==typeof n&&n&&!n.nodeType&&n,Dt=Mt&&Mt.exports===Pt,Ot=Dt&&kt.process,It=function(){try{return Ot&&Ot.binding("util")}catch(e){}}(),Rt=It&&It.isTypedArray,Lt=Array.prototype,Ft=Function.prototype,Nt=Object.prototype,Bt=St["__core-js_shared__"],zt=function(){var e=/[^.]+$/.exec(Bt&&Bt.keys&&Bt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ht=Ft.toString,Ut=Nt.hasOwnProperty,Wt=Nt.toString,qt=RegExp("^"+Ht.call(Ut).replace(yt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Vt=St.Symbol,Gt=St.Uint8Array,Kt=Nt.propertyIsEnumerable,Yt=Lt.splice,Qt=d(Object.keys,Object),Xt=Math.max,Zt=ue(St,"DataView"),Jt=ue(St,"Map"),$t=ue(St,"Promise"),en=ue(St,"Set"),tn=ue(St,"WeakMap"),nn=ue(Object,"create"),rn=be(Zt),on=be(Jt),an=be($t),sn=be(en),ln=be(tn),un=Vt?Vt.prototype:void 0,cn=un?un.valueOf:void 0,dn=un?un.toString:void 0;f.prototype.clear=h,f.prototype.delete=m,f.prototype.get=g,f.prototype.has=y,f.prototype.set=v,b.prototype.clear=_,b.prototype.delete=A,b.prototype.get=x,b.prototype.has=j,b.prototype.set=w,C.prototype.clear=E,C.prototype.delete=k,C.prototype.get=T,C.prototype.has=S,C.prototype.set=P,M.prototype.add=M.prototype.push=D,M.prototype.has=O,I.prototype.clear=R,I.prototype.delete=L,I.prototype.get=F,I.prototype.has=N,I.prototype.set=B;var pn=W;(Zt&&pn(new Zt(new ArrayBuffer(1)))!=pt||Jt&&pn(new Jt)!=nt||$t&&pn($t.resolve())!=it||en&&pn(new en)!=st||tn&&pn(new tn)!=ct)&&(pn=function(e){var t=Wt.call(e),n=t==ot?e.constructor:void 0,r=n?be(n):void 0;if(r)switch(r){case rn:return pt;case on:return nt;case an:return it;case sn:return st;case ln:return ct}return t});var fn=Ae(function(e){e=Ie(e);var t=[];return mt.test(e)&&t.push(""),e.replace(gt,function(e,n,r,o){t.push(r?o.replace(bt,"$1"):n||e)}),t}),hn=re(_e);Ae.Cache=C;var mn=Array.isArray,gn=Rt?s(Rt):Q;n.exports=hn}).call(t,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash.foreach/index.js":function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0;++n-1&&e%1==0&&e-1&&e%1==0&&e<=x}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){return!!e&&"object"==typeof e}function _(e){return h(e)?i(e):s(e)}function A(e){return e}var x=9007199254740991,j="[object Arguments]",w="[object Function]",C="[object GeneratorFunction]",E=/^(?:0|[1-9]\d*)$/,k=Object.prototype,T=k.hasOwnProperty,S=k.toString,P=k.propertyIsEnumerable,M=o(Object.keys,Object),D=l(a),O=u(),I=Array.isArray;e.exports=p},"./node_modules/lodash.includes/index.js":function(e,t){function n(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n-1&&e%1==0&&e-1:!!i&&o(e,t,n)>-1}function h(e){return g(e)&&q.call(e,"callee")&&(!G.call(e,"callee")||V.call(e)==D)}function m(e){return null!=e&&v(e.length)&&!y(e)}function g(e){return _(e)&&m(e)}function y(e){var t=b(e)?V.call(e):"";return t==O||t==I}function v(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=S}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function _(e){return!!e&&"object"==typeof e}function A(e){return"string"==typeof e||!Q(e)&&_(e)&&V.call(e)==R}function x(e){return"symbol"==typeof e||_(e)&&V.call(e)==L}function j(e){if(!e)return 0===e?e:0;if((e=C(e))===T||e===-T){return(e<0?-1:1)*P}return e===e?e:0}function w(e){var t=j(e),n=t%1;return t===t?n?t-n:t:0}function C(e){if("number"==typeof e)return e;if(x(e))return M;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(F,"");var n=B.test(e);return n||z.test(e)?U(e.slice(2),n?2:8):N.test(e)?M:+e}function E(e){return m(e)?u(e):c(e)}function k(e){return e?s(e,E(e)):[]}var T=1/0,S=9007199254740991,P=1.7976931348623157e308,M=NaN,D="[object Arguments]",O="[object Function]",I="[object GeneratorFunction]",R="[object String]",L="[object Symbol]",F=/^\s+|\s+$/g,N=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,z=/^0o[0-7]+$/i,H=/^(?:0|[1-9]\d*)$/,U=parseInt,W=Object.prototype,q=W.hasOwnProperty,V=W.toString,G=W.propertyIsEnumerable,K=l(Object.keys,Object),Y=Math.max,Q=Array.isArray;e.exports=f},"./node_modules/lodash.map/index.js":function(e,t,n){(function(e,n){function r(e,t){for(var n=-1,r=e?e.length:0,o=Array(r);++n-1}function w(e,t){var n=this.__data__,r=H(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++tl))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var d=-1,p=!0,f=i&We?new M:void 0;for(a.set(e,t),a.set(t,e);++d-1&&e%1==0&&e-1&&e%1==0&&e<=Ge}function Me(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function De(e){return!!e&&"object"==typeof e}function Oe(e){return"symbol"==typeof e||De(e)&&Lt.call(e)==st}function Ie(e){return null==e?"":re(e)}function Re(e,t,n){var r=null==e?void 0:W(e,t);return void 0===r?n:r}function Le(e,t){return null!=e&&fe(e,t,V)}function Fe(e){return ke(e)?z(e):J(e)}function Ne(e){return e}function Be(e){return me(e)?i(Ae(e)):ne(e)}var ze=200,He="Expected a function",Ue="__lodash_hash_undefined__",We=1,qe=2,Ve=1/0,Ge=9007199254740991,Ke="[object Arguments]",Ye="[object Array]",Qe="[object Boolean]",Xe="[object Date]",Ze="[object Error]",Je="[object Function]",$e="[object GeneratorFunction]",et="[object Map]",tt="[object Number]",nt="[object Object]",rt="[object Promise]",ot="[object RegExp]",it="[object Set]",at="[object String]",st="[object Symbol]",lt="[object WeakMap]",ut="[object ArrayBuffer]",ct="[object DataView]",dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pt=/^\w*$/,ft=/^\./,ht=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,mt=/[\\^$.*+?()[\]{}|]/g,gt=/\\(\\)?/g,yt=/^\[object .+?Constructor\]$/,vt=/^(?:0|[1-9]\d*)$/,bt={};bt["[object Float32Array]"]=bt["[object Float64Array]"]=bt["[object Int8Array]"]=bt["[object Int16Array]"]=bt["[object Int32Array]"]=bt["[object Uint8Array]"]=bt["[object Uint8ClampedArray]"]=bt["[object Uint16Array]"]=bt["[object Uint32Array]"]=!0,bt[Ke]=bt[Ye]=bt[ut]=bt[Qe]=bt[ct]=bt[Xe]=bt[Ze]=bt[Je]=bt[et]=bt[tt]=bt[nt]=bt[ot]=bt[it]=bt[at]=bt[lt]=!1;var _t="object"==typeof e&&e&&e.Object===Object&&e,At="object"==typeof self&&self&&self.Object===Object&&self,xt=_t||At||Function("return this")(),jt="object"==typeof t&&t&&!t.nodeType&&t,wt=jt&&"object"==typeof n&&n&&!n.nodeType&&n,Ct=wt&&wt.exports===jt,Et=Ct&&_t.process,kt=function(){try{return Et&&Et.binding("util")}catch(e){}}(),Tt=kt&&kt.isTypedArray,St=Array.prototype,Pt=Function.prototype,Mt=Object.prototype,Dt=xt["__core-js_shared__"],Ot=function(){var e=/[^.]+$/.exec(Dt&&Dt.keys&&Dt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),It=Pt.toString,Rt=Mt.hasOwnProperty,Lt=Mt.toString,Ft=RegExp("^"+It.call(Rt).replace(mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nt=xt.Symbol,Bt=xt.Uint8Array,zt=Mt.propertyIsEnumerable,Ht=St.splice,Ut=d(Object.keys,Object),Wt=pe(xt,"DataView"),qt=pe(xt,"Map"),Vt=pe(xt,"Promise"),Gt=pe(xt,"Set"),Kt=pe(xt,"WeakMap"),Yt=pe(Object,"create"),Qt=xe(Wt),Xt=xe(qt),Zt=xe(Vt),Jt=xe(Gt),$t=xe(Kt),en=Nt?Nt.prototype:void 0,tn=en?en.valueOf:void 0,nn=en?en.toString:void 0;f.prototype.clear=h,f.prototype.delete=m,f.prototype.get=g,f.prototype.has=y,f.prototype.set=v,b.prototype.clear=_,b.prototype.delete=A,b.prototype.get=x,b.prototype.has=j,b.prototype.set=w,C.prototype.clear=E,C.prototype.delete=k,C.prototype.get=T,C.prototype.has=S,C.prototype.set=P,M.prototype.add=M.prototype.push=D,M.prototype.has=O,I.prototype.clear=R,I.prototype.delete=L,I.prototype.get=F,I.prototype.has=N,I.prototype.set=B;var rn=ie(U),on=ae(),an=q;(Wt&&an(new Wt(new ArrayBuffer(1)))!=ct||qt&&an(new qt)!=et||Vt&&an(Vt.resolve())!=rt||Gt&&an(new Gt)!=it||Kt&&an(new Kt)!=lt)&&(an=function(e){var t=Lt.call(e),n=t==nt?e.constructor:void 0,r=n?xe(n):void 0;if(r)switch(r){case Qt:return ct;case Xt:return et;case Zt:return rt;case Jt:return it;case $t:return lt}return t});var sn=we(function(e){e=Ie(e);var t=[];return ft.test(e)&&t.push(""),e.replace(ht,function(e,n,r,o){t.push(r?o.replace(gt,"$1"):n||e)}),t});we.Cache=C;var ln=Array.isArray,un=Tt?s(Tt):X;n.exports=je}).call(t,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash.merge/index.js":function(e,t,n){(function(e,n){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function i(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function a(e,t){for(var n=-1,r=e?e.length:0;++n-1}function k(e,t){var n=this.__data__,r=W(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,a&&Ae(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r-1&&e%1==0&&e-1&&e%1==0&&e<=We}function Oe(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ie(e){return!!e&&"object"==typeof e}function Re(e){if(!Ie(e)||zt.call(e)!=$e||p(e))return!1;var t=Vt(e);if(null===t)return!0;var n=Nt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ft.call(n)==Bt}function Le(e){return de(e,Ne(e))}function Fe(e){return Se(e)?z(e):Z(e)}function Ne(e){return Se(e)?z(e,!0):J(e)}function Be(){return[]}function ze(){return!1}var He=200,Ue="__lodash_hash_undefined__",We=9007199254740991,qe="[object Arguments]",Ve="[object Array]",Ge="[object Boolean]",Ke="[object Date]",Ye="[object Error]",Qe="[object Function]",Xe="[object GeneratorFunction]",Ze="[object Map]",Je="[object Number]",$e="[object Object]",et="[object Promise]",tt="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object Symbol]",it="[object WeakMap]",at="[object ArrayBuffer]",st="[object DataView]",lt="[object Float32Array]",ut="[object Float64Array]",ct="[object Int8Array]",dt="[object Int16Array]",pt="[object Int32Array]",ft="[object Uint8Array]",ht="[object Uint8ClampedArray]",mt="[object Uint16Array]",gt="[object Uint32Array]",yt=/[\\^$.*+?()[\]{}|]/g,vt=/\w*$/,bt=/^\[object .+?Constructor\]$/,_t=/^(?:0|[1-9]\d*)$/,At={};At[lt]=At[ut]=At[ct]=At[dt]=At[pt]=At[ft]=At[ht]=At[mt]=At[gt]=!0,At[qe]=At[Ve]=At[at]=At[Ge]=At[st]=At[Ke]=At[Ye]=At[Qe]=At[Ze]=At[Je]=At[$e]=At[tt]=At[nt]=At[rt]=At[it]=!1;var xt={};xt[qe]=xt[Ve]=xt[at]=xt[st]=xt[Ge]=xt[Ke]=xt[lt]=xt[ut]=xt[ct]=xt[dt]=xt[pt]=xt[Ze]=xt[Je]=xt[$e]=xt[tt]=xt[nt]=xt[rt]=xt[ot]=xt[ft]=xt[ht]=xt[mt]=xt[gt]=!0,xt[Ye]=xt[Qe]=xt[it]=!1;var jt="object"==typeof e&&e&&e.Object===Object&&e,wt="object"==typeof self&&self&&self.Object===Object&&self,Ct=jt||wt||Function("return this")(),Et="object"==typeof t&&t&&!t.nodeType&&t,kt=Et&&"object"==typeof n&&n&&!n.nodeType&&n,Tt=kt&&kt.exports===Et,St=Tt&&jt.process,Pt=function(){try{return St&&St.binding("util")}catch(e){}}(),Mt=Pt&&Pt.isTypedArray,Dt=Array.prototype,Ot=Function.prototype,It=Object.prototype,Rt=Ct["__core-js_shared__"],Lt=function(){var e=/[^.]+$/.exec(Rt&&Rt.keys&&Rt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ft=Ot.toString,Nt=It.hasOwnProperty,Bt=Ft.call(Object),zt=It.toString,Ht=RegExp("^"+Ft.call(Nt).replace(yt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ut=Tt?Ct.Buffer:void 0,Wt=Ct.Symbol,qt=Ct.Uint8Array,Vt=h(Object.getPrototypeOf,Object),Gt=Object.create,Kt=It.propertyIsEnumerable,Yt=Dt.splice,Qt=Object.getOwnPropertySymbols,Xt=Ut?Ut.isBuffer:void 0,Zt=h(Object.keys,Object),Jt=Math.max,$t=ge(Ct,"DataView"),en=ge(Ct,"Map"),tn=ge(Ct,"Promise"),nn=ge(Ct,"Set"),rn=ge(Ct,"WeakMap"),on=ge(Object,"create"),an=Ee($t),sn=Ee(en),ln=Ee(tn),un=Ee(nn),cn=Ee(rn),dn=Wt?Wt.prototype:void 0,pn=dn?dn.valueOf:void 0;g.prototype.clear=y,g.prototype.delete=v,g.prototype.get=b,g.prototype.has=_,g.prototype.set=A,x.prototype.clear=j,x.prototype.delete=w,x.prototype.get=C,x.prototype.has=E,x.prototype.set=k,T.prototype.clear=S,T.prototype.delete=P,T.prototype.get=M,T.prototype.has=D,T.prototype.set=O,I.prototype.clear=R,I.prototype.delete=L,I.prototype.get=F,I.prototype.has=N,I.prototype.set=B;var fn=Qt?h(Qt,Object):Be,hn=Y;($t&&hn(new $t(new ArrayBuffer(1)))!=st||en&&hn(new en)!=Ze||tn&&hn(tn.resolve())!=et||nn&&hn(new nn)!=nt||rn&&hn(new rn)!=it)&&(hn=function(e){var t=zt.call(e),n=t==$e?e.constructor:void 0,r=n?Ee(n):void 0;if(r)switch(r){case an:return st;case sn:return Ze;case ln:return et;case un:return nt;case cn:return it}return t});var mn=Array.isArray,gn=Xt||ze,yn=Mt?c(Mt):X,vn=fe(function(e,t,n){$(e,t,n)});n.exports=vn}).call(t,n("./node_modules/webpack/buildin/global.js"),n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash.throttle/index.js":function(e,t,n){(function(t){function n(e,t,n){function r(t){var n=m,r=g;return m=g=void 0,w=t,v=e.apply(r,n)}function i(e){return w=e,b=setTimeout(c,t),C?r(e):v}function a(e){var n=e-_,r=e-w,o=t-n;return E?x(o,y-r):o}function u(e){var n=e-_,r=e-w;return void 0===_||n>=t||n<0||E&&r>=y}function c(){var e=j();if(u(e))return d(e);b=setTimeout(c,a(e))}function d(e){return b=void 0,k&&m?r(e):(m=g=void 0,v)}function p(){void 0!==b&&clearTimeout(b),w=0,m=_=g=b=void 0}function f(){return void 0===b?v:d(j())}function h(){var e=j(),n=u(e);if(m=arguments,g=this,_=e,n){if(void 0===b)return i(_);if(E)return b=setTimeout(c,t),r(_)}return void 0===b&&(b=setTimeout(c,t)),v}var m,g,y,v,b,_,w=0,C=!1,E=!1,k=!0;if("function"!=typeof e)throw new TypeError(l);return t=s(t)||0,o(n)&&(C=!!n.leading,E="maxWait"in n,y=E?A(s(n.maxWait)||0,t):y,k="trailing"in n?!!n.trailing:k),h.cancel=p,h.flush=f,h}function r(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError(l);return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||i(e)&&_.call(e)==c}function s(e){if("number"==typeof e)return e;if(a(e))return u;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=f.test(e);return n||h.test(e)?m(e.slice(2),n?2:8):p.test(e)?u:+e}var l="Expected a function",u=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,h=/^0o[0-7]+$/i,m=parseInt,g="object"==typeof t&&t&&t.Object===Object&&t,y="object"==typeof self&&self&&self.Object===Object&&self,v=g||y||Function("return this")(),b=Object.prototype,_=b.toString,A=Math.max,x=Math.min,j=function(){return v.Date.now()};e.exports=r}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/lodash/_DataView.js":function(e,t,n){var r=n("./node_modules/lodash/_getNative.js"),o=n("./node_modules/lodash/_root.js"),i=r(o,"DataView");e.exports=i},"./node_modules/lodash/_Hash.js":function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1}var o=n("./node_modules/lodash/_baseIndexOf.js");e.exports=r},"./node_modules/lodash/_arrayIncludesWith.js":function(e,t){function n(e,t,n){for(var r=-1,o=null==e?0:e.length;++r=t?e:t)),e}e.exports=n},"./node_modules/lodash/_baseClone.js":function(e,t,n){function r(e,t,n,M,D,O){var I,R=t&j,L=t&w,F=t&C;if(n&&(I=D?n(e,M,D,O):n(e)),void 0!==I)return I;if(!A(e))return e;var N=b(e);if(N){if(I=g(e),!R)return c(e,I)}else{var B=m(e),z=B==k||B==T;if(_(e))return u(e,R);if(B==S||B==E||z&&!D){if(I=L||z?{}:v(e),!R)return L?p(e,l(I,e)):d(e,s(I,e))}else{if(!P[B])return D?e:{};I=y(e,B,r,R)}}O||(O=new o);var H=O.get(e);if(H)return H;O.set(e,I);var U=F?L?h:f:L?keysIn:x,W=N?void 0:U(e);return i(W||e,function(o,i){W&&(i=o,o=e[i]),a(I,i,r(o,t,n,i,e,O))}),I}var o=n("./node_modules/lodash/_Stack.js"),i=n("./node_modules/lodash/_arrayEach.js"),a=n("./node_modules/lodash/_assignValue.js"),s=n("./node_modules/lodash/_baseAssign.js"),l=n("./node_modules/lodash/_baseAssignIn.js"),u=n("./node_modules/lodash/_cloneBuffer.js"),c=n("./node_modules/lodash/_copyArray.js"),d=n("./node_modules/lodash/_copySymbols.js"),p=n("./node_modules/lodash/_copySymbolsIn.js"),f=n("./node_modules/lodash/_getAllKeys.js"),h=n("./node_modules/lodash/_getAllKeysIn.js"),m=n("./node_modules/lodash/_getTag.js"),g=n("./node_modules/lodash/_initCloneArray.js"),y=n("./node_modules/lodash/_initCloneByTag.js"),v=n("./node_modules/lodash/_initCloneObject.js"),b=n("./node_modules/lodash/isArray.js"),_=n("./node_modules/lodash/isBuffer.js"),A=n("./node_modules/lodash/isObject.js"),x=n("./node_modules/lodash/keys.js"),j=1,w=2,C=4,E="[object Arguments]",k="[object Function]",T="[object GeneratorFunction]",S="[object Object]",P={};P[E]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[S]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[k]=P["[object WeakMap]"]=!1,e.exports=r},"./node_modules/lodash/_baseCreate.js":function(e,t,n){var r=n("./node_modules/lodash/isObject.js"),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},"./node_modules/lodash/_baseDifference.js":function(e,t,n){function r(e,t,n,r){var d=-1,p=i,f=!0,h=e.length,m=[],g=t.length;if(!h)return m;n&&(t=s(t,l(n))),r?(p=a,f=!1):t.length>=c&&(p=u,f=!1,t=new o(t));e:for(;++d0&&n(c)?t>1?r(c,t-1,n,a,s):o(s,c):a||(s[s.length]=c)}return s}var o=n("./node_modules/lodash/_arrayPush.js"),i=n("./node_modules/lodash/_isFlattenable.js");e.exports=r},"./node_modules/lodash/_baseFor.js":function(e,t,n){var r=n("./node_modules/lodash/_createBaseFor.js"),o=r();e.exports=o},"./node_modules/lodash/_baseForOwn.js":function(e,t,n){function r(e,t){return e&&o(e,t,i)}var o=n("./node_modules/lodash/_baseFor.js"),i=n("./node_modules/lodash/keys.js");e.exports=r},"./node_modules/lodash/_baseGet.js":function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&nt}e.exports=n},"./node_modules/lodash/_baseHas.js":function(e,t){function n(e,t){return null!=e&&o.call(e,t)}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},"./node_modules/lodash/_baseHasIn.js":function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},"./node_modules/lodash/_baseIndexOf.js":function(e,t,n){function r(e,t,n){return t===t?a(e,t,n):o(e,i,n)}var o=n("./node_modules/lodash/_baseFindIndex.js"),i=n("./node_modules/lodash/_baseIsNaN.js"),a=n("./node_modules/lodash/_strictIndexOf.js");e.exports=r},"./node_modules/lodash/_baseIntersection.js":function(e,t,n){function r(e,t,n){for(var r=n?a:i,d=e[0].length,p=e.length,f=p,h=Array(p),m=1/0,g=[];f--;){var y=e[f];f&&t&&(y=s(y,l(t))),m=c(y.length,m),h[f]=!n&&(t||d>=120&&y.length>=120)?new o(f&&y):void 0}y=e[0];var v=-1,b=h[0];e:for(;++vo?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r>>1,c=e[u];null!==c&&!a(c)&&(n?c<=t:c>>1;e.exports=r},"./node_modules/lodash/_baseSortedIndexBy.js":function(e,t,n){function r(e,t,n,r){t=n(t);for(var i=0,u=null==e?0:e.length,c=t!==t,d=null===t,p=o(t),f=void 0===t;i=c){var g=t?null:l(e);if(g)return u(g);f=!1,d=s,m=new o}else m=t?[]:h;e:for(;++r=r?e:o(e,t,n)}var o=n("./node_modules/lodash/_baseSlice.js");e.exports=r},"./node_modules/lodash/_cloneArrayBuffer.js":function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n("./node_modules/lodash/_Uint8Array.js");e.exports=r},"./node_modules/lodash/_cloneBuffer.js":function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}var o=n("./node_modules/lodash/_root.js"),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?o.Buffer:void 0,u=l?l.allocUnsafe:void 0;e.exports=r}).call(t,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/_cloneDataView.js":function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n("./node_modules/lodash/_cloneArrayBuffer.js");e.exports=r},"./node_modules/lodash/_cloneMap.js":function(e,t,n){function r(e,t,n){return i(t?n(a(e),s):a(e),o,new e.constructor)}var o=n("./node_modules/lodash/_addMapEntry.js"),i=n("./node_modules/lodash/_arrayReduce.js"),a=n("./node_modules/lodash/_mapToArray.js"),s=1;e.exports=r},"./node_modules/lodash/_cloneRegExp.js":function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},"./node_modules/lodash/_cloneSet.js":function(e,t,n){function r(e,t,n){return i(t?n(a(e),s):a(e),o,new e.constructor)}var o=n("./node_modules/lodash/_addSetEntry.js"),i=n("./node_modules/lodash/_arrayReduce.js"),a=n("./node_modules/lodash/_setToArray.js"),s=1;e.exports=r},"./node_modules/lodash/_cloneSymbol.js":function(e,t,n){function r(e){return a?Object(a.call(e)):{}}var o=n("./node_modules/lodash/_Symbol.js"),i=o?o.prototype:void 0,a=i?i.valueOf:void 0;e.exports=r},"./node_modules/lodash/_cloneTypedArray.js":function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n("./node_modules/lodash/_cloneArrayBuffer.js");e.exports=r},"./node_modules/lodash/_compareAscending.js":function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=e===e,a=o(e),s=void 0!==t,l=null===t,u=t===t,c=o(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!i)return 1;if(!r&&!a&&!c&&e=l)return u;return u*("desc"==n[r]?-1:1)}}return e.index-t.index}var o=n("./node_modules/lodash/_compareAscending.js");e.exports=r},"./node_modules/lodash/_copyArray.js":function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r-1?s[l?t[u]:u]:void 0}}var o=n("./node_modules/lodash/_baseIteratee.js"),i=n("./node_modules/lodash/isArrayLike.js"),a=n("./node_modules/lodash/keys.js");e.exports=r},"./node_modules/lodash/_createSet.js":function(e,t,n){var r=n("./node_modules/lodash/_Set.js"),o=n("./node_modules/lodash/noop.js"),i=n("./node_modules/lodash/_setToArray.js"),a=1/0,s=r&&1/i(new r([,-0]))[1]==a?function(e){return new r(e)}:o;e.exports=s},"./node_modules/lodash/_customOmitClone.js":function(e,t,n){function r(e){return o(e)?void 0:e}var o=n("./node_modules/lodash/isPlainObject.js");e.exports=r},"./node_modules/lodash/_deburrLetter.js":function(e,t,n){var r=n("./node_modules/lodash/_basePropertyOf.js"),o={"À":"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"},i=r(o);e.exports=i},"./node_modules/lodash/_defineProperty.js":function(e,t,n){var r=n("./node_modules/lodash/_getNative.js"),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},"./node_modules/lodash/_equalArrays.js":function(e,t,n){function r(e,t,n,r,u,c){var d=n&s,p=e.length,f=t.length;if(p!=f&&!(d&&f>p))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,g=!0,y=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++m-1&&e%1==0&&e-1}var o=n("./node_modules/lodash/_assocIndexOf.js");e.exports=r},"./node_modules/lodash/_listCacheSet.js":function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=n("./node_modules/lodash/_assocIndexOf.js");e.exports=r},"./node_modules/lodash/_mapCacheClear.js":function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(a||i),string:new o}}var o=n("./node_modules/lodash/_Hash.js"),i=n("./node_modules/lodash/_ListCache.js"),a=n("./node_modules/lodash/_Map.js");e.exports=r},"./node_modules/lodash/_mapCacheDelete.js":function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=n("./node_modules/lodash/_getMapData.js");e.exports=r},"./node_modules/lodash/_mapCacheGet.js":function(e,t,n){function r(e){return o(this,e).get(e)}var o=n("./node_modules/lodash/_getMapData.js");e.exports=r},"./node_modules/lodash/_mapCacheHas.js":function(e,t,n){function r(e){return o(this,e).has(e)}var o=n("./node_modules/lodash/_getMapData.js");e.exports=r},"./node_modules/lodash/_mapCacheSet.js":function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=n("./node_modules/lodash/_getMapData.js");e.exports=r},"./node_modules/lodash/_mapToArray.js":function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},"./node_modules/lodash/_matchesStrictComparable.js":function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},"./node_modules/lodash/_memoizeCapped.js":function(e,t,n){function r(e){var t=o(e,function(e){return n.size===i&&n.clear(),e}),n=t.cache;return t}var o=n("./node_modules/lodash/memoize.js"),i=500;e.exports=r},"./node_modules/lodash/_nativeCreate.js":function(e,t,n){var r=n("./node_modules/lodash/_getNative.js"),o=r(Object,"create");e.exports=o},"./node_modules/lodash/_nativeKeys.js":function(e,t,n){var r=n("./node_modules/lodash/_overArg.js"),o=r(Object.keys,Object);e.exports=o},"./node_modules/lodash/_nativeKeysIn.js":function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},"./node_modules/lodash/_nodeUtil.js":function(e,t,n){(function(e){var r=n("./node_modules/lodash/_freeGlobal.js"),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o,s=a&&r.process,l=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/_objectToString.js":function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},"./node_modules/lodash/_overArg.js":function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},"./node_modules/lodash/_overRest.js":function(e,t,n){function r(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var r=arguments,a=-1,s=i(r.length-t,0),l=Array(s);++a0){if(++t>=r)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var r=800,o=16,i=Date.now;e.exports=n},"./node_modules/lodash/_stackClear.js":function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=n("./node_modules/lodash/_ListCache.js");e.exports=r},"./node_modules/lodash/_stackDelete.js":function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},"./node_modules/lodash/_stackGet.js":function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},"./node_modules/lodash/_stackHas.js":function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},"./node_modules/lodash/_stackSet.js":function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!i||r.length=t||n<0||E&&r>=_}function f(){var e=i();if(p(e))return h(e);x=setTimeout(f,d(e))}function h(e){return x=void 0,k&&v?r(e):(v=b=void 0,A)}function m(){void 0!==x&&clearTimeout(x),w=0,v=j=b=x=void 0}function g(){return void 0===x?A:h(i())}function y(){var e=i(),n=p(e);if(v=arguments,b=this,j=e,n){if(void 0===x)return c(j);if(E)return x=setTimeout(f,t),r(j)}return void 0===x&&(x=setTimeout(f,t)),A}var v,b,_,A,x,j,w=0,C=!1,E=!1,k=!0;if("function"!=typeof e)throw new TypeError(s);return t=a(t)||0,o(n)&&(C=!!n.leading,E="maxWait"in n,_=E?l(a(n.maxWait)||0,t):_,k="trailing"in n?!!n.trailing:k),y.cancel=m,y.flush=g,y}var o=n("./node_modules/lodash/isObject.js"),i=n("./node_modules/lodash/now.js"),a=n("./node_modules/lodash/toNumber.js"),s="Expected a function",l=Math.max,u=Math.min;e.exports=r},"./node_modules/lodash/deburr.js":function(e,t,n){function r(e){return(e=i(e))&&e.replace(a,o).replace(p,"")}var o=n("./node_modules/lodash/_deburrLetter.js"),i=n("./node_modules/lodash/toString.js"),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,s="\\u0300-\\u036f",l="\\ufe20-\\ufe2f",u="\\u20d0-\\u20ff",c=s+l+u,d="["+c+"]",p=RegExp(d,"g");e.exports=r},"./node_modules/lodash/difference.js":function(e,t,n){var r=n("./node_modules/lodash/_baseDifference.js"),o=n("./node_modules/lodash/_baseFlatten.js"),i=n("./node_modules/lodash/_baseRest.js"),a=n("./node_modules/lodash/isArrayLikeObject.js"),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},"./node_modules/lodash/each.js":function(e,t,n){e.exports=n("./node_modules/lodash/forEach.js")},"./node_modules/lodash/eq.js":function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},"./node_modules/lodash/filter.js":function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t,3))}var o=n("./node_modules/lodash/_arrayFilter.js"),i=n("./node_modules/lodash/_baseFilter.js"),a=n("./node_modules/lodash/_baseIteratee.js"),s=n("./node_modules/lodash/isArray.js");e.exports=r},"./node_modules/lodash/find.js":function(e,t,n){var r=n("./node_modules/lodash/_createFind.js"),o=n("./node_modules/lodash/findIndex.js"),i=r(o);e.exports=i},"./node_modules/lodash/findIndex.js":function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:a(n);return l<0&&(l=s(r+l,0)),o(e,i(t,3),l)}var o=n("./node_modules/lodash/_baseFindIndex.js"),i=n("./node_modules/lodash/_baseIteratee.js"),a=n("./node_modules/lodash/toInteger.js"),s=Math.max;e.exports=r},"./node_modules/lodash/flatten.js":function(e,t,n){function r(e){return(null==e?0:e.length)?o(e,1):[]}var o=n("./node_modules/lodash/_baseFlatten.js");e.exports=r},"./node_modules/lodash/forEach.js":function(e,t,n){function r(e,t){return(s(e)?o:i)(e,a(t))}var o=n("./node_modules/lodash/_arrayEach.js"),i=n("./node_modules/lodash/_baseEach.js"),a=n("./node_modules/lodash/_castFunction.js"),s=n("./node_modules/lodash/isArray.js");e.exports=r},"./node_modules/lodash/forOwn.js":function(e,t,n){function r(e,t){return e&&o(e,i(t))}var o=n("./node_modules/lodash/_baseForOwn.js"),i=n("./node_modules/lodash/_castFunction.js");e.exports=r},"./node_modules/lodash/get.js":function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n("./node_modules/lodash/_baseGet.js");e.exports=r},"./node_modules/lodash/has.js":function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n("./node_modules/lodash/_baseHas.js"),i=n("./node_modules/lodash/_hasPath.js");e.exports=r},"./node_modules/lodash/hasIn.js":function(e,t,n){function r(e,t){return null!=e&&i(e,t,o)}var o=n("./node_modules/lodash/_baseHasIn.js"),i=n("./node_modules/lodash/_hasPath.js");e.exports=r},"./node_modules/lodash/head.js":function(e,t){function n(e){return e&&e.length?e[0]:void 0}e.exports=n},"./node_modules/lodash/identity.js":function(e,t){function n(e){return e}e.exports=n},"./node_modules/lodash/includes.js":function(e,t,n){function r(e,t,n,r){e=i(e)?e:l(e),n=n&&!r?s(n):0;var c=e.length;return n<0&&(n=u(c+n,0)),a(e)?n<=c&&e.indexOf(t,n)>-1:!!c&&o(e,t,n)>-1}var o=n("./node_modules/lodash/_baseIndexOf.js"),i=n("./node_modules/lodash/isArrayLike.js"),a=n("./node_modules/lodash/isString.js"),s=n("./node_modules/lodash/toInteger.js"),l=n("./node_modules/lodash/values.js"),u=Math.max;e.exports=r},"./node_modules/lodash/indexOf.js":function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var s=null==n?0:i(n);return s<0&&(s=a(r+s,0)),o(e,t,s)}var o=n("./node_modules/lodash/_baseIndexOf.js"),i=n("./node_modules/lodash/toInteger.js"),a=Math.max;e.exports=r},"./node_modules/lodash/intersection.js":function(e,t,n){var r=n("./node_modules/lodash/_arrayMap.js"),o=n("./node_modules/lodash/_baseIntersection.js"),i=n("./node_modules/lodash/_baseRest.js"),a=n("./node_modules/lodash/_castArrayLikeObject.js"),s=i(function(e){var t=r(e,a);return t.length&&t[0]===e[0]?o(t):[]});e.exports=s},"./node_modules/lodash/isArguments.js":function(e,t,n){var r=n("./node_modules/lodash/_baseIsArguments.js"),o=n("./node_modules/lodash/isObjectLike.js"),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},"./node_modules/lodash/isArray.js":function(e,t){var n=Array.isArray;e.exports=n},"./node_modules/lodash/isArrayLike.js":function(e,t,n){function r(e){return null!=e&&i(e.length)&&!o(e)}var o=n("./node_modules/lodash/isFunction.js"),i=n("./node_modules/lodash/isLength.js");e.exports=r},"./node_modules/lodash/isArrayLikeObject.js":function(e,t,n){function r(e){return i(e)&&o(e)}var o=n("./node_modules/lodash/isArrayLike.js"),i=n("./node_modules/lodash/isObjectLike.js");e.exports=r},"./node_modules/lodash/isBoolean.js":function(e,t,n){function r(e){return e===!0||e===!1||i(e)&&o(e)==a}var o=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isObjectLike.js"),a="[object Boolean]";e.exports=r},"./node_modules/lodash/isBuffer.js":function(e,t,n){(function(e){var r=n("./node_modules/lodash/_root.js"),o=n("./node_modules/lodash/stubFalse.js"),i="object"==typeof t&&t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||o;e.exports=c}).call(t,n("./node_modules/webpack/buildin/module.js")(e))},"./node_modules/lodash/isEmpty.js":function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||d(e)||a(e)))return!e.length;var t=i(e);if(t==p||t==f)return!e.size;if(c(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=n("./node_modules/lodash/_baseKeys.js"),i=n("./node_modules/lodash/_getTag.js"),a=n("./node_modules/lodash/isArguments.js"),s=n("./node_modules/lodash/isArray.js"),l=n("./node_modules/lodash/isArrayLike.js"),u=n("./node_modules/lodash/isBuffer.js"),c=n("./node_modules/lodash/_isPrototype.js"),d=n("./node_modules/lodash/isTypedArray.js"),p="[object Map]",f="[object Set]",h=Object.prototype,m=h.hasOwnProperty;e.exports=r},"./node_modules/lodash/isEqual.js":function(e,t,n){function r(e,t){return o(e,t)}var o=n("./node_modules/lodash/_baseIsEqual.js");e.exports=r},"./node_modules/lodash/isFinite.js":function(e,t,n){function r(e){return"number"==typeof e&&i(e)}var o=n("./node_modules/lodash/_root.js"),i=o.isFinite;e.exports=r},"./node_modules/lodash/isFunction.js":function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e);return t==s||t==l||t==a||t==u}var o=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isObject.js"),a="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";e.exports=r},"./node_modules/lodash/isLength.js":function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},"./node_modules/lodash/isNumber.js":function(e,t,n){function r(e){return"number"==typeof e||i(e)&&o(e)==a}var o=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isObjectLike.js"),a="[object Number]";e.exports=r},"./node_modules/lodash/isObject.js":function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},"./node_modules/lodash/isObjectLike.js":function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},"./node_modules/lodash/isPlainObject.js":function(e,t,n){function r(e){if(!a(e)||o(e)!=s)return!1;var t=i(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==p}var o=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/_getPrototype.js"),a=n("./node_modules/lodash/isObjectLike.js"),s="[object Object]",l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,p=c.call(Object);e.exports=r},"./node_modules/lodash/isString.js":function(e,t,n){function r(e){return"string"==typeof e||!i(e)&&a(e)&&o(e)==s}var o=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isArray.js"),a=n("./node_modules/lodash/isObjectLike.js"),s="[object String]";e.exports=r},"./node_modules/lodash/isSymbol.js":function(e,t,n){function r(e){return"symbol"==typeof e||i(e)&&o(e)==a}var o=n("./node_modules/lodash/_baseGetTag.js"),i=n("./node_modules/lodash/isObjectLike.js"),a="[object Symbol]";e.exports=r},"./node_modules/lodash/isTypedArray.js":function(e,t,n){var r=n("./node_modules/lodash/_baseIsTypedArray.js"),o=n("./node_modules/lodash/_baseUnary.js"),i=n("./node_modules/lodash/_nodeUtil.js"),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},"./node_modules/lodash/isUndefined.js":function(e,t){function n(e){return void 0===e}e.exports=n},"./node_modules/lodash/keyBy.js":function(e,t,n){var r=n("./node_modules/lodash/_baseAssignValue.js"),o=n("./node_modules/lodash/_createAggregator.js"),i=o(function(e,t,n){r(e,n,t)});e.exports=i},"./node_modules/lodash/keys.js":function(e,t,n){function r(e){return a(e)?o(e):i(e)}var o=n("./node_modules/lodash/_arrayLikeKeys.js"),i=n("./node_modules/lodash/_baseKeys.js"),a=n("./node_modules/lodash/isArrayLike.js");e.exports=r},"./node_modules/lodash/keysIn.js":function(e,t,n){function r(e){return a(e)?o(e,!0):i(e)}var o=n("./node_modules/lodash/_arrayLikeKeys.js"),i=n("./node_modules/lodash/_baseKeysIn.js"),a=n("./node_modules/lodash/isArrayLike.js");e.exports=r},"./node_modules/lodash/last.js":function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},"./node_modules/lodash/map.js":function(e,t,n){function r(e,t){return(s(e)?o:a)(e,i(t,3))}var o=n("./node_modules/lodash/_arrayMap.js"),i=n("./node_modules/lodash/_baseIteratee.js"),a=n("./node_modules/lodash/_baseMap.js"),s=n("./node_modules/lodash/isArray.js");e.exports=r},"./node_modules/lodash/max.js":function(e,t,n){function r(e){return e&&e.length?o(e,a,i):void 0}var o=n("./node_modules/lodash/_baseExtremum.js"),i=n("./node_modules/lodash/_baseGt.js"),a=n("./node_modules/lodash/identity.js");e.exports=r},"./node_modules/lodash/maxBy.js":function(e,t,n){function r(e,t){return e&&e.length?o(e,a(t,2),i):void 0}var o=n("./node_modules/lodash/_baseExtremum.js"),i=n("./node_modules/lodash/_baseGt.js"),a=n("./node_modules/lodash/_baseIteratee.js");e.exports=r},"./node_modules/lodash/memoize.js":function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(r.Cache||o),n}var o=n("./node_modules/lodash/_MapCache.js"),i="Expected a function";r.Cache=o,e.exports=r},"./node_modules/lodash/min.js":function(e,t,n){function r(e){return e&&e.length?o(e,a,i):void 0}var o=n("./node_modules/lodash/_baseExtremum.js"),i=n("./node_modules/lodash/_baseLt.js"),a=n("./node_modules/lodash/identity.js");e.exports=r},"./node_modules/lodash/minBy.js":function(e,t,n){function r(e,t){return e&&e.length?o(e,i(t,2),a):void 0}var o=n("./node_modules/lodash/_baseExtremum.js"),i=n("./node_modules/lodash/_baseIteratee.js"),a=n("./node_modules/lodash/_baseLt.js");e.exports=r},"./node_modules/lodash/noop.js":function(e,t){function n(){}e.exports=n},"./node_modules/lodash/now.js":function(e,t,n){var r=n("./node_modules/lodash/_root.js"),o=function(){return r.Date.now()};e.exports=o},"./node_modules/lodash/omit.js":function(e,t,n){var r=n("./node_modules/lodash/_arrayMap.js"),o=n("./node_modules/lodash/_baseClone.js"),i=n("./node_modules/lodash/_baseUnset.js"),a=n("./node_modules/lodash/_castPath.js"),s=n("./node_modules/lodash/_copyObject.js"),l=n("./node_modules/lodash/_customOmitClone.js"),u=n("./node_modules/lodash/_flatRest.js"),c=n("./node_modules/lodash/_getAllKeysIn.js"),d=1,p=2,f=4,h=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=o(n,d|p|f,l));for(var h=t.length;h--;)i(n,t[h]);return n});e.exports=h},"./node_modules/lodash/orderBy.js":function(e,t,n){function r(e,t,n,r){return null==e?[]:(i(t)||(t=null==t?[]:[t]),n=r?void 0:n,i(n)||(n=null==n?[]:[n]),o(e,t,n))}var o=n("./node_modules/lodash/_baseOrderBy.js"),i=n("./node_modules/lodash/isArray.js");e.exports=r},"./node_modules/lodash/pick.js":function(e,t,n){var r=n("./node_modules/lodash/_basePick.js"),o=n("./node_modules/lodash/_flatRest.js"),i=o(function(e,t){return null==e?{}:r(e,t)});e.exports=i},"./node_modules/lodash/pickBy.js":function(e,t,n){function r(e,t){if(null==e)return{};var n=o(s(e),function(e){return[e]});return t=i(t),a(e,n,function(e,n){return t(e,n[0])})}var o=n("./node_modules/lodash/_arrayMap.js"),i=n("./node_modules/lodash/_baseIteratee.js"),a=n("./node_modules/lodash/_basePickBy.js"),s=n("./node_modules/lodash/_getAllKeysIn.js");e.exports=r},"./node_modules/lodash/property.js":function(e,t,n){function r(e){return a(e)?o(s(e)):i(e)}var o=n("./node_modules/lodash/_baseProperty.js"),i=n("./node_modules/lodash/_basePropertyDeep.js"),a=n("./node_modules/lodash/_isKey.js"),s=n("./node_modules/lodash/_toKey.js");e.exports=r},"./node_modules/lodash/reduce.js":function(e,t,n){function r(e,t,n){var r=l(e)?o:s,u=arguments.length<3;return r(e,a(t,4),n,u,i)}var o=n("./node_modules/lodash/_arrayReduce.js"),i=n("./node_modules/lodash/_baseEach.js"),a=n("./node_modules/lodash/_baseIteratee.js"),s=n("./node_modules/lodash/_baseReduce.js"),l=n("./node_modules/lodash/isArray.js");e.exports=r},"./node_modules/lodash/size.js":function(e,t,n){function r(e){if(null==e)return 0;if(a(e))return s(e)?l(e):e.length;var t=i(e);return t==u||t==c?e.size:o(e).length}var o=n("./node_modules/lodash/_baseKeys.js"),i=n("./node_modules/lodash/_getTag.js"),a=n("./node_modules/lodash/isArrayLike.js"),s=n("./node_modules/lodash/isString.js"),l=n("./node_modules/lodash/_stringSize.js"),u="[object Map]",c="[object Set]";e.exports=r},"./node_modules/lodash/some.js":function(e,t,n){function r(e,t,n){var r=s(e)?o:a;return n&&l(e,t,n)&&(t=void 0),r(e,i(t,3))}var o=n("./node_modules/lodash/_arraySome.js"),i=n("./node_modules/lodash/_baseIteratee.js"),a=n("./node_modules/lodash/_baseSome.js"),s=n("./node_modules/lodash/isArray.js"),l=n("./node_modules/lodash/_isIterateeCall.js");e.exports=r},"./node_modules/lodash/sortBy.js":function(e,t,n){var r=n("./node_modules/lodash/_baseFlatten.js"),o=n("./node_modules/lodash/_baseOrderBy.js"),i=n("./node_modules/lodash/_baseRest.js"),a=n("./node_modules/lodash/_isIterateeCall.js"),s=i(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});e.exports=s},"./node_modules/lodash/sortedIndex.js":function(e,t,n){function r(e,t){return o(e,t)}var o=n("./node_modules/lodash/_baseSortedIndex.js");e.exports=r},"./node_modules/lodash/sortedLastIndex.js":function(e,t,n){function r(e,t){return o(e,t,!0)}var o=n("./node_modules/lodash/_baseSortedIndex.js");e.exports=r},"./node_modules/lodash/startsWith.js":function(e,t,n){function r(e,t,n){return e=s(e),n=null==n?0:o(a(n),0,e.length),t=i(t),e.slice(n,n+t.length)==t}var o=n("./node_modules/lodash/_baseClamp.js"),i=n("./node_modules/lodash/_baseToString.js"),a=n("./node_modules/lodash/toInteger.js"),s=n("./node_modules/lodash/toString.js");e.exports=r},"./node_modules/lodash/stubArray.js":function(e,t){function n(){return[]}e.exports=n},"./node_modules/lodash/stubFalse.js":function(e,t){function n(){return!1}e.exports=n},"./node_modules/lodash/sum.js":function(e,t,n){function r(e){return e&&e.length?o(e,i):0}var o=n("./node_modules/lodash/_baseSum.js"),i=n("./node_modules/lodash/identity.js");e.exports=r},"./node_modules/lodash/sumBy.js":function(e,t,n){function r(e,t){return e&&e.length?i(e,o(t,2)):0}var o=n("./node_modules/lodash/_baseIteratee.js"),i=n("./node_modules/lodash/_baseSum.js");e.exports=r},"./node_modules/lodash/takeRight.js":function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:i(t),t=r-t,o(e,t<0?0:t,r)):[]}var o=n("./node_modules/lodash/_baseSlice.js"),i=n("./node_modules/lodash/toInteger.js");e.exports=r},"./node_modules/lodash/throttle.js":function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return i(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}var o=n("./node_modules/lodash/debounce.js"),i=n("./node_modules/lodash/isObject.js"),a="Expected a function";e.exports=r},"./node_modules/lodash/toFinite.js":function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=o(e))===i||e===-i){return(e<0?-1:1)*a}return e===e?e:0}var o=n("./node_modules/lodash/toNumber.js"),i=1/0,a=1.7976931348623157e308;e.exports=r},"./node_modules/lodash/toInteger.js":function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=n("./node_modules/lodash/toFinite.js");e.exports=r},"./node_modules/lodash/toNumber.js":function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||c.test(e)?d(e.slice(2),n?2:8):l.test(e)?a:+e}var o=n("./node_modules/lodash/isObject.js"),i=n("./node_modules/lodash/isSymbol.js"),a=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;e.exports=r},"./node_modules/lodash/toString.js":function(e,t,n){function r(e){return null==e?"":o(e)}var o=n("./node_modules/lodash/_baseToString.js");e.exports=r},"./node_modules/lodash/transform.js":function(e,t,n){function r(e,t,n){var r=u(e),h=r||c(e)||f(e);if(t=s(t,4),null==n){var m=e&&e.constructor;n=h?r?new m:[]:p(e)&&d(m)?i(l(e)):{}}return(h?o:a)(e,function(e,r,o){return t(n,e,r,o)}),n}var o=n("./node_modules/lodash/_arrayEach.js"),i=n("./node_modules/lodash/_baseCreate.js"),a=n("./node_modules/lodash/_baseForOwn.js"),s=n("./node_modules/lodash/_baseIteratee.js"),l=n("./node_modules/lodash/_getPrototype.js"),u=n("./node_modules/lodash/isArray.js"),c=n("./node_modules/lodash/isBuffer.js"),d=n("./node_modules/lodash/isFunction.js"),p=n("./node_modules/lodash/isObject.js"),f=n("./node_modules/lodash/isTypedArray.js");e.exports=r},"./node_modules/lodash/union.js":function(e,t,n){var r=n("./node_modules/lodash/_baseFlatten.js"),o=n("./node_modules/lodash/_baseRest.js"),i=n("./node_modules/lodash/_baseUniq.js"),a=n("./node_modules/lodash/isArrayLikeObject.js"),s=o(function(e){return i(r(e,1,a,!0))});e.exports=s},"./node_modules/lodash/uniq.js":function(e,t,n){function r(e){return e&&e.length?o(e):[]}var o=n("./node_modules/lodash/_baseUniq.js");e.exports=r},"./node_modules/lodash/uniqueId.js":function(e,t,n){function r(e){var t=++i;return o(e)+t}var o=n("./node_modules/lodash/toString.js"),i=0;e.exports=r},"./node_modules/lodash/upperFirst.js":function(e,t,n){var r=n("./node_modules/lodash/_createCaseFirst.js"),o=r("toUpperCase");e.exports=o},"./node_modules/lodash/values.js":function(e,t,n){function r(e){return null==e?[]:o(e,i(e))}var o=n("./node_modules/lodash/_baseValues.js"),i=n("./node_modules/lodash/keys.js");e.exports=r},"./node_modules/lodash/without.js":function(e,t,n){var r=n("./node_modules/lodash/_baseDifference.js"),o=n("./node_modules/lodash/_baseRest.js"),i=n("./node_modules/lodash/isArrayLikeObject.js"),a=o(function(e,t){return i(e)?r(e,t):[]});e.exports=a},"./node_modules/lodash/words.js":function(e,t,n){function r(e,t,n){return e=a(e),t=n?void 0:t,void 0===t?i(e)?s(e):o(e):e.match(t)||[]}var o=n("./node_modules/lodash/_asciiWords.js"),i=n("./node_modules/lodash/_hasUnicodeWord.js"),a=n("./node_modules/lodash/toString.js"),s=n("./node_modules/lodash/_unicodeWords.js");e.exports=r},"./node_modules/lower-case/lower-case.js":function(e,t){var n={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{"İ":"i",I:"ı","İ":"i"}},az:{regexp:/[\u0130]/g,map:{"İ":"i",I:"ı","İ":"i"}},lt:{regexp:/[\u0049\u004A\u012E\u00CC\u00CD\u0128]/g,map:{I:"i̇",J:"j̇","Į":"į̇","Ì":"i̇̀","Í":"i̇́","Ĩ":"i̇̃"}}};e.exports=function(e,t){var r=n[t];return e=null==e?"":String(e),r&&(e=e.replace(r.regexp,function(e){return r.map[e]})),e.toLowerCase()}},"./node_modules/lz-string/libs/lz-string.js":function(e,t,n){var r,o=function(){function e(e,t){if(!o[e]){o[e]={};for(var n=0;n>>8,n[2*r+1]=a%256}return n},decompressFromUint8Array:function(e){if(null===e||void 0===e)return i.decompress(e);for(var n=new Array(e.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}d--,0==d&&(d=Math.pow(2,f),f++),delete s[c]}else for(o=a[c],r=0;r>=1;d--,0==d&&(d=Math.pow(2,f),f++),a[u]=p++,c=String(l)}if(""!==c){if(Object.prototype.hasOwnProperty.call(s,c)){if(c.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}d--,0==d&&(d=Math.pow(2,f),f++),delete s[c]}else for(o=a[c],r=0;r>=1;d--,0==d&&(d=Math.pow(2,f),f++)}for(o=2,r=0;r>=1;for(;;){if(m<<=1,g==t-1){h.push(n(m));break}g++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:i._decompress(e.length,32768,function(t){return e.charCodeAt(t)})},_decompress:function(e,n,r){var o,i,a,s,l,u,c,d=[],p=4,f=4,h=3,m="",g=[],y={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)d[o]=o;for(a=0,l=Math.pow(2,2),u=1;u!=l;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(a){case 0:for(a=0,l=Math.pow(2,8),u=1;u!=l;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;c=t(a);break;case 1:for(a=0,l=Math.pow(2,16),u=1;u!=l;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;c=t(a);break;case 2:return""}for(d[3]=c,i=c,g.push(c);;){if(y.index>e)return"";for(a=0,l=Math.pow(2,h),u=1;u!=l;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;switch(c=a){case 0:for(a=0,l=Math.pow(2,8),u=1;u!=l;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;d[f++]=t(a),c=f-1,p--;break;case 1:for(a=0,l=Math.pow(2,16),u=1;u!=l;)s=y.val&y.position,y.position>>=1,0==y.position&&(y.position=n,y.val=r(y.index++)),a|=(s>0?1:0)*u,u<<=1;d[f++]=t(a),c=f-1,p--;break;case 2:return g.join("")}if(0==p&&(p=Math.pow(2,h),h++),d[c])m=d[c];else{if(c!==f)return null;m=i+i.charAt(0)}g.push(m),d[f++]=i+m.charAt(0),p--,i=m,0==p&&(p=Math.pow(2,h),h++)}}};return i}();void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)},"./node_modules/material-colors/dist/colors.es2015.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"red",function(){return r}),n.d(t,"pink",function(){return o}),n.d(t,"purple",function(){return i}),n.d(t,"deepPurple",function(){return a}),n.d(t,"indigo",function(){return s}),n.d(t,"blue",function(){return l}),n.d(t,"lightBlue",function(){return u}),n.d(t,"cyan",function(){return c}),n.d(t,"teal",function(){return d}),n.d(t,"green",function(){return p}),n.d(t,"lightGreen",function(){return f}),n.d(t,"lime",function(){return h}),n.d(t,"yellow",function(){return m}),n.d(t,"amber",function(){return g}),n.d(t,"orange",function(){return y}),n.d(t,"deepOrange",function(){return v}),n.d(t,"brown",function(){return b}),n.d(t,"grey",function(){return _}),n.d(t,"blueGrey",function(){return A}),n.d(t,"darkText",function(){return x}),n.d(t,"lightText",function(){return j}),n.d(t,"darkIcons",function(){return w}),n.d(t,"lightIcons",function(){return C}),n.d(t,"white",function(){return E}),n.d(t,"black",function(){return k});var r={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",a100:"#ff8a80",a200:"#ff5252",a400:"#ff1744",a700:"#d50000"},o={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",a100:"#ff80ab",a200:"#ff4081",a400:"#f50057",a700:"#c51162"},i={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",a100:"#ea80fc",a200:"#e040fb",a400:"#d500f9",a700:"#aa00ff"},a={50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",a100:"#b388ff",a200:"#7c4dff",a400:"#651fff",a700:"#6200ea"},s={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",a100:"#8c9eff",a200:"#536dfe",a400:"#3d5afe",a700:"#304ffe"},l={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",a100:"#82b1ff",a200:"#448aff",a400:"#2979ff",a700:"#2962ff"},u={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",a100:"#80d8ff",a200:"#40c4ff",a400:"#00b0ff",a700:"#0091ea"},c={50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",a100:"#84ffff",a200:"#18ffff",a400:"#00e5ff",a700:"#00b8d4"},d={50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",a100:"#a7ffeb",a200:"#64ffda",a400:"#1de9b6",a700:"#00bfa5"},p={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",a100:"#b9f6ca",a200:"#69f0ae",a400:"#00e676",a700:"#00c853"},f={50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",a100:"#ccff90",a200:"#b2ff59",a400:"#76ff03",a700:"#64dd17"},h={50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",a100:"#f4ff81",a200:"#eeff41",a400:"#c6ff00",a700:"#aeea00"},m={50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",a100:"#ffff8d",a200:"#ffff00",a400:"#ffea00",a700:"#ffd600"},g={50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",a100:"#ffe57f",a200:"#ffd740",a400:"#ffc400",a700:"#ffab00"},y={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",a100:"#ffd180",a200:"#ffab40",a400:"#ff9100",a700:"#ff6d00"},v={50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",a100:"#ff9e80",a200:"#ff6e40",a400:"#ff3d00",a700:"#dd2c00"},b={50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723"},_={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121"},A={50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238"},x={primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",dividers:"rgba(0, 0, 0, 0.12)"},j={primary:"rgba(255, 255, 255, 1)",secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",dividers:"rgba(255, 255, 255, 0.12)"},w={active:"rgba(0, 0, 0, 0.54)",inactive:"rgba(0, 0, 0, 0.38)"},C={active:"rgba(255, 255, 255, 1)",inactive:"rgba(255, 255, 255, 0.5)"},E="#ffffff",k="#000000";t.default={red:r,pink:o,purple:i,deepPurple:a,indigo:s,blue:l,lightBlue:u,cyan:c,teal:d,green:p,lightGreen:f,lime:h,yellow:m,amber:g,orange:y,deepOrange:v,brown:b,grey:_,blueGrey:A,darkText:x,lightText:j,darkIcons:w,lightIcons:C,white:E,black:k}},"./node_modules/material-ui/Checkbox/Checkbox.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.muiTheme.checkbox,r=24;return{icon:{height:r,width:r},check:{position:"absolute",opacity:0,transform:"scale(0)",transitionOrigin:"50% 50%",transition:E.default.easeOut("450ms","opacity","0ms")+", "+E.default.easeOut("0ms","transform","450ms"),fill:n.checkedColor},checkWhenSwitched:{opacity:1,transform:"scale(1)",transition:E.default.easeOut("0ms","opacity","0ms")+", "+E.default.easeOut("800ms","transform","0ms")},checkWhenDisabled:{fill:n.disabledColor},box:{position:"absolute",opacity:1,fill:n.boxColor,transition:E.default.easeOut("1000ms","opacity","200ms")},boxWhenSwitched:{opacity:0,transition:E.default.easeOut("650ms","opacity","150ms"),fill:n.checkedColor},boxWhenDisabled:{fill:e.checked?"transparent":n.disabledColor},label:{color:e.disabled?n.labelDisabledColor:n.labelColor}}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/extends.js"),a=r(i),s=n("./node_modules/babel-runtime/helpers/objectWithoutProperties.js"),l=r(s),u=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),c=r(u),d=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),p=r(d),f=n("./node_modules/babel-runtime/helpers/createClass.js"),h=r(f),m=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),g=r(m),y=n("./node_modules/babel-runtime/helpers/inherits.js"),v=r(y),b=n("./node_modules/simple-assign/index.js"),_=r(b),A=n("./node_modules/react/react.js"),x=r(A),j=n("./node_modules/material-ui/internal/EnhancedSwitch.js"),w=r(j),C=n("./node_modules/material-ui/styles/transitions.js"),E=r(C),k=n("./node_modules/material-ui/svg-icons/toggle/check-box-outline-blank.js"),T=r(k),S=n("./node_modules/material-ui/svg-icons/toggle/check-box.js"),P=r(S),M=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var i=arguments.length,a=Array(i),s=0;s1;return{root:{backgroundColor:!n.isKeyboardFocused&&!n.hovered||n.rightIconButtonHovered||n.rightIconButtonKeyboardFocused?null:y,color:g,display:"block",fontSize:16,lineHeight:"16px",position:"relative",transition:S.default.easeOut()},innerDiv:{marginLeft:s*m.nestedLevelDepth,paddingLeft:a||o||i||r?72:16,paddingRight:u||l||c?56:d?72:16,paddingBottom:v?20:16,paddingTop:b||A?16:20,position:"relative"},icons:{height:24,width:24,display:"block",position:"absolute",top:_?12:v?4:0,margin:12},leftIcon:{left:4},rightIcon:{right:4},avatars:{position:"absolute",top:v?8:16},label:{cursor:"pointer"},leftAvatar:{left:16},rightAvatar:{right:16},leftCheckbox:{position:"absolute",display:"block",width:24,top:_?24:v?16:12,left:16},primaryText:{},rightIconButton:{position:"absolute",display:"block",top:_?12:v?4:0,right:4},rightToggle:{position:"absolute",display:"block",width:54,top:_?25:v?17:13,right:8},secondaryText:{fontSize:14,lineHeight:A?"18px":"16px",height:A?36:16,margin:0,marginTop:4,color:m.secondaryTextColor,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:A?null:"nowrap",display:A?"-webkit-box":null,WebkitLineClamp:A?2:null,WebkitBoxOrient:A?"vertical":null}}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/objectWithoutProperties.js"),a=r(i),s=n("./node_modules/babel-runtime/helpers/extends.js"),l=r(s),u=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),c=r(u),d=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),p=r(d),f=n("./node_modules/babel-runtime/helpers/createClass.js"),h=r(f),m=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),g=r(m),y=n("./node_modules/babel-runtime/helpers/inherits.js"),v=r(y),b=n("./node_modules/simple-assign/index.js"),_=r(b),A=n("./node_modules/react/react.js"),x=r(A),j=n("./node_modules/react-dom/index.js"),w=r(j),C=n("./node_modules/recompose/shallowEqual.js"),E=r(C),k=n("./node_modules/material-ui/utils/colorManipulator.js"),T=n("./node_modules/material-ui/styles/transitions.js"),S=r(T),P=n("./node_modules/material-ui/internal/EnhancedButton.js"),M=r(P),D=n("./node_modules/material-ui/IconButton/index.js"),O=r(D),I=n("./node_modules/material-ui/svg-icons/navigation/expand-less.js"),R=r(I),L=n("./node_modules/material-ui/svg-icons/navigation/expand-more.js"),F=r(L),N=n("./node_modules/material-ui/List/NestedList.js"),B=r(N),z=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var i=arguments.length,a=Array(i),s=0;s0?t.props.nestedItems.reduce(r.hasSelectedDescendant,e):e||r.isChildSelected(t,r.props)},r.handleItemTouchTap=function(e,t){var n=t.props.value;n!==r.props.value&&r.props.onChange&&r.props.onChange(e,n)},o=t,(0,m.default)(r,o)}return(0,y.default)(n,t),(0,f.default)(n,[{key:"extendChild",value:function(e,t,n){var r=this;if(e&&e.type&&"ListItem"===e.type.muiName){var o=this.isChildSelected(e,this.props),i=void 0;o&&(i=(0,b.default)({},t,n));var a=(0,b.default)({},e.props.style,i);return this.keyIndex+=1,A.default.cloneElement(e,{onTouchTap:function(t){r.handleItemTouchTap(t,e),e.props.onTouchTap&&e.props.onTouchTap(t)},key:this.keyIndex,style:a,nestedItems:e.props.nestedItems.map(function(e){return r.extendChild(e,t,n)}),initiallyOpen:this.isInitiallyOpen(e)})}return e}},{key:"isInitiallyOpen",value:function(e){return e.props.initiallyOpen?e.props.initiallyOpen:this.hasSelectedDescendant(!1,e)}},{key:"isChildSelected",value:function(e,t){return t.value===e.props.value}},{key:"render",value:function(){var t=this,n=this.props,r=n.children,o=n.selectedItemStyle,a=(0,s.default)(n,["children","selectedItemStyle"]);this.keyIndex=0;var l={};if(!o){var u=this.context.muiTheme.baseTheme.palette.textColor;l.backgroundColor=(0,x.fade)(u,.2)}return A.default.createElement(e,(0,i.default)({},a,this.state),_.Children.map(r,function(e){return t.extendChild(e,l,o)}))}}]),n}(_.Component),t.propTypes={children:_.PropTypes.node,onChange:_.PropTypes.func,selectedItemStyle:_.PropTypes.object,value:_.PropTypes.any},t.contextTypes={muiTheme:_.PropTypes.object.isRequired},n};t.makeSelectable=j,t.default=j},"./node_modules/material-ui/Menu/Menu.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.desktop,r=e.maxHeight,o=e.width,i=t.muiTheme;return{root:{zIndex:i.zIndex.menu,maxHeight:r,overflowY:r?"auto":null},divider:{marginTop:7,marginBottom:8},list:{display:"table-cell",paddingBottom:n?16:8,paddingTop:n?16:8,userSelect:"none",width:o},selectedMenuItem:{color:i.menuItem.selectedTextColor}}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/extends.js"),a=r(i),s=n("./node_modules/babel-runtime/helpers/objectWithoutProperties.js"),l=r(s),u=n("./node_modules/babel-runtime/helpers/toArray.js"),c=r(u),d=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),p=r(d),f=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),h=r(f),m=n("./node_modules/babel-runtime/helpers/createClass.js"),g=r(m),y=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),v=r(y),b=n("./node_modules/babel-runtime/helpers/inherits.js"),_=r(b),A=n("./node_modules/simple-assign/index.js"),x=r(A),j=n("./node_modules/react/react.js"),w=r(j),C=n("./node_modules/react-dom/index.js"),E=r(C),k=n("./node_modules/recompose/shallowEqual.js"),T=r(k),S=n("./node_modules/material-ui/internal/ClickAwayListener.js"),P=r(S),M=n("./node_modules/keycode/index.js"),D=r(M),O=n("./node_modules/material-ui/utils/propTypes.js"),I=(r(O),n("./node_modules/material-ui/List/List.js")),R=r(I),L=n("./node_modules/material-ui/Menu/menuUtils.js"),F=function(e){function t(e,n){(0,h.default)(this,t);var r=(0,v.default)(this,(t.__proto__||(0,p.default)(t)).call(this,e,n));N.call(r);var o=r.getFilteredChildren(e.children),i=r.getSelectedIndex(e,o),a=e.disableAutoFocus?-1:i>=0?i:0;return a!==-1&&e.onMenuItemFocusChange&&e.onMenuItemFocusChange(null,a),r.state={focusIndex:a,isKeyboardFocused:e.initiallyKeyboardFocused,keyWidth:e.desktop?64:56},r.hotKeyHolder=new L.HotKeyHolder,r}return(0,_.default)(t,e),(0,g.default)(t,[{key:"componentDidMount",value:function(){this.props.autoWidth&&this.setWidth(),this.setScollPosition()}},{key:"componentWillReceiveProps",value:function(e){var t=this.getFilteredChildren(e.children),n=this.getSelectedIndex(e,t),r=e.disableAutoFocus?-1:n>=0?n:0;r!==this.state.focusIndex&&this.props.onMenuItemFocusChange&&this.props.onMenuItemFocusChange(null,r),this.setState({focusIndex:r,keyWidth:e.desktop?64:56})}},{key:"shouldComponentUpdate",value:function(e,t,n){return!(0,T.default)(this.props,e)||!(0,T.default)(this.state,t)||!(0,T.default)(this.context,n)}},{key:"componentDidUpdate",value:function(){this.props.autoWidth&&this.setWidth()}},{key:"getValueLink",value:function(e){return e.valueLink||{value:e.value,requestChange:e.onChange}}},{key:"setKeyboardFocused",value:function(e){this.setState({isKeyboardFocused:e})}},{key:"getFilteredChildren",value:function(e){var t=[];return w.default.Children.forEach(e,function(e){e&&t.push(e)}),t}},{key:"cloneMenuItem",value:function(e,t,n,r){var o=this,i=e.props.disabled,a={};if(!i){this.isChildSelected(e,this.props)&&(0,x.default)(a,n.selectedMenuItem,this.props.selectedMenuItemStyle)}var s=(0,x.default)({},e.props.style,this.props.menuItemStyle,a),l={desktop:this.props.desktop,style:s};if(!i){var u=t===this.state.focusIndex,c="none";u&&(c=this.state.isKeyboardFocused?"keyboard-focused":"focused"),(0,x.default)(l,{focusState:c,onTouchTap:function(t){o.handleMenuItemTouchTap(t,e,r),e.props.onTouchTap&&e.props.onTouchTap(t)},ref:u?"focusedMenuItem":null})}return w.default.cloneElement(e,l)}},{key:"decrementKeyboardFocusIndex",value:function(e){var t=this.state.focusIndex;t--,t<0&&(t=0),this.setFocusIndex(e,t,!0)}},{key:"getMenuItemCount",value:function(e){var t=0;return e.forEach(function(e){var n=e.type&&"Divider"===e.type.muiName,r=e.props.disabled;n||r||t++}),t}},{key:"getSelectedIndex",value:function(e,t){var n=this,r=-1,o=0;return t.forEach(function(t){var i=t.type&&"Divider"===t.type.muiName;n.isChildSelected(t,e)&&(r=o),i||o++}),r}},{key:"setFocusIndexStartsWith",value:function(e,t){var n=-1;return w.default.Children.forEach(this.props.children,function(e,r){if(!(n>=0)){var o=e.props.primaryText;"string"==typeof o&&new RegExp("^"+t,"i").test(o)&&(n=r)}}),n>=0&&(this.setFocusIndex(e,n,!0),!0)}},{key:"handleMenuItemTouchTap",value:function(e,t,n){var r=this.props.children,o=this.props.multiple,i=this.getValueLink(this.props),a=i.value,s=t.props.value,l=w.default.isValidElement(r)?0:r.indexOf(t);if(this.setFocusIndex(e,l,!1),o){a=a||[];var u=a.indexOf(s),d=a,p=(0,c.default)(d),f=p.slice(0);u===-1?f.push(s):f.splice(u,1),i.requestChange(e,f)}else o||s===a||i.requestChange(e,s);this.props.onItemTouchTap(e,t,n)}},{key:"incrementKeyboardFocusIndex",value:function(e,t){var n=this.state.focusIndex,r=this.getMenuItemCount(t)-1;n++,n>r&&(n=r),this.setFocusIndex(e,n,!0)}},{key:"isChildSelected",value:function(e,t){var n=this.getValueLink(t).value,r=e.props.value;return t.multiple?n&&n.length&&n.indexOf(r)!==-1:e.props.hasOwnProperty("value")&&n===r}},{key:"setFocusIndex",value:function(e,t,n){this.props.onMenuItemFocusChange&&this.props.onMenuItemFocusChange(e,t),this.setState({focusIndex:t,isKeyboardFocused:n})}},{key:"setScollPosition",value:function(){var e=this.props.desktop,t=this.refs.focusedMenuItem,n=e?32:48;if(t){var r=E.default.findDOMNode(t).offsetTop,o=r-n;o0;return s&&a>o-i-r?(n.scrollTop=o,e.cancelScrollEvent(t)):!s&&-a>r?(n.scrollTop=0,e.cancelScrollEvent(t)):void 0}}};t.default=F},"./node_modules/material-ui/Menu/menuUtils.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.HotKeyHolder=void 0;var o=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),i=r(o),a=n("./node_modules/babel-runtime/helpers/createClass.js"),s=r(a);t.HotKeyHolder=function(){function e(){var t=this;(0,i.default)(this,e),this.clear=function(){t.timerId=null,t.lastKeys=null}}return(0,s.default)(e,[{key:"append",value:function(e){return clearTimeout(this.timerId),this.timerId=setTimeout(this.clear,500),this.lastKeys=(this.lastKeys||"")+e}}]),e}()},"./node_modules/material-ui/MenuItem/MenuItem.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.muiTheme.baseTheme.palette.disabledColor,r=t.muiTheme.baseTheme.palette.textColor,o=e.desktop?64:72,i=e.desktop?24:16;return{root:{color:e.disabled?n:r,cursor:e.disabled?"not-allowed":"pointer",minHeight:e.desktop?"32px":"48px",lineHeight:e.desktop?"32px":"48px",fontSize:e.desktop?15:16,whiteSpace:"nowrap"},innerDivStyle:{paddingLeft:e.leftIcon||e.insetChildren||e.checked?o:i,paddingRight:e.rightIcon?o:i,paddingBottom:0,paddingTop:0},secondaryText:{float:"right"},leftIconDesktop:{margin:0,left:24,top:4},rightIconDesktop:{margin:0,right:24,top:4,fill:t.muiTheme.menuItem.rightIconDesktopFill}}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/extends.js"),a=r(i),s=n("./node_modules/babel-runtime/helpers/objectWithoutProperties.js"),l=r(s),u=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),c=r(u),d=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),p=r(d),f=n("./node_modules/babel-runtime/helpers/createClass.js"),h=r(f),m=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),g=r(m),y=n("./node_modules/babel-runtime/helpers/inherits.js"),v=r(y),b=n("./node_modules/simple-assign/index.js"),_=r(b),A=n("./node_modules/react/react.js"),x=r(A),j=n("./node_modules/react-dom/index.js"),w=r(j),C=n("./node_modules/recompose/shallowEqual.js"),E=r(C),k=n("./node_modules/material-ui/Popover/Popover.js"),T=r(k),S=n("./node_modules/material-ui/svg-icons/navigation/check.js"),P=r(S),M=n("./node_modules/material-ui/List/ListItem.js"),D=r(M),O=n("./node_modules/material-ui/Menu/Menu.js"),I=r(O),R=n("./node_modules/material-ui/utils/propTypes.js"),L=(r(R),{position:"relative"}),F=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var i=arguments.length,a=Array(i),s=0;swindow.innerHeight||e.left<0||e.left>window.innerWidth)&&this.requestClose("offScreen")}},{key:"getOverlapMode",value:function(e,t,n){return[e,t].indexOf(n)>=0?"auto":e===t?"inclusive":"exclusive"}},{key:"getPositions",value:function(e,t){var n=(0,i.default)({},e),r=(0,i.default)({},t),o={x:["left","right"].filter(function(e){return e!==r.horizontal}),y:["top","bottom"].filter(function(e){return e!==r.vertical})},a={x:this.getOverlapMode(n.horizontal,r.horizontal,"middle"),y:this.getOverlapMode(n.vertical,r.vertical,"center")};return o.x.splice("auto"===a.x?0:1,0,"middle"),o.y.splice("auto"===a.y?0:1,0,"center"),"auto"!==a.y&&(n.vertical="top"===n.vertical?"bottom":"top","inclusive"===a.y&&(r.vertical=r.vertical)),"auto"!==a.x&&(n.horizontal="left"===n.horizontal?"right":"left","inclusive"===a.y&&(r.horizontal=r.horizontal)),{positions:o,anchorPos:n}}},{key:"applyAutoPositionIfNeeded",value:function(e,t,n,r,o){var i=this.getPositions(r,n),a=i.positions,s=i.anchorPos;if(o.top<0||o.top+t.bottom>window.innerHeight){var l=e[s.vertical]-t[a.y[0]];l+t.bottom<=window.innerHeight?o.top=Math.max(0,l):(l=e[s.vertical]-t[a.y[1]])+t.bottom<=window.innerHeight&&(o.top=Math.max(0,l))}if(o.left<0||o.left+t.right>window.innerWidth){var u=e[s.horizontal]-t[a.x[0]];u+t.right<=window.innerWidth?o.left=Math.max(0,u):(u=e[s.horizontal]-t[a.x[1]])+t.right<=window.innerWidth&&(o.left=Math.max(0,u))}return o}},{key:"render",value:function(){return A.default.createElement("div",{style:L.root},A.default.createElement(C.default,{target:"window",onScroll:this.handleScroll,onResize:this.handleResize}),A.default.createElement(k.default,{ref:"layer",open:this.state.open,componentClickAway:this.componentClickAway,useLayerForClickAway:this.props.useLayerForClickAway,render:this.renderLayer}))}}]),t}(_.Component);F.defaultProps={anchorOrigin:{vertical:"bottom",horizontal:"left"},animated:!0,autoCloseWhenOffScreen:!0,canAutoPosition:!0,onRequestClose:function(){},open:!1,style:{overflowY:"auto"},targetOrigin:{vertical:"top",horizontal:"left"},useLayerForClickAway:!0,zDepth:1},F.contextTypes={muiTheme:_.PropTypes.object.isRequired},t.default=F},"./node_modules/material-ui/Popover/PopoverAnimationDefault.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.targetOrigin,o=n.open,i=t.muiTheme,a=r.horizontal.replace("middle","vertical");return{root:{position:"fixed",zIndex:i.zIndex.popover,opacity:o?1:0,transform:o?"scale(1, 1)":"scale(0, 0)",transformOrigin:a+" "+r.vertical,transition:v.default.easeOut("250ms",["transform","opacity"]),maxHeight:"100%"},horizontal:{maxHeight:"100%",overflowY:"auto",transform:o?"scaleX(1)":"scaleX(0)",opacity:o?1:0,transformOrigin:a+" "+r.vertical,transition:v.default.easeOut("250ms",["transform","opacity"])},vertical:{opacity:o?1:0,transform:o?"scaleY(1)":"scaleY(0)",transformOrigin:a+" "+r.vertical,transition:v.default.easeOut("500ms",["transform","opacity"])}}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),a=r(i),s=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),l=r(s),u=n("./node_modules/babel-runtime/helpers/createClass.js"),c=r(u),d=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),p=r(d),f=n("./node_modules/babel-runtime/helpers/inherits.js"),h=r(f),m=n("./node_modules/simple-assign/index.js"),g=r(m),y=n("./node_modules/material-ui/styles/transitions.js"),v=r(y),b=n("./node_modules/react/react.js"),_=r(b),A=n("./node_modules/material-ui/utils/propTypes.js"),x=(r(A),n("./node_modules/material-ui/Paper/index.js")),j=r(x),w=function(e){function t(){var e,n,r,o;(0,l.default)(this,t);for(var i=arguments.length,s=Array(i),u=0;ui?l=i:lo?i=o:in&&(t=n);var r=this.props,o=r.step,i=r.min,a=r.max,s=void 0;s=t/n*(a-i),s=Math.round(s/o)*o+i,s=parseFloat(s.toFixed(5)),s>a?s=a:s=n.rows&&(o=Math.min(n.rowsMax*C,o)),o=Math.max(o,C),this.state.height!==o&&(this.setState({height:o}),n.onHeightChange&&n.onHeightChange(t,o)))}},{key:"render",value:function(){var e=this.props,t=(e.onChange,e.onHeightChange,e.rows,e.rowsMax,e.shadowStyle),n=e.style,r=e.textareaStyle,i=(e.valueLink,(0,l.default)(e,["onChange","onHeightChange","rows","rowsMax","shadowStyle","style","textareaStyle","valueLink"])),s=this.context.muiTheme.prepareStyles,u=o(this.props,this.context,this.state),c=(0,_.default)(u.root,n),d=(0,_.default)(u.textarea,r),p=(0,_.default)({},d,u.shadow,t);return this.props.hasOwnProperty("valueLink")&&(i.value=this.props.valueLink.value),x.default.createElement("div",{style:s(c)},x.default.createElement(w.default,{target:"window",onResize:this.handleResize}),x.default.createElement("textarea",{ref:"shadow",style:s(p),tabIndex:"-1",rows:this.props.rows,defaultValue:this.props.defaultValue,readOnly:!0,value:this.props.value,valueLink:this.props.valueLink}),x.default.createElement("textarea",(0,a.default)({},i,{ref:"input",rows:this.props.rows,style:s(d),onChange:this.handleChange})))}}]),t}(A.Component);E.defaultProps={rows:1},E.contextTypes={muiTheme:A.PropTypes.object.isRequired},t.default=E},"./node_modules/material-ui/TextField/TextField.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return""!==e&&void 0!==e&&null!==e&&!(Array.isArray(e)&&0===e.length)}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/helpers/extends.js"),a=r(i),s=n("./node_modules/babel-runtime/helpers/objectWithoutProperties.js"),l=r(s),u=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),c=r(u),d=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),p=r(d),f=n("./node_modules/babel-runtime/helpers/createClass.js"),h=r(f),m=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),g=r(m),y=n("./node_modules/babel-runtime/helpers/inherits.js"),v=r(y),b=n("./node_modules/simple-assign/index.js"),_=r(b),A=n("./node_modules/react/react.js"),x=r(A),j=n("./node_modules/react-dom/index.js"),w=r(j),C=n("./node_modules/recompose/shallowEqual.js"),E=r(C),k=n("./node_modules/material-ui/styles/transitions.js"),T=r(k),S=n("./node_modules/material-ui/TextField/EnhancedTextarea.js"),P=r(S),M=n("./node_modules/material-ui/TextField/TextFieldHint.js"),D=r(M),O=n("./node_modules/material-ui/TextField/TextFieldLabel.js"),I=r(O),R=n("./node_modules/material-ui/TextField/TextFieldUnderline.js"),L=r(R),F=n("./node_modules/warning/browser.js"),N=(r(F),function(e,t,n){var r=t.muiTheme,o=r.baseTheme,i=r.textField,a=i.floatingLabelColor,s=i.focusColor,l=i.textColor,u=i.disabledTextColor,c=i.backgroundColor,d=i.errorColor,p={root:{fontSize:16,lineHeight:"24px",width:e.fullWidth?"100%":256,height:24*(e.rows-1)+(e.floatingLabelText?72:48),display:"inline-block",position:"relative",backgroundColor:c,fontFamily:o.fontFamily,transition:T.default.easeOut("200ms","height"),cursor:e.disabled?"not-allowed":"auto"},error:{position:"relative",bottom:2,fontSize:12,lineHeight:"12px",color:d,transition:T.default.easeOut()},floatingLabel:{color:e.disabled?u:a,pointerEvents:"none"},input:{padding:0,position:"relative",width:"100%",border:"none",outline:"none",backgroundColor:"rgba(0,0,0,0)",color:e.disabled?u:l,cursor:"inherit",font:"inherit",WebkitTapHighlightColor:"rgba(0,0,0,0)"},inputNative:{appearance:"textfield"}};return p.textarea=(0,_.default)({},p.input,{marginTop:e.floatingLabelText?36:12,marginBottom:e.floatingLabelText?-36:-12,boxSizing:"border-box",font:"inherit"}),p.input.height="100%",n.isFocused&&(p.floatingLabel.color=s),e.floatingLabelText&&(p.input.boxSizing="border-box",e.multiLine||(p.input.marginTop=14),n.errorText&&(p.error.bottom=e.multiLine?3:p.error.fontSize+3)),n.errorText&&n.isFocused&&(p.floatingLabel.color=p.error.color),p}),B=function(e){function t(){var e,n,r,i;(0,p.default)(this,t);for(var a=arguments.length,s=Array(a),l=0;l300)return void r.stopListeningForScrollAbort();var t=Math.abs(e.touches[0].clientY-r.firstTouchY),n=Math.abs(e.touches[0].clientX-r.firstTouchX);if(t>6||n>6){var o=r.state.ripples,a=o[0],s=A.default.cloneElement(a,{aborted:!0});o=P(o),o=[].concat((0,i.default)(o),[s]),r.setState({ripples:o},function(){r.end()})}},r.ignoreNextMouseDown=!1,r.state={hasRipples:!1,nextKey:0,ripples:[]},r}return(0,m.default)(t,e),(0,d.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(this.ignoreNextMouseDown&&!t)return void(this.ignoreNextMouseDown=!1);var r=this.state.ripples;r=[].concat((0,i.default)(r),[A.default.createElement(S.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:r})}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:P(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=j.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=k.default.offset(t),i=e.touches&&e.touches.length,a=i?e.touches[0].pageX:e.pageX,s=i?e.touches[0].pageY:e.pageY,l=a-o.left,u=s-o.top,c=this.calcDiag(l,u),d=this.calcDiag(r-l,u),p=this.calcDiag(r-l,n-u),f=this.calcDiag(l,n-u),h=Math.max(c,d,p,f),m=2*h;return{directionInvariant:!0,height:m,width:m,top:u-h,left:l-h}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,i=r.ripples,a=this.context.muiTheme.prepareStyles,s=void 0;if(o){var l=(0,b.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none"},n);s=A.default.createElement(C.default,{style:a(l)},i)}return A.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},s,t)}}]),t}(_.Component);M.defaultProps={abortOnScroll:!0},M.contextTypes={muiTheme:_.PropTypes.object.isRequired},t.default=M},"./node_modules/material-ui/styles/MuiThemeProvider.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/babel-runtime/core-js/object/get-prototype-of.js"),i=r(o),a=n("./node_modules/babel-runtime/helpers/classCallCheck.js"),s=r(a),l=n("./node_modules/babel-runtime/helpers/createClass.js"),u=r(l),c=n("./node_modules/babel-runtime/helpers/possibleConstructorReturn.js"),d=r(c),p=n("./node_modules/babel-runtime/helpers/inherits.js"),f=r(p),h=n("./node_modules/react/react.js"),m=n("./node_modules/material-ui/styles/getMuiTheme.js"),g=r(m),y=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,f.default)(t,e),(0,u.default)(t,[{key:"getChildContext",value:function(){return{muiTheme:this.props.muiTheme||(0,g.default)()}}},{key:"render",value:function(){return this.props.children}}]),t}(h.Component);y.childContextTypes={muiTheme:h.PropTypes.object.isRequired},t.default=y},"./node_modules/material-ui/styles/baseThemes/lightBaseTheme.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/material-ui/styles/colors.js"),i=n("./node_modules/material-ui/utils/colorManipulator.js"),a=n("./node_modules/material-ui/styles/spacing.js"),s=r(a);t.default={spacing:s.default,fontFamily:"Roboto, sans-serif",borderRadius:2,palette:{primary1Color:o.cyan500,primary2Color:o.cyan700,primary3Color:o.grey400,accent1Color:o.pinkA200,accent2Color:o.grey100,accent3Color:o.grey500,textColor:o.darkBlack,secondaryTextColor:(0,i.fade)(o.darkBlack,.54),alternateTextColor:o.white,canvasColor:o.white,borderColor:o.grey300,disabledColor:(0,i.fade)(o.darkBlack,.3),pickerHeaderColor:o.cyan500,clockCircleColor:(0,i.fade)(o.darkBlack,.07),shadowColor:o.fullBlack}}},"./node_modules/material-ui/styles/colors.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.red50="#ffebee",t.red100="#ffcdd2",t.red200="#ef9a9a",t.red300="#e57373",t.red400="#ef5350",t.red500="#f44336",t.red600="#e53935",t.red700="#d32f2f",t.red800="#c62828",t.red900="#b71c1c",t.redA100="#ff8a80",t.redA200="#ff5252",t.redA400="#ff1744",t.redA700="#d50000",t.pink50="#fce4ec",t.pink100="#f8bbd0",t.pink200="#f48fb1",t.pink300="#f06292",t.pink400="#ec407a",t.pink500="#e91e63",t.pink600="#d81b60",t.pink700="#c2185b",t.pink800="#ad1457",t.pink900="#880e4f",t.pinkA100="#ff80ab",t.pinkA200="#ff4081",t.pinkA400="#f50057",t.pinkA700="#c51162",t.purple50="#f3e5f5",t.purple100="#e1bee7",t.purple200="#ce93d8",t.purple300="#ba68c8",t.purple400="#ab47bc",t.purple500="#9c27b0",t.purple600="#8e24aa",t.purple700="#7b1fa2",t.purple800="#6a1b9a",t.purple900="#4a148c",t.purpleA100="#ea80fc",t.purpleA200="#e040fb",t.purpleA400="#d500f9",t.purpleA700="#aa00ff",t.deepPurple50="#ede7f6",t.deepPurple100="#d1c4e9",t.deepPurple200="#b39ddb",t.deepPurple300="#9575cd",t.deepPurple400="#7e57c2",t.deepPurple500="#673ab7",t.deepPurple600="#5e35b1",t.deepPurple700="#512da8",t.deepPurple800="#4527a0",t.deepPurple900="#311b92",t.deepPurpleA100="#b388ff",t.deepPurpleA200="#7c4dff",t.deepPurpleA400="#651fff",t.deepPurpleA700="#6200ea",t.indigo50="#e8eaf6",t.indigo100="#c5cae9",t.indigo200="#9fa8da",t.indigo300="#7986cb",t.indigo400="#5c6bc0",t.indigo500="#3f51b5",t.indigo600="#3949ab",t.indigo700="#303f9f",t.indigo800="#283593",t.indigo900="#1a237e",t.indigoA100="#8c9eff",t.indigoA200="#536dfe",t.indigoA400="#3d5afe",t.indigoA700="#304ffe",t.blue50="#e3f2fd",t.blue100="#bbdefb",t.blue200="#90caf9",t.blue300="#64b5f6",t.blue400="#42a5f5",t.blue500="#2196f3",t.blue600="#1e88e5",t.blue700="#1976d2",t.blue800="#1565c0",t.blue900="#0d47a1",t.blueA100="#82b1ff",t.blueA200="#448aff",t.blueA400="#2979ff",t.blueA700="#2962ff",t.lightBlue50="#e1f5fe",t.lightBlue100="#b3e5fc",t.lightBlue200="#81d4fa",t.lightBlue300="#4fc3f7",t.lightBlue400="#29b6f6",t.lightBlue500="#03a9f4",t.lightBlue600="#039be5",t.lightBlue700="#0288d1",t.lightBlue800="#0277bd",t.lightBlue900="#01579b",t.lightBlueA100="#80d8ff",t.lightBlueA200="#40c4ff",t.lightBlueA400="#00b0ff",t.lightBlueA700="#0091ea",t.cyan50="#e0f7fa",t.cyan100="#b2ebf2",t.cyan200="#80deea",t.cyan300="#4dd0e1",t.cyan400="#26c6da",t.cyan500="#00bcd4",t.cyan600="#00acc1",t.cyan700="#0097a7",t.cyan800="#00838f",t.cyan900="#006064",t.cyanA100="#84ffff",t.cyanA200="#18ffff",t.cyanA400="#00e5ff",t.cyanA700="#00b8d4",t.teal50="#e0f2f1",t.teal100="#b2dfdb",t.teal200="#80cbc4",t.teal300="#4db6ac",t.teal400="#26a69a",t.teal500="#009688",t.teal600="#00897b",t.teal700="#00796b",t.teal800="#00695c",t.teal900="#004d40",t.tealA100="#a7ffeb",t.tealA200="#64ffda",t.tealA400="#1de9b6",t.tealA700="#00bfa5",t.green50="#e8f5e9",t.green100="#c8e6c9",t.green200="#a5d6a7",t.green300="#81c784",t.green400="#66bb6a",t.green500="#4caf50",t.green600="#43a047",t.green700="#388e3c",t.green800="#2e7d32",t.green900="#1b5e20",t.greenA100="#b9f6ca",t.greenA200="#69f0ae",t.greenA400="#00e676",t.greenA700="#00c853",t.lightGreen50="#f1f8e9",t.lightGreen100="#dcedc8",t.lightGreen200="#c5e1a5",t.lightGreen300="#aed581",t.lightGreen400="#9ccc65",t.lightGreen500="#8bc34a",t.lightGreen600="#7cb342",t.lightGreen700="#689f38",t.lightGreen800="#558b2f",t.lightGreen900="#33691e",t.lightGreenA100="#ccff90",t.lightGreenA200="#b2ff59",t.lightGreenA400="#76ff03",t.lightGreenA700="#64dd17",t.lime50="#f9fbe7",t.lime100="#f0f4c3",t.lime200="#e6ee9c",t.lime300="#dce775",t.lime400="#d4e157",t.lime500="#cddc39",t.lime600="#c0ca33",t.lime700="#afb42b",t.lime800="#9e9d24",t.lime900="#827717",t.limeA100="#f4ff81",t.limeA200="#eeff41",t.limeA400="#c6ff00",t.limeA700="#aeea00",t.yellow50="#fffde7",t.yellow100="#fff9c4",t.yellow200="#fff59d",t.yellow300="#fff176",t.yellow400="#ffee58",t.yellow500="#ffeb3b",t.yellow600="#fdd835",t.yellow700="#fbc02d",t.yellow800="#f9a825",t.yellow900="#f57f17",t.yellowA100="#ffff8d",t.yellowA200="#ffff00",t.yellowA400="#ffea00",t.yellowA700="#ffd600",t.amber50="#fff8e1",t.amber100="#ffecb3",t.amber200="#ffe082",t.amber300="#ffd54f",t.amber400="#ffca28",t.amber500="#ffc107",t.amber600="#ffb300",t.amber700="#ffa000",t.amber800="#ff8f00",t.amber900="#ff6f00",t.amberA100="#ffe57f",t.amberA200="#ffd740",t.amberA400="#ffc400",t.amberA700="#ffab00",t.orange50="#fff3e0",t.orange100="#ffe0b2",t.orange200="#ffcc80",t.orange300="#ffb74d",t.orange400="#ffa726",t.orange500="#ff9800",t.orange600="#fb8c00",t.orange700="#f57c00",t.orange800="#ef6c00",t.orange900="#e65100",t.orangeA100="#ffd180",t.orangeA200="#ffab40",t.orangeA400="#ff9100",t.orangeA700="#ff6d00",t.deepOrange50="#fbe9e7",t.deepOrange100="#ffccbc",t.deepOrange200="#ffab91",t.deepOrange300="#ff8a65",t.deepOrange400="#ff7043",t.deepOrange500="#ff5722",t.deepOrange600="#f4511e",t.deepOrange700="#e64a19",t.deepOrange800="#d84315",t.deepOrange900="#bf360c",t.deepOrangeA100="#ff9e80",t.deepOrangeA200="#ff6e40",t.deepOrangeA400="#ff3d00",t.deepOrangeA700="#dd2c00",t.brown50="#efebe9",t.brown100="#d7ccc8",t.brown200="#bcaaa4",t.brown300="#a1887f",t.brown400="#8d6e63",t.brown500="#795548",t.brown600="#6d4c41",t.brown700="#5d4037",t.brown800="#4e342e",t.brown900="#3e2723",t.blueGrey50="#eceff1",t.blueGrey100="#cfd8dc",t.blueGrey200="#b0bec5",t.blueGrey300="#90a4ae",t.blueGrey400="#78909c",t.blueGrey500="#607d8b",t.blueGrey600="#546e7a",t.blueGrey700="#455a64",t.blueGrey800="#37474f",t.blueGrey900="#263238",t.grey50="#fafafa",t.grey100="#f5f5f5",t.grey200="#eeeeee",t.grey300="#e0e0e0",t.grey400="#bdbdbd",t.grey500="#9e9e9e",t.grey600="#757575",t.grey700="#616161",t.grey800="#424242",t.grey900="#212121",t.black="#000000",t.white="#ffffff",t.transparent="rgba(0, 0, 0, 0)",t.fullBlack="rgba(0, 0, 0, 1)",t.darkBlack="rgba(0, 0, 0, 0.87)",t.lightBlack="rgba(0, 0, 0, 0.54)",t.minBlack="rgba(0, 0, 0, 0.26)",t.faintBlack="rgba(0, 0, 0, 0.12)",t.fullWhite="rgba(255, 255, 255, 1)",t.darkWhite="rgba(255, 255, 255, 0.87)",t.lightWhite="rgba(255, 255, 255, 0.54)"},"./node_modules/material-ui/styles/getMuiTheme.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;rn?n:e}function i(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],o+=4===n.length?", "+e.values[3]+")":")"}function a(e){if(4===e.length){for(var t="#",n=1;n-1){var t=e.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?p(e,t):f(e,t)}function d(e,t){return e=s(e),t=o(t,0,1),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,i(e)}function p(e,t){if(e=s(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return i(e)}function f(e,t){if(e=s(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=i,t.convertHexToRGB=a,t.decomposeColor=s,t.getContrastRatio=l,t.getLuminance=u,t.emphasize=c,t.fade=d,t.darken=p,t.lighten=f;var h=n("./node_modules/warning/browser.js");r(h)},"./node_modules/material-ui/utils/deprecatedPropType.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return function(t,n,r,o,i){if(null!=t[n]){var s=r+"."+n;a[s]=!0}for(var l=arguments.length,u=Array(l>5?l-5:0),c=5;c=0;i--)this.on(e,r[i],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,function(){n.call(e)})},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return["keydown","keypress","keyup"].indexOf(e.type)!==-1}}},"./node_modules/material-ui/utils/iOSHelpers.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getOffsetTop=function(e){for(var t=e.offsetTop,n=e.offsetParent;null!=n;)t+=n.offsetTop,n=n.offsetParent;return t},t.isIOS=function(){return/iPad|iPhone|iPod/.test(window.navigator.userAgent)&&!window.MSStream}},"./node_modules/material-ui/utils/propTypes.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=r.PropTypes.oneOf(["left","middle","right"]),i=r.PropTypes.oneOf(["top","center","bottom"]);t.default={corners:r.PropTypes.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:o,vertical:i,origin:r.PropTypes.shape({horizontal:o,vertical:i}),cornersAndCenter:r.PropTypes.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:r.PropTypes.oneOfType([r.PropTypes.string,r.PropTypes.number]),zDepth:r.PropTypes.oneOf([0,1,2,3,4,5])}},"./node_modules/material-ui/utils/rtl.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.isRtl)return function(e){if(e.directionInvariant===!0)return e;var t={right:"left",left:"right",marginRight:"marginLeft",marginLeft:"marginRight",paddingRight:"paddingLeft",paddingLeft:"paddingRight",borderRight:"borderLeft",borderLeft:"borderRight"},n={};return(0,a.default)(e).forEach(function(r){var o=e[r],i=r;switch(t.hasOwnProperty(r)&&(i=t[r]),r){case"float":case"textAlign":"right"===o?o="left":"left"===o&&(o="right");break;case"direction":"ltr"===o?o="rtl":"rtl"===o&&(o="ltr");break;case"transform":if(!o)break;var a=void 0;(a=o.match(s))&&(o=o.replace(a[0],a[1]+-parseFloat(a[4]))),(a=o.match(l))&&(o=o.replace(a[0],a[1]+-parseFloat(a[4])+a[5]+a[6]?", "+(-parseFloat(a[7])+a[8]):""));break;case"transformOrigin":if(!o)break;o.indexOf("right")>-1?o=o.replace("right","left"):o.indexOf("left")>-1&&(o=o.replace("left","right"))}n[i]=o}),n}}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/babel-runtime/core-js/object/keys.js"),a=r(i);t.default=o;var s=/((^|\s)translate(3d|X)?\()(\-?[\d]+)/,l=/((^|\s)skew(x|y)?\()\s*(\-?[\d]+)(deg|rad|grad)(,\s*(\-?[\d]+)(deg|rad|grad))?/},"./node_modules/mousetrap/mousetrap.js":function(e,t,n){var r;!function(o,i,a){function s(e,t,n){if(e.addEventListener)return void e.addEventListener(t,n,!1);e.attachEvent("on"+t,n)}function l(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return A[e.which]?A[e.which]:x[e.which]?x[e.which]:String.fromCharCode(e.which).toLowerCase()}function u(e,t){return e.sort().join(",")===t.sort().join(",")}function c(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}function d(e){if(e.preventDefault)return void e.preventDefault();e.returnValue=!1}function p(e){if(e.stopPropagation)return void e.stopPropagation();e.cancelBubble=!0}function f(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function h(){if(!_){_={};for(var e in A)e>95&&e<112||A.hasOwnProperty(e)&&(_[A[e]]=e)}return _}function m(e,t,n){return n||(n=h()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function g(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus"),e.split("+"))}function y(e,t){var n,r,o,i=[];for(n=g(e),o=0;o1)return void h(e,s,t,r);a=y(e,r),g._callbacks[a.key]=g._callbacks[a.key]||[],n(a.key,a.modifiers,{type:a.action},o,e,i),g._callbacks[a.key][o?"unshift":"push"]({callback:t,modifiers:a.modifiers,action:a.action,seq:o,level:i,combo:e})}var g=this;if(e=e||i,!(g instanceof b))return new b(e);g.target=e,g._callbacks={},g._directMap={};var v,_={},A=!1,x=!1,j=!1;g._handleKey=function(e,o,i){var a,s=n(e,o,i),l={},u=0,c=!1;for(a=0;a":".","?":"/","|":"\\"},w={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},C=1;C<20;++C)A[111+C]="f"+C;for(C=0;C<=9;++C)A[C+96]=C;b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){var n=this;return n.bind.call(n,e,function(){},t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){var n=this;return!((" "+t.className+" ").indexOf(" mousetrap ")>-1)&&(!v(t,n.target)&&("INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable))},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(A[t]=e[t]);_=null},b.init=function(){var e=b(i);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),o.Mousetrap=b,void 0!==e&&e.exports&&(e.exports=b),(r=function(){return b}.call(t,n,t,e))!==a&&(e.exports=r)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},"./node_modules/no-case/no-case.js":function(e,t,n){var r=n("./node_modules/lower-case/lower-case.js"),o=n("./node_modules/no-case/vendor/non-word-regexp.js"),i=n("./node_modules/no-case/vendor/camel-case-regexp.js"),a=n("./node_modules/no-case/vendor/camel-case-upper-regexp.js");e.exports=function(e,t,n){function s(e,t,r){return 0===t||t===r.length-e.length?"":n}return null==e?"":(n="string"!=typeof n?" ":n,e=String(e).replace(i,"$1 $2").replace(a,"$1 $2").replace(o,s),r(e,t))}},"./node_modules/no-case/vendor/camel-case-regexp.js":function(e,t){e.exports=/([a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19])([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A])/g},"./node_modules/no-case/vendor/camel-case-upper-regexp.js":function(e,t){e.exports=/([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A]+)([A-Z\xC0-\xD6\xD8-\xDE\u0100\u0102\u0104\u0106\u0108\u010A\u010C\u010E\u0110\u0112\u0114\u0116\u0118\u011A\u011C\u011E\u0120\u0122\u0124\u0126\u0128\u012A\u012C\u012E\u0130\u0132\u0134\u0136\u0139\u013B\u013D\u013F\u0141\u0143\u0145\u0147\u014A\u014C\u014E\u0150\u0152\u0154\u0156\u0158\u015A\u015C\u015E\u0160\u0162\u0164\u0166\u0168\u016A\u016C\u016E\u0170\u0172\u0174\u0176\u0178\u0179\u017B\u017D\u0181\u0182\u0184\u0186\u0187\u0189-\u018B\u018E-\u0191\u0193\u0194\u0196-\u0198\u019C\u019D\u019F\u01A0\u01A2\u01A4\u01A6\u01A7\u01A9\u01AC\u01AE\u01AF\u01B1-\u01B3\u01B5\u01B7\u01B8\u01BC\u01C4\u01C7\u01CA\u01CD\u01CF\u01D1\u01D3\u01D5\u01D7\u01D9\u01DB\u01DE\u01E0\u01E2\u01E4\u01E6\u01E8\u01EA\u01EC\u01EE\u01F1\u01F4\u01F6-\u01F8\u01FA\u01FC\u01FE\u0200\u0202\u0204\u0206\u0208\u020A\u020C\u020E\u0210\u0212\u0214\u0216\u0218\u021A\u021C\u021E\u0220\u0222\u0224\u0226\u0228\u022A\u022C\u022E\u0230\u0232\u023A\u023B\u023D\u023E\u0241\u0243-\u0246\u0248\u024A\u024C\u024E\u0370\u0372\u0376\u037F\u0386\u0388-\u038A\u038C\u038E\u038F\u0391-\u03A1\u03A3-\u03AB\u03CF\u03D2-\u03D4\u03D8\u03DA\u03DC\u03DE\u03E0\u03E2\u03E4\u03E6\u03E8\u03EA\u03EC\u03EE\u03F4\u03F7\u03F9\u03FA\u03FD-\u042F\u0460\u0462\u0464\u0466\u0468\u046A\u046C\u046E\u0470\u0472\u0474\u0476\u0478\u047A\u047C\u047E\u0480\u048A\u048C\u048E\u0490\u0492\u0494\u0496\u0498\u049A\u049C\u049E\u04A0\u04A2\u04A4\u04A6\u04A8\u04AA\u04AC\u04AE\u04B0\u04B2\u04B4\u04B6\u04B8\u04BA\u04BC\u04BE\u04C0\u04C1\u04C3\u04C5\u04C7\u04C9\u04CB\u04CD\u04D0\u04D2\u04D4\u04D6\u04D8\u04DA\u04DC\u04DE\u04E0\u04E2\u04E4\u04E6\u04E8\u04EA\u04EC\u04EE\u04F0\u04F2\u04F4\u04F6\u04F8\u04FA\u04FC\u04FE\u0500\u0502\u0504\u0506\u0508\u050A\u050C\u050E\u0510\u0512\u0514\u0516\u0518\u051A\u051C\u051E\u0520\u0522\u0524\u0526\u0528\u052A\u052C\u052E\u0531-\u0556\u10A0-\u10C5\u10C7\u10CD\u13A0-\u13F5\u1E00\u1E02\u1E04\u1E06\u1E08\u1E0A\u1E0C\u1E0E\u1E10\u1E12\u1E14\u1E16\u1E18\u1E1A\u1E1C\u1E1E\u1E20\u1E22\u1E24\u1E26\u1E28\u1E2A\u1E2C\u1E2E\u1E30\u1E32\u1E34\u1E36\u1E38\u1E3A\u1E3C\u1E3E\u1E40\u1E42\u1E44\u1E46\u1E48\u1E4A\u1E4C\u1E4E\u1E50\u1E52\u1E54\u1E56\u1E58\u1E5A\u1E5C\u1E5E\u1E60\u1E62\u1E64\u1E66\u1E68\u1E6A\u1E6C\u1E6E\u1E70\u1E72\u1E74\u1E76\u1E78\u1E7A\u1E7C\u1E7E\u1E80\u1E82\u1E84\u1E86\u1E88\u1E8A\u1E8C\u1E8E\u1E90\u1E92\u1E94\u1E9E\u1EA0\u1EA2\u1EA4\u1EA6\u1EA8\u1EAA\u1EAC\u1EAE\u1EB0\u1EB2\u1EB4\u1EB6\u1EB8\u1EBA\u1EBC\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1EC8\u1ECA\u1ECC\u1ECE\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EDA\u1EDC\u1EDE\u1EE0\u1EE2\u1EE4\u1EE6\u1EE8\u1EEA\u1EEC\u1EEE\u1EF0\u1EF2\u1EF4\u1EF6\u1EF8\u1EFA\u1EFC\u1EFE\u1F08-\u1F0F\u1F18-\u1F1D\u1F28-\u1F2F\u1F38-\u1F3F\u1F48-\u1F4D\u1F59\u1F5B\u1F5D\u1F5F\u1F68-\u1F6F\u1FB8-\u1FBB\u1FC8-\u1FCB\u1FD8-\u1FDB\u1FE8-\u1FEC\u1FF8-\u1FFB\u2102\u2107\u210B-\u210D\u2110-\u2112\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u2130-\u2133\u213E\u213F\u2145\u2183\u2C00-\u2C2E\u2C60\u2C62-\u2C64\u2C67\u2C69\u2C6B\u2C6D-\u2C70\u2C72\u2C75\u2C7E-\u2C80\u2C82\u2C84\u2C86\u2C88\u2C8A\u2C8C\u2C8E\u2C90\u2C92\u2C94\u2C96\u2C98\u2C9A\u2C9C\u2C9E\u2CA0\u2CA2\u2CA4\u2CA6\u2CA8\u2CAA\u2CAC\u2CAE\u2CB0\u2CB2\u2CB4\u2CB6\u2CB8\u2CBA\u2CBC\u2CBE\u2CC0\u2CC2\u2CC4\u2CC6\u2CC8\u2CCA\u2CCC\u2CCE\u2CD0\u2CD2\u2CD4\u2CD6\u2CD8\u2CDA\u2CDC\u2CDE\u2CE0\u2CE2\u2CEB\u2CED\u2CF2\uA640\uA642\uA644\uA646\uA648\uA64A\uA64C\uA64E\uA650\uA652\uA654\uA656\uA658\uA65A\uA65C\uA65E\uA660\uA662\uA664\uA666\uA668\uA66A\uA66C\uA680\uA682\uA684\uA686\uA688\uA68A\uA68C\uA68E\uA690\uA692\uA694\uA696\uA698\uA69A\uA722\uA724\uA726\uA728\uA72A\uA72C\uA72E\uA732\uA734\uA736\uA738\uA73A\uA73C\uA73E\uA740\uA742\uA744\uA746\uA748\uA74A\uA74C\uA74E\uA750\uA752\uA754\uA756\uA758\uA75A\uA75C\uA75E\uA760\uA762\uA764\uA766\uA768\uA76A\uA76C\uA76E\uA779\uA77B\uA77D\uA77E\uA780\uA782\uA784\uA786\uA78B\uA78D\uA790\uA792\uA796\uA798\uA79A\uA79C\uA79E\uA7A0\uA7A2\uA7A4\uA7A6\uA7A8\uA7AA-\uA7AD\uA7B0-\uA7B4\uA7B6\uFF21-\uFF3A][a-z\xB5\xDF-\xF6\xF8-\xFF\u0101\u0103\u0105\u0107\u0109\u010B\u010D\u010F\u0111\u0113\u0115\u0117\u0119\u011B\u011D\u011F\u0121\u0123\u0125\u0127\u0129\u012B\u012D\u012F\u0131\u0133\u0135\u0137\u0138\u013A\u013C\u013E\u0140\u0142\u0144\u0146\u0148\u0149\u014B\u014D\u014F\u0151\u0153\u0155\u0157\u0159\u015B\u015D\u015F\u0161\u0163\u0165\u0167\u0169\u016B\u016D\u016F\u0171\u0173\u0175\u0177\u017A\u017C\u017E-\u0180\u0183\u0185\u0188\u018C\u018D\u0192\u0195\u0199-\u019B\u019E\u01A1\u01A3\u01A5\u01A8\u01AA\u01AB\u01AD\u01B0\u01B4\u01B6\u01B9\u01BA\u01BD-\u01BF\u01C6\u01C9\u01CC\u01CE\u01D0\u01D2\u01D4\u01D6\u01D8\u01DA\u01DC\u01DD\u01DF\u01E1\u01E3\u01E5\u01E7\u01E9\u01EB\u01ED\u01EF\u01F0\u01F3\u01F5\u01F9\u01FB\u01FD\u01FF\u0201\u0203\u0205\u0207\u0209\u020B\u020D\u020F\u0211\u0213\u0215\u0217\u0219\u021B\u021D\u021F\u0221\u0223\u0225\u0227\u0229\u022B\u022D\u022F\u0231\u0233-\u0239\u023C\u023F\u0240\u0242\u0247\u0249\u024B\u024D\u024F-\u0293\u0295-\u02AF\u0371\u0373\u0377\u037B-\u037D\u0390\u03AC-\u03CE\u03D0\u03D1\u03D5-\u03D7\u03D9\u03DB\u03DD\u03DF\u03E1\u03E3\u03E5\u03E7\u03E9\u03EB\u03ED\u03EF-\u03F3\u03F5\u03F8\u03FB\u03FC\u0430-\u045F\u0461\u0463\u0465\u0467\u0469\u046B\u046D\u046F\u0471\u0473\u0475\u0477\u0479\u047B\u047D\u047F\u0481\u048B\u048D\u048F\u0491\u0493\u0495\u0497\u0499\u049B\u049D\u049F\u04A1\u04A3\u04A5\u04A7\u04A9\u04AB\u04AD\u04AF\u04B1\u04B3\u04B5\u04B7\u04B9\u04BB\u04BD\u04BF\u04C2\u04C4\u04C6\u04C8\u04CA\u04CC\u04CE\u04CF\u04D1\u04D3\u04D5\u04D7\u04D9\u04DB\u04DD\u04DF\u04E1\u04E3\u04E5\u04E7\u04E9\u04EB\u04ED\u04EF\u04F1\u04F3\u04F5\u04F7\u04F9\u04FB\u04FD\u04FF\u0501\u0503\u0505\u0507\u0509\u050B\u050D\u050F\u0511\u0513\u0515\u0517\u0519\u051B\u051D\u051F\u0521\u0523\u0525\u0527\u0529\u052B\u052D\u052F\u0561-\u0587\u13F8-\u13FD\u1D00-\u1D2B\u1D6B-\u1D77\u1D79-\u1D9A\u1E01\u1E03\u1E05\u1E07\u1E09\u1E0B\u1E0D\u1E0F\u1E11\u1E13\u1E15\u1E17\u1E19\u1E1B\u1E1D\u1E1F\u1E21\u1E23\u1E25\u1E27\u1E29\u1E2B\u1E2D\u1E2F\u1E31\u1E33\u1E35\u1E37\u1E39\u1E3B\u1E3D\u1E3F\u1E41\u1E43\u1E45\u1E47\u1E49\u1E4B\u1E4D\u1E4F\u1E51\u1E53\u1E55\u1E57\u1E59\u1E5B\u1E5D\u1E5F\u1E61\u1E63\u1E65\u1E67\u1E69\u1E6B\u1E6D\u1E6F\u1E71\u1E73\u1E75\u1E77\u1E79\u1E7B\u1E7D\u1E7F\u1E81\u1E83\u1E85\u1E87\u1E89\u1E8B\u1E8D\u1E8F\u1E91\u1E93\u1E95-\u1E9D\u1E9F\u1EA1\u1EA3\u1EA5\u1EA7\u1EA9\u1EAB\u1EAD\u1EAF\u1EB1\u1EB3\u1EB5\u1EB7\u1EB9\u1EBB\u1EBD\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1EC9\u1ECB\u1ECD\u1ECF\u1ED1\u1ED3\u1ED5\u1ED7\u1ED9\u1EDB\u1EDD\u1EDF\u1EE1\u1EE3\u1EE5\u1EE7\u1EE9\u1EEB\u1EED\u1EEF\u1EF1\u1EF3\u1EF5\u1EF7\u1EF9\u1EFB\u1EFD\u1EFF-\u1F07\u1F10-\u1F15\u1F20-\u1F27\u1F30-\u1F37\u1F40-\u1F45\u1F50-\u1F57\u1F60-\u1F67\u1F70-\u1F7D\u1F80-\u1F87\u1F90-\u1F97\u1FA0-\u1FA7\u1FB0-\u1FB4\u1FB6\u1FB7\u1FBE\u1FC2-\u1FC4\u1FC6\u1FC7\u1FD0-\u1FD3\u1FD6\u1FD7\u1FE0-\u1FE7\u1FF2-\u1FF4\u1FF6\u1FF7\u210A\u210E\u210F\u2113\u212F\u2134\u2139\u213C\u213D\u2146-\u2149\u214E\u2184\u2C30-\u2C5E\u2C61\u2C65\u2C66\u2C68\u2C6A\u2C6C\u2C71\u2C73\u2C74\u2C76-\u2C7B\u2C81\u2C83\u2C85\u2C87\u2C89\u2C8B\u2C8D\u2C8F\u2C91\u2C93\u2C95\u2C97\u2C99\u2C9B\u2C9D\u2C9F\u2CA1\u2CA3\u2CA5\u2CA7\u2CA9\u2CAB\u2CAD\u2CAF\u2CB1\u2CB3\u2CB5\u2CB7\u2CB9\u2CBB\u2CBD\u2CBF\u2CC1\u2CC3\u2CC5\u2CC7\u2CC9\u2CCB\u2CCD\u2CCF\u2CD1\u2CD3\u2CD5\u2CD7\u2CD9\u2CDB\u2CDD\u2CDF\u2CE1\u2CE3\u2CE4\u2CEC\u2CEE\u2CF3\u2D00-\u2D25\u2D27\u2D2D\uA641\uA643\uA645\uA647\uA649\uA64B\uA64D\uA64F\uA651\uA653\uA655\uA657\uA659\uA65B\uA65D\uA65F\uA661\uA663\uA665\uA667\uA669\uA66B\uA66D\uA681\uA683\uA685\uA687\uA689\uA68B\uA68D\uA68F\uA691\uA693\uA695\uA697\uA699\uA69B\uA723\uA725\uA727\uA729\uA72B\uA72D\uA72F-\uA731\uA733\uA735\uA737\uA739\uA73B\uA73D\uA73F\uA741\uA743\uA745\uA747\uA749\uA74B\uA74D\uA74F\uA751\uA753\uA755\uA757\uA759\uA75B\uA75D\uA75F\uA761\uA763\uA765\uA767\uA769\uA76B\uA76D\uA76F\uA771-\uA778\uA77A\uA77C\uA77F\uA781\uA783\uA785\uA787\uA78C\uA78E\uA791\uA793-\uA795\uA797\uA799\uA79B\uA79D\uA79F\uA7A1\uA7A3\uA7A5\uA7A7\uA7A9\uA7B5\uA7B7\uA7FA\uAB30-\uAB5A\uAB60-\uAB65\uAB70-\uABBF\uFB00-\uFB06\uFB13-\uFB17\uFF41-\uFF5A])/g},"./node_modules/no-case/vendor/non-word-regexp.js":function(e,t){e.exports=/[^A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC0-9\xB2\xB3\xB9\xBC-\xBE\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u09F4-\u09F9\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0B72-\u0B77\u0BE6-\u0BF2\u0C66-\u0C6F\u0C78-\u0C7E\u0CE6-\u0CEF\u0D66-\u0D75\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F33\u1040-\u1049\u1090-\u1099\u1369-\u137C\u16EE-\u16F0\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1946-\u194F\u19D0-\u19DA\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\u2070\u2074-\u2079\u2080-\u2089\u2150-\u2182\u2185-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2CFD\u3007\u3021-\u3029\u3038-\u303A\u3192-\u3195\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\uA620-\uA629\uA6E6-\uA6EF\uA830-\uA835\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19]+/g},"./node_modules/normalize-wheel/index.js":function(e,t,n){e.exports=n("./node_modules/normalize-wheel/src/normalizeWheel.js")},"./node_modules/normalize-wheel/src/ExecutionEnvironment.js":function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=o},"./node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js":function(e,t){function n(){if(!v){v=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(h=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),p=/Android/i.exec(e),g=/FBAN\/\w+;/i.exec(e),y=/Mobile/i.exec(e),f=!!/Win64/.exec(e),t){r=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,r&&document&&document.documentMode&&(r=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);l=b?parseFloat(b[1])+4:r,o=t[2]?parseFloat(t[2]):NaN,i=t[3]?parseFloat(t[3]):NaN,a=t[4]?parseFloat(t[4]):NaN,a?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),s=t&&t[1]?parseFloat(t[1]):NaN):s=NaN}else r=o=i=s=a=NaN;if(n){if(n[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!_||parseFloat(_[1].replace("_","."))}else u=!1;c=!!n[2],d=!!n[3]}else u=c=d=!1}}var r,o,i,a,s,l,u,c,d,p,f,h,m,g,y,v=!1,b={ie:function(){return n()||r},ieCompatibilityMode:function(){return n()||l>r},ie64:function(){return b.ie()&&f},firefox:function(){return n()||o},opera:function(){return n()||i},webkit:function(){return n()||a},safari:function(){return b.webkit()},chrome:function(){return n()||s},windows:function(){return n()||c},osx:function(){return n()||u},linux:function(){return n()||d},iphone:function(){return n()||h},mobile:function(){return n()||h||m||p||y},nativeApp:function(){return n()||g},android:function(){return n()||p},ipad:function(){return n()||m}};e.exports=b},"./node_modules/normalize-wheel/src/isEventSupported.js":function(e,t,n){"use strict";function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n("./node_modules/normalize-wheel/src/ExecutionEnvironment.js");i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},"./node_modules/normalize-wheel/src/normalizeWheel.js":function(e,t,n){"use strict";function r(e){var t=0,n=0,r=0,o=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*a,o=n*a,"deltaY"in e&&(o=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||o)&&e.deltaMode&&(1==e.deltaMode?(r*=s,o*=s):(r*=l,o*=l)),r&&!t&&(t=r<1?-1:1),o&&!n&&(n=o<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:o}}var o=n("./node_modules/normalize-wheel/src/UserAgent_DEPRECATED.js"),i=n("./node_modules/normalize-wheel/src/isEventSupported.js"),a=10,s=40,l=800;r.getEventType=function(){return o.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=r},"./node_modules/object-assign/index.js":function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function o(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}var i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;e.exports=o()?Object.assign:function(e,t){for(var n,o,l=r(e),u=1;uthis.defaultCollapsedOptions.min&&e.length5&&(this.dragging=!0,this.offsetx=this.origx+n,this.offsety=this.origy+r,this.draw())}else{var o=e,i=this.getNodeAtMousePosition(o);i&&i.interactive&&(this.internalNodesSelectable||i.leaf)?(this.root.cascadeFlag("hovered",!1),i.hovered=!0,i.leaf||i.hasCollapsedAncestor()||this.tooltip.open(o.clientX,o.clientY,i),this.containerElement.style.cursor="pointer"):(this.tooltip.close(),this.root.cascadeFlag("hovered",!1),this.containerElement.style.cursor="auto"),this.draw()}}},{key:"draw",value:function(e){if(this.highlighters.length=0,0===this.maxBranchLength)return void this.loadError(new Error("All branches in the tree are identical."));this.canvas.restore(),this.canvas.clearRect(0,0,this.canvas.canvas.width,this.canvas.canvas.height),this.canvas.lineCap="round",this.canvas.lineJoin="round",this.canvas.strokeStyle=this.branchColour,this.canvas.save(),this.drawn&&!e||(this.prerenderer.run(this),e||this.fitInPanel());var t=_(this.canvas);this.canvas.lineWidth=this.lineWidth/this.zoom,this.canvas.translate(this.offsetx*t,this.offsety*t),this.canvas.scale(this.zoom,this.zoom),this.branchRenderer.render(this,this.root),this.highlighters.forEach(function(e){return e()}),this.defaultCollapsed=!1,this.drawn=!0}},{key:"drop",value:function(){if(!this.drawn)return!1;this.pickedup=!1}},{key:"findLeaves",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?"id":arguments[1],n=[],r=!0,o=!1,i=void 0;try{for(var a,s=this.leaves[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=a.value;l[t]&&l[t].match(e)&&n.push(l)}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}},{key:"updateLeaves",value:function(e,t,n){var r=!0,o=!1,i=void 0;try{for(var a,s=this.leaves[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var l=a.value;l[t]=!n}}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}var u=!0,c=!1,d=void 0;try{for(var p,f=e[Symbol.iterator]();!(u=(p=f.next()).done);u=!0){var l=p.value;l[t]=n}}catch(e){c=!0,d=e}finally{try{!u&&f.return&&f.return()}finally{if(c)throw d}}this.nodesUpdated(e.map(function(e){return e.id}),t)}},{key:"clearSelect",value:function(){this.root.cascadeFlag("selected",!1),this.draw()}},{key:"getPngUrl",value:function(){return this.canvas.canvas.toDataURL()}},{key:"hideLabels",value:function(){this.showLabels=!1,this.draw()}},{key:"load",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2],r=t,o=n;if("function"==typeof t&&(o=t,r={}),o&&(r.callback=o),r.format)return void this.build(e,g.default[r.format],r);var i=!0,a=!1,s=void 0;try{for(var l,u=Object.keys(g.default)[Symbol.iterator]();!(i=(l=u.next()).done);i=!0){var c=l.value,d=g.default[c];if(e.match(d.fileExtension)||e.match(d.validator))return void this.build(e,d,r)}}catch(e){a=!0,s=e}finally{try{!i&&u.return&&u.return()}finally{if(a)throw s}}var p=new Error("String not recognised as a file or a parseable format string");o&&o(p),this.loadError(p)}},{key:"saveOriginalTree",value:function(){this.originalTree.branches=this.branches,this.originalTree.leaves=this.leaves,this.originalTree.root=this.root,this.originalTree.branchLengths={},this.originalTree.parents={}}},{key:"clearState",value:function(){this.root=!1,this.leaves=[],this.branches={},this.drawn=!1}},{key:"saveState",value:function(){if(this.extractNestedBranches(),this.root.branchLength=0,this.maxBranchLength=0,this.root.setTotalLength(),0===this.maxBranchLength)return void this.loadError(new Error("All branches in the tree are identical."))}},{key:"build",value:function(e,t,n){var r=this;this.originalTree={},this.clearState(),u.default.lastId=0;var o=new u.default;o.id="root",this.branches.root=o,this.setRoot(o),t.parse({formatString:e,root:o,options:n},function(t){if(t)return n.callback&&n.callback(t),void r.loadError(t);r.stringRepresentation=e,r.saveState(),r.setInitialCollapsedBranches(),r.draw(),r.saveOriginalTree(),n.callback&&n.callback(),r.loadCompleted()})}},{key:"pickup",value:function(e){if(!this.drawn)return!1;this.origx=this.offsetx,this.origy=this.offsety,0===e.button&&(this.pickedup=!0),this.startx=e.clientX,this.starty=e.clientY}},{key:"redrawFromBranch",value:function(e){this.clearState(),this.resetTree(),this.originalTree.branchLengths[e.id]=e.branchLength,this.originalTree.parents[e.id]=e.parent,this.root=e,this.root.parent=!1,this.saveState(),this.draw(),this.subtreeDrawn(e.id)}},{key:"redrawOriginalTree",value:function(){this.load(this.stringRepresentation)}},{key:"storeNode",value:function(e){if(e.id&&""!==e.id||(e.id=u.default.generateId()),this.branches[e.id]&&e!==this.branches[e.id]){if(e.leaf)throw new Error("Two nodes on this tree share the id "+e.id);e.id=u.default.generateId()}this.branches[e.id]=e,e.leaf&&this.leaves.push(e)}},{key:"scroll",value:function(e){var t=this;if(e.preventDefault(),!(this._zooming||"wheelDelta"in e&&0===e.wheelDelta)){var n=e.detail<0||e.wheelDelta>0?1:-1;if(this.branchScaling&&(e.metaKey||e.ctrlKey))this.currentBranchScale*=Math.pow(this.branchScalingStep,n),this.setBranchScale(this.currentBranchScale,{x:e.offsetX,y:e.offsetY});else{var r=Math.log(this.zoom)/Math.log(10)+n*this.zoomFactor;this.setZoom(r,e.offsetX,e.offsetY)}this._zooming=!0,setTimeout(function(){t._zooming=!1},128)}}},{key:"selectNodes",value:function(e){var t,n,r,o=e;if(this.root){this.root.cascadeFlag("selected",!1),"string"==typeof e&&(o=o.split(","));for(n in this.branches)if(this.branches.hasOwnProperty(n))for(t=this.branches[n],r=0;r-2&&e<2){var r=this.zoom,o=Math.pow(10,e);this.zoom=o,this.offsetx=this.calculateZoomedOffset(this.offsetx,t,r,o),this.offsety=this.calculateZoomedOffset(this.offsety,n,r,o),this.draw()}}},{key:"calculateZoomedOffset",value:function(e,t,n,r){return-1*((-1*e+t)/n*r-t)}},{key:"setBranchScale",value:function(){var e=arguments.length<=0||void 0===arguments[0]?1:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{x:this.canvas.canvas.width/2,y:this.canvas.canvas.height/2}:arguments[1],n=h.default[this.treeType];if(n.branchScalingAxis&&!(e<0)){var r=this.branchScalar;this.branchScalar=this.initialBranchScalar*e;var o=this.branchScalar/r,i=this["offset"+n.branchScalingAxis],a=t[n.branchScalingAxis],s=(t[n.branchScalingAxis]-i)*o+i;this["offset"+n.branchScalingAxis]+=a-s,this.draw()}}},{key:"toggleLabels",value:function(){this.showLabels=!this.showLabels,this.draw()}},{key:"setMaxLabelLength",value:function(){var e;void 0===this.maxLabelLength[this.treeType]&&(this.maxLabelLength[this.treeType]=0);for(var t=0;tthis.maxLabelLength[this.treeType]&&(this.maxLabelLength[this.treeType]=e.width)}},{key:"loadCompleted",value:function(){v(this.containerElement,"loaded")}},{key:"loadStarted",value:function(){v(this.containerElement,"loading")}},{key:"loadError",value:function(e){v(this.containerElement,"error",{error:e})}},{key:"subtreeDrawn",value:function(e){v(this.containerElement,"subtree",{node:e})}},{key:"nodesUpdated",value:function(e,t){var n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];v(this.containerElement,"updated",{nodeIds:e,property:t,append:n})}},{key:"addListener",value:function(e,t){b(this.containerElement,e,t)}},{key:"getBounds",value:function(){for(var e=this.root.startx,t=this.root.startx,n=this.root.starty,r=this.root.starty,o=this.leaves.length;o--;){var i=this.leaves[o].getBounds();e=Math.min(e,i.minx),t=Math.max(t,i.maxx),n=Math.min(n,i.miny),r=Math.max(r,i.maxy)}return[[e,n],[t,r]]}},{key:"fitInPanel",value:function(){var e=[this.canvas.canvas.width-2*this.padding,this.canvas.canvas.height-2*this.padding],t=this.getBounds(),n=[t[1][0]-t[0][0],t[1][1]-t[0][1]],r=_(this.canvas),o=e[0]/n[0],i=e[1]/n[1];this.zoom=Math.min(o,i),this.offsetx=-1*t[0][0]*this.zoom,this.offsety=-1*t[0][1]*this.zoom,o>i?(this.offsetx+=this.padding+(e[0]-n[0]*this.zoom)/2,this.offsety+=this.padding):(this.offsetx+=this.padding,this.offsety+=this.padding+(e[1]-n[1]*this.zoom)/2),this.offsetx=this.offsetx/r,this.offsety=this.offsety/r}},{key:"adjustForPixelRatio",value:function(){var e=_(this.canvas);this.canvas.canvas.style.height=this.canvas.canvas.height+"px",this.canvas.canvas.style.width=this.canvas.canvas.width+"px",e>1&&(this.canvas.canvas.width*=e,this.canvas.canvas.height*=e)}},{key:"treeTypeChanged",value:function(e,t){v(this.containerElement,"typechanged",{oldType:e,newType:t})}},{key:"resetTree",value:function(){if(this.originalTree.branches){this.branches=this.originalTree.branches;var e=!0,t=!1,n=void 0;try{for(var r,o=Object.keys(this.originalTree.branchLengths)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var i=r.value;this.branches[i].branchLength=this.originalTree.branchLengths[i],this.branches[i].parent=this.originalTree.parents[i]}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}this.leaves=this.originalTree.leaves,this.root=this.originalTree.root}}},{key:"rotateBranch",value:function(e){this.branches[e.id].rotate()}},{key:"extractNestedBranches",value:function(){this.branches={},this.leaves=[],this.storeNode(this.root),this.root.extractChildren()}},{key:"exportNwk",value:function(){var e=this.root.getNwk();return e.substr(0,e.lastIndexOf(")")+1)+";"}},{key:"resizeToContainer",value:function(){this.setSize(this.containerElement.offsetWidth,this.containerElement.offsetHeight)}},{key:"alignLabels",get:function(){return this.showLabels&&this.labelAlign&&this.labelAlignEnabled},set:function(e){this.labelAlignEnabled=e}}]),e}();t.default=x,x.prototype.on=x.prototype.addListener},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.events=t.dom=t.constants=t.canvas=void 0;var o=n(3),i=r(o),a=n(6),s=r(a),l=n(4),u=r(l),c=n(5),d=r(c);t.canvas=i,t.constants=s,t.dom=u,t.events=d},function(e,t,n){"use strict";function r(e){return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}function o(e){return(window.devicePixelRatio||1)/r(e)}function i(e,t){var n=o(t.canvas);return[(e.offsetX-t.offsetx)/t.zoom*n,(e.offsetY-t.offsety)/t.zoom*n]}function a(e,t){var n=e.x,r=e.y,i=o(t.canvas);return{x:n?(n-t.offsetx)/t.zoom*i:null,y:r?(r-t.offsety)/t.zoom*i:null}}function s(e,t){var n=e.x,r=e.y,i=o(t.canvas);return{x:n?n/i*t.zoom+t.offsetx:null,y:r?r/i*t.zoom+t.offsety:null}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBackingStorePixelRatio=r,t.getPixelRatio=o,t.translateClick=i,t.translatePoint=a,t.undoPointTranslation=s;n(4)},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?"text/plain;charset=utf-8":arguments[1],n=new Blob([e],{type:t});return d.createObjectURL(n)}function o(e,t){var n=document.createElement("a"),r=void 0!==n.download;n.href=e,n.target="_blank",r&&(n.download=t),(0,c.fireEvent)(n,"click"),r&&d.revokeObjectURL(n.href)}function i(e){for(var t=0;e;)t+=e.offsetLeft,e=e.offsetParent;return t}function a(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}function s(e,t){var n=e.className.split(" ");n.indexOf(t)===-1&&(n.push(t),e.className=n.join(" "))}function l(e,t){var n=e.className.split(" "),r=n.indexOf(t);r!==-1&&(n.splice(r,1),e.className=n.join(" "))}function u(e,t){return e.className.split(" ").indexOf(t)!==-1}Object.defineProperty(t,"__esModule",{value:!0}),t.createBlobUrl=r,t.setupDownloadLink=o,t.getX=i,t.getY=a,t.addClass=s,t.removeClass=l,t.hasClass=u;var c=n(5),d=window.URL||window.webkitURL},function(e,t){"use strict";function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function r(e){return e.preventDefault(),!1}function o(e,t){var n,r,o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0)):(n=document.createEventObject(),n.eventType=t),n.eventName=t;for(r in o)o.hasOwnProperty(r)&&(n[r]=o[r]);document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)}function i(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,function(){return n.call(e,window.event)})}function a(e){e.stopPropagation(),e.preventDefault()}function s(e,t){return(void 0===t?"undefined":n(t))===n("aaa")?function(n){if(e[t])return e[t](n)}:function(){return t(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.preventDefault=r,t.fireEvent=o,t.addEvent=i,t.killEvent=a,t.createHandler=s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Angles={FORTYFIVE:Math.PI/4,QUARTER:Math.PI/2,HALF:Math.PI,FULL:2*Math.PI},t.Shapes={x:"star",s:"square",o:"circle",t:"triangle"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;nthis.minx&&tthis.miny)return this;for(n=this.children.length-1;n>=0;n--)if(r=this.children[n].clicked(e,t))return r}}},{key:"drawLabel",value:function(){var e=this.getTextSize(),t=this.getLabel();this.canvas.font=this.getFontString(),this.labelWidth=this.canvas.measureText(t).width,void 0===this.tree.maxLabelLength[this.tree.treeType]&&(this.tree.maxLabelLength[this.tree.treeType]=0),this.labelWidth>this.tree.maxLabelLength[this.tree.treeType]&&(this.tree.maxLabelLength[this.tree.treeType]=this.labelWidth);var n=this.getLabelStartX();this.tree.alignLabels&&(n+=Math.abs(this.tree.labelAlign.getLabelOffset(this))),this.angle>u.QUARTER&&this.angleu.QUARTER&&this.anglethis.tree.maxBranchLength&&(this.tree.maxBranchLength=this.totalBranchLength)):(this.totalBranchLength=this.branchLength,this.tree.maxBranchLength=this.totalBranchLength),e=0;ethis.getDiameter()}},{key:"getLabelStartX",value:function(){var e=this.getLeafStyle(),t=e.lineWidth,n=this.hasLabelConnector(),r=this.getDiameter();return this.isHighlighted&&!n&&(r+=this.getHighlightSize()-this.getRadius()),this.isHighlighted||n||(r+=t/2),r+Math.min(this.tree.labelPadding,this.tree.labelPadding/this.tree.zoom)}},{key:"getHighlightLineWidth",value:function(){return this.tree.highlightWidth/this.tree.zoom}},{key:"getHighlightRadius",value:function(){var e=this.getHighlightLineWidth()*this.tree.highlightSize;return e+=this.getLeafStyle().lineWidth/this.tree.highlightSize,this.leaf?this.getRadius()+e:.666*e}},{key:"getHighlightSize",value:function(){return this.getHighlightRadius()+this.getHighlightLineWidth()}},{key:"rotate",value:function(e){for(var t=[],n=this.children.length;n--;)t.push(this.children[n]);this.children=t,e.preventredraw||(this.tree.extractNestedBranches(),this.tree.draw(!0))}},{key:"getChildNo",value:function(){return this.parent.children.indexOf(this)}},{key:"setDisplay",value:function(e){var t=e.colour,n=e.shape,r=e.size,o=e.leafStyle,i=e.labelStyle;t&&(this.colour=t),n&&(this.nodeShape=c[n]?c[n]:n),r&&(this.radius=r),o&&(this.leafStyle=o),i&&(this.labelStyle=i)}},{key:"getTotalLength",value:function(){var e=this.getRadius();return(this.tree.showLabels||this.tree.hoverLabel&&this.isHighlighted)&&(e+=this.getLabelStartX()+this.getLabelSize()),e}},{key:"getBounds",value:function(){var e=this.tree,t=e.alignLabels?e.labelAlign.getX(this):this.centerx,n=e.alignLabels?e.labelAlign.getY(this):this.centery,r=this.getRadius(),o=this.getTotalLength(),i=void 0,a=void 0,s=void 0,l=void 0;return this.angle>u.QUARTER&&this.angle0&&r!==o&&e.stroke(),e.restore()}Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),a=i.constants.Angles,s=function(e){return e*Math.sqrt(2)};t.default={circle:function(e,t,n){var i=Math.pow(s(t),2),l=Math.sqrt(i/Math.PI);r(e,t-l),e.beginPath(),e.arc(t,0,l,0,a.FULL,!1),e.closePath(),o(e,n)},square:function(e,t,n){var i=s(t),a=t-i/2;r(e,a),e.beginPath(),e.moveTo(a,0),e.lineTo(a,i/2),e.lineTo(a+i,i/2),e.lineTo(a+i,-i/2),e.lineTo(a,-i/2),e.lineTo(a,0),e.closePath(),o(e,n)},star:function(e,t,n){var i=t,a=0,s=5,l=t,u=.5*l,c=Math.PI/s;r(e,l-u);var d=Math.PI/2*3;e.beginPath(),e.moveTo(i,a-l);for(var p=0;p0?e.leaves[n-1].centery+t:0,e.leaves[n].centerx=e.leaves[n].totalBranchLength*e.branchScalar,e.leaves[n].centerx>e.farthestNodeFromRootX&&(e.farthestNodeFromRootX=e.leaves[n].centerx),e.leaves[n].centery>e.farthestNodeFromRootY&&(e.farthestNodeFromRootY=e.leaves[n].centery);for(var r=e.leaves[n];r.parent;r=r.parent){var o=r.parent.children;r.parent.centery=(o[0].centery+o[o.length-1].centery)/2}}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(13),i=r(o),a=n(14),s=r(a),l=n(18),u=r(l),c=n(19),d=r(c),p={getX:function(e){return e.centerx+e.labelOffsetX+e.getDiameter()*Math.cos(e.angle)},getY:function(e){return e.centery+e.labelOffsetY+e.getDiameter()*Math.sin(e.angle)},getLabelOffset:function(e){return e.labelOffsetX/Math.cos(e.angle)}};t.default={branchRenderer:new i.default(u.default),prerenderer:new s.default(d.default),labelAlign:p,scaleCollapsedNode:function(e){return e/3},calculateFontSize:function(e){return Math.min(10*e+4,40)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=t.totalBranchLength*e.branchScalar;t.canvas.beginPath(),t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath(),t.canvas.strokeStyle=t.getColour(),t.children.length>1&&!t.collapsed&&(t.canvas.beginPath(),t.canvas.arc(0,0,n,t.minChildAngle,t.maxChildAngle,t.maxChildAnglen?n=e.branchScalar*e.maxBranchLength:e.branchScalar=n/e.maxBranchLength;for(var r=0;r0?e.leaves[n-1].centery+t:0,e.leaves[n].angle=0;for(var r=e.leaves[n];r.parent&&r.getChildNo()===r.parent.children.length-1;r=r.parent){r.parent.centery=r.parent.getChildYTotal()/r.parent.getChildCount(),r.parent.centerx=r.parent.children[0].centerx+(r.parent.children[0].centery-r.parent.centery)*Math.tan(o.FORTYFIVE);for(var i=0;i0?e.leaves[n-1].centerx+t:0,e.leaves[n].centery=e.leaves[n].totalBranchLength*e.branchScalar;for(var r=e.leaves[n];r.parent&&(0===r.getChildNo()&&(r.parent.centerx=r.centerx),r.getChildNo()===r.parent.children.length-1);r=r.parent){r.parent.angle=o.QUARTER,r.parent.centerx=(r.parent.centerx+r.centerx)/2,r.parent.centery=r.parent.totalBranchLength*e.branchScalar;for(var i=0;ie.farthestNodeFromRootX&&(e.farthestNodeFromRootX=e.leaves[n].centerx),e.leaves[n].centery>e.farthestNodeFromRootY&&(e.farthestNodeFromRootY=e.leaves[n].centery)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(30),i=r(o),a=n(31),s=r(a),l=n(32),u=r(l);t.default={nexus:new i.default(u.default),newick:new i.default(s.default)}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var n=0;nt?1:e>=t?0:NaN}function i(e){return null===e?NaN:+e}function a(e){return!isNaN(e)}function s(e){return{left:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[i],n)<0?r=i+1:o=i}return r},right:function(t,n,r,o){for(arguments.length<3&&(r=0),arguments.length<4&&(o=t.length);r>>1;e(t[i],n)>0?o=i:r=i+1}return r}}}function l(e){return e.length}function u(e){for(var t=1;e*t%1;)t*=10;return t}function c(e,t){for(var n in t)Object.defineProperty(e.prototype,n,{value:t[n],enumerable:!1})}function d(){this._=Object.create(null)}function p(e){return(e+="")===Aa||e[0]===xa?xa+e:e}function f(e){return(e+="")[0]===xa?e.slice(1):e}function h(e){return p(e)in this._}function m(e){return(e=p(e))in this._&&delete this._[e]}function g(){var e=[];for(var t in this._)e.push(f(t));return e}function y(){var e=0;for(var t in this._)++e;return e}function v(){for(var e in this._)return!1;return!0}function b(){this._=Object.create(null)}function _(e){return e}function A(e,t,n){return function(){var r=n.apply(t,arguments);return r===t?e:r}}function x(e,t){if(t in e)return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0,r=ja.length;n=t&&(t=o+1);!(a=s[t])&&++t0&&(e=e.slice(0,s));var u=Oa.get(e);return u&&(e=u,l=X),s?t?o:r:t?j:i}function Q(e,t){return function(n){var r=ca.event;ca.event=n,t[0]=this.__data__;try{e.apply(this,t)}finally{ca.event=r}}}function X(e,t){var n=Q(e,t);return function(e){var t=this,r=e.relatedTarget;r&&(r===t||8&r.compareDocumentPosition(t))||n.call(t,e)}}function Z(e){var n=".dragsuppress-"+ ++Ra,o="click"+n,i=ca.select(r(e)).on("touchmove"+n,E).on("dragstart"+n,E).on("selectstart"+n,E);if(null==Ia&&(Ia=!("onselectstart"in e)&&x(e.style,"userSelect")),Ia){var a=t(e).style,s=a[Ia];a[Ia]="none"}return function(e){if(i.on(n,null),Ia&&(a[Ia]=s),e){var t=function(){i.on(o,null)};i.on(o,function(){E(),t()},!0),setTimeout(t,0)}}}function J(e,t){t.changedTouches&&(t=t.changedTouches[0]);var n=e.ownerSVGElement||e;if(n.createSVGPoint){var o=n.createSVGPoint();if(La<0){var i=r(e);if(i.scrollX||i.scrollY){n=ca.select("body").append("svg").style({position:"absolute",top:0,left:0,margin:0,padding:0,border:"none"},"important");var a=n[0][0].getScreenCTM();La=!(a.f||a.e),n.remove()}}return La?(o.x=t.pageX,o.y=t.pageY):(o.x=t.clientX,o.y=t.clientY),o=o.matrixTransform(e.getScreenCTM().inverse()),[o.x,o.y]}var s=e.getBoundingClientRect();return[t.clientX-s.left-e.clientLeft,t.clientY-s.top-e.clientTop]}function $(){return ca.event.changedTouches[0].identifier}function ee(e){return e>0?1:e<0?-1:0}function te(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])}function ne(e){return e>1?0:e<-1?Ba:Math.acos(e)}function re(e){return e>1?Ua:e<-1?-Ua:Math.asin(e)}function oe(e){return((e=Math.exp(e))-1/e)/2}function ie(e){return((e=Math.exp(e))+1/e)/2}function ae(e){return((e=Math.exp(2*e))-1)/(e+1)}function se(e){return(e=Math.sin(e/2))*e}function le(){}function ue(e,t,n){return this instanceof ue?(this.h=+e,this.s=+t,void(this.l=+n)):arguments.length<2?e instanceof ue?new ue(e.h,e.s,e.l):je(""+e,we,ue):new ue(e,t,n)}function ce(e,t,n){function r(e){return e>360?e-=360:e<0&&(e+=360),e<60?i+(a-i)*e/60:e<180?a:e<240?i+(a-i)*(240-e)/60:i}function o(e){return Math.round(255*r(e))}var i,a;return e=isNaN(e)?0:(e%=360)<0?e+360:e,t=isNaN(t)?0:t<0?0:t>1?1:t,n=n<0?0:n>1?1:n,a=n<=.5?n*(1+t):n+t-n*t,i=2*n-a,new be(o(e+120),o(e),o(e-120))}function de(e,t,n){return this instanceof de?(this.h=+e,this.c=+t,void(this.l=+n)):arguments.length<2?e instanceof de?new de(e.h,e.c,e.l):e instanceof fe?me(e.l,e.a,e.b):me((e=Ce((e=ca.rgb(e)).r,e.g,e.b)).l,e.a,e.b):new de(e,t,n)}function pe(e,t,n){return isNaN(e)&&(e=0),isNaN(t)&&(t=0),new fe(n,Math.cos(e*=Wa)*t,Math.sin(e)*t)}function fe(e,t,n){return this instanceof fe?(this.l=+e,this.a=+t,void(this.b=+n)):arguments.length<2?e instanceof fe?new fe(e.l,e.a,e.b):e instanceof de?pe(e.h,e.c,e.l):Ce((e=be(e)).r,e.g,e.b):new fe(e,t,n)}function he(e,t,n){var r=(e+16)/116,o=r+t/500,i=r-n/200;return o=ge(o)*es,r=ge(r)*ts,i=ge(i)*ns,new be(ve(3.2404542*o-1.5371385*r-.4985314*i),ve(-.969266*o+1.8760108*r+.041556*i),ve(.0556434*o-.2040259*r+1.0572252*i))}function me(e,t,n){return e>0?new de(Math.atan2(n,t)*qa,Math.sqrt(t*t+n*n),e):new de(NaN,NaN,e)}function ge(e){return e>.206893034?e*e*e:(e-4/29)/7.787037}function ye(e){return e>.008856?Math.pow(e,1/3):7.787037*e+4/29}function ve(e){return Math.round(255*(e<=.00304?12.92*e:1.055*Math.pow(e,1/2.4)-.055))}function be(e,t,n){return this instanceof be?(this.r=~~e,this.g=~~t,void(this.b=~~n)):arguments.length<2?e instanceof be?new be(e.r,e.g,e.b):je(""+e,be,ce):new be(e,t,n)}function _e(e){return new be(e>>16,e>>8&255,255&e)}function Ae(e){return _e(e)+""}function xe(e){return e<16?"0"+Math.max(0,e).toString(16):Math.min(255,e).toString(16)}function je(e,t,n){var r,o,i,a=0,s=0,l=0;if(r=/([a-z]+)\((.*)\)/.exec(e=e.toLowerCase()))switch(o=r[2].split(","),r[1]){case"hsl":return n(parseFloat(o[0]),parseFloat(o[1])/100,parseFloat(o[2])/100);case"rgb":return t(ke(o[0]),ke(o[1]),ke(o[2]))}return(i=is.get(e))?t(i.r,i.g,i.b):(null==e||"#"!==e.charAt(0)||isNaN(i=parseInt(e.slice(1),16))||(4===e.length?(a=(3840&i)>>4,a|=a>>4,s=240&i,s|=s>>4,l=15&i,l|=l<<4):7===e.length&&(a=(16711680&i)>>16,s=(65280&i)>>8,l=255&i)),t(a,s,l))}function we(e,t,n){var r,o,i=Math.min(e/=255,t/=255,n/=255),a=Math.max(e,t,n),s=a-i,l=(a+i)/2;return s?(o=l<.5?s/(a+i):s/(2-a-i),r=e==a?(t-n)/s+(t0&&l<1?0:r),new ue(r,o,l)}function Ce(e,t,n){e=Ee(e),t=Ee(t),n=Ee(n);var r=ye((.4124564*e+.3575761*t+.1804375*n)/es),o=ye((.2126729*e+.7151522*t+.072175*n)/ts);return fe(116*o-16,500*(r-o),200*(o-ye((.0193339*e+.119192*t+.9503041*n)/ns)))}function Ee(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function ke(e){var t=parseFloat(e);return"%"===e.charAt(e.length-1)?Math.round(2.55*t):t}function Te(e){return"function"==typeof e?e:function(){return e}}function Se(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=null),Pe(t,n,e,r)}}function Pe(e,t,n,r){function o(){var e,t=l.status;if(!t&&De(l)||t>=200&&t<300||304===t){try{e=n.call(i,l)}catch(e){return void a.error.call(i,e)}a.load.call(i,e)}else a.error.call(i,l)}var i={},a=ca.dispatch("beforesend","progress","load","error"),s={},l=new XMLHttpRequest,u=null;return!this.XDomainRequest||"withCredentials"in l||!/^(http(s)?:)?\/\//.test(e)||(l=new XDomainRequest),"onload"in l?l.onload=l.onerror=o:l.onreadystatechange=function(){l.readyState>3&&o()},l.onprogress=function(e){var t=ca.event;ca.event=e;try{a.progress.call(i,l)}finally{ca.event=t}},i.header=function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?s[e]:(null==t?delete s[e]:s[e]=t+"",i)},i.mimeType=function(e){return arguments.length?(t=null==e?null:e+"",i):t},i.responseType=function(e){return arguments.length?(u=e,i):u},i.response=function(e){return n=e,i},["get","post"].forEach(function(e){i[e]=function(){return i.send.apply(i,[e].concat(pa(arguments)))}}),i.send=function(n,r,o){if(2===arguments.length&&"function"==typeof r&&(o=r,r=null),l.open(n,e,!0),null==t||"accept"in s||(s.accept=t+",*/*"),l.setRequestHeader)for(var c in s)l.setRequestHeader(c,s[c]);return null!=t&&l.overrideMimeType&&l.overrideMimeType(t),null!=u&&(l.responseType=u),null!=o&&i.on("error",o).on("load",function(e){o(null,e)}),a.beforesend.call(i,l),l.send(null==r?null:r),i},i.abort=function(){return l.abort(),i},ca.rebind(i,a,"on"),null==r?i:i.get(Me(r))}function Me(e){return 1===e.length?function(t,n){e(null==t?n:null)}:e}function De(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}function Oe(e,t,n){var r=arguments.length;r<2&&(t=0),r<3&&(n=Date.now());var o=n+t,i={c:e,t:o,n:null};return ss?ss.n=i:as=i,ss=i,ls||(us=clearTimeout(us),ls=1,cs(Ie)),i}function Ie(){var e=Re(),t=Le()-e;t>24?(isFinite(t)&&(clearTimeout(us),us=setTimeout(Ie,t)),ls=0):(ls=1,cs(Ie))}function Re(){for(var e=Date.now(),t=as;t;)e>=t.t&&t.c(e-t.t)&&(t.c=null),t=t.n;return e}function Le(){for(var e,t=as,n=1/0;t;)t.c?(t.t8?function(e){return e/n}:function(e){return e*n},symbol:e}}function Be(e){var t=e.decimal,n=e.thousands,r=e.grouping,o=e.currency,i=r&&n?function(e,t){for(var o=e.length,i=[],a=0,s=r[0],l=0;o>0&&s>0&&(l+s+1>t&&(s=Math.max(1,t-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>t));)s=r[a=(a+1)%r.length];return i.reverse().join(n)}:_;return function(e){var n=ps.exec(e),r=n[1]||" ",a=n[2]||">",s=n[3]||"-",l=n[4]||"",u=n[5],c=+n[6],d=n[7],p=n[8],f=n[9],h=1,m="",g="",y=!1,v=!0;switch(p&&(p=+p.substring(1)),(u||"0"===r&&"="===a)&&(u=r="0",a="="),f){case"n":d=!0,f="g";break;case"%":h=100,g="%",f="f";break;case"p":h=100,g="%",f="r";break;case"b":case"o":case"x":case"X":"#"===l&&(m="0"+f.toLowerCase());case"c":v=!1;case"d":y=!0,p=0;break;case"s":h=-1,f="r"}"$"===l&&(m=o[0],g=o[1]),"r"!=f||p||(f="g"),null!=p&&("g"==f?p=Math.max(1,Math.min(21,p)):"e"!=f&&"f"!=f||(p=Math.max(0,Math.min(20,p)))),f=fs.get(f)||ze;var b=u&&d;return function(e){var n=g;if(y&&e%1)return"";var o=e<0||0===e&&1/e<0?(e=-e,"-"):"-"===s?"":s;if(h<0){var l=ca.formatPrefix(e,p);e=l.scale(e),n=l.symbol+g}else e*=h;e=f(e,p);var _,A,x=e.lastIndexOf(".");if(x<0){var j=v?e.lastIndexOf("e"):-1;j<0?(_=e,A=""):(_=e.substring(0,j),A=e.substring(j))}else _=e.substring(0,x),A=t+e.substring(x+1);!u&&d&&(_=i(_,1/0));var w=m.length+_.length+A.length+(b?0:o.length),C=w"===a?C+o+e:"^"===a?C.substring(0,w>>=1)+o+e+C.substring(w):o+(b?e:C+e))+n}}}function ze(e){return e+""}function He(){this._=new Date(arguments.length>1?Date.UTC.apply(this,arguments):arguments[0])}function Ue(e,t,n){function r(t){var n=e(t),r=i(n,1);return t-n1)for(;a=u)return-1;if(37===(o=t.charCodeAt(s++))){if(a=t.charAt(s++),!(i=S[a in ys?t.charAt(s++):a])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function r(e,t,n){x.lastIndex=0;var r=x.exec(t.slice(n));return r?(e.w=j.get(r[0].toLowerCase()),n+r[0].length):-1}function o(e,t,n){_.lastIndex=0;var r=_.exec(t.slice(n));return r?(e.w=A.get(r[0].toLowerCase()),n+r[0].length):-1}function i(e,t,n){E.lastIndex=0;var r=E.exec(t.slice(n));return r?(e.m=k.get(r[0].toLowerCase()),n+r[0].length):-1}function a(e,t,n){w.lastIndex=0;var r=w.exec(t.slice(n));return r?(e.m=C.get(r[0].toLowerCase()),n+r[0].length):-1}function s(e,t,r){return n(e,T.c.toString(),t,r)}function l(e,t,r){return n(e,T.x.toString(),t,r)}function u(e,t,r){return n(e,T.X.toString(),t,r)}function c(e,t,n){var r=b.get(t.slice(n,n+=2).toLowerCase());return null==r?-1:(e.p=r,n)}var d=e.dateTime,p=e.date,f=e.time,h=e.periods,m=e.days,g=e.shortDays,y=e.months,v=e.shortMonths;t.utc=function(e){function n(e){try{ms=He;var t=new ms;return t._=e,r(t)}finally{ms=Date}}var r=t(e);return n.parse=function(e){try{ms=He;var t=r.parse(e);return t&&t._}finally{ms=Date}},n.toString=r.toString,n},t.multi=t.utc.multi=ct;var b=ca.map(),_=Ge(m),A=Ke(m),x=Ge(g),j=Ke(g),w=Ge(y),C=Ke(y),E=Ge(v),k=Ke(v);h.forEach(function(e,t){b.set(e.toLowerCase(),t)});var T={a:function(e){return g[e.getDay()]},A:function(e){return m[e.getDay()]},b:function(e){return v[e.getMonth()]},B:function(e){return y[e.getMonth()]},c:t(d),d:function(e,t){return Ve(e.getDate(),t,2)},e:function(e,t){return Ve(e.getDate(),t,2)},H:function(e,t){return Ve(e.getHours(),t,2)},I:function(e,t){return Ve(e.getHours()%12||12,t,2)},j:function(e,t){return Ve(1+hs.dayOfYear(e),t,3)},L:function(e,t){return Ve(e.getMilliseconds(),t,3)},m:function(e,t){return Ve(e.getMonth()+1,t,2)},M:function(e,t){return Ve(e.getMinutes(),t,2)},p:function(e){return h[+(e.getHours()>=12)]},S:function(e,t){return Ve(e.getSeconds(),t,2)},U:function(e,t){return Ve(hs.sundayOfYear(e),t,2)},w:function(e){return e.getDay()},W:function(e,t){return Ve(hs.mondayOfYear(e),t,2)},x:t(p),X:t(f),y:function(e,t){return Ve(e.getFullYear()%100,t,2)},Y:function(e,t){return Ve(e.getFullYear()%1e4,t,4)},Z:lt,"%":function(){return"%"}},S={a:r,A:o,b:i,B:a,c:s,d:nt,e:nt,H:ot,I:ot,j:rt,L:st,m:tt,M:it,p:c,S:at,U:Qe,w:Ye,W:Xe,x:l,X:u,y:Je,Y:Ze,Z:$e,"%":ut};return t}function Ve(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i68?1900:2e3)}function tt(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nt(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function rt(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+3));return r?(e.j=+r[0],n+r[0].length):-1}function ot(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function it(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function at(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function st(e,t,n){vs.lastIndex=0;var r=vs.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function lt(e){var t=e.getTimezoneOffset(),n=t>0?"-":"+",r=_a(t)/60|0,o=_a(t)%60;return n+Ve(r,"0",2)+Ve(o,"0",2)}function ut(e,t,n){bs.lastIndex=0;var r=bs.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ct(e){for(var t=e.length,n=-1;++n=0?1:-1,s=a*n,l=Math.cos(t),u=Math.sin(t),c=i*u,d=o*l+c*Math.cos(s),p=c*a*Math.sin(s);Cs.add(Math.atan2(p,d)),r=e,o=l,i=u}var t,n,r,o,i;Es.point=function(a,s){Es.point=e,r=(t=a)*Wa,o=Math.cos(s=(n=s)*Wa/2+Ba/4),i=Math.sin(s)},Es.lineEnd=function(){e(t,n)}}function yt(e){var t=e[0],n=e[1],r=Math.cos(n);return[r*Math.cos(t),r*Math.sin(t),Math.sin(n)]}function vt(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function bt(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function _t(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function At(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function xt(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function jt(e){return[Math.atan2(e[1],e[0]),re(e[2])]}function wt(e,t){return _a(e[0]-t[0])=0;--s)o.point((d=c[s])[0],d[1])}else r(f.x,f.p.x,-1,o);f=f.p}f=f.o,c=f.z,h=!h}while(!f.v);o.lineEnd()}}}function Ot(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r0){for(A||(i.polygonStart(),A=!0),i.lineStart();++a1&&2&t&&n.push(n.pop().concat(n.shift())),f.push(n.filter(Lt))}var f,h,m,g=t(i),y=o.invert(r[0],r[1]),v={point:a,lineStart:l,lineEnd:u,polygonStart:function(){v.point=c,v.lineStart=d,v.lineEnd=p,f=[],h=[]},polygonEnd:function(){v.point=a,v.lineStart=l,v.lineEnd=u,f=ca.merge(f);var e=Ut(y,h);f.length?(A||(i.polygonStart(),A=!0),Dt(f,Nt,e,n,i)):e&&(A||(i.polygonStart(),A=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),A&&(i.polygonEnd(),A=!1),f=h=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}},b=Ft(),_=t(b),A=!1;return v}}function Lt(e){return e.length>1}function Ft(){var e,t=[];return{lineStart:function(){t.push(e=[])},point:function(t,n){e.push([t,n])},lineEnd:j,buffer:function(){var n=t;return t=[],e=null,n},rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))}}}function Nt(e,t){return((e=e.x)[0]<0?e[1]-Ua-Fa:Ua-e[1])-((t=t.x)[0]<0?t[1]-Ua-Fa:Ua-t[1])}function Bt(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(i,a){var s=i>0?Ba:-Ba,l=_a(i-n);_a(l-Ba)0?Ua:-Ua),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(i,r),t=0):o!==s&&l>=Ba&&(_a(n-o)Fa?Math.atan((Math.sin(t)*(i=Math.cos(r))*Math.sin(n)-Math.sin(r)*(o=Math.cos(t))*Math.sin(e))/(o*i*a)):(t+r)/2}function Ht(e,t,n,r){var o;if(null==e)o=n*Ua,r.point(-Ba,o),r.point(0,o),r.point(Ba,o),r.point(Ba,0),r.point(Ba,-o),r.point(0,-o),r.point(-Ba,-o),r.point(-Ba,0),r.point(-Ba,o);else if(_a(e[0]-t[0])>Fa){var i=e[0]=0?1:-1,j=x*A,w=j>Ba,C=h*b;if(Cs.add(Math.atan2(C*x*Math.sin(j),m*_+C*Math.cos(j))),i+=w?A+x*za:A,w^p>=n^y>=n){var E=bt(yt(d),yt(e));xt(E);var k=bt(o,E);xt(k);var T=(w^A>=0?-1:1)*re(k[2]);(r>T||r===T&&(E[0]||E[1]))&&(a+=w^A>=0?1:-1)}if(!g++)break;p=y,h=b,m=_,d=e}}return(i<-Fa||ii}function n(e){var n,i,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(d,p){var f,h=[d,p],m=t(d,p),g=a?m?0:o(d,p):m?o(d+(d<0?Ba:-Ba),p):0;if(!n&&(u=l=m)&&e.lineStart(),m!==l&&(f=r(n,h),(wt(n,f)||wt(h,f))&&(h[0]+=Fa,h[1]+=Fa,m=t(h[0],h[1]))),m!==l)c=0,m?(e.lineStart(),f=r(h,n),e.point(f[0],f[1])):(f=r(n,h),e.point(f[0],f[1]),e.lineEnd()),n=f;else if(s&&n&&a^m){var y;g&i||!(y=r(h,n,!0))||(c=0,a?(e.lineStart(),e.point(y[0][0],y[0][1]),e.point(y[1][0],y[1][1]),e.lineEnd()):(e.point(y[1][0],y[1][1]),e.lineEnd(),e.lineStart(),e.point(y[0][0],y[0][1])))}!m||n&&wt(n,h)||e.point(h[0],h[1]),n=h,l=m,i=g},lineEnd:function(){l&&e.lineEnd(),n=null},clean:function(){return c|(u&&l)<<1}}}function r(e,t,n){var r=yt(e),o=yt(t),a=[1,0,0],s=bt(r,o),l=vt(s,s),u=s[0],c=l-u*u;if(!c)return!n&&e;var d=i*l/c,p=-i*u/c,f=bt(a,s),h=At(a,d);_t(h,At(s,p));var m=f,g=vt(h,m),y=vt(m,m),v=g*g-y*(vt(h,h)-1);if(!(v<0)){var b=Math.sqrt(v),_=At(m,(-g-b)/y);if(_t(_,h),_=jt(_),!n)return _;var A,x=e[0],j=t[0],w=e[1],C=t[1];j0^_[1]<(_a(_[0]-x)Ba^(x<=_[0]&&_[0]<=j)){var S=At(m,(-g+b)/y);return _t(S,h),[_,jt(S)]}}}function o(t,n){var r=a?e:Ba-e,o=0;return t<-r?o|=1:t>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var i=Math.cos(e),a=i>0,s=_a(i)>Fa;return Rt(t,n,yn(e,6*Wa),a?[0,-e]:[-Ba,e-Ba])}function qt(e,t,n,r){return function(o){var i,a=o.a,s=o.b,l=a.x,u=a.y,c=s.x,d=s.y,p=0,f=1,h=c-l,m=d-u;if(i=e-l,h||!(i>0)){if(i/=h,h<0){if(i0){if(i>f)return;i>p&&(p=i)}if(i=n-l,h||!(i<0)){if(i/=h,h<0){if(i>f)return;i>p&&(p=i)}else if(h>0){if(i0)){if(i/=m,m<0){if(i0){if(i>f)return;i>p&&(p=i)}if(i=r-u,m||!(i<0)){if(i/=m,m<0){if(i>f)return;i>p&&(p=i)}else if(m>0){if(i0&&(o.a={x:l+p*h,y:u+p*m}),f<1&&(o.b={x:l+f*h,y:u+f*m}),o}}}}}}function Vt(e,t,n,r){function o(r,o){return _a(r[0]-e)0?0:3:_a(r[0]-n)0?2:1:_a(r[1]-t)0?1:0:o>0?3:2}function i(e,t){return a(e.x,t.x)}function a(e,t){var n=o(e,1),r=o(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(s){function l(e){for(var t=0,n=g.length,r=e[1],o=0;or&&te(u,i,e)>0&&++t:i[1]<=r&&te(u,i,e)<0&&--t,u=i;return 0!==t}function u(i,s,l,u){var c=0,d=0;if(null==i||(c=o(i,l))!==(d=o(s,l))||a(i,s)<0^l>0)do{u.point(0===c||3===c?e:n,c>1?r:t)}while((c=(c+l+4)%4)!==d);else u.point(s[0],s[1])}function c(o,i){return e<=o&&o<=n&&t<=i&&i<=r}function d(e,t){c(e,t)&&s.point(e,t)}function p(){S.point=h,g&&g.push(y=[]),w=!0,j=!1,A=x=NaN}function f(){m&&(h(v,b),_&&j&&k.rejoin(),m.push(k.buffer())),S.point=d,j&&s.lineEnd()}function h(e,t){e=Math.max(-zs,Math.min(zs,e)),t=Math.max(-zs,Math.min(zs,t));var n=c(e,t);if(g&&y.push([e,t]),w)v=e,b=t,_=n,w=!1,n&&(s.lineStart(),s.point(e,t));else if(n&&j)s.point(e,t);else{var r={a:{x:A,y:x},b:{x:e,y:t}};T(r)?(j||(s.lineStart(),s.point(r.a.x,r.a.y)),s.point(r.b.x,r.b.y),n||s.lineEnd(),C=!1):n&&(s.lineStart(),s.point(e,t),C=!1)}A=e,x=t,j=n}var m,g,y,v,b,_,A,x,j,w,C,E=s,k=Ft(),T=qt(e,t,n,r),S={point:d,lineStart:p,lineEnd:f,polygonStart:function(){s=k,m=[],g=[],C=!0},polygonEnd:function(){s=E,m=ca.merge(m);var t=l([e,r]),n=C&&t,o=m.length;(n||o)&&(s.polygonStart(),n&&(s.lineStart(),u(null,null,1,s),s.lineEnd()),o&&Dt(m,i,t,u,s),s.polygonEnd()),m=g=y=null}};return S}}function Gt(e){var t=0,n=Ba/3,r=un(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*Ba/180,n=e[1]*Ba/180):[t/Ba*180,n/Ba*180]},o}function Kt(e,t){function n(e,t){var n=Math.sqrt(i-2*o*Math.sin(t))/o;return[n*Math.sin(e*=o),a-n*Math.cos(e)]}var r=Math.sin(e),o=(r+Math.sin(t))/2,i=1+r*(2*o-r),a=Math.sqrt(i)/o;return n.invert=function(e,t){var n=a-t;return[Math.atan2(e,n)/o,re((i-(e*e+n*n)*o*o)/(2*o))]},n}function Yt(){function e(e,t){Us+=o*e-r*t,r=e,o=t}var t,n,r,o;Ks.point=function(i,a){Ks.point=e,t=r=i,n=o=a},Ks.lineEnd=function(){e(t,n)}}function Qt(e,t){eVs&&(Vs=e),tGs&&(Gs=t)}function Xt(){function e(e,t){a.push("M",e,",",t,i)}function t(e,t){a.push("M",e,",",t),s.point=n}function n(e,t){a.push("L",e,",",t)}function r(){s.point=e}function o(){a.push("Z")}var i=Zt(4.5),a=[],s={point:e,lineStart:function(){s.point=t},lineEnd:r,polygonStart:function(){s.lineEnd=o},polygonEnd:function(){s.lineEnd=r,s.point=e},pointRadius:function(e){return i=Zt(e),s},result:function(){if(a.length){var e=a.join("");return a=[],e}}};return s}function Zt(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Jt(e,t){Ss+=e,Ps+=t,++Ms}function $t(){function e(e,r){var o=e-t,i=r-n,a=Math.sqrt(o*o+i*i);Ds+=a*(t+e)/2,Os+=a*(n+r)/2,Is+=a,Jt(t=e,n=r)}var t,n;Qs.point=function(r,o){Qs.point=e,Jt(t=r,n=o)}}function en(){Qs.point=Jt}function tn(){function e(e,t){var n=e-r,i=t-o,a=Math.sqrt(n*n+i*i);Ds+=a*(r+e)/2,Os+=a*(o+t)/2,Is+=a,a=o*e-r*t,Rs+=a*(r+e),Ls+=a*(o+t),Fs+=3*a,Jt(r=e,o=t)}var t,n,r,o;Qs.point=function(i,a){Qs.point=e,Jt(t=r=i,n=o=a)},Qs.lineEnd=function(){e(t,n)}}function nn(e){function t(t,n){e.moveTo(t+a,n),e.arc(t,n,a,0,za)}function n(t,n){e.moveTo(t,n),s.point=r}function r(t,n){e.lineTo(t,n)}function o(){s.point=t}function i(){e.closePath()}var a=4.5,s={point:t,lineStart:function(){s.point=n},lineEnd:o,polygonStart:function(){s.lineEnd=i},polygonEnd:function(){s.lineEnd=o,s.point=t},pointRadius:function(e){return a=e,s},result:j};return s}function rn(e){function t(e){return(s?r:n)(e)}function n(t){return sn(t,function(n,r){n=e(n,r),t.point(n[0],n[1])})}function r(t){function n(n,r){n=e(n,r),t.point(n[0],n[1])}function r(){b=NaN,w.point=i,t.lineStart()}function i(n,r){var i=yt([n,r]),a=e(n,r);o(b,_,v,A,x,j,b=a[0],_=a[1],v=n,A=i[0],x=i[1],j=i[2],s,t),t.point(b,_)}function a(){w.point=n,t.lineEnd()}function l(){r(),w.point=u,w.lineEnd=c}function u(e,t){i(d=e,p=t),f=b,h=_,m=A,g=x,y=j,w.point=i}function c(){o(b,_,v,A,x,j,f,h,d,m,g,y,s,t),w.lineEnd=a,a()}var d,p,f,h,m,g,y,v,b,_,A,x,j,w={point:n,lineStart:r,lineEnd:a,polygonStart:function(){t.polygonStart(),w.lineStart=l},polygonEnd:function(){t.polygonEnd(),w.lineStart=r}};return w}function o(t,n,r,s,l,u,c,d,p,f,h,m,g,y){var v=c-t,b=d-n,_=v*v+b*b;if(_>4*i&&g--){var A=s+f,x=l+h,j=u+m,w=Math.sqrt(A*A+x*x+j*j),C=Math.asin(j/=w),E=_a(_a(j)-1)i||_a((v*P+b*M)/_-.5)>.3||s*f+l*h+u*m0&&16,t):Math.sqrt(i)},t}function on(e){var t=rn(function(t,n){return e([t*qa,n*qa])});return function(e){return cn(t(e))}}function an(e){this.stream=e}function sn(e,t){return{point:t,sphere:function(){e.sphere()},lineStart:function(){e.lineStart()},lineEnd:function(){e.lineEnd()},polygonStart:function(){e.polygonStart()},polygonEnd:function(){e.polygonEnd()}}}function ln(e){return un(function(){return e})()}function un(e){function t(e){return e=s(e[0]*Wa,e[1]*Wa),[e[0]*p+l,u-e[1]*p]}function n(e){return(e=s.invert((e[0]-l)/p,(u-e[1])/p))&&[e[0]*qa,e[1]*qa]}function r(){s=Pt(a=fn(y,v,b),i);var e=i(m,g);return l=f-e[0]*p,u=h+e[1]*p,o()}function o(){return c&&(c.valid=!1,c=null),t}var i,a,s,l,u,c,d=rn(function(e,t){return e=i(e,t),[e[0]*p+l,u-e[1]*p]}),p=150,f=480,h=250,m=0,g=0,y=0,v=0,b=0,A=Bs,x=_,j=null,w=null;return t.stream=function(e){return c&&(c.valid=!1),c=cn(A(a,d(x(e)))),c.valid=!0,c},t.clipAngle=function(e){return arguments.length?(A=null==e?(j=e,Bs):Wt((j=+e)*Wa),o()):j},t.clipExtent=function(e){return arguments.length?(w=e,x=e?Vt(e[0][0],e[0][1],e[1][0],e[1][1]):_,o()):w},t.scale=function(e){return arguments.length?(p=+e,r()):p},t.translate=function(e){return arguments.length?(f=+e[0],h=+e[1],r()):[f,h]},t.center=function(e){return arguments.length?(m=e[0]%360*Wa,g=e[1]%360*Wa,r()):[m*qa,g*qa]},t.rotate=function(e){return arguments.length?(y=e[0]%360*Wa,v=e[1]%360*Wa,b=e.length>2?e[2]%360*Wa:0,r()):[y*qa,v*qa,b*qa]},ca.rebind(t,d,"precision"),function(){return i=e.apply(this,arguments),t.invert=i.invert&&n,r()}}function cn(e){return sn(e,function(t,n){e.point(t*Wa,n*Wa)})}function dn(e,t){return[e,t]}function pn(e,t){return[e>Ba?e-za:e<-Ba?e+za:e,t]}function fn(e,t,n){return e?t||n?Pt(mn(e),gn(t,n)):mn(e):t||n?gn(t,n):pn}function hn(e){return function(t,n){return t+=e,[t>Ba?t-za:t<-Ba?t+za:t,n]}}function mn(e){var t=hn(e);return t.invert=hn(-e),t}function gn(e,t){function n(e,t){var n=Math.cos(t),s=Math.cos(e)*n,l=Math.sin(e)*n,u=Math.sin(t),c=u*r+s*o;return[Math.atan2(l*i-c*a,s*r-u*o),re(c*i+l*a)]}var r=Math.cos(e),o=Math.sin(e),i=Math.cos(t),a=Math.sin(t);return n.invert=function(e,t){var n=Math.cos(t),s=Math.cos(e)*n,l=Math.sin(e)*n,u=Math.sin(t),c=u*i-l*a;return[Math.atan2(l*i+u*a,s*r+c*o),re(c*r-s*o)]},n}function yn(e,t){var n=Math.cos(e),r=Math.sin(e);return function(o,i,a,s){var l=a*t;null!=o?(o=vn(n,o),i=vn(n,i),(a>0?oi)&&(o+=a*za)):(o=e+a*za,i=e-.5*l);for(var u,c=o;a>0?c>i:c0?t<-Ua+Fa&&(t=-Ua+Fa):t>Ua-Fa&&(t=Ua-Fa);var n=a/Math.pow(o(t),i);return[n*Math.sin(i*e),a-n*Math.cos(i*e)]}var r=Math.cos(e),o=function(e){return Math.tan(Ba/4+e/2)},i=e===t?Math.sin(e):Math.log(r/Math.cos(t))/Math.log(o(t)/o(e)),a=r*Math.pow(o(e),i)/i;return i?(n.invert=function(e,t){var n=a-t,r=ee(i)*Math.sqrt(e*e+n*n);return[Math.atan2(e,n)/i,2*Math.atan(Math.pow(a/r,1/i))-Ua]},n):Tn}function kn(e,t){function n(e,t){var n=i-t;return[n*Math.sin(o*e),i-n*Math.cos(o*e)]}var r=Math.cos(e),o=e===t?Math.sin(e):(r-Math.cos(t))/(t-e),i=r/o+e;return _a(o)1&&te(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function In(e,t){return e[0]-t[0]||e[1]-t[1]}function Rn(e,t,n){return(n[0]-t[0])*(e[1]-t[1])<(n[1]-t[1])*(e[0]-t[0])}function Ln(e,t,n,r){var o=e[0],i=n[0],a=t[0]-o,s=r[0]-i,l=e[1],u=n[1],c=t[1]-l,d=r[1]-u,p=(s*(l-u)-d*(o-i))/(d*a-s*c);return[o+p*a,l+p*c]}function Fn(e){var t=e[0],n=e[e.length-1];return!(t[0]-n[0]||t[1]-n[1])}function Nn(){ir(this),this.edge=this.site=this.circle=null}function Bn(e){var t=ul.pop()||new Nn;return t.site=e,t}function zn(e){Xn(e),al.remove(e),ul.push(e),ir(e)}function Hn(e){var t=e.circle,n=t.x,r=t.cy,o={x:n,y:r},i=e.P,a=e.N,s=[e];zn(e);for(var l=i;l.circle&&_a(n-l.circle.x)Fa)s=s.L;else{if(!((o=i-qn(s,a))>Fa)){r>-Fa?(t=s.P,n=s):o>-Fa?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}var l=Bn(e);if(al.insert(t,l),t||n){if(t===n)return Xn(t),n=Bn(t.site),al.insert(l,n),l.edge=n.edge=er(t.site,l.site),Qn(t),void Qn(n);if(!n)return void(l.edge=er(t.site,l.site));Xn(t),Xn(n);var u=t.site,c=u.x,d=u.y,p=e.x-c,f=e.y-d,h=n.site,m=h.x-c,g=h.y-d,y=2*(p*g-f*m),v=p*p+f*f,b=m*m+g*g,_={x:(g*v-f*b)/y+c,y:(p*b-m*v)/y+d};nr(n.edge,u,h,_),l.edge=er(u,e,null,_),n.edge=er(e,h,null,_),Qn(t),Qn(n)}}function Wn(e,t){var n=e.site,r=n.x,o=n.y,i=o-t;if(!i)return r;var a=e.P;if(!a)return-(1/0);n=a.site;var s=n.x,l=n.y,u=l-t;if(!u)return s;var c=s-r,d=1/i-1/u,p=c/u;return d?(-p+Math.sqrt(p*p-2*d*(c*c/(-2*u)-l+u/2+o-i/2)))/d+r:(r+s)/2}function qn(e,t){var n=e.N;if(n)return Wn(n,t);var r=e.site;return r.y===t?r.x:1/0}function Vn(e){this.site=e,this.edges=[]}function Gn(e){for(var t,n,r,o,i,a,s,l,u,c,d=e[0][0],p=e[1][0],f=e[0][1],h=e[1][1],m=il,g=m.length;g--;)if((i=m[g])&&i.prepare())for(s=i.edges,l=s.length,a=0;aFa||_a(o-n)>Fa)&&(s.splice(a,0,new rr(tr(i.site,c,_a(r-d)Fa?{x:d,y:_a(t-d)Fa?{x:_a(n-h)Fa?{x:p,y:_a(t-p)Fa?{x:_a(n-f)=-Na)){var f=l*l+u*u,h=c*c+d*d,m=(d*f-u*h)/p,g=(l*h-c*f)/p,d=g+s,y=cl.pop()||new Yn;y.arc=e,y.site=o,y.x=m+a,y.y=d+Math.sqrt(m*m+g*g),y.cy=d,e.circle=y;for(var v=null,b=ll._;b;)if(y.y=s)return;if(p>h){if(i){if(i.y>=u)return}else i={x:g,y:l};n={x:g,y:u}}else{if(i){if(i.y1)if(p>h){if(i){if(i.y>=u)return}else i={x:(l-o)/r,y:l};n={x:(u-o)/r,y:u}}else{if(i){if(i.y=s)return}else i={x:a,y:r*a+o};n={x:s,y:r*s+o}}else{if(i){if(i.xi||d>a||p=_,j=n>=A,w=j<<1|x,C=w+4;wi&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:br(n,r)})),i=fl.lastIndex;return i=0&&!(n=ca.interpolators[r](e,t)););return n}function xr(e,t){var n,r=[],o=[],i=e.length,a=t.length,s=Math.min(e.length,t.length);for(n=0;n=1?1:e(t)}}function wr(e){return function(t){return 1-e(1-t)}}function Cr(e){return function(t){return.5*(t<.5?e(2*t):2-e(2-2*t))}}function Er(e){return e*e}function kr(e){return e*e*e}function Tr(e){if(e<=0)return 0;if(e>=1)return 1;var t=e*e,n=t*e;return 4*(e<.5?n:3*(e-t)+n-.75)}function Sr(e){return function(t){return Math.pow(t,e)}}function Pr(e){return 1-Math.cos(e*Ua)}function Mr(e){return Math.pow(2,10*(e-1))}function Dr(e){return 1-Math.sqrt(1-e*e)}function Or(e,t){var n;return arguments.length<2&&(t=.45),arguments.length?n=t/za*Math.asin(1/e):(e=1,n=t/4),function(r){return 1+e*Math.pow(2,-10*r)*Math.sin((r-n)*za/t)}}function Ir(e){return e||(e=1.70158),function(t){return t*t*((e+1)*t-e)}}function Rr(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}function Lr(e,t){e=ca.hcl(e),t=ca.hcl(t);var n=e.h,r=e.c,o=e.l,i=t.h-n,a=t.c-r,s=t.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?t.c:r),isNaN(i)?(i=0,n=isNaN(n)?t.h:n):i>180?i-=360:i<-180&&(i+=360),function(e){return pe(n+i*e,r+a*e,o+s*e)+""}}function Fr(e,t){e=ca.hsl(e),t=ca.hsl(t);var n=e.h,r=e.s,o=e.l,i=t.h-n,a=t.s-r,s=t.l-o;return isNaN(a)&&(a=0,r=isNaN(r)?t.s:r),isNaN(i)?(i=0,n=isNaN(n)?t.h:n):i>180?i-=360:i<-180&&(i+=360),function(e){return ce(n+i*e,r+a*e,o+s*e)+""}}function Nr(e,t){e=ca.lab(e),t=ca.lab(t);var n=e.l,r=e.a,o=e.b,i=t.l-n,a=t.a-r,s=t.b-o;return function(e){return he(n+i*e,r+a*e,o+s*e)+""}}function Br(e,t){return t-=e,function(n){return Math.round(e+t*n)}}function zr(e){var t=[e.a,e.b],n=[e.c,e.d],r=Ur(t),o=Hr(t,n),i=Ur(Wr(n,t,-o))||0;t[0]*n[1]180?t+=360:t-e>180&&(e+=360),r.push({i:n.push(qr(n)+"rotate(",null,")")-2,x:br(e,t)})):t&&n.push(qr(n)+"rotate("+t+")")}function Kr(e,t,n,r){e!==t?r.push({i:n.push(qr(n)+"skewX(",null,")")-2,x:br(e,t)}):t&&n.push(qr(n)+"skewX("+t+")")}function Yr(e,t,n,r){if(e[0]!==t[0]||e[1]!==t[1]){var o=n.push(qr(n)+"scale(",null,",",null,")");r.push({i:o-4,x:br(e[0],t[0])},{i:o-2,x:br(e[1],t[1])})}else 1===t[0]&&1===t[1]||n.push(qr(n)+"scale("+t+")")}function Qr(e,t){var n=[],r=[];return e=ca.transform(e),t=ca.transform(t),Vr(e.translate,t.translate,n,r),Gr(e.rotate,t.rotate,n,r),Kr(e.skew,t.skew,n,r),Yr(e.scale,t.scale,n,r),e=t=null,function(e){for(var t,o=-1,i=r.length;++o=0;)n.push(o[r])}function lo(e,t){for(var n=[e],r=[];null!=(e=n.pop());)if(r.push(e),(i=e.children)&&(o=i.length))for(var o,i,a=-1;++ao&&(r=n,o=t);return r}function _o(e){return e.reduce(Ao,0)}function Ao(e,t){return e+t[1]}function xo(e,t){return jo(e,Math.ceil(Math.log(t.length)/Math.LN2+1))}function jo(e,t){for(var n=-1,r=+e[0],o=(e[1]-r)/t,i=[];++n<=t;)i[n]=o*n+r;return i}function wo(e){return[ca.min(e),ca.max(e)]}function Co(e,t){return e.value-t.value}function Eo(e,t){var n=e._pack_next;e._pack_next=t,t._pack_prev=e,t._pack_next=n,n._pack_prev=t}function ko(e,t){e._pack_next=t,t._pack_prev=e}function To(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r+t.r;return.999*o*o>n*n+r*r}function So(e){function t(e){c=Math.min(e.x-e.r,c),d=Math.max(e.x+e.r,d),p=Math.min(e.y-e.r,p),f=Math.max(e.y+e.r,f)}if((n=e.children)&&(u=n.length)){var n,r,o,i,a,s,l,u,c=1/0,d=-(1/0),p=1/0,f=-(1/0);if(n.forEach(Po),r=n[0],r.x=-r.r,r.y=0,t(r),u>1&&(o=n[1],o.x=o.r,o.y=0,t(o),u>2))for(i=n[2],Oo(r,o,i),t(i),Eo(r,i),r._pack_prev=i,Eo(i,o),o=r._pack_next,a=3;a=0;)t=o[i],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function Bo(e,t,n){return e.a.parent===t.parent?e.a:n}function zo(e){return 1+ca.max(e,function(e){return e.y})}function Ho(e){return e.reduce(function(e,t){return e+t.x},0)/e.length}function Uo(e){var t=e.children;return t&&t.length?Uo(t[0]):e}function Wo(e){var t,n=e.children;return n&&(t=n.length)?Wo(n[t-1]):e}function qo(e){return{x:e.x,y:e.y,dx:e.dx,dy:e.dy}}function Vo(e,t){var n=e.x+t[3],r=e.y+t[0],o=e.dx-t[1]-t[3],i=e.dy-t[0]-t[2];return o<0&&(n+=o/2,o=0),i<0&&(r+=i/2,i=0),{x:n,y:r,dx:o,dy:i}}function Go(e){var t=e[0],n=e[e.length-1];return t2?Zo:Yo,l=r?Zr:Xr;return a=o(e,t,l,n),s=o(t,e,l,Ar),i}function i(e){return a(e)}var a,s;return i.invert=function(e){return s(e)},i.domain=function(t){return arguments.length?(e=t.map(Number),o()):e},i.range=function(e){return arguments.length?(t=e,o()):t},i.rangeRound=function(e){return i.range(e).interpolate(Br)},i.clamp=function(e){return arguments.length?(r=e,o()):r},i.interpolate=function(e){return arguments.length?(n=e,o()):n},i.ticks=function(t){return ni(e,t)},i.tickFormat=function(t,n){return ri(e,t,n)},i.nice=function(t){return ei(e,t),o()},i.copy=function(){return Jo(e,t,n,r)},o()}function $o(e,t){return ca.rebind(e,t,"range","rangeRound","interpolate","clamp")}function ei(e,t){return Qo(e,Xo(ti(e,t)[2])),Qo(e,Xo(ti(e,t)[2])),e}function ti(e,t){null==t&&(t=10);var n=Go(e),r=n[1]-n[0],o=Math.pow(10,Math.floor(Math.log(r/t)/Math.LN10)),i=t/r*o;return i<=.15?o*=10:i<=.35?o*=5:i<=.75&&(o*=2),n[0]=Math.ceil(n[0]/o)*o,n[1]=Math.floor(n[1]/o)*o+.5*o,n[2]=o,n}function ni(e,t){return ca.range.apply(ca,ti(e,t))}function ri(e,t,n){var r=ti(e,t);if(n){var o=ps.exec(n);if(o.shift(),"s"===o[8]){var i=ca.formatPrefix(Math.max(_a(r[0]),_a(r[1])));return o[7]||(o[7]="."+oi(i.scale(r[2]))),o[8]="f",n=ca.format(o.join("")),function(e){return n(i.scale(e))+i.symbol}}o[7]||(o[7]="."+ii(o[8],r)),n=o.join("")}else n=",."+oi(r[2])+"f";return ca.format(n)}function oi(e){return-Math.floor(Math.log(e)/Math.LN10+.01)}function ii(e,t){var n=oi(t[2]);return e in Cl?Math.abs(n-oi(Math.max(_a(t[0]),_a(t[1]))))+ +("e"!==e):n-2*("%"===e)}function ai(e,t,n,r){function o(e){return(n?Math.log(e<0?0:e):-Math.log(e>0?0:-e))/Math.log(t)}function i(e){return n?Math.pow(t,e):-Math.pow(t,-e)}function a(t){return e(o(t))}return a.invert=function(t){return i(e.invert(t))},a.domain=function(t){return arguments.length?(n=t[0]>=0,e.domain((r=t.map(Number)).map(o)),a):r},a.base=function(n){return arguments.length?(t=+n,e.domain(r.map(o)),a):t},a.nice=function(){var t=Qo(r.map(o),n?Math:kl);return e.domain(t),r=t.map(i),a},a.ticks=function(){var e=Go(r),a=[],s=e[0],l=e[1],u=Math.floor(o(s)),c=Math.ceil(o(l)),d=t%1?2:t;if(isFinite(c-u)){if(n){for(;u0;p--)a.push(i(u)*p);for(u=0;a[u]l;c--);a=a.slice(u,c)}return a},a.tickFormat=function(e,n){if(!arguments.length)return El;arguments.length<2?n=El:"function"!=typeof n&&(n=ca.format(n));var r=Math.max(1,t*e/a.ticks().length);return function(e){var a=e/i(Math.round(o(e)));return a*t0?s[n-1]:e[0],n0?0:1}function Ai(e,t,n,r,o){var i=e[0]-t[0],a=e[1]-t[1],s=(o?r:-r)/Math.sqrt(i*i+a*a),l=s*a,u=-s*i,c=e[0]+l,d=e[1]+u,p=t[0]+l,f=t[1]+u,h=(c+p)/2,m=(d+f)/2,g=p-c,y=f-d,v=g*g+y*y,b=n-r,_=c*f-p*d,A=(y<0?-1:1)*Math.sqrt(Math.max(0,b*b*v-_*_)),x=(_*y-g*A)/v,j=(-_*g-y*A)/v,w=(_*y+g*A)/v,C=(-_*g+y*A)/v,E=x-h,k=j-m,T=w-h,S=C-m;return E*E+k*k>T*T+S*S&&(x=w,j=C),[[x-l,j-u],[x*n/b,j*n/b]]}function xi(e){function t(t){function a(){u.push("M",i(e(c),s))}for(var l,u=[],c=[],d=-1,p=t.length,f=Te(n),h=Te(r);++d1?e.join("L"):e+"Z"}function wi(e){return e.join("L")+"Z"}function Ci(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1&&o.push("H",r[0]),o.join("")}function Ei(e){for(var t=0,n=e.length,r=e[0],o=[r[0],",",r[1]];++t1){s=t[1],i=e[l],l++,r+="C"+(o[0]+a[0])+","+(o[1]+a[1])+","+(i[0]-s[0])+","+(i[1]-s[1])+","+i[0]+","+i[1];for(var u=2;u9&&(o=3*t/Math.sqrt(o),a[s]=o*n,a[s+1]=o*r));for(s=-1;++s<=l;)o=(e[Math.min(l,s+1)][0]-e[Math.max(0,s-1)][0])/(6*(1+a[s]*a[s])),i.push([o||0,a[s]*o||0]);return i}function Ui(e){return e.length<3?ji(e):e[0]+Mi(e,Hi(e))}function Wi(e){for(var t,n,r,o=-1,i=e.length;++o0;)f[--s].call(e,a);if(i>=1)return m.event&&m.event.end.call(e,e.__data__,t),--h.count?delete h[r]:delete e[n],1}var l,u,c,p,f,h=e[n]||(e[n]={active:0,count:0}),m=h[r];m||(l=o.time,u=Oe(i,0,l),m=h[r]={tween:new d,time:l,timer:u,delay:o.delay,duration:o.duration,ease:o.ease,index:t},o=null,++h.count)}function ra(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate("+(isFinite(r)?r:n(e))+",0)"})}function oa(e,t,n){e.attr("transform",function(e){var r=t(e);return"translate(0,"+(isFinite(r)?r:n(e))+")"})}function ia(e){return e.toISOString()}function aa(e,t,n){function r(t){return e(t)}function o(e,n){var r=e[1]-e[0],o=r/n,i=ca.bisect(Jl,o);return i==Jl.length?[t.year,ti(e.map(function(e){return e/31536e6}),n)[2]]:i?t[o/Jl[i-1]1?{floor:function(t){for(;n(t=e.floor(t));)t=sa(t-1);return t},ceil:function(t){for(;n(t=e.ceil(t));)t=sa(+t+1);return t}}:e))},r.ticks=function(e,t){var n=Go(r.domain()),i=null==e?o(n,10):"number"==typeof e?o(n,e):!e.range&&[{range:e},t];return i&&(e=i[0],t=i[1]),e.range(n[0],sa(+n[1]+1),t<1?1:t)},r.tickFormat=function(){return n},r.copy=function(){return aa(e.copy(),t,n)},$o(r,e)}function sa(e){return new Date(e)}function la(e){return JSON.parse(e.responseText)}function ua(e){var t=fa.createRange();return t.selectNode(fa.body),t.createContextualFragment(e.responseText)}var ca={version:"3.5.17"},da=[].slice,pa=function(e){return da.call(e)},fa=this.document;if(fa)try{pa(fa.documentElement.childNodes)[0].nodeType}catch(e){pa=function(e){for(var t=e.length,n=new Array(t);t--;)n[t]=e[t];return n}}if(Date.now||(Date.now=function(){return+new Date}),fa)try{fa.createElement("DIV").style.setProperty("opacity",0,"")}catch(e){var ha=this.Element.prototype,ma=ha.setAttribute,ga=ha.setAttributeNS,ya=this.CSSStyleDeclaration.prototype,va=ya.setProperty;ha.setAttribute=function(e,t){ma.call(this,e,t+"")},ha.setAttributeNS=function(e,t,n){ga.call(this,e,t,n+"")},ya.setProperty=function(e,t,n){va.call(this,e,t+"",n)}}ca.ascending=o,ca.descending=function(e,t){return te?1:t>=e?0:NaN},ca.min=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++or&&(n=r)}else{for(;++o=r){n=r;break}for(;++or&&(n=r)}return n},ca.max=function(e,t){var n,r,o=-1,i=e.length;if(1===arguments.length){for(;++o=r){n=r;break}for(;++on&&(n=r)}else{for(;++o=r){n=r;break}for(;++on&&(n=r)}return n},ca.extent=function(e,t){var n,r,o,i=-1,a=e.length;if(1===arguments.length){for(;++i=r){n=o=r;break}for(;++ir&&(n=r),o=r){n=o=r;break}for(;++ir&&(n=r),o1)return l/(c-1)},ca.deviation=function(){var e=ca.variance.apply(this,arguments);return e?Math.sqrt(e):e};var ba=s(o);ca.bisectLeft=ba.left,ca.bisect=ca.bisectRight=ba.right,ca.bisector=function(e){return s(1===e.length?function(t,n){return o(e(t),n)}:e)},ca.shuffle=function(e,t,n){(i=arguments.length)<3&&(n=e.length,i<2&&(t=0));for(var r,o,i=n-t;i;)o=Math.random()*i--|0,r=e[i+t],e[i+t]=e[o+t],e[o+t]=r;return e},ca.permute=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},ca.pairs=function(e){for(var t=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);t=0;)for(r=e[o],t=r.length;--t>=0;)n[--a]=r[t];return n};var _a=Math.abs;ca.range=function(e,t,n){if(arguments.length<3&&(n=1,arguments.length<2&&(t=e,e=0)),(t-e)/n==1/0)throw new Error("infinite range");var r,o=[],i=u(_a(n)),a=-1;if(e*=i,t*=i,n*=i,n<0)for(;(r=e+n*++a)>t;)o.push(r/i);else for(;(r=e+n*++a)=i.length)return r?r.call(o,a):n?a.sort(n):a;for(var l,u,c,p,f=-1,h=a.length,m=i[s++],g=new d;++f=i.length)return e;var r=[],o=a[n++];return e.forEach(function(e,o){r.push({key:e,values:t(o,n)})}),o?r.sort(function(e,t){return o(e.key,t.key)}):r}var n,r,o={},i=[],a=[];return o.map=function(t,n){return e(n,t,0)},o.entries=function(n){return t(e(ca.map,n,0),0)},o.key=function(e){return i.push(e),o},o.sortKeys=function(e){return a[i.length-1]=e,o},o.sortValues=function(e){return n=e,o},o.rollup=function(e){return r=e,o},o},ca.set=function(e){var t=new b;if(e)for(var n=0,r=e.length;n=0&&(r=e.slice(n+1),e=e.slice(0,n)),e)return arguments.length<2?this[e].on(r):this[e].on(r,t);if(2===arguments.length){if(null==t)for(e in this)this.hasOwnProperty(e)&&this[e].on(r,null);return this}},ca.event=null,ca.requote=function(e){return e.replace(wa,"\\$&")};var wa=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g,Ca={}.__proto__?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)e[n]=t[n]},Ea=function(e,t){return t.querySelector(e)},ka=function(e,t){return t.querySelectorAll(e)},Ta=function(e,t){var n=e.matches||e[x(e,"matchesSelector")];return(Ta=function(e,t){return n.call(e,t)})(e,t)};"function"==typeof Sizzle&&(Ea=function(e,t){return Sizzle(e,t)[0]||null},ka=Sizzle,Ta=Sizzle.matchesSelector),ca.selection=function(){return ca.select(fa.documentElement)};var Sa=ca.selection.prototype=[];Sa.select=function(e){var t,n,r,o,i=[];e=P(e);for(var a=-1,s=this.length;++a=0&&"xmlns"!==(n=e.slice(0,t))&&(e=e.slice(t+1)),Ma.hasOwnProperty(n)?{space:Ma[n],local:e}:e}},Sa.attr=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node();return e=ca.ns.qualify(e),e.local?n.getAttributeNS(e.space,e.local):n.getAttribute(e)}for(t in e)this.each(D(t,e[t]));return this}return this.each(D(e,t))},Sa.classed=function(e,t){if(arguments.length<2){if("string"==typeof e){var n=this.node(),r=(e=R(e)).length,o=-1;if(t=n.classList){for(;++o=0;)(n=r[o])&&(i&&i!==n.nextSibling&&i.parentNode.insertBefore(n,i),i=n);return this},Sa.sort=function(e){e=q.apply(this,arguments);for(var t=-1,n=this.length;++t0&&(t=t.transition().duration(S)),t.call(e.event)}function s(){A&&A.domain(_.range().map(function(e){return(e-w.x)/w.k}).map(_.invert)),j&&j.domain(x.range().map(function(e){return(e-w.y)/w.k}).map(x.invert))}function l(e){P++||e({type:"zoomstart"})}function u(e){s(),e({type:"zoom",scale:w.k,translate:[w.x,w.y]})}function c(e){--P||(e({type:"zoomend"}),g=null)}function d(){function e(){s=1,i(ca.mouse(o),p),u(a)}function n(){d.on(D,null).on(O,null),f(s),c(a)}var o=this,a=R.of(o,arguments),s=0,d=ca.select(r(o)).on(D,e).on(O,n),p=t(ca.mouse(o)),f=Z(o);Ul.call(o),l(a)}function p(){function e(){var e=ca.touches(h);return f=w.k,e.forEach(function(e){e.identifier in g&&(g[e.identifier]=t(e))}),e}function n(){var t=ca.event.target;ca.select(t).on(_,r).on(A,s),x.push(t);for(var n=ca.event.changedTouches,o=0,i=n.length;o1){var c=l[0],d=l[1],p=c[0]-d[0],f=c[1]-d[1];y=p*p+f*f}}function r(){var e,t,n,r,a=ca.touches(h);Ul.call(h);for(var s=0,l=a.length;s=u)return a;if(o)return o=!1,i;var t=c;if(34===e.charCodeAt(t)){for(var n=t;n++=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i,fs=ca.map({b:function(e){return e.toString(2)},c:function(e){return String.fromCharCode(e)},o:function(e){return e.toString(8)},x:function(e){return e.toString(16)},X:function(e){return e.toString(16).toUpperCase()},g:function(e,t){return e.toPrecision(t)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},r:function(e,t){return(e=ca.round(e,Fe(e,t))).toFixed(Math.max(0,Math.min(20,Fe(e*(1+1e-15),t))))}}),hs=ca.time={},ms=Date;He.prototype={getDate:function(){return this._.getUTCDate()},getDay:function(){return this._.getUTCDay()},getFullYear:function(){return this._.getUTCFullYear()},getHours:function(){return this._.getUTCHours()},getMilliseconds:function(){return this._.getUTCMilliseconds()},getMinutes:function(){return this._.getUTCMinutes()},getMonth:function(){return this._.getUTCMonth()},getSeconds:function(){return this._.getUTCSeconds()},getTime:function(){return this._.getTime()},getTimezoneOffset:function(){return 0},valueOf:function(){return this._.valueOf()},setDate:function(){gs.setUTCDate.apply(this._,arguments)},setDay:function(){gs.setUTCDay.apply(this._,arguments)},setFullYear:function(){gs.setUTCFullYear.apply(this._,arguments)},setHours:function(){gs.setUTCHours.apply(this._,arguments)},setMilliseconds:function(){gs.setUTCMilliseconds.apply(this._,arguments)},setMinutes:function(){gs.setUTCMinutes.apply(this._,arguments)},setMonth:function(){gs.setUTCMonth.apply(this._,arguments)},setSeconds:function(){gs.setUTCSeconds.apply(this._,arguments)},setTime:function(){gs.setTime.apply(this._,arguments)}};var gs=Date.prototype;hs.year=Ue(function(e){return e=hs.day(e),e.setMonth(0,1),e},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e){return e.getFullYear()}),hs.years=hs.year.range,hs.years.utc=hs.year.utc.range,hs.day=Ue(function(e){var t=new ms(2e3,0);return t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t},function(e,t){e.setDate(e.getDate()+t)},function(e){return e.getDate()-1}),hs.days=hs.day.range,hs.days.utc=hs.day.utc.range,hs.dayOfYear=function(e){var t=hs.year(e);return Math.floor((e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5)},["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].forEach(function(e,t){t=7-t;var n=hs[e]=Ue(function(e){return(e=hs.day(e)).setDate(e.getDate()-(e.getDay()+t)%7),e},function(e,t){e.setDate(e.getDate()+7*Math.floor(t))},function(e){var n=hs.year(e).getDay();return Math.floor((hs.dayOfYear(e)+(n+t)%7)/7)-(n!==t)});hs[e+"s"]=n.range,hs[e+"s"].utc=n.utc.range,hs[e+"OfYear"]=function(e){var n=hs.year(e).getDay();return Math.floor((hs.dayOfYear(e)+(n+t)%7)/7)}}),hs.week=hs.sunday,hs.weeks=hs.sunday.range,hs.weeks.utc=hs.sunday.utc.range,hs.weekOfYear=hs.sundayOfYear;var ys={"-":"",_:" ",0:"0"},vs=/^\s*\d+/,bs=/^%/;ca.locale=function(e){return{numberFormat:Be(e),timeFormat:qe(e)}};var _s=ca.locale({decimal:".",thousands:",",grouping:[3],currency:["$",""],dateTime:"%a %b %e %X %Y",date:"%m/%d/%Y",time:"%H:%M:%S",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"]});ca.format=_s.numberFormat,ca.geo={},dt.prototype={s:0,t:0,add:function(e){pt(e,this.t,As),pt(As.s,this.s,this),this.s?this.t+=As.t:this.s=As.t},reset:function(){this.s=this.t=0},valueOf:function(){return this.s}};var As=new dt;ca.geo.stream=function(e,t){e&&xs.hasOwnProperty(e.type)?xs[e.type](e,t):ft(e,t)};var xs={Feature:function(e,t){ft(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++rf&&(f=t)}function t(t,n){var r=yt([t*Wa,n*Wa]);if(y){var o=bt(y,r),i=[o[1],-o[0],0],a=bt(i,o);xt(a),a=jt(a);var l=t-h,u=l>0?1:-1,m=a[0]*qa*u,g=_a(l)>180;if(g^(u*hf&&(f=v)}else if(m=(m+360)%360-180,g^(u*hf&&(f=n);g?ts(c,p)&&(p=t):s(t,p)>s(c,p)&&(c=t):p>=c?(tp&&(p=t)):t>h?s(c,t)>s(c,p)&&(p=t):s(t,p)>s(c,p)&&(c=t)}else e(t,n);y=r,h=t}function n(){A.point=t}function r(){_[0]=c,_[1]=p,A.point=e,y=null}function o(e,n){if(y){var r=e-h;v+=_a(r)>180?r+(r>0?360:-360):r}else m=e,g=n;Es.point(e,n),t(e,n)}function i(){Es.lineStart()}function a(){o(m,g),Es.lineEnd(),_a(v)>Fa&&(c=-(p=180)),_[0]=c,_[1]=p,y=null}function s(e,t){return(t-=e)<0?t+360:t}function l(e,t){return e[0]-t[0]}function u(e,t){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:eFa?f=90:v<-Fa&&(d=-90),_[0]=c,_[1]=p}};return function(e){f=p=-(c=d=1/0),b=[],ca.geo.stream(e,A);var t=b.length;if(t){b.sort(l);for(var n,r=1,o=b[0],i=[o];rs(o[0],o[1])&&(o[1]=n[1]),s(n[0],o[1])>s(o[0],o[1])&&(o[0]=n[0])):i.push(o=n);for(var a,n,h=-(1/0),t=i.length-1,r=0,o=i[t];r<=t;o=n,++r)n=i[r],(a=s(o[1],n[0]))>h&&(h=a,c=n[0],p=o[1])}return b=_=null,c===1/0||d===1/0?[[NaN,NaN],[NaN,NaN]]:[[c,d],[p,f]]}}(),ca.geo.centroid=function(e){ks=Ts=Ss=Ps=Ms=Ds=Os=Is=Rs=Ls=Fs=0,ca.geo.stream(e,Ns);var t=Rs,n=Ls,r=Fs,o=t*t+n*n+r*r;return o=.12&&o<.234&&r>=-.425&&r<-.214?a:o>=.166&&o<.234&&r>=-.214&&r<-.115?s:i).invert(e)},e.stream=function(e){var t=i.stream(e),n=a.stream(e),r=s.stream(e);return{point:function(e,o){t.point(e,o),n.point(e,o),r.point(e,o)},sphere:function(){t.sphere(),n.sphere(),r.sphere()},lineStart:function(){t.lineStart(),n.lineStart(),r.lineStart()},lineEnd:function(){t.lineEnd(),n.lineEnd(),r.lineEnd()},polygonStart:function(){t.polygonStart(),n.polygonStart(),r.polygonStart()},polygonEnd:function(){t.polygonEnd(),n.polygonEnd(),r.polygonEnd()}}},e.precision=function(t){return arguments.length?(i.precision(t),a.precision(t),s.precision(t),e):i.precision()},e.scale=function(t){return arguments.length?(i.scale(t),a.scale(.35*t),s.scale(t),e.translate(i.translate())):i.scale()},e.translate=function(t){if(!arguments.length)return i.translate();var u=i.scale(),c=+t[0],d=+t[1];return n=i.translate(t).clipExtent([[c-.455*u,d-.238*u],[c+.455*u,d+.238*u]]).stream(l).point,r=a.translate([c-.307*u,d+.201*u]).clipExtent([[c-.425*u+Fa,d+.12*u+Fa],[c-.214*u-Fa,d+.234*u-Fa]]).stream(l).point,o=s.translate([c-.205*u,d+.212*u]).clipExtent([[c-.214*u+Fa,d+.166*u+Fa],[c-.115*u-Fa,d+.234*u-Fa]]).stream(l).point,e},e.scale(1070)};var Hs,Us,Ws,qs,Vs,Gs,Ks={point:j,lineStart:j,lineEnd:j,polygonStart:function(){Us=0,Ks.lineStart=Yt},polygonEnd:function(){Ks.lineStart=Ks.lineEnd=Ks.point=j,Hs+=_a(Us/2)}},Ys={point:Qt,lineStart:j,lineEnd:j,polygonStart:j,polygonEnd:j},Qs={point:Jt,lineStart:$t,lineEnd:en,polygonStart:function(){Qs.lineStart=tn},polygonEnd:function(){Qs.point=Jt,Qs.lineStart=$t,Qs.lineEnd=en}};ca.geo.path=function(){function e(e){return e&&("function"==typeof s&&i.pointRadius(+s.apply(this,arguments)),a&&a.valid||(a=o(i)),ca.geo.stream(e,a)),i.result()}function t(){return a=null,e}var n,r,o,i,a,s=4.5;return e.area=function(e){return Hs=0,ca.geo.stream(e,o(Ks)),Hs},e.centroid=function(e){return Ss=Ps=Ms=Ds=Os=Is=Rs=Ls=Fs=0,ca.geo.stream(e,o(Qs)),Fs?[Rs/Fs,Ls/Fs]:Is?[Ds/Is,Os/Is]:Ms?[Ss/Ms,Ps/Ms]:[NaN,NaN]},e.bounds=function(e){return Vs=Gs=-(Ws=qs=1/0),ca.geo.stream(e,o(Ys)),[[Ws,qs],[Vs,Gs]]},e.projection=function(e){return arguments.length?(o=(n=e)?e.stream||on(e):_,t()):n},e.context=function(e){return arguments.length?(i=null==(r=e)?new Xt:new nn(e),"function"!=typeof s&&i.pointRadius(s),t()):r},e.pointRadius=function(t){return arguments.length?(s="function"==typeof t?t:(i.pointRadius(+t),+t),e):s},e.projection(ca.geo.albersUsa()).context(null)},ca.geo.transform=function(e){return{stream:function(t){var n=new an(t);for(var r in e)n[r]=e[r];return n}}},an.prototype={point:function(e,t){this.stream.point(e,t)},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()}},ca.geo.projection=ln,ca.geo.projectionMutator=un,(ca.geo.equirectangular=function(){return ln(dn)}).raw=dn.invert=dn,ca.geo.rotation=function(e){function t(t){return t=e(t[0]*Wa,t[1]*Wa),t[0]*=qa,t[1]*=qa,t}return e=fn(e[0]%360*Wa,e[1]*Wa,e.length>2?e[2]*Wa:0),t.invert=function(t){return t=e.invert(t[0]*Wa,t[1]*Wa),t[0]*=qa,t[1]*=qa,t},t},pn.invert=dn,ca.geo.circle=function(){function e(){var e="function"==typeof r?r.apply(this,arguments):r,t=fn(-e[0]*Wa,-e[1]*Wa,0).invert,o=[];return n(null,null,1,{point:function(e,n){o.push(e=t(e,n)),e[0]*=qa,e[1]*=qa}}),{type:"Polygon",coordinates:[o]}}var t,n,r=[0,0],o=6;return e.origin=function(t){return arguments.length?(r=t,e):r},e.angle=function(r){return arguments.length?(n=yn((t=+r)*Wa,o*Wa),e):t},e.precision=function(r){return arguments.length?(n=yn(t*Wa,(o=+r)*Wa),e):o},e.angle(90)},ca.geo.distance=function(e,t){var n,r=(t[0]-e[0])*Wa,o=e[1]*Wa,i=t[1]*Wa,a=Math.sin(r),s=Math.cos(r),l=Math.sin(o),u=Math.cos(o),c=Math.sin(i),d=Math.cos(i);return Math.atan2(Math.sqrt((n=d*a)*n+(n=u*c-l*d*s)*n),l*c+u*d*s)},ca.geo.graticule=function(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return ca.range(Math.ceil(i/g)*g,o,g).map(p).concat(ca.range(Math.ceil(u/y)*y,l,y).map(f)).concat(ca.range(Math.ceil(r/h)*h,n,h).filter(function(e){return _a(e%g)>Fa}).map(c)).concat(ca.range(Math.ceil(s/m)*m,a,m).filter(function(e){return _a(e%y)>Fa}).map(d))}var n,r,o,i,a,s,l,u,c,d,p,f,h=10,m=h,g=90,y=360,v=2.5;return e.lines=function(){return t().map(function(e){return{type:"LineString",coordinates:e}})},e.outline=function(){return{type:"Polygon",coordinates:[p(i).concat(f(l).slice(1),p(o).reverse().slice(1),f(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.majorExtent(t).minorExtent(t):e.minorExtent()},e.majorExtent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],u=+t[0][1],l=+t[1][1],i>o&&(t=i,i=o,o=t),u>l&&(t=u,u=l,l=t),e.precision(v)):[[i,u],[o,l]]},e.minorExtent=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],a=+t[1][1],r>n&&(t=r,r=n,n=t),s>a&&(t=s,s=a,a=t),e.precision(v)):[[r,s],[n,a]]},e.step=function(t){return arguments.length?e.majorStep(t).minorStep(t):e.minorStep()},e.majorStep=function(t){return arguments.length?(g=+t[0],y=+t[1],e):[g,y]},e.minorStep=function(t){return arguments.length?(h=+t[0],m=+t[1],e):[h,m]},e.precision=function(t){return arguments.length?(v=+t,c=bn(s,a,90),d=_n(r,n,v),p=bn(u,l,90),f=_n(i,o,v),e):v},e.majorExtent([[-180,-90+Fa],[180,90-Fa]]).minorExtent([[-180,-80-Fa],[180,80+Fa]])},ca.geo.greatArc=function(){function e(){return{type:"LineString",coordinates:[t||r.apply(this,arguments),n||o.apply(this,arguments)]}}var t,n,r=An,o=xn;return e.distance=function(){return ca.geo.distance(t||r.apply(this,arguments),n||o.apply(this,arguments))},e.source=function(n){return arguments.length?(r=n,t="function"==typeof n?null:n,e):r},e.target=function(t){return arguments.length?(o=t,n="function"==typeof t?null:t,e):o},e.precision=function(){return arguments.length?e:0},e},ca.geo.interpolate=function(e,t){return jn(e[0]*Wa,e[1]*Wa,t[0]*Wa,t[1]*Wa)},ca.geo.length=function(e){return Xs=0,ca.geo.stream(e,Zs),Xs};var Xs,Zs={sphere:j,point:j,lineStart:wn,lineEnd:j,polygonStart:j,polygonEnd:j},Js=Cn(function(e){return Math.sqrt(2/(1+e))},function(e){return 2*Math.asin(e/2)});(ca.geo.azimuthalEqualArea=function(){return ln(Js)}).raw=Js;var $s=Cn(function(e){var t=Math.acos(e);return t&&t/Math.sin(t)},_);(ca.geo.azimuthalEquidistant=function(){return ln($s)}).raw=$s,(ca.geo.conicConformal=function(){return Gt(En)}).raw=En,(ca.geo.conicEquidistant=function(){return Gt(kn)}).raw=kn;var el=Cn(function(e){return 1/e},Math.atan);(ca.geo.gnomonic=function(){return ln(el)}).raw=el,Tn.invert=function(e,t){return[e,2*Math.atan(Math.exp(t))-Ua]},(ca.geo.mercator=function(){return Sn(Tn)}).raw=Tn;var tl=Cn(function(){return 1},Math.asin);(ca.geo.orthographic=function(){return ln(tl)}).raw=tl;var nl=Cn(function(e){return 1/(1+e)},function(e){return 2*Math.atan(e)});(ca.geo.stereographic=function(){return ln(nl)}).raw=nl,Pn.invert=function(e,t){return[-t,2*Math.atan(Math.exp(e))-Ua]},(ca.geo.transverseMercator=function(){var e=Sn(Pn),t=e.center,n=e.rotate;return e.center=function(e){return e?t([-e[1],e[0]]):(e=t(),[e[1],-e[0]])},e.rotate=function(e){return e?n([e[0],e[1],e.length>2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90])}).raw=Pn,ca.geom={},ca.geom.hull=function(e){function t(e){if(e.length<3)return[];var t,o=Te(n),i=Te(r),a=e.length,s=[],l=[];for(t=0;t=0;--t)f.push(e[s[u[t]][2]]);for(t=+d;t=r&&u.x<=i&&u.y>=o&&u.y<=a?[[r,a],[i,a],[i,o],[r,o]]:[]).point=e[s]}),t}function n(e){return e.map(function(e,t){return{x:Math.round(i(e,t)/Fa)*Fa,y:Math.round(a(e,t)/Fa)*Fa,i:t}})}var r=Mn,o=Dn,i=r,a=o,s=dl;return e?t(e):(t.links=function(e){return ur(n(e)).edges.filter(function(e){return e.l&&e.r}).map(function(t){return{source:e[t.l.i],target:e[t.r.i]}})},t.triangles=function(e){var t=[];return ur(n(e)).cells.forEach(function(n,r){for(var o,i=n.site,a=n.edges.sort(Kn),s=-1,l=a.length,u=a[l-1].edge,c=u.l===i?u.r:u.l;++s=u,p=r>=c,f=p<<1|d;e.leaf=!1,e=e.nodes[f]||(e.nodes[f]=hr()),d?o=u:s=u,p?a=c:l=c,i(e,t,n,r,o,a,s,l)}var c,d,p,f,h,m,g,y,v,b=Te(s),_=Te(l);if(null!=t)m=t,g=n,y=r,v=o;else if(y=v=-(m=g=1/0),d=[],p=[],h=e.length,a)for(f=0;fy&&(y=c.x),c.y>v&&(v=c.y),d.push(c.x),p.push(c.y);else for(f=0;fy&&(y=A),x>v&&(v=x),d.push(A),p.push(x)}var j=y-m,w=v-g;j>w?v=g+j:y=m+w;var C=hr();if(C.add=function(e){i(C,e,+b(e,++f),+_(e,f),m,g,y,v)},C.visit=function(e){mr(e,C,m,g,y,v)},C.find=function(e){return gr(C,e[0],e[1],m,g,y,v)},f=-1,null==t){for(;++f=0?e.slice(0,t):e,r=t>=0?e.slice(t+1):"in";return n=ml.get(n)||hl,r=gl.get(r)||_,jr(r(n.apply(null,da.call(arguments,1))))},ca.interpolateHcl=Lr,ca.interpolateHsl=Fr,ca.interpolateLab=Nr,ca.interpolateRound=Br,ca.transform=function(e){var t=fa.createElementNS(ca.ns.prefix.svg,"g");return(ca.transform=function(e){if(null!=e){t.setAttribute("transform",e);var n=t.transform.baseVal.consolidate()}return new zr(n?n.matrix:yl)})(e)},zr.prototype.toString=function(){return"translate("+this.translate+")rotate("+this.rotate+")skewX("+this.skew+")scale("+this.scale+")"};var yl={a:1,b:0,c:0,d:1,e:0,f:0};ca.interpolateTransform=Qr,ca.layout={},ca.layout.bundle=function(){return function(e){for(var t=[],n=-1,r=e.length;++n0?o=e:(n.c=null,n.t=NaN,n=null,u.end({type:"end",alpha:o=0})):e>0&&(u.start({type:"start",alpha:o=e}),n=Oe(l.tick)),l):o},l.start=function(){function e(e,r){if(!n){for(n=new Array(o),l=0;l=0;)a.push(c=u[l]),c.parent=i,c.depth=i.depth+1;r&&(i.value=0),i.children=u}else r&&(i.value=+r.call(e,i,i.depth)||0),delete i.children;return lo(o,function(e){var n,o;t&&(n=e.children)&&n.sort(t),r&&(o=e.parent)&&(o.value+=e.value)}),s}var t=po,n=uo,r=co;return e.sort=function(n){return arguments.length?(t=n,e):t},e.children=function(t){return arguments.length?(n=t,e):n},e.value=function(t){return arguments.length?(r=t,e):r},e.revalue=function(t){return r&&(so(t,function(e){e.children&&(e.value=0)}),lo(t,function(t){var n;t.children||(t.value=+r.call(e,t,t.depth)||0),(n=t.parent)&&(n.value+=t.value)})),t},e},ca.layout.partition=function(){function e(t,n,r,o){var i=t.children;if(t.x=n,t.y=t.depth*o,t.dx=r,t.dy=o,i&&(a=i.length)){var a,s,l,u=-1;for(r=t.value?r/t.value:0;++us&&(s=r),a.push(r)}for(n=0;n0)for(i=-1;++i=c[0]&&s<=c[1]&&(a=l[ca.bisect(d,s,1,f)-1],a.y+=h,a.push(e[i]));return l}var t=!0,n=Number,r=wo,o=xo;return e.value=function(t){return arguments.length?(n=t,e):n},e.range=function(t){return arguments.length?(r=Te(t),e):r},e.bins=function(t){return arguments.length?(o="number"==typeof t?function(e){return jo(e,t)}:Te(t),e):o},e.frequency=function(n){return arguments.length?(t=!!n,e):t},e},ca.layout.pack=function(){function e(e,i){var a=n.call(this,e,i),s=a[0],l=o[0],u=o[1],c=null==t?Math.sqrt:"function"==typeof t?t:function(){return t};if(s.x=s.y=0,lo(s,function(e){e.r=+c(e.value)}),lo(s,So),r){var d=r*(t?1:Math.max(2*s.r/l,2*s.r/u))/2;lo(s,function(e){e.r+=d}),lo(s,So),lo(s,function(e){e.r-=d})}return Do(s,l/2,u/2,t?1:1/Math.max(2*s.r/l,2*s.r/u)),a}var t,n=ca.layout.hierarchy().sort(Co),r=0,o=[1,1];return e.size=function(t){return arguments.length?(o=t,e):o},e.radius=function(n){return arguments.length?(t=null==n||"function"==typeof n?n:+n,e):t},e.padding=function(t){return arguments.length?(r=+t,e):r},ao(e,n)},ca.layout.tree=function(){function e(e,o){var c=a.call(this,e,o),d=c[0],p=t(d);if(lo(p,n),p.parent.m=-p.z,so(p,r),u)so(d,i);else{var f=d,h=d,m=d;so(d,function(e){e.xh.x&&(h=e),e.depth>m.depth&&(m=e)});var g=s(f,h)/2-f.x,y=l[0]/(h.x+s(h,f)/2+g),v=l[1]/(m.depth||1);so(d,function(e){e.x=(e.x+g)*y,e.y=e.depth*v})}return c}function t(e){for(var t,n={A:null,children:[e]},r=[n];null!=(t=r.pop());)for(var o,i=t.children,a=0,s=i.length;a0&&(Fo(Bo(a,e,n),e,r),u+=r,c+=r),d+=a.m,u+=o.m,p+=l.m,c+=i.m;a&&!Lo(i)&&(i.t=a,i.m+=d-c),o&&!Ro(l)&&(l.t=o,l.m+=u-p,n=e)}return n}function i(e){e.x*=l[0],e.y=e.depth*l[1]}var a=ca.layout.hierarchy().sort(null).value(null),s=Io,l=[1,1],u=null;return e.separation=function(t){return arguments.length?(s=t,e):s},e.size=function(t){return arguments.length?(u=null==(l=t)?i:null,e):u?null:l},e.nodeSize=function(t){return arguments.length?(u=null==(l=t)?null:i,e):u?l:null},ao(e,a)},ca.layout.cluster=function(){function e(e,i){var a,s=t.call(this,e,i),l=s[0],u=0;lo(l,function(e){var t=e.children;t&&t.length?(e.x=Ho(t),e.y=zo(t)):(e.x=a?u+=n(e,a):0,e.y=0,a=e)});var c=Uo(l),d=Wo(l),p=c.x-n(c,d)/2,f=d.x+n(d,c)/2;return lo(l,o?function(e){e.x=(e.x-l.x)*r[0],e.y=(l.y-e.y)*r[1]}:function(e){e.x=(e.x-p)/(f-p)*r[0],e.y=(1-(l.y?e.y/l.y:1))*r[1]}),s}var t=ca.layout.hierarchy().sort(null).value(null),n=Io,r=[1,1],o=!1;return e.separation=function(t){return arguments.length?(n=t,e):n},e.size=function(t){return arguments.length?(o=null==(r=t),e):o?null:r},e.nodeSize=function(t){return arguments.length?(o=null!=(r=t),e):o?r:null},ao(e,t)},ca.layout.treemap=function(){function e(e,t){for(var n,r,o=-1,i=e.length;++o0;)c.push(a=p[l-1]),c.area+=a.area,"squarify"!==f||(s=r(c,m))<=h?(p.pop(),h=s):(c.area-=c.pop().area,o(c,m,u,!1),m=Math.min(u.dx,u.dy),c.length=c.area=0,h=1/0);c.length&&(o(c,m,u,!0),c.length=c.area=0),i.forEach(t)}}function n(t){var r=t.children;if(r&&r.length){var i,a=d(t),s=r.slice(),l=[];for(e(s,a.dx*a.dy/t.value),l.area=0;i=s.pop();)l.push(i),l.area+=i.area,null!=i.z&&(o(l,i.z?a.dx:a.dy,a,!s.length),l.length=l.area=0);r.forEach(n)}}function r(e,t){for(var n,r=e.area,o=0,i=1/0,a=-1,s=e.length;++ao&&(o=n));return r*=r,t*=t,r?Math.max(t*o*h/r,r/(t*i*h)):1/0}function o(e,t,n,r){var o,i=-1,a=e.length,s=n.x,u=n.y,c=t?l(e.area/t):0;if(t==n.dx){for((r||c>n.dy)&&(c=n.dy);++in.dx)&&(c=n.dx);++i1);return e+t*n*Math.sqrt(-2*Math.log(o)/o)}},logNormal:function(){var e=ca.random.normal.apply(ca,arguments);return function(){return Math.exp(e())}},bates:function(e){var t=ca.random.irwinHall(e);return function(){return t()/e}},irwinHall:function(e){return function(){for(var t=0,n=0;nd?0:1;if(u=Ha)return t(u,f)+(e?t(e,1-f):"")+"Z";var h,m,g,y,v,b,_,A,x,j,w,C,E=0,k=0,T=[];if((y=(+l.apply(this,arguments)||0)/2)&&(g=i===Dl?Math.sqrt(e*e+u*u):+i.apply(this,arguments),f||(k*=-1),u&&(k=re(g/u*Math.sin(y))),e&&(E=re(g/e*Math.sin(y)))),u){v=u*Math.cos(c+k),b=u*Math.sin(c+k),_=u*Math.cos(d-k),A=u*Math.sin(d-k);var S=Math.abs(d-c-2*k)<=Ba?0:1;if(k&&_i(v,b,_,A)===f^S){var P=(c+d)/2;v=u*Math.cos(P),b=u*Math.sin(P),_=A=null}}else v=b=0;if(e){x=e*Math.cos(d-E),j=e*Math.sin(d-E),w=e*Math.cos(c+E),C=e*Math.sin(c+E);var M=Math.abs(c-d+2*E)<=Ba?0:1;if(E&&_i(x,j,w,C)===1-f^M){var D=(c+d)/2;x=e*Math.cos(D),j=e*Math.sin(D),w=C=null}}else x=j=0;if(p>Fa&&(h=Math.min(Math.abs(u-e)/2,+o.apply(this,arguments)))>.001){m=eBa)+",1 "+t}function o(e,t,n,r){return"Q 0,0 "+r}var i=An,a=xn,s=Vi,l=yi,u=vi;return e.radius=function(t){return arguments.length?(s=Te(t),e):s},e.source=function(t){return arguments.length?(i=Te(t),e):i},e.target=function(t){return arguments.length?(a=Te(t),e):a},e.startAngle=function(t){return arguments.length?(l=Te(t),e):l},e.endAngle=function(t){return arguments.length?(u=Te(t),e):u},e},ca.svg.diagonal=function(){function e(e,o){var i=t.call(this,e,o),a=n.call(this,e,o),s=(i.y+a.y)/2,l=[i,{x:i.x,y:s},{x:a.x,y:s},a];return l=l.map(r),"M"+l[0]+"C"+l[1]+" "+l[2]+" "+l[3]}var t=An,n=xn,r=Gi;return e.source=function(n){return arguments.length?(t=Te(n),e):t},e.target=function(t){return arguments.length?(n=Te(t),e):n},e.projection=function(t){return arguments.length?(r=t,e):r},e},ca.svg.diagonal.radial=function(){var e=ca.svg.diagonal(),t=Gi,n=e.projection;return e.projection=function(e){return arguments.length?n(Ki(t=e)):t},e},ca.svg.symbol=function(){function e(e,r){return(Fl.get(t.call(this,e,r))||Xi)(n.call(this,e,r))}var t=Qi,n=Yi;return e.type=function(n){return arguments.length?(t=Te(n),e):t},e.size=function(t){return arguments.length?(n=Te(t),e):n},e};var Fl=ca.map({circle:Xi,cross:function(e){var t=Math.sqrt(e/5)/2;return"M"+-3*t+","+-t+"H"+-t+"V"+-3*t+"H"+t+"V"+-t+"H"+3*t+"V"+t+"H"+t+"V"+3*t+"H"+-t+"V"+t+"H"+-3*t+"Z"},diamond:function(e){var t=Math.sqrt(e/(2*Bl)),n=t*Bl;return"M0,"+-t+"L"+n+",0 0,"+t+" "+-n+",0Z"},square:function(e){var t=Math.sqrt(e)/2;return"M"+-t+","+-t+"L"+t+","+-t+" "+t+","+t+" "+-t+","+t+"Z"},"triangle-down":function(e){var t=Math.sqrt(e/Nl),n=t*Nl/2;return"M0,"+n+"L"+t+","+-n+" "+-t+","+-n+"Z"},"triangle-up":function(e){var t=Math.sqrt(e/Nl),n=t*Nl/2;return"M0,"+-n+"L"+t+","+n+" "+-t+","+n+"Z"}});ca.svg.symbolTypes=Fl.keys();var Nl=Math.sqrt(3),Bl=Math.tan(30*Wa);Sa.transition=function(e){for(var t,n,r=zl||++ql,o=ta(e),i=[],a=Hl||{time:Date.now(),ease:Tr,delay:0,duration:250},s=-1,l=this.length;++srect,.s>rect").attr("width",d[1]-d[0])}function o(e){e.select(".extent").attr("y",p[0]),e.selectAll(".extent,.e>rect,.w>rect").attr("height",p[1]-p[0])}function i(){function i(){32==ca.event.keyCode&&(S||(b=null,M[0]-=d[1],M[1]-=p[1],S=2),E())}function m(){32==ca.event.keyCode&&2==S&&(M[0]+=d[1],M[1]+=p[1],S=0,E())}function g(){var e=ca.mouse(A),r=!1;_&&(e[0]+=_[0],e[1]+=_[1]),S||(ca.event.altKey?(b||(b=[(d[0]+d[1])/2,(p[0]+p[1])/2]),M[0]=d[+(e[0]0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,i,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],i=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=i;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],17:[function(e,t,n){"use strict";function r(e){for(var t,n=e.length,r=0;r13)&&32!==t&&133!==t&&160!==t&&5760!==t&&6158!==t&&(t<8192||t>8205)&&8232!==t&&8233!==t&&8239!==t&&8287!==t&&8288!==t&&12288!==t&&65279!==t)return!1;return!0}t.exports=function(e){var t=typeof e;if("string"===t){var n=e;if(0===(e=+e)&&r(n))return!1}else if("number"!==t)return!1;return e-e<1}},{}],18:[function(e,t,n){function r(e,t){var n=t[0],r=t[1],o=t[2],i=t[3],a=n+n,s=r+r,l=o+o,u=n*a,c=r*a,d=r*s,p=o*a,f=o*s,h=o*l,m=i*a,g=i*s,y=i*l;return e[0]=1-d-h,e[1]=c+y,e[2]=p-g,e[3]=0,e[4]=c-y,e[5]=1-u-h,e[6]=f+m,e[7]=0,e[8]=p+g,e[9]=f-m,e[10]=1-u-d,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}t.exports=r},{}],19:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):y=-1,m.length&&l())}function l(){if(!g){var e=i(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++y1)for(var n=1;n.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function l(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=V(e,t,n),a=q(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)o.h=(o.h+i)%360,a.push(r(o));return a}function C(e,t){t=t||6;for(var n=r(e).toHsv(),o=n.h,i=n.s,a=n.v,s=[],l=1/t;t--;)s.push(r({h:o,s:i,v:a})),a=(a+l)%1;return s}function E(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function k(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,n){M(e)&&(e="100%");var r=D(e);return e=q(n,V(0,parseFloat(e))),r&&(e=parseInt(e*n,10)/100),t.abs(e-n)<1e-6?1:e%n/parseFloat(n)}function S(e){return q(1,V(0,e))}function P(e){return parseInt(e,16)}function M(e){return"string"==typeof e&&e.indexOf(".")!=-1&&1===parseFloat(e)}function D(e){return"string"==typeof e&&e.indexOf("%")!=-1}function O(e){return 1==e.length?"0"+e:""+e}function I(e){return e<=1&&(e=100*e+"%"),e}function R(e){return t.round(255*parseFloat(e)).toString(16)}function L(e){return P(e)/255}function F(e){return!!Q.CSS_UNIT.exec(e)}function N(e){e=e.replace(z,"").replace(H,"").toLowerCase();var t=!1;if(K[e])e=K[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Q.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Q.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Q.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Q.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Q.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Q.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Q.hex8.exec(e))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),a:L(n[4]),format:t?"name":"hex8"}:(n=Q.hex6.exec(e))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),format:t?"name":"hex"}:(n=Q.hex4.exec(e))?{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),a:L(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=Q.hex3.exec(e))&&{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),format:t?"name":"hex"}}function B(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var z=/^\s+/,H=/\s+$/,U=0,W=t.round,q=t.min,V=t.max,G=t.random;r.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,n,r,o,i,a,s=this.toRgb();return e=s.r/255,n=s.g/255,r=s.b/255,o=e<=.03928?e/12.92:t.pow((e+.055)/1.055,2.4),i=n<=.03928?n/12.92:t.pow((n+.055)/1.055,2.4),a=r<=.03928?r/12.92:t.pow((r+.055)/1.055,2.4),.2126*o+.7152*i+.0722*a},setAlpha:function(e){return this._a=k(e),this._roundA=W(100*this._a)/100,this},toHsv:function(){var e=l(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=l(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=a(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return c(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return d(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:W(this._r),g:W(this._g),b:W(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+W(this._r)+", "+W(this._g)+", "+W(this._b)+")":"rgba("+W(this._r)+", "+W(this._g)+", "+W(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:W(100*T(this._r,255))+"%",g:W(100*T(this._g,255))+"%",b:W(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+W(100*T(this._r,255))+"%, "+W(100*T(this._g,255))+"%, "+W(100*T(this._b,255))+"%)":"rgba("+W(100*T(this._r,255))+"%, "+W(100*T(this._g,255))+"%, "+W(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Y[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,o=this._gradientType?"GradientType = 1, ":"";if(e){var i=r(e);n="#"+p(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+o+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return r(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(w,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},r.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var o in e)e.hasOwnProperty(o)&&(n[o]="a"===o?e[o]:I(e[o]));e=n}return r(e,t)},r.equals=function(e,t){return!(!e||!t)&&r(e).toRgbString()==r(t).toRgbString()},r.random=function(){return r.fromRatio({r:G(),g:G(),b:G()})},r.mix=function(e,t,n){n=0===n?0:n||50;var o=r(e).toRgb(),i=r(t).toRgb(),a=n/100;return r({r:(i.r-o.r)*a+o.r,g:(i.g-o.g)*a+o.g,b:(i.b-o.b)*a+o.b,a:(i.a-o.a)*a+o.a})},r.readability=function(e,n){var o=r(e),i=r(n);return(t.max(o.getLuminance(),i.getLuminance())+.05)/(t.min(o.getLuminance(),i.getLuminance())+.05)},r.isReadable=function(e,t,n){var o,i,a=r.readability(e,t);switch(i=!1,o=B(n),o.level+o.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},r.mostReadable=function(e,t,n){var o,i,a,s,l=null,u=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var c=0;cu&&(u=o,l=r(t[c]));return r.isReadable(e,l,{level:a,size:s})||!i?l:(n.includeFallbackColors=!1,r.mostReadable(e,["#fff","#000"],n))};var K=r.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Y=r.hexNames=E(K),Q=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{CSS_UNIT:new RegExp(n),rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==n&&n.exports?n.exports=r:"function"==typeof e&&e.amd?e(function(){return r}):window.tinycolor=r}(Math)},{}],21:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../color"),i=e("../../plots/cartesian/axes"),a=e("./attributes");t.exports=function(e,t,n,s,l){function u(n,o){return r.coerce(e,t,a,n,o)}s=s||{},l=l||{};var c=u("visible",!l.itemIsNotPlainObject),d=u("clicktoshow");if(!c&&!d)return t;u("opacity"),u("align"),u("bgcolor");var p=u("bordercolor"),f=o.opacity(p);u("borderpad");var h=u("borderwidth"),m=u("showarrow");u("text",m?" ":"new text"),u("textangle"),r.coerceFont(u,"font",n.font);for(var g=["x","y"],y=[-10,-30],v={_fullLayout:n},b=0;b<2;b++){var _=g[b],A=i.coerceRef(e,t,v,_,"","paper");if(i.coercePosition(t,v,u,A,_,.5),m){var x="a"+_,j=i.coerceRef(e,t,v,x,"pixel");"pixel"!==j&&j!==A&&(j=t[x]="pixel");var w="pixel"===j?y[b]:.4;i.coercePosition(t,v,u,j,x,w)}u(_+"anchor")}if(r.noneOrAll(e,t,["x","y"]),m&&(u("arrowcolor",f?t.bordercolor:o.defaultLine),u("arrowhead"),u("arrowsize"),u("arrowwidth",2*(f&&h||1)),u("standoff"),r.noneOrAll(e,t,["ax","ay"])),d){var C=u("xclick"),E=u("yclick");t._xclick=void 0===C?t.x:C,t._yclick=void 0===E?t.y:E}return t}},{"../../lib":129,"../../plots/cartesian/axes":164,"../color":32,"./attributes":23}],22:[function(e,t,n){"use strict";t.exports=[{path:"",backoff:0},{path:"M-2.4,-3V3L0.6,0Z",backoff:.6},{path:"M-3.7,-2.5V2.5L1.3,0Z",backoff:1.3},{path:"M-4.45,-3L-1.65,-0.2V0.2L-4.45,3L1.55,0Z",backoff:1.55},{path:"M-2.2,-2.2L-0.2,-0.2V0.2L-2.2,2.2L-1.4,3L1.6,0L-1.4,-3Z",backoff:1.6},{path:"M-4.4,-2.1L-0.6,-0.2V0.2L-4.4,2.1L-4,3L2,0L-4,-3Z",backoff:2},{path:"M2,0A2,2 0 1,1 0,-2A2,2 0 0,1 2,0Z",backoff:0},{path:"M2,2V-2H-2V2Z",backoff:0}]},{}],23:[function(e,t,n){"use strict";var r=e("./arrow_paths"),o=e("../../plots/font_attributes"),i=e("../../plots/cartesian/constants"),a=e("../../lib/extend").extendFlat;t.exports={_isLinkedToArray:"annotation",visible:{valType:"boolean",dflt:!0},text:{valType:"string"},textangle:{valType:"angle",dflt:0},font:a({},o,{}),opacity:{valType:"number",min:0,max:1,dflt:1},align:{valType:"enumerated",values:["left","center","right"],dflt:"center"},bgcolor:{valType:"color",dflt:"rgba(0,0,0,0)"},bordercolor:{valType:"color",dflt:"rgba(0,0,0,0)"},borderpad:{valType:"number",min:0,dflt:1},borderwidth:{valType:"number",min:0,dflt:1},showarrow:{valType:"boolean",dflt:!0},arrowcolor:{valType:"color"},arrowhead:{valType:"integer",min:0,max:r.length,dflt:1},arrowsize:{valType:"number",min:.3,dflt:1},arrowwidth:{valType:"number",min:.1},standoff:{valType:"number",min:0,dflt:0},ax:{valType:"any"},ay:{valType:"any"},axref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.x.toString()]},ayref:{valType:"enumerated",dflt:"pixel",values:["pixel",i.idRegex.y.toString()]},xref:{valType:"enumerated",values:["paper",i.idRegex.x.toString()]},x:{valType:"any"},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"auto"},yref:{valType:"enumerated",values:["paper",i.idRegex.y.toString()]},y:{valType:"any"},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto"},clicktoshow:{valType:"enumerated",values:[!1,"onoff","onout"],dflt:!1},xclick:{valType:"any"},yclick:{valType:"any"},_deprecated:{ref:{valType:"string"}}}},{"../../lib/extend":125,"../../plots/cartesian/constants":169,"../../plots/font_attributes":184,"./arrow_paths":22}],24:[function(e,t,n){"use strict";function r(e){var t=e._fullLayout;o.filterVisible(t.annotations).forEach(function(t){var n=i.getFromId(e,t.xref),r=i.getFromId(e,t.yref),o=3*t.arrowsize*t.arrowwidth||0;n&&n.autorange&&(t.axref===t.xref?(i.expand(n,[n.r2c(t.x)],{ppadplus:o,ppadminus:o}),i.expand(n,[n.r2c(t.ax)],{ppadplus:t._xpadplus,ppadminus:t._xpadminus})):i.expand(n,[n.r2c(t.x)],{ppadplus:Math.max(t._xpadplus,o),ppadminus:Math.max(t._xpadminus,o)})),r&&r.autorange&&(t.ayref===t.yref?(i.expand(r,[r.r2c(t.y)],{ppadplus:o,ppadminus:o}),i.expand(r,[r.r2c(t.ay)],{ppadplus:t._ypadplus,ppadminus:t._ypadminus})):i.expand(r,[r.r2c(t.y)],{ppadplus:Math.max(t._ypadplus,o),ppadminus:Math.max(t._ypadminus,o)}))})}var o=e("../../lib"),i=e("../../plots/cartesian/axes"),a=e("./draw").draw;t.exports=function(e){var t=e._fullLayout,n=o.filterVisible(t.annotations);if(n.length&&e._fullData.length){var s={};n.forEach(function(e){s[e.xref]=!0,s[e.yref]=!0});if(i.list(e).filter(function(e){return e.autorange&&s[e._id]}).length)return o.syncOrAsync([a,r],e)}}},{"../../lib":129,"../../plots/cartesian/axes":164,"./draw":28}],25:[function(e,t,n){"use strict";function r(e,t){var n=i(e,t);return n.on.length>0||n.explicitOff.length>0}function o(e,t){var n,r=i(e,t),o=r.on,s=r.off.concat(r.explicitOff),l={};if(o.length||s.length){for(n=0;n2/3?"right":"center"),{center:0,middle:0,left:.5,bottom:-.5,right:-.5,top:.5}[t]}D.selectAll("tspan.line").attr({y:0,x:0});var r=E.select(".annotation-math-group"),o=!r.empty(),f=p.bBox((o?r:D).node()),v=f.width,T=f.height,M=Math.round(v+2*S),O=Math.round(T+2*S);b._w=v,b._h=T;var I=!1;if(["x","y"].forEach(function(t){var r,o,i,a,s,d=b[t+"ref"]||t,p=b["a"+t+"ref"],f=c.getFromId(e,d),h=(j+("x"===t?0:-90))*Math.PI/180,m=M*Math.cos(h),g=O*Math.sin(h),v=Math.abs(m)+Math.abs(g),_=b[t+"anchor"],A=x[t];if(f){var w=f.r2fraction(b[t]);if((e._dragging||!f.autorange)&&(w<0||w>1)&&(p===d?((w=f.r2fraction(b["a"+t]))<0||w>1)&&(I=!0):I=!0,I))return;r=f._offset+f.r2p(b[t]),a=.5}else"x"===t?(i=b[t],r=y.l+y.w*i):(i=1-b[t],r=y.t+y.h*i),a=b.showarrow?.5:i;if(b.showarrow){A.head=r;var C=b["a"+t];s=m*n(.5,b.xanchor)-g*n(.5,b.yanchor),p===d?(A.tail=f._offset+f.r2p(C),o=s):(A.tail=r+C,o=s+C),A.text=A.tail+s;var E=l["x"===t?"width":"height"];if("paper"===d&&(A.head=u.constrain(A.head,1,E-1)),"pixel"===p){var k=-Math.max(A.tail-3,A.text),T=Math.min(A.tail+3,A.text)-E;k>0?(A.tail+=k,A.text+=k):T>0&&(A.tail-=T,A.text-=T)}}else s=v*n(a,_),o=s,A.text=r+s;b["_"+t+"padplus"]=v/2+o,b["_"+t+"padminus"]=v/2-o,b["_"+t+"size"]=v,b["_"+t+"shift"]=s}),I)return void E.remove();if(o)r.select("svg").attr({x:S-1,y:S});else{var R=S-f.top,L=S-f.left;D.attr({x:L,y:R}),D.selectAll("tspan.line").attr({y:R,x:L})}P.call(p.setRect,k/2,k/2,M-k,O-k),E.call(p.setTranslate,Math.round(x.x.text-M/2),Math.round(x.y.text-O/2)),C.attr({transform:"rotate("+j+","+x.x.text+","+x.y.text+")"});var F="annotations["+t+"]",N=function(n,r){a.select(e).selectAll('.annotation-arrow-g[data-index="'+t+'"]').remove();var o=x.x.head,l=x.y.head,c=x.x.tail+n,f=x.y.tail+r,h=x.x.text+n,v=x.y.text+r,k=u.rotationXYMatrix(j,h,v),T=u.apply2DTransform(k),S=u.apply2DTransform2(k),M=+P.attr("width"),D=+P.attr("height"),O=h-.5*M,I=O+M,R=v-.5*D,L=R+D,N=[[O,R,O,L],[O,L,I,L],[I,L,I,R],[I,R,O,R]].map(S);if(!N.reduce(function(e,t){return e^!!i(o,l,o+1e6,l+1e6,t[0],t[1],t[2],t[3])},!1)){N.forEach(function(e){var t=i(c,f,o,l,e[0],e[1],e[2],e[3]);t&&(c=t.x,f=t.y)});var B=b.arrowwidth,z=b.arrowcolor,H=w.append("g").style({opacity:d.opacity(z)}).classed("annotation-arrow-g",!0).attr("data-index",String(t)),U=H.append("path").attr("d","M"+c+","+f+"L"+o+","+l).style("stroke-width",B+"px").call(d.stroke,d.rgb(z));if(g(U,b.arrowhead,"end",b.arrowsize,b.standoff),e._context.editable&&U.node().parentNode){var W=o,q=l;if(b.standoff){var V=Math.sqrt(Math.pow(o-c,2)+Math.pow(l-f,2));W+=b.standoff*(c-o)/V,q+=b.standoff*(f-l)/V}var G,K,Y,Q=H.append("path").classed("annotation",!0).classed("anndrag",!0).attr({"data-index":String(t),d:"M3,3H-3V-3H3ZM0,0L"+(c-W)+","+(f-q),transform:"translate("+W+","+q+")"}).style("stroke-width",B+6+"px").call(d.stroke,"rgba(0,0,0,0)").call(d.fill,"rgba(0,0,0,0)");m.init({element:Q.node(),prepFn:function(){var e=p.getTranslate(E);K=e.x,Y=e.y,G={},_&&_.autorange&&(G[_._name+".autorange"]=!0),A&&A.autorange&&(G[A._name+".autorange"]=!0)},moveFn:function(e,t){var n=T(K,Y),r=n[0]+e,i=n[1]+t;E.call(p.setTranslate,r,i),G[F+".x"]=_?_.p2r(_.r2p(b.x)+e):(o+e-y.l)/y.w,G[F+".y"]=A?A.p2r(A.r2p(b.y)+t):1-(l+t-y.t)/y.h,b.axref===b.xref&&(G[F+".ax"]=_?_.p2r(_.r2p(b.ax)+e):(o+e-y.l)/y.w),b.ayref===b.yref&&(G[F+".ay"]=A?A.p2r(A.r2p(b.ay)+t):1-(l+t-y.t)/y.h),H.attr("transform","translate("+e+","+t+")"),C.attr({transform:"rotate("+j+","+r+","+i+")"})},doneFn:function(t){if(t){s.relayout(e,G);var n=document.querySelector(".js-notes-box-panel");n&&n.redraw(n.selectedObj)}}})}}};if(b.showarrow&&N(0,0),e._context.editable){var B,z;m.init({element:E.node(),prepFn:function(){z=C.attr("transform"),B={}},moveFn:function(e,t){var n="pointer";if(b.showarrow)b.axref===b.xref?B[F+".ax"]=_.p2r(_.r2p(b.ax)+e):B[F+".ax"]=b.ax+e,b.ayref===b.yref?B[F+".ay"]=A.p2r(A.r2p(b.ay)+t):B[F+".ay"]=b.ay+t,N(e,t);else{if(_)B[F+".x"]=b.x+e/_._m;else{var r=b._xsize/y.w,o=b.x+b._xshift/y.w-r/2;B[F+".x"]=m.align(o+e/y.w,r,0,1,b.xanchor)}if(A)B[F+".y"]=b.y+t/A._m;else{var i=b._ysize/y.h,a=b.y-b._yshift/y.h-i/2;B[F+".y"]=m.align(a-t/y.h,i,0,1,b.yanchor)}_&&A||(n=m.getCursor(_?.5:B[F+".x"],A?.5:B[F+".y"],b.xanchor,b.yanchor))}C.attr({transform:"translate("+e+","+t+")"+z}),h(E,n)},doneFn:function(t){if(h(E),t){s.relayout(e,B);var n=document.querySelector(".js-notes-box-panel");n&&n.redraw(n.selectedObj)}}})}}var o=e.layout,l=e._fullLayout,y=e._fullLayout._size;l._infolayer.selectAll('.annotation[data-index="'+t+'"]').remove();var v=(o.annotations||[])[t],b=l.annotations[t];if(v&&b.visible!==!1){var _=c.getFromId(e,b.xref),A=c.getFromId(e,b.yref),x={x:{},y:{}},j=+b.textangle||0,w=l._infolayer.append("g").classed("annotation",!0).attr("data-index",String(t)).style("opacity",b.opacity).on("click",function(){e._dragging=!1,e.emit("plotly_clickannotation",{index:t,annotation:v,fullAnnotation:b})}),C=w.append("g").classed("annotation-text-g",!0).attr("data-index",String(t)),E=C.append("g"),k=b.borderwidth,T=b.borderpad,S=k+T,P=E.append("rect").attr("class","bg").style("stroke-width",k+"px").call(d.stroke,b.bordercolor).call(d.fill,b.bgcolor),M=b.font,D=E.append("text").classed("annotation",!0).attr("data-unformatted",b.text).text(b.text);e._context.editable?D.call(f.makeEditable,E).call(n).on("edit",function(r){b.text=r,this.attr({"data-unformatted":b.text}),this.call(n);var o={};o["annotations["+t+"].text"]=b.text,_&&_.autorange&&(o[_._name+".autorange"]=!0),A&&A.autorange&&(o[A._name+".autorange"]=!0),s.relayout(e,o)}):D.call(n)}}function i(e,t,n,r,o,i,a,s){var l=n-e,u=o-e,c=a-o,d=r-t,p=i-t,f=s-i,h=l*f-c*d;if(0===h)return null;var m=(u*f-c*p)/h,g=(u*d-l*p)/h;return g<0||g>1||m<0||m>1?null:{x:e+l*m,y:t+d*m}}var a=e("d3"),s=e("../../plotly"),l=e("../../plots/plots"),u=e("../../lib"),c=e("../../plots/cartesian/axes"),d=e("../color"),p=e("../drawing"),f=e("../../lib/svg_text_utils"),h=e("../../lib/setcursor"),m=e("../dragelement"),g=e("./draw_arrow_head");t.exports={draw:r,drawOne:o}},{"../../lib":129,"../../lib/setcursor":144,"../../lib/svg_text_utils":146,"../../plotly":159,"../../plots/cartesian/axes":164,"../../plots/plots":188,"../color":32,"../dragelement":53,"../drawing":55,"./draw_arrow_head":29,d3:14}],29:[function(e,t,n){"use strict";var r=e("d3"),o=e("fast-isnumeric"),i=e("../color"),a=e("../drawing"),s=e("./arrow_paths");t.exports=function(e,t,n,l,u){function c(){e.style("stroke-dasharray","0px,100px")}function d(n,o){f.path&&(t>5&&(o=0),r.select(p.parentElement).append("path").attr({class:e.attr("class"),d:f.path,transform:"translate("+n.x+","+n.y+")rotate("+180*o/Math.PI+")scale("+v+")"}).style({fill:b,opacity:_,"stroke-width":0}))}o(l)||(l=1);var p=e.node(),f=s[t||0];"string"==typeof n&&n||(n="end");var h,m,g,y,v=(a.getPx(e,"stroke-width")||1)*l,b=e.style("stroke")||i.defaultLine,_=e.style("stroke-opacity")||1,A=n.indexOf("start")>=0,x=n.indexOf("end")>=0,j=f.backoff*v+u;if("line"===p.nodeName){h={x:+e.attr("x1"),y:+e.attr("y1")},m={x:+e.attr("x2"),y:+e.attr("y2")};var w=h.x-m.x,C=h.y-m.y;if(g=Math.atan2(C,w),y=g+Math.PI,j){if(j*j>w*w+C*C)return void c();var E=j*Math.cos(g),k=j*Math.sin(g);A&&(h.x-=E,h.y-=k,e.attr({x1:h.x,y1:h.y})),x&&(m.x+=E,m.y+=k,e.attr({x2:m.x,y2:m.y}))}}else if("path"===p.nodeName){var T=p.getTotalLength(),S="";if(T=0))return e;if(3===a)r[a]>1&&(r[a]=1);else if(r[a]>=1)return e}var s=Math.round(255*r[0])+", "+Math.round(255*r[1])+", "+Math.round(255*r[2]);return o?"rgba("+s+", "+r[3]+")":"rgb("+s+")"}var o=e("tinycolor2"),i=e("fast-isnumeric"),a=t.exports={},s=e("./attributes");a.defaults=s.defaults,a.defaultLine=s.defaultLine,a.lightLine=s.lightLine,a.background=s.background,a.tinyRGB=function(e){var t=e.toRgb();return"rgb("+Math.round(t.r)+", "+Math.round(t.g)+", "+Math.round(t.b)+")"},a.rgb=function(e){return a.tinyRGB(o(e))},a.opacity=function(e){return e?o(e).getAlpha():0},a.addOpacity=function(e,t){var n=o(e).toRgb();return"rgba("+Math.round(n.r)+", "+Math.round(n.g)+", "+Math.round(n.b)+", "+t+")"},a.combine=function(e,t){var n=o(e).toRgb();if(1===n.a)return o(e).toRgbString();var r=o(t||a.background).toRgb(),i=1===r.a?r:{r:255*(1-r.a)+r.r*r.a,g:255*(1-r.a)+r.g*r.a,b:255*(1-r.a)+r.b*r.a};return o({r:i.r*(1-n.a)+n.r*n.a,g:i.g*(1-n.a)+n.g*n.a,b:i.b*(1-n.a)+n.b*n.a}).toRgbString()},a.contrast=function(e,t,n){var r=o(e);return(r.isLight()?r.darken(n):r.lighten(t)).toString()},a.stroke=function(e,t){var n=o(t);e.style({stroke:a.tinyRGB(n),"stroke-opacity":n.getAlpha()})},a.fill=function(e,t){var n=o(t);e.style({fill:a.tinyRGB(n),"fill-opacity":n.getAlpha()})},a.clean=function(e){if(e&&"object"==typeof e){var t,n,o,i,s=Object.keys(e);for(t=0;ts&&(i[1]-=(se-s)/2):n.node()&&!n.classed("js-placeholder")&&(se=f.bBox(t.node()).height),se){if(se+=5,"top"===A.titleside)$.domain[1]-=se/E.h,i[1]*=-1;else{$.domain[0]+=se/E.h;var u=Math.max(1,n.selectAll("tspan.line").size());i[1]+=(1-u)*s}t.attr("transform","translate("+i+")"),$.setScale()}}ie.selectAll(".cbfills,.cblines,.cbaxis").attr("transform","translate(0,"+Math.round(E.h*(1-$.domain[1]))+")");var d=ie.select(".cbfills").selectAll("rect.cbfill").data(P);d.enter().append("rect").classed("cbfill",!0).style("stroke","none"),d.exit().remove(),d.each(function(e,t){var n=[0===t?T[0]:(P[t]+P[t-1])/2,t===P.length-1?T[1]:(P[t]+P[t+1])/2].map($.c2p).map(Math.round);t!==P.length-1&&(n[1]+=n[1]>n[0]?1:-1);var i=D(e).replace("e-",""),a=o(i).toHexString();r.select(this).attr({x:K,width:Math.max(z,2),y:r.min(n),height:Math.max(r.max(n)-r.min(n),2),fill:a})});var p=ie.select(".cblines").selectAll("path.cbline").data(A.line.color&&A.line.width?S:[]);return p.enter().append("path").classed("cbline",!0),p.exit().remove(),p.each(function(e){r.select(this).attr("d","M"+K+","+(Math.round($.c2p(e))+A.line.width/2%1)+"h"+z).call(f.lineGroupStyle,A.line.width,M(e),A.line.dash)}),$._axislayer.selectAll("g."+$._id+"tick,path").remove(),$._pos=K+z+(A.outlinewidth||0)/2-("outside"===A.ticks?1:0),$.side="right",c.syncOrAsync([function(){return l.doTicks(e,$,!0)},function(){if(["top","bottom"].indexOf(A.titleside)===-1){var t=$.titlefont.size,n=$._offset+$._length/2,o=E.l+($.position||0)*E.w+("right"===$.side?10+t*($.showticklabels?1:.5):-10-t*($.showticklabels?.5:0));j("h"+$._id+"title",{avoid:{selection:r.select(e).selectAll("g."+$._id+"tick"),side:A.titleside,offsetLeft:E.l,offsetTop:E.t,maxShift:C.width},attributes:{x:o,y:n,"text-anchor":"middle"},transform:{rotate:"-90",offset:0}})}}])}function j(t,n){var r,o=_();r=s.traceIs(o,"markerColorscale")?"marker.colorbar.title":"colorbar.title";var i={propContainer:$,propName:r,traceIndex:o.index,dfltName:"colorscale",containerGroup:ie.select(".cbtitle")},a="h"===t.charAt(0)?t.substr(1):"h"+t;ie.selectAll("."+a+",."+a+"-math-group").remove(),m.draw(e,t,d(i,n||{}))}function w(){var n=z+A.outlinewidth/2+f.bBox($._axislayer.node()).width;if(F=ae.select("text"),F.node()&&!F.classed("js-placeholder")){var r,o=ae.select(".h"+$._id+"title-math-group").node();r=o&&["top","bottom"].indexOf(A.titleside)!==-1?f.bBox(o).width:f.bBox(ae.node()).right-K-E.l,n=Math.max(n,r)}var i=2*A.xpad+n+A.borderwidth+A.outlinewidth/2,s=X-Z;ie.select(".cbbg").attr({x:K-A.xpad-(A.borderwidth+A.outlinewidth)/2,y:Z-V,width:Math.max(i,2),height:Math.max(s+2*V,2)}).call(h.fill,A.bgcolor).call(h.stroke,A.bordercolor).style({"stroke-width":A.borderwidth}),ie.selectAll(".cboutline").attr({x:K,y:Z+A.ypad+("top"===A.titleside?se:0),width:Math.max(z,2),height:Math.max(s-2*A.ypad-se,2)}).call(h.stroke,A.outlinecolor).style({fill:"None","stroke-width":A.outlinewidth});var l=({center:.5,right:1}[A.xanchor]||0)*i;ie.attr("transform","translate("+(E.l-l)+","+E.t+")"),a.autoMargin(e,t,{x:A.x,y:A.y,l:i*({right:1,center:.5}[A.xanchor]||0),r:i*({left:1,center:.5}[A.xanchor]||0),t:s*({bottom:1,middle:.5}[A.yanchor]||0),b:s*({top:1,middle:.5}[A.yanchor]||0)})}var C=e._fullLayout,E=C._size;if("function"!=typeof A.fillcolor&&"function"!=typeof A.line.color)return void C._infolayer.selectAll("g."+t).remove();var k,T=r.extent(("function"==typeof A.fillcolor?A.fillcolor:A.line.color).domain()),S=[],P=[],M="function"==typeof A.line.color?A.line.color:function(){return A.line.color},D="function"==typeof A.fillcolor?A.fillcolor:function(){return A.fillcolor},O=A.levels.end+A.levels.size/100,I=A.levels.size,R=1.001*T[0]-.001*T[1],L=1.001*T[1]-.001*T[0];for(k=A.levels.start;(k-O)*I<0;k+=I)k>R&&kT[0]&&k1){var oe=Math.pow(10,Math.floor(Math.log(re)/Math.LN10));te*=oe*c.roundUp(re/oe,[2,5,10]),(Math.abs(A.levels.start)/A.levels.size+1e-6)%1<2e-6&&($.tick0=0)}$.dtick=te}$.domain=[Q+G,Q+W-G],$.setScale();var ie=C._infolayer.selectAll("g."+t).data([0]);ie.enter().append("g").classed(t,!0).each(function(){var e=r.select(this);e.append("rect").classed("cbbg",!0),e.append("g").classed("cbfills",!0),e.append("g").classed("cblines",!0),e.append("g").classed("cbaxis",!0).classed("crisp",!0),e.append("g").classed("cbtitleunshift",!0).append("g").classed("cbtitle",!0),e.append("rect").classed("cboutline",!0),e.select(".cbtitle").datum(0)}),ie.attr("transform","translate("+Math.round(E.l)+","+Math.round(E.t)+")");var ae=ie.select(".cbtitleunshift").attr("transform","translate(-"+Math.round(E.l)+",-"+Math.round(E.t)+")");$._axislayer=ie.select(".cbaxis");var se=0;if(["top","bottom"].indexOf(A.titleside)!==-1){var le,ue=E.l+(A.x+q)*E.w,ce=$.titlefont.size;le="top"===A.titleside?(1-(Q+W-G))*E.h+E.t+3+.75*ce:(1-(Q+G))*E.h+E.t-3-.25*ce,j($._id+"title",{attributes:{x:ue,y:le,"text-anchor":"start"}})}var de=c.syncOrAsync([a.previousPromises,x,a.previousPromises,w],e);if(de&&de.then&&(e._promises||[]).push(de),e._context.editable){var pe,fe,he;u.init({element:ie.node(),prepFn:function(){pe=ie.attr("transform"),p(ie)},moveFn:function(e,t){ie.attr("transform",pe+" translate("+e+","+t+")"),fe=u.align(Y+e/E.w,H,0,1,A.xanchor),he=u.align(Q-t/E.h,W,0,1,A.yanchor),p(ie,u.getCursor(fe,he,A.xanchor,A.yanchor))},doneFn:function(t){p(ie),t&&void 0!==fe&&void 0!==he&&i.restyle(e,{"colorbar.x":fe,"colorbar.y":he},_().index)}})}return de}function _(){var n,r,o=t.substr(2);for(n=0;n=0?o.Reds:o.Blues,l.colorscale=m,s.reversescale&&(m=i(m)),s.colorscale=m)}},{"../../lib":129,"./flip_scale":43,"./scales":50}],39:[function(e,t,n){"use strict";var r=e("./attributes"),o=e("../../lib/extend").extendDeep;e("./scales.js");t.exports=function(e){return{color:{valType:"color",arrayOk:!0},colorscale:o({},r.colorscale,{}),cauto:o({},r.zauto,{}),cmax:o({},r.zmax,{}),cmin:o({},r.zmin,{}),autocolorscale:o({},r.autocolorscale,{}),reversescale:o({},r.reversescale,{})}}},{"../../lib/extend":125,"./attributes":37,"./scales.js":50}],40:[function(e,t,n){"use strict";var r=e("./scales");t.exports=r.RdBu},{"./scales":50}],41:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),i=e("../colorbar/has_colorbar"),a=e("../colorbar/defaults"),s=e("./is_valid_scale"),l=e("./flip_scale");t.exports=function(e,t,n,u,c){var d=c.prefix,p=c.cLetter,f=d.slice(0,d.length-1),h=d?o.nestedProperty(e,f).get()||{}:e,m=d?o.nestedProperty(t,f).get()||{}:t,g=h[p+"min"],y=h[p+"max"],v=h.colorscale;u(d+p+"auto",!(r(g)&&r(y)&&g=0;o--,i++)t=e[o],r[i]=[1-t[0],t[1]];return r}},{}],44:[function(e,t,n){"use strict";var r=e("./scales"),o=e("./default_scale"),i=e("./is_valid_scale_array");t.exports=function(e,t){function n(){try{e=r[e]||JSON.parse(e)}catch(n){e=t}}return t||(t=o),e?("string"==typeof e&&(n(),"string"==typeof e&&n()),i(e)?e:t):t}},{"./default_scale":40,"./is_valid_scale_array":48,"./scales":50}],45:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),i=e("./is_valid_scale");t.exports=function(e,t){var n=t?o.nestedProperty(e,t).get()||{}:e,a=n.color,s=!1;if(Array.isArray(a))for(var l=0;l4/3-s?a:s}},{}],52:[function(e,t,n){"use strict";var r=e("../../lib"),o=[["sw-resize","s-resize","se-resize"],["w-resize","move","e-resize"],["nw-resize","n-resize","ne-resize"]];t.exports=function(e,t,n,i){return e="left"===n?0:"center"===n?1:"right"===n?2:r.constrain(Math.floor(3*e),0,2),t="bottom"===i?0:"middle"===i?1:"top"===i?2:r.constrain(Math.floor(3*t),0,2),o[t][e]}},{"../../lib":129}],53:[function(e,t,n){"use strict";function r(){var e=document.createElement("div");e.className="dragcover";var t=e.style;return t.position="fixed",t.left=0,t.right=0,t.top=0,t.bottom=0,t.zIndex=999999999,t.background="none",document.body.appendChild(e),e}function o(e){e._dragging=!1,e._replotPending&&i.plot(e)}var i=e("../../plotly"),a=e("../../lib"),s=e("../../plots/cartesian/constants"),l=t.exports={};l.align=e("./align"),l.getCursor=e("./cursor");var u=e("./unhover");l.unhover=u.wrapped,l.unhoverRaw=u.raw,l.init=function(e){function t(t){return e.element.onmousemove=h,m._dragged=!1,m._dragging=!0,u=t.clientX,c=t.clientY,f=t.target,d=(new Date).getTime(),d-m._mouseDownTimey&&(g=Math.max(g-1,1)),e.doneFn&&e.doneFn(m._dragged,g),!m._dragged){var n=document.createEvent("MouseEvents");n.initEvent("click",!0,!0),f.dispatchEvent(n)}return o(m),m._dragged=!1,a.pauseEvent(t)}var u,c,d,p,f,h,m=a.getPlotDiv(e.element)||{},g=1,y=s.DBLCLICKDELAY;m._mouseDownTime||(m._mouseDownTime=0),h=e.element.onmousemove,e.setCursor&&(e.element.onmousemove=e.setCursor),e.element.onmousedown=t,e.element.style.pointerEvents="all"},l.coverSlip=r},{"../../lib":129,"../../plotly":159,"../../plots/cartesian/constants":169,"./align":51,"./cursor":52,"./unhover":54}],54:[function(e,t,n){"use strict";var r=e("../../lib/events"),o=t.exports={};o.wrapped=function(e,t,n){"string"==typeof e&&(e=document.getElementById(e)),e._hoverTimer&&(clearTimeout(e._hoverTimer),e._hoverTimer=void 0),o.raw(e,t,n)},o.raw=function(e,t){var n=e._fullLayout,o=e._hoverdata;t||(t={}),t.target&&r.triggerHandler(e,"plotly_beforehover",t)===!1||(n._hoverlayer.selectAll("g").remove(),e._hoverdata=void 0,t.target&&o&&e.emit("plotly_unhover",{points:o}))}},{"../../lib/events":124}],55:[function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){if(s.traceIs(n,"symbols")){var u=h(n);t.attr("d",function(e){var t;t="various"===e.ms||"various"===i.size?3:f.isBubble(n)?u(e.ms):(i.size||6)/2,e.mrc=t;var r=m.symbolNumber(e.mx||i.symbol)||0,o=r%100;return e.om=r%200>=100,m.symbolFuncs[o](t)+(r>=200?v:"")}).style("opacity",function(e){return(e.mo+1||i.opacity+1)-1})}var c,d,p;e.so?(p=a.outlierwidth,d=a.outliercolor,c=i.outliercolor):(p=(e.mlw+1||a.width+1||(e.trace?e.trace.marker.line.width:0)+1)-1,d="mlc"in e?e.mlcc=o(e.mlc):Array.isArray(a.color)?l.defaultLine:a.color,c="mc"in e?e.mcc=r(e.mc):Array.isArray(i.color)?l.defaultLine:i.color||"rgba(0,0,0,0)"),e.om?t.call(l.stroke,c).style({"stroke-width":(p||1)+"px",fill:"none"}):(t.style("stroke-width",p+"px").call(l.fill,c),p&&t.call(l.stroke,d))}function o(e,t,n,r){var o=e[0]-t[0],a=e[1]-t[1],s=n[0]-t[0],l=n[1]-t[1],u=Math.pow(o*o+a*a,_/2),c=Math.pow(s*s+l*l,_/2),d=(c*c*o-u*u*s)*r,p=(c*c*a-u*u*l)*r,f=3*c*(u+c),h=3*u*(u+c);return[[i.round(t[0]+(f&&d/f),2),i.round(t[1]+(f&&p/f),2)],[i.round(t[0]-(h&&d/h),2),i.round(t[1]-(h&&p/h),2)]]}var i=e("d3"),a=e("fast-isnumeric"),s=e("../../registry"),l=e("../color"),u=e("../colorscale"),c=e("../../lib"),d=e("../../lib/svg_text_utils"),p=e("../../constants/xmlns_namespaces"),f=e("../../traces/scatter/subtypes"),h=e("../../traces/scatter/make_bubble_size_func"),m=t.exports={};m.font=function(e,t,n,r){t&&t.family&&(r=t.color,n=t.size,t=t.family),t&&e.style("font-family",t),n+1&&e.style("font-size",n+"px"),r&&e.call(l.fill,r)},m.setPosition=function(e,t,n){e.attr("x",t).attr("y",n)},m.setSize=function(e,t,n){e.attr("width",t).attr("height",n)},m.setRect=function(e,t,n,r,o){e.call(m.setPosition,t,n).call(m.setSize,r,o)},m.translatePoint=function(e,t,n,r){var o=e.xp||n.c2p(e.x),i=e.yp||r.c2p(e.y);a(o)&&a(i)&&t.node()?"text"===t.node().nodeName?t.attr("x",o).attr("y",i):t.attr("transform","translate("+o+","+i+")"):t.remove()},m.translatePoints=function(e,t,n,r){e.each(function(e){var o=i.select(this);m.translatePoint(e,o,t,n,r)})},m.getPx=function(e,t){return Number(e.style(t).replace(/px$/,""))},m.crispRound=function(e,t,n){return t&&a(t)?e._context.staticPlot?t:t<1?1:Math.round(t):n||0},m.singleLineStyle=function(e,t,n,r,o){t.style("fill","none");var i=(((e||[])[0]||{}).trace||{}).line||{},a=n||i.width||0,s=o||i.dash||"";l.stroke(t,r||i.color),m.dashLine(t,s,a)},m.lineGroupStyle=function(e,t,n,r){e.style("fill","none").each(function(e){var o=(((e||[])[0]||{}).trace||{}).line||{},a=t||o.width||0,s=r||o.dash||"";i.select(this).call(l.stroke,n||o.color).call(m.dashLine,s,a)})},m.dashLine=function(e,t,n){n=+n||0;var r=Math.max(n,3);"solid"===t?t="":"dot"===t?t=r+"px,"+r+"px":"dash"===t?t=3*r+"px,"+3*r+"px":"longdash"===t?t=5*r+"px,"+5*r+"px":"dashdot"===t?t=3*r+"px,"+r+"px,"+r+"px,"+r+"px":"longdashdot"===t&&(t=5*r+"px,"+2*r+"px,"+r+"px,"+2*r+"px"),e.style({"stroke-dasharray":t,"stroke-width":n+"px"})},m.fillGroupStyle=function(e){e.style("stroke-width",0).each(function(t){var n=i.select(this);try{n.call(l.fill,t[0].trace.fillcolor)}catch(t){c.error(t,e),n.remove()}})};var g=e("./symbol_defs");m.symbolNames=[],m.symbolFuncs=[],m.symbolNeedLines={},m.symbolNoDot={},m.symbolList=[],Object.keys(g).forEach(function(e){var t=g[e];m.symbolList=m.symbolList.concat([t.n,e,t.n+100,e+"-open"]),m.symbolNames[t.n]=e,m.symbolFuncs[t.n]=t.f,t.needLine&&(m.symbolNeedLines[t.n]=!0),t.noDot?m.symbolNoDot[t.n]=!0:m.symbolList=m.symbolList.concat([t.n+200,e+"-dot",t.n+300,e+"-open-dot"])});var y=m.symbolNames.length,v="M0,0.5L0.5,0L0,-0.5L-0.5,0Z";m.symbolNumber=function(e){if("string"==typeof e){var t=0;e.indexOf("-open")>0&&(t=100,e=e.replace("-open","")),e.indexOf("-dot")>0&&(t+=200,e=e.replace("-dot","")),e=m.symbolNames.indexOf(e),e>=0&&(e+=t)}return e%100>=y||e>=400?0:Math.floor(Math.max(e,0))},m.singlePointStyle=function(e,t,n){var o=n.marker,i=o.line;r(e,t,n,m.tryColorscale(o,""),m.tryColorscale(o,"line"),o,i)},m.pointStyle=function(e,t){if(e.size()){var n=t.marker,r=m.tryColorscale(n,""),o=m.tryColorscale(n,"line");e.each(function(e){m.singlePointStyle(e,i.select(this),t,r,o)})}},m.tryColorscale=function(e,t){var n=t?c.nestedProperty(e,t).get():e,r=n.colorscale,o=n.color;return r&&Array.isArray(o)?u.makeColorScaleFunc(u.extractScale(r,n.cmin,n.cmax)):c.identity};var b={start:1,end:-1,middle:0,bottom:1,top:-1};m.textPointStyle=function(e,t){e.each(function(e){var n=i.select(this),r=e.tx||t.text;if(!r||Array.isArray(r))return void n.remove();var o=e.tp||t.textposition,s=o.indexOf("top")!==-1?"top":o.indexOf("bottom")!==-1?"bottom":"middle",l=o.indexOf("left")!==-1?"end":o.indexOf("right")!==-1?"start":"middle",u=e.ts||t.textfont.size,c=e.mrc?e.mrc/.8+1:0;u=a(u)&&u>0?u:0,n.call(m.font,e.tf||t.textfont.family,u,e.tc||t.textfont.color).attr("text-anchor",l).text(r).call(d.convertToTspans);var p=i.select(this.parentNode),f=n.selectAll("tspan.line"),h=1.3*((f[0].length||1)-1)+1,g=b[l]*c,y=.75*u+b[s]*c+(b[s]-1)*h*u/2;p.attr("transform","translate("+g+","+y+")"),h>1&&f.attr({x:n.attr("x"),y:n.attr("y")})})};var _=.5;m.smoothopen=function(e,t){if(e.length<3)return"M"+e.join("L");var n,r="M"+e[0],i=[];for(n=1;n=1e4&&(i.selectAll("[data-bb]").attr("data-bb",null),j=[]),e.setAttribute("data-bb",j.length),j.push(l),c.extendFlat({},l)},m.setClipUrl=function(e,t){if(!t)return void e.attr("clip-path",null);var n="#"+t,r=i.select("base");r.size()&&r.attr("href")&&(n=window.location.href.split("#")[0]+n),e.attr("clip-path","url("+n+")")},m.getTranslate=function(e){var t=/.*\btranslate\((-?\d*\.?\d*)[^-\d]*(-?\d*\.?\d*)[^\d].*/,n=e.attr?"attr":"getAttribute",r=e[n]("transform")||"",o=r.replace(t,function(e,t,n){return[t,n].join(" ")}).split(" ");return{x:+o[0]||0,y:+o[1]||0}},m.setTranslate=function(e,t,n){var r=/(\btranslate\(.*?\);?)/,o=e.attr?"attr":"getAttribute",i=e.attr?"attr":"setAttribute",a=e[o]("transform")||"";return t=t||0,n=n||0,a=a.replace(r,"").trim(),a+=" translate("+t+", "+n+")",a=a.trim(),e[i]("transform",a),a},m.getScale=function(e){var t=/.*\bscale\((\d*\.?\d*)[^\d]*(\d*\.?\d*)[^\d].*/,n=e.attr?"attr":"getAttribute",r=e[n]("transform")||"",o=r.replace(t,function(e,t,n){return[t,n].join(" ")}).split(" ");return{x:+o[0]||1,y:+o[1]||1}},m.setScale=function(e,t,n){var r=/(\bscale\(.*?\);?)/,o=e.attr?"attr":"getAttribute",i=e.attr?"attr":"setAttribute",a=e[o]("transform")||"";return t=t||1,n=n||1,a=a.replace(r,"").trim(),a+=" scale("+t+", "+n+")",a=a.trim(),e[i]("transform",a),a},m.setPointGroupScale=function(e,t,n){var r,o,i;return t=t||1,n=n||1,o=1===t&&1===n?"":" scale("+t+","+n+")",i=/\s*sc.*/,e.each(function(){r=(this.getAttribute("transform")||"").replace(i,""),r+=o,r=r.trim(),this.setAttribute("transform",r)}),o}},{"../../constants/xmlns_namespaces":118,"../../lib":129,"../../lib/svg_text_utils":146,"../../registry":203,"../../traces/scatter/make_bubble_size_func":309,"../../traces/scatter/subtypes":314,"../color":32,"../colorscale":46,"./symbol_defs":56,d3:14,"fast-isnumeric":17}],56:[function(e,t,n){"use strict";var r=e("d3");t.exports={circle:{n:0,f:function(e){var t=r.round(e,2);return"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"}},square:{n:1,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"}},diamond:{n:2,f:function(e){var t=r.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"Z"}},cross:{n:3,f:function(e){var t=r.round(.4*e,2),n=r.round(1.2*e,2);return"M"+n+","+t+"H"+t+"V"+n+"H-"+t+"V"+t+"H-"+n+"V-"+t+"H-"+t+"V-"+n+"H"+t+"V-"+t+"H"+n+"Z"}},x:{n:4,f:function(e){var t=r.round(.8*e/Math.sqrt(2),2),n="l"+t+","+t,o="l"+t+",-"+t,i="l-"+t+",-"+t,a="l-"+t+","+t;return"M0,"+t+n+o+i+o+i+a+i+a+n+a+n+"Z"}},"triangle-up":{n:5,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return"M-"+t+","+r.round(e/2,2)+"H"+t+"L0,-"+r.round(e,2)+"Z"}},"triangle-down":{n:6,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return"M-"+t+",-"+r.round(e/2,2)+"H"+t+"L0,"+r.round(e,2)+"Z"}},"triangle-left":{n:7,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return"M"+r.round(e/2,2)+",-"+t+"V"+t+"L-"+r.round(e,2)+",0Z"}},"triangle-right":{n:8,f:function(e){var t=r.round(2*e/Math.sqrt(3),2);return"M-"+r.round(e/2,2)+",-"+t+"V"+t+"L"+r.round(e,2)+",0Z"}},"triangle-ne":{n:9,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M-"+n+",-"+t+"H"+t+"V"+n+"Z"}},"triangle-se":{n:10,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M"+t+",-"+n+"V"+t+"H-"+n+"Z"}},"triangle-sw":{n:11,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M"+n+","+t+"H-"+t+"V-"+n+"Z"}},"triangle-nw":{n:12,f:function(e){var t=r.round(.6*e,2),n=r.round(1.2*e,2);return"M-"+t+","+n+"V-"+t+"H"+n+"Z"}},pentagon:{n:13,f:function(e){var t=r.round(.951*e,2),n=r.round(.588*e,2),o=r.round(-e,2),i=r.round(e*-.309,2);return"M"+t+","+i+"L"+n+","+r.round(.809*e,2)+"H-"+n+"L-"+t+","+i+"L0,"+o+"Z"}},hexagon:{n:14,f:function(e){var t=r.round(e,2),n=r.round(e/2,2),o=r.round(e*Math.sqrt(3)/2,2);return"M"+o+",-"+n+"V"+n+"L0,"+t+"L-"+o+","+n+"V-"+n+"L0,-"+t+"Z"}},hexagon2:{n:15,f:function(e){var t=r.round(e,2),n=r.round(e/2,2),o=r.round(e*Math.sqrt(3)/2,2);return"M-"+n+","+o+"H"+n+"L"+t+",0L"+n+",-"+o+"H-"+n+"L-"+t+",0Z"}},octagon:{n:16,f:function(e){var t=r.round(.924*e,2),n=r.round(.383*e,2);return"M-"+n+",-"+t+"H"+n+"L"+t+",-"+n+"V"+n+"L"+n+","+t+"H-"+n+"L-"+t+","+n+"V-"+n+"Z"}},star:{n:17,f:function(e){var t=1.4*e,n=r.round(.225*t,2),o=r.round(.951*t,2),i=r.round(.363*t,2),a=r.round(.588*t,2),s=r.round(-t,2),l=r.round(t*-.309,2),u=r.round(.118*t,2),c=r.round(.809*t,2);return"M"+n+","+l+"H"+o+"L"+i+","+u+"L"+a+","+c+"L0,"+r.round(.382*t,2)+"L-"+a+","+c+"L-"+i+","+u+"L-"+o+","+l+"H-"+n+"L0,"+s+"Z"}},hexagram:{n:18,f:function(e){var t=r.round(.66*e,2),n=r.round(.38*e,2),o=r.round(.76*e,2);return"M-"+o+",0l-"+n+",-"+t+"h"+o+"l"+n+",-"+t+"l"+n+","+t+"h"+o+"l-"+n+","+t+"l"+n+","+t+"h-"+o+"l-"+n+","+t+"l-"+n+",-"+t+"h-"+o+"Z"}},"star-triangle-up":{n:19,f:function(e){var t=r.round(e*Math.sqrt(3)*.8,2),n=r.round(.8*e,2),o=r.round(1.6*e,2),i=r.round(4*e,2),a="A "+i+","+i+" 0 0 1 ";return"M-"+t+","+n+a+t+","+n+a+"0,-"+o+a+"-"+t+","+n+"Z"}},"star-triangle-down":{n:20,f:function(e){var t=r.round(e*Math.sqrt(3)*.8,2),n=r.round(.8*e,2),o=r.round(1.6*e,2),i=r.round(4*e,2),a="A "+i+","+i+" 0 0 1 ";return"M"+t+",-"+n+a+"-"+t+",-"+n+a+"0,"+o+a+t+",-"+n+"Z"}},"star-square":{n:21,f:function(e){var t=r.round(1.1*e,2),n=r.round(2*e,2),o="A "+n+","+n+" 0 0 1 ";return"M-"+t+",-"+t+o+"-"+t+","+t+o+t+","+t+o+t+",-"+t+o+"-"+t+",-"+t+"Z"}},"star-diamond":{n:22,f:function(e){var t=r.round(1.4*e,2),n=r.round(1.9*e,2),o="A "+n+","+n+" 0 0 1 ";return"M-"+t+",0"+o+"0,"+t+o+t+",0"+o+"0,-"+t+o+"-"+t+",0Z"}},"diamond-tall":{n:23,f:function(e){var t=r.round(.7*e,2),n=r.round(1.4*e,2);return"M0,"+n+"L"+t+",0L0,-"+n+"L-"+t+",0Z"}},"diamond-wide":{n:24,f:function(e){var t=r.round(1.4*e,2),n=r.round(.7*e,2);return"M0,"+n+"L"+t+",0L0,-"+n+"L-"+t+",0Z"}},hourglass:{n:25,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"H-"+t+"L"+t+",-"+t+"H-"+t+"Z"},noDot:!0},bowtie:{n:26,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"V-"+t+"L-"+t+","+t+"V-"+t+"Z"},noDot:!0},"circle-cross":{n:27,f:function(e){var t=r.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"circle-x":{n:28,f:function(e){var t=r.round(e,2),n=r.round(e/Math.sqrt(2),2);return"M"+n+","+n+"L-"+n+",-"+n+"M"+n+",-"+n+"L-"+n+","+n+"M"+t+",0A"+t+","+t+" 0 1,1 0,-"+t+"A"+t+","+t+" 0 0,1 "+t+",0Z"},needLine:!0,noDot:!0},"square-cross":{n:29,f:function(e){var t=r.round(e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"square-x":{n:30,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t+"M"+t+","+t+"H-"+t+"V-"+t+"H"+t+"Z"},needLine:!0,noDot:!0},"diamond-cross":{n:31,f:function(e){var t=r.round(1.3*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM0,-"+t+"V"+t+"M-"+t+",0H"+t},needLine:!0,noDot:!0},"diamond-x":{n:32,f:function(e){var t=r.round(1.3*e,2),n=r.round(.65*e,2);return"M"+t+",0L0,"+t+"L-"+t+",0L0,-"+t+"ZM-"+n+",-"+n+"L"+n+","+n+"M-"+n+","+n+"L"+n+",-"+n},needLine:!0,noDot:!0},"cross-thin":{n:33,f:function(e){var t=r.round(1.4*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t},needLine:!0,noDot:!0},"x-thin":{n:34,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t+"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0},asterisk:{n:35,f:function(e){var t=r.round(1.2*e,2),n=r.round(.85*e,2);return"M0,"+t+"V-"+t+"M"+t+",0H-"+t+"M"+n+","+n+"L-"+n+",-"+n+"M"+n+",-"+n+"L-"+n+","+n},needLine:!0,noDot:!0},hash:{n:36,f:function(e){var t=r.round(e/2,2),n=r.round(e,2);return"M"+t+","+n+"V-"+n+"m-"+n+",0V"+n+"M"+n+","+t+"H-"+n+"m0,-"+n+"H"+n},needLine:!0},"y-up":{n:37,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M-"+t+","+o+"L0,0M"+t+","+o+"L0,0M0,-"+n+"L0,0"},needLine:!0,noDot:!0},"y-down":{n:38,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M-"+t+",-"+o+"L0,0M"+t+",-"+o+"L0,0M0,"+n+"L0,0"},needLine:!0,noDot:!0},"y-left":{n:39,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M"+o+","+t+"L0,0M"+o+",-"+t+"L0,0M-"+n+",0L0,0"},needLine:!0,noDot:!0},"y-right":{n:40,f:function(e){var t=r.round(1.2*e,2),n=r.round(1.6*e,2),o=r.round(.8*e,2);return"M-"+o+","+t+"L0,0M-"+o+",-"+t+"L0,0M"+n+",0L0,0"},needLine:!0,noDot:!0},"line-ew":{n:41,f:function(e){var t=r.round(1.4*e,2);return"M"+t+",0H-"+t},needLine:!0,noDot:!0},"line-ns":{n:42,f:function(e){var t=r.round(1.4*e,2);return"M0,"+t+"V-"+t},needLine:!0,noDot:!0},"line-ne":{n:43,f:function(e){var t=r.round(e,2);return"M"+t+",-"+t+"L-"+t+","+t},needLine:!0,noDot:!0},"line-nw":{n:44,f:function(e){var t=r.round(e,2);return"M"+t+","+t+"L-"+t+",-"+t},needLine:!0,noDot:!0}}},{d3:14}],57:[function(e,t,n){"use strict";t.exports={visible:{valType:"boolean"},type:{valType:"enumerated",values:["percent","constant","sqrt","data"]},symmetric:{valType:"boolean"},array:{valType:"data_array"},arrayminus:{valType:"data_array"},value:{valType:"number",min:0,dflt:10},valueminus:{valType:"number",min:0,dflt:10},traceref:{valType:"integer",min:0,dflt:0},tracerefminus:{valType:"integer",min:0,dflt:0},copy_ystyle:{valType:"boolean"},copy_zstyle:{valType:"boolean"},color:{valType:"color"},thickness:{valType:"number",min:0,dflt:2},width:{valType:"number",min:0},_deprecated:{opacity:{valType:"number"}}}},{}],58:[function(e,t,n){"use strict";function r(e,t,n,r){var i=t["error_"+r]||{},l=i.visible&&["linear","log"].indexOf(n.type)!==-1,u=[];if(l){for(var c=s(i),d=0;d0;e.each(function(e){var t,d=e[0].trace,p=d.error_x||{},f=d.error_y||{};d.ids&&(t=function(e){return e.id});var h=a.hasMarkers(d)&&d.marker.maxdisplayed>0;if(f.visible||p.visible){var m=o.select(this).selectAll("g.errorbar").data(e,t);m.exit().remove(),m.style("opacity",1);var g=m.enter().append("g").classed("errorbar",!0);c&&g.style("opacity",0).transition().duration(n.duration).style("opacity",1),m.each(function(e){var t=o.select(this),a=r(e,l,u);if(!h||e.vis){var d;if(f.visible&&i(a.x)&&i(a.yh)&&i(a.ys)){var m=f.width;d="M"+(a.x-m)+","+a.yh+"h"+2*m+"m-"+m+",0V"+a.ys,a.noYS||(d+="m-"+m+",0h"+2*m);var g=t.select("path.yerror");s=!g.size(),s?g=t.append("path").classed("yerror",!0):c&&(g=g.transition().duration(n.duration).ease(n.easing)),g.attr("d",d)}if(p.visible&&i(a.y)&&i(a.xh)&&i(a.xs)){var y=(p.copy_ystyle?f:p).width;d="M"+a.xh+","+(a.y-y)+"v"+2*y+"m0,-"+y+"H"+a.xs,a.noXS||(d+="m0,-"+y+"v"+2*y);var v=t.select("path.xerror");s=!v.size(),s?v=t.append("path").classed("xerror",!0):c&&(v=v.transition().duration(n.duration).ease(n.easing)),v.attr("d",d)}}})}})}},{"../../traces/scatter/subtypes":314,d3:14,"fast-isnumeric":17}],63:[function(e,t,n){"use strict";var r=e("d3"),o=e("../color");t.exports=function(e){e.each(function(e){var t=e[0].trace,n=t.error_y||{},i=t.error_x||{},a=r.select(this);a.selectAll("path.yerror").style("stroke-width",n.thickness+"px").call(o.stroke,n.color),i.copy_ystyle&&(i=n),a.selectAll("path.xerror").style("stroke-width",i.thickness+"px").call(o.stroke,i.color)})}},{"../color":32,d3:14}],64:[function(e,t,n){"use strict";var r=e("../../plots/cartesian/constants");t.exports={_isLinkedToArray:"image",visible:{valType:"boolean",dflt:!0},source:{valType:"string"},layer:{valType:"enumerated",values:["below","above"],dflt:"above"},sizex:{valType:"number",dflt:0},sizey:{valType:"number",dflt:0},sizing:{valType:"enumerated",values:["fill","contain","stretch"],dflt:"contain"},opacity:{valType:"number",min:0,max:1,dflt:1},x:{valType:"any",dflt:0},y:{valType:"any",dflt:0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},yanchor:{valType:"enumerated",values:["top","middle","bottom"],dflt:"top"},xref:{valType:"enumerated",values:["paper",r.idRegex.x.toString()],dflt:"paper"},yref:{valType:"enumerated",values:["paper",r.idRegex.y.toString()],dflt:"paper"}}},{"../../plots/cartesian/constants":169}],65:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib/to_log_range");t.exports=function(e,t,n,i){var a="log"===n&&"linear"===t.type,s="linear"===n&&"log"===t.type;if(a||s)for(var l,u,c=e._fullLayout.images,d=t._id.charAt(0),p=0;p=2/3},n.isCenterAnchor=function(e){return"center"===e.xanchor||"auto"===e.xanchor&&e.x>1/3&&e.x<2/3},n.isBottomAnchor=function(e){return"bottom"===e.yanchor||"auto"===e.yanchor&&e.y<=1/3},n.isMiddleAnchor=function(e){return"middle"===e.yanchor||"auto"===e.yanchor&&e.y>1/3&&e.y<2/3}},{}],70:[function(e,t,n){"use strict";var r=e("../../plots/font_attributes"),o=e("../color/attributes"),i=e("../../lib/extend").extendFlat;t.exports={bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:o.defaultLine},borderwidth:{valType:"number",min:0,dflt:0},font:i({},r,{}),orientation:{valType:"enumerated",values:["v","h"],dflt:"v"},traceorder:{valType:"flaglist",flags:["reversed","grouped"],extras:["normal"]},tracegroupgap:{valType:"number",min:0,dflt:10},x:{valType:"number",min:-2,max:3,dflt:1.02},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"auto"}}},{"../../lib/extend":125,"../../plots/font_attributes":184,"../color/attributes":31}],71:[function(e,t,n){"use strict";t.exports={scrollBarWidth:4,scrollBarHeight:20,scrollBarColor:"#808BA4",scrollBarMargin:4}},{}],72:[function(e,t,n){"use strict";var r=e("../../registry"),o=e("../../lib"),i=e("./attributes"),a=e("../../plots/layout_attributes"),s=e("./helpers");t.exports=function(e,t,n){function l(e,t){return o.coerce(f,h,i,e,t)}for(var u,c,d,p,f=e.legend||{},h=t.legend={},m=0,g="normal",y=0;y1)!==!1){if(l("bgcolor",t.paper_bgcolor),l("bordercolor"),l("borderwidth"),o.coerceFont(l,"font",t.font),l("orientation"),"h"===h.orientation){var b=e.xaxis;b&&b.rangeslider&&b.rangeslider.visible?(u=0,d="left",c=1.1,p="bottom"):(u=0,d="left",c=-.1,p="top")}l("traceorder",g),s.isGrouped(t.legend)&&l("tracegroupgap"),l("x",u),l("xanchor",d),l("y",c),l("yanchor",p),o.noneOrAll(f,h,["x","y"])}}},{"../../lib":129,"../../plots/layout_attributes":186,"../../registry":203,"./attributes":70,"./helpers":75}],73:[function(e,t,n){"use strict";function r(e,t){function n(n){y.convertToTspans(n,function(){n.selectAll("tspan.line").attr({x:n.attr("x")}),e.call(i,t)})}var r=e.data()[0][0],o=t._fullLayout,a=r.trace,s=f.traceIs(a,"pie"),l=a.index,u=s?r.label:a.name,d=e.selectAll("text.legendtext").data([0]);d.enter().append("text").classed("legendtext",!0),d.attr({x:40,y:0,"data-unformatted":u}).style("text-anchor","start").classed("user-select-none",!0).call(m.font,o.legend.font).text(u),t._context.editable&&!s?d.call(y.makeEditable).call(n).on("edit",function(e){this.attr({"data-unformatted":e}),this.text(e).call(n),this.text()||(e=" ");var o,i=r.trace._fullInput||{};if(["ohlc","candlestick"].indexOf(i.type)!==-1){var a=r.trace.transforms;o=a[a.length-1].direction+".name"}else o="name";c.restyle(t,o,e,l)}):d.call(n)}function o(e,t){var n=t._fullLayout.hiddenlabels?t._fullLayout.hiddenlabels.slice():[],r=e.selectAll("rect").data([0]);r.enter().append("rect").classed("legendtoggle",!0).style("cursor","pointer").attr("pointer-events","all").call(g.fill,"rgba(0,0,0,0)"),r.on("click",function(){if(!t._dragged){var r,o,i=e.data()[0][0],a=t._fullData,s=i.trace,l=s.legendgroup,u=[];if(f.traceIs(s,"pie")){var d=i.label,p=n.indexOf(d);p===-1?n.push(d):n.splice(p,1),c.relayout(t,"hiddenlabels",n)}else{if(""===l)u=[s.index];else for(var h=0;htspan"),d=c[0].length||1;n=s*d,r=u.node()&&m.bBox(u.node()).width;var p=s*(.3+(1-d)/2);u.attr("y",p),c.attr("y",p)}n=Math.max(n,16)+3,o.height=n,o.width=r}function a(e,t,n){var r=e._fullLayout,o=r.legend,i=o.borderwidth,a=A.isGrouped(o);if(A.isVertical(o))a&&t.each(function(e,t){m.setTranslate(this,0,t*o.tracegroupgap)}),o.width=0,o.height=0,n.each(function(e){var t=e[0],n=t.height,r=t.width;m.setTranslate(this,i,5+i+o.height+n/2),o.height+=n,o.width=Math.max(o.width,r)}),o.width+=45+2*i,o.height+=10+2*i,a&&(o.height+=(o._lgroupsLength-1)*o.tracegroupgap),o.width=Math.ceil(o.width),o.height=Math.ceil(o.height),n.each(function(t){var n=t[0];u.select(this).select(".legendtoggle").call(m.setRect,0,-n.height/2,(e._context.editable?0:o.width)+40,n.height)});else if(a){o.width=0,o.height=0;for(var s=[o.width],l=t.data(),c=0,d=l.length;cr.width-(r.margin.r+r.margin.l)&&(v=0,h+=g,o.height=o.height+g,g=0),m.setTranslate(this,i+v,5+i+t.height/2+h),o.width+=a+n,o.height=Math.max(o.height,t.height),v+=a+n,g=Math.max(t.height,g)}),o.width+=2*i,o.height+=10+2*i,o.width=Math.ceil(o.width),o.height=Math.ceil(o.height),n.each(function(t){var n=t[0];u.select(this).select(".legendtoggle").call(m.setRect,0,-n.height/2,e._context.editable?0:o.width,n.height)})}}function s(e){var t=e._fullLayout,n=t.legend,r="left";x.isRightAnchor(n)?r="right":x.isCenterAnchor(n)&&(r="center");var o="top";x.isBottomAnchor(n)?o="bottom":x.isMiddleAnchor(n)&&(o="middle"),p.autoMargin(e,"legend",{x:n.x,y:n.y,l:n.width*({right:1,center:.5}[r]||0),r:n.width*({left:1,center:.5}[r]||0),b:n.height*({top:1,middle:.5}[o]||0),t:n.height*({bottom:1,middle:.5}[o]||0)})}function l(e){var t=e._fullLayout,n=t.legend,r="left";x.isRightAnchor(n)?r="right":x.isCenterAnchor(n)&&(r="center"),p.autoMargin(e,"legend",{x:n.x,y:.5,l:n.width*({right:1,center:.5}[r]||0),r:n.width*({left:1,center:.5}[r]||0),b:0,t:0})}var u=e("d3"),c=e("../../plotly"),d=e("../../lib"),p=e("../../plots/plots"),f=e("../../registry"),h=e("../dragelement"),m=e("../drawing"),g=e("../color"),y=e("../../lib/svg_text_utils"),v=e("./constants"),b=e("./get_legend_data"),_=e("./style"),A=e("./helpers"),x=e("./anchor_utils");t.exports=function(e){function t(e,t){k.attr("data-scroll",t).call(m.setTranslate,0,t),T.call(m.setRect,B,e,v.scrollBarWidth,v.scrollBarHeight),C.select("rect").attr({y:y.borderwidth-t})}var n=e._fullLayout,i="legend"+n._uid;if(n._infolayer&&e.calcdata){var y=n.legend,A=n.showlegend&&b(e.calcdata,y),j=n.hiddenlabels||[];if(!n.showlegend||!A.length)return n._infolayer.selectAll(".legend").remove(),n._topdefs.select("#"+i).remove(),void p.autoMargin(e,"legend");var w=n._infolayer.selectAll("g.legend").data([0]);w.enter().append("g").attr({class:"legend","pointer-events":"all"});var C=n._topdefs.selectAll("#"+i).data([0]);C.enter().append("clipPath").attr("id",i).append("rect");var E=w.selectAll("rect.bg").data([0]);E.enter().append("rect").attr({class:"bg","shape-rendering":"crispEdges"}),E.call(g.stroke,y.bordercolor),E.call(g.fill,y.bgcolor),E.style("stroke-width",y.borderwidth+"px");var k=w.selectAll("g.scrollbox").data([0]);k.enter().append("g").attr("class","scrollbox");var T=w.selectAll("rect.scrollbar").data([0]);T.enter().append("rect").attr({class:"scrollbar",rx:20,ry:2,width:0,height:0}).call(g.fill,"#808BA4");var S=k.selectAll("g.groups").data(A);S.enter().append("g").attr("class","groups"),S.exit().remove();var P=S.selectAll("g.traces").data(d.identity);P.enter().append("g").attr("class","traces"),P.exit().remove(),P.call(_).style("opacity",function(e){var t=e[0].trace;return f.traceIs(t,"pie")?j.indexOf(e[0].label)!==-1?.5:1:"legendonly"===t.visible?.5:1}).each(function(){u.select(this).call(r,e).call(o,e)});var M=0!==w.enter().size();M&&(a(e,S,P),s(e));var D=0,O=n.width,I=0,R=n.height;a(e,S,P),y.height>R?l(e):s(e);var L=n._size,F=L.l+L.w*y.x,N=L.t+L.h*(1-y.y);x.isRightAnchor(y)?F-=y.width:x.isCenterAnchor(y)&&(F-=y.width/2),x.isBottomAnchor(y)?N-=y.height:x.isMiddleAnchor(y)&&(N-=y.height/2);var B=y.width,z=L.w;B>z?(F=L.l,B=z):(F+B>O&&(F=O-B),FU?(N=L.t,H=U):(N+H>R&&(N=R-H),Nn[1])return n[1]}return o}function n(e){return e[0]}var r,o,i=e[0],a=i.trace,s=f.hasMarkers(a),u=f.hasText(a),p=f.hasLines(a);if(s||u||p){var h={},m={};s&&(h.mc=t("marker.color",n),h.mo=t("marker.opacity",c.mean,[.2,1]),h.ms=t("marker.size",c.mean,[2,16]),h.mlc=t("marker.line.color",n),h.mlw=t("marker.line.width",c.mean,[0,5]),m.marker={sizeref:1,sizemin:1,sizemode:"diameter"}),p&&(m.line={width:t("line.width",n,[0,10])}),u&&(h.tx="Aa",h.tp=t("textposition",n),h.ts=10,h.tc=t("textfont.color",n),h.tf=t("textfont.family",n)),r=[c.minExtend(i,h)],o=c.minExtend(a,m)}var g=l.select(this).select("g.legendpoints"),y=g.selectAll("path.scatterpts").data(s?r:[]);y.enter().append("path").classed("scatterpts",!0).attr("transform","translate(20,0)"),y.exit().remove(),y.call(d.pointStyle,o),s&&(r[0].mrc=3);var v=g.selectAll("g.pointtext").data(u?r:[]);v.enter().append("g").classed("pointtext",!0).append("text").attr("transform","translate(20,0)"),v.exit().remove(),v.selectAll("text").call(d.textPointStyle,o)}function i(e){var t=e[0].trace,n=t.marker||{},r=n.line||{},o=l.select(this).select("g.legendpoints").selectAll("path.legendbar").data(u.traceIs(t,"bar")?[e]:[]);o.enter().append("path").classed("legendbar",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),o.exit().remove(),o.each(function(e){var t=l.select(this),o=e[0],i=(o.mlw+1||r.width+1)-1;t.style("stroke-width",i+"px").call(p.fill,o.mc||n.color),i&&t.call(p.stroke,o.mlc||r.color)})}function a(e){var t=e[0].trace,n=l.select(this).select("g.legendpoints").selectAll("path.legendbox").data(u.traceIs(t,"box")&&t.visible?[e]:[]);n.enter().append("path").classed("legendbox",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),n.exit().remove(),n.each(function(){var e=t.line.width,n=l.select(this);n.style("stroke-width",e+"px").call(p.fill,t.fillcolor),e&&n.call(p.stroke,t.line.color)})}function s(e){var t=e[0].trace,n=l.select(this).select("g.legendpoints").selectAll("path.legendpie").data(u.traceIs(t,"pie")&&t.visible?[e]:[]);n.enter().append("path").classed("legendpie",!0).attr("d","M6,6H-6V-6H6Z").attr("transform","translate(20,0)"),n.exit().remove(),n.size()&&n.call(h,e[0],t)}var l=e("d3"),u=e("../../registry"),c=e("../../lib"),d=e("../drawing"),p=e("../color"),f=e("../../traces/scatter/subtypes"),h=e("../../traces/pie/style_one");t.exports=function(e){e.each(function(e){var t=l.select(this),n=t.selectAll("g.layers").data([0]);n.enter().append("g").classed("layers",!0),n.style("opacity",e[0].trace.opacity),n.selectAll("g.legendfill").data([e]).enter().append("g").classed("legendfill",!0),n.selectAll("g.legendlines").data([e]).enter().append("g").classed("legendlines",!0);var r=n.selectAll("g.legendsymbols").data([e]);r.enter().append("g").classed("legendsymbols",!0),r.selectAll("g.legendpoints").data([e]).enter().append("g").classed("legendpoints",!0)}).each(i).each(a).each(s).each(r).each(o)}},{"../../lib":129,"../../registry":203,"../../traces/pie/style_one":292,"../../traces/scatter/subtypes":314,"../color":32,"../drawing":55,d3:14}],78:[function(e,t,n){"use strict";function r(e,t){var n=t.currentTarget,r=n.getAttribute("data-attr"),o=n.getAttribute("data-val")||!0,i=e._fullLayout,a={};if("zoom"===r){for(var s,l,c="in"===o?.5:2,p=(1+c)/2,f=(1-c)/2,h=d.list(e,null,!0),m=0;m1)return r(["resetViews","toggleHover"]),a(g,n);c&&(r(["zoom3d","pan3d","orbitRotation","tableRotation"]),r(["resetCameraDefault3d","resetCameraLastSave3d"]),r(["hoverClosest3d"])),p&&(r(["zoomInGeo","zoomOutGeo","resetGeo"]),r(["hoverClosestGeo"]));var y=o(s),v=[];return((u||h)&&!y||m)&&(v=["zoom2d","pan2d"]),(u||m)&&i(l)&&(v.push("select2d"),v.push("lasso2d")),v.length&&r(v),!u&&!h||y||m||r(["zoomIn2d","zoomOut2d","autoScale2d","resetScale2d"]),u&&f?r(["toggleHover"]):h?r(["hoverClosestGl2d"]):u?r(["hoverClosestCartesian","hoverCompareCartesian"]):f&&r(["hoverClosestPie"]),a(g,n)}function o(e){for(var t=l.list({_fullLayout:e},null,!0),n=!0,r=0;r0)){var h=o(t,n,l);d("x",h[0]),d("y",h[1]),i.noneOrAll(e,t,["x","y"]),d("xanchor"),d("yanchor"),i.coerceFont(d,"font",n.font);var m=d("bgcolor");d("activecolor",a.contrast(m,u.lightAmount,u.darkAmount)),d("bordercolor"),d("borderwidth")}}},{"../../lib":129,"../color":32,"./attributes":82,"./button_attributes":83,"./constants":84}],86:[function(e,t,n){"use strict";function r(e){for(var t=y.list(e,"x",!0),n=[],r=0;rh&&(h=p)));return h>=f?[f,h]:void 0}}var o=e("../../lib"),i=e("../../plots/cartesian/axes"),a=e("./constants"),s=e("./helpers");t.exports=function(e){var t=e._fullLayout,n=o.filterVisible(t.shapes);if(n.length&&e._fullData.length)for(var s=0;sG&&r>K&&!e.shiftKey?h.getCursor(o/n,1-i/r):"move";m(t,a),V=a.split("-")[0]}function i(t){B=d.getFromId(e,n.xref),z=d.getFromId(e,n.yref),H=y.getDataToPixel(e,B),U=y.getDataToPixel(e,z,!0),W=y.getPixelToData(e,B),q=y.getPixelToData(e,z,!0);var i="shapes["+r+"]";"path"===n.type?(F=n.path,N=i+".path"):(g=H(n.x0),v=U(n.y0),b=H(n.x1),_=U(n.y1),A=i+".x0",x=i+".y0",j=i+".x1",w=i+".y1"),gK&&(f[S]=n[O]=q(u),f[P]=n[I]=q(c)),p-d>G&&(f[M]=n[R]=W(d),f[D]=n[L]=W(p))}t.attr("d",a(e,n))}var f,g,v,b,_,A,x,j,w,C,E,k,T,S,P,M,D,O,I,R,L,F,N,B,z,H,U,W,q,V,G=10,K=10,Y={setCursor:o,element:t.node(),prepFn:i,doneFn:s},Q=Y.element.getBoundingClientRect();h.init(Y)}function a(e,t){var n,r,o,i,a=t.type,l=d.getFromId(e,t.xref),u=d.getFromId(e,t.yref),c=e._fullLayout._size;if(l?(n=y.shapePositionToRange(l),r=function(e){return l._offset+l.r2p(n(e,!0))}):r=function(e){return c.l+c.w*e},u?(o=y.shapePositionToRange(u),i=function(e){return u._offset+u.r2p(o(e,!0))}):i=function(e){return c.t+c.h*(1-e)},"path"===a)return l&&"date"===l.type&&(r=y.decodeDate(r)),u&&"date"===u.type&&(i=y.decodeDate(i)),s(t.path,r,i);var p=r(t.x0),f=r(t.x1),h=i(t.y0),m=i(t.y1);if("line"===a)return"M"+p+","+h+"L"+f+","+m;if("rect"===a)return"M"+p+","+h+"H"+f+"V"+m+"H"+p+"Z";var g=(p+f)/2,v=(h+m)/2,b=Math.abs(g-p),_=Math.abs(v-h),A="A"+b+","+_,x=g+b+","+v;return"M"+x+A+" 0 1,1 "+g+","+(v-_)+A+" 0 0,1 "+x+"Z"}function s(e,t,n){return e.replace(g.segmentRE,function(e){var r=0,o=e.charAt(0),i=g.paramIsX[o],a=g.paramIsY[o],s=g.numParams[o],l=e.substr(1).replace(g.paramRE,function(e){return i[r]?e=t(e):a[r]&&(e=n(e)),r++,r>s&&(e="X"),e});return r>s&&(l=l.replace(/[\s,]*X.*/,""),c.log("Ignoring extra params in segment "+e)),o+l})}function l(e,t,n){return e.replace(g.segmentRE,function(e){var r=0,o=e.charAt(0),i=g.paramIsX[o],a=g.paramIsY[o],s=g.numParams[o];return o+e.substr(1).replace(g.paramRE,function(e){return r>=s?e:(i[r]?e=t(e):a[r]&&(e=n(e)),r++,e)})})}var u=e("../../plotly"),c=e("../../lib"),d=e("../../plots/cartesian/axes"),p=e("../color"),f=e("../drawing"),h=e("../dragelement"),m=e("../../lib/setcursor"),g=e("./constants"),y=e("./helpers");t.exports={draw:r,drawOne:o}},{"../../lib":129,"../../lib/setcursor":144,"../../plotly":159,"../../plots/cartesian/axes":164,"../color":32,"../dragelement":53,"../drawing":55,"./constants":97,"./helpers":100}],100:[function(e,t,n){"use strict";n.rangeToShapePosition=function(e){return"log"===e.type?e.r2d:function(e){return e}},n.shapePositionToRange=function(e){return"log"===e.type?e.d2r:function(e){return e}},n.decodeDate=function(e){return function(t){return t.replace&&(t=t.replace("_"," ")),e(t)}},n.encodeDate=function(e){return function(t){return e(t).replace(" ","_")}},n.getDataToPixel=function(e,t,r){var o,i=e._fullLayout._size;if(t){var a=n.shapePositionToRange(t);o=function(e){return t._offset+t.r2p(a(e,!0))},"date"===t.type&&(o=n.decodeDate(o))}else o=r?function(e){return i.t+i.h*(1-e)}:function(e){return i.l+i.w*e};return o},n.getPixelToData=function(e,t,r){var o,i=e._fullLayout._size;if(t){var a=n.rangeToShapePosition(t);o=function(e){return a(t.p2r(e-t._offset))}}else o=r?function(e){return 1-(e-i.t)/i.h}:function(e){return(e-i.l)/i.w};return o}},{}],101:[function(e,t,n){"use strict";var r=e("./draw");t.exports={moduleType:"component",name:"shapes",layoutAttributes:e("./attributes"),supplyLayoutDefaults:e("./defaults"),calcAutorange:e("./calc_autorange"),draw:r.draw,drawOne:r.drawOne}},{"./attributes":95,"./calc_autorange":96,"./defaults":98,"./draw":99}],102:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../../plots/cartesian/axes"),i=e("./attributes"),a=e("./helpers");t.exports=function(e,t,n,s,l){function u(n,o){return r.coerce(e,t,i,n,o)}if(s=s||{},l=l||{},!u("visible",!l.itemIsNotPlainObject))return t;u("layer"),u("opacity"),u("fillcolor"),u("line.color"),u("line.width"),u("line.dash");for(var c=e.path?"path":"rect",d=u("type",c),p=["x","y"],f=0;f<2;f++){var h=p[f],m={_fullLayout:n},g=o.coerceRef(e,t,m,h,"","paper");if("path"!==d){var y,v,b,_=.25,A=.75;"paper"!==g?(y=o.getFromId(m,g),b=a.rangeToShapePosition(y),v=a.shapePositionToRange(y)):v=b=r.identity;var x=h+"0",j=h+"1",w=e[x],C=e[j];e[x]=v(e[x],!0),e[j]=v(e[j],!0),o.coercePosition(t,m,u,g,x,_),o.coercePosition(t,m,u,g,j,A),t[x]=b(t[x]),t[j]=b(t[j]),e[x]=w,e[j]=C}}return"path"===d?u("path"):r.noneOrAll(e,t,["x0","x1","y0","y1"]),t}},{"../../lib":129,"../../plots/cartesian/axes":164,"./attributes":95,"./helpers":100}],103:[function(e,t,n){"use strict";var r=e("../../plots/font_attributes"),o=e("../../plots/pad_attributes"),i=e("../../lib/extend").extendFlat,a=e("../../lib/extend").extendDeep,s=e("../../plots/animation_attributes"),l=e("./constants"),u={_isLinkedToArray:"step",method:{valType:"enumerated",values:["restyle","relayout","animate","update"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string"},value:{valType:"string"}};t.exports={_isLinkedToArray:"slider",visible:{valType:"boolean",dflt:!0},active:{valType:"number",min:0,dflt:0},steps:u,lenmode:{valType:"enumerated",values:["fraction","pixels"],dflt:"fraction"},len:{valType:"number",min:0,dflt:1},x:{valType:"number",min:-2,max:3,dflt:0},pad:a({},o,{},{t:{dflt:20}}),xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"left"},y:{valType:"number",min:-2,max:3,dflt:0},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},transition:{duration:{valType:"number",min:0,dflt:150},easing:{valType:"enumerated",values:s.transition.easing.values,dflt:"cubic-in-out"}},currentvalue:{visible:{valType:"boolean",dflt:!0},xanchor:{valType:"enumerated",values:["left","center","right"],dflt:"left"},offset:{valType:"number",dflt:10},prefix:{valType:"string"},suffix:{valType:"string"},font:i({},r,{})},font:i({},r,{}),activebgcolor:{valType:"color",dflt:l.gripBgActiveColor},bgcolor:{valType:"color",dflt:l.railBgColor},bordercolor:{valType:"color",dflt:l.railBorderColor},borderwidth:{valType:"number",min:0,dflt:l.railBorderWidth},ticklen:{valType:"number",min:0,dflt:l.tickLength},tickcolor:{valType:"color",dflt:l.tickColor},tickwidth:{valType:"number",min:0,dflt:1},minorticklen:{valType:"number",min:0,dflt:l.minorTickLength}}},{"../../lib/extend":125,"../../plots/animation_attributes":160,"../../plots/font_attributes":184,"../../plots/pad_attributes":187,"./constants":104}],104:[function(e,t,n){"use strict";t.exports={name:"sliders",containerClassName:"slider-container",groupClassName:"slider-group",inputAreaClass:"slider-input-area",railRectClass:"slider-rail-rect",railTouchRectClass:"slider-rail-touch-rect",gripRectClass:"slider-grip-rect",tickRectClass:"slider-tick-rect",inputProxyClass:"slider-input-proxy",labelsClass:"slider-labels",labelGroupClass:"slider-label-group",labelClass:"slider-label",currentValueClass:"slider-current-value",railHeight:5,menuIndexAttrName:"slider-active-index",autoMarginIdRoot:"slider-",minWidth:30,minHeight:30,textPadX:40,fontSizeToHeight:1.3,arrowOffsetX:4,railRadius:2,railWidth:5,railBorder:4,railBorderWidth:1,railBorderColor:"#bec8d9",railBgColor:"#f8fafc",railInset:8,stepInset:10,gripRadius:10,gripWidth:20,gripHeight:20,gripBorder:20,gripBorderWidth:1,gripBorderColor:"#bec8d9",gripBgColor:"#f6f8fa",gripBgActiveColor:"#dbdde0",labelPadding:8,labelOffset:0,tickWidth:1,tickColor:"#333",tickOffset:25,tickLength:7,minorTickOffset:25,minorTickColor:"#333",minorTickLength:4,currentValuePadding:8,currentValueInset:0}},{}],105:[function(e,t,n){"use strict";function r(e,t,n){function r(n,r){return i.coerce(e,t,s,n,r)}r("visible",o(e,t).length>0)&&(r("active"),r("x"),r("y"),i.noneOrAll(e,t,["x","y"]),r("xanchor"),r("yanchor"),r("len"),r("lenmode"),r("pad.t"),r("pad.r"),r("pad.b"),r("pad.l"),i.coerceFont(r,"font",n.font),r("currentvalue.visible")&&(r("currentvalue.xanchor"),r("currentvalue.prefix"),r("currentvalue.suffix"),r("currentvalue.offset"),i.coerceFont(r,"currentvalue.font",t.font)),r("transition.duration"),r("transition.easing"),r("bgcolor"),r("activebgcolor"),r("bordercolor"),r("borderwidth"),r("ticklen"),r("tickwidth"),r("tickcolor"),r("minorticklen"))}function o(e,t){function n(e,t){return i.coerce(r,o,c,e,t)}for(var r,o,a=e.steps||[],s=t.steps=[],l=0;l=n.steps.length&&(n.active=0),t.call(s,n).call(_,n).call(c,n).call(h,n).call(b,e,n).call(l,e,n),C.setTranslate(t,n.lx+n.pad.l,n.ly+n.pad.t),t.call(g,n,n.active/(n.steps.length-1),!1),t.call(s,n)}function s(e,t,n){if(t.currentvalue.visible){var r,o,i=e.selectAll("text").data([0]);switch(t.currentvalue.xanchor){case"right":r=t.inputAreaLength-T.currentValueInset-t.currentValueMaxWidth,o="left";break;case"center":r=.5*t.inputAreaLength,o="middle";break;default:r=T.currentValueInset,o="left"}i.enter().append("text").classed(T.labelClass,!0).classed("user-select-none",!0).attr("text-anchor",o);var a=t.currentvalue.prefix?t.currentvalue.prefix:"";if("string"==typeof n)a+=n;else{a+=t.steps[t.active].label}return t.currentvalue.suffix&&(a+=t.currentvalue.suffix),i.call(C.font,t.currentvalue.font).text(a).call(E.convertToTspans),C.setTranslate(i,r,t.currentValueHeight),i}}function l(e,t,n){var r=e.selectAll("rect."+T.gripRectClass).data([0]);r.enter().append("rect").classed(T.gripRectClass,!0).call(f,t,e,n).style("pointer-events","all"),r.attr({width:T.gripWidth,height:T.gripHeight,rx:T.gripRadius,ry:T.gripRadius}).call(w.stroke,n.bordercolor).call(w.fill,n.bgcolor).style("stroke-width",n.borderwidth+"px")}function u(e,t,n){var r=e.selectAll("text").data([0]);return r.enter().append("text").classed(T.labelClass,!0).classed("user-select-none",!0).attr("text-anchor","middle"),r.call(C.font,n.font).text(t.step.label).call(E.convertToTspans),r}function c(e,t){var n=e.selectAll("g."+T.labelsClass).data([0]);n.enter().append("g").classed(T.labelsClass,!0);var r=n.selectAll("g."+T.labelGroupClass).data(t.labelSteps);r.enter().append("g").classed(T.labelGroupClass,!0),r.exit().remove(),r.each(function(e){var n=x.select(this);n.call(u,e,t),C.setTranslate(n,y(t,e.fraction),T.tickOffset+t.ticklen+t.labelHeight+T.labelOffset+t.currentValueTotalHeight)})}function d(e,t,n,r,o){var i=Math.round(r*(n.steps.length-1));i!==n.active&&p(e,t,n,i,!0,o)}function p(e,t,n,r,o,i){var a=n.active;n._input.active=n.active=r;var l=n.steps[n.active];t.call(g,n,n.active/(n.steps.length-1),i),t.call(s,n),e.emit("plotly_sliderchange",{slider:n,step:n.steps[n.active],interaction:o,previousActive:a}),l&&l.method&&o&&(t._nextMethod?(t._nextMethod.step=l,t._nextMethod.doCallback=o,t._nextMethod.doTransition=i):(t._nextMethod={step:l,doCallback:o,doTransition:i},t._nextMethodRaf=window.requestAnimationFrame(function(){var n=t._nextMethod.step;n.method&&(j.executeAPICommand(e,n.method,n.args),t._nextMethod=null,t._nextMethodRaf=null)})))}function f(e,t,n){function r(){return n.data()[0]}var o=n.node(),i=x.select(t);e.on("mousedown",function(){var e=r();t.emit("plotly_sliderstart",{slider:e});var a=n.select("."+T.gripRectClass);x.event.stopPropagation(),x.event.preventDefault(),a.call(w.fill,e.activebgcolor),d(t,n,e,v(e,x.mouse(o)[0]),!0),e._dragging=!0,i.on("mousemove",function(){var e=r();d(t,n,e,v(e,x.mouse(o)[0]),!1)}),i.on("mouseup",function(){var e=r();e._dragging=!1,a.call(w.fill,e.bgcolor),i.on("mouseup",null),i.on("mousemove",null),t.emit("plotly_sliderend",{slider:e,step:e.steps[e.active]})})})}function h(e,t){var n=e.selectAll("rect."+T.tickRectClass).data(t.steps);n.enter().append("rect").classed(T.tickRectClass,!0),n.exit().remove(),n.attr({width:t.tickwidth+"px","shape-rendering":"crispEdges"}),n.each(function(e,n){var r=n%t.labelStride==0,o=x.select(this);o.attr({height:r?t.ticklen:t.minorticklen}).call(w.fill,t.tickcolor),C.setTranslate(o,y(t,n/(t.steps.length-1))-.5*t.tickwidth,(r?T.tickOffset:T.minorTickOffset)+t.currentValueTotalHeight)})}function m(e){e.labelSteps=[];for(var t=0,n=e.steps.length,r=t;r0&&(a=a.transition().duration(t.transition.duration).ease(t.transition.easing)),a.attr("transform","translate("+(i-.5*T.gripWidth)+","+t.currentValueTotalHeight+")")}}function y(e,t){return e.inputAreaStart+T.stepInset+(e.inputAreaLength-2*T.stepInset)*Math.min(1,Math.max(0,t))}function v(e,t){return Math.min(1,Math.max(0,(t-T.stepInset-e.inputAreaStart)/(e.inputAreaLength-2*T.stepInset-2*e.inputAreaStart)))}function b(e,t,n){var r=e.selectAll("rect."+T.railTouchRectClass).data([0]);r.enter().append("rect").classed(T.railTouchRectClass,!0).call(f,t,e,n).style("pointer-events","all"),r.attr({width:n.inputAreaLength,height:Math.max(n.inputAreaWidth,T.tickOffset+n.ticklen+n.labelHeight)}).call(w.fill,n.bgcolor).attr("opacity",0),C.setTranslate(r,0,n.currentValueTotalHeight)}function _(e,t){var n=e.selectAll("rect."+T.railRectClass).data([0]);n.enter().append("rect").classed(T.railRectClass,!0);var r=t.inputAreaLength-2*T.railInset;n.attr({width:r,height:T.railWidth,rx:T.railRadius,ry:T.railRadius,"shape-rendering":"crispEdges"}).call(w.stroke,t.bordercolor).call(w.fill,t.bgcolor).style("stroke-width",t.borderwidth+"px"),C.setTranslate(n,T.railInset,.5*(t.inputAreaWidth-T.railWidth)+t.currentValueTotalHeight)}function A(e){for(var t=e._fullLayout._pushmargin||{},n=Object.keys(t),r=0;r0?[0]:[]);if(s.enter().append("g").classed(T.containerClassName,!0).style("cursor","ew-resize"),s.exit().remove(),s.exit().size()&&A(e),0!==n.length){var l=s.selectAll("g."+T.groupClassName).data(n,o);l.enter().append("g").classed(T.groupClassName,!0),l.exit().each(function(t){x.select(this).remove(),t._commandObserver.remove(),delete t._commandObserver,j.autoMargin(e,T.autoMarginIdRoot+t._index)});for(var u=0;u0||p<0){var m={left:[-n,0],right:[n,0],top:[0,-n],bottom:[0,n]}[_.side];t.attr("transform","translate("+m+")")}}}function m(){T=0,S=!0,P=D,M.attr({"data-unformatted":P}).text(P).on("mouseover.opacity",function(){r.select(this).transition().duration(d.SHOW_PLACEHOLDER).style("opacity",1)}).on("mouseout.opacity",function(){r.select(this).transition().duration(d.HIDE_PLACEHOLDER).style("opacity",0)})}var g=n.propContainer,y=n.propName,v=n.traceIndex,b=n.dfltName,_=n.avoid||{},A=n.attributes,x=n.transform,j=n.containerGroup,w=e._fullLayout,C=g.titlefont.family,E=g.titlefont.size,k=g.titlefont.color,T=1,S=!1,P=g.title.trim();""===P&&(T=0),P.match(/Click to enter .+ title/)&&(T=.2,S=!0),j||(j=w._infolayer.selectAll(".g-"+t).data([0]),j.enter().append("g").classed("g-"+t,!0));var M=j.selectAll("text").data([0]);M.enter().append("text"),M.text(P).attr("class",t),M.attr({"data-unformatted":P}).call(p);var D="Click to enter "+b+" title";e._context.editable?(P?M.on(".opacity",null):m(),M.call(c.makeEditable).on("edit",function(t){void 0!==v?i.restyle(e,y,t,v):i.relayout(e,y,t)}).on("cancel",function(){this.text(this.attr("data-unformatted")).call(p)}).on("input",function(e){this.text(e||" ").attr(A).selectAll("tspan.line").attr(A)})):P&&!P.match(/Click to enter .+ title/)||M.remove(),M.classed("js-placeholder",S)}},{"../../constants/interactions":115,"../../lib":129,"../../lib/svg_text_utils":146,"../../plotly":159,"../../plots/plots":188,"../color":32,"../drawing":55,d3:14,"fast-isnumeric":17}],109:[function(e,t,n){"use strict";var r=e("../../plots/font_attributes"),o=e("../color/attributes"),i=e("../../lib/extend").extendFlat,a=e("../../plots/pad_attributes"),s={_isLinkedToArray:"button",method:{valType:"enumerated",values:["restyle","relayout","animate","update"],dflt:"restyle"},args:{valType:"info_array",freeLength:!0,items:[{valType:"any"},{valType:"any"},{valType:"any"}]},label:{valType:"string",dflt:""}};t.exports={_isLinkedToArray:"updatemenu",_arrayAttrRegexps:[/^updatemenus\[(0|[1-9][0-9]+)\]\.buttons/],visible:{valType:"boolean"},type:{valType:"enumerated",values:["dropdown","buttons"],dflt:"dropdown"},direction:{valType:"enumerated",values:["left","right","up","down"],dflt:"down"},active:{valType:"integer",min:-1,dflt:0},showactive:{valType:"boolean",dflt:!0},buttons:s,x:{valType:"number",min:-2,max:3,dflt:-.05},xanchor:{valType:"enumerated",values:["auto","left","center","right"],dflt:"right"},y:{valType:"number",min:-2,max:3,dflt:1},yanchor:{valType:"enumerated",values:["auto","top","middle","bottom"],dflt:"top"},pad:i({},a,{}),font:i({},r,{}),bgcolor:{valType:"color"},bordercolor:{valType:"color",dflt:o.borderLine},borderwidth:{valType:"number",min:0,dflt:1}}},{"../../lib/extend":125,"../../plots/font_attributes":184,"../../plots/pad_attributes":187,"../color/attributes":31}],110:[function(e,t,n){"use strict";t.exports={name:"updatemenus",containerClassName:"updatemenu-container",headerGroupClassName:"updatemenu-header-group",headerClassName:"updatemenu-header",headerArrowClassName:"updatemenu-header-arrow",dropdownButtonGroupClassName:"updatemenu-dropdown-button-group",dropdownButtonClassName:"updatemenu-dropdown-button",buttonClassName:"updatemenu-button",itemRectClassName:"updatemenu-item-rect",itemTextClassName:"updatemenu-item-text",menuIndexAttrName:"updatemenu-active-index",autoMarginIdRoot:"updatemenu-",blankHeaderOpts:{label:" "},minWidth:30,minHeight:30,textPadX:24,arrowPadX:16,fontSizeToHeight:1.3,rx:2,ry:2,textOffsetX:12,textOffsetY:3,arrowOffsetX:4,gapButtonHeader:5,gapButton:2,activeColor:"#F4FAFF",hoverColor:"#F4FAFF"}},{}],111:[function(e,t,n){"use strict";function r(e,t,n){function r(n,r){return i.coerce(e,t,s,n,r)}r("visible",o(e,t).length>0)&&(r("active"),r("direction"),r("type"),r("showactive"),r("x"),r("y"),i.noneOrAll(e,t,["x","y"]),r("xanchor"),r("yanchor"),r("pad.t"),r("pad.r"),r("pad.b"),r("pad.l"),i.coerceFont(r,"font",n.font),r("bgcolor",n.paper_bgcolor),r("bordercolor"),r("borderwidth"))}function o(e,t){function n(e,t){return i.coerce(r,o,c,e,t)}for(var r,o,a=e.buttons||[],s=t.buttons=[],l=0;l0?[0]:[]);if(i.enter().append("g").classed(T.containerClassName,!0).style("cursor","pointer"),i.exit().remove(),i.exit().size()&&A(e),0!==n.length){var c=i.selectAll("g."+T.headerGroupClassName).data(n,o);c.enter().append("g").classed(T.headerGroupClassName,!0);var d=i.selectAll("g."+T.dropdownButtonGroupClassName).data([0]);d.enter().append("g").classed(T.dropdownButtonGroupClassName,!0).style("pointer-events","all");for(var p=0;pj,E=r.barLength+2*r.barPad,k=r.barWidth+2*r.barPad,T=h,S=g+y;S+k>u&&(S=u-k);var P=this.container.selectAll("rect.scrollbar-horizontal").data(C?[0]:[]);P.exit().on(".drag",null).remove(),P.enter().append("rect").classed("scrollbar-horizontal",!0).call(i.fill,r.barColor),C?(this.hbar=P.attr({rx:r.barRadius,ry:r.barRadius,x:T,y:S,width:E,height:k}),this._hbarXMin=T+E/2,this._hbarTranslateMax=j-E):(delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax);var M=y>w,D=r.barWidth+2*r.barPad,O=r.barLength+2*r.barPad,I=h+m,R=g;I+D>l&&(I=l-D);var L=this.container.selectAll("rect.scrollbar-vertical").data(M?[0]:[]);L.exit().on(".drag",null).remove(),L.enter().append("rect").classed("scrollbar-vertical",!0).call(i.fill,r.barColor),M?(this.vbar=L.attr({rx:r.barRadius,ry:r.barRadius,x:I,y:R,width:D,height:O}),this._vbarYMin=R+O/2,this._vbarTranslateMax=w-O):(delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax);var F=this.id,N=c-.5,B=M?d+D+.5:d+.5,z=p-.5,H=C?f+k+.5:f+.5,U=s._topdefs.selectAll("#"+F).data(C||M?[0]:[]);if(U.exit().remove(),U.enter().append("clipPath").attr("id",F).append("rect"),C||M?(this._clipRect=U.select("rect").attr({x:Math.floor(N),y:Math.floor(z),width:Math.ceil(B)-Math.floor(N),height:Math.ceil(H)-Math.floor(z)}),this.container.call(a.setClipUrl,F),this.bg.attr({x:h,y:g,width:m,height:y})):(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),C||M){var W=o.behavior.drag().on("dragstart",function(){o.event.sourceEvent.preventDefault()}).on("drag",this._onBoxDrag.bind(this));this.container.on("wheel",null).on("wheel",this._onBoxWheel.bind(this)).on(".drag",null).call(W);var q=o.behavior.drag().on("dragstart",function(){o.event.sourceEvent.preventDefault(),o.event.sourceEvent.stopPropagation()}).on("drag",this._onBarDrag.bind(this));C&&this.hbar.on(".drag",null).call(q),M&&this.vbar.on(".drag",null).call(q)}this.setTranslate(t,n)},r.prototype.disable=function(){(this.hbar||this.vbar)&&(this.bg.attr({width:0,height:0}),this.container.on("wheel",null).on(".drag",null).call(a.setClipUrl,null),delete this._clipRect),this.hbar&&(this.hbar.on(".drag",null),this.hbar.remove(),delete this.hbar,delete this._hbarXMin,delete this._hbarTranslateMax),this.vbar&&(this.vbar.on(".drag",null),this.vbar.remove(),delete this.vbar,delete this._vbarYMin,delete this._vbarTranslateMax)},r.prototype._onBoxDrag=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e-=o.event.dx),this.vbar&&(t-=o.event.dy),this.setTranslate(e,t)},r.prototype._onBoxWheel=function(){var e=this.translateX,t=this.translateY;this.hbar&&(e+=o.event.deltaY),this.vbar&&(t+=o.event.deltaY),this.setTranslate(e,t)},r.prototype._onBarDrag=function(){var e=this.translateX,t=this.translateY;if(this.hbar){var n=e+this._hbarXMin,r=n+this._hbarTranslateMax;e=(s.constrain(o.event.x,n,r)-n)/(r-n)*(this.position.w-this._box.w)}if(this.vbar){var i=t+this._vbarYMin,a=i+this._vbarTranslateMax;t=(s.constrain(o.event.y,i,a)-i)/(a-i)*(this.position.h-this._box.h)}this.setTranslate(e,t)},r.prototype.setTranslate=function(e,t){var n=this.position.w-this._box.w,r=this.position.h-this._box.h;if(e=s.constrain(e||0,0,n),t=s.constrain(t||0,0,r),this.translateX=e,this.translateY=t,this.container.call(a.setTranslate,this._box.l-this.position.l-e,this._box.t-this.position.t-t),this._clipRect&&this._clipRect.attr({x:Math.floor(this.position.l+e-.5),y:Math.floor(this.position.t+t-.5)}),this.hbar){var o=e/n;this.hbar.call(a.setTranslate,e+o*this._hbarTranslateMax,t)}if(this.vbar){var i=t/r;this.vbar.call(a.setTranslate,e,t+i*this._vbarTranslateMax)}}},{"../../lib":129,"../color":32,"../drawing":55,d3:14}],115:[function(e,t,n){"use strict";t.exports={SHOW_PLACEHOLDER:100,HIDE_PLACEHOLDER:1e3}},{}],116:[function(e,t,n){"use strict";t.exports={BADNUM:void 0,FP_SAFE:Number.MAX_VALUE/1e4,ONEAVGYEAR:315576e5,ONEAVGMONTH:26298e5,ONEDAY:864e5,ONEHOUR:36e5,ONEMIN:6e4,ONESEC:1e3,EPOCHJD:2440587.5}},{}],117:[function(e,t,n){"use strict";t.exports={entityToUnicode:{mu:"μ",amp:"&",lt:"<",gt:">",nbsp:" ",times:"×",plusmn:"±",deg:"°"},unicodeToEntity:{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#x27","/":"#x2F"}}},{}],118:[function(e,t,n){"use strict";n.xmlns="http://www.w3.org/2000/xmlns/",n.svg="http://www.w3.org/2000/svg",n.xlink="http://www.w3.org/1999/xlink",n.svgAttrs={xmlns:n.svg,"xmlns:xlink":n.xlink}},{}],119:[function(e,t,n){"use strict";var r=e("./plotly");n.version="1.24.2",e("es6-promise").polyfill(),e("../build/plotcss"),e("./fonts/mathjax_config"),n.plot=r.plot,n.newPlot=r.newPlot,n.restyle=r.restyle,n.relayout=r.relayout,n.redraw=r.redraw,n.update=r.update,n.extendTraces=r.extendTraces,n.prependTraces=r.prependTraces,n.addTraces=r.addTraces,n.deleteTraces=r.deleteTraces,n.moveTraces=r.moveTraces,n.purge=r.purge,n.setPlotConfig=e("./plot_api/set_plot_config"),n.register=e("./plot_api/register"),n.toImage=e("./plot_api/to_image"),n.downloadImage=e("./snapshot/download"),n.validate=e("./plot_api/validate"),n.addFrames=r.addFrames,n.deleteFrames=r.deleteFrames,n.animate=r.animate,n.register(e("./traces/scatter")),n.register([e("./components/legend"),e("./components/annotations"),e("./components/shapes"),e("./components/images"),e("./components/updatemenus"),e("./components/sliders"),e("./components/rangeslider"),e("./components/rangeselector")]),n.Icons=e("../build/ploticon"),n.Plots=r.Plots,n.Fx=r.Fx,n.Snapshot=e("./snapshot"),n.PlotSchema=e("./plot_api/plot_schema"),n.Queue=e("./lib/queue"),n.d3=e("d3")},{"../build/plotcss":1,"../build/ploticon":2,"./components/annotations":30,"./components/images":68,"./components/legend":76,"./components/rangeselector":88,"./components/rangeslider":94,"./components/shapes":101,"./components/sliders":107,"./components/updatemenus":113,"./fonts/mathjax_config":120,"./lib/queue":141,"./plot_api/plot_schema":153,"./plot_api/register":154,"./plot_api/set_plot_config":155,"./plot_api/to_image":157,"./plot_api/validate":158,"./plotly":159,"./snapshot":208,"./snapshot/download":205,"./traces/scatter":304,d3:14,"es6-promise":15}],120:[function(e,t,n){"use strict";"undefined"!=typeof MathJax?(n.MathJax=!0,MathJax.Hub.Config({messageStyle:"none",skipStartupTypeset:!0,displayAlign:"left",tex2jax:{inlineMath:[["$","$"],["\\(","\\)"]]}}),MathJax.Hub.Configured()):n.MathJax=!1},{}],121:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../constants/numerical").BADNUM,i=/^['"%,$#\s']+|[, ]|['"%,$#\s']+$/g;t.exports=function(e){return"string"==typeof e&&(e=e.replace(i,"")),r(e)?Number(e):o}},{"../constants/numerical":116,"fast-isnumeric":17}],122:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("tinycolor2"),i=e("../components/colorscale/get_scale"),a=(Object.keys(e("../components/colorscale/scales")),e("./nested_property")),s=/^([2-9]|[1-9][0-9]+)$/;n.valObjects={data_array:{coerceFunction:function(e,t,n){Array.isArray(e)?t.set(e):void 0!==n&&t.set(n)}},enumerated:{coerceFunction:function(e,t,n,r){r.coerceNumber&&(e=+e),r.values.indexOf(e)===-1?t.set(n):t.set(e)}},boolean:{coerceFunction:function(e,t,n){e===!0||e===!1?t.set(e):t.set(n)}},number:{coerceFunction:function(e,t,n,o){!r(e)||void 0!==o.min&&eo.max?t.set(n):t.set(+e)}},integer:{coerceFunction:function(e,t,n,o){e%1||!r(e)||void 0!==o.min&&eo.max?t.set(n):t.set(+e)}},string:{coerceFunction:function(e,t,n,r){if("string"!=typeof e){var o="number"==typeof e;r.strict!==!0&&o?t.set(String(e)):t.set(n)}else r.noBlank&&!e?t.set(n):t.set(e)}},color:{coerceFunction:function(e,t,n){o(e).isValid()?t.set(e):t.set(n)}},colorscale:{coerceFunction:function(e,t,n){t.set(i(e,n))}},angle:{coerceFunction:function(e,t,n){"auto"===e?t.set("auto"):r(e)?(Math.abs(e)>180&&(e-=360*Math.round(e/360)),t.set(+e)):t.set(n)}},subplotid:{coerceFunction:function(e,t,n){var r=n.length;if("string"==typeof e&&e.substr(0,r)===n&&s.test(e.substr(r)))return void t.set(e);t.set(n)},validateFunction:function(e,t){var n=t.dflt,r=n.length;return e===n||"string"==typeof e&&!(e.substr(0,r)!==n||!s.test(e.substr(r)))}},flaglist:{coerceFunction:function(e,t,n,r){if("string"!=typeof e)return void t.set(n);if((r.extras||[]).indexOf(e)!==-1)return void t.set(e);for(var o=e.split("+"),i=0;i0&&(a=a.replace(/0+$/,"").replace(/[\.]$/,"")),r+=":"+a}return r}function l(e){return e.formatDate("yyyy")}function u(e){return e.formatDate("M yyyy")}function c(e){return e.formatDate("M d")}function d(e){return e.formatDate("M d, yyyy")}var p=e("d3"),f=e("fast-isnumeric"),h=e("./loggers").error,m=e("./mod"),g=e("../constants/numerical"),y=g.BADNUM,v=g.ONEDAY,b=g.ONEHOUR,_=g.ONEMIN,A=g.ONESEC,x=g.EPOCHJD,j=e("../registry"),w=p.time.format.utc,C=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\d)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,E=/^\s*(-?\d\d\d\d|\d\d)(-(\d?\di?)(-(\d?\d)([ Tt]([01]?\d|2[0-3])(:([0-5]\d)(:([0-5]\d(\.\d+)?))?(Z|z|[+\-]\d\d:?\d\d)?)?)?)?)?\s*$/m,k=(new Date).getFullYear()-70;n.dateTick0=function(e,t){return r(e)?t?j.getComponentMethod("calendars","CANONICAL_SUNDAY")[e]:j.getComponentMethod("calendars","CANONICAL_TICK")[e]:t?"2000-01-02":"2000-01-01"},n.dfltRange=function(e){return r(e)?j.getComponentMethod("calendars","DFLTRANGE")[e]:["2000-01-01","2001-01-01"]},n.isJSDate=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.getTime};var T,S;n.dateTime2ms=function(e,t){if(n.isJSDate(e))return e=Number(e)-e.getTimezoneOffset()*_,e>=T&&e<=S?e:y;if("string"!=typeof e&&"number"!=typeof e)return y;e=String(e);var o=r(t),i=e.charAt(0);!o||"G"!==i&&"g"!==i||(e=e.substr(1),t="");var a=o&&"chinese"===t.substr(0,7),s=e.match(a?E:C);if(!s)return y;var l=s[1],u=s[3]||"1",c=Number(s[5]||1),d=Number(s[7]||0),p=Number(s[9]||0),f=Number(s[11]||0);if(o){if(2===l.length)return y;l=Number(l);var h;try{var m=j.getComponentMethod("calendars","getCal")(t);if(a){var g="i"===u.charAt(u.length-1);u=parseInt(u,10),h=m.newDate(l,m.toMonthIndex(l,u,g),c)}else h=m.newDate(l,Number(u),c)}catch(e){return y}return h?(h.toJD()-x)*v+d*b+p*_+f*A:y}l=2===l.length?(Number(l)+2e3-k)%100+k:Number(l),u-=1;var w=new Date(Date.UTC(2e3,u,c,d,p));return w.setUTCFullYear(l),w.getUTCMonth()!==u?y:w.getUTCDate()!==c?y:w.getTime()+f*A},T=n.MIN_MS=n.dateTime2ms("-9999"),S=n.MAX_MS=n.dateTime2ms("9999-12-31 23:59:59.9999"),n.isDateTime=function(e,t){return n.dateTime2ms(e,t)!==y};var P=90*v,M=3*b,D=5*_;n.ms2DateTime=function(e,t,n){if("number"!=typeof e||!(e>=T&&e<=S))return y;t||(t=0);var o,a,s,l,u,c,d=Math.floor(10*m(e+.05,1)),p=Math.round(e-d/10);if(r(n)){var f=Math.floor(p/v)+x,h=Math.floor(m(e,v));try{o=j.getComponentMethod("calendars","getCal")(n).fromJD(f).formatDate("yyyy-mm-dd")}catch(e){o=w("G%Y-%m-%d")(new Date(p))}if("-"===o.charAt(0))for(;o.length<11;)o="-0"+o.substr(1);else for(;o.length<10;)o="0"+o;a=t=T+v&&e<=S-v))return y;var t=Math.floor(10*m(e+.05,1)),n=new Date(Math.round(e-t/10));return i(p.time.format("%Y-%m-%d")(n),n.getHours(),n.getMinutes(),n.getSeconds(),10*n.getUTCMilliseconds()+t)},n.cleanDate=function(e,t,o){if(n.isJSDate(e)||"number"==typeof e){if(r(o))return h("JS Dates and milliseconds are incompatible with world calendars",e),t;if(!(e=n.ms2DateTimeLocal(+e))&&void 0!==t)return t}else if(!n.isDateTime(e,o))return h("unrecognized date",e),t;return e};var O=/%\d?f/g,I=[59,59.9,59.99,59.999,59.9999],R=w("%Y"),L=w("%b %Y"),F=w("%b %-d"),N=w("%b %-d, %Y");n.formatDate=function(e,t,n,o){var i,p;if(o=r(o)&&o,t)return a(t,e,o);if(o)try{var f=Math.floor((e+.05)/v)+x,h=j.getComponentMethod("calendars","getCal")(o).fromJD(f);"y"===n?p=l(h):"m"===n?p=u(h):"d"===n?(i=l(h),p=c(h)):(i=d(h),p=s(e,n))}catch(e){return"Invalid"}else{var m=new Date(Math.floor(e+.05));"y"===n?p=R(m):"m"===n?p=L(m):"d"===n?(i=R(m),p=F(m)):(i=N(m),p=s(e,n))}return p+(i?"\n"+i:"")};var B=3*v;n.incrementMonth=function(e,t,n){n=r(n)&&n;var o=m(e,v);if(e=Math.round(e-o),n)try{var i=Math.round(e/v)+x,a=j.getComponentMethod("calendars","getCal")(n),s=a.fromJD(i);return t%12?a.add(s,t,"m"):a.add(s,t/12,"y"),(s.toJD()-x)*v+o}catch(t){h("invalid ms "+e+" in calendar "+n)}var l=new Date(e+B);return l.setUTCMonth(l.getUTCMonth()+t)+o-B},n.findExactDates=function(e,t){for(var n,o,i=0,a=0,s=0,l=0,u=r(t)&&j.getComponentMethod("calendars","getCal")(t),c=0;cn?Math.max(n,Math.min(t,e)):Math.max(t,Math.min(n,e))},o.bBoxIntersect=function(e,t,n){return n=n||0,e.left<=t.right+n&&t.left<=e.right+n&&e.top<=t.bottom+n&&t.top<=e.bottom+n},o.simpleMap=function(e,t,n,r){for(var o=e.length,i=new Array(o),a=0;a-1||c!==1/0&&c>=Math.pow(2,n)?e(t,n,r):l},o.OptionControl=function(e,t){e||(e={}),t||(t="opt");var n={};return n.optionList=[],n._newoption=function(r){r[t]=e,n[r.name]=r,n.optionList.push(r)},n["_"+t]=e,n},o.smooth=function(e,t){if((t=Math.round(t)||0)<2)return e;var n,r,o,i,a=e.length,s=2*a,l=2*t-1,u=new Array(l),c=new Array(a);for(n=0;n=s&&(o-=s*Math.floor(o/s)),o<0?o=-1-o:o>=a&&(o=s-1-o),i+=e[o]*u[r];c[n]=i}return c},o.syncOrAsync=function(e,t,n){function r(){return o.syncOrAsync(e,t,n)}for(var i,a;e.length;)if(a=e.splice(0,1)[0],(i=a(t))&&i.then)return i.then(r).then(void 0,o.promiseError);return n&&n(t)},o.stripTrailingSlash=function(e){return"/"===e.substr(-1)?e.substr(0,e.length-1):e},o.noneOrAll=function(e,t,n){if(e){var r,o,i=!1,a=!0;for(r=0;r1?o+a[1]:"";if(i&&(a.length>1||s.length>4||n))for(;r.test(s);)s=s.replace(r,"$1"+i+"$2");return s+l}},{"./clean_number":121,"./coerce":122,"./dates":123,"./extend":125,"./filter_unique":126,"./filter_visible":127,"./identity":128,"./is_array":130,"./is_plain_object":131,"./loggers":132,"./matrix":133,"./mod":134,"./nested_property":135,"./noop":136,"./notifier":137,"./push_unique":140,"./relink_private":142,"./search":143,"./stats":145,"./to_log_range":147,d3:14}],130:[function(e,t,n){"use strict";var r="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer:{isView:function(){return!1}};t.exports=function(e){return Array.isArray(e)||r.isView(e)}},{}],131:[function(e,t,n){"use strict";t.exports=function(e){return window&&window.process&&window.process.versions?"[object Object]"===Object.prototype.toString.call(e):"[object Object]"===Object.prototype.toString.call(e)&&Object.getPrototypeOf(e)===Object.prototype}},{}],132:[function(e,t,n){"use strict";function r(e,t){if(e.apply)e.apply(e,t);else for(var n=0;n1){for(var e=["LOG:"],t=0;t0){for(var e=["WARN:"],t=0;t0){for(var e=["ERROR:"],t=0;t=0;t--){if(r=e[t][0],i=e[t][1],l=!1,f(r))for(n=r.length-1;n>=0;n--)o(r[n],a(i,n))?l?r[n]=void 0:r.pop():l=!0;else if("object"==typeof r&&null!==r)for(s=Object.keys(r),l=!1,n=s.length-1;n>=0;n--)o(r[s[n]],a(i,s[n]))?delete r[s[n]]:l=!0;if(l)return}}function c(e){return void 0===e||null===e||"object"==typeof e&&(f(e)?!e.length:!Object.keys(e).length)}function d(e,t,n){return{set:function(){throw"bad container"},get:function(){},astr:t,parts:n,obj:e}}var p=e("fast-isnumeric"),f=e("./is_array"),h=e("./is_plain_object"),m=e("../plot_api/container_array_match");t.exports=function(e,t){if(p(t))t=String(t);else if("string"!=typeof t||"[-1]"===t.substr(t.length-4))throw"bad property string";for(var n,o,a,s=0,l=t.split(".");s/g),s=0;si||rs)&&(!t||!u(e))}function n(e,t){var n=e[0],l=e[1];if(ni||ls)return!1;var u,c,d,p,f,h=r.length,m=r[0][0],g=r[0][1],y=0;for(u=1;uMath.max(c,m)||l>Math.max(d,g)))if(lc||Math.abs(r(a,p))>o)return!0;return!1};o.filter=function(e,t){function n(n){e.push(n);var s=r.length,l=o;r.splice(a+1);for(var u=l+1;u1){n(e.pop())}return{addPt:n,raw:e,filtered:r}}},{"./matrix":133}],140:[function(e,t,n){"use strict";t.exports=function(e,t){if(t instanceof RegExp){var n,r=t.toString();for(n=0;ni.queueLength&&(e.undoQueue.queue.shift(),e.undoQueue.index--)},a.startSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!0,e.undoQueue.beginSequence=!0},a.stopSequence=function(e){e.undoQueue=e.undoQueue||{index:0,queue:[],sequence:!1},e.undoQueue.sequence=!1,e.undoQueue.beginSequence=!1},a.undo=function(e){var t,n;if(e.framework&&e.framework.isPolar)return void e.framework.undo();if(!(void 0===e.undoQueue||isNaN(e.undoQueue.index)||e.undoQueue.index<=0)){for(e.undoQueue.index--,t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;n=e.undoQueue.queue.length)){for(t=e.undoQueue.queue[e.undoQueue.index],e.undoQueue.inSequence=!0,n=0;nt}function a(e,t){return e>=t}var s=e("fast-isnumeric"),l=e("./loggers");n.findBin=function(e,t,n){if(s(t.start))return n?Math.ceil((e-t.start)/t.size)-1:Math.floor((e-t.start)/t.size);var u,c,d=0,p=t.length,f=0;for(c=t[t.length-1]>=t[0]?n?r:o:n?a:i;d90&&l.log("Long binary search..."),d-1},n.sorterAsc=function(e,t){return e-t},n.sorterDes=function(e,t){return t-e},n.distinctVals=function(e){var t=e.slice();t.sort(n.sorterAsc);for(var r=t.length-1,o=t[r]-t[0]||1,i=o/(r||1)/1e4,a=[t[0]],s=0;st[s]+i&&(o=Math.min(o,t[s+1]-t[s]),a.push(t[s+1]));return{vals:a,minDiff:o}},n.roundUp=function(e,t,n){for(var r,o=0,i=t.length-1,a=0,s=n?0:1,l=n?1:0,u=n?Math.ceil:Math.floor;oe.length-1)return e[e.length-1];var n=t%1;return n*e[Math.ceil(t)]+(1-n)*e[Math.floor(t)]}},{"fast-isnumeric":17}],146:[function(e,t,n){"use strict";function r(e,t){return e.node().getBoundingClientRect()[t]}function o(e){return e.replace(/(<|<|<)/g,"\\lt ").replace(/(>|>|>)/g,"\\gt ")}function i(e,t,n){var r="math-output-"+p.randstr([],64),i=d.select("body").append("div").attr({id:r}).style({visibility:"hidden",position:"absolute"}).style({"font-size":t.fontSize+"px"}).text(o(e));MathJax.Hub.Queue(["Typeset",MathJax.Hub,i.node()],function(){var t=d.select("body").select("#MathJax_SVG_glyphs");if(i.select(".MathJax_SVG").empty()||!i.select("svg").node())p.log("There was an error in the tex syntax.",e),n();else{var r=i.select("svg").node().getBoundingClientRect();n(i.select(".MathJax_SVG"),t,r)}i.remove()})}function a(e,t){for(var n=e||"",r=0;r]*>)/).map(function(e){var t=e.match(/<(\/?)([^ >]*)\s*(.*)>/i),r=t&&t[2].toLowerCase(),o=m[r];if(void 0!==o){var i=t[1],a=t[3],s=a.match(/^style\s*=\s*"([^"]+)"\s*/i);if("a"===r){if(i)return"";if("href"!==a.substr(0,4).toLowerCase())return"";var u=a.substr(4).replace(/["']/g,"").replace(/=/,""),c=document.createElement("a");return c.href=u,g.indexOf(c.protocol)===-1?"":''}if("br"===r)return"
";if(i)return"sup"===r?'':"sub"===r?'':"";var d=""}return n.xml_entity_encode(e).replace(/");o>0;o=t.indexOf("
",o+1))r.push(o);var i=0;r.forEach(function(e){for(var n=e+i,r=t.slice(0,n),o="",a=r.length-1;a>=0;a--){var s=r[a].match(/<(\/?).*>/i);if(s&&"
"!==r[a]){s[1]||(o=r[a]);break}}o&&(t.splice(n+1,0,o),t.splice(n,0,""),i+=2)});var a=t.join(""),u=a.split(/
/gi);return u.length>1&&(t=u.map(function(e,t){return''+e+""})),t.join("")}function c(e,t,n){var r,o,i,a=n.horizontalAlign,s=n.verticalAlign||"top",l=e.node().getBoundingClientRect(),u=t.node().getBoundingClientRect();return o="bottom"===s?function(){return l.bottom-r.height}:"middle"===s?function(){return l.top+(l.height-r.height)/2}:function(){return l.top},i="right"===a?function(){return l.right-r.width}:"center"===a?function(){return l.left+(l.width-r.width)/2}:function(){return l.left},function(){return r=this.node().getBoundingClientRect(),this.style({top:o()-u.top+"px",left:i()-u.left+"px","z-index":1e3}),this}}var d=e("d3"),p=e("../lib"),f=e("../constants/xmlns_namespaces"),h=e("../constants/string_mappings");d.selection.prototype.appendSVG=function(e){for(var t=['',e,""].join(""),n=(new DOMParser).parseFromString(t,"application/xml"),r=n.documentElement.firstChild;r;)this.node().appendChild(this.node().ownerDocument.importNode(r,!0)),r=r.nextSibling;return n.querySelector("parsererror")?(p.log(n.querySelector("parsererror div").textContent),null):d.select(this.node().lastChild)},n.html_entity_decode=function(e){var t=d.select("body").append("div").style({display:"none"}).html(""),n=e.replace(/(&[^;]*;)/gi,function(e){return"<"===e?"<":"&rt;"===e?">":e.indexOf("<")!==-1||e.indexOf(">")!==-1?"":t.html(e).text()});return t.remove(),n},n.xml_entity_encode=function(e){return e.replace(/&(?!\w+;|\#[0-9]+;| \#x[0-9A-F]+;)/g,"&")},n.convertToTspans=function(e,t){function n(){f.empty()||(h=s.attr("class")+"-math",f.select("svg."+h).remove()),e.text("").style({visibility:"inherit","white-space":"pre"}),c=e.appendSVG(a),c||e.text(o),e.select("a").size()&&e.style("pointer-events","all"),t&&t.call(s)}var o=e.text(),a=u(o),s=e,l=!s.attr("data-notex")&&a.match(/([^$]*)([$]+[^$]*[$]+)([^$]*)/),c=o,f=d.select(s.node().parentNode);if(!f.empty()){var h=s.attr("class")?s.attr("class").split(" ")[0]:"text";h+="-math",f.selectAll("svg."+h).remove(),f.selectAll("g."+h+"-group").remove(),e.style({visibility:null});for(var m=e.node();m&&m.removeAttribute;m=m.parentNode)m.removeAttribute("data-bb");if(l){var g=p.getPlotDiv(s.node());(g&&g._promises||[]).push(new Promise(function(e){s.style({visibility:"hidden"});var o={fontSize:parseInt(s.style("font-size"),10)};i(l[2],o,function(o,i,a){f.selectAll("svg."+h).remove(),f.selectAll("g."+h+"-group").remove();var l=o&&o.select("svg");if(!l||!l.node())return n(),void e();var u=f.append("g").classed(h+"-group",!0).attr({"pointer-events":"none"});u.node().appendChild(l.node()),i&&i.node()&&l.node().insertBefore(i.node().cloneNode(!0),l.node().firstChild),l.attr({class:h,height:a.height,preserveAspectRatio:"xMinYMin meet"}).style({overflow:"visible","pointer-events":"none"});var c=s.style("fill")||"black";l.select("g").attr({fill:c,stroke:c});var d=r(l,"width"),p=r(l,"height"),m=+s.attr("x")-d*{start:0,middle:.5,end:1}[s.attr("text-anchor")||"start"],g=parseInt(s.style("font-size"),10)||r(s,"height"),y=-g/4;"y"===h[0]?(u.attr({transform:"rotate("+[-90,+s.attr("x"),+s.attr("y")]+") translate("+[-d/2,y-p/2]+")"}),l.attr({x:+s.attr("x"),y:+s.attr("y")})):"l"===h[0]?l.attr({x:s.attr("x"),y:y-p/2}):"a"===h[0]?l.attr({x:0,y:y}):l.attr({x:m,y:+s.attr("y")+y-p/2}),t&&t.call(s,u),e(u)})}))}else n();return e}};var m={sup:'font-size:70%" dy="-0.6em',sub:'font-size:70%" dy="0.3em',b:"font-weight:bold",i:"font-style:italic",a:"",span:"",br:"",em:"font-style:italic;font-weight:bold"},g=["http:","https:","mailto:"],y=new RegExp("]*)?/?>","g"),v=Object.keys(h.entityToUnicode).map(function(e){return{regExp:new RegExp("&"+e+";","g"),sub:h.entityToUnicode[e]}}),b=Object.keys(h.unicodeToEntity).map(function(e){return{regExp:new RegExp(e,"g"),sub:"&"+h.unicodeToEntity[e]+";"}}),_=/(\r\n?|\n)/g;n.plainText=function(e){return(e||"").replace(y," ")},n.makeEditable=function(e,t,n){function r(){i(),a.style({opacity:0});var e,t=u.attr("class");(e=t?"."+t.split(" ")[0]+"-math-group":"[class*=-math-group]")&&d.select(a.node().parentNode).select(e).style({opacity:0})}function o(e){var t=e.node(),n=document.createRange();n.selectNodeContents(t);var r=window.getSelection();r.removeAllRanges(),r.addRange(n),t.focus()}function i(){var e=d.select(p.getPlotDiv(a.node())),t=e.select(".svg-container"),r=t.append("div");r.classed("plugin-editable editable",!0).style({position:"absolute","font-family":a.style("font-family")||"Arial","font-size":a.style("font-size")||12,color:n.fill||a.style("fill")||"black",opacity:1,"background-color":n.background||"transparent",outline:"#ffffff33 1px solid",margin:[-parseFloat(a.style("font-size"))/8+1,0,0,-1].join("px ")+"px",padding:"0","box-sizing":"border-box"}).attr({contenteditable:!0}).text(n.text||a.attr("data-unformatted")).call(c(a,t,n)).on("blur",function(){a.text(this.textContent).style({opacity:1});var e,t=d.select(this).attr("class");(e=t?"."+t.split(" ")[0]+"-math-group":"[class*=-math-group]")&&d.select(a.node().parentNode).select(e).style({opacity:0});var n=this.textContent;d.select(this).transition().duration(0).remove(),d.select(document).on("mouseup",null),s.edit.call(a,n)}).on("focus",function(){var e=this;d.select(document).on("mouseup",function(){if(d.event.target===e)return!1;document.activeElement===r.node()&&r.node().blur()})}).on("keyup",function(){27===d.event.which?(a.style({opacity:1}),d.select(this).style({opacity:0}).on("blur",function(){return!1}).transition().remove(),s.cancel.call(a,this.textContent)):(s.input.call(a,this.textContent),d.select(this).call(c(a,t,n)))}).on("keydown",function(){13===d.event.which&&this.blur()}).call(o)}n||(n={});var a=this,s=d.dispatch("edit","input","cancel"),l=d.select(this.node()).style({"pointer-events":"all"}),u=t||l;return t&&l.style({"pointer-events":"none"}),n.immediate?r():u.on("click",r),d.rebind(this,s,"on")}},{"../constants/string_mappings":117,"../constants/xmlns_namespaces":118,"../lib":129,d3:14}],147:[function(e,t,n){"use strict";var r=e("fast-isnumeric");t.exports=function(e,t){if(e>0)return Math.log(e)/Math.LN10;var n=Math.log(Math.min(t[0],t[1]))/Math.LN10;return r(n)||(n=Math.log(Math.max(t[0],t[1]))/Math.LN10-6),n}},{"fast-isnumeric":17}],148:[function(e,t,n){"use strict";var r=e("../registry");t.exports=function(e){for(var t,n,o=r.layoutArrayContainers,i=r.layoutArrayRegexes,a=e.split("[")[0],s=0;s0)return e.substr(0,t)}var s=e("fast-isnumeric"),l=e("gl-mat4/fromQuat"),u=e("../registry"),c=e("../lib"),d=e("../plots/plots"),p=e("../plots/cartesian/axes"),f=e("../components/color");n.getGraphDiv=function(e){var t;if("string"==typeof e){if(null===(t=document.getElementById(e)))throw new Error("No DOM element with id '"+e+"' exists on the page.");return t}if(null===e||void 0===e)throw new Error("DOM element provided is null or undefined");return e},n.clearPromiseQueue=function(e){Array.isArray(e._promises)&&e._promises.length>0&&c.log("Clearing previous rejected promises from queue."),e._promises=[]},n.cleanLayout=function(e){var t,n;e||(e={}),e.xaxis1&&(e.xaxis||(e.xaxis=e.xaxis1),delete e.xaxis1),e.yaxis1&&(e.yaxis||(e.yaxis=e.yaxis1),delete e.yaxis1);var o=p.list({_fullLayout:e});for(t=0;t3?(g.x=1.02,g.xanchor="left"):g.x<-2&&(g.x=-.02,g.xanchor="right"),g.y>3?(g.y=1.02,g.yanchor="bottom"):g.y<-2&&(g.y=-.02,g.yanchor="top")),"rotate"===e.dragmode&&(e.dragmode="orbit"),e.scene1&&(e.scene||(e.scene=e.scene1),delete e.scene1);var y=d.getSubplotIds(e,"gl3d");for(t=0;t1&&a.warn("Full array edits are incompatible with other edits",c);var y=n[""][""];if(u(y))t.set(null);else{if(!Array.isArray(y))return a.warn("Unrecognized full array edit value",c,y),!0;t.set(y)}return!h&&(d(m,g),p(e),!0)}var v,b,_,A,x,j,w,C=Object.keys(n).map(Number).sort(),E=t.get(),k=E||[],T=r(g,c).get(),S=[],P=-1,M=k.length;for(v=0;vk.length-(w?0:1))a.warn("index out of range",c,_);else if(void 0!==j)x.length>1&&a.warn("Insertion & removal are incompatible with edits to the same index.",c,_),u(j)?S.push(_):w?("add"===j&&(j={}),k.splice(_,0,j),T&&T.splice(_,0,{})):a.warn("Unrecognized full object edit value",c,_,j),P===-1&&(P=_);else for(b=0;b=0;v--)k.splice(S[v],1),T&&T.splice(S[v],1);if(k.length?E||t.set(k):t.set(null),h)return!1;if(d(m,g),f!==i){var D;if(P===-1)D=C;else{for(M=Math.max(k.length,M),D=[],v=0;v=P);v++)D.push(_);for(v=P;v=e.data.length||o<-e.data.length)throw new Error(n+" must be valid indices for gd.data.");if(t.indexOf(o,r+1)>-1||o>=0&&t.indexOf(-e.data.length+o)>-1||o<0&&t.indexOf(e.data.length+o)>-1)throw new Error("each index in "+n+" must be unique.")}}function l(e,t,n){if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("currentIndices is a required argument.");if(Array.isArray(t)||(t=[t]),s(e,t,"currentIndices"),void 0===n||Array.isArray(n)||(n=[n]),void 0!==n&&s(e,n,"newIndices"),void 0!==n&&t.length!==n.length)throw new Error("current and new indices must be of equal length.")}function u(e,t,n){var r,o;if(!Array.isArray(e.data))throw new Error("gd.data must be an array.");if(void 0===t)throw new Error("traces must be defined.");for(Array.isArray(t)||(t=[t]),r=0;r=0&&lL.range[0]?[1,2]:[2,1]);else{var B=L.range[0],z=L.range[1];F?(B<=0&&z<=0&&n(D+".autorange",!0),B<=0?B=z/1e6:z<=0&&(z=B/1e6),n(D+".range[0]",Math.log(B)/Math.LN10),n(D+".range[1]",Math.log(z)/Math.LN10)):(n(D+".range[0]",Math.pow(10,B)),n(D+".range[1]",Math.pow(10,z)))}else n(D+".autorange",!0);x.getComponentMethod("annotations","convertCoords")(e,R,w,n),x.getComponentMethod("images","convertCoords")(e,R,w,n)}else n(D+".autorange",!0)}else if(T.match(O.AX_NAME_PATTERN)){var H=b.nestedProperty(l,_).get(),U=(w||{}).type;U&&"-"!==U||(U="linear"),x.getComponentMethod("annotations","convertCoords")(e,H,U,n),x.getComponentMethod("images","convertCoords")(e,H,U,n)}var W=P.containerArrayMatch(_);if(W){o=W.array,i=W.index;var q=W.property,V=b.nestedProperty(s,o),G=(V||[])[i]||{};if(""===i)_.indexOf("updatemenus")===-1&&(m.docalc=!0);else if(""===q){var K=w;P.isAddVal(w)?y[_]=null:P.isRemoveVal(w)?(y[_]=G,K=G):b.warn("unrecognized full object value",t),(r(K,"x")||r(K,"y")&&_.indexOf("updatemenus")===-1)&&(m.docalc=!0)}else!r(G,"x")&&!r(G,"y")||b.containsAny(_,["color","opacity","align","dash","updatemenus"])||(m.docalc=!0);d[o]||(d[o]={});var Y=d[o][i];Y||(Y=d[o][i]={}),Y[q]=w,delete t[_]}else if("reverse"===T)I.range?I.range.reverse():(n(D+".autorange",!0),I.range=[1,0]),R.autorange?m.docalc=!0:m.doplot=!0;else{var Q=String(A.parts[1]||"");0===k.indexOf("scene")?"camera"===A.parts[1]?m.docamera=!0:m.doplot=!0:0===k.indexOf("geo")?m.doplot=!0:0===k.indexOf("ternary")?m.doplot=!0:"paper_bgcolor"===_?m.doplot=!0:!l._has("gl2d")||_.indexOf("axis")===-1&&"plot_bgcolor"!==_?"hiddenlabels"===_?m.docalc=!0:k.indexOf("legend")!==-1?m.dolegend=!0:_.indexOf("title")!==-1?m.doticks=!0:k.indexOf("bgcolor")!==-1?m.dolayoutstyle=!0:C>1&&b.containsAny(Q,["tick","exponent","grid","zeroline"])?m.doticks=!0:_.indexOf(".linewidth")!==-1&&_.indexOf("axis")!==-1?m.doticks=m.dolayoutstyle=!0:C>1&&Q.indexOf("line")!==-1?m.dolayoutstyle=!0:C>1&&"mirror"===Q?m.doticks=m.dolayoutstyle=!0:"margin.pad"===_?m.doticks=m.dolayoutstyle=!0:"margin"===k||"autorange"===Q||"rangemode"===Q||"type"===Q||"domain"===Q||_.indexOf("calendar")!==-1||_.match(/^(bar|box|font)/)?m.docalc=!0:["hovermode","dragmode"].indexOf(_)!==-1?m.domodebar=!0:["hovermode","dragmode","height","width","autosize"].indexOf(_)===-1&&(m.doplot=!0):m.doplot=!0,A.set(w)}}}for(o in d){P.applyContainerArrayChanges(e,b.nestedProperty(s,o),d[o],m)||(m.doplot=!0)}var X=e._fullLayout.width,Z=e._fullLayout.height;return e.layout.autosize&&j.plotAutoSize(e,e.layout,e._fullLayout),(t.height||t.width||e._fullLayout.width!==X||e._fullLayout.height!==Z)&&(m.docalc=!0),(m.doplot||m.docalc)&&(m.layoutReplot=!0),{flags:m,undoit:y,redoit:g,eventData:b.extendDeep({},g)}}function m(e){var t=g.select(e),n=e._fullLayout;if(n._container=t.selectAll(".plot-container").data([0]),n._container.enter().insert("div",":first-child").classed("plot-container",!0).classed("plotly",!0),n._paperdiv=n._container.selectAll(".svg-container").data([0]),n._paperdiv.enter().append("div").classed("svg-container",!0).style("position","relative"),n._glcontainer=n._paperdiv.selectAll(".gl-container").data([0]),n._glcontainer.enter().append("div").classed("gl-container",!0),n._paperdiv.selectAll(".main-svg").remove(),n._paper=n._paperdiv.insert("svg",":first-child").classed("main-svg",!0),n._toppaper=n._paperdiv.append("svg").classed("main-svg",!0),!n._uid){var r=[];g.selectAll("defs").each(function(){this.id&&r.push(this.id.split("-")[1])}),n._uid=b.randstr(r)}n._paperdiv.selectAll(".main-svg").attr(T.svgAttrs),n._defs=n._paper.append("defs").attr("id","defs-"+n._uid),n._topdefs=n._toppaper.append("defs").attr("id","topdefs-"+n._uid),n._bgLayer=n._paper.append("g").classed("bglayer",!0),n._draggers=n._paper.append("g").classed("draglayer",!0);var o=n._paper.append("g").classed("layer-below",!0);n._imageLowerLayer=o.append("g").classed("imagelayer",!0),n._shapeLowerLayer=o.append("g").classed("shapelayer",!0),n._cartesianlayer=n._paper.append("g").classed("cartesianlayer",!0),n._ternarylayer=n._paper.append("g").classed("ternarylayer",!0),n._geolayer=n._paper.append("g").classed("geolayer",!0);var i=n._paper.append("g").classed("layer-above",!0);n._imageUpperLayer=i.append("g").classed("imagelayer",!0),n._shapeUpperLayer=i.append("g").classed("shapelayer",!0),n._pielayer=n._paper.append("g").classed("pielayer",!0),n._glimages=n._paper.append("g").classed("glimages",!0),n._infolayer=n._toppaper.append("g").classed("infolayer",!0),n._zoomlayer=n._toppaper.append("g").classed("zoomlayer",!0),n._hoverlayer=n._toppaper.append("g").classed("hoverlayer",!0),e.emit("plotly_framework")}var g=e("d3"),y=e("fast-isnumeric"),v=e("../plotly"),b=e("../lib"),_=e("../lib/events"),A=e("../lib/queue"),x=e("../registry"),j=e("../plots/plots"),w=e("../plots/cartesian/graph_interact"),C=e("../plots/polar"),E=e("../components/drawing"),k=e("../components/errorbars"),T=e("../constants/xmlns_namespaces"),S=e("../lib/svg_text_utils"),P=e("./manage_arrays"),M=e("./helpers"),D=e("./subroutines"),O=e("../plots/cartesian/constants");v.plot=function(e,t,n,r){function a(){if(y)return v.addFrames(e,y)}function s(){for(var t=T._basePlotModules,n=0;n=s.length?s[0]:s[e]:s}function o(e){return Array.isArray(l)?e>=l.length?l[0]:l[e]:l}function i(e,t){var n=0;return function(){if(e&&++n===t)return e()}}if(e=M.getGraphDiv(e),!b.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before animating it. For more details, see https://plot.ly/javascript/animations/");var a=e._transitionData;a._frameQueue||(a._frameQueue=[]),n=j.supplyAnimationDefaults(n);var s=n.transition,l=n.frame;return void 0===a._frameWaitingCnt&&(a._frameWaitingCnt=0),new Promise(function(l,u){function c(){if(0!==a._frameQueue.length){for(;a._frameQueue.length;){var t=a._frameQueue.pop();t.onInterrupt&&t.onInterrupt()}e.emit("plotly_animationinterrupted",[])}}function d(t){if(0!==t.length){for(var s=0;sa._timeToNext&&f()};t()}function m(e){return Array.isArray(s)?v>=s.length?e.transitionOpts=s[v]:e.transitionOpts=s[0]:e.transitionOpts=s,v++,e}var g,y,v=0,_=[],A=void 0===t||null===t,x=Array.isArray(t);if(A||x||!b.isPlainObject(t)){if(A||["string","number"].indexOf(typeof t)!==-1)for(g=0;g0&&E<_.length-1){var k=[];for(g=0;g<_.length;g++)y=_[g],("byname"!==_[g].type||g>E)&&k.push(y);_=k}}_.length>0?d(_):(e.emit("plotly_animated"),l())})},v.addFrames=function(e,t,n){e=M.getGraphDiv(e);var r=0;if(null===t||void 0===t)return Promise.resolve();if(!b.isPlotDiv(e))throw new Error("This element is not a Plotly plot: "+e+". It's likely that you've failed to create a plot before adding frames. For more details, see https://plot.ly/javascript/animations/");var o,i,a,s,l=e._transitionData._frames,u=e._transitionData._frameHash;if(!Array.isArray(t))throw new Error("addFrames failure: frameList must be an Array of frame definitions"+t);var c=l.length+2*t.length,d=[];for(o=t.length-1;o>=0;o--)if(b.isPlainObject(t[o])){var p=(u[t[o].name]||{}).name,f=t[o].name;p&&f&&"number"==typeof f&&u[p]&&(r++,b.warn('addFrames: overwriting frame "'+u[p].name+'" with a frame whose name of type "number" also equates to "'+p+'". This is valid but may potentially lead to unexpected behavior since all plotly.js frame names are stored internally as strings.'),r>5&&b.warn("addFrames: This API call has yielded too many warnings. For the rest of this call, further warnings about numeric frame names will be suppressed.")),d.push({frame:j.supplyFrameDefaults(t[o]),index:n&&void 0!==n[o]&&null!==n[o]?n[o]:c+o})}d.sort(function(e,t){return e.index>t.index?-1:e.index=0;o--){if(i=d[o].frame,"number"==typeof i.name&&b.warn("Warning: addFrames accepts frames with numeric names, but the numbers areimplicitly cast to strings"),!i.name)for(;u[i.name="frame "+e._transitionData._counter++];);if(u[i.name]){for(a=0;a=0;n--)r=t[n],i.push({type:"delete",index:r}),a.unshift({type:"insert",index:r,value:o[r]});var s=j.modifyFrames,l=j.modifyFrames,u=[e,a],c=[e,i];return A&&A.add(e,s,u,l,c),j.modifyFrames(e,i)},v.purge=function(e){e=M.getGraphDiv(e);var t=e._fullLayout||{},n=e._fullData||[];return j.cleanPlot([],{},n,t),j.purge(e),_.purge(e),t._container&&t._container.remove(),delete e._context,delete e._replotPending,delete e._mouseDownTime,delete e._hmpixcount,delete e._hmlumcount,e}},{"../components/drawing":55,"../components/errorbars":61,"../constants/xmlns_namespaces":118,"../lib":129,"../lib/events":124,"../lib/queue":141,"../lib/svg_text_utils":146,"../plotly":159,"../plots/cartesian/constants":169,"../plots/cartesian/graph_interact":171,"../plots/plots":188,"../plots/polar":191,"../registry":203,"./helpers":149,"./manage_arrays":150,"./subroutines":156,d3:14,"fast-isnumeric":17}],152:[function(e,t,n){"use strict";function r(e,n){try{e._fullLayout._paper.style("background",n)}catch(e){t.exports.logging>0&&console.error(e)}}t.exports={staticPlot:!1,editable:!1,autosizable:!1,queueLength:0,fillFrame:!1,frameMargins:0,scrollZoom:!1,doubleClick:"reset+autosize",showTips:!0,showAxisDragHandles:!0,showAxisRangeEntryBoxes:!0,showLink:!1,sendData:!0,linkText:"Edit chart",showSources:!1,displayModeBar:"hover",modeBarButtonsToRemove:[],modeBarButtonsToAdd:[],modeBarButtons:!1,displaylogo:!0,plotGlPixelRatio:2,setBackground:r,topojsonURL:"https://cdn.plot.ly/",mapboxAccessToken:null,logging:!1,globalTransforms:[]}},{}],153:[function(e,t,n){"use strict";function r(e){var t,n;"area"===e?(t={attributes:b},n={}):(t=f.modules[e]._module,n=t.basePlotModule);var r={};r.type=null,x(r,m),x(r,t.attributes),n.attributes&&x(r,n.attributes),Object.keys(f.componentsRegistry).forEach(function(t){var n=f.componentsRegistry[t];n.schema&&n.schema.traces&&n.schema.traces[e]&&Object.keys(n.schema.traces[e]).forEach(function(t){p(r,n.schema.traces[e][t],t)})}),r.type=e;var o={meta:t.meta||{},attributes:s(r)};if(t.layoutAttributes){var i={};x(i,t.layoutAttributes),o.layoutAttributes=s(i)}return o}function o(){var e={};return x(e,g),Object.keys(f.subplotsRegistry).forEach(function(t){var n=f.subplotsRegistry[t];if(n.layoutAttributes)if("cartesian"===n.name)d(e,n,"xaxis"),d(e,n,"yaxis");else{var r="subplot"===n.attr?n.name:n.attr;d(e,n,r)}}),e=c(e),Object.keys(f.componentsRegistry).forEach(function(t){var n=f.componentsRegistry[t];n.layoutAttributes&&(n.schema&&n.schema.layout?Object.keys(n.schema.layout).forEach(function(t){p(e,n.schema.layout[t],t)}):p(e,n.layoutAttributes,n.name))}),{layoutAttributes:s(e)}}function i(e){var t=f.transformsRegistry[e],n=x({},t.attributes);return Object.keys(f.componentsRegistry).forEach(function(t){var r=f.componentsRegistry[t];r.schema&&r.schema.transforms&&r.schema.transforms[e]&&Object.keys(r.schema.transforms[e]).forEach(function(t){p(n,r.schema.transforms[e][t],t)})}),{attributes:s(n)}}function a(){var e={frames:h.extendDeep({},y)};return s(e),e.frames}function s(e){return l(e),u(e),e}function l(e){function t(e){return{valType:"string"}}function r(e,r,o){n.isValObject(e)?"data_array"===e.valType?(e.role="data",o[r+"src"]=t(r)):e.arrayOk===!0&&(o[r+"src"]=t(r)):h.isPlainObject(e)&&(e.role="object")}n.crawl(e,r)}function u(e){function t(e,t,n){if(e){var r=e[w];r&&(delete e[w],n[t]={items:{}},n[t].items[r]=e,n[t].role="object")}}n.crawl(e,t)}function c(e){return A(e,{radialaxis:_.radialaxis,angularaxis:_.angularaxis}),A(e,_.layout),e}function d(e,t,n){var r=h.nestedProperty(e,n),o=x({},t.layoutAttributes);o[j]=!0,r.set(o)}function p(e,t,n){var r=h.nestedProperty(e,n);r.set(x(r.get()||{},t))}var f=e("../registry"),h=e("../lib"),m=e("../plots/attributes"),g=e("../plots/layout_attributes"),y=e("../plots/frame_attributes"),v=e("../plots/animation_attributes"),b=e("../plots/polar/area_attributes"),_=e("../plots/polar/axis_attributes"),A=h.extendFlat,x=h.extendDeep,j="_isSubplotObj",w="_isLinkedToArray",C="_arrayAttrRegexps",E="_deprecated",k=[j,w,C,E];n.IS_SUBPLOT_OBJ=j,n.IS_LINKED_TO_ARRAY=w,n.DEPRECATED=E,n.UNDERSCORE_ATTRS=k,n.get=function(){var e={};f.allTypes.concat("area").forEach(function(t){e[t]=r(t)});var t={};return Object.keys(f.transformsRegistry).forEach(function(e){t[e]=i(e)}),{defs:{valObjects:h.valObjects,metaKeys:k.concat(["description","role"])},traces:e,layout:o(),transforms:t,frames:a(),animation:s(v)}},n.crawl=function(e,t,r){var o=r||0;Object.keys(e).forEach(function(r){var i=e[r];k.indexOf(r)===-1&&(t(i,r,e,o),n.isValObject(i)||h.isPlainObject(i)&&n.crawl(i,t,o+1))})},n.isValObject=function(e){return e&&void 0!==e.valType},n.findArrayAttributes=function(e){function t(t,n,a,s){if(i=i.slice(0,s).concat([n]),t&&("data_array"===t.valType||t.arrayOk===!0)){var l=r(i),u=h.nestedProperty(e,l).get();Array.isArray(u)&&o.push(l)}}function r(e){return e.join(".")}var o=[],i=[];if(n.crawl(e._module.attributes,t),e.transforms)for(var a=e.transforms,s=0;s=e[1]||o[1]<=e[0])&&i[0]t[0])return!0}return!1}var o=e("d3"),i=e("../plotly"),a=e("../registry"),s=e("../plots/plots"),l=e("../lib"),u=e("../components/color"),c=e("../components/drawing"),d=e("../components/titles"),p=e("../components/modebar");n.layoutStyles=function(e){return l.syncOrAsync([s.doAutoMargin,n.lsInner],e)},n.lsInner=function(e){var t,a=e._fullLayout,s=a._size,l=i.Axes.list(e);for(t=0;t1)};p(t.width)&&p(t.height)||r(new Error("Height and width should be pixel values."));var f=l(e,{format:"png",height:t.height,width:t.width}),h=f.gd;h.style.position="absolute",h.style.left="-5000px",document.body.appendChild(h);var m=s.getRedrawFunc(h);i.plot(h,f.data,f.layout,f.config).then(m).then(d).then(function(e){n(e)}).catch(function(e){r(e)})})}var o=e("fast-isnumeric"),i=e("../plotly"),a=e("../lib"),s=e("../snapshot/helpers"),l=e("../snapshot/cloneplot"),u=e("../snapshot/tosvg"),c=e("../snapshot/svgtoimg");t.exports=r},{"../lib":129,"../plotly":159,"../snapshot/cloneplot":204,"../snapshot/helpers":207,"../snapshot/svgtoimg":209,"../snapshot/tosvg":211,"fast-isnumeric":17}],158:[function(e,t,n){"use strict";function r(e,t,n,o,i,u){u=u||[];for(var c=Object.keys(e),p=0;p1&&l.push(a("object","layout"))),p.supplyDefaults(u);for(var c=u._fullData,g=n.length,y=0;y.3*d||i(r)||i(o))){var p=n.dtick/2;e+=e+pa){var s=Number(n.substr(1));i.exactYears>a&&s%12==0?e=R.tickIncrement(e,"M6","reverse")+1.5*P:i.exactMonths>a?e=R.tickIncrement(e,"M1","reverse")+15.5*P:e-=P/2;var l=R.tickIncrement(e,n);if(l<=r)return l}return e}function i(e){var t,n,r=e.tickvals,o=e.ticktext,i=new Array(r.length),a=A.simpleMap(e.range,e.r2l),s=1.0001*a[0]-1e-4*a[1],u=1.0001*a[1]-1e-4*a[0],c=Math.min(s,u),d=Math.max(s,u),p=0;Array.isArray(o)||(o=[]);var f="category"===e.type?e.d2l_noadd:e.d2l;for("log"===e.type&&"L"!==String(e.dtick).charAt(0)&&(e.dtick="L"+Math.pow(10,Math.floor(Math.min(e.range[0],e.range[1]))-1)),n=0;nc&&t10||"01-01"!==r.substr(5)?e._tickround="d":e._tickround=+t.substr(1)%12==0?"y":"m";else if(t>=P&&o<=10||t>=15*P)e._tickround="d";else if(t>=D&&o<=16||t>=M)e._tickround="M";else if(t>=O&&o<=19||t>=D)e._tickround="S";else{var i=e.l2r(n+t).replace(/^-/,"").length;e._tickround=Math.max(o,i)-20}}else if(b(t)||"L"===t.charAt(0)){var a=e.range.map(e.r2d||Number);b(t)||(t=Number(t.substr(1))),e._tickround=2-Math.floor(Math.log(t)/Math.LN10+.01);var s=Math.max(Math.abs(a[0]),Math.abs(a[1])),l=Math.floor(Math.log(s)/Math.LN10+.01);Math.abs(l)>3&&("SI"===e.exponentformat||"B"===e.exponentformat?e._tickexponent=3*Math.round((l-1)/3):e._tickexponent=l)}else e._tickround=null}function l(e,t,n){var r=e.tickfont||{};return{x:t,dx:0,dy:0,text:n||"",fontSize:r.size,font:r.family,fontColor:r.color}}function u(e,t,n,r){var o=e._tickround,i=n&&e.hoverformat||e.tickformat;r&&(o=b(o)?4:{y:"m",m:"d",d:"M",M:"S",S:4}[o]);var a,s=A.formatDate(t.x,i,o,e.calendar),l=s.indexOf("\n");l!==-1&&(a=s.substr(l+1),s=s.substr(0,l)),r&&("00:00:00"===s||"00:00"===s?(s=a,a=""):8===s.length&&(s=s.replace(/:00$/,""))),a&&(n?"d"===o?s+=", "+a:s=a+(s?", "+s:""):e._inCalcTicks&&a===e._prevDateHead||(s+="
"+a,e._prevDateHead=a)),t.text=s}function c(e,t,n,r,o){var i=e.dtick,a=t.x;if(!r||"string"==typeof i&&"L"===i.charAt(0)||(i="L3"),e.tickformat||"string"==typeof i&&"L"===i.charAt(0))t.text=f(Math.pow(10,a),e,o,r);else if(b(i)||"D"===i.charAt(0)&&A.mod(a+.01,1)<.1)if(["e","E","power"].indexOf(e.exponentformat)!==-1){var s=Math.round(a);t.text=0===s?1:1===s?"10":s>1?"10"+s+"":"10−"+-s+"",t.fontSize*=1.25}else t.text=f(Math.pow(10,a),e,"","fakehover"),"D1"===i&&"y"===e._id.charAt(0)&&(t.dy-=t.fontSize/6);else{if("D"!==i.charAt(0))throw"unrecognized dtick "+String(i);t.text=String(Math.round(Math.pow(10,A.mod(a,1)))),t.fontSize*=.75}if("D1"===e.dtick){var l=String(t.text).charAt(0);"0"!==l&&"1"!==l||("y"===e._id.charAt(0)?t.dx-=t.fontSize/4:(t.dy+=t.fontSize/2,t.dx+=(e.range[1]>e.range[0]?1:-1)*t.fontSize*(a<0?.5:.25)))}}function d(e,t){var n=e._categories[Math.round(t.x)];void 0===n&&(n=""),t.text=String(n)}function p(e,t,n,r,o){"all"===e.showexponent&&Math.abs(t.x/e.dtick)<1e-6&&(o="hide"),t.text=f(t.x,e,o,r)}function f(e,t,n,r){var o=e<0,i=t._tickround,a=n||t.exponentformat||"B",l=t._tickexponent,u=t.tickformat,c=t.separatethousands;if(r){var d={exponentformat:t.exponentformat,dtick:"none"===t.showexponent?t.dtick:b(e)?Math.abs(e)||1:1,range:"none"===t.showexponent?t.range.map(t.r2d):[0,e||1]};s(d),i=(Number(d._tickround)||0)+4,l=d._tickexponent,t.hoverformat&&(u=t.hoverformat)}if(u)return v.format(u)(e).replace(/-/g,"−");var p=Math.pow(10,-i)/2;if("none"===a&&(l=0),(e=Math.abs(e))12||l<-15)?e+="e"+m:"E"===a?e+="E"+m:"power"===a?e+="×10"+m+"":"B"===a&&9===l?e+="B":"SI"!==a&&"B"!==a||(e+=W[l/3+5])}return o?"−"+e:e}function h(e,t){var n,r,o=[];for(n=0;n1)for(r=1;r2e-6||((n-e._forceTick0)/e._minDtick%1+1.000001)%1>2e-6)&&(e._minDtick=0)):e._minDtick=0},R.getAutoRange=function(e){var t,n=[],r=e._min[0].val,o=e._max[0].val;for(t=1;t0&&c>0&&d/c>p&&(l=a,u=s,p=d/c);if(r===o){var m=r-1,g=r+1;n="tozero"===e.rangemode?r<0?[m,0]:[0,g]:"nonnegative"===e.rangemode?[Math.max(0,m),Math.max(0,g)]:[m,g]}else p&&("linear"!==e.type&&"-"!==e.type||("tozero"===e.rangemode?(l.val>=0&&(l={val:0,pad:0}),u.val<=0&&(u={val:0,pad:0})):"nonnegative"===e.rangemode&&(l.val-p*l.pad<0&&(l={val:0,pad:0}),u.val<0&&(u={val:1,pad:0})),p=(u.val-l.val)/(e._length-l.pad-u.pad)),n=[l.val-p*l.pad,u.val+p*u.pad]);return n[0]===n[1]&&("tozero"===e.rangemode?n=n[0]<0?[n[0],0]:n[0]>0?[0,n[0]]:[0,1]:(n=[n[0]-1,n[0]+1],"nonnegative"===e.rangemode&&(n[0]=Math.max(0,n[0])))),f&&n.reverse(),A.simpleMap(n,e.l2r||Number)},R.doAutoRange=function(e){e._length||e.setScale();var t=e._min&&e._max&&e._min.length&&e._max.length;if(e.autorange&&t){e.range=R.getAutoRange(e);var n=e._input;n.range=e.range.slice(),n.autorange=e.autorange}},R.saveRangeInitial=function(e,t){for(var n=R.list(e,"",!0),r=!1,o=0;o=p?f=!1:s.val>=u&&s.pad<=p&&(e._min.splice(a,1),a--);f&&e._min.push({val:u,pad:v&&0===u?0:p})}if(r(c)){for(f=!0,a=0;a=c&&s.pad>=d?f=!1:s.val<=c&&s.pad<=d&&(e._max.splice(a,1),a--);f&&e._max.push({val:c,pad:v&&0===c?0:d})}}}if((e.autorange||!!A.nestedProperty(e,"rangeslider.autorange").get())&&t){e._min||(e._min=[]),e._max||(e._max=[]),n||(n={}),e._m||e.setScale();var i,a,s,l,u,c,d,p,f,h,m,g=t.length,y=n.padded?.05*e._length:0,v=n.tozero&&("linear"===e.type||"-"===e.type),_=r((e._m>0?n.ppadplus:n.ppadminus)||n.ppad||0),x=r((e._m>0?n.ppadminus:n.ppadplus)||n.ppad||0),j=r(n.vpadplus||n.vpad),w=r(n.vpadminus||n.vpad);for(i=0;i<6;i++)o(i);for(i=g-1;i>5;i--)o(i)}},R.autoBin=function(e,t,n,i,a){var s=A.aggNums(Math.min,null,e),l=A.aggNums(Math.max,null,e);if(a||(a=t.calendar),"category"===t.type)return{start:s-.5,end:l+.5,size:1};var u;if(n)u=(l-s)/n;else{var c=A.distinctVals(e),d=Math.pow(10,Math.floor(Math.log(c.minDiff)/Math.LN10)),p=d*A.roundUp(c.minDiff/d,[.9,1.9,4.9,9.9],!0);u=Math.max(p,2*A.stdev(e)/Math.pow(e.length,i?.25:.4)),b(u)||(u=1)}var f;f="log"===t.type?{type:"linear",range:[s,l]}:{type:t.type,range:A.simpleMap([s,l],t.c2r,0,a),calendar:a},R.setConvert(f),R.autoTicks(f,u);var h,m=R.tickIncrement(R.tickFirst(f),f.dtick,"reverse",a);if("number"==typeof f.dtick){m=r(m,e,f,s,l);h=m+(1+Math.floor((l-m)/f.dtick))*f.dtick}else for("M"===f.dtick.charAt(0)&&(m=o(m,e,f.dtick,s,a)),h=m;h<=l;)h=R.tickIncrement(h,f.dtick,!1,a);return{start:t.c2r(m,0,a),end:t.c2r(h,0,a),size:f.dtick}},R.calcTicks=function(e){var t=A.simpleMap(e.range,e.r2l);if("auto"===e.tickmode||!e.dtick){var n,r=e.nticks;r||("category"===e.type?(n=e.tickfont?1.2*(e.tickfont.size||12):15,r=e._length/n):(n="y"===e._id.charAt(0)?40:80,r=A.constrain(e._length/n,4,9)+1)),"array"===e.tickmode&&(r*=100),R.autoTicks(e,Math.abs(t[1]-t[0])/r),e._minDtick>0&&e.dtick<2*e._minDtick&&(e.dtick=e._minDtick,e.tick0=e.l2r(e._forceTick0))}if(e.tick0||(e.tick0="date"===e.type?"2000-01-01":0),s(e),"array"===e.tickmode)return i(e);e._tmin=R.tickFirst(e);var o=t[1]=l:u<=l)&&(a.push(u),!(a.length>1e3));u=R.tickIncrement(u,e.dtick,o,e.calendar));e._tmax=a[a.length-1],e._prevDateHead="",e._inCalcTicks=!0;for(var c=new Array(a.length),d=0;dT?(t/=T,n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick="M"+12*a(t,n,F)):r>S?(t/=S,e.dtick="M"+a(t,1,N)):r>P?(e.dtick=a(t,P,z),e.tick0=A.dateTick0(e.calendar,!0)):r>M?e.dtick=a(t,M,N):r>D?e.dtick=a(t,D,B):r>O?e.dtick=a(t,O,B):(n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick=a(t,n,F))}else if("log"===e.type){e.tick0=0;var o=A.simpleMap(e.range,e.r2l);if(t>.7)e.dtick=Math.ceil(t);else if(Math.abs(o[1]-o[0])<1){var i=1.5*Math.abs((o[1]-o[0])/t);t=Math.abs(Math.pow(10,o[1])-Math.pow(10,o[0]))/i,n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick="L"+a(t,n,F)}else e.dtick=t>.3?"D2":"D1"}else"category"===e.type?(e.tick0=0,e.dtick=Math.ceil(Math.max(t,1))):(e.tick0=0,n=Math.pow(10,Math.floor(Math.log(t)/Math.LN10)),e.dtick=a(t,n,F));if(0===e.dtick&&(e.dtick=1),!b(e.dtick)&&"string"!=typeof e.dtick){var s=e.dtick;throw e.dtick=1,"ax.dtick error: "+String(s)}},R.tickIncrement=function(e,t,n,r){var o=n?-1:1;if(b(t))return e+o*t;var i=t.charAt(0),a=o*Number(t.substr(1));if("M"===i)return A.incrementMonth(e,a,r);if("L"===i)return Math.log(Math.pow(10,e)+a)/Math.LN10;if("D"===i){var s="D2"===t?U:H,l=e+.01*o,u=A.roundUp(A.mod(l,1),s,n);return Math.floor(l)+Math.log(v.round(Math.pow(10,u),1))/Math.LN10}throw"unrecognized dtick "+String(t)},R.tickFirst=function(e){var t=e.r2l||Number,n=A.simpleMap(e.range,t),r=n[1]1&&t2*o}function i(e){for(var t,n=Math.max(1,(e.length-1)/1e3),r=0,o=0,i=0;i2*r}var a=e("fast-isnumeric"),s=e("../../lib"),l=e("../../constants/numerical").BADNUM;t.exports=function(e,t){return o(e,t)?"date":i(e)?"category":r(e)?"linear":"-"}},{"../../constants/numerical":116,"../../lib":129,"fast-isnumeric":17}],166:[function(e,t,n){"use strict";function r(e,t){if("-"===e.type){var n=e._id,r=n.charAt(0);n.indexOf("scene")!==-1&&(n=r);var s=a(t,n,r);if(s){if("histogram"===s.type&&r==={v:"y",h:"x"}[s.orientation||"v"])return void(e.type="linear");var u=r+"calendar",c=s[u];if(i(s,r)){for(var d,p=o(s),f=[],h=0;h0;i&&(r="array");var a=n("categoryorder",r);"array"===a&&n("categoryarray"),i||"array"!==a||(t.categoryorder="trace")}}},{}],169:[function(e,t,n){"use strict";t.exports={idRegex:{x:/^x([2-9]|[1-9][0-9]+)?$/,y:/^y([2-9]|[1-9][0-9]+)?$/},attrRegex:{x:/^xaxis([2-9]|[1-9][0-9]+)?$/,y:/^yaxis([2-9]|[1-9][0-9]+)?$/},xAxisMatch:/^xaxis[0-9]*$/,yAxisMatch:/^yaxis[0-9]*$/,AX_ID_PATTERN:/^[xyz][0-9]*$/,AX_NAME_PATTERN:/^[xyz]axis[0-9]*$/,DBLCLICKDELAY:300,MINDRAG:8,MINSELECT:12,MINZOOM:20,DRAGGERSIZE:20,MAXDIST:20,YANGLE:60,HOVERARROWSIZE:6,HOVERTEXTPAD:3,HOVERFONTSIZE:13,HOVERFONT:"Arial, sans-serif",HOVERMINTIME:50,BENDPX:1.5,REDRAWDELAY:50,DFLTRANGEX:[-1,6],DFLTRANGEY:[-1,4]}},{}],170:[function(e,t,n){"use strict";function r(e,t){var n,r=e.range[t],o=Math.abs(r-e.range[1-t]);return"date"===e.type?r:"log"===e.type?(n=Math.ceil(Math.max(0,-Math.log(o)/Math.LN10))+3,s.format("."+n+"g")(Math.pow(10,r))):(n=Math.floor(Math.log(Math.abs(r))/Math.LN10)-Math.floor(Math.log(o)/Math.LN10)+4,s.format("."+String(n)+"g")(r))}function o(e,t){return e?"nsew"===e?"pan"===t?"move":"crosshair":e.toLowerCase()+"-resize":"pointer"}function i(e){s.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}function a(e){return["lasso","select"].indexOf(e)!==-1}var s=e("d3"),l=e("tinycolor2"),u=e("../../plotly"),c=e("../../registry"),d=e("../../lib"),p=e("../../lib/svg_text_utils"),f=e("../../components/color"),h=e("../../components/drawing"),m=e("../../lib/setcursor"),g=e("../../components/dragelement"),y=e("./axes"),v=e("./select"),b=e("./constants"),_=!0;t.exports=function(e,t,n,s,A,x,j,w){function C(e,t){for(var n=0;n.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("transform","translate("+me+", "+ge+")").attr("d",ue+"Z"),fe=he.append("path").attr("class","zoombox-corners").style({fill:f.background,stroke:f.defaultLine,"stroke-width":1,opacity:0}).attr("transform","translate("+me+", "+ge+")").attr("d","M0,0Z"),T()}function T(){he.selectAll(".select-outline").remove()}function S(t,n){if(e._transitioningWithDuration)return!1;var r=Math.max(0,Math.min(W,t+ie)),o=Math.max(0,Math.min(q,n+ae)),i=Math.abs(r-ie),a=Math.abs(o-ae),s=Math.floor(Math.min(a,i,G)/2);se.l=Math.min(ie,r),se.r=Math.max(ie,r),se.t=Math.min(ae,o),se.b=Math.max(ae,o),!$||a.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),fe.transition().style("opacity",1).duration(200),ce=!0)}function P(e,t,n){var r,o,i,a;for(r=0;rzoom back out","long"),_=!1)}function D(t,n){var o=1===(j+w).length;if(t)F();else if(2!==n||o){if(1===n&&o){var i=j?U[0]:H[0],a="s"===j||"w"===w?0:1,s=i._name+".range["+a+"]",l=r(i,a),c="left",d="middle";if(i.fixedrange)return;j?(d="n"===j?"top":"bottom","right"===i.side&&(c="right")):"e"===w&&(c="right"),e._context.showAxisRangeEntryBoxes&&ne.call(p.makeEditable,null,{immediate:!0,background:B.paper_bgcolor,text:String(l),fill:i.tickfont?i.tickfont.color:"#444",horizontalAlign:c,verticalAlign:d}).on("edit",function(t){var n=i.d2r(t);void 0!==n&&u.relayout(e,s,n)})}}else L()}function O(t){function n(e,t,n){function r(t){return e.l2r(i+(t-i)*n)}if(!e.fixedrange){var o=d.simpleMap(e.range,e.r2l),i=o[0]+(o[1]-o[0])*t;e.range=o.map(r)}}if(e._context.scrollZoom||B._enablescrollzoom){if(e._transitioningWithDuration)return d.pauseEvent(t);var r=e.querySelector(".plotly");if(E(),!(r.scrollHeight-r.clientHeight>10||r.scrollWidth-r.clientWidth>10)){clearTimeout(ve);var o=-t.deltaY;if(isFinite(o)||(o=t.wheelDelta/10),!isFinite(o))return void d.log("Did not find wheel motion attributes: ",t);var i,a=Math.exp(-Math.min(Math.max(o,-20),20)/100),s=_e.draglayer.select(".nsewdrag").node().getBoundingClientRect(),l=(t.clientX-s.left)/s.width,u=ye[0]+ye[2]*l,c=(s.bottom-t.clientY)/s.height,p=ye[1]+ye[3]*(1-c);if(w){for(i=0;i=0?Math.min(e,.9):1/(1/Math.max(e,-.3)+3.222))}function i(e,t,n){for(var r,i,a=1-t,s=0;s0;r--)n.push(t);return n}function o(e,t){for(var n=[],r=0;rZ.width||X<0||X>Z.height)return A.unhoverRaw(e,t)}else Q="xpx"in t?t.xpx:k[0]._length/2,X="ypx"in t?t.ypx:T[0]._length/2;if(I="xval"in t?r(i,t.xval):o(k,Q),R="yval"in t?r(i,t.yval):o(T,X),!m(I[0])||!m(R[0]))return g.warn("Fx.hover failed",t,e),A.unhoverRaw(e,t)}var J=1/0;for(F=0;F1||B.hoverinfo.indexOf("name")!==-1?B.name:void 0,index:!1,distance:Math.min(J,C.MAXDIST),color:b.defaultLine,x0:void 0,x1:void 0,y0:void 0,y1:void 0,xLabelVal:void 0,yLabelVal:void 0,zLabelVal:void 0,text:void 0},a[z]&&(V.subplot=a[z]._subplot),G=K.length,"array"===U){var $=t[F];"pointNumber"in $?(V.index=$.pointNumber,U="closest"):(U="","xval"in $&&(W=$.xval,U="x"),"yval"in $&&(q=$.yval,U=U?"closest":"y"))}else W=I[H],q=R[H];if(B._module&&B._module.hoverPoints){var ee=B._module.hoverPoints(V,W,q,U);if(ee)for(var te,ne=0;neG&&(K.splice(0,G),J=K[0].distance)}if(0===K.length)return A.unhoverRaw(e,t);var re="y"===O&&Y.length>1;K.sort(function(e,t){return e.distance-t.distance});var oe=b.combine(a.plot_bgcolor||b.background,a.paper_bgcolor),ie={hovermode:O,rotateLabels:re,bgColor:oe,container:a._hoverlayer,outerContainer:a._paperdiv},ae=u(K,ie);c(K,re?"xa":"ya"),d(ae,re);var se=e._hoverdata,le=[];for(L=0;L128?"#000":b.background;void 0!==e.nameOverride&&(e.name=e.nameOverride),e.name&&void 0===e.zLabelVal&&(n=v.plainText(e.name||""),n.length>15&&(n=n.substr(0,12)+"...")),void 0!==e.extraText&&(r+=e.extraText),void 0!==e.zLabel?(void 0!==e.xLabel&&(r+="x: "+e.xLabel+"
"),void 0!==e.yLabel&&(r+="y: "+e.yLabel+"
"),r+=(r?"z: ":"")+e.zLabel):w&&e[o+"Label"]===m?r=e[("x"===o?"y":"x")+"Label"]||"":void 0===e.xLabel?void 0!==e.yLabel&&(r=e.yLabel):r=void 0===e.yLabel?e.xLabel:"("+e.xLabel+", "+e.yLabel+")",e.text&&!Array.isArray(e.text)&&(r+=(r?"
":"")+e.text),""===r&&(""===n&&t.remove(),r=n);var c=t.select("text.nums").style("fill",u).call(_.setPosition,0,0).text(r).attr("data-notex",1).call(v.convertToTspans);c.selectAll("tspan.line").call(_.setPosition,0,0);var d=t.select("text.name"),p=0;n&&n!==r?(d.style("fill",l).text(n).call(_.setPosition,0,0).attr("data-notex",1).call(v.convertToTspans),d.selectAll("tspan.line").call(_.setPosition,0,0),p=d.node().getBoundingClientRect().width+2*R):(d.remove(),t.select("rect").remove()),t.select("path").style({fill:l,stroke:u});var g,y,C=c.node().getBoundingClientRect(),E=e.xa._offset+(e.x0+e.x1)/2,k=e.ya._offset+(e.y0+e.y1)/2,T=Math.abs(e.x1-e.x0),P=Math.abs(e.y1-e.y0),M=C.width+I+R+p;e.ty0=A-C.top,e.bx=C.width+2*R,e.by=C.height+2*R,e.anchor="start",e.txwidth=C.width,e.tx2width=p,e.offset=0,i?(e.pos=E,g=k+P/2+M<=j,y=k-P/2-M>=0,"top"!==e.idealAlign&&g||!y?g?(k+=P/2,e.anchor="start"):e.anchor="middle":(k-=P/2,e.anchor="end")):(e.pos=k,g=E+T/2+M<=x,y=E-T/2-M>=0,"left"!==e.idealAlign&&g||!y?g?(E+=T/2,e.anchor="start"):e.anchor="middle":(E-=T/2,e.anchor="end")),c.attr("text-anchor",e.anchor),p&&d.attr("text-anchor",e.anchor),t.attr("transform","translate("+E+","+k+")"+(i?"rotate("+S+")":""))}),T}function c(e,t){function n(e){var t=e[0],n=e[e.length-1];if(o=t.pmin-t.pos-t.dp+t.size,i=n.pos+n.dp+n.size-t.pmax,o>.01){for(s=e.length-1;s>=0;s--)e[s].dp+=o;r=!1}if(!(i<.01)){if(o<-.01){for(s=e.length-1;s>=0;s--)e[s].dp-=i;r=!1}if(r){var u=0;for(a=0;at.pmax&&u++;for(a=e.length-1;a>=0&&!(u<=0);a--)l=e[a],l.pos>t.pmax-1&&(l.del=!0,u--);for(a=0;a=0;s--)e[s].dp-=i;for(a=e.length-1;a>=0&&!(u<=0);a--)l=e[a],l.pos+l.dp+l.size>t.pmax&&(l.del=!0,u--)}}}for(var r,o,i,a,s,l,u,c=0,d=e.map(function(e,n){var r=e[t];return[{i:n,dp:0,pos:e.pos,posref:e.posref,size:e.by*("x"===r._id.charAt(0)?M:1)/2,pmin:r._offset,pmax:r._offset+r._length}]}).sort(function(e,t){return e[0].posref-t[0].posref});!r&&c<=e.length;){for(c++,r=!0,a=0;a.01&&h.pmin===m.pmin&&h.pmax===m.pmax){for(s=f.length-1;s>=0;s--)f[s].dp+=o;for(p.push.apply(p,f),d.splice(a+1,1),u=0,s=p.length-1;s>=0;s--)u+=p[s].dp;for(i=u/p.length,s=p.length-1;s>=0;s--)p[s].dp-=i;r=!1}else a++}d.forEach(n)}for(a=d.length-1;a>=0;a--){var g=d[a];for(s=g.length-1;s>=0;s--){var y=g[s],v=e[y.i];v.offset=y.dp,v.del=y.del}}}function d(e,t){e.each(function(e){var n=f.select(this);if(e.del)return void n.remove();var r="end"===e.anchor?-1:1,o=n.select("text.nums"),i={start:1,end:-1,middle:0}[e.anchor],a=i*(I+R),s=a+i*(e.txwidth+R),l=0,u=e.offset;"middle"===e.anchor&&(a-=e.tx2width/2,s-=e.tx2width/2),t&&(u*=-O,l=e.offset*D),n.select("path").attr("d","middle"===e.anchor?"M-"+e.bx/2+",-"+e.by/2+"h"+e.bx+"v"+e.by+"h-"+e.bx+"Z":"M0,0L"+(r*I+l)+","+(I+u)+"v"+(e.by/2-I)+"h"+r*e.bx+"v-"+e.by+"H"+(r*I+l)+"V"+(u-I)+"Z"),o.call(_.setPosition,a+l,u+e.ty0-e.by/2+R).selectAll("tspan.line").attr({x:o.attr("x"),y:o.attr("y")}),e.tx2width&&(n.select("text.name, text.name tspan.line").call(_.setPosition,s+i*R+l,u+e.ty0-e.by/2+R),n.select("rect").call(_.setRect,s+(i-1)*e.tx2width/2+l,u-e.by/2-1,e.tx2width,e.by+2))})}function p(e,t,n){if(!t.target)return!1;if(!n||n.length!==e._hoverdata.length)return!0;for(var r=n.length-1;r>=0;r--){var o=n[r],i=e._hoverdata[r];if(o.curveNumber!==i.curveNumber||String(o.pointNumber)!==String(i.pointNumber))return!0}return!1}var f=e("d3"),h=e("tinycolor2"),m=e("fast-isnumeric"),g=e("../../lib"),y=e("../../lib/events"),v=e("../../lib/svg_text_utils"),b=e("../../components/color"),_=e("../../components/drawing"),A=e("../../components/dragelement"),x=e("../../lib/override_cursor"),j=e("../../registry"),w=e("./axes"),C=e("./constants"),E=e("./dragbox"),k=e("../layout_attributes"),T=t.exports={};T.unhover=A.unhover,T.supplyLayoutDefaults=function(e,t,n){function r(n,r){return g.coerce(e,t,k,n,r)}r("dragmode");var o;if(t._has("cartesian")){o=(t._isHoriz=T.isHoriz(n))?"y":"x"}else o="closest";r("hovermode",o)},T.isHoriz=function(e){for(var t=!0,n=0;ne._lastHoverTime+C.HOVERMINTIME)return a(e,t,n),void(e._lastHoverTime=Date.now());e._hoverTimer=setTimeout(function(){a(e,t,n),e._lastHoverTime=Date.now(),e._hoverTimer=void 0},C.HOVERMINTIME)},T.getDistanceFunction=function(e,t,n,r){return"closest"===e?r||i(t,n):"x"===e?t:n},T.getClosest=function(e,t,n){if(n.index!==!1)n.index>=0&&n.indexc[1]-.01&&(t.domain=[0,1]),o.noneOrAll(e.domain,t.domain,[0,1])}return t}},{"../../lib":129,"fast-isnumeric":17}],177:[function(e,t,n){"use strict";function r(e){return e._id}var o=e("../../lib/polygon"),i=e("../../components/color"),a=e("./axes"),s=e("./constants"),l=o.filter,u=o.tester,c=s.MINSELECT;t.exports=function(e,t,n,o,d){function p(e){var t="y"===e._id.charAt(0)?1:0;return function(n){return e.p2d(n[t])}}function f(e,t){return e-t}var h,m=o.gd._fullLayout._zoomlayer,g=o.element.getBoundingClientRect(),y=o.plotinfo.xaxis._offset,v=o.plotinfo.yaxis._offset,b=t-g.left,_=n-g.top,A=b,x=_,j="M"+b+","+_,w=o.xaxes[0]._length,C=o.yaxes[0]._length,E=o.xaxes.map(r),k=o.yaxes.map(r),T=o.xaxes.concat(o.yaxes);"lasso"===d&&(h=l([[b,_]],s.BENDPX));var S=m.selectAll("path.select-outline").data([1,2]);S.enter().append("path").attr("class",function(e){return"select-outline select-outline-"+e}).attr("transform","translate("+y+", "+v+")").attr("d",j+"Z");var P,M,D,O,I,R=m.append("path").attr("class","zoombox-corners").style({fill:i.background,stroke:i.defaultLine,"stroke-width":1}).attr("transform","translate("+y+", "+v+")").attr("d","M0,0Z"),L=[],F=o.gd,N=[];for(P=0;Pp?f:a(e)?Number(e):f):f}var i=e("d3"),a=e("fast-isnumeric"),s=e("../../lib"),l=s.cleanNumber,u=s.ms2DateTime,c=s.dateTime2ms,d=e("../../constants/numerical"),p=d.FP_SAFE,f=d.BADNUM,h=e("./constants"),m=e("./axis_ids");t.exports=function(e,t){function n(t,n){if(t>0)return Math.log(t)/Math.LN10;if(t<=0&&n&&e.range&&2===e.range.length){var r=e.range[0],o=e.range[1];return.5*(r+o-3*x*Math.abs(r-o))}return f}function d(t,n,r){var o=c(t,r||e.calendar);if(o===f){if(!a(t))return f;o=c(new Date(+t))}return o}function g(t,n,r){return u(t,n,r||e.calendar)}function y(t){return e._categories[Math.round(t)]}function v(t){if(null!==t&&void 0!==t){var n=e._categories.indexOf(t);return n===-1?(e._categories.push(t),e._categories.length-1):n}return f}function b(t){var n=e._categories.indexOf(t);return n!==-1?n:"number"==typeof t?t:void 0}function _(t){return a(t)?i.round(e._b+e._m*t,2):f}function A(t){return(t-e._b)/e._m}t=t||{};var x=10;e.c2l="log"===e.type?n:o,e.l2c="log"===e.type?r:o,e.l2p=_,e.p2l=A,e.c2p="log"===e.type?function(e,t){return _(n(e,t))}:_,e.p2c="log"===e.type?function(e){return r(A(e))}:A,["linear","-"].indexOf(e.type)!==-1?(e.d2r=e.r2d=e.d2c=e.r2c=e.d2l=e.r2l=l,e.c2d=e.c2r=e.l2d=e.l2r=o,e.d2p=e.r2p=function(e){return _(l(e))},e.p2d=e.p2r=A):"log"===e.type?(e.d2r=e.d2l=function(e,t){return n(l(e),t)},e.r2d=e.r2c=function(e){return r(l(e))},e.d2c=e.r2l=l,e.c2d=e.l2r=o,e.c2r=n,e.l2d=r,e.d2p=function(t,n){return _(e.d2r(t,n))},e.p2d=function(e){return r(A(e))},e.r2p=function(e){return _(l(e))},e.p2r=A):"date"===e.type?(e.d2r=e.r2d=s.identity,e.d2c=e.r2c=e.d2l=e.r2l=d,e.c2d=e.c2r=e.l2d=e.l2r=g,e.d2p=e.r2p=function(e,t,n){return _(d(e,0,n))},e.p2d=e.p2r=function(e,t,n){return g(A(e),t,n)}):"category"===e.type&&(e.d2r=e.d2c=e.d2l=v,e.r2d=e.c2d=e.l2d=y,e.d2l_noadd=b,e.r2l=e.l2r=e.r2c=e.c2r=o,e.d2p=function(e){return _(b(e))},e.p2d=function(e){return y(A(e))},e.r2p=_,e.p2r=A),e.fraction2r=function(t){var n=e.r2l(e.range[0]),r=e.r2l(e.range[1]);return e.l2r(n+t*(r-n))},e.r2fraction=function(t){var n=e.r2l(e.range[0]),r=e.r2l(e.range[1]);return(e.r2l(t)-n)/(r-n)},e.cleanRange=function(t){t||(t="range");var n,r,o=s.nestedProperty(e,t).get(),i=(e._id||"x").charAt(0);if(r="date"===e.type?s.dfltRange(e.calendar):"y"===i?h.DFLTRANGEY:h.DFLTRANGEX,r=r.slice(),!o||2!==o.length)return void s.nestedProperty(e,t).set(r);for("date"===e.type&&(o[0]=s.cleanDate(o[0],f,e.calendar),o[1]=s.cleanDate(o[1],f,e.calendar)),n=0;n<2;n++)if("date"===e.type){if(!s.isDateTime(o[n],e.calendar)){e[t]=r;break}if(e.r2l(o[0])===e.r2l(o[1])){var l=s.constrain(e.r2l(o[0]),s.MIN_MS+1e3,s.MAX_MS-1e3);o[0]=e.l2r(l-1e3),o[1]=e.l2r(l+1e3);break}}else{if(!a(o[n])){if(!a(o[1-n])){e[t]=r;break}o[n]=o[1-n]*(n?10:.1)}if(o[n]<-p?o[n]=-p:o[n]>p&&(o[n]=p),o[0]===o[1]){var u=Math.max(1,Math.abs(1e-6*o[0]));o[0]-=u,o[1]+=u}}},e.setScale=function(n){var r=t._size,o=e._id.charAt(0);if(e._categories||(e._categories=[]),e.overlaying){var i=m.getFromId({_fullLayout:t},e.overlaying);e.domain=i.domain}var a=n&&e._r?"_r":"range",l=e.calendar;e.cleanRange(a);var u=e.r2l(e[a][0],l),c=e.r2l(e[a][1],l);if("y"===o?(e._offset=r.t+(1-e.domain[1])*r.h,e._length=r.h*(e.domain[1]-e.domain[0]),e._m=e._length/(u-c),e._b=-e._m*c):(e._offset=r.l+e.domain[0]*r.w,e._length=r.w*(e.domain[1]-e.domain[0]),e._m=e._length/(c-u),e._b=-e._m*u),!isFinite(e._m)||!isFinite(e._b))throw s.notifier("Something went wrong with axis scaling","long"),t._replotting=!1,new Error("axis scaling")},e.makeCalcdata=function(t,n){var r,o,i,a="date"===e.type&&t[n+"calendar"];if(n in t)for(r=t[n],o=new Array(r.length),i=0;i0?Number(c):u;else if("string"!=typeof c)t.dtick=u;else{var d=c.charAt(0),p=c.substr(1);p=r(p)?Number(p):0,(p<=0||!("date"===a&&"M"===d&&p===Math.round(p)||"log"===a&&"L"===d||"log"===a&&"D"===d&&(1===p||2===p)))&&(t.dtick=u)}var f="date"===a?o.dateTick0(t.calendar):0,h=n("tick0",f);"date"===a?t.tick0=o.cleanDate(h,f):r(h)&&"D1"!==c&&"D2"!==c?t.tick0=Number(h):t.tick0=f}else{var m=n("tickvals");void 0===m?t.tickmode="auto":n("ticktext")}}},{"../../constants/numerical":116,"../../lib":129,"fast-isnumeric":17}],182:[function(e,t,n){"use strict";var r=e("d3"),o=e("../../plotly"),i=e("../../registry"),a=e("../../components/drawing"),s=e("./axes"),l=/((x|y)([2-9]|[1-9][0-9]+)?)axis$/;t.exports=function(e,t,n,u){function c(e){var t,n,r,o,i,a={};for(t in e)if(n=t.split("."),r=n[0].match(l)){var s=r[1],u=s+"axis";if(o=v[u],i={},Array.isArray(e[t])?i.to=e[t].slice(0):Array.isArray(e[t].range)&&(i.to=e[t].range.slice(0)),!i.to)continue;i.axisName=u,i.length=o._length,b.push(s),a[s]=i}return a}function d(e,t,n){var r,o,i,a=e._plots,s=[];for(r in a){var l=a[r];if(s.indexOf(l)===-1){var u=l.xaxis._id,c=l.yaxis._id,d=l.xaxis.range,p=l.yaxis.range;l.xaxis._r=l.xaxis.range.slice(),l.yaxis._r=l.yaxis.range.slice(),o=n[u]?n[u].to:d,i=n[c]?n[c].to:p,d[0]===o[0]&&d[1]===o[1]&&p[0]===i[0]&&p[1]===i[1]||t.indexOf(u)===-1&&t.indexOf(c)===-1||s.push(l)}}return s}function p(t,n){function r(t,n){for(o=0;on.duration?(m(),E=window.cancelAnimationFrame(y)):E=window.requestAnimationFrame(y)}var v=e._fullLayout,b=[],_=c(t),A=Object.keys(_),x=d(v,A,_);if(!x.length)return!1;var j;u&&(j=u());var w,C,E,k=r.ease(n.easing);return e._transitionData._interruptCallbacks.push(function(){return window.cancelAnimationFrame(E),E=null,g()}),w=Date.now(),E=window.requestAnimationFrame(y),Promise.resolve()}},{"../../components/drawing":55,"../../plotly":159,"../../registry":203,"./axes":164,d3:14}],183:[function(e,t,n){"use strict";function r(e,t,n){var r,o,i,a=!1;if("data"===t.type)r=e._fullData[null!==t.traces?t.traces[0]:0];else{if("layout"!==t.type)return!1;r=e._fullLayout}return o=u.nestedProperty(r,t.prop).get(),i=n[t.type]=n[t.type]||{},i.hasOwnProperty(t.prop)&&i[t.prop]!==o&&(a=!0),i[t.prop]=o,{changed:a,value:o}}function o(e,t){return Array.isArray(t[0])&&1===t[0].length&&["string","number"].indexOf(typeof t[0][0])!==-1?[{type:"layout",prop:"_currentFrame",value:t[0][0].toString()}]:[]}function i(e,t){var n=[],r=t[0],o={};if("string"==typeof r)o[r]=t[1];else{if(!u.isPlainObject(r))return n;o=r}return s(o,function(e,t,r){n.push({type:"layout",prop:e,value:r})},"",0),n}function a(e,t){var n,r,o,i,a=[];if(r=t[0],o=t[1],n=t[2],i={},"string"==typeof r)i[r]=o;else{if(!u.isPlainObject(r))return a;i=r,void 0===n&&(n=o)}return void 0===n&&(n=null),s(i,function(t,r,o){var i;if(Array.isArray(o)){var s=Math.min(o.length,e.data.length);n&&(s=Math.min(s,n.length)),i=[];for(var l=0;l0?".":"")+o;u.isPlainObject(i)?s(i,t,a,r+1):t(a,o,i)}})}var l=e("../plotly"),u=e("../lib");n.manageCommandObserver=function(e,t,o,i){var a={},s=!0;t&&t._commandObserver&&(a=t._commandObserver),a.cache||(a.cache={}),a.lookupTable={};var l=n.hasSimpleAPICommandBindings(e,o,a.lookupTable);if(t&&t._commandObserver){if(l)return a;if(t._commandObserver.remove)return t._commandObserver.remove(),t._commandObserver=null,a}if(l){r(e,l,a.cache),a.check=function(){if(s){var t=r(e,l,a.cache);return t.changed&&i&&void 0!==a.lookupTable[t.value]&&(a.disable(),Promise.resolve(i({value:t.value,type:l.type,prop:l.prop,traces:l.traces,index:a.lookupTable[t.value]})).then(a.enable,a.enable)),t.changed}};for(var c=["plotly_relayout","plotly_redraw","plotly_restyle","plotly_update","plotly_animatingframe","plotly_afterplot"],d=0;d=t.width-20?(i["text-anchor"]="start",i.x=5):(i["text-anchor"]="end",i.x=t._paper.attr("width")-7),n.attr(i);var a=n.select(".js-link-to-tool"),l=n.select(".js-link-spacer"),u=n.select(".js-sourcelinks");e._context.showSources&&e._context.showSources(e),e._context.showLink&&r(e,a),l.text(a.text()&&u.text()?" - ":"")},f.sendDataToCloud=function(e){e.emit("plotly_beforeexport");var t=window.PLOTLYENV&&window.PLOTLYENV.BASE_URL||"https://plot.ly",n=s.select(e).append("div").attr("id","hiddenform").style("display","none"),r=n.append("form").attr({action:t+"/external",method:"post",target:"_blank"});return r.append("input").attr({type:"text",name:"data"}).node().value=f.graphJson(e,!1,"keepdata"),r.node().submit(),n.remove(),e.emit("plotly_afterexport"),!1},f.supplyDefaults=function(e){var t,n=e._fullLayout||{},r=e._fullLayout={},o=e.layout||{},i=e._fullData||[],a=e._fullData=[],s=e.data||[];if(e._transitionData||f.createTransitionData(e),n._initialAutoSizeIsDone){var l=n.width,c=n.height;f.supplyLayoutGlobalDefaults(o,r),o.width||(r.width=l),o.height||(r.height=c)}else{f.supplyLayoutGlobalDefaults(o,r);var d=!o.width||!o.height,p=r.autosize,h=e._context&&e._context.autosizable;d&&(p||h)?f.plotAutoSize(e,o,r):d&&f.sanitizeMargins(e),!p&&d&&(o.width=r.width,o.height=r.height)}r._initialAutoSizeIsDone=!0,r._dataLength=s.length,r._globalTransforms=(e._context||{}).globalTransforms,f.supplyDataDefaults(s,a,o,r),r._has=f._hasPlotType.bind(r);var m=r._modules;for(t=0;t0){var c=a(e._boundingBoxMargins),p=c.left+c.right,h=c.bottom+c.top,m=1-2*s,g=n._container&&n._container.node?n._container.node().getBoundingClientRect():{width:n.width,height:n.height};r=Math.round(m*(g.width-p)),o=Math.round(m*(g.height-h))}else{var y=u?window.getComputedStyle(e):{};r=parseFloat(y.width)||n.width,o=parseFloat(y.height)||n.height}var v=f.layoutAttributes.width.min,b=f.layoutAttributes.height.min;r1,A=!t.height&&Math.abs(n.height-o)>1;(A||_)&&(_&&(n.width=r),A&&(n.height=o)),e._initialAutoSize||(e._initialAutoSize={width:r,height:o}),f.sanitizeMargins(n)},f.supplyLayoutModuleDefaults=function(e,t,n,r){var o,i;u.Axes.supplyLayoutDefaults(e,t,n);var a=t._basePlotModules;for(o=0;o.5*r.width&&(n.l=n.r=0),n.b+n.t>.5*r.height&&(n.b=n.t=0),r._pushmargin[t]={l:{val:n.x,size:n.l+o},r:{val:n.x,size:n.r+o},b:{val:n.y,size:n.b+o},t:{val:n.y,size:n.t+o}}}else delete r._pushmargin[t];r._replotting||f.doAutoMargin(e)}},f.doAutoMargin=function(e){var t=e._fullLayout;t._size||(t._size={}),t._pushmargin||(t._pushmargin={});var n=t._size,r=JSON.stringify(n),o=Math.max(t.margin.l||0,0),i=Math.max(t.margin.r||0,0),a=Math.max(t.margin.t||0,0),s=Math.max(t.margin.b||0,0),c=t._pushmargin;if(t.margin.autoexpand!==!1){c.base={l:{val:0,size:o},r:{val:1,size:i},t:{val:1,size:a},b:{val:0,size:s}};for(var d=Object.keys(c),p=0;pg){var w=(y*x+(j-t.width)*g)/(x-g),C=(j*(1-g)+(y-t.width)*(1-x))/(x-g);w>=0&&C>=0&&w+C>o+i&&(o=w,i=C)}}if(l(b)&&c[A].t){var E=c[A].t.val,k=c[A].t.size;if(E>v){var T=(b*E+(k-t.height)*v)/(E-v),S=(k*(1-v)+(b-t.height)*(1-E))/(E-v);T>=0&&S>=0&&T+S>s+a&&(s=T,a=S)}}}}if(n.l=Math.round(o),n.r=Math.round(i),n.t=Math.round(a),n.b=Math.round(s),n.p=Math.round(t.margin.pad),n.w=Math.round(t.width)-n.l-n.r,n.h=Math.round(t.height)-n.t-n.b,!t._replotting&&"{}"!==r&&r!==JSON.stringify(t._size))return u.plot(e)},f.graphJson=function(e,t,n,r,o){function i(e){if("function"==typeof e)return null;if(d.isPlainObject(e)){var t,r,o={};for(t in e)if("function"!=typeof e[t]&&["_","["].indexOf(t.charAt(0))===-1){if("keepdata"===n){if("src"===t.substr(t.length-3))continue}else if("keepstream"===n){if("string"==typeof(r=e[t+"src"])&&r.indexOf(":")>0&&!d.isPlainObject(e.stream))continue}else if("keepall"!==n&&"string"==typeof(r=e[t+"src"])&&r.indexOf(":")>0)continue;o[t]=i(e[t])}return o}return Array.isArray(e)?e.map(i):d.isJSDate(e)?d.ms2DateTimeLocal(+e):e}(o&&t&&!e._fullData||o&&!t&&!e._fullLayout)&&f.supplyDefaults(e);var a=o?e._fullData:e.data,s=o?e._fullLayout:e.layout,l=(e._transitionData||{})._frames,u={data:(a||[]).map(function(e){var n=i(e);return t&&delete n.fit,n})};return t||(u.layout=i(s)),e.framework&&e.framework.isPolar&&(u=e.framework.getConfig()),l&&(u.frames=i(l)),"object"===r?u:JSON.stringify(u)},f.modifyFrames=function(e,t){var n,r,o,i=e._transitionData._frames,a=e._transitionData._frameHash;for(n=0;n0&&(e._transitioningWithDuration=!0),e._transitionData._interruptCallbacks.push(function(){A=!0}),o.redraw&&e._transitionData._interruptCallbacks.push(function(){return u.redraw(e)}),e._transitionData._interruptCallbacks.push(function(){e.emit("plotly_transitioninterrupted",[])});var a,s,l=0,c=0,f=e._fullLayout._basePlotModules,h=!1;if(n)for(s=0;s=0,T=k?d.angularAxis.domain:r.extent(j),S=Math.abs(j[1]-j[0]);C&&!w&&(S=0);var P=T.slice();E&&w&&(P[1]+=S);var M=d.angularAxis.ticksCount||4;M>8&&(M=M/(M/8)+M%8),d.angularAxis.ticksStep&&(M=(P[1]-P[0])/M);var D=d.angularAxis.ticksStep||(P[1]-P[0])/(M*(d.minorTicks+1));x&&(D=Math.max(Math.round(D),1)),P[2]||(P[2]=D);var O=r.range.apply(this,P);if(O=O.map(function(e,t){return parseFloat(e.toPrecision(12))}),s=r.scale.linear().domain(P.slice(0,2)).range("clockwise"===d.direction?[0,360]:[360,0]),c.layout.angularAxis.domain=s.domain(),c.layout.angularAxis.endPadding=E?S:0,void 0===(t=r.select(this).select("svg.chart-root"))||t.empty()){var I="' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '' + '",R=(new DOMParser).parseFromString(I,"application/xml"),L=this.appendChild(this.ownerDocument.importNode(R.documentElement,!0));t=r.select(L)}t.select(".guides-group").style({"pointer-events":"none"}),t.select(".angular.axis-group").style({"pointer-events":"none"}),t.select(".radial.axis-group").style({"pointer-events":"none"});var F,N=t.select(".chart-group"),B={fill:"none",stroke:d.tickColor},z={"font-size":d.font.size,"font-family":d.font.family,fill:d.font.color,"text-shadow":["-1px 0px","1px -1px","-1px 1px","1px 1px"].map(function(e,t){return" "+e+" 0 "+d.font.outlineColor}).join(",")};if(d.showLegend){F=t.select(".legend-group").attr({transform:"translate("+[b,d.margin.top]+")"}).style({display:"block"});var H=f.map(function(e,t){var n=a.util.cloneJson(e);return n.symbol="DotPlot"===e.geometry?e.dotType||"circle":"LinePlot"!=e.geometry?"square":"line",n.visibleInLegend=void 0===e.visibleInLegend||e.visibleInLegend,n.color="LinePlot"===e.geometry?e.strokeColor:e.color,n});a.Legend().config({data:f.map(function(e,t){return e.name||"Element"+t}),legendConfig:i({},a.Legend.defaultConfig().legendConfig,{container:F,elements:H,reverseOrder:d.legend.reverseOrder})})();var U=F.node().getBBox();b=Math.min(d.width-U.width-d.margin.left-d.margin.right,d.height-d.margin.top-d.margin.bottom)/2,b=Math.max(10,b),A=[d.margin.left+b,d.margin.top+b],o.range([0,b]),c.layout.radialAxis.domain=o.domain(),F.attr("transform","translate("+[A[0]+b,A[1]-b]+")")}else F=t.select(".legend-group").style({display:"none"});t.attr({width:d.width,height:d.height}).style({opacity:d.opacity}),N.attr("transform","translate("+A+")").style({cursor:"crosshair"});var W=[(d.width-(d.margin.left+d.margin.right+2*b+(U?U.width:0)))/2,(d.height-(d.margin.top+d.margin.bottom+2*b))/2];if(W[0]=Math.max(0,W[0]),W[1]=Math.max(0,W[1]),t.select(".outer-group").attr("transform","translate("+W+")"),d.title){var q=t.select("g.title-group text").style(z).text(d.title),V=q.node().getBBox();q.attr({x:A[0]-V.width/2,y:A[1]-b-20})}var G=t.select(".radial.axis-group");if(d.radialAxis.gridLinesVisible){var K=G.selectAll("circle.grid-circle").data(o.ticks(5));K.enter().append("circle").attr({class:"grid-circle"}).style(B),K.attr("r",o),K.exit().remove()}G.select("circle.outside-circle").attr({r:b}).style(B);var Y=t.select("circle.background-circle").attr({r:b}).style({fill:d.backgroundColor,stroke:d.stroke});if(d.radialAxis.visible){var Q=r.svg.axis().scale(o).ticks(5).tickSize(5);G.call(Q).attr({transform:"rotate("+d.radialAxis.orientation+")"}),G.selectAll(".domain").style(B),G.selectAll("g>text").text(function(e,t){return this.textContent+d.radialAxis.ticksSuffix}).style(z).style({"text-anchor":"start"}).attr({x:0,y:0,dx:0,dy:0,transform:function(e,t){return"horizontal"===d.radialAxis.tickOrientation?"rotate("+-d.radialAxis.orientation+") translate("+[0,z["font-size"]]+")":"translate("+[0,z["font-size"]]+")"}}),G.selectAll("g>line").style({stroke:"black"})}var X=t.select(".angular.axis-group").selectAll("g.angular-tick").data(O),Z=X.enter().append("g").classed("angular-tick",!0);X.attr({transform:function(e,t){return"rotate("+l(e,t)+")"}}).style({display:d.angularAxis.visible?"block":"none"}),X.exit().remove(),Z.append("line").classed("grid-line",!0).classed("major",function(e,t){return t%(d.minorTicks+1)==0}).classed("minor",function(e,t){return!(t%(d.minorTicks+1)==0)}).style(B),Z.selectAll(".minor").style({stroke:d.minorTickColor}),X.select("line.grid-line").attr({x1:d.tickLength?b-d.tickLength:0,x2:b}).style({display:d.angularAxis.gridLinesVisible?"block":"none"}),Z.append("text").classed("axis-text",!0).style(z);var J=X.select("text.axis-text").attr({x:b+d.labelOffset,dy:".35em",transform:function(e,t){var n=l(e,t),r=b+d.labelOffset,o=d.angularAxis.tickOrientation;return"horizontal"==o?"rotate("+-n+" "+r+" 0)":"radial"==o?n<270&&n>90?"rotate(180 "+r+" 0)":null:"rotate("+(n<=180&&n>0?-90:90)+" "+r+" 0)"}}).style({"text-anchor":"middle",display:d.angularAxis.labelsVisible?"block":"none"}).text(function(e,t){return t%(d.minorTicks+1)!=0?"":x?x[e]+d.angularAxis.ticksSuffix:e+d.angularAxis.ticksSuffix}).style(z);d.angularAxis.rewriteTicks&&J.text(function(e,t){return t%(d.minorTicks+1)!=0?"":d.angularAxis.rewriteTicks(this.textContent,t)});var $=r.max(N.selectAll(".angular-tick text")[0].map(function(e,t){return e.getCTM().e+e.getBBox().width}));F.attr({transform:"translate("+[b+$,d.margin.top]+")"});var ee=t.select("g.geometry-group").selectAll("g").size()>0,te=t.select("g.geometry-group").selectAll("g.geometry").data(f);if(te.enter().append("g").attr({class:function(e,t){return"geometry geometry"+t}}),te.exit().remove(),f[0]||ee){var ne=[];f.forEach(function(e,t){var n={};n.radialScale=o,n.angularScale=s,n.container=te.filter(function(e,n){return n==t}),n.geometry=e.geometry,n.orientation=d.orientation,n.direction=d.direction,n.index=t,ne.push({data:e,geometryConfig:n})});var re=r.nest().key(function(e,t){return void 0!==e.data.groupId||"unstacked"}).entries(ne),oe=[];re.forEach(function(e,t){"unstacked"===e.key?oe=oe.concat(e.values.map(function(e,t){return[e]})):oe.push(e.values)}),oe.forEach(function(e,t){var n;n=Array.isArray(e)?e[0].geometryConfig.geometry:e.geometryConfig.geometry;var r=e.map(function(e,t){return i(a[n].defaultConfig(),e)});a[n]().config(r)()})}var ie,ae,se=t.select(".guides-group"),le=t.select(".tooltips-group"),ue=a.tooltipPanel().config({container:le,fontSize:8})(),ce=a.tooltipPanel().config({container:le,fontSize:8})(),de=a.tooltipPanel().config({container:le,hasTick:!0})();if(!w){var pe=se.select("line").attr({x1:0,y1:0,y2:0}).style({stroke:"grey","pointer-events":"none"});N.on("mousemove.angular-guide",function(e,t){var n=a.util.getMousePos(Y).angle;pe.attr({x2:-b,transform:"rotate("+n+")"}).style({opacity:.5});var r=(n+180+360-d.orientation)%360;ie=s.invert(r);var o=a.util.convertToCartesian(b+12,n+180);ue.text(a.util.round(ie)).move([o[0]+A[0],o[1]+A[1]])}).on("mouseout.angular-guide",function(e,t){se.select("line").style({opacity:0})})}var fe=se.select("circle").style({stroke:"grey",fill:"none"});N.on("mousemove.radial-guide",function(e,t){var n=a.util.getMousePos(Y).radius;fe.attr({r:n}).style({opacity:.5}),ae=o.invert(a.util.getMousePos(Y).radius);var r=a.util.convertToCartesian(n,d.radialAxis.orientation);ce.text(a.util.round(ae)).move([r[0]+A[0],r[1]+A[1]])}).on("mouseout.radial-guide",function(e,t){fe.style({opacity:0}),de.hide(),ue.hide(),ce.hide()}),t.selectAll(".geometry-group .mark").on("mouseover.tooltip",function(e,n){var o=r.select(this),i=o.style("fill"),s="black",l=o.style("opacity")||1;if(o.attr({"data-opacity":l}),"none"!=i){o.attr({"data-fill":i}),s=r.hsl(i).darker().toString(),o.style({fill:s,opacity:1});var u={t:a.util.round(e[0]),r:a.util.round(e[1])};w&&(u.t=x[e[0]]);var c="t: "+u.t+", r: "+u.r,d=this.getBoundingClientRect(),p=t.node().getBoundingClientRect(),f=[d.left+d.width/2-W[0]-p.left,d.top+d.height/2-W[1]-p.top];de.config({color:s}).text(c),de.move(f)}else i=o.style("stroke"),o.attr({"data-stroke":i}),s=r.hsl(i).darker().toString(),o.style({stroke:s,opacity:1})}).on("mousemove.tooltip",function(e,t){if(0!=r.event.which)return!1;r.select(this).attr("data-fill")&&de.show()}).on("mouseout.tooltip",function(e,t){de.hide();var n=r.select(this),o=n.attr("data-fill");o?n.style({fill:o,opacity:n.attr("data-opacity")}):n.style({stroke:n.attr("data-stroke"),opacity:n.attr("data-opacity")})})}),p}var t,n,o,s,l={data:[],layout:{}},u={},c={},d=r.dispatch("hover"),p={};return p.render=function(t){return e(t),this},p.config=function(e){if(!arguments.length)return l;var t=a.util.cloneJson(e);return t.data.forEach(function(e,t){l.data[t]||(l.data[t]={}),i(l.data[t],a.Axis.defaultConfig().data[0]),i(l.data[t],e)}),i(l.layout,a.Axis.defaultConfig().layout),i(l.layout,t.layout),this},p.getLiveConfig=function(){return c},p.getinputConfig=function(){return u},p.radialScale=function(e){return o},p.angularScale=function(e){return s},p.svg=function(){return t},r.rebind(p,d,"on"),p},a.Axis.defaultConfig=function(e,t){return{data:[{t:[1,2,3,4],r:[10,11,12,13],name:"Line1",geometry:"LinePlot",color:null,strokeDash:"solid",strokeColor:null,strokeSize:"1",visibleInLegend:!0,opacity:1}],layout:{defaultColorRange:r.scale.category10().range(),title:null,height:450,width:500,margin:{top:40,right:40,bottom:40,left:40},font:{size:12,color:"gray",outlineColor:"white",family:"Tahoma, sans-serif"},direction:"clockwise",orientation:0,labelOffset:10,radialAxis:{domain:null,orientation:-45,ticksSuffix:"",visible:!0,gridLinesVisible:!0,tickOrientation:"horizontal",rewriteTicks:null},angularAxis:{domain:[0,360],ticksSuffix:"",visible:!0,gridLinesVisible:!0,labelsVisible:!0,tickOrientation:"horizontal",rewriteTicks:null,ticksCount:null,ticksStep:null},minorTicks:0,tickLength:null,tickColor:"silver",minorTickColor:"#eee",backgroundColor:"none",needsEndSpacing:null,showLegend:!0,legend:{reverseOrder:!1},opacity:1}}},a.util={},a.DATAEXTENT="dataExtent",a.AREA="AreaChart",a.LINE="LinePlot",a.DOT="DotPlot",a.BAR="BarChart",a.util._override=function(e,t){for(var n in e)n in t&&(t[n]=e[n])},a.util._extend=function(e,t){for(var n in e)t[n]=e[n]},a.util._rndSnd=function(){return 2*Math.random()-1+(2*Math.random()-1)+(2*Math.random()-1)},a.util.dataFromEquation2=function(e,t){var n=t||6;return r.range(0,360+n,n).map(function(t,n){return[t,e(t*Math.PI/180)]})},a.util.dataFromEquation=function(e,t,n){var o=t||6,i=[],a=[];r.range(0,360+o,o).forEach(function(t,n){var r=t*Math.PI/180,o=e(r);i.push(t),a.push(o)});var s={t:i,r:a};return n&&(s.name=n),s},a.util.ensureArray=function(e,t){if(void 0===e)return null;var n=[].concat(e);return r.range(t).map(function(e,t){return n[t]||n[0]})},a.util.fillArrays=function(e,t,n){return t.forEach(function(t,r){e[t]=a.util.ensureArray(e[t],n)}),e},a.util.cloneJson=function(e){return JSON.parse(JSON.stringify(e))},a.util.validateKeys=function(e,t){"string"==typeof t&&(t=t.split("."));var n=t.shift();return e[n]&&(!t.length||objHasKeys(e[n],t))},a.util.sumArrays=function(e,t){return r.zip(e,t).map(function(e,t){return r.sum(e)})},a.util.arrayLast=function(e){return e[e.length-1]},a.util.arrayEqual=function(e,t){for(var n=Math.max(e.length,t.length,1);n-- >=0&&e[n]===t[n];);return n===-2},a.util.flattenArray=function(e){for(var t=[];!a.util.arrayEqual(t,e);)t=e,e=[].concat.apply([],e);return e},a.util.deduplicate=function(e){return e.filter(function(e,t,n){return n.indexOf(e)==t})},a.util.convertToCartesian=function(e,t){var n=t*Math.PI/180;return[e*Math.cos(n),e*Math.sin(n)]},a.util.round=function(e,t){var n=t||2,r=Math.pow(10,n);return Math.round(e*r)/r},a.util.getMousePos=function(e){var t=r.mouse(e.node()),n=t[0],o=t[1],i={};return i.x=n,i.y=o,i.pos=t,i.angle=180*(Math.atan2(o,n)+Math.PI)/Math.PI,i.radius=Math.sqrt(n*n+o*o),i},a.util.duplicatesCount=function(e){for(var t,n={},r={},o=0,i=e.length;o0)){var s=r.select(this.parentNode).selectAll("path.line").data([0]);s.enter().insert("path"),s.attr({class:"line",d:p(a),transform:function(t,n){return"rotate("+(e.orientation+90)+")"},"pointer-events":"none"}).style({fill:function(e,t){return g.fill(n,o,i)},"fill-opacity":0,stroke:function(e,t){return g.stroke(n,o,i)},"stroke-width":function(e,t){return g["stroke-width"](n,o,i)},"stroke-dasharray":function(e,t){return g["stroke-dasharray"](n,o,i)},opacity:function(e,t){return g.opacity(n,o,i)},display:function(e,t){return g.display(n,o,i)}})}};var f=e.angularScale.range(),h=Math.abs(f[1]-f[0])/l[0].length*Math.PI/180,m=r.svg.arc().startAngle(function(e){return-h/2}).endAngle(function(e){return h/2}).innerRadius(function(t){return e.radialScale(c+(t[2]||0))}).outerRadius(function(t){return e.radialScale(c+(t[2]||0))+e.radialScale(t[1])});d.arc=function(t,n,o){r.select(this).attr({class:"mark arc",d:m,transform:function(t,n){return"rotate("+(e.orientation+u(t[0])+90)+")"}})};var g={fill:function(e,n,r){return t[r].data.color},stroke:function(e,n,r){return t[r].data.strokeColor},"stroke-width":function(e,n,r){return t[r].data.strokeSize+"px"},"stroke-dasharray":function(e,n,r){return s[t[r].data.strokeDash]},opacity:function(e,n,r){return t[r].data.opacity},display:function(e,n,r){return void 0===t[r].data.visible||t[r].data.visible?"block":"none"}},y=r.select(this).selectAll("g.layer").data(l);y.enter().append("g").attr({class:"layer"});var v=y.selectAll("path.mark").data(function(e,t){return e});v.enter().append("path").attr({class:"mark"}),v.style(g).each(d[e.geometryType]),v.exit().remove(),y.exit().remove()})}var t,n=[a.PolyChart.defaultConfig()],o=r.dispatch("hover"),s={solid:"none",dash:[5,2],dot:[2,5]};return e.config=function(e){return arguments.length?(e.forEach(function(e,t){n[t]||(n[t]={}),i(n[t],a.PolyChart.defaultConfig()),i(n[t],e)}),this):n},e.getColorScale=function(){return t},r.rebind(e,o,"on"),e},a.PolyChart.defaultConfig=function(){return{data:{name:"geom1",t:[[1,2,3,4]],r:[[1,2,3,4]],dotType:"circle",dotSize:64,dotVisible:!1,barWidth:20,color:"#ffa500",strokeSize:1,strokeColor:"silver",strokeDash:"solid",opacity:1,index:0,visible:!0,visibleInLegend:!0},geometryConfig:{geometry:"LinePlot",geometryType:"arc",direction:"clockwise",orientation:0,container:"body",radialScale:null,angularScale:null,colorScale:r.scale.category20()}}},a.BarChart=function(){return a.PolyChart()},a.BarChart.defaultConfig=function(){return{geometryConfig:{geometryType:"bar"}}},a.AreaChart=function(){return a.PolyChart()},a.AreaChart.defaultConfig=function(){return{geometryConfig:{geometryType:"arc"}}},a.DotPlot=function(){return a.PolyChart()},a.DotPlot.defaultConfig=function(){return{geometryConfig:{geometryType:"dot",dotType:"circle"}}},a.LinePlot=function(){return a.PolyChart()},a.LinePlot.defaultConfig=function(){return{geometryConfig:{geometryType:"line"}}},a.Legend=function(){function e(){var n=t.legendConfig,o=t.data.map(function(e,t){return[].concat(e).map(function(e,r){var o=i({},n.elements[t]);return o.name=e,o.color=[].concat(n.elements[t].color)[r],o})}),a=r.merge(o);a=a.filter(function(e,t){return n.elements[t]&&(n.elements[t].visibleInLegend||void 0===n.elements[t].visibleInLegend)}),n.reverseOrder&&(a=a.reverse());var s=n.container;("string"==typeof s||s.nodeName)&&(s=r.select(s));var l=a.map(function(e,t){return e.color}),u=n.fontSize,c=null==n.isContinuous?"number"==typeof a[0]:n.isContinuous,d=c?n.height:u*a.length,p=s.classed("legend-group",!0),f=p.selectAll("svg").data([0]),h=f.enter().append("svg").attr({width:300,height:d+u,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"});h.append("g").classed("legend-axis",!0),h.append("g").classed("legend-marks",!0);var m=r.range(a.length),g=r.scale[c?"linear":"ordinal"]().domain(m).range(l),y=r.scale[c?"linear":"ordinal"]().domain(m)[c?"range":"rangePoints"]([0,d]),v=function(e,t){var n=3*t;return"line"===e?"M"+[[-t/2,-t/12],[t/2,-t/12],[t/2,t/12],[-t/2,t/12]]+"Z":r.svg.symbolTypes.indexOf(e)!=-1?r.svg.symbol().type(e).size(n)():r.svg.symbol().type("square").size(n)()};if(c){var b=f.select(".legend-marks").append("defs").append("linearGradient").attr({id:"grad1",x1:"0%",y1:"0%",x2:"0%",y2:"100%"}).selectAll("stop").data(l);b.enter().append("stop"),b.attr({offset:function(e,t){return t/(l.length-1)*100+"%"}}).style({"stop-color":function(e,t){return e}}),f.append("rect").classed("legend-mark",!0).attr({height:n.height,width:n.colorBandWidth,fill:"url(#grad1)"})}else{var _=f.select(".legend-marks").selectAll("path.legend-mark").data(a);_.enter().append("path").classed("legend-mark",!0),_.attr({transform:function(e,t){return"translate("+[u/2,y(t)+u/2]+")"},d:function(e,t){return v(e.symbol,u)},fill:function(e,t){return g(t)}}),_.exit().remove()}var A=r.svg.axis().scale(y).orient("right"),x=f.select("g.legend-axis").attr({transform:"translate("+[c?n.colorBandWidth:u,u/2]+")"}).call(A);return x.selectAll(".domain").style({fill:"none",stroke:"none"}),x.selectAll("line").style({fill:"none",stroke:c?n.textColor:"none"}),x.selectAll("text").style({fill:n.textColor,"font-size":n.fontSize}).text(function(e,t){return a[t].name}),e}var t=a.Legend.defaultConfig(),n=r.dispatch("hover");return e.config=function(e){return arguments.length?(i(t,e),this):t},r.rebind(e,n,"on"),e},a.Legend.defaultConfig=function(e,t){return{data:["a","b","c"],legendConfig:{elements:[{symbol:"line",color:"red"},{symbol:"square",color:"yellow"},{symbol:"diamond",color:"limegreen"}],height:150,colorBandWidth:30,fontSize:12,container:"body",isContinuous:null,textColor:"grey",reverseOrder:!1}}},a.tooltipPanel=function(){var e,t,n,o={container:null,hasTick:!1,fontSize:12,color:"white",padding:5},s="tooltip-"+a.tooltipPanel.uid++,l=10,u=function(){e=o.container.selectAll("g."+s).data([0]);var r=e.enter().append("g").classed(s,!0).style({"pointer-events":"none",display:"none"});return n=r.append("path").style({fill:"white","fill-opacity":.9}).attr({d:"M0 0"}),t=r.append("text").attr({dx:o.padding+l,dy:.3*+o.fontSize}),u};return u.text=function(i){var a=r.hsl(o.color).l,s=a>=.5?"#aaa":"white",c=a>=.5?"black":"white",d=i||"";t.style({fill:c,"font-size":o.fontSize+"px"}).text(d);var p=o.padding,f=t.node().getBBox(),h={fill:o.color,stroke:s,"stroke-width":"2px"},m=f.width+2*p+l,g=f.height+2*p;return n.attr({d:"M"+[[l,-g/2],[l,-g/4],[o.hasTick?0:l,0],[l,g/4],[l,g/2],[m,g/2],[m,-g/2]].join("L")+"Z"}).style(h),e.attr({transform:"translate("+[l,-g/2+2*p]+")"}),e.style({display:"block"}),u},u.move=function(t){if(e)return e.attr({transform:"translate("+[t[0],t[1]]+")"}).style({display:"block"}),u},u.hide=function(){if(e)return e.style({display:"none"}),u},u.show=function(){if(e)return e.style({display:"block"}),u},u.config=function(e){return i(o,e),u},u},a.tooltipPanel.uid=1,a.adapter={},a.adapter.plotly=function(){var e={};return e.convert=function(e,t){var n={};if(e.data&&(n.data=e.data.map(function(e,n){var r=i({},e);return[[r,["marker","color"],["color"]],[r,["marker","opacity"],["opacity"]],[r,["marker","line","color"],["strokeColor"]],[r,["marker","line","dash"],["strokeDash"]],[r,["marker","line","width"],["strokeSize"]],[r,["marker","symbol"],["dotType"]],[r,["marker","size"],["dotSize"]],[r,["marker","barWidth"],["barWidth"]],[r,["line","interpolation"],["lineInterpolation"]],[r,["showlegend"],["visibleInLegend"]]].forEach(function(e,n){a.util.translator.apply(null,e.concat(t))}),t||delete r.marker,t&&delete r.groupId,t?("LinePlot"===r.geometry?(r.type="scatter",r.dotVisible===!0?(delete r.dotVisible,r.mode="lines+markers"):r.mode="lines"):"DotPlot"===r.geometry?(r.type="scatter",r.mode="markers"):"AreaChart"===r.geometry?r.type="area":"BarChart"===r.geometry&&(r.type="bar"),delete r.geometry):("scatter"===r.type?"lines"===r.mode?r.geometry="LinePlot":"markers"===r.mode?r.geometry="DotPlot":"lines+markers"===r.mode&&(r.geometry="LinePlot",r.dotVisible=!0):"area"===r.type?r.geometry="AreaChart":"bar"===r.type&&(r.geometry="BarChart"),delete r.mode,delete r.type),r}),!t&&e.layout&&"stack"===e.layout.barmode)){var o=a.util.duplicates(n.data.map(function(e,t){return e.geometry}));n.data.forEach(function(e,t){var r=o.indexOf(e.geometry);r!=-1&&(n.data[t].groupId=r)})}if(e.layout){var s=i({},e.layout);if([[s,["plot_bgcolor"],["backgroundColor"]],[s,["showlegend"],["showLegend"]],[s,["radialaxis"],["radialAxis"]],[s,["angularaxis"],["angularAxis"]],[s.angularaxis,["showline"],["gridLinesVisible"]],[s.angularaxis,["showticklabels"],["labelsVisible"]],[s.angularaxis,["nticks"],["ticksCount"]],[s.angularaxis,["tickorientation"],["tickOrientation"]],[s.angularaxis,["ticksuffix"],["ticksSuffix"]],[s.angularaxis,["range"],["domain"]],[s.angularaxis,["endpadding"],["endPadding"]],[s.radialaxis,["showline"],["gridLinesVisible"]],[s.radialaxis,["tickorientation"],["tickOrientation"]],[s.radialaxis,["ticksuffix"],["ticksSuffix"]],[s.radialaxis,["range"],["domain"]],[s.angularAxis,["showline"],["gridLinesVisible"]],[s.angularAxis,["showticklabels"],["labelsVisible"]],[s.angularAxis,["nticks"],["ticksCount"]],[s.angularAxis,["tickorientation"],["tickOrientation"]],[s.angularAxis,["ticksuffix"],["ticksSuffix"]],[s.angularAxis,["range"],["domain"]],[s.angularAxis,["endpadding"],["endPadding"]],[s.radialAxis,["showline"],["gridLinesVisible"]],[s.radialAxis,["tickorientation"],["tickOrientation"]],[s.radialAxis,["ticksuffix"],["ticksSuffix"]],[s.radialAxis,["range"],["domain"]],[s.font,["outlinecolor"],["outlineColor"]],[s.legend,["traceorder"],["reverseOrder"]],[s,["labeloffset"],["labelOffset"]],[s,["defaultcolorrange"],["defaultColorRange"]]].forEach(function(e,n){a.util.translator.apply(null,e.concat(t))}),t?(void 0!==s.tickLength&&(s.angularaxis.ticklen=s.tickLength,delete s.tickLength),s.tickColor&&(s.angularaxis.tickcolor=s.tickColor,delete s.tickColor)):(s.angularAxis&&void 0!==s.angularAxis.ticklen&&(s.tickLength=s.angularAxis.ticklen),s.angularAxis&&void 0!==s.angularAxis.tickcolor&&(s.tickColor=s.angularAxis.tickcolor)),s.legend&&"boolean"!=typeof s.legend.reverseOrder&&(s.legend.reverseOrder="normal"!=s.legend.reverseOrder),s.legend&&"boolean"==typeof s.legend.traceorder&&(s.legend.traceorder=s.legend.traceorder?"reversed":"normal",delete s.legend.reverseOrder),s.margin&&void 0!==s.margin.t){var l=["t","r","b","l","pad"],u=["top","right","bottom","left","pad"],c={};r.entries(s.margin).forEach(function(e,t){c[u[l.indexOf(e.key)]]=e.value}),s.margin=c}t&&(delete s.needsEndSpacing,delete s.minorTickColor,delete s.minorTicks,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksCount,delete s.angularaxis.ticksStep,delete s.angularaxis.rewriteTicks,delete s.angularaxis.nticks,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksCount,delete s.radialaxis.ticksStep,delete s.radialaxis.rewriteTicks,delete s.radialaxis.nticks),n.layout=s}return n},e}},{"../../lib":129,d3:14}],193:[function(e,t,n){"use strict";var r=e("d3"),o=e("../../lib"),i=e("../../components/color"),a=e("./micropolar"),s=e("./undo_manager"),l=o.extendDeepAll,u=t.exports={};u.framework=function(e){function t(t,o){return o&&(d=o),r.select(r.select(d).node().parentNode).selectAll(".svg-container>*:not(.chart-root)").remove(),n=n?l(n,t):t,i||(i=a.Axis()),c=a.adapter.plotly().convert(n),i.config(c).render(d),e.data=n.data,e.layout=n.layout,u.fillLayout(e),n}var n,o,i,c,d,p=new s;return t.isPolar=!0,t.svg=function(){return i.svg()},t.getConfig=function(){return n},t.getLiveConfig=function(){return a.adapter.plotly().convert(i.getLiveConfig(),!0)},t.getLiveScales=function(){return{t:i.angularScale(),r:i.radialScale()}},t.setUndoPoint=function(){var e=this,t=a.util.cloneJson(n);!function(t,n){p.add({undo:function(){n&&e(n)},redo:function(){e(t)}})}(t,o),o=a.util.cloneJson(t)},t.undo=function(){p.undo()},t.redo=function(){p.redo()},t},u.fillLayout=function(e){var t=r.select(e).selectAll(".plot-container"),n=t.selectAll(".svg-container"),o=e.framework&&e.framework.svg&&e.framework.svg(),a={width:800,height:600,paper_bgcolor:i.background,_container:t,_paperdiv:n,_paper:o};e._fullLayout=l(a,e.layout)}},{"../../components/color":32,"../../lib":129,"./micropolar":192,"./undo_manager":194,d3:14}],194:[function(e,t,n){"use strict";t.exports=function(){function e(e,t){return e?(o=!0,e[t](),o=!1,this):this}var t,n=[],r=-1,o=!1;return{add:function(e){return o?this:(n.splice(r+1,n.length-r),n.push(e),r=n.length-1,this)},setCallback:function(e){t=e},undo:function(){var o=n[r];return o?(e(o,"undo"),r-=1,t&&t(o.undo),this):this},redo:function(){var o=n[r+1];return o?(e(o,"redo"),r+=1,t&&t(o.redo),this):this},clear:function(){n=[],r=-1},hasUndo:function(){return r!==-1},hasRedo:function(){return r=a&&(f.min=0,h.min=0,m.min=0,e.aaxis&&delete e.aaxis.min,e.baxis&&delete e.baxis.min,e.caxis&&delete e.caxis.min)}var o=e("../../../components/color"),i=e("../../subplot_defaults"),a=e("./layout_attributes"),s=e("./axis_defaults"),l=["aaxis","baxis","caxis"];t.exports=function(e,t,n){i(e,t,n,{type:"ternary",attributes:a,handleDefaults:r,font:t.font,paper_bgcolor:t.paper_bgcolor})}},{"../../../components/color":32,"../../subplot_defaults":195,"./axis_defaults":199,"./layout_attributes":201}],201:[function(e,t,n){"use strict";var r=e("../../../components/color/attributes"),o=e("./axis_attributes");t.exports={domain:{x:{valType:"info_array",items:[{valType:"number",min:0,max:1},{valType:"number",min:0,max:1}],dflt:[0,1]},y:{valType:"info_array",items:[{valType:"number",min:0,max:1},{valType:"number",min:0,max:1}],dflt:[0,1]}},bgcolor:{valType:"color",dflt:r.background},sum:{valType:"number",dflt:1,min:0},aaxis:o,baxis:o,caxis:o}},{"../../../components/color/attributes":31,"./axis_attributes":198}],202:[function(e,t,n){"use strict";function r(e,t){this.id=e.id,this.graphDiv=e.graphDiv,this.init(t),this.makeFramework()}function o(e){i.select(e).selectAll(".zoombox,.js-zoombox-backdrop,.js-zoombox-menu,.zoombox-corners").remove()}var i=e("d3"),a=e("tinycolor2"),s=e("../../plotly"),l=e("../../lib"),u=e("../../components/color"),c=e("../../components/drawing"),d=e("../cartesian/set_convert"),p=e("../../lib/extend").extendFlat,f=e("../plots"),h=e("../cartesian/axes"),m=e("../../components/dragelement"),g=e("../../components/titles"),y=e("../cartesian/select"),v=e("../cartesian/constants"),b=e("../cartesian/graph_interact");t.exports=r;var _=r.prototype;_.init=function(e){this.container=e._ternarylayer,this.defs=e._defs,this.layoutId=e._uid,this.traceHash={}},_.plot=function(e,t){var n=this,r=t[n.id],o=t._size;n.adjustLayout(r,o),f.generalUpdatePerTraceModule(n,e,r),n.layers.plotbg.select("path").call(u.fill,r.bgcolor)},_.makeFramework=function(){var e=this,t=e.defs.selectAll("g.clips").data([0]);t.enter().append("g").classed("clips",!0);var n="clip"+e.layoutId+e.id;e.clipDef=t.selectAll("#"+n).data([0]),e.clipDef.enter().append("clipPath").attr("id",n).append("path").attr("d","M0,0Z"),e.plotContainer=e.container.selectAll("g."+e.id).data([0]),e.plotContainer.enter().append("g").classed(e.id,!0),e.layers={};var r=["draglayer","plotbg","backplot","grids","frontplot","zoom","aaxis","baxis","caxis","axlines"];e.plotContainer.selectAll("g.toplevel").data(r).enter().append("g").attr("class",function(e){return"toplevel "+e}).each(function(t){var n=i.select(this);e.layers[t]=n,"frontplot"===t?n.append("g").classed("scatterlayer",!0):"backplot"===t?n.append("g").classed("maplayer",!0):"plotbg"===t?n.append("path").attr("d","M0,0Z"):"axlines"===t&&n.selectAll("path").data(["aline","bline","cline"]).enter().append("path").each(function(e){i.select(this).classed(e,!0)})}),e.plotContainer.select(".grids").selectAll("g.grid").data(["agrid","bgrid","cgrid"]).enter().append("g").attr("class",function(e){return"grid "+e}).each(function(t){e.layers[t]=i.select(this)}),e.plotContainer.selectAll(".backplot,.frontplot,.grids").call(c.setClipUrl,n),e.graphDiv._context.staticPlot||e.initInteractions()};var A=Math.sqrt(4/3);_.adjustLayout=function(e,t){var n,r,o,i,a,s,l=this,c=e.domain,f=(c.x[0]+c.x[1])/2,h=(c.y[0]+c.y[1])/2,m=c.x[1]-c.x[0],g=c.y[1]-c.y[0],y=m*t.w,v=g*t.h,b=e.sum,_=e.aaxis.min,x=e.baxis.min,j=e.caxis.min;y>A*v?(i=v,o=i*A):(o=y,i=o/A),a=m*o/y,s=g*i/v,n=t.l+t.w*f-o/2,r=t.t+t.h*(1-h)-i/2,l.x0=n,l.y0=r,l.w=o,l.h=i,l.sum=b,l.xaxis={type:"linear",range:[_+2*j-b,b-_-2*x],domain:[f-a/2,f+a/2],_id:"x"},d(l.xaxis,l.graphDiv._fullLayout),l.xaxis.setScale(),l.yaxis={type:"linear",range:[_,b-x-j],domain:[h-s/2,h+s/2],_id:"y"},d(l.yaxis,l.graphDiv._fullLayout),l.yaxis.setScale();var w=l.yaxis.domain[0],C=l.aaxis=p({},e.aaxis,{range:[_,b-x-j],side:"left",_counterangle:30,tickangle:(+e.aaxis.tickangle||0)-30,domain:[w,w+s*A],_axislayer:l.layers.aaxis,_gridlayer:l.layers.agrid,_pos:0,_id:"y",_length:o,_gridpath:"M0,0l"+i+",-"+o/2});d(C,l.graphDiv._fullLayout),C.setScale();var E=l.baxis=p({},e.baxis,{range:[b-_-j,x],side:"bottom",_counterangle:30,domain:l.xaxis.domain,_axislayer:l.layers.baxis,_gridlayer:l.layers.bgrid,_counteraxis:l.aaxis,_pos:0,_id:"x",_length:o,_gridpath:"M0,0l-"+o/2+",-"+i});d(E,l.graphDiv._fullLayout),E.setScale(),C._counteraxis=E;var k=l.caxis=p({},e.caxis,{range:[b-_-x,j],side:"right",_counterangle:30,tickangle:(+e.caxis.tickangle||0)+30,domain:[w,w+s*A],_axislayer:l.layers.caxis,_gridlayer:l.layers.cgrid,_counteraxis:l.baxis,_pos:0,_id:"y",_length:o,_gridpath:"M0,0l-"+i+","+o/2});d(k,l.graphDiv._fullLayout),k.setScale();var T="M"+n+","+(r+i)+"h"+o+"l-"+o/2+",-"+i+"Z";l.clipDef.select("path").attr("d",T),l.layers.plotbg.select("path").attr("d",T);var S="translate("+n+","+r+")";l.plotContainer.selectAll(".scatterlayer,.maplayer,.zoom").attr("transform",S);var P="translate("+n+","+(r+i)+")";l.layers.baxis.attr("transform",P),l.layers.bgrid.attr("transform",P);var M="translate("+(n+o/2)+","+r+")rotate(30)";l.layers.aaxis.attr("transform",M),l.layers.agrid.attr("transform",M);var D="translate("+(n+o/2)+","+r+")rotate(-30)";l.layers.caxis.attr("transform",D),l.layers.cgrid.attr("transform",D),l.drawAxes(!0),l.plotContainer.selectAll(".crisp").classed("crisp",!1);var O=l.layers.axlines;O.select(".aline").attr("d",C.showline?"M"+n+","+(r+i)+"l"+o/2+",-"+i:"M0,0").call(u.stroke,C.linecolor||"#000").style("stroke-width",(C.linewidth||0)+"px"),O.select(".bline").attr("d",E.showline?"M"+n+","+(r+i)+"h"+o:"M0,0").call(u.stroke,E.linecolor||"#000").style("stroke-width",(E.linewidth||0)+"px"),O.select(".cline").attr("d",k.showline?"M"+(n+o/2)+","+r+"l"+o/2+","+i:"M0,0").call(u.stroke,k.linecolor||"#000").style("stroke-width",(k.linewidth||0)+"px")},_.drawAxes=function(e){var t=this,n=t.graphDiv,r=t.id.substr(7)+"title",o=t.aaxis,i=t.baxis,a=t.caxis;if(h.doTicks(n,o,!0),h.doTicks(n,i,!0),h.doTicks(n,a,!0),e){var s=Math.max(o.showticklabels?o.tickfont.size/2:0,(a.showticklabels?.75*a.tickfont.size:0)+("outside"===a.ticks?.87*a.ticklen:0));g.draw(n,"a"+r,{propContainer:o,propName:t.id+".aaxis.title",dfltName:"Component A",attributes:{x:t.x0+t.w/2,y:t.y0-o.titlefont.size/3-s,"text-anchor":"middle"}});var l=(i.showticklabels?i.tickfont.size:0)+("outside"===i.ticks?i.ticklen:0)+3;g.draw(n,"b"+r,{propContainer:i,propName:t.id+".baxis.title",dfltName:"Component B",attributes:{x:t.x0-l,y:t.y0+t.h+.83*i.titlefont.size+l,"text-anchor":"middle"}}),g.draw(n,"c"+r,{propContainer:a,propName:t.id+".caxis.title",dfltName:"Component C",attributes:{x:t.x0+t.w+l,y:t.y0+t.h+.83*a.titlefont.size+l,"text-anchor":"middle"}})}};var x=v.MINZOOM/2+.87,j="m-0.87,.5h"+x+"v3h-"+(x+5.2)+"l"+(x/2+2.6)+",-"+(.87*x+4.5)+"l2.6,1.5l-"+x/2+","+.87*x+"Z",w="m0.87,.5h-"+x+"v3h"+(x+5.2)+"l-"+(x/2+2.6)+",-"+(.87*x+4.5)+"l-2.6,1.5l"+x/2+","+.87*x+"Z",C="m0,1l"+x/2+","+.87*x+"l2.6,-1.5l-"+(x/2+2.6)+",-"+(.87*x+4.5)+"l-"+(x/2+2.6)+","+(.87*x+4.5)+"l2.6,1.5l"+x/2+",-"+.87*x+"Z",E=!0;_.initInteractions=function(){function e(e,t,n){var r=L.getBoundingClientRect();_=t-r.left,x=n-r.top,k={a:R.aaxis.range[0],b:R.baxis.range[1],c:R.caxis.range[1]},S=k,T=R.aaxis.range[1]-k.a,P=a(R.graphDiv._fullLayout[R.id].bgcolor).getLuminance(),M="M0,"+R.h+"L"+R.w/2+", 0L"+R.w+","+R.h+"Z",D=!1,O=N.append("path").attr("class","zoombox").style({fill:P>.2?"rgba(0,0,0,0)":"rgba(255,255,255,0)","stroke-width":0}).attr("d",M),I=N.append("path").attr("class","zoombox-corners").style({fill:u.background,stroke:u.defaultLine,"stroke-width":1,opacity:0}).attr("d","M0,0Z"),h()}function t(e,t){return 1-t/R.h}function n(e,t){return 1-(e+(R.h-t)/Math.sqrt(3))/R.w}function r(e,t){return(e-(R.h-t)/Math.sqrt(3))/R.w}function i(e,o){var i=_+e,a=x+o,s=Math.max(0,Math.min(1,t(_,x),t(i,a))),l=Math.max(0,Math.min(1,n(_,x),n(i,a))),u=Math.max(0,Math.min(1,r(_,x),r(i,a))),c=(s/2+u)*R.w,d=(1-s/2-l)*R.w,p=(c+d)/2,f=d-c,h=(1-s)*R.h,m=h-f/A;f.2?"rgba(0,0,0,0.4)":"rgba(255,255,255,0.3)").duration(200),I.transition().style("opacity",1).duration(200),D=!0)}function c(e,t){if(S===k)return 2===t&&g(),o(F);o(F);var n={};n[R.id+".aaxis.min"]=S.a,n[R.id+".baxis.min"]=S.b,n[R.id+".caxis.min"]=S.c,s.relayout(F,n),E&&F.data&&F._context.showTips&&(l.notifier("Double-click to
zoom back out","long"),E=!1)}function d(){k={a:R.aaxis.range[0],b:R.baxis.range[1],c:R.caxis.range[1]},S=k}function p(e,t){var n=e/R.xaxis._m,r=t/R.yaxis._m;S={a:k.a-r,b:k.b+(n+r)/2,c:k.c-(n-r)/2};var o=[S.a,S.b,S.c].sort(),i={a:o.indexOf(S.a),b:o.indexOf(S.b),c:o.indexOf(S.c)};o[0]<0&&(o[1]+o[0]/2<0?(o[2]+=o[0]+o[1],o[0]=o[1]=0):(o[2]+=o[0]/2,o[1]+=o[0]/2,o[0]=0),S={a:o[i.a],b:o[i.b],c:o[i.c]},t=(k.a-S.a)*R.yaxis._m,e=(k.c-S.c-k.b+S.b)*R.xaxis._m);var a="translate("+(R.x0+e)+","+(R.y0+t)+")";R.plotContainer.selectAll(".scatterlayer,.maplayer").attr("transform",a),R.aaxis.range=[S.a,R.sum-S.b-S.c],R.baxis.range=[R.sum-S.a-S.c,S.b],R.caxis.range=[R.sum-S.a-S.b,S.c],R.drawAxes(!1),R.plotContainer.selectAll(".crisp").classed("crisp",!1)}function f(e,t){if(e){var n={};n[R.id+".aaxis.min"]=S.a,n[R.id+".baxis.min"]=S.b,n[R.id+".caxis.min"]=S.c,s.relayout(F,n)}else 2===t&&g()}function h(){R.plotContainer.selectAll(".select-outline").remove()}function g(){var e={};e[R.id+".aaxis.min"]=0,e[R.id+".baxis.min"]=0,e[R.id+".caxis.min"]=0,F.emit("plotly_doubleclick",null),s.relayout(F,e)}var _,x,k,T,S,P,M,D,O,I,R=this,L=R.layers.plotbg.select("path").node(),F=R.graphDiv,N=R.layers.zoom,B={element:L,gd:F,plotinfo:{plot:N},doubleclick:g,subplot:R.id,prepFn:function(t,n,r){B.xaxes=[R.xaxis],B.yaxes=[R.yaxis];var o=F._fullLayout.dragmode;t.shiftKey&&(o="pan"===o?"zoom":"pan"),B.minDrag="lasso"===o?1:void 0,"zoom"===o?(B.moveFn=i,B.doneFn=c,e(t,n,r)):"pan"===o?(B.moveFn=p,B.doneFn=f,d(),h()):"select"!==o&&"lasso"!==o||y(t,n,r,B,o)}};L.onmousemove=function(e){b.hover(F,e,R.id),F._fullLayout._lasthover=L,F._fullLayout._hoversubplot=R.id},L.onmouseout=function(e){F._dragging||m.unhover(F,e)},L.onclick=function(e){b.click(F,e)},m.init(B)}},{"../../components/color":32,"../../components/dragelement":53,"../../components/drawing":55,"../../components/titles":108,"../../lib":129,"../../lib/extend":125,"../../plotly":159,"../cartesian/axes":164,"../cartesian/constants":169,"../cartesian/graph_interact":171,"../cartesian/select":177,"../cartesian/set_convert":178,"../plots":188,d3:14,tinycolor2:20}],203:[function(e,t,n){"use strict";function r(e){if(e.layoutAttributes){var t=e.layoutAttributes._arrayAttrRegexps;if(t)for(var r=0;r-1}var i=e("../lib"),a=e("../plots/plots"),s=i.extendFlat,l=i.extendDeep;t.exports=function(e,t){e.framework&&e.framework.isPolar&&(e=e.framework.getConfig());var n,i=e.data,u=e.layout,c=l([],i),d=l({},u,r(t.tileClass));if(t.width&&(d.width=t.width),t.height&&(d.height=t.height),"thumbnail"===t.tileClass||"themes__thumb"===t.tileClass){d.annotations=[];var p=Object.keys(d);for(n=0;n0&&C>0,B=j<=L&&C<=F,z=j<=F&&C<=L,H="h"===y?L>=j*(F/C):F>=C*(L/j);N&&(B||z||H)?b="inside":(b="outside",_.remove(),_=null)}else b="inside";if(!_&&(_=m(t,v,"outside"===b?T:k),A=w.bBox(_.node()),j=A.width,C=A.height,j<=0||C<=0))return void _.remove();var U;U="outside"===b?i(a,p,f,h,A,y):o(a,p,f,h,A,y),_.attr("transform",U)}}}function o(e,t,n,r,o,i){var s,l,u,c,d,p=o.width,f=o.height,h=(o.left+o.right)/2,m=(o.top+o.bottom)/2,g=Math.abs(t-e),y=Math.abs(r-n);g>2*D&&y>2*D?(d=D,g-=2*d,y-=2*d):d=0;var v,b;return p<=g&&f<=y?(v=!1,b=1):p<=y&&f<=g?(v=!0,b=1):pn?(u=(e+t)/2,c=r-d-l/2):(u=(e+t)/2,c=r+d+l/2),a(h,m,u,c,b,v)}function i(e,t,n,r,o,i){var s,l="h"===i?Math.abs(r-n):Math.abs(t-e);l>2*D&&(s=D,l-=2*s);var u,c,d,p,f=!1,h="h"===i?Math.min(1,l/o.height):Math.min(1,l/o.width),m=(o.left+o.right)/2,g=(o.top+o.bottom)/2;return f?(u=h*o.height,c=h*o.width):(u=h*o.width,c=h*o.height),"h"===i?tn?(d=(e+t)/2,p=r+s+c/2):(d=(e+t)/2,p=r-s-c/2),a(m,g,d,p,h,f)}function a(e,t,n,r,o,i){var a,s;return o<1?a="scale("+o+") ":(o=1,a=""),s=i?"rotate("+i+" "+e+" "+t+") ":"","translate("+(n-o*e)+" "+(r-o*t)+")"+a+s}function s(e,t){return h(k,f(e.text,t))}function l(e,t){return m(T,f(e.textposition,t))}function u(e,t,n){return p(S,e.textfont,t,n)}function c(e,t,n){return p(P,e.insidetextfont,t,n)}function d(e,t,n){return p(M,e.outsidetextfont,t,n)}function p(e,t,n,r){t=t||{};var o=f(t.family,n),i=f(t.size,n),a=f(t.color,n);return{family:h(e.family,o,r.family),size:g(e.size,i,r.size),color:y(e.color,a,r.color)}}function f(e,t){var n;return Array.isArray(e)?to))return t}return void 0!==n?n:e.dflt}function y(e,t,n){return _(t).isValid()?t:void 0!==n?n:e.dflt}var v=e("d3"),b=e("fast-isnumeric"),_=e("tinycolor2"),A=e("../../lib"),x=e("../../lib/svg_text_utils"),j=e("../../components/color"),w=e("../../components/drawing"),C=e("../../components/errorbars"),E=e("./attributes"),k=E.text,T=E.textposition,S=E.textfont,P=E.insidetextfont,M=E.outsidetextfont,D=3;t.exports=function(e,t,n){var o=t.xaxis,i=t.yaxis,a=e._fullLayout,s=t.plot.select(".barlayer").selectAll("g.trace.bars").data(n);s.enter().append("g").attr("class","trace bars"),s.append("g").attr("class","points").each(function(t){var n=t[0].t,s=t[0].trace,l=n.poffset,u=Array.isArray(l),c=n.barwidth,d=Array.isArray(c);v.select(this).selectAll("g.point").data(A.identity).enter().append("g").classed("point",!0).each(function(n,p){function f(e){return 0===a.bargap&&0===a.bargroupgap?v.round(Math.round(e)-k,2):e}function h(e,t){return Math.abs(e-t)>=2?f(e):e>t?Math.ceil(e):Math.floor(e)}var m,g,y,_,A=n.p+(u?l[p]:l),x=A+(d?c[p]:c),w=n.b,C=w+n.s;if("h"===s.orientation?(y=i.c2p(A,!0),_=i.c2p(x,!0),m=o.c2p(w,!0),g=o.c2p(C,!0)):(m=o.c2p(A,!0),g=o.c2p(x,!0),y=i.c2p(w,!0),_=i.c2p(C,!0)),!(b(m)&&b(g)&&b(y)&&b(_)&&m!==g&&y!==_))return void v.select(this).remove();var E=(n.mlw+1||s.marker.line.width+1||(n.trace?n.trace.marker.line.width:0)+1)-1,k=v.round(E/2%1,2);if(!e._context.staticPlot){var T=j.opacity(n.mc||s.marker.color),S=T<1||E>.01?f:h;m=S(m,g),g=S(g,m),y=S(y,_),_=S(_,y)}var P=v.select(this);P.append("path").attr("d","M"+m+","+y+"V"+_+"H"+g+"V"+y+"Z"),r(e,P,t,p,m,g,y,_)})}),s.call(C.plot,t)}},{"../../components/color":32,"../../components/drawing":55,"../../components/errorbars":61,"../../lib":129,"../../lib/svg_text_utils":146,"./attributes":213,d3:14,"fast-isnumeric":17,tinycolor2:20}],221:[function(e,t,n){"use strict";function r(e,t,n,r){if(r.length){var s,l,u,c,d,p=e._fullLayout.barmode,f="overlay"===p,h="group"===p;if(f)o(e,t,n,r);else if(h){for(s=[],l=[],u=0;ul+a&&(u=!0,l=v)),y(t.c2l(m))&&(ml+a&&(u=!0,l=m))}}b.expand(t,[s,l],{tozero:!0,padded:u})}function g(e){return e._id.charAt(0)}var y=e("fast-isnumeric"),v=e("../../registry"),b=e("../../plots/cartesian/axes"),_=e("./sieve.js");t.exports=function(e,t){var n,o=t.xaxis,i=t.yaxis,a=e._fullData,s=e.calcdata,l=[],u=[];for(n=0;n1||0===s.bargap&&0===s.bargroupgap&&!e[0].trace.marker.line.width)&&r.select(this).attr("shape-rendering","crispEdges")}),t.selectAll("g.points").each(function(e){var t=e[0].trace,n=t.marker,a=n.line,s=i.tryColorscale(n,""),l=i.tryColorscale(n,"line");r.select(this).selectAll("path").each(function(e){var t,i,u=(e.mlw+1||a.width+1)-1,c=r.select(this);t="mc"in e?e.mcc=s(e.mc):Array.isArray(n.color)?o.defaultLine:n.color,c.style("stroke-width",u+"px").call(o.fill,t),u&&(i="mlc"in e?e.mlcc=l(e.mlc):Array.isArray(a.color)?o.defaultLine:a.color,c.call(o.stroke,i))})}),t.call(a.style)}},{"../../components/color":32,"../../components/drawing":55,"../../components/errorbars":61,d3:14}],224:[function(e,t,n){"use strict";var r=e("../../components/color"),o=e("../../components/colorscale/has_colorscale"),i=e("../../components/colorscale/defaults");t.exports=function(e,t,n,a,s){n("marker.color",a),o(e,"marker")&&i(e,t,s,n,{prefix:"marker.",cLetter:"c"}),n("marker.line.color",r.defaultLine),o(e,"marker.line")&&i(e,t,s,n,{prefix:"marker.line.",cLetter:"c"}),n("marker.line.width")}},{"../../components/color":32,"../../components/colorscale/defaults":41,"../../components/colorscale/has_colorscale":45}],225:[function(e,t,n){"use strict";var r=e("../scatter/attributes"),o=e("../../components/color/attributes"),i=e("../../lib/extend").extendFlat,a=r.marker,s=a.line;t.exports={y:{valType:"data_array"},x:{valType:"data_array"},x0:{valType:"any"},y0:{valType:"any"},xcalendar:r.xcalendar,ycalendar:r.ycalendar,whiskerwidth:{valType:"number",min:0,max:1,dflt:.5},boxpoints:{valType:"enumerated",values:["all","outliers","suspectedoutliers",!1],dflt:"outliers"},boxmean:{valType:"enumerated",values:[!0,"sd",!1],dflt:!1},jitter:{valType:"number",min:0,max:1},pointpos:{valType:"number",min:-2,max:2},orientation:{valType:"enumerated",values:["v","h"]},marker:{outliercolor:{valType:"color",dflt:"rgba(0, 0, 0, 0)"},symbol:i({},a.symbol,{arrayOk:!1}),opacity:i({},a.opacity,{arrayOk:!1,dflt:1}),size:i({},a.size,{arrayOk:!1}),color:i({},a.color,{arrayOk:!1}),line:{color:i({},s.color,{arrayOk:!1,dflt:o.defaultLine}),width:i({},s.width,{arrayOk:!1,dflt:0}),outliercolor:{valType:"color"},outlierwidth:{valType:"number",min:0,dflt:1}}},line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:2}},fillcolor:r.fillcolor}},{"../../components/color/attributes":31,"../../lib/extend":125,"../scatter/attributes":294}],226:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),i=e("../../plots/cartesian/axes");t.exports=function(e,t){function n(e,t,n,i,a){var s;return n in t?h=i.makeCalcdata(t,n):(s=n+"0"in t?t[n+"0"]:"name"in t&&("category"===i.type||r(t.name)&&["linear","log"].indexOf(i.type)!==-1||o.isDateTime(t.name)&&"date"===i.type)?t.name:e.numboxes,s=i.d2c(s,0,t[n+"calendar"]),h=a.map(function(){return s})),h}function a(e,t,n,i,a){var s,l,u,c,d=i.length,p=t.length,f=[],h=[];for(s=0;s=0&&u1,g=n.dPos*(1-d.boxgap)*(1-d.boxgroupgap)/(m?e.numboxes:1),y=m?2*n.dPos*(-.5+(n.boxnum+.5)/e.numboxes)*(1-d.boxgap):0,v=g*h.whiskerwidth;if(h.visible!==!0||n.emptybox)return void i.select(this).remove();"h"===h.orientation?(l=f,c=p):(l=p,c=f),n.bPos=y,n.bdPos=g,r(),i.select(this).selectAll("path.box").data(a.identity).enter().append("path").attr("class","box").each(function(e){var t=l.c2p(e.pos+y,!0),n=l.c2p(e.pos+y-g,!0),r=l.c2p(e.pos+y+g,!0),o=l.c2p(e.pos+y-v,!0),s=l.c2p(e.pos+y+v,!0),u=c.c2p(e.q1,!0),d=c.c2p(e.q3,!0),p=a.constrain(c.c2p(e.med,!0),Math.min(u,d)+1,Math.max(u,d)-1),f=c.c2p(h.boxpoints===!1?e.min:e.lf,!0),m=c.c2p(h.boxpoints===!1?e.max:e.uf,!0);"h"===h.orientation?i.select(this).attr("d","M"+p+","+n+"V"+r+"M"+u+","+n+"V"+r+"H"+d+"V"+n+"ZM"+u+","+t+"H"+f+"M"+d+","+t+"H"+m+(0===h.whiskerwidth?"":"M"+f+","+o+"V"+s+"M"+m+","+o+"V"+s)):i.select(this).attr("d","M"+n+","+p+"H"+r+"M"+n+","+u+"H"+r+"V"+d+"H"+n+"ZM"+t+","+u+"V"+f+"M"+t+","+d+"V"+m+(0===h.whiskerwidth?"":"M"+o+","+f+"H"+s+"M"+o+","+m+"H"+s))}),h.boxpoints&&i.select(this).selectAll("g.points").data(function(e){return e.forEach(function(e){e.t=n,e.trace=h}),e}).enter().append("g").attr("class","points").selectAll("path").data(function(e){var t,n,r,i,s,l,c,d="all"===h.boxpoints?e.val:e.val.filter(function(t){return te.uf}),p=Math.max((e.max-e.min)/10,e.q3-e.q1),f=1e-9*p,m=.01*p,v=[],b=0;if(h.jitter){if(0===p)for(b=1,v=new Array(d.length),t=0;te.lo&&(r.so=!0),r})}).enter().append("path").call(s.translatePoints,p,f),h.boxmean&&i.select(this).selectAll("path.mean").data(a.identity).enter().append("path").attr("class","mean").style("fill","none").each(function(e){var t=l.c2p(e.pos+y,!0),n=l.c2p(e.pos+y-g,!0),r=l.c2p(e.pos+y+g,!0),o=c.c2p(e.mean,!0),a=c.c2p(e.mean-e.sd,!0),s=c.c2p(e.mean+e.sd,!0);"h"===h.orientation?i.select(this).attr("d","M"+o+","+n+"V"+r+("sd"!==h.boxmean?"":"m0,0L"+a+","+t+"L"+o+","+n+"L"+s+","+t+"Z")):i.select(this).attr("d","M"+n+","+o+"H"+r+("sd"!==h.boxmean?"":"m0,0L"+t+","+a+"L"+n+","+o+"L"+t+","+s+"Z"))})})}},{"../../components/drawing":55,"../../lib":129,d3:14}],233:[function(e,t,n){"use strict";var r=e("../../registry"),o=e("../../plots/cartesian/axes"),i=e("../../lib");t.exports=function(e,t){var n,a,s,l,u=e._fullLayout,c=t.xaxis,d=t.yaxis,p=["v","h"];for(a=0;as.end&&(s.start=s.end=(s.start+s.end)/2),t._input.contours||(t._input.contours={}),i(t._input.contours,{start:s.start,end:s.end,size:s.size}),t._input.autocontour=!0}else{var u=s.start,c=s.end,d=t._input.contours;if(u>c&&(s.start=d.start=c,c=s.end=d.end=u,u=s.start),!(s.size>0)){var p;p=u===c?1:r(u,c,t.ncontours).dtick,d.size=s.size=p}}return n}},{"../../lib":129,"../../plots/cartesian/axes":164,"../heatmap/calc":250}],237:[function(e,t,n){"use strict";var r=e("../../plots/plots"),o=e("../../components/colorbar/draw"),i=e("./make_color_map"),a=e("./end_plus");t.exports=function(e,t){var n=t[0].trace,s="cb"+n.uid;if(e._fullLayout._infolayer.selectAll("."+s).remove(),n.showscale===!1)return void r.autoMargin(e,s);var l=o(e,s);t[0].t.cb=l;var u=n.contours,c=n.line,d=u.size||1,p=u.coloring,f=i(n,{isColorbar:!0});"heatmap"===p&&l.filllevels({start:n.zmin,end:n.zmax,size:(n.zmax-n.zmin)/254}),l.fillcolor("fill"===p||"heatmap"===p?f:"").line({color:"lines"===p?f:c.color,width:u.showlines!==!1?c.width:0,dash:c.dash}).levels({start:u.start,end:a(u),size:d}).options(n.colorbar)()}},{"../../components/colorbar/draw":35,"../../plots/plots":188,"./end_plus":240,"./make_color_map":244}],238:[function(e,t,n){"use strict";t.exports.BOTTOMSTART=[1,9,13,104,713],t.exports.TOPSTART=[4,6,7,104,713],t.exports.LEFTSTART=[8,12,14,208,1114],t.exports.RIGHTSTART=[2,3,11,208,1114],t.exports.NEWDELTA=[null,[-1,0],[0,-1],[-1,0],[1,0],null,[0,-1],[-1,0],[0,1],[0,1],null,[0,1],[1,0],[1,0],[0,-1]],t.exports.CHOOSESADDLE={104:[4,1],208:[2,8],713:[7,13],1114:[11,14]},t.exports.SADDLEREMAINDER={1:4,2:8,4:1,7:13,8:2,11:14,13:7,14:11}},{}],239:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../heatmap/has_columns"),i=e("../heatmap/xyz_defaults"),a=e("../contour/style_defaults"),s=e("./attributes");t.exports=function(e,t,n,l){function u(n,o){return r.coerce(e,t,s,n,o)}if(!i(e,t,u,l))return void(t.visible=!1);u("text"),u("connectgaps",o(t));var c,d=r.coerce2(e,t,s,"contours.start"),p=r.coerce2(e,t,s,"contours.end"),f=d===!1||p===!1,h=u("contours.size");c=f?t.autocontour=!0:u("autocontour",!1),!c&&h||u("ncontours"),a(e,t,u,l)}},{"../../lib":129,"../contour/style_defaults":248,"../heatmap/has_columns":256,"../heatmap/xyz_defaults":264,"./attributes":235}],240:[function(e,t,n){"use strict";t.exports=function(e){return e.end+e.size/1e6}},{}],241:[function(e,t,n){"use strict";function r(e,t){return Math.abs(e[0]-t[0])<.01&&Math.abs(e[1]-t[1])<.01}function o(e,t){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)}function i(e,t,n){function i(e){return m[e%m.length]}var c,d=t.join(","),p=d,f=e.crossings[p],h=a(f,n,t),m=[s(e,t,[-h[0],-h[1]])],g=h.join(","),y=e.z.length,v=e.z[0].length;for(c=0;c<1e4;c++){if(f>20?(f=u.CHOOSESADDLE[f][(h[0]||h[1])<0?0:1],e.crossings[p]=u.SADDLEREMAINDER[f]):delete e.crossings[p],!(h=u.NEWDELTA[f])){l.log("Found bad marching index:",f,t,e.level);break}m.push(s(e,t,h)),t[0]+=h[0],t[1]+=h[1],r(m[m.length-1],m[m.length-2])&&m.pop(),p=t.join(",");var b=h[0]&&(t[0]<0||t[0]>v-2)||h[1]&&(t[1]<0||t[1]>y-2);if(p===d&&h.join(",")===g||n&&b)break;f=e.crossings[p]}1e4===c&&l.log("Infinite loop in contour?");var _,A,x,j,w,C,E,k=r(m[0],m[m.length-1]),T=0,S=.2*e.smoothing,P=[],M=0;for(c=1;c=M;c--)if((_=P[c])=M&&_+P[A]20&&t?208===e||1114===e?r=0===n[0]?1:-1:o=0===n[1]?1:-1:u.BOTTOMSTART.indexOf(e)!==-1?o=1:u.LEFTSTART.indexOf(e)!==-1?r=1:u.TOPSTART.indexOf(e)!==-1?o=-1:r=-1,[r,o]}function s(e,t,n){var r=t[0]+Math.max(n[0],0),o=t[1]+Math.max(n[1],0),i=e.z[o][r],a=e.xaxis,s=e.yaxis;if(n[1]){var l=(e.level-i)/(e.z[o][r+1]-i);return[a.c2p((1-l)*e.x[r]+l*e.x[r+1],!0),s.c2p(e.y[o],!0)]}var u=(e.level-i)/(e.z[o+1][r]-i);return[a.c2p(e.x[r],!0),s.c2p((1-u)*e.y[o]+u*e.y[o+1],!0)]}var l=e("../../lib"),u=e("./constants");t.exports=function(e){var t,n,r,o,a;for(r=0;re?0:1)+(t[0][1]>e?0:2)+(t[1][1]>e?0:4)+(t[1][0]>e?0:8);if(5===n||10===n){return e>(t[0][0]+t[0][1]+t[1][0]+t[1][1])/4?5===n?713:1114:5===n?104:208}return 15===n?0:n}var o=e("./constants");t.exports=function(e){var t,n,i,a,s,l,u,c,d,p=e[0].z,f=p.length,h=p[0].length,m=2===f||2===h;for(n=0;n1e3){f.warn("Too many contours, clipping at 1000",e);break}return o}function i(e,t,n){var r=e.plot.select(".maplayer").selectAll("g.contour."+n).data(t);return r.enter().append("g").classed("contour",!0).classed(n,!0),r.exit().remove(),r}function a(e,t,n){var r=e.selectAll("g.contourbg").data([0]);r.enter().append("g").classed("contourbg",!0);var o=r.selectAll("path").data("fill"===n.coloring?[0]:[]);o.enter().append("path"),o.exit().remove(),o.attr("d","M"+t.join("L")+"Z").style("stroke","none")}function s(e,t,n,r){var o=e.selectAll("g.contourfill").data([0]);o.enter().append("g").classed("contourfill",!0);var i=o.selectAll("path").data("fill"===r.coloring?t:[]);i.enter().append("path"),i.exit().remove(),i.each(function(e){var t=l(e,n);t?p.select(this).attr("d",t).style("stroke","none"):p.select(this).remove()})}function l(e,t){function n(e){return Math.abs(e[1]-t[0][1])<.01}function r(e){return Math.abs(e[1]-t[2][1])<.01}function o(e){return Math.abs(e[0]-t[0][0])<.01}function i(e){return Math.abs(e[0]-t[2][0])<.01}for(var a,s,l,u,c,d,p=Math.min(e.z[0][0],e.z[0][1]),m=e.edgepaths.length||p<=e.level?"":"M"+t.join("L")+"Z",g=0,y=e.edgepaths.map(function(e,t){return t}),v=!0;y.length;){for(d=h.smoothopen(e.edgepaths[g],e.smoothing),m+=v?d:d.replace(/^M/,"L"),y.splice(y.indexOf(g),1),a=e.edgepaths[g][e.edgepaths[g].length-1],u=-1,l=0;l<4;l++){if(!a){f.log("Missing end?",g,e);break}for(n(a)&&!i(a)?s=t[1]:o(a)?s=t[0]:r(a)?s=t[3]:i(a)&&(s=t[2]),c=0;c=0&&(s=b,u=c):Math.abs(a[1]-s[1])<.01?Math.abs(a[1]-b[1])<.01&&(b[0]-a[0])*(s[0]-b[0])>=0&&(s=b,u=c):f.log("endpt to newendpt is not vert. or horz.",a,s,b)}if(a=s,u>=0)break;m+="L"+s}if(u===e.edgepaths.length){f.log("unclosed perimeter path");break}g=u,v=y.indexOf(g)===-1,v&&(g=y[0],m+="Z")}for(g=0;gM){n("x scale is not linear");break}}if(v.length&&"fast"===T){var D=(v[v.length-1]-v[0])/(v.length-1),O=Math.abs(D/100);for(x=0;xO){n("y scale is not linear");break}}}var I=c(A),R="scaled"===t.xtype?"":m,L=h(t,R,g,y,I,j),F="scaled"===t.ytype?"":v,N=h(t,F,b,_,A.length,w);k||(i.expand(j,L),i.expand(w,N));var B={x:L,y:N,z:A,text:t.text};if(s(t,A,"","z"),C&&t.contours&&"heatmap"===t.contours.coloring){var z={type:"contour"===t.type?"heatmap":"histogram2d",xcalendar:t.xcalendar,ycalendar:t.ycalendar};B.xfill=h(z,R,g,y,I,j),B.yfill=h(z,F,b,_,A.length,w)}return[B]}},{"../../components/colorscale/calc":38,"../../lib":129,"../../plots/cartesian/axes":164,"../../registry":203,"../histogram2d/calc":275,"./clean_2d_array":251,"./convert_column_xyz":253,"./find_empties":255,"./has_columns":256,"./interp2d":259,"./make_bound_array":260,"./max_row_length":261}],251:[function(e,t,n){"use strict";var r=e("fast-isnumeric");t.exports=function(e,t){function n(e){if(r(e))return+e}var o,i,a,s,l,u;if(t){for(o=0,l=0;l=0;a--)i=p[a],n=i[0],o=i[1],(s=((d[[n-1,o]]||m)[2]+(d[[n+1,o]]||m)[2]+(d[[n,o-1]]||m)[2]+(d[[n,o+1]]||m)[2])/20)&&(l[i]=[n,o,s],p.splice(a,1),u=!0);if(!u)throw"findEmpties iterated with no new neighbors";for(i in l)d[i]=l[i],c.push(l[i])}return c.sort(function(e,t){return t[2]-e[2]})}},{"./max_row_length":261}],256:[function(e,t,n){"use strict";t.exports=function(e){return!Array.isArray(e.z[0])}},{}],257:[function(e,t,n){"use strict";var r=e("../../plots/cartesian/graph_interact"),o=e("../../lib"),i=e("../../plots/cartesian/constants").MAXDIST;t.exports=function(e,t,n,a,s){if(!(e.distance=v[0].length||d<0||d>v.length)return}else{if(r.inbox(t-g[0],t-g[g.length-1])>i||r.inbox(n-y[0],n-y[y.length-1])>i)return;if(s){var x;for(_=[2*g[0]-g[1]],x=1;xm&&(y=Math.max(y,Math.abs(e[o][i]-h)/(g-m))))}return y}var i=e("../../lib"),a=.01,s=[[-1,0],[1,0],[0,-1],[0,1]];t.exports=function(e,t,n){var s,l,u=1;if(Array.isArray(n))for(s=0;sa;s++)u=o(e,t,r(u));return u>a&&i.log("interp2d didn't converge quickly",u),e}},{"../../lib":129}],260:[function(e,t,n){"use strict";var r=e("../../registry");t.exports=function(e,t,n,o,i,a){var s,l,u,c=[],d=r.traceIs(e,"contour"),p=r.traceIs(e,"histogram"),f=r.traceIs(e,"gl2d");if(Array.isArray(t)&&t.length>1&&!p&&"category"!==a.type){var h=t.length;if(!(h<=i))return d?t.slice(0,i):t.slice(0,i+1);if(d||f)c=t.slice(0,i);else if(1===i)c=[t[0]-.5,t[0]+.5];else{for(c=[1.5*t[0]-.5*t[1]],u=1;u0&&i0&&s0;)A=g.c2p(k[C]),C--;for(A<_&&(x=A,A=_,_=x,O=!0),C=0;void 0===j&&C0;)w=y.c2p(T[C]),C--;if(w0&&(r=!0);for(var s=0;si){var a=i-n[e];return n[e]=i,a}}return 0},max:function(e,t,n,o){var i=o[t];if(r(i)){if(i=Number(i),!r(n[e]))return n[e]=i,i;if(n[e]=0;i--)o(i);else if("increasing"===t){for(i=1;i=0;i--)e[i]+=e[i+1];"exclude"===n&&(e.push(0),e.shift())}}var o=e("fast-isnumeric"),i=e("../../lib"),a=e("../../plots/cartesian/axes"),s=e("./bin_functions"),l=e("./norm_functions"),u=e("./average"),c=e("./clean_bins");t.exports=function(e,t){if(t.visible===!0){var n,d=[],p=[],f=a.getFromId(e,"h"===t.orientation?t.yaxis||"y":t.xaxis||"x"),h="h"===t.orientation?"y":"x",m={x:"y",y:"x"}[h],g=t[h+"calendar"],y=t.cumulative;c(t,f,h);var v,b=f.makeCalcdata(t,h),_=h+"bins";t["autobin"+h]===!1&&_ in t?v=t[_]:(v=a.autoBin(b,f,t["nbins"+h],!1,g),y.enabled&&"include"!==y.currentbin&&("decreasing"===y.direction?v.start=f.c2r(f.r2c(v.start)-v.size):v.end=f.c2r(f.r2c(v.end)+v.size)),t._input[_]=t[_]=v);var A,x,j,w="string"==typeof v.size,C=w?[]:v,E=[],k=[],T=0,S=t.histnorm,P=t.histfunc,M=S.indexOf("density")!==-1;y.enabled&&M&&(S=S.replace(/ ?density$/,""),M=!1);var D,O="max"===P||"min"===P,I=O?null:0,R=s.count,L=l[S],F=!1,N=function(e){return f.r2c(e,0,g)};for(Array.isArray(t[m])&&"count"!==P&&(D=t[m],F="avg"===P,R=s[P]),n=N(v.start),x=N(v.end)+(n-a.tickIncrement(n,v.size,!1,g))/1e6;n=0&&jU;n--)if(p[n]){W=n;break}for(n=U;n<=W;n++)o(d[n])&&o(p[n])&&H.push({p:d[n],s:p[n],b:0});return H}}},{"../../lib":129,"../../plots/cartesian/axes":164,"./average":266,"./bin_functions":268,"./clean_bins":270,"./norm_functions":273,"fast-isnumeric":17}],270:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib").cleanDate,i=e("../../constants/numerical"),a=i.ONEDAY,s=i.BADNUM;t.exports=function(e,t,n){var i=t.type,l=n+"bins",u=e[l];u||(u=e[l]={});var c="date"===i?function(e){return e||0===e?o(e,s,u.calendar):null}:function(e){return r(e)?Number(e):null};u.start=c(u.start),u.end=c(u.end);var d="date"===i?a:1,p=u.size;if(r(p))u.size=p>0?Number(p):d;else if("string"!=typeof p)u.size=d;else{var f=p.charAt(0),h=p.substr(1);h=r(h)?Number(h):0,(h<=0||"date"!==i||"M"!==f||h!==Math.round(h))&&(u.size=d)}var m="autobin"+n;"boolean"!=typeof e[m]&&(e[m]=!((u.start||0===u.start)&&(u.end||0===u.end))),e[m]||delete e["nbins"+n]}},{"../../constants/numerical":116,"../../lib":129,"fast-isnumeric":17}],271:[function(e,t,n){"use strict";var r=e("../../registry"),o=e("../../lib"),i=e("../../components/color"),a=e("./bin_defaults"),s=e("../bar/style_defaults"),l=e("../../components/errorbars/defaults"),u=e("./attributes");t.exports=function(e,t,n,c){function d(n,r){return o.coerce(e,t,u,n,r)}var p=d("x"),f=d("y");d("cumulative.enabled")&&(d("cumulative.direction"),d("cumulative.currentbin")),d("text");var h=d("orientation",f&&!p?"h":"v"),m=t["v"===h?"x":"y"];if(!m||!m.length)return void(t.visible=!1);r.getComponentMethod("calendars","handleTraceDefaults")(e,t,["x","y"],c),t["h"===h?"x":"y"]&&d("histfunc"),a(e,t,d,"h"===h?["y"]:["x"]),s(e,t,d,n,c),l(e,t,i.defaultLine,{axis:"y"}),l(e,t,i.defaultLine,{axis:"x",inherit:"y"})}},{"../../components/color":32,"../../components/errorbars/defaults":60,"../../lib":129,"../../registry":203,"../bar/style_defaults":224,"./attributes":265,"./bin_defaults":267}],272:[function(e,t,n){"use strict";var r={};r.attributes=e("./attributes"),r.layoutAttributes=e("../bar/layout_attributes"),r.supplyDefaults=e("./defaults"),r.supplyLayoutDefaults=e("../bar/layout_defaults"),r.calc=e("./calc"),r.setPositions=e("../bar/set_positions"),r.plot=e("../bar/plot"),r.style=e("../bar/style"),r.colorbar=e("../scatter/colorbar"),r.hoverPoints=e("../bar/hover"),r.moduleType="trace",r.name="histogram",r.basePlotModule=e("../../plots/cartesian"),r.categories=["cartesian","bar","histogram","oriented","errorBarsOK","showLegend"],r.meta={},t.exports=r},{"../../plots/cartesian":172,"../bar/hover":216,"../bar/layout_attributes":218,"../bar/layout_defaults":219,"../bar/plot":220,"../bar/set_positions":221,"../bar/style":223,"../scatter/colorbar":297,"./attributes":265,"./calc":269,"./defaults":271}],273:[function(e,t,n){"use strict";t.exports={percent:function(e,t){for(var n=e.length,r=100/t,o=0;ow&&m.splice(w,m.length-w),y.length>w&&y.splice(w,y.length-w),!t.autobinx&&"xbins"in t||(t.xbins=o.autoBin(m,h,t.nbinsx,"2d",v),"histogram2dcontour"===t.type&&(t.xbins.start=x(o.tickIncrement(_(t.xbins.start),t.xbins.size,!0,v)),t.xbins.end=x(o.tickIncrement(_(t.xbins.end),t.xbins.size,!1,v))),t._input.xbins=t.xbins),!t.autobiny&&"ybins"in t||(t.ybins=o.autoBin(y,g,t.nbinsy,"2d",b),"histogram2dcontour"===t.type&&(t.ybins.start=j(o.tickIncrement(A(t.ybins.start),t.ybins.size,!0,b)),t.ybins.end=j(o.tickIncrement(A(t.ybins.end),t.ybins.size,!1,b))),t._input.ybins=t.ybins),p=[];var C,E,k=[],T=[],S="string"==typeof t.xbins.size,P="string"==typeof t.ybins.size,M=S?[]:t.xbins,D=P?[]:t.ybins,O=0,I=[],R=t.histnorm,L=t.histfunc,F=R.indexOf("density")!==-1,N="max"===L||"min"===L,B=N?null:0,z=i.count,H=a[R],U=!1,W=[],q=[],V="z"in t?t.z:"marker"in t&&Array.isArray(t.marker.color)?t.marker.color:"";V&&"count"!==L&&(U="avg"===L,z=i[L]);var G=t.xbins,K=_(G.start),Y=_(G.end)+(K-o.tickIncrement(K,G.size,!1,v))/1e6;for(f=K;f=0&&C=0&&E")}return m};var l},{"../../components/color":32,"./helpers":286,"fast-isnumeric":17,tinycolor2:20}],285:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("./attributes");t.exports=function(e,t,n,i){function a(n,i){return r.coerce(e,t,o,n,i)}var s=r.coerceFont,l=a("values");if(!Array.isArray(l)||!l.length)return void(t.visible=!1);var u=a("labels");Array.isArray(u)||(a("label0"),a("dlabel")),a("marker.line.width")&&a("marker.line.color");var c=a("marker.colors");Array.isArray(c)||(t.marker.colors=[]),a("scalegroup");var d=a("text"),p=a("textinfo",Array.isArray(d)?"text+percent":"percent");if(a("hoverinfo",1===i._dataLength?"label+text+value+percent":void 0),p&&"none"!==p){var f=a("textposition"),h=Array.isArray(f)||"auto"===f,m=h||"inside"===f,g=h||"outside"===f;if(m||g){var y=s(a,"textfont",i.font);m&&s(a,"insidetextfont",y),g&&s(a,"outsidetextfont",y)}}a("domain.x"),a("domain.y"),a("hole"),a("sort"),a("direction"),a("rotation"),a("pull")}},{"../../lib":129,"./attributes":282}],286:[function(e,t,n){"use strict";var r=e("../../lib");n.formatPiePercent=function(e,t){var n=(100*e).toPrecision(3);return n.lastIndexOf(".")!==-1&&(n=n.replace(/[.]?0+$/,"")),r.numSeparate(n,t)+"%"},n.formatPieValue=function(e,t){var n=e.toPrecision(10);return n.lastIndexOf(".")!==-1&&(n=n.replace(/[.]?0+$/,"")),r.numSeparate(n,t)}},{"../../lib":129}],287:[function(e,t,n){"use strict";var r={};r.attributes=e("./attributes"),r.supplyDefaults=e("./defaults"),r.supplyLayoutDefaults=e("./layout_defaults"),r.layoutAttributes=e("./layout_attributes"),r.calc=e("./calc"),r.plot=e("./plot"),r.style=e("./style"),r.styleOne=e("./style_one"),r.moduleType="trace",r.name="pie",r.basePlotModule=e("./base_plot"),r.categories=["pie","showLegend"],r.meta={},t.exports=r},{"./attributes":282,"./base_plot":283,"./calc":284,"./defaults":285,"./layout_attributes":288,"./layout_defaults":289,"./plot":290,"./style":291,"./style_one":292}],288:[function(e,t,n){"use strict";t.exports={hiddenlabels:{valType:"data_array"}}},{}],289:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("./layout_attributes");t.exports=function(e,t){function n(n,i){return r.coerce(e,t,o,n,i)}n("hiddenlabels")}},{"../../lib":129,"./layout_attributes":288}],290:[function(e,t,n){"use strict";function r(e,t,n){var r=Math.sqrt(e.width*e.width+e.height*e.height),i=e.width/e.height,a=Math.PI*Math.min(t.v/n.vTotal,.5),s=1-n.trace.hole,l=o(t,n),u={scale:l*n.r*2/r,rCenter:1-l,rotate:0};if(u.scale>=1)return u;var c=i+1/(2*Math.tan(a)),d=n.r*Math.min(1/(Math.sqrt(c*c+.5)+c),s/(Math.sqrt(i*i+s/2)+i)),p={scale:2*d/e.height,rCenter:Math.cos(d/n.r)-d*i/n.r,rotate:(180/Math.PI*t.midangle+720)%180-90},f=1/i,h=f+1/(2*Math.tan(a)),m=n.r*Math.min(1/(Math.sqrt(h*h+.5)+h),s/(Math.sqrt(f*f+s/2)+f)),g={scale:2*m/e.width,rCenter:Math.cos(m/n.r)-m/i/n.r,rotate:(180/Math.PI*t.midangle+810)%180-90},y=g.scale>p.scale?g:p;return u.scale<1&&y.scale>u.scale?y:u}function o(e,t){if(e.v===t.vTotal&&!t.trace.hole)return 1;var n=Math.PI*Math.min(e.v/t.vTotal,.5);return Math.min(1/(1+1/Math.sin(n)),(1-t.trace.hole)/2)}function i(e,t){var n=t.pxmid[0],r=t.pxmid[1],o=e.width/2,i=e.height/2;return n<0&&(o*=-1),r<0&&(i*=-1),{scale:1,rCenter:1,rotate:0,x:o+Math.abs(i)*(o>0?1:-1)/2,y:i/(1+n*n/(r*r)),outside:!0}}function a(e,t){function n(e,t){return e.pxmid[1]-t.pxmid[1]}function r(e,t){return t.pxmid[1]-e.pxmid[1]}function o(e,n){n||(n={});var r,o,i,s,p,f,m=n.labelExtraY+(a?n.yLabelMax:n.yLabelMin),g=a?e.yLabelMin:e.yLabelMax,y=a?e.yLabelMax:e.yLabelMin,v=e.cyFinal+u(e.px0[1],e.px1[1]),b=m-g;if(b*d>0&&(e.labelExtraY=b),Array.isArray(t.pull))for(o=0;o=t.pull[i.i]||((e.pxmid[1]-i.pxmid[1])*d>0?(s=i.cyFinal+u(i.px0[1],i.px1[1]),(b=s-g-e.labelExtraY)*d>0&&(e.labelExtraY+=b)):(y+e.labelExtraY-v)*d>0&&(r=3*c*Math.abs(o-h.indexOf(e)),p=i.cxFinal+l(i.px0[0],i.px1[0]),(f=p+r-(e.cxFinal+e.pxmid[0])-e.labelExtraX)*c>0&&(e.labelExtraX+=f)))}var i,a,s,l,u,c,d,p,f,h,m,g,y;for(a=0;a<2;a++)for(s=a?n:r,u=a?Math.max:Math.min,d=a?1:-1,i=0;i<2;i++){for(l=i?Math.max:Math.min,c=i?1:-1,p=e[a][i],p.sort(s),f=e[1-a][i],h=f.concat(p),g=[],m=0;mc&&(c=s.pull[i]);a.r=Math.min(n/u(s.tilt,Math.sin(l),s.depth),r/u(s.tilt,Math.cos(l),s.depth))/(2+2*c),a.cx=t.l+t.w*(s.domain.x[1]+s.domain.x[0])/2,a.cy=t.t+t.h*(2-s.domain.y[1]-s.domain.y[0])/2,s.scalegroup&&f.indexOf(s.scalegroup)===-1&&f.push(s.scalegroup)}for(i=0;id.vTotal/2?1:0)}function u(e,t,n){if(!e)return 1;var r=Math.sin(e*Math.PI/180);return Math.max(.01,n*r*Math.abs(t)+2*Math.sqrt(1-r*r*t*t))}var c=e("d3"),d=e("../../plots/cartesian/graph_interact"),p=e("../../components/color"),f=e("../../components/drawing"),h=e("../../lib/svg_text_utils"),m=e("./helpers");t.exports=function(e,t){var n=e._fullLayout;s(t,n._size);var u=n._pielayer.selectAll("g.trace").data(t);u.enter().append("g").attr({"stroke-linejoin":"round",class:"trace"}),u.exit().remove(),u.order(),u.each(function(t){var s=c.select(this),u=t[0],g=u.trace,y=0,v=(g.depth||0)*u.r*Math.sin(y)/2,b=g.tiltaxis||0,_=b*Math.PI/180,A=[v*Math.sin(_),v*Math.cos(_)],x=u.r*Math.cos(y),j=s.selectAll("g.part").data(g.tilt?["top","sides"]:["top"]);j.enter().append("g").attr("class",function(e){return e+" part"}),j.exit().remove(),j.order(),l(t),s.selectAll(".top").each(function(){var s=c.select(this).selectAll("g.slice").data(t);s.enter().append("g").classed("slice",!0),s.exit().remove();var l=[[[],[]],[[],[]]],y=!1;s.each(function(a){function s(t){var r=e._fullLayout,i=e._fullData[g.index],s=i.hoverinfo;if("all"===s&&(s="label+text+value+percent+name"),!e._dragging&&r.hovermode!==!1&&"none"!==s&&"skip"!==s&&s){var l=o(a,u),c=j+a.pxmid[0]*(1-l),p=w+a.pxmid[1]*(1-l),f=n.separators,h=[];s.indexOf("label")!==-1&&h.push(a.label),i.text&&i.text[a.i]&&s.indexOf("text")!==-1&&h.push(i.text[a.i]),s.indexOf("value")!==-1&&h.push(m.formatPieValue(a.v,f)),s.indexOf("percent")!==-1&&h.push(m.formatPiePercent(a.v/u.vTotal,f)),d.loneHover({x0:c-l*u.r,x1:c+l*u.r,y:p,text:h.join("
"),name:s.indexOf("name")!==-1?i.name:void 0,color:a.color,idealAlign:a.pxmid[0]<0?"left":"right"},{container:r._hoverlayer.node(),outerContainer:r._paper.node()}),d.hover(e,t,"pie"),k=!0}}function p(t){e.emit("plotly_unhover",{points:[t]}),k&&(d.loneUnhover(n._hoverlayer.node()),k=!1)}function v(){e._hoverdata=[a],e._hoverdata.trace=t.trace,d.click(e,{target:!0})}function _(e,t,n,r){return"a"+r*u.r+","+r*x+" "+b+" "+a.largeArc+(n?" 1 ":" 0 ")+r*(t[0]-e[0])+","+r*(t[1]-e[1])}if(a.hidden)return void c.select(this).selectAll("path,g").remove();l[a.pxmid[1]<0?0:1][a.pxmid[0]<0?0:1].push(a);var j=u.cx+A[0],w=u.cy+A[1],C=c.select(this),E=C.selectAll("path.surface").data([a]),k=!1;if(E.enter().append("path").classed("surface",!0).style({"pointer-events":"all"}),C.select("path.textline").remove(),C.on("mouseover",s).on("mouseout",p).on("click",v),g.pull){var T=+(Array.isArray(g.pull)?g.pull[a.i]:g.pull)||0;T>0&&(j+=T*a.pxmid[0],w+=T*a.pxmid[1])}a.cxFinal=j,a.cyFinal=w;var S=g.hole;if(a.v===u.vTotal){var P="M"+(j+a.px0[0])+","+(w+a.px0[1])+_(a.px0,a.pxmid,!0,1)+_(a.pxmid,a.px0,!0,1)+"Z";S?E.attr("d","M"+(j+S*a.px0[0])+","+(w+S*a.px0[1])+_(a.px0,a.pxmid,!1,S)+_(a.pxmid,a.px0,!1,S)+"Z"+P):E.attr("d",P)}else{var M=_(a.px0,a.px1,!0,1);if(S){var D=1-S;E.attr("d","M"+(j+S*a.px1[0])+","+(w+S*a.px1[1])+_(a.px1,a.px0,!1,S)+"l"+D*a.px0[0]+","+D*a.px0[1]+M+"Z")}else E.attr("d","M"+j+","+w+"l"+a.px0[0]+","+a.px0[1]+M+"Z")}var O=Array.isArray(g.textposition)?g.textposition[a.i]:g.textposition,I=C.selectAll("g.slicetext").data(a.text&&"none"!==O?[0]:[]);I.enter().append("g").classed("slicetext",!0),I.exit().remove(),I.each(function(){var e=c.select(this).selectAll("text").data([0]);e.enter().append("text").attr("data-notex",1),e.exit().remove(),e.text(a.text).attr({class:"slicetext",transform:"","data-bb":"","text-anchor":"middle",x:0,y:0}).call(f.font,"outside"===O?g.outsidetextfont:g.insidetextfont).call(h.convertToTspans),e.selectAll("tspan.line").attr({x:0,y:0});var t,n=f.bBox(e.node());"outside"===O?t=i(n,a):(t=r(n,a,u),"auto"===O&&t.scale<1&&(e.call(f.font,g.outsidetextfont),g.outsidetextfont.family===g.insidetextfont.family&&g.outsidetextfont.size===g.insidetextfont.size||(e.attr({"data-bb":""}),n=f.bBox(e.node())),t=i(n,a)));var o=j+a.pxmid[0]*t.rCenter+(t.x||0),s=w+a.pxmid[1]*t.rCenter+(t.y||0);t.outside&&(a.yLabelMin=s-n.height/2,a.yLabelMid=s,a.yLabelMax=s+n.height/2,a.labelExtraX=0,a.labelExtraY=0,y=!0),e.attr("transform","translate("+o+","+s+")"+(t.scale<1?"scale("+t.scale+")":"")+(t.rotate?"rotate("+t.rotate+")":"")+"translate("+-(n.left+n.right)/2+","+-(n.top+n.bottom)/2+")")})}),y&&a(l,g),s.each(function(e){if(e.labelExtraX||e.labelExtraY){var t=c.select(this),n=t.select("g.slicetext text");n.attr("transform","translate("+e.labelExtraX+","+e.labelExtraY+")"+n.attr("transform"));var r=e.cxFinal+e.pxmid[0],o=e.cyFinal+e.pxmid[1],i="M"+r+","+o,a=(e.yLabelMax-e.yLabelMin)*(e.pxmid[0]<0?-1:1)/4;if(e.labelExtraX){var s=e.labelExtraX*e.pxmid[1]/e.pxmid[0],l=e.yLabelMid+e.labelExtraY-(e.cyFinal+e.pxmid[1]);i+=Math.abs(s)>Math.abs(l)?"l"+l*e.pxmid[0]/e.pxmid[1]+","+l+"H"+(r+e.labelExtraX+a):"l"+e.labelExtraX+","+s+"v"+(l-s)+"h"+a}else i+="V"+(e.yLabelMid+e.labelExtraY)+"h"+a;t.append("path").classed("textline",!0).call(p.stroke,g.outsidetextfont.color).attr({"stroke-width":Math.min(2,g.outsidetextfont.size/8),d:i,fill:"none"})}})})}),setTimeout(function(){u.selectAll("tspan").each(function(){var e=c.select(this);e.attr("dy")&&e.attr("dy",e.attr("dy"))})},0)}},{"../../components/color":32,"../../components/drawing":55,"../../lib/svg_text_utils":146,"../../plots/cartesian/graph_interact":171,"./helpers":286,d3:14}],291:[function(e,t,n){"use strict";var r=e("d3"),o=e("./style_one");t.exports=function(e){e._fullLayout._pielayer.selectAll(".trace").each(function(e){var t=e[0],n=t.trace,i=r.select(this);i.style({opacity:n.opacity}),i.selectAll(".top path.surface").each(function(e){r.select(this).call(o,e,n)})})}},{"./style_one":292,d3:14}],292:[function(e,t,n){"use strict";var r=e("../../components/color");t.exports=function(e,t,n){var o=n.marker.line.color;Array.isArray(o)&&(o=o[t.i]||r.defaultLine);var i=n.marker.line.width||0;Array.isArray(i)&&(i=i[t.i]||0),e.style({"stroke-width":i,fill:t.color}).call(r.stroke,o)}},{"../../components/color":32}],293:[function(e,t,n){"use strict";var r=e("../../lib");t.exports=function(e,t){r.mergeArray(t.text,e,"tx"),r.mergeArray(t.customdata,e,"data"),r.mergeArray(t.textposition,e,"tp"),t.textfont&&(r.mergeArray(t.textfont.size,e,"ts"),r.mergeArray(t.textfont.color,e,"tc"),r.mergeArray(t.textfont.family,e,"tf"));var n=t.marker;if(n){r.mergeArray(n.size,e,"ms"),r.mergeArray(n.opacity,e,"mo"),r.mergeArray(n.symbol,e,"mx"),r.mergeArray(n.color,e,"mc");var o=n.line;n.line&&(r.mergeArray(o.color,e,"mlc"),r.mergeArray(o.width,e,"mlw"))}}},{"../../lib":129}],294:[function(e,t,n){"use strict";var r=e("../../components/colorscale/color_attributes"),o=e("../../components/errorbars/attributes"),i=e("../../components/colorbar/attributes"),a=e("../../components/drawing"),s=(e("./constants"),e("../../lib/extend").extendFlat);t.exports={x:{valType:"data_array"},x0:{valType:"any",dflt:0},dx:{valType:"number",dflt:1},y:{valType:"data_array"},y0:{valType:"any",dflt:0},customdata:{valType:"data_array"},dy:{valType:"number",dflt:1},ids:{valType:"data_array"},text:{valType:"string",dflt:"",arrayOk:!0},mode:{valType:"flaglist",flags:["lines","markers","text"],extras:["none"]},hoveron:{valType:"flaglist",flags:["points","fills"]},line:{color:{valType:"color"},width:{valType:"number",min:0,dflt:2},shape:{valType:"enumerated",values:["linear","spline","hv","vh","hvh","vhv"],dflt:"linear"},smoothing:{valType:"number",min:0,max:1.3,dflt:1},dash:{valType:"string",values:["solid","dot","dash","longdash","dashdot","longdashdot"],dflt:"solid"},simplify:{valType:"boolean",dflt:!0}},connectgaps:{valType:"boolean",dflt:!1},fill:{valType:"enumerated",values:["none","tozeroy","tozerox","tonexty","tonextx","toself","tonext"],dflt:"none"},fillcolor:{valType:"color"},marker:s({},{symbol:{valType:"enumerated",values:a.symbolList,dflt:"circle",arrayOk:!0},opacity:{valType:"number",min:0,max:1,arrayOk:!0},size:{valType:"number",min:0,dflt:6,arrayOk:!0},maxdisplayed:{valType:"number",min:0,dflt:0},sizeref:{valType:"number",dflt:1},sizemin:{valType:"number",min:0,dflt:0},sizemode:{valType:"enumerated",values:["diameter","area"],dflt:"diameter"},showscale:{valType:"boolean",dflt:!1},colorbar:i,line:s({},{width:{valType:"number",min:0,arrayOk:!0}},r("marker.line"))},r("marker")),textposition:{valType:"enumerated",values:["top left","top center","top right","middle left","middle center","middle right","bottom left","bottom center","bottom right"],dflt:"middle center",arrayOk:!0},textfont:{family:{valType:"string",noBlank:!0,strict:!0,arrayOk:!0},size:{valType:"number",min:1,arrayOk:!0},color:{valType:"color",arrayOk:!0}},r:{valType:"data_array"},t:{valType:"data_array"},error_y:o,error_x:o}},{"../../components/colorbar/attributes":33,"../../components/colorscale/color_attributes":39,"../../components/drawing":55,"../../components/errorbars/attributes":57,"../../lib/extend":125,"./constants":299}],295:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../plots/cartesian/axes"),i=e("./subtypes"),a=e("./colorscale_calc"),s=e("./arrays_to_calcdata");t.exports=function(e,t){var n,l,u,c=o.getFromId(e,t.xaxis||"x"),d=o.getFromId(e,t.yaxis||"y"),p=c.makeCalcdata(t,"x"),f=d.makeCalcdata(t,"y"),h=Math.min(p.length,f.length);c._minDtick=0,d._minDtick=0,p.length>h&&p.splice(h,p.length-h),f.length>h&&f.splice(h,f.length-h);var m={padded:!0},g={padded:!0};if(i.hasMarkers(t)){if(n=t.marker,l=n.size,Array.isArray(l)){var y={type:"linear"};o.setConvert(y),l=y.makeCalcdata(t.marker,"size"),l.length>h&&l.splice(h,l.length-h)}var v,b=1.6*(t.marker.sizeref||1);v="area"===t.marker.sizemode?function(e){return Math.max(Math.sqrt((e||0)/b),3)}:function(e){return Math.max((e||0)/b,3)},m.ppad=g.ppad=Array.isArray(l)?l.map(v):v(l)}a(t),!("tozerox"===t.fill||"tonextx"===t.fill&&e.firstscatter)||p[0]===p[h-1]&&f[0]===f[h-1]?t.error_y.visible||["tonexty","tozeroy"].indexOf(t.fill)===-1&&(i.hasMarkers(t)||i.hasText(t))||(m.padded=!1,m.ppad=0):m.tozero=!0,!("tozeroy"===t.fill||"tonexty"===t.fill&&e.firstscatter)||p[0]===p[h-1]&&f[0]===f[h-1]?["tonextx","tozerox"].indexOf(t.fill)!==-1&&(g.padded=!1):g.tozero=!0,o.expand(c,p,m),o.expand(d,f,g);var _=new Array(h);for(u=0;u=0;o--){var i=e[o];if("scatter"===i.type&&i.xaxis===n.xaxis&&i.yaxis===n.yaxis){i.opacity=void 0;break}}}}}},{}],297:[function(e,t,n){"use strict";var r=e("fast-isnumeric"),o=e("../../lib"),i=e("../../plots/plots"),a=e("../../components/colorscale"),s=e("../../components/colorbar/draw");t.exports=function(e,t){var n=t[0].trace,l=n.marker,u="cb"+n.uid;if(e._fullLayout._infolayer.selectAll("."+u).remove(),void 0===l||!l.showscale)return void i.autoMargin(e,u);var c=l.color,d=l.cmin,p=l.cmax;r(d)||(d=o.aggNums(Math.min,null,c)),r(p)||(p=o.aggNums(Math.max,null,c));var f=t[0].t.cb=s(e,u),h=a.makeColorScaleFunc(a.extractScale(l.colorscale,d,p),{noNumericCheck:!0});f.fillcolor(h).filllevels({start:d,end:p,size:(p-d)/254}).options(l.colorbar)()}},{"../../components/colorbar/draw":35,"../../components/colorscale":46,"../../lib":129,"../../plots/plots":188,"fast-isnumeric":17}],298:[function(e,t,n){"use strict";var r=e("../../components/colorscale/has_colorscale"),o=e("../../components/colorscale/calc"),i=e("./subtypes");t.exports=function(e){i.hasLines(e)&&r(e,"line")&&o(e,e.line.color,"line","c"),i.hasMarkers(e)&&(r(e,"marker")&&o(e,e.marker.color,"marker","c"),r(e,"marker.line")&&o(e,e.marker.line.color,"marker.line","c"))}},{"../../components/colorscale/calc":38,"../../components/colorscale/has_colorscale":45,"./subtypes":314}],299:[function(e,t,n){"use strict";t.exports={PTS_LINESONLY:20}},{}],300:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("./attributes"),i=e("./constants"),a=e("./subtypes"),s=e("./xy_defaults"),l=e("./marker_defaults"),u=e("./line_defaults"),c=e("./line_shape_defaults"),d=e("./text_defaults"),p=e("./fillcolor_defaults"),f=e("../../components/errorbars/defaults");t.exports=function(e,t,n,h){function m(n,i){return r.coerce(e,t,o,n,i)}var g=s(e,t,h,m),y=gH!=O>=H&&(P=T[E-1][0],M=T[E][0],S=P+(M-P)*(H-D)/(O-D),F=Math.min(F,S),N=Math.max(N,S));F=Math.max(F,0),N=Math.min(N,p._length);var U=l.defaultLine;return l.opacity(d.fillcolor)?U=d.fillcolor:l.opacity((d.line||{}).color)&&(U=d.line.color),r.extendFlat(e,{distance:i.MAXDIST+10,x0:F,x1:N,y0:H,y1:H,color:U}),delete e.index,d.text&&!Array.isArray(d.text)?e.text=String(d.text):e.text=d.name,[e]}}}},{"../../components/color":32,"../../components/errorbars":61,"../../lib":129,"../../plots/cartesian/constants":169,"../../plots/cartesian/graph_interact":171,"./get_trace_color":302}],304:[function(e,t,n){"use strict";var r={},o=e("./subtypes");r.hasLines=o.hasLines,r.hasMarkers=o.hasMarkers,r.hasText=o.hasText,r.isBubble=o.isBubble,r.attributes=e("./attributes"),r.supplyDefaults=e("./defaults"),r.cleanData=e("./clean_data"),r.calc=e("./calc"),r.arraysToCalcdata=e("./arrays_to_calcdata"),r.plot=e("./plot"),r.colorbar=e("./colorbar"),r.style=e("./style"),r.hoverPoints=e("./hover"),r.selectPoints=e("./select"),r.animatable=!0,r.moduleType="trace",r.name="scatter",r.basePlotModule=e("../../plots/cartesian"),r.categories=["cartesian","symbols","markerColorscale","errorBarsOK","showLegend"],r.meta={},t.exports=r},{"../../plots/cartesian":172,"./arrays_to_calcdata":293,"./attributes":294,"./calc":295,"./clean_data":296,"./colorbar":297,"./defaults":300,"./hover":303,"./plot":311,"./select":312,"./style":313,"./subtypes":314}],305:[function(e,t,n){"use strict";var r=e("../../components/colorscale/has_colorscale"),o=e("../../components/colorscale/defaults");t.exports=function(e,t,n,i,a){var s=(e.marker||{}).color;if(a("line.color",n),r(e,"line"))o(e,t,i,a,{prefix:"line.",cLetter:"c"});else{a("line.color",!Array.isArray(s)&&s||n)}a("line.width"),a("line.dash")}},{"../../components/colorscale/defaults":41,"../../components/colorscale/has_colorscale":45}],306:[function(e,t,n){"use strict";var r=e("../../constants/numerical").BADNUM;t.exports=function(e,t){function n(t){var n=x.c2p(e[t].x),o=j.c2p(e[t].y);return n!==r&&o!==r&&[n,o]}function o(e){var t=e[0]/x._length,n=e[1]/j._length;return(1+10*Math.max(0,-t,t-1,-n,n-1))*E}function i(e,t){var n=e[0]-t[0],r=e[1]-t[1];return Math.sqrt(n*n+r*r)}var a,s,l,u,c,d,p,f,h,m,g,y,v,b,_,A,x=t.xaxis,j=t.yaxis,w=t.simplify,C=t.connectGaps,E=t.baseTolerance,k=t.linear,T=[],S=.2,P=new Array(e.length),M=0;for(w||(E=S=-1),a=0;ao(d))break;l=d,v=m[0]*h[0]+m[1]*h[1],v>g?(g=v,u=d,f=!1):v=e.length||!d)break;P[M++]=d,s=d}}else P[M++]=u}T.push(P.slice(0,M))}return T}},{"../../constants/numerical":116}],307:[function(e,t,n){"use strict";t.exports=function(e,t,n){"spline"===n("line.shape")&&n("line.smoothing")}},{}],308:[function(e,t,n){"use strict";t.exports=function(e,t,n){for(var r,o,i=null,a=0;a0?Math.max(t,o):0}}},{"fast-isnumeric":17}],310:[function(e,t,n){"use strict";var r=e("../../components/color"),o=e("../../components/colorscale/has_colorscale"),i=e("../../components/colorscale/defaults"),a=e("./subtypes");t.exports=function(e,t,n,s,l){var u,c=a.isBubble(e),d=(e.line||{}).color;d&&(n=d),l("marker.symbol"),l("marker.opacity",c?.7:1),l("marker.size"),l("marker.color",n),o(e,"marker")&&i(e,t,s,l,{prefix:"marker.",cLetter:"c"}),u=d&&!Array.isArray(d)&&t.marker.color!==d?d:c?r.background:r.defaultLine,l("marker.line.color",u),o(e,"marker.line")&&i(e,t,s,l,{prefix:"marker.line.",cLetter:"c"}),l("marker.line.width",c?1:0),c&&(l("marker.sizeref"),l("marker.sizemin"),l("marker.sizemode"))}},{"../../components/color":32,"../../components/colorscale/defaults":41,"../../components/colorscale/has_colorscale":45,"./subtypes":314}],311:[function(e,t,n){"use strict";function r(e,t){var n;t.selectAll("g.trace").each(function(e){var t=a.select(this);if(n=e[0].trace,n._nexttrace){if(n._nextFill=t.select(".js-fill.js-tonext"),!n._nextFill.size()){var r=":first-child";t.select(".js-fill.js-tozero").size()&&(r+=" + *"),n._nextFill=t.insert("path",r).attr("class","js-fill js-tonext")}}else t.selectAll(".js-fill.js-tonext").remove(),n._nextFill=null;n.fill&&("tozero"===n.fill.substr(0,6)||"toself"===n.fill||"to"===n.fill.substr(0,2)&&!n._prevtrace)?(n._ownFill=t.select(".js-fill.js-tozero"),n._ownFill.size()||(n._ownFill=t.insert("path",":first-child").attr("class","js-fill js-tozero"))):(t.selectAll(".js-fill.js-tozero").remove(),n._ownFill=null)})}function o(e,t,n,r,o,p,h){function m(e){return j?e.transition():e}function g(e){return e.filter(function(e){return e.vis})}function y(e){return e.id}function v(e){if(e.ids)return y}function b(){return!1}function _(e){var t,n,r=e[0].trace,o=a.select(this),i=c.hasMarkers(r),u=c.hasText(r),d=v(r),p=b,f=b;i&&(p=r.marker.maxdisplayed?g:s.identity),u&&(f=r.marker.maxdisplayed?g:s.identity),n=o.selectAll("path.point"),t=n.data(p,d);var h=t.enter().append("path").classed("point",!0);h.call(l.pointStyle,r).call(l.translatePoints,w,C,r),j&&h.style("opacity",0).transition().style("opacity",1),t.each(function(e){var t=a.select(this),n=m(t);l.translatePoint(e,n,w,C),l.singlePointStyle(e,n,r),r.customdata&&t.classed("plotly-customdata",null!==e.data&&void 0!==e.data)}),j?t.exit().transition().style("opacity",0).remove():t.exit().remove(),n=o.selectAll("g"),t=n.data(f,d),t.enter().append("g").append("text"),t.each(function(e){var t=m(a.select(this).select("text"));l.translatePoint(e,t,w,C)}),t.selectAll("text").call(l.textPointStyle,r).each(function(e){var t=e.xp||w.c2p(e.x),n=e.yp||C.c2p(e.y);a.select(this).selectAll("tspan").each(function(){m(a.select(this)).attr({x:t,y:n})})}),t.exit().remove()}var A,x;i(e,t,n,r,o);var j=!!h&&h.duration>0,w=n.xaxis,C=n.yaxis,E=r[0].trace,k=E.line,T=a.select(p);if(T.call(u.plot,n,h),E.visible===!0){m(T).style("opacity",E.opacity);var S,P,M=E.fill.charAt(E.fill.length-1);"x"!==M&&"y"!==M&&(M=""),r[0].node3=T;var D="",O=[],I=E._prevtrace;I&&(D=I._prevRevpath||"",P=I._nextFill,O=I._polygons);var R,L,F,N,B,z,H,U,W,q="",V="",G=[],K=[],Y=s.noop;if(S=E._ownFill,c.hasLines(E)||"none"!==E.fill){for(P&&P.datum(r),["hv","vh","hvh","vhv"].indexOf(k.shape)!==-1?(F=l.steps(k.shape),N=l.steps(k.shape.split("").reverse().join(""))):F=N="spline"===k.shape?function(e){var t=e[e.length-1];return e[0][0]===t[0]&&e[0][1]===t[1]?l.smoothclosed(e.slice(1),k.smoothing):l.smoothopen(e,k.smoothing)}:function(e){return"M"+e.join("L")},B=function(e){return N(e.reverse())},G=d(r,{xaxis:w,yaxis:C,connectGaps:E.connectgaps,baseTolerance:Math.max(k.width||1,3)/4,linear:"linear"===k.shape,simplify:k.simplify}),W=E._polygons=new Array(G.length),x=0;x1}),Y=function(e){return function(t){if(R=F(t),L=B(t),q?M?(q+="L"+R.substr(1),V=L+"L"+V.substr(1)):(q+="Z"+R,V=L+"Z"+V):(q=R,V=L),c.hasLines(E)&&t.length>1){var n=a.select(this);if(n.datum(r),e)m(n.style("opacity",0).attr("d",R).call(l.lineGroupStyle)).style("opacity",1);else{var o=m(n);o.attr("d",R),l.singleLineStyle(r,o)}}}}}var Q=T.selectAll(".js-line").data(K);m(Q.exit()).style("opacity",0).remove(),Q.each(Y(!1)),Q.enter().append("path").classed("js-line",!0).style("vector-effect","non-scaling-stroke").call(l.lineGroupStyle).each(Y(!0)),G.length&&(S?z&&U&&(M?("y"===M?z[1]=U[1]=C.c2p(0,!0):"x"===M&&(z[0]=U[0]=w.c2p(0,!0)),m(S).attr("d","M"+U+"L"+z+"L"+q.substr(1))):m(S).attr("d",q+"Z")):"tonext"===E.fill.substr(0,6)&&q&&D&&("tonext"===E.fill?m(P).attr("d",q+"Z"+D+"Z"):m(P).attr("d",q+"L"+D.substr(1)+"Z"),E._polygons=E._polygons.concat(O)),E._prevRevpath=V,E._prevPolygons=W);var X=T.selectAll(".points");A=X.data([r]),X.each(_),A.enter().append("g").classed("points",!0).each(_),A.exit().remove()}}function i(e,t,n,r,o){var i=n.xaxis,l=n.yaxis,u=a.extent(s.simpleMap(i.range,i.r2c)),d=a.extent(s.simpleMap(l.range,l.r2c)),p=r[0].trace;if(c.hasMarkers(p)){var f=p.marker.maxdisplayed;if(0!==f){var h=r.filter(function(e){return e.x>=u[0]&&e.x<=u[1]&&e.y>=d[0]&&e.y<=d[1]}),m=Math.ceil(h.length/f),g=0;o.forEach(function(e,n){var r=e[0].trace;c.hasMarkers(r)&&r.marker.maxdisplayed>0&&n0;for(c=h.selectAll("g.trace"),d=c.data(n,function(e){return e[0].trace.uid}),d.enter().append("g").attr("class",function(e){return"trace scatter trace"+e[0].trace.uid}).style("stroke-miterlimit",2),p(e,t,n),r(e,h),l=0,u=[];lu.indexOf(t[0].trace.uid)?1:-1}),g){s&&(f=s());a.transition().duration(i.duration).ease(i.easing).each("end",function(){f&&f()}).each("interrupt",function(){f&&f()}).each(function(){h.selectAll("g.trace").each(function(r,a){o(e,a,t,r,n,this,i)})})}else h.selectAll("g.trace").each(function(r,a){o(e,a,t,r,n,this,i)});m&&d.exit().remove(),h.selectAll("path:not([d])").remove()}},{"../../components/drawing":55,"../../components/errorbars":61,"../../lib":129,"../../lib/polygon":139,"./line_points":306,"./link_traces":308,"./subtypes":314,d3:14}],312:[function(e,t,n){"use strict";var r=e("./subtypes"),o=.2;t.exports=function(e,t){var n,i,a,s,l=e.cd,u=e.xaxis,c=e.yaxis,d=[],p=l[0].trace,f=p.index,h=p.marker,m=!r.hasMarkers(p)&&!r.hasText(p);if(p.visible===!0&&!m){var g=Array.isArray(h.opacity)?1:h.opacity;if(t===!1)for(n=0;nw&&k.splice(w,k.length-w)}return a(t),s(C,t),C}},{"../../plots/cartesian/axes":164,"../scatter/arrays_to_calcdata":293,"../scatter/colorscale_calc":298,"../scatter/subtypes":314,"fast-isnumeric":17}],319:[function(e,t,n){"use strict";var r=e("../../lib"),o=e("../scatter/constants"),i=e("../scatter/subtypes"),a=e("../scatter/marker_defaults"),s=e("../scatter/line_defaults"),l=e("../scatter/line_shape_defaults"),u=e("../scatter/text_defaults"),c=e("../scatter/fillcolor_defaults"),d=e("./attributes");t.exports=function(e,t,n,p){function f(n,o){return r.coerce(e,t,d,n,o)}var h,m=f("a"),g=f("b"),y=f("c");if(m?(h=m.length,g?(h=Math.min(h,g.length),y&&(h=Math.min(h,y.length))):h=y?Math.min(h,y.length):0):g&&y&&(h=Math.min(g.length,y.length)),!h)return void(t.visible=!1);m&&h"),s}}},{"../../plots/cartesian/axes":164,"../scatter/hover":303}],321:[function(e,t,n){"use strict";var r={};r.attributes=e("./attributes"),r.supplyDefaults=e("./defaults"),r.colorbar=e("../scatter/colorbar"),r.calc=e("./calc"),r.plot=e("./plot"),r.style=e("./style"),r.hoverPoints=e("./hover"),r.selectPoints=e("./select"),r.moduleType="trace",r.name="scatterternary",r.basePlotModule=e("../../plots/ternary"),r.categories=["ternary","symbols","markerColorscale","showLegend"],r.meta={},t.exports=r},{"../../plots/ternary":196,"../scatter/colorbar":297,"./attributes":317,"./calc":318,"./defaults":319,"./hover":320,"./plot":322,"./select":323,"./style":324}],322:[function(e,t,n){"use strict";var r=e("../scatter/plot");t.exports=function(e,t){var n=e.plotContainer;n.select(".scatterlayer").selectAll("*").remove();for(var o={xaxis:e.xaxis,yaxis:e.yaxis,plot:n},i=0;i])[ \t]*(?:((?:\r?\n|\r)[ \t]+)[^\r\n]+(?:\3[^\r\n]+)*)/,lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:/(\s*(?:^|[:\-,[{\r\n?])[ \t]*(![^\s]+)?[ \t]*)[^\r\n{[\]},#\s]+?(?=\s*:\s)/,lookbehind:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(\d{4}-\d\d?-\d\d?([tT]|[ \t]+)\d\d?:\d{2}:\d{2}(\.\d*)?[ \t]*(Z|[-+]\d\d?(:\d{2})?)?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(:\d{2}(\.\d*)?)?)(?=[ \t]*($|,|]|}))/m,lookbehind:!0,alias:"number"},boolean:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(true|false)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},null:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)(null|~)[ \t]*(?=$|,|]|})/im,lookbehind:!0,alias:"important"},string:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)("(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')(?=[ \t]*($|,|]|}))/m,lookbehind:!0},number:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)[+\-]?(0x[\da-f]+|0o[0-7]+|(\d+\.?\d*|\.?\d+)(e[\+\-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./}},"./node_modules/prismjs/prism.js":function(e,t,n){(function(t){var n="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},r=function(){var e=/\blang(?:uage)?-(\w+)\b/i,t=0,r=n.Prism={util:{encode:function(e){return e instanceof o?new o(e.type,r.util.encode(e.content),e.alias):"Array"===r.util.type(e)?e.map(r.util.encode):e.replace(/&/g,"&").replace(/e.length)break e;if(!(b instanceof o)){c.lastIndex=0;var _=c.exec(b),A=1;if(!_&&f&&y!=i.length-1){if(c.lastIndex=v,!(_=c.exec(e)))break;for(var x=_.index+(p?_[1].length:0),j=_.index+_[0].length,w=y,C=v,E=i.length;w=C&&(++y,v=C);if(i[y]instanceof o||i[w-1].greedy)continue;A=w-y,b=e.slice(v,C),_.index-=v}if(_){p&&(h=_[1].length);var x=_.index+h,_=_[0].slice(h),j=x+_.length,k=b.slice(0,x),T=b.slice(j),S=[y,A];k&&S.push(k);var P=new o(s,d?r.tokenize(_,d):_,m,_,f);S.push(P),T&&S.push(T),Array.prototype.splice.apply(i,S)}}}}}return i},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var o,i=0;o=n[i++];)o(t)}}},o=r.Token=function(e,t,n,r,o){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!o};if(o.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===r.util.type(e))return e.map(function(n){return o.stringify(n,t,e)}).join("");var i={type:e.type,content:o.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if("comment"==i.type&&(i.attributes.spellcheck="true"),e.alias){var a="Array"===r.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,a)}r.hooks.run("wrap",i);var s=Object.keys(i.attributes).map(function(e){return e+'="'+(i.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+(s?" "+s:"")+">"+i.content+""},!n.document)return n.addEventListener?(n.addEventListener("message",function(e){var t=JSON.parse(e.data),o=t.language,i=t.code,a=t.immediateClose;n.postMessage(r.highlight(i,r.languages[o],o)),a&&n.close()},!1),n.Prism):n.Prism;var i=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return i&&(r.filename=i.src,document.addEventListener&&!i.hasAttribute("data-manual")&&("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),n.Prism}();void 0!==e&&e.exports&&(e.exports=r),void 0!==t&&(t.Prism=r),r.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),r.languages.xml=r.languages.markup,r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:{pattern:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},r.languages.css.atrule.inside.rest=r.util.clone(r.languages.css),r.languages.markup&&(r.languages.insertBefore("markup","tag",{style:{pattern:/()[\w\W]*?(?=<\/style>)/i,lookbehind:!0,inside:r.languages.css,alias:"language-css"}}),r.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|').*?\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:r.languages.markup.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:r.languages.css}},alias:"language-css"}},r.languages.markup.tag)),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\w\W]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0}],string:{pattern:/(["'])(\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/((?:\b(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/i,lookbehind:!0,inside:{punctuation:/(\.|\\)/}},keyword:/\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(true|false)\b/,function:/[a-z0-9_]+(?=\()/i,number:/\b-?(?:0x[\da-f]+|\d*\.?\d+(?:e[+-]?\d+)?)\b/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*|\/|~|\^|%/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{keyword:/\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\b/,number:/\b-?(0x[\dA-Fa-f]+|0b[01]+|0o[0-7]+|\d*\.?\d+([Ee][+-]?\d+)?|NaN|Infinity)\b/,function:/[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*(?=\()/i,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&?|\|\|?|\?|\*\*?|\/|~|\^|%|\.{3}/}),r.languages.insertBefore("javascript","keyword",{regex:{pattern:/(^|[^\/])\/(?!\/)(\[.+?]|\\.|[^\/\\\r\n])+\/[gimyu]{0,5}(?=\s*($|[\r\n,.;})]))/,lookbehind:!0,greedy:!0}}),r.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\\\|\\?[^\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^}]+\}/,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&r.languages.insertBefore("markup","tag",{script:{pattern:/()[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:r.languages.javascript,alias:"language-javascript"}}),r.languages.js=r.languages.javascript,function(){"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.forEach&&Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(t){for(var n,o=t.getAttribute("data-src"),i=t,a=/\blang(?:uage)?-(?!\*)(\w+)\b/i;i&&!a.test(i.className);)i=i.parentNode;if(i&&(n=(t.className.match(a)||[,""])[1]),!n){var s=(o.match(/\.(\w+)$/)||[,""])[1];n=e[s]||s}var l=document.createElement("code");l.className="language-"+n,t.textContent="",l.textContent="Loading…",t.appendChild(l);var u=new XMLHttpRequest;u.open("GET",o,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?(l.textContent=u.responseText,r.highlightElement(l)):u.status>=400?l.textContent="✖ Error "+u.status+" while fetching file: "+u.statusText:l.textContent="✖ Error: File does not exist or is empty")},u.send(null)})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}()}).call(t,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/prismjs/themes/prism.css":function(e,t,n){var r=n('./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/prismjs/themes/prism.css');"string"==typeof r&&(r=[[e.i,r,""]]);n("./node_modules/style-loader/addStyles.js")(r,{});r.locals&&(e.exports=r.locals)},"./node_modules/process-nextick-args/index.js":function(e,t,n){"use strict";(function(t){function n(e,n,r,o){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,o)});default:for(i=new Array(s-1),a=0;a1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(M,"."),r+s(e.split("."),t).join(".")}function u(e){for(var t,n,r=[],o=0,i=e.length;o=55296&&t<=56319&&o65535&&(e-=65536,t+=R(e>>>10&1023|55296),e=56320|1023&e),t+=R(e)}).join("")}function d(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:A}function p(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?I(e/C):e>>1,e+=I(e/t);e>O*j>>1;r+=A)e=I(e/O);return I(r+(O+1)*e/(e+w))}function h(e){var t,n,r,o,i,s,l,u,p,h,m=[],g=e.length,y=0,v=k,b=E;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&a("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&a("invalid-input"),u=d(e.charCodeAt(o++)),(u>=A||u>I((_-y)/s))&&a("overflow"),y+=u*s,p=l<=b?x:l>=b+j?j:l-b,!(uI(_/h)&&a("overflow"),s*=h;t=m.length+1,b=f(y-i,t,0==i),I(y/t)>_-v&&a("overflow"),v+=I(y/t),y%=t,m.splice(y++,0,v)}return c(m)}function m(e){var t,n,r,o,i,s,l,c,d,h,m,g,y,v,b,w=[];for(e=u(e),g=e.length,t=k,n=0,i=E,s=0;s=t&&mI((_-n)/y)&&a("overflow"),n+=(l-t)*y,t=l,s=0;s_&&a("overflow"),m==t){for(c=n,d=A;h=d<=i?x:d>=i+j?j:d-i,!(c= 0x80 (not a basic code point)","invalid-input":"Invalid input"},O=A-x,I=Math.floor,R=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:u,encode:c},decode:h,encode:m,toASCII:y,toUnicode:g},void 0!==(o=function(){return b}.call(t,n,t,e))&&(e.exports=o)}()}).call(t,n("./node_modules/webpack/buildin/module.js")(e),n("./node_modules/webpack/buildin/global.js"))},"./node_modules/q/q.js":function(e,t,n){(function(t,n){!function(t){"use strict";if("function"==typeof bootstrap)bootstrap("promise",t);else{e.exports=t()}}(function(){"use strict";function e(e){return function(){return Q.apply(e,arguments)}}function r(e){return e===Object(e)}function o(e){return"[object StopIteration]"===re(e)||e instanceof V}function i(e,t){if(W&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&e.stack.indexOf(oe)===-1){for(var n=[],r=t;r;r=r.source)r.stack&&n.unshift(r.stack);n.unshift(e.stack);var o=n.join("\n"+oe+"\n");e.stack=a(o)}}function a(e){for(var t=e.split("\n"),n=[],r=0;r=G&&r<=ue}function c(){if(W)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=e[0].indexOf("@")>0?e[1]:e[2],n=l(t);if(!n)return;return q=n[0],n[1]}}function d(e,t,n){return function(){return"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(t+" is deprecated, use "+n+" instead.",new Error("").stack),e.apply(e,arguments)}}function p(e){return e instanceof g?e:_(e)?S(e):T(e)}function f(){function e(e){t=e,i.source=e,Z(n,function(t,n){p.nextTick(function(){e.promiseDispatch.apply(e,n)})},void 0),n=void 0,r=void 0}var t,n=[],r=[],o=ee(f.prototype),i=ee(g.prototype);if(i.promiseDispatch=function(e,o,i){var a=X(arguments);n?(n.push(a),"when"===o&&i[1]&&r.push(i[1])):p.nextTick(function(){t.promiseDispatch.apply(t,a)})},i.valueOf=function(){if(n)return i;var e=v(t);return b(e)&&(t=e),e},i.inspect=function(){return t?t.inspect():{state:"pending"}},p.longStackSupport&&W)try{throw new Error}catch(e){i.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return o.promise=i,o.resolve=function(n){t||e(p(n))},o.fulfill=function(n){t||e(T(n))},o.reject=function(n){t||e(k(n))},o.notify=function(e){t||Z(r,function(t,n){p.nextTick(function(){n(e)})},void 0)},o}function h(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=f();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function m(e){return h(function(t,n){for(var r=0,o=e.length;r=r)throw new TypeError}for(;n2?e.resolve(X(arguments,1)):e.resolve(n)}},p.Promise=h,p.promise=h,h.race=m,h.all=F,h.reject=k,h.resolve=p,p.passByCopy=function(e){return e},g.prototype.passByCopy=function(){return this},p.join=function(e,t){return p(e).join(t)},g.prototype.join=function(e){return p([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},p.race=m,g.prototype.race=function(){return this.then(p.race)},p.makePromise=g,g.prototype.toString=function(){return"[object Promise]"},g.prototype.then=function(e,t,n){function r(t){try{return"function"==typeof e?e(t):t}catch(e){return k(e)}}function o(e){if("function"==typeof t){i(e,s);try{return t(e)}catch(e){return k(e)}}return k(e)}function a(e){return"function"==typeof n?n(e):e}var s=this,l=f(),u=!1;return p.nextTick(function(){s.promiseDispatch(function(e){u||(u=!0,l.resolve(r(e)))},"when",[function(e){u||(u=!0,l.resolve(o(e)))}])}),s.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=a(e)}catch(e){if(n=!0,!p.onerror)throw e;p.onerror(e)}n||l.notify(t)}]),l.promise},p.tap=function(e,t){return p(e).tap(t)},g.prototype.tap=function(e){return e=p(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},p.when=y,g.prototype.thenResolve=function(e){return this.then(function(){return e})},p.thenResolve=function(e,t){return p(e).thenResolve(t)},g.prototype.thenReject=function(e){return this.then(function(){throw e})},p.thenReject=function(e,t){return p(e).thenReject(t)},p.nearer=v,p.isPromise=b,p.isPromiseAlike=_,p.isPending=A,g.prototype.isPending=function(){return"pending"===this.inspect().state},p.isFulfilled=x,g.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},p.isRejected=j,g.prototype.isRejected=function(){return"rejected"===this.inspect().state};var ie=[],ae=[],se=[],le=!0;p.resetUnhandledRejections=w,p.getUnhandledReasons=function(){return ie.slice()},p.stopUnhandledRejectionTracking=function(){w(),le=!1},w(),p.reject=k,p.fulfill=T,p.master=P,p.spread=M,g.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},p.async=D,p.spawn=O,p.return=I,p.promised=R,p.dispatch=L,g.prototype.dispatch=function(e,t){var n=this,r=f();return p.nextTick(function(){n.promiseDispatch(r.resolve,e,t)}),r.promise},p.get=function(e,t){return p(e).dispatch("get",[t])},g.prototype.get=function(e){return this.dispatch("get",[e])},p.set=function(e,t,n){return p(e).dispatch("set",[t,n])},g.prototype.set=function(e,t){return this.dispatch("set",[e,t])},p.del=p.delete=function(e,t){return p(e).dispatch("delete",[t])},g.prototype.del=g.prototype.delete=function(e){return this.dispatch("delete",[e])},p.mapply=p.post=function(e,t,n){return p(e).dispatch("post",[t,n])},g.prototype.mapply=g.prototype.post=function(e,t){return this.dispatch("post",[e,t])},p.send=p.mcall=p.invoke=function(e,t){return p(e).dispatch("post",[t,X(arguments,2)])},g.prototype.send=g.prototype.mcall=g.prototype.invoke=function(e){return this.dispatch("post",[e,X(arguments,1)])},p.fapply=function(e,t){return p(e).dispatch("apply",[void 0,t])},g.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},p.try=p.fcall=function(e){return p(e).dispatch("apply",[void 0,X(arguments,1)])},g.prototype.fcall=function(){return this.dispatch("apply",[void 0,X(arguments)])},p.fbind=function(e){var t=p(e),n=X(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(X(arguments))])}},g.prototype.fbind=function(){var e=this,t=X(arguments);return function(){return e.dispatch("apply",[this,t.concat(X(arguments))])}},p.keys=function(e){return p(e).dispatch("keys",[])},g.prototype.keys=function(){return this.dispatch("keys",[])},p.all=F,g.prototype.all=function(){return F(this)},p.any=N,g.prototype.any=function(){return N(this)},p.allResolved=d(B,"allResolved","allSettled"),g.prototype.allResolved=function(){return B(this)},p.allSettled=z,g.prototype.allSettled=function(){return this.then(function(e){return F($(e,function(e){function t(){return e.inspect()}return e=p(e),e.then(t,t)}))})},p.fail=p.catch=function(e,t){return p(e).then(void 0,t)},g.prototype.fail=g.prototype.catch=function(e){return this.then(void 0,e)},p.progress=H,g.prototype.progress=function(e){return this.then(void 0,void 0,e)},p.fin=p.finally=function(e,t){return p(e).finally(t)},g.prototype.fin=g.prototype.finally=function(e){return e=p(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},p.done=function(e,t,n,r){return p(e).done(t,n,r)},g.prototype.done=function(e,n,r){var o=function(e){p.nextTick(function(){if(i(e,a),!p.onerror)throw e;p.onerror(e)})},a=e||n||r?this.then(e,n,r):this;"object"==typeof t&&t&&t.domain&&(o=t.domain.bind(o)),a.then(void 0,o)},p.timeout=function(e,t,n){return p(e).timeout(t,n)},g.prototype.timeout=function(e,t){var n=f(),r=setTimeout(function(){t&&"string"!=typeof t||(t=new Error(t||"Timed out after "+e+" ms"),t.code="ETIMEDOUT"),n.reject(t)},e);return this.then(function(e){clearTimeout(r),n.resolve(e)},function(e){clearTimeout(r),n.reject(e)},n.notify),n.promise},p.delay=function(e,t){return void 0===t&&(t=e,e=void 0),p(e).delay(t)},g.prototype.delay=function(e){return this.then(function(t){var n=f();return setTimeout(function(){n.resolve(t)},e),n.promise})},p.nfapply=function(e,t){return p(e).nfapply(t)},g.prototype.nfapply=function(e){var t=f(),n=X(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},p.nfcall=function(e){var t=X(arguments,1);return p(e).nfapply(t)},g.prototype.nfcall=function(){var e=X(arguments),t=f();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},p.nfbind=p.denodeify=function(e){var t=X(arguments,1);return function(){var n=t.concat(X(arguments)),r=f();return n.push(r.makeNodeResolver()),p(e).fapply(n).fail(r.reject),r.promise}},g.prototype.nfbind=g.prototype.denodeify=function(){var e=X(arguments);return e.unshift(this),p.denodeify.apply(void 0,e)},p.nbind=function(e,t){var n=X(arguments,2);return function(){function r(){return e.apply(t,arguments)}var o=n.concat(X(arguments)),i=f();return o.push(i.makeNodeResolver()),p(r).fapply(o).fail(i.reject),i.promise}},g.prototype.nbind=function(){var e=X(arguments,0);return e.unshift(this),p.nbind.apply(void 0,e)},p.nmapply=p.npost=function(e,t,n){return p(e).npost(t,n)},g.prototype.nmapply=g.prototype.npost=function(e,t){var n=X(t||[]),r=f();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},p.nsend=p.nmcall=p.ninvoke=function(e,t){var n=X(arguments,2),r=f();return n.push(r.makeNodeResolver()),p(e).dispatch("post",[t,n]).fail(r.reject),r.promise},g.prototype.nsend=g.prototype.nmcall=g.prototype.ninvoke=function(e){var t=X(arguments,1),n=f();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},p.nodeify=U,g.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){p.nextTick(function(){e(null,t)})},function(t){p.nextTick(function(){e(t)})})},p.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var ue=c();return p})}).call(t,n("./node_modules/process/browser.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/qajax/src/browser.js":function(e,t,n){e.exports=n("./node_modules/qajax/src/qajax.js")(n("./node_modules/q/q.js"),window.XMLHttpRequest,window.FormData)},"./node_modules/qajax/src/qajax.js":function(e,t,n){!function(t,n){e.exports=n}(0,function(e,t,n){"use strict";function r(){}function o(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&void 0!==e[t]&&n.push(encodeURIComponent(t)+"="+encodeURIComponent(e[t]));return n.join("&")}function i(e){return e.indexOf("?")===-1}function a(e){var t={};if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function s(t,r){if(0===arguments.length)throw new Error("Qajax: settings are required");var s;if("string"==typeof t)s="object"==typeof r&&r||{},s.url=t;else{if("object"!=typeof t)throw new Error("Qajax: settings must be an object");s=t}if(!s.url)throw new Error("Qajax: settings.url is required");if("cancellation"in s&&!e.isPromiseAlike(s.cancellation))throw new Error("cancellation must be a Promise.");this.headers=a(this.headers),this.params={};for(var l in s)this[l]=s[l];var c=this.params,d=this.cache;d&&(c[d===!0?"_":d]=(new Date).getTime());var p=this.base+this.url,f=o(c);f&&(p=p+(i(p)?"?":"&")+f),this.url=p;var h=this.data,m=this.headers;null===h||"object"!=typeof h||n&&h instanceof n||(u in m||(m[u]="application/json"),this.data=JSON.stringify(h));var g=this._send,y=this;this.send=function(){return e.fcall(function(){return g.call(y)})}}function l(e,t){return new s(e,t).send()}var u="Content-Type",c=e.defer().promise;return s.prototype={log:r,timeout:6e4,cache:"undefined"!=typeof window&&!!(window.ActiveXObject||"ActiveXObject"in window),method:"GET",base:"",withCredentials:!1,cancellation:c,_send:function(){var n=new t,r=e.defer(),o=this.log,i=this.method,a=this.url;n.onreadystatechange=function(){if(4===n.readyState)try{o(i+" "+a+" => "+n.status),n.status?r.resolve(n):r.reject(n)}catch(e){r.reject(n)}},n.onprogress=function(e){r.notify(e)},n.open(i,a,!0),this.responseType&&(n.responseType=this.responseType);var s=this.headers;for(var l in s)s.hasOwnProperty(l)&&n.setRequestHeader(l,s[l]);this.withCredentials&&(n.withCredentials=!0);var u=this.data;return void 0!==u&&null!==u?n.send(u):n.send(),this.cancellation.fin(function(){r.promise.isFulfilled()||(o("Qajax cancellation reached."),n.abort())}),this.timeout?r.promise.timeout(this.timeout).fail(function(e){throw e instanceof Error&&(o("Qajax request delay reach in "+i+" "+a),n.abort()),n}):r.promise}},l.defaults=s.prototype,l.Builder=s,l.filterStatus=function(t){var n,r,o=this.log;if("function"===(r=typeof t))n=t;else{if("number"!==r)throw"validStatus type "+r+" unsupported";n=function(e){return e===t}}return function(t){var r=0;try{r=t.status}catch(e){o("Qajax: failed to read xhr.status")}return 1223===r&&(r=204),n(r)?e.resolve(t):e.reject(t)}},l.filterSuccess=l.filterStatus(function(e){return e>=200&&e<300||304===e}),l.toJSON=function(t){return e.fcall(function(){return JSON.parse(t.responseText)})},l.getJSON=function(e){return l({url:e,method:"GET"}).then(l.filterSuccess).then(l.toJSON)},l.serialize=o,l})},"./node_modules/raf/index.js":function(e,t,n){(function(t){for(var r=n("./node_modules/raf/node_modules/performance-now/lib/performance-now.js"),o="undefined"==typeof window?t:window,i=["moz","webkit"],a="AnimationFrame",s=o["request"+a],l=o["cancel"+a]||o["cancelRequest"+a],u=0;!s&&u children");return u.default.createElement(p.default,{key:t.key,ref:t.key,animation:e.animation,transitionName:e.transitionName,transitionEnter:e.transitionEnter,transitionAppear:e.transitionAppear,transitionLeave:e.transitionLeave},t)}));var r=e.component;if(r){var o=e;return"string"==typeof r&&(o=s({className:e.className,style:e.style},e.componentProps)),u.default.createElement(r,o,n)}return n[0]||null}});t.default=g,e.exports=t.default},"./node_modules/rc-animate/lib/AnimateChild.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n("./node_modules/react/react.js"),a=r(i),s=n("./node_modules/react-dom/index.js"),l=r(s),u=n("./node_modules/css-animation/lib/index.js"),c=r(u),d=n("./node_modules/rc-animate/lib/util.js"),p=r(d),f={enter:"transitionEnter",appear:"transitionAppear",leave:"transitionLeave"},h=a.default.createClass({displayName:"AnimateChild",propTypes:{children:a.default.PropTypes.any},componentWillUnmount:function(){this.stop()},componentWillEnter:function(e){p.default.isEnterSupported(this.props)?this.transition("enter",e):e()},componentWillAppear:function(e){p.default.isAppearSupported(this.props)?this.transition("appear",e):e()},componentWillLeave:function(e){p.default.isLeaveSupported(this.props)?this.transition("leave",e):e()},transition:function(e,t){var n=this,r=l.default.findDOMNode(this),i=this.props,a=i.transitionName,s="object"===(void 0===a?"undefined":o(a));this.stop();var d=function(){n.stopper=null,t()};if((u.isCssAnimationSupported||!i.animation[e])&&a&&i[f[e]]){var p=s?a[e]:a+"-"+e,h=p+"-active";s&&a[e+"Active"]&&(h=a[e+"Active"]),this.stopper=(0,c.default)(r,{name:p,active:h},d)}else this.stopper=i.animation[e](r,d)},stop:function(){var e=this.stopper;e&&(this.stopper=null,e.stop())},render:function(){return this.props.children}});t.default=h,e.exports=t.default},"./node_modules/rc-animate/lib/ChildrenUtils.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=[];return d.default.Children.forEach(e,function(e){t.push(e)}),t}function i(e,t){var n=null;return e&&e.forEach(function(e){n||e&&e.key===t&&(n=e)}),n}function a(e,t,n){var r=null;return e&&e.forEach(function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for children");r=e}}),r}function s(e,t,n){var r=0;return e&&e.forEach(function(e){r||(r=e&&e.key===t&&!e.props[n])}),r}function l(e,t,n){var r=e.length===t.length;return r&&e.forEach(function(e,o){var i=t[o];e&&i&&(e&&!i||!e&&i?r=!1:e.key!==i.key?r=!1:n&&e.props[n]!==i.props[n]&&(r=!1))}),r}function u(e,t){var n=[],r={},o=[];return e.forEach(function(e){e&&i(t,e.key)?o.length&&(r[e.key]=o,o=[]):o.push(e)}),t.forEach(function(e){e&&r.hasOwnProperty(e.key)&&(n=n.concat(r[e.key])),n.push(e)}),n=n.concat(o)}Object.defineProperty(t,"__esModule",{value:!0}),t.toArrayChildren=o,t.findChildInChildrenByKey=i,t.findShownChildInChildrenByKey=a,t.findHiddenChildInChildrenByKey=s,t.isSameChildren=l,t.mergeChildren=u;var c=n("./node_modules/react/react.js"),d=r(c)},"./node_modules/rc-animate/lib/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/rc-animate/lib/Animate.js")},"./node_modules/rc-animate/lib/util.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}};t.default=r,e.exports=t.default},"./node_modules/rc-tooltip/assets/bootstrap.css":function(e,t,n){var r=n('./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{"plugins":[null]}!./node_modules/rc-tooltip/assets/bootstrap.css');"string"==typeof r&&(r=[[e.i,r,""]]);n("./node_modules/style-loader/addStyles.js")(r,{});r.locals&&(e.exports=r.locals)},"./node_modules/rc-tooltip/lib/Tooltip.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t1?(!n&&t&&(r.className+=" "+t),s.default.createElement("div",r)):s.default.Children.only(r.children)}});t.default=l,e.exports=t.default},"./node_modules/rc-trigger/lib/Popup.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/babel-runtime/helpers/extends.js"),i=r(o),a=n("./node_modules/react/react.js"),s=r(a),l=n("./node_modules/react-dom/index.js"),u=r(l),c=n("./node_modules/rc-align/lib/index.js"),d=r(c),p=n("./node_modules/rc-animate/lib/index.js"),f=r(p),h=n("./node_modules/rc-trigger/lib/PopupInner.js"),m=r(h),g=n("./node_modules/rc-trigger/lib/LazyRenderBox.js"),y=r(g),v=s.default.createClass({displayName:"Popup",propTypes:{visible:a.PropTypes.bool,style:a.PropTypes.object,getClassNameFromAlign:a.PropTypes.func,onAlign:a.PropTypes.func,getRootDomNode:a.PropTypes.func,onMouseEnter:a.PropTypes.func,align:a.PropTypes.any,destroyPopupOnHide:a.PropTypes.bool,className:a.PropTypes.string,prefixCls:a.PropTypes.string,onMouseLeave:a.PropTypes.func},componentDidMount:function(){this.rootNode=this.getPopupDomNode()},onAlign:function(e,t){var n=this.props,r=n.getClassNameFromAlign(n.align),o=n.getClassNameFromAlign(t);r!==o&&(this.currentAlignClassName=o,e.className=this.getClassName(o)),n.onAlign(e,t)},getPopupDomNode:function(){return u.default.findDOMNode(this.refs.popup)},getTarget:function(){return this.props.getRootDomNode()},getMaskTransitionName:function(){var e=this.props,t=e.maskTransitionName,n=e.maskAnimation;return!t&&n&&(t=e.prefixCls+"-"+n),t},getTransitionName:function(){var e=this.props,t=e.transitionName;return!t&&e.animation&&(t=e.prefixCls+"-"+e.animation),t},getClassName:function(e){return this.props.prefixCls+" "+this.props.className+" "+e},getPopupElement:function(){var e=this.props,t=e.align,n=e.style,r=e.visible,o=e.prefixCls,a=e.destroyPopupOnHide,l=this.getClassName(this.currentAlignClassName||e.getClassNameFromAlign(t)),u=o+"-hidden";r||(this.currentAlignClassName=null);var c=(0,i.default)({},n,this.getZIndexStyle()),p={className:l,prefixCls:o,ref:"popup",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,style:c};return a?s.default.createElement(f.default,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName()},r?s.default.createElement(d.default,{target:this.getTarget,key:"popup",ref:this.saveAlign,monitorWindowResize:!0,align:t,onAlign:this.onAlign},s.default.createElement(m.default,(0,i.default)({visible:!0},p),e.children)):null):s.default.createElement(f.default,{component:"",exclusive:!0,transitionAppear:!0,transitionName:this.getTransitionName(),showProp:"xVisible"},s.default.createElement(d.default,{target:this.getTarget,key:"popup",ref:this.saveAlign,monitorWindowResize:!0,xVisible:r,childrenProps:{visible:"xVisible"},disabled:!r,align:t,onAlign:this.onAlign},s.default.createElement(m.default,(0,i.default)({hiddenClassName:u},p),e.children)))},getZIndexStyle:function(){var e={},t=this.props;return void 0!==t.zIndex&&(e.zIndex=t.zIndex),e},getMaskElement:function(){var e=this.props,t=void 0;if(e.mask){var n=this.getMaskTransitionName();t=s.default.createElement(y.default,{style:this.getZIndexStyle(),key:"mask",className:e.prefixCls+"-mask",hiddenClassName:e.prefixCls+"-mask-hidden",visible:e.visible}),n&&(t=s.default.createElement(f.default,{key:"mask",showProp:"visible",transitionAppear:!0,component:"",transitionName:n},t))}return t},saveAlign:function(e){this.alignInstance=e},render:function(){return s.default.createElement("div",null,this.getMaskElement(),this.getPopupElement())}});t.default=v,e.exports=t.default},"./node_modules/rc-trigger/lib/PopupInner.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/rc-trigger/lib/LazyRenderBox.js"),s=r(a),l=i.default.createClass({displayName:"PopupInner",propTypes:{hiddenClassName:o.PropTypes.string,className:o.PropTypes.string,prefixCls:o.PropTypes.string,onMouseEnter:o.PropTypes.func,onMouseLeave:o.PropTypes.func,children:o.PropTypes.any},render:function(){var e=this.props,t=e.className;return e.visible||(t+=" "+e.hiddenClassName),i.default.createElement("div",{className:t,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,style:e.style},i.default.createElement(s.default,{className:e.prefixCls+"-content",visible:e.visible},e.children))}});t.default=l,e.exports=t.default},"./node_modules/rc-trigger/lib/Trigger.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){}function i(){return""}function a(){return window.document}Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/babel-runtime/helpers/extends.js"),l=r(s),u=n("./node_modules/react/react.js"),c=r(u),d=n("./node_modules/react-dom/index.js"),p=r(d),f=n("./node_modules/rc-util/lib/Dom/contains.js"),h=r(f),m=n("./node_modules/rc-util/lib/Dom/addEventListener.js"),g=r(m),y=n("./node_modules/rc-trigger/lib/Popup.js"),v=r(y),b=n("./node_modules/rc-trigger/lib/utils.js"),_=n("./node_modules/rc-util/lib/getContainerRenderMixin.js"),A=r(_),x=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"],j=c.default.createClass({displayName:"Trigger",propTypes:{children:u.PropTypes.any,action:u.PropTypes.oneOfType([u.PropTypes.string,u.PropTypes.arrayOf(u.PropTypes.string)]),showAction:u.PropTypes.any,hideAction:u.PropTypes.any,getPopupClassNameFromAlign:u.PropTypes.any,onPopupVisibleChange:u.PropTypes.func,afterPopupVisibleChange:u.PropTypes.func,popup:u.PropTypes.oneOfType([u.PropTypes.node,u.PropTypes.func]).isRequired,popupStyle:u.PropTypes.object,prefixCls:u.PropTypes.string,popupClassName:u.PropTypes.string,popupPlacement:u.PropTypes.string,builtinPlacements:u.PropTypes.object,popupTransitionName:u.PropTypes.string,popupAnimation:u.PropTypes.any,mouseEnterDelay:u.PropTypes.number,mouseLeaveDelay:u.PropTypes.number,zIndex:u.PropTypes.number,focusDelay:u.PropTypes.number,blurDelay:u.PropTypes.number,getPopupContainer:u.PropTypes.func,getDocument:u.PropTypes.func,destroyPopupOnHide:u.PropTypes.bool,mask:u.PropTypes.bool,maskClosable:u.PropTypes.bool,onPopupAlign:u.PropTypes.func,popupAlign:u.PropTypes.object,popupVisible:u.PropTypes.bool,maskTransitionName:u.PropTypes.string,maskAnimation:u.PropTypes.string},mixins:[(0,A.default)({autoMount:!1,isVisible:function(e){return e.state.popupVisible},getContainer:function(e){var t=e.props,n=document.createElement("div");return n.style.position="absolute",n.style.top="0",n.style.left="0",n.style.width="100%",(t.getPopupContainer?t.getPopupContainer((0,d.findDOMNode)(e)):t.getDocument().body).appendChild(n),n}})],getDefaultProps:function(){return{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:i,getDocument:a,onPopupVisibleChange:o,afterPopupVisibleChange:o,onPopupAlign:o,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[]}},getInitialState:function(){var e=this.props,t=void 0;return t="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,{popupVisible:t}},componentWillMount:function(){var e=this;x.forEach(function(t){e["fire"+t]=function(n){e.fireEvents(t,n)}})},componentDidMount:function(){this.componentDidUpdate({},{popupVisible:this.state.popupVisible})},componentWillReceiveProps:function(e){var t=e.popupVisible;void 0!==t&&this.setState({popupVisible:t})},componentDidUpdate:function(e,t){var n=this.props,r=this.state;if(this.renderComponent(null,function(){t.popupVisible!==r.popupVisible&&n.afterPopupVisibleChange(r.popupVisible)}),r.popupVisible){var o=void 0;return!this.clickOutsideHandler&&this.isClickToHide()&&(o=n.getDocument(),this.clickOutsideHandler=(0,g.default)(o,"mousedown",this.onDocumentClick)),void(this.touchOutsideHandler||(o=o||n.getDocument(),this.touchOutsideHandler=(0,g.default)(o,"touchstart",this.onDocumentClick)))}this.clearOutsideHandler()},componentWillUnmount:function(){this.clearDelayTimer(),this.clearOutsideHandler()},onMouseEnter:function(e){this.fireEvents("onMouseEnter",e),this.delaySetPopupVisible(!0,this.props.mouseEnterDelay)},onMouseLeave:function(e){this.fireEvents("onMouseLeave",e),this.delaySetPopupVisible(!1,this.props.mouseLeaveDelay)},onPopupMouseEnter:function(){this.clearDelayTimer()},onPopupMouseLeave:function(e){e.relatedTarget&&!e.relatedTarget.setTimeout&&this._component&&(0,h.default)(this._component.getPopupDomNode(),e.relatedTarget)||this.delaySetPopupVisible(!1,this.props.mouseLeaveDelay)},onFocus:function(e){this.fireEvents("onFocus",e),this.clearDelayTimer(),this.isFocusToShow()&&(this.focusTime=Date.now(),this.delaySetPopupVisible(!0,this.props.focusDelay))},onMouseDown:function(e){this.fireEvents("onMouseDown",e),this.preClickTime=Date.now()},onTouchStart:function(e){this.fireEvents("onTouchStart",e),this.preTouchTime=Date.now()},onBlur:function(e){this.fireEvents("onBlur",e),this.clearDelayTimer(),this.isBlurToHide()&&this.delaySetPopupVisible(!1,this.props.blurDelay)},onClick:function(e){if(this.fireEvents("onClick",e),this.focusTime){var t=void 0;if(this.preClickTime&&this.preTouchTime?t=Math.min(this.preClickTime,this.preTouchTime):this.preClickTime?t=this.preClickTime:this.preTouchTime&&(t=this.preTouchTime),Math.abs(t-this.focusTime)<20)return;this.focusTime=0}this.preClickTime=0,this.preTouchTime=0,e.preventDefault();var n=!this.state.popupVisible;(this.isClickToHide()&&!n||n&&this.isClickToShow())&&this.setPopupVisible(!this.state.popupVisible)},onDocumentClick:function(e){if(!this.props.mask||this.props.maskClosable){var t=e.target,n=(0,d.findDOMNode)(this),r=this.getPopupDomNode();(0,h.default)(n,t)||(0,h.default)(r,t)||this.close()}},getPopupDomNode:function(){return this._component&&this._component.isMounted()?this._component.getPopupDomNode():null},getRootDomNode:function(){return p.default.findDOMNode(this)},getPopupClassNameFromAlign:function(e){var t=[],n=this.props,r=n.popupPlacement,o=n.builtinPlacements,i=n.prefixCls;return r&&o&&t.push((0,b.getPopupClassNameFromAlign)(o,i,e)),n.getPopupClassNameFromAlign&&t.push(n.getPopupClassNameFromAlign(e)),t.join(" ")},getPopupAlign:function(){var e=this.props,t=e.popupPlacement,n=e.popupAlign,r=e.builtinPlacements;return t&&r?(0,b.getAlignFromPlacement)(r,t,n):n},getComponent:function(){var e=this.props,t=this.state,n={};return this.isMouseEnterToShow()&&(n.onMouseEnter=this.onPopupMouseEnter),this.isMouseLeaveToHide()&&(n.onMouseLeave=this.onPopupMouseLeave),c.default.createElement(v.default,(0,l.default)({prefixCls:e.prefixCls,destroyPopupOnHide:e.destroyPopupOnHide,visible:t.popupVisible,className:e.popupClassName,action:e.action,align:this.getPopupAlign(),onAlign:e.onPopupAlign,animation:e.popupAnimation,getClassNameFromAlign:this.getPopupClassNameFromAlign},n,{getRootDomNode:this.getRootDomNode,style:e.popupStyle,mask:e.mask,zIndex:e.zIndex,transitionName:e.popupTransitionName,maskAnimation:e.maskAnimation,maskTransitionName:e.maskTransitionName}),"function"==typeof e.popup?e.popup():e.popup)},setPopupVisible:function(e){this.clearDelayTimer(),this.state.popupVisible!==e&&("popupVisible"in this.props||this.setState({popupVisible:e}),this.props.onPopupVisibleChange(e))},delaySetPopupVisible:function(e,t){var n=this,r=1e3*t;this.clearDelayTimer(),r?this.delayTimer=setTimeout(function(){n.setPopupVisible(e),n.clearDelayTimer()},r):this.setPopupVisible(e)},clearDelayTimer:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},clearOutsideHandler:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)},createTwoChains:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire"+e]:t[e]||n[e]},isClickToShow:function(){var e=this.props,t=e.action,n=e.showAction;return t.indexOf("click")!==-1||n.indexOf("click")!==-1},isClickToHide:function(){var e=this.props,t=e.action,n=e.hideAction;return t.indexOf("click")!==-1||n.indexOf("click")!==-1},isMouseEnterToShow:function(){var e=this.props,t=e.action,n=e.showAction;return t.indexOf("hover")!==-1||n.indexOf("mouseEnter")!==-1},isMouseLeaveToHide:function(){var e=this.props,t=e.action,n=e.hideAction;return t.indexOf("hover")!==-1||n.indexOf("mouseLeave")!==-1},isFocusToShow:function(){var e=this.props,t=e.action,n=e.showAction;return t.indexOf("focus")!==-1||n.indexOf("focus")!==-1},isBlurToHide:function(){var e=this.props,t=e.action,n=e.hideAction;return t.indexOf("focus")!==-1||n.indexOf("blur")!==-1},forcePopupAlign:function(){this.state.popupVisible&&this.popupInstance&&this.popupInstance.alignInstance&&this.popupInstance.alignInstance.forceAlign()},fireEvents:function(e,t){var n=this.props.children.props[e];n&&n(t);var r=this.props[e];r&&r(t)},close:function(){this.setPopupVisible(!1)},render:function(){var e=this.props,t=e.children,n=c.default.Children.only(t),r={};return this.isClickToHide()||this.isClickToShow()?(r.onClick=this.onClick,r.onMouseDown=this.onMouseDown,r.onTouchStart=this.onTouchStart):(r.onClick=this.createTwoChains("onClick"),r.onMouseDown=this.createTwoChains("onMouseDown"),r.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?r.onMouseEnter=this.onMouseEnter:r.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?r.onMouseLeave=this.onMouseLeave:r.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(r.onFocus=this.onFocus,r.onBlur=this.onBlur):(r.onFocus=this.createTwoChains("onFocus"),r.onBlur=this.createTwoChains("onBlur")),c.default.cloneElement(n,r)}});t.default=j,e.exports=t.default},"./node_modules/rc-trigger/lib/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/rc-trigger/lib/Trigger.js")},"./node_modules/rc-trigger/lib/utils.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return e[0]===t[0]&&e[1]===t[1]}function i(e,t,n){var r=e[t]||{};return(0,l.default)({},r,n)}function a(e,t,n){var r=n.points;for(var i in e)if(e.hasOwnProperty(i)&&o(e[i].points,r))return t+"-placement-"+i;return""}Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/babel-runtime/helpers/extends.js"),l=r(s);t.getAlignFromPlacement=i,t.getPopupClassNameFromAlign=a},"./node_modules/rc-util/lib/Dom/addEventListener.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=l.default.unstable_batchedUpdates?function(e){l.default.unstable_batchedUpdates(n,e)}:n;return(0,a.default)(e,t,r)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n("./node_modules/add-dom-event-listener/lib/index.js"),a=r(i),s=n("./node_modules/react-dom/index.js"),l=r(s);e.exports=t.default},"./node_modules/rc-util/lib/Dom/contains.js":function(e,t,n){"use strict";function r(e,t){for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},"./node_modules/rc-util/lib/getContainerRenderMixin.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=document.createElement("div");return document.body.appendChild(e),e}function i(e){function t(e,t,n){if(!c||e._component||c(e)){e._container||(e._container=f(e));var r=void 0;r=e.getComponent?e.getComponent(t):d(e,t),l.default.unstable_renderSubtreeIntoContainer(e,r,e._container,function(){e._component=this,n&&n.call(this)})}}function n(e){if(e._container){var t=e._container;l.default.unmountComponentAtNode(t),t.parentNode.removeChild(t),e._container=null}}var r=e.autoMount,i=void 0===r||r,s=e.autoDestroy,u=void 0===s||s,c=e.isVisible,d=e.getComponent,p=e.getContainer,f=void 0===p?o:p,h=void 0;return i&&(h=a({},h,{componentDidMount:function(){t(this)},componentDidUpdate:function(){t(this)}})),i&&u||(h=a({},h,{renderComponent:function(e,n){t(this,e,n)}})),h=u?a({},h,{componentWillUnmount:function(){n(this)}}):a({},h,{removeContainer:function(){n(this)}})}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&r.props.onChange({h:e.h||r.props.hsl.h,s:e.s&&e.s.replace("%","")||r.props.hsl.s,l:e.l&&e.l.replace("%","")||r.props.hsl.l,source:"hsl"},t)},r.showHighlight=function(e){e.target.style.background="#eee"},r.hideHighlight=function(e){e.target.style.background="transparent"},a=n,i(r,a)}return a(t,e),s(t,[{key:"componentDidMount",value:function(){1===this.props.hsl.a&&"hex"!==this.state.view?this.setState({view:"hex"}):"rgb"!==this.state.view&&"hsl"!==this.state.view&&this.setState({view:"rgb"})}},{key:"componentWillReceiveProps",value:function(e){1!==e.hsl.a&&"hex"===this.state.view&&this.setState({view:"rgb"})}},{key:"render",value:function(){var e=(0,d.default)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),t=void 0;return"hex"===this.state.view?t=u.default.createElement("div",{style:e.fields,className:"flexbox-fix"},u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?t=u.default.createElement("div",{style:e.fields,className:"flexbox-fix"},u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),u.default.createElement("div",{style:e.alpha},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(t=u.default.createElement("div",{style:e.fields,className:"flexbox-fix"},u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:e.field},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),u.default.createElement("div",{style:e.alpha},u.default.createElement(h.EditableInput,{style:{input:e.input,label:e.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),u.default.createElement("div",{style:e.wrap,className:"flexbox-fix"},t,u.default.createElement("div",{style:e.toggle},u.default.createElement("div",{style:e.icon,onClick:this.toggleViews,ref:"icon"},u.default.createElement("svg",{style:e.svg,viewBox:"0 0 24 24",onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight},u.default.createElement("path",{ref:"iconUp",fill:"#333",d:"M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}),u.default.createElement("path",{ref:"iconDown",fill:"#333",d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15Z"})))))}}]),t}(u.default.Component);t.default=m},"./node_modules/react-color/lib/components/chrome/ChromePointer.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointer=void 0;var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/reactcss/lib/index.js"),s=r(a),l=t.ChromePointer=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},"./node_modules/react-color/lib/components/chrome/ChromePointerCircle.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ChromePointerCircle=void 0;var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/reactcss/lib/index.js"),s=r(a),l=t.ChromePointerCircle=function(){var e=(0,s.default)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return i.default.createElement("div",{style:e.picker})};t.default=l},"./node_modules/react-color/lib/components/circle/Circle.js":function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Circle=void 0;var i=n("./node_modules/react/react.js"),a=o(i),s=n("./node_modules/reactcss/lib/index.js"),l=o(s),u=n("./node_modules/lodash/map.js"),c=o(u),d=n("./node_modules/material-colors/dist/colors.es2015.js"),p=r(d),f=n("./node_modules/react-color/lib/components/common/index.js"),h=n("./node_modules/react-color/lib/components/circle/CircleSwatch.js"),m=o(h),g=t.Circle=function(e){var t=e.width,n=e.onChange,r=e.colors,o=e.hex,i=e.circleSize,s=e.circleSpacing,u=(0,l.default)({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-s,marginBottom:-s}}}),d=function(e,t){return n({hex:e,source:"hex"},t)};return a.default.createElement("div",{style:u.card,className:"circle-picker"},(0,c.default)(r,function(e){return a.default.createElement(m.default,{key:e,color:e,onClick:d,active:o===e.toLowerCase(),circleSize:i,circleSpacing:s})}))};g.defaultProps={width:"252px",circleSize:28,circleSpacing:14,colors:[p.red[500],p.pink[500],p.purple[500],p.deepPurple[500],p.indigo[500],p.blue[500],p.lightBlue[500],p.cyan[500],p.teal[500],p.green[500],p.lightGreen[500],p.lime[500],p.yellow[500],p.amber[500],p.orange[500],p.deepOrange[500],p.brown[500],p.blueGrey[500]]},t.default=(0,f.ColorWrap)(g)},"./node_modules/react-color/lib/components/circle/CircleSwatch.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CircleSwatch=void 0;var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/reactcss/lib/index.js"),s=r(a),l=n("./node_modules/react-color/lib/components/common/index.js"),u=t.CircleSwatch=function(e){var t=e.color,n=e.onClick,r=e.hover,o=e.active,a=e.circleSize,u=e.circleSpacing,c=(0,s.default)({default:{swatch:{width:a,height:a,marginRight:u,marginBottom:u,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+a/2+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:r,active:o});return i.default.createElement("div",{style:c.swatch},i.default.createElement(l.Swatch,{style:c.Swatch,color:t,onClick:n}))};u.defaultProps={circleSize:28,circleSpacing:14},t.default=(0,a.handleHover)(u)},"./node_modules/react-color/lib/components/common/Alpha.js":function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Alpha=void 0;var l=Object.assign||function(e){for(var t=1;t=0&&t<=n.props.dragMax&&n.props.onChange(o({},n.props.label,t),e)}},n.handleMouseDown=function(e){n.props.dragLabel&&(e.preventDefault(),n.handleDrag(e),window.addEventListener("mousemove",n.handleDrag),window.addEventListener("mouseup",n.handleMouseUp))},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleDrag),window.removeEventListener("mouseup",n.handleMouseUp)},n.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},n}return s(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){var t=this.refs.input;e.value!==this.state.value&&(t===document.activeElement?this.setState({blurValue:String(e.value).toUpperCase()}):this.setState({value:String(e.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=(0,p.default)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return c.default.createElement("div",{style:e.wrap},c.default.createElement("input",{style:e.input,ref:"input",value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder}),this.props.label?c.default.createElement("span",{style:e.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(u.PureComponent||u.Component);t.default=f},"./node_modules/react-color/lib/components/common/Hue.js":function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Hue=void 0;var l=function(){function e(e,t){for(var n=0;n.5});return i.default.createElement("div",{style:n.picker})};t.default=l},"./node_modules/react-color/lib/components/photoshop/PhotoshopPreviews.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoshopPreviews=void 0;var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/reactcss/lib/index.js"),s=r(a),l=t.PhotoshopPreviews=function(e){var t=e.rgb,n=e.currentColor,r=(0,s.default)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:n,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return i.default.createElement("div",null,i.default.createElement("div",{style:r.label},"new"),i.default.createElement("div",{style:r.swatches},i.default.createElement("div",{style:r.new}),i.default.createElement("div",{style:r.current})),i.default.createElement("div",{style:r.label},"current"))};t.default=l},"./node_modules/react-color/lib/components/sketch/Sketch.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.Sketch=void 0;var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/reactcss/lib/index.js"),s=r(a),l=n("./node_modules/react-color/lib/components/common/index.js"),u=n("./node_modules/react-color/lib/components/sketch/SketchFields.js"),c=r(u),d=n("./node_modules/react-color/lib/components/sketch/SketchPresetColors.js"),p=r(d),f=t.Sketch=function(e){var t=e.width,n=e.rgb,r=e.hex,o=e.hsv,a=e.hsl,u=e.onChange,d=e.disableAlpha,f=e.presetColors,h=e.renderers,m=(0,s.default)({default:{picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+n.r+","+n.g+","+n.b+","+n.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},{disableAlpha:d});return i.default.createElement("div",{style:m.picker,className:"sketch-picker"},i.default.createElement("div",{style:m.saturation},i.default.createElement(l.Saturation,{style:m.Saturation,hsl:a,hsv:o,onChange:u})),i.default.createElement("div",{style:m.controls,className:"flexbox-fix"},i.default.createElement("div",{style:m.sliders},i.default.createElement("div",{style:m.hue},i.default.createElement(l.Hue,{style:m.Hue,hsl:a,onChange:u})),i.default.createElement("div",{style:m.alpha},i.default.createElement(l.Alpha,{style:m.Alpha,rgb:n,hsl:a,renderers:h,onChange:u}))),i.default.createElement("div",{style:m.color},i.default.createElement(l.Checkboard,null),i.default.createElement("div",{style:m.activeColor}))),i.default.createElement(c.default,{rgb:n,hsl:a,hex:r,onChange:u,disableAlpha:d}),i.default.createElement(p.default,{colors:f,onClick:u}))};f.defaultProps={presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"],width:200},t.default=(0,l.ColorWrap)(f)},"./node_modules/react-color/lib/components/sketch/SketchFields.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ShetchFields=void 0;var o=n("./node_modules/react/react.js"),i=r(o),a=n("./node_modules/reactcss/lib/index.js"),s=r(a),l=n("./node_modules/react-color/lib/helpers/color.js"),u=r(l),c=n("./node_modules/react-color/lib/components/common/index.js"),d=t.ShetchFields=function(e){var t=e.onChange,n=e.rgb,r=e.hsl,o=e.hex,a=e.disableAlpha,l=(0,s.default)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),d=function(e,o){e.hex?u.default.isValidHex(e.hex)&&t({hex:e.hex,source:"hex"},o):e.r||e.g||e.b?t({r:e.r||n.r,g:e.g||n.g,b:e.b||n.b,a:n.a,source:"rgb"},o):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a=e.a/100,t({h:r.h,s:r.s,l:r.l,a:e.a,source:"rgb"},o))};return i.default.createElement("div",{style:l.fields,className:"flexbox-fix"},i.default.createElement("div",{style:l.double},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"hex",value:o.replace("#",""),onChange:d})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"r",value:n.r,onChange:d,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"g",value:n.g,onChange:d,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.single},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"b",value:n.b,onChange:d,dragLabel:"true",dragMax:"255"})),i.default.createElement("div",{style:l.alpha},i.default.createElement(c.EditableInput,{style:{input:l.input,label:l.label},label:"a",value:Math.round(100*n.a),onChange:d,dragLabel:"true",dragMax:"100"})))};t.default=d},"./node_modules/react-color/lib/components/sketch/SketchPresetColors.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.SketchPresetColors=void 0;var o=Object.assign||function(e){for(var t=1;ti?1:Math.round(100*u/i)/100,n.hsl.a!==c)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:c,source:"rgb"}}else{var d=void 0;if(d=l<0?0:l>o?1:Math.round(100*l/o)/100,n.a!==d)return{h:n.hsl.h,s:n.hsl.s,l:n.hsl.l,a:d,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},"./node_modules/react-color/lib/helpers/checkboard.js":function(e,t,n){"use strict";function r(e,t,n,r){if("undefined"==typeof document&&!r)return null;var o=r?new r:document.createElement("canvas");o.width=o.height=2*n;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,n,n),i.translate(n,n),i.fillRect(0,0,n,n),o.toDataURL()):null}function o(e,t,n,o){var a=e+"-"+t+"-"+n+(o?"-server":""),s=r(e,t,n,o);return i[a]?i[a]:(i[a]=s,s)}Object.defineProperty(t,"__esModule",{value:!0}),t.render=r,t.get=o;var i={}},"./node_modules/react-color/lib/helpers/color.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.red=void 0;var o=n("./node_modules/lodash/each.js"),i=r(o),a=n("./node_modules/react-color/modules/tinycolor2/index.js"),s=r(a);t.default={simpleCheckForValidColor:function(e){var t=["r","g","b","a","h","s","a","v"],n=0,r=0;return(0,i.default)(t,function(t){e[t]&&(n++,isNaN(e[t])||r++)}),n===r&&e},toState:function(e,t){var n=e.hex?(0,s.default)(e.hex):(0,s.default)(e),r=n.toHsl(),o=n.toHsv();return 0===r.s&&(r.h=t||0,o.h=t||0),{hsl:r,hex:"#"+n.toHex(),rgb:n.toRgb(),hsv:o,oldHue:e.h||t||r.h,source:e.source}},isValidHex:function(e){return(0,s.default)(e).isValid()}};t.red={hsl:{a:1,h:0,l:.5,s:1},hex:"#ff0000",rgb:{r:255,g:0,b:0,a:1},hsv:{h:0,s:1,v:1,a:1}}},"./node_modules/react-color/lib/helpers/hue.js":function(e,t,n){"use strict";function r(e,t,n,r){!t&&e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),u=s-(r.getBoundingClientRect().top+window.pageYOffset);if("vertical"===n.direction){var c=void 0;if(u<0)c=359;else if(u>i)c=0;else{var d=100-100*u/i;c=360*d/100}if(n.hsl.h!==c)return{h:c,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}else{var p=void 0;if(l<0)p=0;else if(l>o)p=359;else{var f=100*l/o;p=360*f/100}if(n.hsl.h!==p)return{h:p,s:n.hsl.s,l:n.hsl.l,a:n.hsl.a,source:"rgb"}}return null}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},"./node_modules/react-color/lib/helpers/saturation.js":function(e,t,n){"use strict";function r(e,t,n,r){!t&&e.preventDefault();var o=r.clientWidth,i=r.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),u=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o?l=o:u<0?u=0:u>i&&(u=i);var c=100*l/o,d=100-100*u/i;return{h:n.hsl.h,s:c,v:d,a:n.hsl.a,source:"rgb"}}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateChange=r},"./node_modules/react-color/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPicker=t.TwitterPicker=t.SwatchesPicker=t.SliderPicker=t.SketchPicker=t.PhotoshopPicker=t.MaterialPicker=t.HuePicker=t.GithubPicker=t.CompactPicker=t.ChromePicker=t.default=t.CirclePicker=t.BlockPicker=t.AlphaPicker=void 0;var o=n("./node_modules/react-color/lib/components/alpha/Alpha.js");Object.defineProperty(t,"AlphaPicker",{enumerable:!0,get:function(){return r(o).default}});var i=n("./node_modules/react-color/lib/components/block/Block.js");Object.defineProperty(t,"BlockPicker",{enumerable:!0,get:function(){return r(i).default}});var a=n("./node_modules/react-color/lib/components/circle/Circle.js");Object.defineProperty(t,"CirclePicker",{enumerable:!0,get:function(){return r(a).default}});var s=n("./node_modules/react-color/lib/components/chrome/Chrome.js");Object.defineProperty(t,"ChromePicker",{enumerable:!0,get:function(){return r(s).default}});var l=n("./node_modules/react-color/lib/components/compact/Compact.js");Object.defineProperty(t,"CompactPicker",{enumerable:!0,get:function(){return r(l).default}});var u=n("./node_modules/react-color/lib/components/github/Github.js");Object.defineProperty(t,"GithubPicker",{enumerable:!0,get:function(){return r(u).default}});var c=n("./node_modules/react-color/lib/components/hue/Hue.js");Object.defineProperty(t,"HuePicker",{enumerable:!0,get:function(){return r(c).default}});var d=n("./node_modules/react-color/lib/components/material/Material.js");Object.defineProperty(t,"MaterialPicker",{enumerable:!0,get:function(){return r(d).default}});var p=n("./node_modules/react-color/lib/components/photoshop/Photoshop.js");Object.defineProperty(t,"PhotoshopPicker",{enumerable:!0,get:function(){return r(p).default}});var f=n("./node_modules/react-color/lib/components/sketch/Sketch.js");Object.defineProperty(t,"SketchPicker",{enumerable:!0,get:function(){return r(f).default}});var h=n("./node_modules/react-color/lib/components/slider/Slider.js");Object.defineProperty(t,"SliderPicker",{enumerable:!0,get:function(){return r(h).default}});var m=n("./node_modules/react-color/lib/components/swatches/Swatches.js");Object.defineProperty(t,"SwatchesPicker",{enumerable:!0,get:function(){return r(m).default}});var g=n("./node_modules/react-color/lib/components/twitter/Twitter.js");Object.defineProperty(t,"TwitterPicker",{enumerable:!0,get:function(){return r(g).default}});var y=n("./node_modules/react-color/lib/components/common/ColorWrap.js");Object.defineProperty(t,"CustomPicker",{enumerable:!0,get:function(){return r(y).default}});var v=r(s);t.default=v.default},"./node_modules/react-color/modules/react-material-design/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react-color/modules/react-material-design/lib/components/Raised.js"),i=r(o),a=n("./node_modules/react-color/modules/react-material-design/lib/components/Tile.js"),s=r(a),l=n("./node_modules/react-color/modules/react-material-design/lib/components/Tabs.js"),u=r(l);t.Raised=i.default,t.Tile=s.default,t.Tabs=u.default},"./node_modules/react-color/modules/react-material-design/lib/components/Link.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;nn&&(e.scrollLeft+=i-n),o=(e.tabs&&e.tabs.length)&&(t.selectedTab=e.tabs.length-1)}},{key:"componentDidUpdate",value:function(){this.slide()}},{key:"render",value:function(){for(var e=(0,d.default)({default:{tabs:{position:"relative",background:this.props.background},tabWrap:{display:"flex"},tab:{justifyContent:"flex-start",minWidth:"68px",maxWidth:"240px"},Tab:{color:this.props.color,inactive:this.props.inactive,capitalize:this.props.capitalize},indicator:{height:"0",position:"absolute",bottom:"0",left:"0",background:this.props.color,transition:"all 200ms linear"}},scrollable:{tabs:{overflowX:"scroll"},tabWrap:{paddingLeft:"60px",justifyContent:"flex-start",width:"400%"},tab:{width:"auto"}},"align-justify":{tabWrap:{justifyContent:"space-between"},tab:{width:100/this.props.tabs.length+"%"}},"align-left":{tabWrap:{paddingLeft:"60px",justifyContent:"flex-start"},tab:{width:"auto"}},"align-center":{tabWrap:{justifyContent:"center"},tab:{width:"auto"}}},{scrollable:this.props.width/this.props.tabs.length<72},this.props,this.state),t=[],n=0;n.5?l/(2-i-a):l/(i+a),i){case e:r=(t-n)/l+(t1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o,i,a;if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)o=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;o=r(l,s,e+1/3),i=r(l,s,e),a=r(l,s,e-1/3)}return{r:255*o,g:255*i,b:255*a}}function u(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,i=V(e,t,n),a=q(e,t,n),s=i,l=i-a;if(o=0===i?0:l/i,i==a)r=0;else{switch(i){case e:r=(t-n)/l+(t>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(o(r));return a}function C(e,t){t=t||6;for(var n=o(e).toHsv(),r=n.h,i=n.s,a=n.v,s=[],l=1/t;t--;)s.push(o({h:r,s:i,v:a})),a=(a+l)%1;return s}function E(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}function k(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){M(e)&&(e="100%");var n=D(e);return e=q(t,V(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),U.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function S(e){return q(1,V(0,e))}function P(e){return parseInt(e,16)}function M(e){return"string"==typeof e&&e.indexOf(".")!=-1&&1===parseFloat(e)}function D(e){return"string"==typeof e&&e.indexOf("%")!=-1}function O(e){return 1==e.length?"0"+e:""+e}function I(e,t){return t=t||100,e<=1&&(e=e*t+"%"),e}function R(e){return Math.round(255*parseFloat(e)).toString(16)}function L(e){return P(e)/255}function F(e){e=e.replace(B,"").replace(z,"").toLowerCase();var t=!1;if(K[e])e=K[e],t=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};var n;return(n=Q.rgb.exec(e))?{r:n[1],g:n[2],b:n[3]}:(n=Q.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Q.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=Q.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Q.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=Q.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Q.hex8.exec(e))?{a:L(n[1]),r:P(n[2]),g:P(n[3]),b:P(n[4]),format:t?"name":"hex8"}:(n=Q.hex6.exec(e))?{r:P(n[1]),g:P(n[2]),b:P(n[3]),format:t?"name":"hex"}:!!(n=Q.hex3.exec(e))&&{r:P(n[1]+""+n[1]),g:P(n[2]+""+n[2]),b:P(n[3]+""+n[3]),format:t?"name":"hex"}}function N(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA"),"small"!==n&&"large"!==n&&(n="small"),{level:t,size:n}}var B=/^[\s,#]+/,z=/\s+$/,H=0,U=Math,W=U.round,q=U.min,V=U.max,G=U.random;o.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r,o,i,a=this.toRgb();return e=a.r/255,t=a.g/255,n=a.b/255,r=e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4),o=t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4),i=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4),.2126*r+.7152*o+.0722*i},setAlpha:function(e){return this._a=k(e),this._roundA=W(100*this._a)/100,this},toHsv:function(){var e=u(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=u(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=s(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=s(this._r,this._g,this._b),t=W(360*e.h),n=W(100*e.s),r=W(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return d(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(){return p(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:W(this._r),g:W(this._g),b:W(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+W(this._r)+", "+W(this._g)+", "+W(this._b)+")":"rgba("+W(this._r)+", "+W(this._g)+", "+W(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:W(100*T(this._r,255))+"%",g:W(100*T(this._g,255))+"%",b:W(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+W(100*T(this._r,255))+"%, "+W(100*T(this._g,255))+"%, "+W(100*T(this._b,255))+"%)":"rgba("+W(100*T(this._r,255))+"%, "+W(100*T(this._g,255))+"%, "+W(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(Y[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+p(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){n=o(e).toHex8String()}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(g,arguments)},brighten:function(){return this._applyModification(y,arguments)},darken:function(){return this._applyModification(v,arguments)},desaturate:function(){return this._applyModification(f,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(b,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(w,arguments)},complement:function(){return this._applyCombination(_,arguments)},monochromatic:function(){return this._applyCombination(C,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(A,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},o.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:I(e[r]));e=n}return o(e,t)},o.equals=function(e,t){return!(!e||!t)&&o(e).toRgbString()==o(t).toRgbString()},o.random=function(){return o.fromRatio({r:G(),g:G(),b:G()})},o.mix=function(e,t,n){n=0===n?0:n||50;var r,i=o(e).toRgb(),a=o(t).toRgb(),s=n/100,l=2*s-1,u=a.a-i.a;r=l*u==-1?l:(l+u)/(1+l*u),r=(r+1)/2;var c=1-r;return o({r:a.r*r+i.r*c,g:a.g*r+i.g*c,b:a.b*r+i.b*c,a:a.a*s+i.a*(1-s)})},o.readability=function(e,t){var n=o(e),r=o(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},o.isReadable=function(e,t,n){var r,i,a=o.readability(e,t);switch(i=!1,r=N(n),r.level+r.size){case"AAsmall":case"AAAlarge":i=a>=4.5;break;case"AAlarge":i=a>=3;break;case"AAAsmall":i=a>=7}return i},o.mostReadable=function(e,t,n){var r,i,a,s,l=null,u=0;n=n||{},i=n.includeFallbackColors,a=n.level,s=n.size;for(var c=0;cu&&(u=r,l=o(t[c]));return o.isReadable(e,l,{level:a,size:s})||!i?l:(n.includeFallbackColors=!1,o.mostReadable(e,["#fff","#000"],n))};var K=o.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},Y=o.hexNames=E(K),Q=function(){var e="[-\\+]?\\d+%?",t="[-\\+]?\\d*\\.\\d+%?",n="(?:"+t+")|(?:"+e+")",r="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?",o="[\\s|\\(]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")[,|\\s]+("+n+")\\s*\\)?";return{rgb:new RegExp("rgb"+r),rgba:new RegExp("rgba"+o),hsl:new RegExp("hsl"+r),hsla:new RegExp("hsla"+o),hsv:new RegExp("hsv"+r),hsva:new RegExp("hsva"+o),hex3:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex8:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();void 0!==e&&e.exports?e.exports=o:void 0!==(r=function(){return o}.call(t,n,t,e))&&(e.exports=r)}()},"./node_modules/react-display-name/lib/getDisplayName.js":function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e.displayName||e.name||("string"==typeof e?e:"Component")};t.default=r},"./node_modules/react-dom/index.js":function(e,t,n){"use strict";e.exports=n("./node_modules/react-dom/lib/ReactDOM.js")},"./node_modules/react-dom/lib/ARIADOMPropertyConfig.js":function(e,t,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=r},"./node_modules/react-dom/lib/AutoFocusUtils.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/ReactDOMComponentTree.js"),o=n("./node_modules/fbjs/lib/focusNode.js"),i={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=i},"./node_modules/react-dom/lib/BeforeInputEventPlugin.js":function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function i(e){switch(e){case"topCompositionStart":return E.compositionStart;case"topCompositionEnd":return E.compositionEnd;case"topCompositionUpdate":return E.compositionUpdate}}function a(e,t){return"topKeyDown"===e&&t.keyCode===b}function s(e,t){switch(e){case"topKeyUp":return v.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==b;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function l(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function u(e,t,n,r){var o,u;if(_?o=i(e):T?s(e,n)&&(o=E.compositionEnd):a(e,n)&&(o=E.compositionStart),!o)return null;j&&(T||o!==E.compositionStart?o===E.compositionEnd&&T&&(u=T.getData()):T=m.getPooled(r));var c=g.getPooled(o,t,n,r);if(u)c.data=u;else{var d=l(n);null!==d&&(c.data=d)}return f.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return l(t);case"topKeyPress":return t.which!==w?null:(k=!0,C);case"topTextInput":var n=t.data;return n===C&&k?null:n;default:return null}}function d(e,t){if(T){if("topCompositionEnd"===e||!_&&s(e,t)){var n=T.getData();return m.release(T),T=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return j?null:t.data;default:return null}}function p(e,t,n,r){var o;if(!(o=x?c(e,n):d(e,n)))return null;var i=y.getPooled(E.beforeInput,t,n,r);return i.data=o,f.accumulateTwoPhaseDispatches(i),i}var f=n("./node_modules/react-dom/lib/EventPropagators.js"),h=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),m=n("./node_modules/react-dom/lib/FallbackCompositionState.js"),g=n("./node_modules/react-dom/lib/SyntheticCompositionEvent.js"),y=n("./node_modules/react-dom/lib/SyntheticInputEvent.js"),v=[9,13,27,32],b=229,_=h.canUseDOM&&"CompositionEvent"in window,A=null;h.canUseDOM&&"documentMode"in document&&(A=document.documentMode);var x=h.canUseDOM&&"TextEvent"in window&&!A&&!r(),j=h.canUseDOM&&(!_||A&&A>8&&A<=11),w=32,C=String.fromCharCode(w),E={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},k=!1,T=null,S={eventTypes:E,extractEvents:function(e,t,n,r){return[u(e,t,n,r),p(e,t,n,r)]}};e.exports=S},"./node_modules/react-dom/lib/CSSProperty.js":function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){i.forEach(function(t){o[r(t,e)]=o[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:a};e.exports=s},"./node_modules/react-dom/lib/CSSPropertyOperations.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/CSSProperty.js"),o=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),i=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/fbjs/lib/camelizeStyleName.js"),n("./node_modules/react-dom/lib/dangerousStyleValue.js")),a=n("./node_modules/fbjs/lib/hyphenateStyleName.js"),s=n("./node_modules/fbjs/lib/memoizeStringOnly.js"),l=(n("./node_modules/fbjs/lib/warning.js"),s(function(e){return a(e)})),u=!1,c="cssFloat";if(o.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){u=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var p={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=l(r)+":",n+=i(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var a in t)if(t.hasOwnProperty(a)){var s=i(a,t[a],n);if("float"!==a&&"cssFloat"!==a||(a=c),s)o[a]=s;else{var l=u&&r.shorthandPropertyExpansions[a];if(l)for(var d in l)o[d]="";else o[a]=""}}}};e.exports=p},"./node_modules/react-dom/lib/CallbackQueue.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n("./node_modules/react-dom/lib/reactProdInvariant.js"),i=n("./node_modules/react-dom/lib/PooledClass.js"),a=(n("./node_modules/fbjs/lib/invariant.js"),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length&&o("24"),this._callbacks=null,this._contexts=null;for(var r=0;r8));var O=!1;_.canUseDOM&&(O=C("input")&&(!document.documentMode||document.documentMode>11));var I={get:function(){return M.get.call(this)},set:function(e){P=""+e,M.set.call(this,e)}},R={eventTypes:k,extractEvents:function(e,t,n,o){var i,a,s=t?A.getNodeFromInstance(t):window;if(r(s)?D?i=l:a=u:E(s)?O?i=f:(i=m,a=h):g(s)&&(i=y),i){var c=i(e,t);if(c){var d=j.getPooled(k.change,c,n,o);return d.type="change",b.accumulateTwoPhaseDispatches(d),d}}a&&a(e,s,t)}};e.exports=R},"./node_modules/react-dom/lib/DOMChildrenOperations.js":function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){c.insertTreeBefore(e,t,n)}function i(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):m(e,t,n)}function a(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],l(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var i=o.nextSibling;if(m(e,o,r),o===n)break;o=i}}function l(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function u(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&m(r,document.createTextNode(n),o):n?(h(o,n),l(r,o,t)):l(r,e,t)}var c=n("./node_modules/react-dom/lib/DOMLazyTree.js"),d=n("./node_modules/react-dom/lib/Danger.js"),p=(n("./node_modules/react-dom/lib/ReactDOMComponentTree.js"),n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react-dom/lib/createMicrosoftUnsafeLocalFunction.js")),f=n("./node_modules/react-dom/lib/setInnerHTML.js"),h=n("./node_modules/react-dom/lib/setTextContent.js"),m=p(function(e,t,n){e.insertBefore(t,n)}),g=d.dangerouslyReplaceNodeWithMarkup,y={dangerouslyReplaceNodeWithMarkup:g,replaceDelimitedText:u,processUpdates:function(e,t){for(var n=0;n-1||a("96",e),!u.plugins[n]){t.extractEvents||a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var i in r)o(r[i],t,i)||a("98",i,e)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];i(s,t,n)}return!0}return!!e.registrationName&&(i(e.registrationName,t,n),!0)}function i(e,t,n){u.registrationNameModules[e]&&a("100",e),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n("./node_modules/react-dom/lib/reactProdInvariant.js"),s=(n("./node_modules/fbjs/lib/invariant.js"),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&a("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]&&a("102",n),l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=u.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=u},"./node_modules/react-dom/lib/EventPluginUtils.js":function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function i(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=y.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},"./node_modules/react-dom/lib/HTMLDOMPropertyConfig.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/DOMProperty.js"),o=r.injection.MUST_USE_PROPERTY,i=r.injection.HAS_BOOLEAN_VALUE,a=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|i,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|i,muted:o|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:s,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:o|i,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=u},"./node_modules/react-dom/lib/KeyEscapeUtils.js":function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+e).replace(t,function(e){return n[e]})}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};e.exports=i},"./node_modules/react-dom/lib/LinkedValueUtils.js":function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink&&s("87")}function o(e){r(e),(null!=e.value||null!=e.onChange)&&s("88")}function i(e){r(e),(null!=e.checked||null!=e.onChange)&&s("89")}function a(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n("./node_modules/react-dom/lib/reactProdInvariant.js"),l=n("./node_modules/react/lib/React.js"),u=n("./node_modules/react-dom/lib/ReactPropTypesSecret.js"),c=(n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/fbjs/lib/warning.js"),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||c[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:l.PropTypes.func},p={},f={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var o=d[r](t,r,e,"prop",null,u);if(o instanceof Error&&!(o.message in p)){p[o.message]=!0;a(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(i(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(i(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=f},"./node_modules/react-dom/lib/PooledClass.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/reactProdInvariant.js"),o=(n("./node_modules/fbjs/lib/invariant.js"),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length=0||null!=t.is}function h(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n("./node_modules/react-dom/lib/reactProdInvariant.js"),g=n("./node_modules/object-assign/index.js"),y=n("./node_modules/react-dom/lib/AutoFocusUtils.js"),v=n("./node_modules/react-dom/lib/CSSPropertyOperations.js"),b=n("./node_modules/react-dom/lib/DOMLazyTree.js"),_=n("./node_modules/react-dom/lib/DOMNamespaces.js"),A=n("./node_modules/react-dom/lib/DOMProperty.js"),x=n("./node_modules/react-dom/lib/DOMPropertyOperations.js"),j=n("./node_modules/react-dom/lib/EventPluginHub.js"),w=n("./node_modules/react-dom/lib/EventPluginRegistry.js"),C=n("./node_modules/react-dom/lib/ReactBrowserEventEmitter.js"),E=n("./node_modules/react-dom/lib/ReactDOMComponentFlags.js"),k=n("./node_modules/react-dom/lib/ReactDOMComponentTree.js"),T=n("./node_modules/react-dom/lib/ReactDOMInput.js"),S=n("./node_modules/react-dom/lib/ReactDOMOption.js"),P=n("./node_modules/react-dom/lib/ReactDOMSelect.js"),M=n("./node_modules/react-dom/lib/ReactDOMTextarea.js"),D=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react-dom/lib/ReactMultiChild.js")),O=n("./node_modules/react-dom/lib/ReactServerRenderingTransaction.js"),I=(n("./node_modules/fbjs/lib/emptyFunction.js"),n("./node_modules/react-dom/lib/escapeTextContentForBrowser.js")),R=(n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/react-dom/lib/isEventSupported.js"),n("./node_modules/fbjs/lib/shallowEqual.js"),n("./node_modules/react-dom/lib/validateDOMNesting.js"),n("./node_modules/fbjs/lib/warning.js"),E),L=j.deleteListener,F=k.getNodeFromInstance,N=C.listenTo,B=w.registrationNameModules,z={string:!0,number:!0},H="style",U="__html",W={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},q=11,V={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},G={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},Y=g({menuitem:!0},G),Q=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,X={},Z={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var i=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":T.mountWrapper(this,i,t),i=T.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"option":S.mountWrapper(this,i,t),i=S.getHostProps(this,i);break;case"select":P.mountWrapper(this,i,t),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(c,this);break;case"textarea":M.mountWrapper(this,i,t),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(c,this)}o(this,i);var a,d;null!=t?(a=t._namespaceURI,d=t._tag):n._tag&&(a=n._namespaceURI,d=n._tag),(null==a||a===_.svg&&"foreignobject"===d)&&(a=_.html),a===_.html&&("svg"===this._tag?a=_.svg:"math"===this._tag&&(a=_.mathml)),this._namespaceURI=a;var p;if(e.useCreateElement){var f,h=n._ownerDocument;if(a===_.html)if("script"===this._tag){var m=h.createElement("div"),g=this._currentElement.type;m.innerHTML="<"+g+">",f=m.removeChild(m.firstChild)}else f=i.is?h.createElement(this._currentElement.type,i.is):h.createElement(this._currentElement.type);else f=h.createElementNS(a,this._currentElement.type);k.precacheNode(this,f),this._flags|=R.hasCachedChildNodes,this._hostParent||x.setAttributeForRoot(f),this._updateDOMProperties(null,i,e);var v=b(f);this._createInitialChildren(e,i,r,v),p=v}else{var A=this._createOpenTagMarkupAndPutListeners(e,i),j=this._createContentMarkup(e,i,r);p=!j&&G[this._tag]?A+"/>":A+">"+j+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),i.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(B.hasOwnProperty(r))o&&i(this,r,o,e);else{r===H&&(o&&(o=this._previousStyleCopy=g({},t.style)),o=v.createMarkupForStyles(o,this));var a=null;null!=this._tag&&f(this._tag,t)?W.hasOwnProperty(r)||(a=x.createMarkupForCustomAttribute(r,o)):a=x.createMarkupForProperty(r,o),a&&(n+=" "+a)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+x.createMarkupForRoot()),n+=" "+x.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)r=I(i);else if(null!=a){var s=this.mountChildren(a,e,n);r=s.join("")}}return K[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&b.queueHTML(r,o.__html);else{var i=z[typeof t.children]?t.children:null,a=null!=i?null:t.children;if(null!=i)""!==i&&b.queueText(r,i);else if(null!=a)for(var s=this.mountChildren(a,e,n),l=0;l"},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},"./node_modules/react-dom/lib/ReactDOMFeatureFlags.js":function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};e.exports=r},"./node_modules/react-dom/lib/ReactDOMIDOperations.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/DOMChildrenOperations.js"),o=n("./node_modules/react-dom/lib/ReactDOMComponentTree.js"),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=i},"./node_modules/react-dom/lib/ReactDOMInput.js":function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);c.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=u.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var d=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),p=0;pt.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),i=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>i){var a=i;i=o,o=a}var s=u(e,o),l=u(e,i);if(s&&l){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),o>i?(n.addRange(d),n.extend(l.node,l.offset)):(d.setEnd(l.node,l.offset),n.addRange(d))}}}var l=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),u=n("./node_modules/react-dom/lib/getNodeForCharacterOffset.js"),c=n("./node_modules/react-dom/lib/getTextContentAccessor.js"),d=l.canUseDOM&&"selection"in document&&!("getSelection"in window),p={getOffsets:d?o:i,setOffsets:d?a:s};e.exports=p},"./node_modules/react-dom/lib/ReactDOMServer.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/ReactDefaultInjection.js"),o=n("./node_modules/react-dom/lib/ReactServerRendering.js"),i=n("./node_modules/react-dom/lib/ReactVersion.js");r.inject();var a={renderToString:o.renderToString,renderToStaticMarkup:o.renderToStaticMarkup,version:i};e.exports=a},"./node_modules/react-dom/lib/ReactDOMTextComponent.js":function(e,t,n){"use strict";var r=n("./node_modules/react-dom/lib/reactProdInvariant.js"),o=n("./node_modules/object-assign/index.js"),i=n("./node_modules/react-dom/lib/DOMChildrenOperations.js"),a=n("./node_modules/react-dom/lib/DOMLazyTree.js"),s=n("./node_modules/react-dom/lib/ReactDOMComponentTree.js"),l=n("./node_modules/react-dom/lib/escapeTextContentForBrowser.js"),u=(n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/react-dom/lib/validateDOMNesting.js"),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,i=" react-text: "+o+" ",u=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,d=c.createComment(i),p=c.createComment(u),f=a(c.createDocumentFragment());return a.queueChild(f,a(d)),this._stringText&&a.queueChild(f,a(c.createTextNode(this._stringText))),a.queueChild(f,a(p)),s.precacheNode(this,d),this._closingComment=p,f}var h=l(this._stringText);return e.renderToStaticMarkup?h:""+h+""},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();i.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n&&r("67",this._domID),8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=u},"./node_modules/react-dom/lib/ReactDOMTextarea.js":function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return u.asap(r,this),n}var i=n("./node_modules/react-dom/lib/reactProdInvariant.js"),a=n("./node_modules/object-assign/index.js"),s=n("./node_modules/react-dom/lib/LinkedValueUtils.js"),l=n("./node_modules/react-dom/lib/ReactDOMComponentTree.js"),u=n("./node_modules/react-dom/lib/ReactUpdates.js"),c=(n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/fbjs/lib/warning.js"),{getHostProps:function(e,t){return null!=t.dangerouslySetInnerHTML&&i("91"),a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange})},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var a=t.defaultValue,l=t.children;null!=l&&(null!=a&&i("92"),Array.isArray(l)&&(l.length<=1||i("93"),l=l[0]),a=""+l),null==a&&(a=""),r=a}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=l.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=c},"./node_modules/react-dom/lib/ReactDOMTreeTraversal.js":function(e,t,n){"use strict";function r(e,t){"_hostNode"in e||l("33"),"_hostNode"in t||l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,i=t;i;i=i._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var a=n;a--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e||l("35"),"_hostNode"in t||l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function i(e){return"_hostNode"in e||l("36"),e._hostParent}function a(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o0;)n(l[u],"captured",i)}var l=n("./node_modules/react-dom/lib/reactProdInvariant.js");n("./node_modules/fbjs/lib/invariant.js");e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:i,traverseTwoPhase:a,traverseEnterLeave:s}},"./node_modules/react-dom/lib/ReactDebugTool.js":function(e,t,n){"use strict";function r(e,t,n,r,o,i,a,s){try{t.call(n,r,o,i,a,s)}catch(t){x[e]=!0}}function o(e,t,n,o,i,a){for(var s=0;s1&&void 0!==arguments[1]&&arguments[1]}function u(e,t){0!==E&&(D&&!O&&(O=!0),P=_(),M=0,S=e,D=t)}function c(e,t){0!==E&&(D===t||O||(O=!0),j&&k.push({timerType:t,instanceID:e,duration:_()-P-M}),P=0,M=0,S=null,D=null)}function d(){var e={startTime:P,nestedFlushStartTime:_(),debugID:S,timerType:D};C.push(e),P=0,M=0,S=null,D=null}function p(){var e=C.pop(),t=e.startTime,n=e.nestedFlushStartTime,r=e.debugID,o=e.timerType,i=_()-n;P=t,M+=i,S=r,D=o}function f(e){if(!j||!R)return!1;var t=v.getElement(e);return null!=t&&"object"==typeof t&&!("string"==typeof t.type)}function h(e,t){if(f(e)){var n=e+"::"+t;I=_(),performance.mark(n)}}function m(e,t){if(f(e)){var n=e+"::"+t,r=v.getDisplayName(e)||"Unknown";if(_()-I>.1){var o=r+" ["+t+"]";performance.measure(o,n)}performance.clearMarks(n),performance.clearMeasures(o)}}var g=n("./node_modules/react-dom/lib/ReactInvalidSetStateWarningHook.js"),y=n("./node_modules/react-dom/lib/ReactHostOperationHistoryHook.js"),v=n("./node_modules/react/lib/ReactComponentTreeHook.js"),b=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),_=n("./node_modules/fbjs/lib/performanceNow.js"),A=(n("./node_modules/fbjs/lib/warning.js"),[]),x={},j=!1,w=[],C=[],E=0,k=[],T=0,S=null,P=0,M=0,D=null,O=!1,I=0,R="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,L={addHook:function(e){A.push(e)},removeHook:function(e){for(var t=0;t/,i=/^<\!\-\-/,a={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return i.test(e)?e:e.replace(o," "+a.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(a.CHECKSUM_ATTR_NAME);return n=n&&parseInt(n,10),r(e)===n}};e.exports=a},"./node_modules/react-dom/lib/ReactMount.js":function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or .":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var a,s=g.createElement(N,{child:t});if(e){var l=x.get(e);a=l._processChildContext(l._context)}else a=k;var c=p(n);if(c){if(P(c._currentElement.props.child,t)){var d=c._renderedComponent.getPublicInstance(),h=r&&function(){r.call(d)};return B._updateRootComponent(c,s,a,n,h),d}B.unmountComponentAtNode(n)}var m=o(n),y=m&&!!i(m),v=u(n),b=y&&!c&&!v,_=B._renderNewRootComponent(s,n,b,a)._renderedComponent.getPublicInstance();return r&&r.call(_),_},render:function(e,t,n){return B._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)||f("40");var t=p(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(D);return!1}return delete L[t._instance.rootID],E.batchedUpdates(l,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,i,a){if(c(t)||f("41"),i){var s=o(t);if(j.canReuseMarkup(e,s))return void v.precacheNode(n,s);var l=s.getAttribute(j.CHECKSUM_ATTR_NAME);s.removeAttribute(j.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(j.CHECKSUM_ATTR_NAME,l);var d=e,p=r(d,u),m=" (client) "+d.substring(p-20,p+20)+"\n (server) "+u.substring(p-20,p+20);t.nodeType===I&&f("42",m)}if(t.nodeType===I&&f("43"),a.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else S(t,e),v.precacheNode(n,t.firstChild)}};e.exports=B},"./node_modules/react-dom/lib/ReactMultiChild.js":function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:p.getHostNode(e),toIndex:n,afterNode:t}}function i(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function a(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[],e.push(t)),e}function u(e,t){d.processChildrenUpdates(e,t)}var c=n("./node_modules/react-dom/lib/reactProdInvariant.js"),d=n("./node_modules/react-dom/lib/ReactComponentEnvironment.js"),p=(n("./node_modules/react-dom/lib/ReactInstanceMap.js"),n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react/lib/ReactCurrentOwner.js"),n("./node_modules/react-dom/lib/ReactReconciler.js")),f=n("./node_modules/react-dom/lib/ReactChildReconciler.js"),h=(n("./node_modules/fbjs/lib/emptyFunction.js"),n("./node_modules/react-dom/lib/flattenChildren.js")),m=(n("./node_modules/fbjs/lib/invariant.js"),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return f.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,i){var a,s=0;return a=h(t,s),f.updateChildren(e,a,n,r,o,this,this._hostContainerInfo,i,s),a},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],i=0;for(var a in r)if(r.hasOwnProperty(a)){var s=r[a],l=0,u=p.mountComponent(s,t,this,this._hostContainerInfo,n,l);s._mountIndex=i++,o.push(u)}return o},updateTextContent:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");u(this,[s(e)])},updateMarkup:function(e){var t=this._renderedChildren;f.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");u(this,[a(e)])},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},i=[],a=this._reconcilerUpdateChildren(r,e,i,o,t,n);if(a||r){var s,c=null,d=0,f=0,h=0,m=null;for(s in a)if(a.hasOwnProperty(s)){var g=r&&r[s],y=a[s];g===y?(c=l(c,this.moveChild(g,m,d,f)),f=Math.max(g._mountIndex,f),g._mountIndex=d):(g&&(f=Math.max(g._mountIndex,f)),c=l(c,this._mountChildAtIndex(y,i[h],m,d,t,n)),h++),d++,m=p.getHostNode(y)}for(s in o)o.hasOwnProperty(s)&&(c=l(c,this._unmountChild(r[s],o[s])));c&&u(this,c),this._renderedChildren=a}},unmountChildren:function(e){var t=this._renderedChildren;f.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function a(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function s(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function l(){arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();return r(),[]}function u(e){return void r()}function c(e){return void r()}function d(e){return void r()}function p(e){return void r()}function f(e){return b=!0,p(e)}function h(e){return _=!0,s(e)}function m(){return void r()}function g(){return void r()}function y(){return r(),!1}var v=(n("./node_modules/object-assign/index.js"),n("./node_modules/react-dom/lib/ReactDebugTool.js"),n("./node_modules/fbjs/lib/warning.js"),!1),b=!1,_=!1,A={getLastMeasurements:o,getExclusive:i,getInclusive:a,getWasted:s,getOperations:l,printExclusive:u,printInclusive:c,printWasted:d,printOperations:p,start:m,stop:g,isRunning:y,printDOM:f,getMeasurementsSummaryMap:h};e.exports=A},"./node_modules/react-dom/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-dom/lib/ReactReconcileTransaction.js":function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.useCreateElement=e}var o=n("./node_modules/object-assign/index.js"),i=n("./node_modules/react-dom/lib/CallbackQueue.js"),a=n("./node_modules/react-dom/lib/PooledClass.js"),s=n("./node_modules/react-dom/lib/ReactBrowserEventEmitter.js"),l=n("./node_modules/react-dom/lib/ReactInputSelection.js"),u=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react-dom/lib/Transaction.js")),c=n("./node_modules/react-dom/lib/ReactUpdateQueue.js"),d={initialize:l.getSelectionInformation,close:l.restoreSelection},p={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},f={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[d,p,f],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,u,m),a.addPoolingTo(r),e.exports=r},"./node_modules/react-dom/lib/ReactReconciler.js":function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n("./node_modules/react-dom/lib/ReactRef.js"),i=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/fbjs/lib/warning.js"),{mountComponent:function(e,t,n,o,i,a){var s=e.mountComponent(t,n,o,i,a);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,i){var a=e._currentElement;if(t!==a||i!==e._context){var s=o.shouldUpdateRefs(a,t);s&&o.detachRefs(e,a),e.receiveComponent(t,n,i),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=i},"./node_modules/react-dom/lib/ReactRef.js":function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):i.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):i.removeComponentAsRefFrom(t,e,n)}var i=n("./node_modules/react-dom/lib/ReactOwner.js"),a={};a.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},a.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,i=null;return null!==t&&"object"==typeof t&&(o=t.ref,i=t._owner),n!==o||"string"==typeof o&&i!==r},a.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=a},"./node_modules/react-dom/lib/ReactServerBatchingStrategy.js":function(e,t,n){"use strict";var r={isBatchingUpdates:!1,batchedUpdates:function(e){}};e.exports=r},"./node_modules/react-dom/lib/ReactServerRendering.js":function(e,t,n){"use strict";function r(e,t){var n;try{return h.injection.injectBatchingStrategy(p),n=f.getPooled(t),y++,n.perform(function(){var r=g(e,!0),o=d.mountComponent(r,n,null,l(),m,0);return t||(o=c.addChecksumToMarkup(o)),o},null)}finally{y--,f.release(n),y||h.injection.injectBatchingStrategy(u)}}function o(e){return s.isValidElement(e)||a("46"),r(e,!1)}function i(e){return s.isValidElement(e)||a("47"),r(e,!0)}var a=n("./node_modules/react-dom/lib/reactProdInvariant.js"),s=n("./node_modules/react/lib/React.js"),l=n("./node_modules/react-dom/lib/ReactDOMContainerInfo.js"),u=n("./node_modules/react-dom/lib/ReactDefaultBatchingStrategy.js"),c=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react-dom/lib/ReactMarkupChecksum.js")),d=n("./node_modules/react-dom/lib/ReactReconciler.js"),p=n("./node_modules/react-dom/lib/ReactServerBatchingStrategy.js"),f=n("./node_modules/react-dom/lib/ReactServerRenderingTransaction.js"),h=n("./node_modules/react-dom/lib/ReactUpdates.js"),m=n("./node_modules/fbjs/lib/emptyObject.js"),g=n("./node_modules/react-dom/lib/instantiateReactComponent.js"),y=(n("./node_modules/fbjs/lib/invariant.js"),0);e.exports={renderToString:o,renderToStaticMarkup:i}},"./node_modules/react-dom/lib/ReactServerRenderingTransaction.js":function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n("./node_modules/object-assign/index.js"),i=n("./node_modules/react-dom/lib/PooledClass.js"),a=n("./node_modules/react-dom/lib/Transaction.js"),s=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react-dom/lib/ReactServerUpdateQueue.js")),l=[],u={enqueue:function(){}},c={getTransactionWrappers:function(){return l},getReactMountReady:function(){return u},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,a,c),i.addPoolingTo(r),e.exports=r},"./node_modules/react-dom/lib/ReactServerUpdateQueue.js":function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var i=n("./node_modules/react-dom/lib/ReactUpdateQueue.js"),a=(n("./node_modules/fbjs/lib/warning.js"),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&i.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?i.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?i.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?i.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=a},"./node_modules/react-dom/lib/ReactUpdateQueue.js":function(e,t,n){"use strict";function r(e){l.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function i(e,t){var n=s.get(e);if(!n){return null}return n}var a=n("./node_modules/react-dom/lib/reactProdInvariant.js"),s=(n("./node_modules/react/lib/ReactCurrentOwner.js"),n("./node_modules/react-dom/lib/ReactInstanceMap.js")),l=(n("./node_modules/react-dom/lib/ReactInstrumentation.js"),n("./node_modules/react-dom/lib/ReactUpdates.js")),u=(n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/fbjs/lib/warning.js"),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var o=i(e);if(!o)return null;o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],r(o)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,o(e))}});e.exports=u},"./node_modules/react-dom/lib/ReactUpdates.js":function(e,t,n){"use strict";function r(){k.ReactReconcileTransaction&&A||c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=p.getPooled(),this.reconcileTransaction=k.ReactReconcileTransaction.getPooled(!0)}function i(e,t,n,o,i,a){return r(),A.batchedUpdates(e,t,n,o,i,a)}function a(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==y.length&&c("124",t,y.length),y.sort(a),v++;for(var n=0;n]/;e.exports=o},"./node_modules/react-dom/lib/findDOMNode.js":function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=a.get(e);if(t)return t=s(t),t?i.getNodeFromInstance(t):null;"function"==typeof e.render?o("44"):o("45",Object.keys(e))}var o=n("./node_modules/react-dom/lib/reactProdInvariant.js"),i=(n("./node_modules/react/lib/ReactCurrentOwner.js"),n("./node_modules/react-dom/lib/ReactDOMComponentTree.js")),a=n("./node_modules/react-dom/lib/ReactInstanceMap.js"),s=n("./node_modules/react-dom/lib/getHostComponentFromComposite.js");n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/fbjs/lib/warning.js");e.exports=r},"./node_modules/react-dom/lib/flattenChildren.js":function(e,t,n){"use strict";(function(t){function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,i=void 0===o[n];i&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return i(e,r,n),n}var i=(n("./node_modules/react-dom/lib/KeyEscapeUtils.js"),n("./node_modules/react-dom/lib/traverseAllChildren.js"));n("./node_modules/fbjs/lib/warning.js");void 0!==t&&t.env,e.exports=o}).call(t,n("./node_modules/process/browser.js"))},"./node_modules/react-dom/lib/forEachAccumulated.js":function(e,t,n){"use strict";function r(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=r},"./node_modules/react-dom/lib/getEventCharCode.js":function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},"./node_modules/react-dom/lib/getEventKey.js":function(e,t,n){"use strict";function r(e){if(e.key){var t=i[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var o=n("./node_modules/react-dom/lib/getEventCharCode.js"),i={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},"./node_modules/react-dom/lib/getEventModifierState.js":function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=i[e];return!!r&&!!n[r]}function o(e){return r}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=o},"./node_modules/react-dom/lib/getEventTarget.js":function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=r},"./node_modules/react-dom/lib/getHostComponentFromComposite.js":function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n("./node_modules/react-dom/lib/ReactNodeTypes.js");e.exports=r},"./node_modules/react-dom/lib/getIteratorFn.js":function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[i]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=r},"./node_modules/react-dom/lib/getNextDebugID.js":function(e,t,n){"use strict";function r(){return o++}var o=1;e.exports=r},"./node_modules/react-dom/lib/getNodeForCharacterOffset.js":function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var n=r(e),i=0,a=0;n;){if(3===n.nodeType){if(a=i+n.textContent.length,i<=t&&a>=t)return{node:n,offset:t-i};i=a}n=r(o(n))}}e.exports=i},"./node_modules/react-dom/lib/getTextContentAccessor.js":function(e,t,n){"use strict";function r(){return!i&&o.canUseDOM&&(i="textContent"in document.documentElement?"textContent":"innerText"),i}var o=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),i=null;e.exports=r},"./node_modules/react-dom/lib/getVendorPrefixedEventName.js":function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!a[e])return e;var t=a[e];for(var n in t)if(t.hasOwnProperty(n)&&n in l)return s[e]=t[n];return""}var i=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),a={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},l={};i.canUseDOM&&(l=document.createElement("div").style,"AnimationEvent"in window||(delete a.animationend.animation,delete a.animationiteration.animation,delete a.animationstart.animation),"TransitionEvent"in window||delete a.transitionend.transition),e.exports=o},"./node_modules/react-dom/lib/instantiateReactComponent.js":function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&void 0!==e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if(null===e||e===!1)n=u.create(i);else if("object"==typeof e){var s=e,l=s.type;if("function"!=typeof l&&"string"!=typeof l){var p="";p+=r(s._owner),a("130",null==l?l:typeof l,p)}"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):a("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var a=n("./node_modules/react-dom/lib/reactProdInvariant.js"),s=n("./node_modules/object-assign/index.js"),l=n("./node_modules/react-dom/lib/ReactCompositeComponent.js"),u=n("./node_modules/react-dom/lib/ReactEmptyComponent.js"),c=n("./node_modules/react-dom/lib/ReactHostComponent.js"),d=(n("./node_modules/react-dom/lib/getNextDebugID.js"),n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/fbjs/lib/warning.js"),function(e){this.construct(e)});s(d.prototype,l,{_instantiateReactComponent:i}),e.exports=i},"./node_modules/react-dom/lib/isEventSupported.js":function(e,t,n){"use strict";function r(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,i=n("./node_modules/fbjs/lib/ExecutionEnvironment.js");i.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},"./node_modules/react-dom/lib/isTextInputElement.js":function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o[e.type]:"textarea"===t}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=r},"./node_modules/react-dom/lib/quoteAttributeValueForBrowser.js":function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n("./node_modules/react-dom/lib/escapeTextContentForBrowser.js");e.exports=r},"./node_modules/react-dom/lib/reactProdInvariant.js":function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r]/,l=n("./node_modules/react-dom/lib/createMicrosoftUnsafeLocalFunction.js"),u=l(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},"./node_modules/react-dom/lib/setTextContent.js":function(e,t,n){"use strict";var r=n("./node_modules/fbjs/lib/ExecutionEnvironment.js"),o=n("./node_modules/react-dom/lib/escapeTextContentForBrowser.js"),i=n("./node_modules/react-dom/lib/setInnerHTML.js"),a=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){if(3===e.nodeType)return void(e.nodeValue=t);i(e,o(t))})),e.exports=a},"./node_modules/react-dom/lib/shouldUpdateReactComponent.js":function(e,t,n){"use strict";function r(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,i=typeof t;return"string"===o||"number"===o?"string"===i||"number"===i:"object"===i&&e.type===t.type&&e.key===t.key}e.exports=r},"./node_modules/react-dom/lib/traverseAllChildren.js":function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?u.escape(e.key):t.toString(36)}function o(e,t,n,i){var p=typeof e;if("undefined"!==p&&"boolean"!==p||(e=null),null===e||"string"===p||"number"===p||"object"===p&&e.$$typeof===s)return n(i,e,""===t?c+r(e,0):t),1;var f,h,m=0,g=""===t?c:t+d;if(Array.isArray(e))for(var y=0;y, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){"undefined"!=typeof SVGElement&&h.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(e){!e.position||this.props.position&&e.position.x===this.props.position.x&&e.position.y===this.props.position.y||this.setState({x:e.position.x,y:e.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t={},n=null,r=Boolean(this.props.position),i=!r||this.state.dragging,a=this.props.position||this.props.defaultPosition,s={x:(0,v.canDragX)(this)&&i?this.state.x:a.x,y:(0,v.canDragY)(this)&&i?this.state.y:a.y};this.state.isElementSVG?n=(0,y.createSVGTransform)(s):t=(0,y.createCSSTransform)(s);var u=this.props,c=u.defaultClassName,d=u.defaultClassNameDragging,f=u.defaultClassNameDragged,h=(0,g.default)(this.props.children.props.className||"",c,(e={},o(e,d,this.state.dragging),o(e,f,this.state.dragged),e));return p.default.createElement(A.default,l({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),p.default.cloneElement(p.default.Children.only(this.props.children),{className:h,style:l({},this.props.children.props.style,t),transform:n}))}}]),t}(p.default.Component);w.displayName="Draggable",w.propTypes=l({},A.default.propTypes,{axis:d.PropTypes.oneOf(["both","x","y","none"]),bounds:d.PropTypes.oneOfType([d.PropTypes.shape({left:d.PropTypes.number,right:d.PropTypes.number,top:d.PropTypes.number,bottom:d.PropTypes.number}),d.PropTypes.string,d.PropTypes.oneOf([!1])]),defaultClassName:d.PropTypes.string,defaultClassNameDragging:d.PropTypes.string,defaultClassNameDragged:d.PropTypes.string,defaultPosition:d.PropTypes.shape({x:d.PropTypes.number,y:d.PropTypes.number}),position:d.PropTypes.shape({x:d.PropTypes.number,y:d.PropTypes.number}),className:b.dontSetMe,style:b.dontSetMe,transform:b.dontSetMe}),w.defaultProps=l({},A.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),t.default=w},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){var r,o;!function(){"use strict";function n(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{})}Object.defineProperty(t,"__esModule",{value:!0});var A=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var n=0;n1)for(var n=1;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){var n=e[t];return n?(0,v.default)(n)?n:[n]:[t]}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=n("./node_modules/lodash/isFunction.js"),c=r(u),d=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r2&&void 0!==arguments[2]&&arguments[2]&&this.context.map.addLayer(e),this.leafletElement.addBaseLayer(e,t)}},{key:"addOverlay",value:function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&this.context.map.addLayer(e),this.leafletElement.addOverlay(e,t)}},{key:"removeLayer",value:function(e){this.context.map.removeLayer(e)}},{key:"removeLayerControl",value:function(e){this.leafletElement.removeLayer(e)}},{key:"render",value:function(){var e=this,t=f.Children.map(this.props.children,function(t){return t?(0,f.cloneElement)(t,e.controlProps):null});return h.default.createElement("div",{style:{display:"none"}},t)}}]),t}(w.default);P.propTypes={baseLayers:f.PropTypes.object,children:g.default,overlays:f.PropTypes.object,position:v.default},P.contextTypes={layerContainer:_.default,map:x.default},t.default=P,P.BaseLayer=T,P.Overlay=S},"./node_modules/react-leaflet/lib/Map.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.leafletElement;if(!n||!n.on)return{};var r=(0,m.default)(t);return(0,f.default)(t,function(t,o){e[o]&&t===e[o]||(delete r[o],n.off(o,t))}),(0,f.default)(e,function(e,o){t[o]&&e===t[o]||(r[o]=e,n.on(o,e))}),r}},{key:"fireLeafletEvent",value:function(e,t){var n=this.leafletElement;n&&n.fire(e,t)}},{key:"getOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pane||this.context.pane;return t?g({},e,{pane:t}):e}}]),t}(v.Component);t.default=_},"./node_modules/react-leaflet/lib/MapControl.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:r.props,t=e.style,n=e.className,o=r.getPane(r.state.name);o&&(n&&o.classList.add(n),t&&(0,f.default)(t,function(e,t){o.style[t]=e}))},o=n,a(r,o)}return s(t,e),h(t,[{key:"getChildContext",value:function(){return{pane:this.state.name}}},{key:"componentDidMount",value:function(){this.createPane(this.props)}},{key:"componentWillReceiveProps",value:function(e){if(this.state.name)if(e.name!==this.props.name)this.removePane(),this.createPane(e);else{if(this.props.className&&e.className!==this.props.className){var t=this.getPane();t&&t.classList.remove(this.props.className)}this.setStyle(e)}}},{key:"componentWillUnmount",value:function(){this.removePane()}},{key:"createPane",value:function(e){var t=this.context.map,n=e.name||"pane-"+(0,u.default)();if(t&&t.createPane){var r=j(n);if(r||this.getPane(n));else t.createPane(n,this.getParentPane());this.setState({name:n},this.setStyle)}}},{key:"removePane",value:function(){var e=this.state.name;if(e){var t=this.getPane(e);t&&t.remove&&t.remove();var n=this.context.map;n&&n._panes&&(n._panes=(0,d.default)(n._panes,e),n._paneRenderers=(0,d.default)(n._paneRenderers,e)),this.setState({name:void 0})}}},{key:"getParentPane",value:function(){return this.getPane(this.props.pane||this.context.pane)}},{key:"getPane",value:function(e){return e?this.context.map.getPane(e):void 0}},{key:"render",value:function(){return this.state.name?g.default.createElement("div",{style:w},this.props.children):null}}]),t}(m.Component);C.propTypes={name:m.PropTypes.string,children:b.default,map:A.default,className:m.PropTypes.string,style:m.PropTypes.object,pane:m.PropTypes.string},C.contextTypes={map:A.default,pane:m.PropTypes.string},C.childContextTypes={pane:m.PropTypes.string},t.default=C},"./node_modules/react-leaflet/lib/Path.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};this.leafletElement.setStyle(e)}},{key:"setStyleIfChanged",value:function(e,t){var n=this.getPathOptions(t);(0,d.default)(n,this.getPathOptions(e))||this.setStyle(n)}}]),t}(v.default);_.childContextTypes={children:g.default,popupContainer:h.PropTypes.object},t.default=_},"./node_modules/react-leaflet/lib/Polygon.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):o(e,t))}Object.defineProperty(t,"__esModule",{value:!0});var u=n("./node_modules/lodash/isEqual.js"),c=r(u),d=function(){function e(e,t){for(var n=0;n10*b&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();var i=(e.accumulatedTime-Math.floor(e.accumulatedTime/b)*b)/b,a=Math.floor(e.accumulatedTime/b),s={},l={},u={},d={};for(var f in n)if(Object.prototype.hasOwnProperty.call(n,f)){var h=n[f];if("number"==typeof h)u[f]=h,d[f]=0,s[f]=h,l[f]=0;else{for(var m=e.state.lastIdealStyle[f],y=e.state.lastIdealVelocity[f],v=0;v10*_&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var a=(e.accumulatedTime-Math.floor(e.accumulatedTime/_)*_)/_,s=Math.floor(e.accumulatedTime/_),l=[],u=[],c=[],p=[],h=0;h10*w&&(e.accumulatedTime=0),0===e.accumulatedTime)return e.animationID=null,void e.startAnimationIfNecessary();for(var u=(e.accumulatedTime-Math.floor(e.accumulatedTime/w)*w)/w,c=Math.floor(e.accumulatedTime/w),d=a(e.props.willEnter,e.props.willLeave,e.props.didLeave,e.state.mergedPropsStyles,r,e.state.currentStyles,e.state.currentVelocities,e.state.lastIdealStyles,e.state.lastIdealVelocities),p=d[0],h=d[1],m=d[2],g=d[3],v=d[4],b=0;br[c])return-1;if(o>i[c]&&lr[c])return 1;if(a>i[c]&&s-1&&this.props.notifications.reverse(),e=this.props.notifications.map(function(e){return r.createElement(o,{ref:"notification-"+e.uid,key:e.uid,notification:e,getStyles:t.props.getStyles,onRemove:t.props.onRemove,noAnimation:t.props.noAnimation,allowHTML:t.props.allowHTML,children:t.props.children})}),r.createElement("div",{className:"notifications-"+this.props.position,style:this._style},e)}});e.exports=a},"./node_modules/react-notification-system/dist/NotificationItem.js":function(e,t,n){var r=n("./node_modules/react/react.js"),o=n("./node_modules/react-dom/index.js"),i=n("./node_modules/react-notification-system/dist/constants.js"),a=n("./node_modules/react-notification-system/dist/helpers.js"),s=n("./node_modules/object-assign/index.js"),l=function(){var e,t=document.createElement("fakeelement"),n={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};return Object.keys(n).forEach(function(r){void 0!==t.style[r]&&(e=n[r])}),e},u=r.createClass({displayName:"NotificationItem",propTypes:{notification:r.PropTypes.object,getStyles:r.PropTypes.object,onRemove:r.PropTypes.func,allowHTML:r.PropTypes.bool,noAnimation:r.PropTypes.bool,children:r.PropTypes.oneOfType([r.PropTypes.string,r.PropTypes.element])},getDefaultProps:function(){return{noAnimation:!1,onRemove:function(){},allowHTML:!1}},getInitialState:function(){return{visible:void 0,removed:!1}},componentWillMount:function(){var e=this.props.getStyles,t=this.props.notification.level;this._noAnimation=this.props.noAnimation,this._styles={notification:e.byElement("notification")(t),title:e.byElement("title")(t),dismiss:e.byElement("dismiss")(t),messageWrapper:e.byElement("messageWrapper")(t),actionWrapper:e.byElement("actionWrapper")(t),action:e.byElement("action")(t)},this.props.notification.dismissible||(this._styles.notification.cursor="default")},_styles:{},_notificationTimer:null,_height:0,_noAnimation:null,_isMounted:!1,_removeCount:0,_getCssPropertyByPosition:function(){var e=this.props.notification.position,t={};switch(e){case i.positions.tl:case i.positions.bl:t={property:"left",value:-200};break;case i.positions.tr:case i.positions.br:t={property:"right",value:-200};break;case i.positions.tc:t={property:"top",value:-100};break;case i.positions.bc:t={property:"bottom",value:-100}}return t},_defaultAction:function(e){var t=this.props.notification;e.preventDefault(),this._hideNotification(),"function"==typeof t.action.callback&&t.action.callback()},_hideNotification:function(){this._notificationTimer&&this._notificationTimer.clear(),this._isMounted&&this.setState({visible:!1,removed:!0}),this._noAnimation&&this._removeNotification()},_removeNotification:function(){this.props.onRemove(this.props.notification.uid)},_dismiss:function(){this.props.notification.dismissible&&this._hideNotification()},_showNotification:function(){var e=this;setTimeout(function(){e._isMounted&&e.setState({visible:!0})},50)},_onTransitionEnd:function(){this._removeCount>0||this.state.removed&&(this._removeCount++,this._removeNotification())},componentDidMount:function(){var e=this,t=l(),n=this.props.notification,r=o.findDOMNode(this);this._height=r.offsetHeight,this._isMounted=!0,this._noAnimation||(t?r.addEventListener(t,this._onTransitionEnd):this._noAnimation=!0),n.autoDismiss&&(this._notificationTimer=new a.Timer(function(){e._hideNotification()},1e3*n.autoDismiss)),this._showNotification()},_handleMouseEnter:function(){this.props.notification.autoDismiss&&this._notificationTimer.pause()},_handleMouseLeave:function(){this.props.notification.autoDismiss&&this._notificationTimer.resume()},componentWillUnmount:function(){var e=o.findDOMNode(this),t=l();e.removeEventListener(t,this._onTransitionEnd),this._isMounted=!1},_allowHTML:function(e){return{__html:e}},render:function(){var e=this.props.notification,t="notification notification-"+e.level,n=s({},this._styles.notification),o=this._getCssPropertyByPosition(),i=null,a=null,l=null,u=null;return this.state.visible?t+=" notification-visible":this.state.visible===!1&&(t+=" notification-hidden"),e.dismissible||(t+=" notification-not-dismissible"),this.props.getStyles.overrideStyle&&(this.state.visible||this.state.removed||(n[o.property]=o.value),this.state.visible&&!this.state.removed&&(n.height=this._height,n[o.property]=0),this.state.removed&&(n.overlay="hidden",n.height=0,n.marginTop=0,n.paddingTop=0,n.paddingBottom=0),n.opacity=this.state.visible?this._styles.notification.isVisible.opacity:this._styles.notification.isHidden.opacity),e.title&&(l=r.createElement("h4",{className:"notification-title",style:this._styles.title},e.title)),e.message&&(u=this.props.allowHTML?r.createElement("div",{className:"notification-message",style:this._styles.messageWrapper,dangerouslySetInnerHTML:this._allowHTML(e.message)}):r.createElement("div",{className:"notification-message",style:this._styles.messageWrapper},e.message)),e.dismissible&&(i=r.createElement("span",{className:"notification-dismiss",style:this._styles.dismiss},"×")),e.action&&(a=r.createElement("div",{className:"notification-action-wrapper",style:this._styles.actionWrapper},r.createElement("button",{className:"notification-action-button",onClick:this._defaultAction,style:this._styles.action},e.action.label))),e.children&&(a=e.children),r.createElement("div",{className:t,onClick:this._dismiss,onMouseEnter:this._handleMouseEnter,onMouseLeave:this._handleMouseLeave,style:n},l,u,i,a)}});e.exports=u},"./node_modules/react-notification-system/dist/NotificationSystem.js":function(e,t,n){var r=n("./node_modules/react/react.js"),o=n("./node_modules/object-assign/index.js"),i=n("./node_modules/react-notification-system/dist/NotificationContainer.js"),a=n("./node_modules/react-notification-system/dist/constants.js"),s=n("./node_modules/react-notification-system/dist/styles.js"),l=r.createClass({displayName:"NotificationSystem",uid:3400,_isMounted:!1,_getStyles:{overrideStyle:{},overrideWidth:null,setOverrideStyle:function(e){this.overrideStyle=e},wrapper:function(){return this.overrideStyle?o({},s.Wrapper,this.overrideStyle.Wrapper):{}},container:function(e){var t=this.overrideStyle.Containers||{};return this.overrideStyle?(this.overrideWidth=s.Containers.DefaultStyle.width,t.DefaultStyle&&t.DefaultStyle.width&&(this.overrideWidth=t.DefaultStyle.width),t[e]&&t[e].width&&(this.overrideWidth=t[e].width),o({},s.Containers.DefaultStyle,s.Containers[e],t.DefaultStyle,t[e])):{}},elements:{notification:"NotificationItem",title:"Title",messageWrapper:"MessageWrapper",dismiss:"Dismiss",action:"Action",actionWrapper:"ActionWrapper"},byElement:function(e){var t=this;return function(n){var r=t.elements[e],i=t.overrideStyle[r]||{};return t.overrideStyle?o({},s[r].DefaultStyle,s[r][n],i.DefaultStyle,i[n]):{}}}},_didNotificationRemoved:function(e){var t,n=this.state.notifications.filter(function(n){return n.uid===e&&(t=n),n.uid!==e});t&&t.onRemove&&t.onRemove(t),this._isMounted&&this.setState({notifications:n})},getInitialState:function(){return{notifications:[]}},propTypes:{style:r.PropTypes.oneOfType([r.PropTypes.bool,r.PropTypes.object]),noAnimation:r.PropTypes.bool,allowHTML:r.PropTypes.bool},getDefaultProps:function(){return{style:{},noAnimation:!1,allowHTML:!1}},addNotification:function(e){var t,n=o({},a.notification,e),r=this.state.notifications;if(!n.level)throw new Error("notification level is required.");if(Object.keys(a.levels).indexOf(n.level)===-1)throw new Error("'"+n.level+"' is not a valid level.");if(isNaN(n.autoDismiss))throw new Error("'autoDismiss' must be a number.");if(Object.keys(a.positions).indexOf(n.position)===-1)throw new Error("'"+n.position+"' is not a valid position.");for(n.position=n.position.toLowerCase(),n.level=n.level.toLowerCase(),n.autoDismiss=parseInt(n.autoDismiss,10),n.uid=n.uid||this.uid,n.ref="notification-"+n.uid,this.uid+=1,t=0;t-1&&Object.keys(t.refs[n].refs).forEach(function(r){r==="notification-"+(e.uid?e.uid:e)&&t.refs[n].refs[r]._hideNotification()})})},clearNotifications:function(){var e=this;Object.keys(this.refs).forEach(function(t){t.indexOf("container")>-1&&Object.keys(e.refs[t].refs).forEach(function(n){e.refs[t].refs[n]._hideNotification()})})},componentDidMount:function(){this._getStyles.setOverrideStyle(this.props.style),this._isMounted=!0},componentWillUnmount:function(){this._isMounted=!1},render:function(){var e=this,t=null,n=this.state.notifications;return n.length&&(t=Object.keys(a.positions).map(function(t){var o=n.filter(function(e){return t===e.position});return o.length?r.createElement(i,{ref:"container-"+t,key:t,position:t,notifications:o,getStyles:e._getStyles,onRemove:e._didNotificationRemoved,noAnimation:e.props.noAnimation,allowHTML:e.props.allowHTML}):null})),r.createElement("div",{className:"notifications-wrapper",style:this._getStyles.wrapper()},t)}});e.exports=l},"./node_modules/react-notification-system/dist/constants.js":function(e,t){var n={positions:{tl:"tl",tr:"tr",tc:"tc",bl:"bl",br:"br",bc:"bc"},levels:{success:"success",error:"error",warning:"warning",info:"info"},notification:{title:null,message:null,level:null,position:"tr",autoDismiss:5,dismissible:!0,action:null}};e.exports=n},"./node_modules/react-notification-system/dist/helpers.js":function(e,t){var n={Timer:function(e,t){var n,r,o=t;this.pause=function(){clearTimeout(n),o-=new Date-r},this.resume=function(){r=new Date,clearTimeout(n),n=setTimeout(e,o)},this.clear=function(){clearTimeout(n)},this.resume()}};e.exports=n},"./node_modules/react-notification-system/dist/styles.js":function(e,t){var n=320,r={success:{rgb:"94, 164, 0",hex:"#5ea400"},error:{rgb:"236, 61, 61",hex:"#ec3d3d"},warning:{rgb:"235, 173, 23",hex:"#ebad1a"},info:{rgb:"54, 156, 199",hex:"#369cc7"}},o="0.9",i={Wrapper:{},Containers:{DefaultStyle:{fontFamily:"inherit",position:"fixed",width:n,padding:"0 10px 10px 10px",zIndex:9998,WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",height:"auto"},tl:{top:"0px",bottom:"auto",left:"0px",right:"auto"},tr:{top:"0px",bottom:"auto",left:"auto",right:"0px"},tc:{top:"0px",bottom:"auto",margin:"0 auto",left:"50%",marginLeft:-(n/2)},bl:{top:"auto",bottom:"0px",left:"0px",right:"auto"},br:{top:"auto",bottom:"0px",left:"auto",right:"0px"},bc:{top:"auto",bottom:"0px",margin:"0 auto",left:"50%",marginLeft:-(n/2)}},NotificationItem:{DefaultStyle:{position:"relative",width:"100%",cursor:"pointer",borderRadius:"2px",fontSize:"13px",margin:"10px 0 0",padding:"10px",display:"block",WebkitBoxSizing:"border-box",MozBoxSizing:"border-box",boxSizing:"border-box",opacity:0,transition:"0.3s ease-in-out",WebkitTransform:"translate3d(0, 0, 0)",transform:"translate3d(0, 0, 0)",willChange:"transform, opacity",isHidden:{opacity:0},isVisible:{opacity:1}},success:{borderTop:"2px solid "+r.success.hex,backgroundColor:"#f0f5ea",color:"#4b583a",WebkitBoxShadow:"0 0 1px rgba("+r.success.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.success.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.success.rgb+","+o+")"},error:{borderTop:"2px solid "+r.error.hex,backgroundColor:"#f4e9e9",color:"#412f2f",WebkitBoxShadow:"0 0 1px rgba("+r.error.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.error.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.error.rgb+","+o+")"},warning:{borderTop:"2px solid "+r.warning.hex,backgroundColor:"#f9f6f0",color:"#5a5343",WebkitBoxShadow:"0 0 1px rgba("+r.warning.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.warning.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.warning.rgb+","+o+")"},info:{borderTop:"2px solid "+r.info.hex,backgroundColor:"#e8f0f4",color:"#41555d",WebkitBoxShadow:"0 0 1px rgba("+r.info.rgb+","+o+")",MozBoxShadow:"0 0 1px rgba("+r.info.rgb+","+o+")",boxShadow:"0 0 1px rgba("+r.info.rgb+","+o+")"}},Title:{DefaultStyle:{fontSize:"14px",margin:"0 0 5px 0",padding:0,fontWeight:"bold"},success:{color:r.success.hex},error:{color:r.error.hex},warning:{color:r.warning.hex},info:{color:r.info.hex}},MessageWrapper:{DefaultStyle:{margin:0,padding:0}},Dismiss:{DefaultStyle:{fontFamily:"Arial",fontSize:"17px",position:"absolute",top:"4px",right:"5px",lineHeight:"15px",backgroundColor:"#dededf",color:"#ffffff",borderRadius:"50%",width:"14px",height:"14px",fontWeight:"bold",textAlign:"center"},success:{color:"#f0f5ea",backgroundColor:"#b0ca92"},error:{color:"#f4e9e9",backgroundColor:"#e4bebe"},warning:{color:"#f9f6f0",backgroundColor:"#e1cfac"},info:{color:"#e8f0f4",backgroundColor:"#a4becb"}},Action:{DefaultStyle:{background:"#ffffff",borderRadius:"2px",padding:"6px 20px",fontWeight:"bold",margin:"10px 0 0 0",border:0},success:{backgroundColor:r.success.hex,color:"#ffffff"},error:{backgroundColor:r.error.hex,color:"#ffffff"},warning:{backgroundColor:r.warning.hex,color:"#ffffff"},info:{backgroundColor:r.info.hex,color:"#ffffff"}},ActionWrapper:{DefaultStyle:{margin:0,padding:0}}};e.exports=i},"./node_modules/react-phylocanvas/lib/PhylocanvasComponent.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t=0},g=10,y=750,v={x:null,y:null},b=null,_={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},A=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],x=["topMouseDown","topMouseMove","topMouseUp"].concat(A),j={touchTap:{phasedRegistrationNames:{bubbled:p({onTouchTap:null}),captured:p({onTouchTapCapture:null})},dependencies:x}},w=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=i},"./node_modules/react-tap-event-plugin/src/TouchEventUtils.js":function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},"./node_modules/react-tap-event-plugin/src/defaultClickRejectionStrategy.js":function(e,t){e.exports=function(e,t){if(e&&t-e<750)return!0}},"./node_modules/react-tap-event-plugin/src/injectTapEventPlugin.js":function(e,t,n){var r=(n("./node_modules/fbjs/lib/invariant.js"),n("./node_modules/react-tap-event-plugin/src/defaultClickRejectionStrategy.js")),o=!1;e.exports=function(e){e=e||{};var t=e.shouldRejectClick||r;o=!0,n("./node_modules/react-dom/lib/EventPluginHub.js").injection.injectEventPluginsByName({TapEventPlugin:n("./node_modules/react-tap-event-plugin/src/TapEventPlugin.js")(t)})}},"./node_modules/react/lib/KeyEscapeUtils.js":function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"};return"$"+(""+e).replace(t,function(e){return n[e]})}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"};return(""+("."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1))).replace(t,function(e){return n[e]})}var i={escape:r,unescape:o};e.exports=i},"./node_modules/react/lib/PooledClass.js":function(e,t,n){"use strict";var r=n("./node_modules/react/lib/reactProdInvariant.js"),o=(n("./node_modules/fbjs/lib/invariant.js"),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),i=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},a=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var i=o.instancePool.pop();return o.call(i,e,t,n,r),i}return new o(e,t,n,r)},l=function(e){var t=this;e instanceof t||r("25"),e.destructor(),t.instancePool.length1){for(var g=Array(m),y=0;y1){for(var b=Array(v),_=0;_>"),k={array:a("array"),bool:a("boolean"),func:a("function"),number:a("number"),object:a("object"),string:a("string"),symbol:a("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:h(),objectOf:p,oneOf:d,oneOfType:f,shape:m};o.prototype=Error.prototype,e.exports=k},"./node_modules/react/lib/ReactPropTypesSecret.js":function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react/lib/ReactPureComponent.js":function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||s}function o(){}var i=n("./node_modules/object-assign/index.js"),a=n("./node_modules/react/lib/ReactComponent.js"),s=n("./node_modules/react/lib/ReactNoopUpdateQueue.js"),l=n("./node_modules/fbjs/lib/emptyObject.js");o.prototype=a.prototype,r.prototype=new o,r.prototype.constructor=r,i(r.prototype,a.prototype),r.prototype.isPureReactComponent=!0,e.exports=r},"./node_modules/react/lib/ReactTransitionChildMapping.js":function(e,t,n){"use strict";var r=n("./node_modules/react/lib/flattenChildren.js"),o={getChildMapping:function(e,t){return e?r(e):e},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a,s={};for(var l in t){if(r.hasOwnProperty(l))for(a=0;a1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,a,l,c;o(this,r);for(var d=arguments.length,p=Array(d),f=0;f1&&void 0!==arguments[1]?arguments[1]:"span";return function(n){function r(){var n,a,l,c;o(this,r);for(var d=arguments.length,p=Array(d),f=0;f0&&void 0!==arguments[0]?arguments[0]:[],n=[];return(0,d.default)(t,function(t){Array.isArray(t)?e(t).map(function(e){return n.push(e)}):(0,u.default)(t)?(0,s.default)(t,function(e,t){e===!0&&n.push(t),n.push(t+"-"+e)}):(0,i.default)(t)&&n.push(t)}),n};t.default=p},"./node_modules/reactcss/lib/index.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.ReactCSS=t.loop=t.handleActive=t.handleHover=t.hover=void 0;var o=n("./node_modules/reactcss/lib/flattenNames.js"),i=r(o),a=n("./node_modules/reactcss/lib/mergeClasses.js"),s=r(a),l=n("./node_modules/reactcss/lib/autoprefix.js"),u=r(l),c=n("./node_modules/reactcss/lib/components/hover.js"),d=r(c),p=n("./node_modules/reactcss/lib/components/active.js"),f=r(p),h=n("./node_modules/reactcss/lib/loop.js"),m=r(h);t.hover=d.default,t.handleHover=d.default,t.handleActive=f.default,t.loop=m.default;var g=t.ReactCSS=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r1&&void 0!==arguments[1])||arguments[1];n[e]=t};return 0===e&&r("first-child"),e===t-1&&r("last-child"),(0===e||e%2==0)&&r("even"),1===Math.abs(e%2)&&r("odd"),r("nth-child",e),n};t.default=r},"./node_modules/reactcss/lib/mergeClasses.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var o=n("./node_modules/lodash/forOwn.js"),i=r(o),a=n("./node_modules/lodash/cloneDeep.js"),s=r(a),l=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=e.default&&(0,s.default)(e.default)||{};return t.map(function(t){var r=e[t];return r&&(0,i.default)(r,function(e,t){n[t]||(n[t]={}),n[t]=l({},n[t],r[t])}),t}),n};t.default=u},"./node_modules/readable-stream/duplex.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/lib/_stream_duplex.js")},"./node_modules/readable-stream/lib/_stream_duplex.js":function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);u.call(this,e),c.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",o)}function o(){this.allowHalfOpen||this._writableState.ended||s(i,this)}function i(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=r;var s=n("./node_modules/process-nextick-args/index.js"),l=n("./node_modules/core-util-is/lib/util.js");l.inherits=n("./node_modules/inherits/inherits_browser.js");var u=n("./node_modules/readable-stream/lib/_stream_readable.js"),c=n("./node_modules/readable-stream/lib/_stream_writable.js");l.inherits(r,u);for(var d=a(c.prototype),p=0;p0)if(t.ended&&!o){var a=new Error("stream.push() after EOF");e.emit("error",a)}else if(t.endEmitted&&o){var l=new Error("stream.unshift() after end event");e.emit("error",l)}else{var u;!t.decoder||o||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),o||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&p(e))),h(e,t)}else o||(t.reading=!1);return s(t)}function s(e){return!e.ended&&(e.needReadable||e.length=H?e=H:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function u(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=l(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function c(e,t){var n=null;return I.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function d(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,p(e)}}function p(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(N("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?P(f,e):f(e))}function f(e){N("emit readable"),e.emit("readable"),_(e)}function h(e,t){t.readingMore||(t.readingMore=!0,P(m,e,t))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=x(e,t.buffer,t.decoder),n}function x(e,t,n){var r;return ei.length?i.length:e;if(o+=a===i.length?i:i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}function w(e,t){var n=R.allocUnsafe(e),r=t.head,o=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,P(E,t,e))}function E(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function k(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return N("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):p(this),null;if(0===(e=u(e,t))&&t.ended)return 0===t.length&&C(this),null;var r=t.needReadable;N("need readable",r),(0===t.length||t.length-e0?A(e,t):null,null===o?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&C(this)),null!==o&&this.emit("data",o),o},i.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(e,n){function o(e){N("onunpipe"),e===p&&a()}function i(){N("onend"),e.end()}function a(){N("cleanup"),e.removeListener("close",u),e.removeListener("finish",c),e.removeListener("drain",y),e.removeListener("error",l),e.removeListener("unpipe",o),p.removeListener("end",i),p.removeListener("end",a),p.removeListener("data",s),v=!0,!f.awaitDrain||e._writableState&&!e._writableState.needDrain||y()}function s(t){N("ondata"),b=!1,!1!==e.write(t)||b||((1===f.pipesCount&&f.pipes===e||f.pipesCount>1&&T(f.pipes,e)!==-1)&&!v&&(N("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,b=!0),p.pause())}function l(t){N("onerror",t),d(),e.removeListener("error",l),0===O(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",c),d()}function c(){N("onfinish"),e.removeListener("close",u),d()}function d(){N("unpipe"),p.unpipe(e)}var p=this,f=this._readableState;switch(f.pipesCount){case 0:f.pipes=e;break;case 1:f.pipes=[f.pipes,e];break;default:f.pipes.push(e)}f.pipesCount+=1,N("pipe count=%d opts=%j",f.pipesCount,n);var h=(!n||n.end!==!1)&&e!==t.stdout&&e!==t.stderr,m=h?i:a;f.endEmitted?P(m):p.once("end",m),e.on("unpipe",o);var y=g(p);e.on("drain",y);var v=!1,b=!1;return p.on("data",s),r(e,"error",l),e.once("close",u),e.once("finish",c),e.emit("pipe",p),f.flowing||(N("pipe resume"),p.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o-1?r:C;s.WritableState=a;var k=n("./node_modules/core-util-is/lib/util.js");k.inherits=n("./node_modules/inherits/inherits_browser.js");var T,S={deprecate:n("./node_modules/util-deprecate/browser.js")};!function(){try{T=n("./node_modules/stream-browserify/index.js")}catch(e){}finally{T||(T=n("./node_modules/events/events.js").EventEmitter)}}();var P=n("./node_modules/buffer/index.js").Buffer,M=n("./node_modules/buffer-shims/index.js");k.inherits(s,T),a.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(a.prototype,"buffer",{get:S.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var D;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(D=Function.prototype[Symbol.hasInstance],Object.defineProperty(s,Symbol.hasInstance,{value:function(e){return!!D.call(this,e)||e&&e._writableState instanceof a}})):D=function(e){return e instanceof this},s.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},s.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=P.isBuffer(e);return"function"==typeof t&&(n=t,t=null),a?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof n&&(n=o),r.ended?l(this,n):(a||u(this,r,e,n))&&(r.pendingcb++,i=d(this,r,a,e,t,n)),i},s.prototype.cork=function(){this._writableState.corked++},s.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||v(this,e))},s.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},s.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},s.prototype._writev=null,s.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||x(this,r,n)}}).call(t,n("./node_modules/process/browser.js"),n("./node_modules/timers-browserify/main.js").setImmediate)},"./node_modules/readable-stream/lib/internal/streams/BufferList.js":function(e,t,n){"use strict";function r(){this.head=null,this.tail=null,this.length=0}var o=(n("./node_modules/buffer/index.js").Buffer,n("./node_modules/buffer-shims/index.js"));e.exports=r,r.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},r.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},r.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},r.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var t=o.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t}},"./node_modules/readable-stream/passthrough.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/lib/_stream_passthrough.js")},"./node_modules/readable-stream/readable.js":function(e,t,n){(function(r){var o=function(){try{return n("./node_modules/stream-browserify/index.js")}catch(e){}}();t=e.exports=n("./node_modules/readable-stream/lib/_stream_readable.js"),t.Stream=o||t,t.Readable=t,t.Writable=n("./node_modules/readable-stream/lib/_stream_writable.js"),t.Duplex=n("./node_modules/readable-stream/lib/_stream_duplex.js"),t.Transform=n("./node_modules/readable-stream/lib/_stream_transform.js"),t.PassThrough=n("./node_modules/readable-stream/lib/_stream_passthrough.js"),!r.browser&&"disable"===r.env.READABLE_STREAM&&o&&(e.exports=o)}).call(t,n("./node_modules/process/browser.js"))},"./node_modules/readable-stream/transform.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/lib/_stream_transform.js")},"./node_modules/readable-stream/writable.js":function(e,t,n){e.exports=n("./node_modules/readable-stream/lib/_stream_writable.js")},"./node_modules/recompose/compose.js":function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n2&&void 0!==arguments[2])||arguments[2],arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e};t.default=r},"./node_modules/recompose/isClassComponent.js":function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return Boolean(e&&e.prototype&&"object"==typeof e.prototype.isReactComponent)};t.default=r},"./node_modules/recompose/isReferentiallyTransparentFunctionComponent.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/recompose/isClassComponent.js"),i=r(o),a=function(e){return Boolean(!("function"!=typeof e||(0,i.default)(e)||e.defaultProps||e.contextTypes))};t.default=a},"./node_modules/recompose/pure.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/recompose/shouldUpdate.js"),i=r(o),a=n("./node_modules/recompose/shallowEqual.js"),s=r(a),l=n("./node_modules/recompose/createHelper.js"),u=r(l),c=(0,i.default)(function(e,t){return!(0,s.default)(e,t)});t.default=(0,u.default)(c,"pure",!0,!0)},"./node_modules/recompose/shallowEqual.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n("./node_modules/fbjs/lib/shallowEqual.js"),i=r(o);t.default=i.default},"./node_modules/recompose/shouldUpdate.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n("./node_modules/react/react.js"),l=n("./node_modules/recompose/createHelper.js"),u=r(l),c=n("./node_modules/recompose/createEagerFactory.js"),d=r(c),p=function(e){return function(t){var n=(0,d.default)(t);return function(t){function r(){return o(this,r),i(this,t.apply(this,arguments))}return a(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(s.Component)}};t.default=(0,u.default)(p,"shouldUpdate")},"./node_modules/recompose/utils/createEagerElementUtil.js":function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t=n)return i.substr(0,n);for(;n>i.length&&t>1;)1&t&&(i+=e),t>>=1,e+=e;return i+=e,i=i.substr(0,n)}var o,i="";e.exports=r},"./node_modules/resolve-pathname/index.js":function(e,t,n){"use strict";var r=function(e){return"/"===e.charAt(0)},o=function(e,t){for(var n=t,r=n+1,o=e.length;r=0;p--){var f=i[p];"."===f?o(i,p):".."===f?(o(i,p),d++):d&&(o(i,p),d--)}if(!l)for(;d--;d)i.unshift("..");!l||""===i[0]||i[0]&&r(i[0])||i.unshift("");var h=i.join("/");return u&&"/"!==h.substr(-1)&&(h+="/"),h};e.exports=i},"./node_modules/scrollbar-size/scrollbar-size.js":function(e,t,n){var r,o,i;!function(n,a){o=[],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(){var e=null;return function(){if(null!==e)return e;if("loading"!==window.document.readyState){var t,n;return t=window.document.createElement("div"),n=window.document.createElement("div"),t.style.width="100px",t.style.overflowX="scroll",n.style.width="100px",window.document.body.appendChild(t),window.document.body.appendChild(n),e=t.offsetHeight-n.offsetHeight,window.document.body.removeChild(t),window.document.body.removeChild(n),e}}})},"./node_modules/setimmediate/setImmediate.js":function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var o=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,o),o-=this.charReceived),t+=e.toString(this.encoding,0,o);var o=t.length-1,r=t.charCodeAt(o);if(r>=55296&&r<=56319){var i=this.surrogateSize;return this.charLength+=i,this.charReceived+=i,this.charBuffer.copy(this.charBuffer,i,0,i),e.copy(this.charBuffer,0,0,i),t.substring(0,o)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t}},"./node_modules/striptags/striptags.js":function(e,t,n){"use strict";var r,o,i;!function(n,a){o=[],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(){function e(e,s,l){function u(e){h==n?g+=e:s&&h==r&&(y+=e)}function c(){var e,t,n,r="",o=!1;e:for(e=0,t=y.length;e":break e;case"/":o=!0;break;default:if(n.match(a)){if(o)break e}else o=!0,r+=n}s.indexOf(r)!==-1?g+=y:l&&(g+=l),y=""}var d,p,f,e=e||"",h=n,m=0,g="",y="",v=!1;for("string"==typeof s?s=t(s):Array.isArray(s)||(s=null),d=0,p=e.length;d":if(m){m--;break}if(v)break;if(h==r){v=h=0,s&&(y+=">",c());break}if(h==o){v=h=0,y="";break}if(h==i&&"-"==e[d-1]&&"-"==e[d-2]){v=h=0,y="";break}u(f);break;case'"':case"'":h==r&&(v==f?v=!1:v||(v=f)),u(f);break;case"!":if(h==r&&"<"==e[d-1]){h=o;break}u(f);break;case"-":if(h==o&&"-"==e[d-1]&&"!"==e[d-2]){h=i;break}u(f);break;case"E":case"e":if(h==o&&"doctype"==e.substr(d-6,7).toLowerCase()){h=r;break}u(f);break;default:u(f)}return g}function t(e){for(var t,n=[];null!==(t=s.exec(e));)n.push(t[1]);return 0!==n.length?n:null}var n=0,r=1,o=2,i=3,a=/\s/,s=/<(\w*)>/g;return e})},"./node_modules/style-loader/addStyles.js":function(e,t,n){function r(e,t){for(var n=0;n=0&&_.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",u(t,e.attrs),i(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",u(t,e.attrs),i(e,t),t}function u(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function c(e,t){var n,r,o;if(t.singleton){var i=b++;n=v||(v=s(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function d(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=A(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},m=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},g=m(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),y=m(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,b=0,_=[],A=n("./node_modules/style-loader/fixUrls.js");e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},void 0===t.singleton&&(t.singleton=g()),void 0===t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n("./node_modules/setimmediate/setImmediate.js"),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},"./node_modules/title-case/title-case.js":function(e,t,n){var r=n("./node_modules/no-case/no-case.js"),o=n("./node_modules/upper-case/upper-case.js");e.exports=function(e,t){return r(e,t).replace(/^.| ./g,function(e){return o(e,t)})}},"./node_modules/tween.js/src/Tween.js":function(e,t,n){(function(n){var r,o,i=i||function(){var e=[];return{getAll:function(){return e},removeAll:function(){e=[]},add:function(t){e.push(t)},remove:function(t){var n=e.indexOf(t);n!==-1&&e.splice(n,1)},update:function(t,n){if(0===e.length)return!1;var r=0;for(t=void 0!==t?t:i.now();r1?1:c,A=h(c);for(i in o)if(void 0!==r[i]){var x=r[i]||0,j=o[i];j instanceof Array?n[i]=m(j,A):("string"==typeof j&&(j="+"===j.charAt(0)||"-"===j.charAt(0)?x+parseFloat(j):parseFloat(j)),"number"==typeof j&&(n[i]=x+(j-x)*A))}if(null!==b&&b.call(n,A),1===c){if(l>0){isFinite(l)&&l--;for(i in a){if("string"==typeof o[i]&&(a[i]=a[i]+parseFloat(o[i])),u){var w=a[i];a[i]=o[i],o[i]=w}r[i]=a[i]}return u&&(d=!d),f=void 0!==t?e+t:e+p,!0}null!==_&&_.call(n,n);for(var C=0,E=g.length;C1?a(e[n],e[n-1],n-r):a(e[o],e[o+1>n?n:o+1],r-o)},Bezier:function(e,t){for(var n=0,r=e.length-1,o=Math.pow,a=i.Interpolation.Utils.Bernstein,s=0;s<=r;s++)n+=o(1-t,r-s)*o(t,s)*e[s]*a(r,s);return n},CatmullRom:function(e,t){var n=e.length-1,r=n*t,o=Math.floor(r),a=i.Interpolation.Utils.CatmullRom;return e[0]===e[n]?(t<0&&(o=Math.floor(r=n*(1+t))),a(e[(o-1+n)%n],e[o],e[(o+1)%n],e[(o+2)%n],r-o)):t<0?e[0]-(a(e[0],e[0],e[1],e[1],-r)-e[0]):t>1?e[n]-(a(e[n],e[n],e[n-1],e[n-1],r-n)-e[n]):a(e[o?o-1:0],e[o],e[n1;r--)n*=r;return e[t]=n,n}}(),CatmullRom:function(e,t,n,r,o){var i=.5*(n-e),a=.5*(r-t),s=o*o;return(2*t-2*n+i+a)*(o*s)+(-3*t+3*n-2*i-a)*s+i*o+t}}},function(n){r=[],void 0!==(o=function(){return i}.apply(t,r))&&(e.exports=o)}()}).call(t,n("./node_modules/process/browser.js"))},"./node_modules/ua-parser-js/src/ua-parser.js":function(e,t,n){var r;!function(o,i){"use strict";var a="",s="?",l="function",u="undefined",c="object",d="string",p="model",f="name",h="type",m="vendor",g="version",y="architecture",v="console",b="mobile",_="tablet",A="smarttv",x="wearable",j={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&t.toLowerCase().indexOf(e.toLowerCase())!==-1},lowerize:function(e){return e.toLowerCase()},major:function(e){return typeof e===d?e.replace(/[^\d\.]/g,"").split(".")[0]:i},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},w={rgx:function(){for(var e,t,n,r,o,a,s,d=0,p=arguments;d0?2==o.length?typeof o[1]==l?e[o[0]]=o[1].call(this,s):e[o[0]]=o[1]:3==o.length?typeof o[1]!==l||o[1].exec&&o[1].test?e[o[0]]=s?s.replace(o[1],o[2]):i:e[o[0]]=s?o[1].call(this,s,o[2]):i:4==o.length&&(e[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):i):e[o]=s?s:i;d+=2}return e},str:function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r1&&void 0!==arguments[1])||arguments[1];this.dispatch(l.POPUP_OPEN,{component:n.i(a.a)(e),switchTo:t})},popupFocus:function(e){this.dispatch(l.POPUP_FOCUS,{compId:e})},popupMove:function(e,t){this.dispatch(l.POPUP_MOVE,{compId:e,pos:t})},popupResize:function(e,t){this.dispatch(l.POPUP_RESIZE,{compId:e,size:t})},popupToTab:function(e){this.dispatch(l.POPUP_TO_TAB,{compId:e})},tabClose:function(e){this.dispatch(l.TAB_CLOSE,{compId:e})},tabOpen:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e||(e=o.a.createElement(s.default,null)),this.dispatch(l.TAB_OPEN,{component:n.i(a.a)(e),switchTo:t})},tabPopOut:function(e,t){this.dispatch(l.TAB_POP_OUT,{compId:e,pos:t})},tabSwitch:function(e){this.dispatch(l.TAB_SWITCH,{compId:e})},geneFound:function(e,t){this.dispatch(l.GENE_FOUND,{geneId:e,geneDesc:t})},tableQueryUsed:function(e,t){this.dispatch(l.TABLE_QUERY_USED,{table:e,query:t})},appResize:function(){this.dispatch(l.APP_RESIZE,{})},reuseComponentOrPopup:function(e,t){this.dispatch(l.REUSE_OR_POPUP,{componentName:e,props:t})}};t.a=u},"./src/js/components recursive ^\\.\\/.*$":function(e,t,n){function r(e){return n(o(e))}function o(e){var t=i[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var i={"./DataItem":"./src/js/components/DataItem.js","./DataItem.js":"./src/js/components/DataItem.js","./DataItemActions":"./src/js/components/DataItemActions.js","./DataItemActions.js":"./src/js/components/DataItemActions.js","./DatasetImportStatus/ItemView":"./src/js/components/DatasetImportStatus/ItemView.js","./DatasetImportStatus/ItemView.js":"./src/js/components/DatasetImportStatus/ItemView.js","./DatasetImportStatus/ListView":"./src/js/components/DatasetImportStatus/ListView.js","./DatasetImportStatus/ListView.js":"./src/js/components/DatasetImportStatus/ListView.js","./DatasetManagerActions":"./src/js/components/DatasetManagerActions.js","./DatasetManagerActions.js":"./src/js/components/DatasetManagerActions.js","./FieldList":"./src/js/components/FieldList.js","./FieldList.js":"./src/js/components/FieldList.js","./Histogram":"./src/js/components/Histogram.js","./Histogram.js":"./src/js/components/Histogram.js","./HistogramBin":"./src/js/components/HistogramBin.js","./HistogramBin.js":"./src/js/components/HistogramBin.js","./Map/BaseLayer":"./src/js/components/Map/BaseLayer.js","./Map/BaseLayer.js":"./src/js/components/Map/BaseLayer.js","./Map/Circle":"./src/js/components/Map/Circle.js","./Map/Circle.js":"./src/js/components/Map/Circle.js","./Map/ComponentMarker":"./src/js/components/Map/ComponentMarker.js","./Map/ComponentMarker.js":"./src/js/components/Map/ComponentMarker.js","./Map/DivIcon":"./src/js/components/Map/DivIcon.js","./Map/DivIcon.js":"./src/js/components/Map/DivIcon.js","./Map/FeatureGroup":"./src/js/components/Map/FeatureGroup.js","./Map/FeatureGroup.js":"./src/js/components/Map/FeatureGroup.js","./Map/ImageOverlay":"./src/js/components/Map/ImageOverlay.js","./Map/ImageOverlay.js":"./src/js/components/Map/ImageOverlay.js","./Map/LayersControl":"./src/js/components/Map/LayersControl.js","./Map/LayersControl.js":"./src/js/components/Map/LayersControl.js","./Map/Map":"./src/js/components/Map/Map.js","./Map/Map.js":"./src/js/components/Map/Map.js","./Map/MapActions":"./src/js/components/Map/MapActions.js","./Map/MapActions.js":"./src/js/components/Map/MapActions.js","./Map/Overlay":"./src/js/components/Map/Overlay.js","./Map/Overlay.js":"./src/js/components/Map/Overlay.js","./Map/PieChart":"./src/js/components/Map/PieChart.js","./Map/PieChart.js":"./src/js/components/Map/PieChart.js","./Map/PieChartMarkersLayer":"./src/js/components/Map/PieChartMarkersLayer.js","./Map/PieChartMarkersLayer.js":"./src/js/components/Map/PieChartMarkersLayer.js","./Map/Polyline":"./src/js/components/Map/Polyline.js","./Map/Polyline.js":"./src/js/components/Map/Polyline.js","./Map/Popup":"./src/js/components/Map/Popup.js","./Map/Popup.js":"./src/js/components/Map/Popup.js","./Map/Rectangle":"./src/js/components/Map/Rectangle.js","./Map/Rectangle.js":"./src/js/components/Map/Rectangle.js","./Map/Table":"./src/js/components/Map/Table.js","./Map/Table.js":"./src/js/components/Map/Table.js","./Map/TableMarkersLayer":"./src/js/components/Map/TableMarkersLayer.js","./Map/TableMarkersLayer.js":"./src/js/components/Map/TableMarkersLayer.js","./Map/TileLayer":"./src/js/components/Map/TileLayer.js","./Map/TileLayer.js":"./src/js/components/Map/TileLayer.js","./Map/WMSTileLayer":"./src/js/components/Map/WMSTileLayer.js","./Map/WMSTileLayer.js":"./src/js/components/Map/WMSTileLayer.js","./Overview":"./src/js/components/Overview.js","./Overview.js":"./src/js/components/Overview.js","./Panoptes":"./src/js/components/Panoptes.js","./Panoptes.js":"./src/js/components/Panoptes.js","./PieChart":"./src/js/components/PieChart.js","./PieChart.js":"./src/js/components/PieChart.js","./PieChartSector":"./src/js/components/PieChartSector.js","./PieChartSector.js":"./src/js/components/PieChartSector.js","./Plot":"./src/js/components/Plot.js","./Plot.js":"./src/js/components/Plot.js","./PropertyGroup":"./src/js/components/PropertyGroup.js","./PropertyGroup.js":"./src/js/components/PropertyGroup.js","./TablePlot":"./src/js/components/TablePlot.js","./TablePlot.js":"./src/js/components/TablePlot.js","./TablePlotActions":"./src/js/components/TablePlotActions.js","./TablePlotActions.js":"./src/js/components/TablePlotActions.js","./Template":"./src/js/components/Template.js","./Template.js":"./src/js/components/Template.js","./containers/ComponentStack":"./src/js/components/containers/ComponentStack.js","./containers/ComponentStack.js":"./src/js/components/containers/ComponentStack.js","./containers/DataTableWithActions":"./src/js/components/containers/DataTableWithActions.js","./containers/DataTableWithActions.js":"./src/js/components/containers/DataTableWithActions.js","./containers/EmptyTab":"./src/js/components/containers/EmptyTab.js","./containers/EmptyTab.js":"./src/js/components/containers/EmptyTab.js","./containers/ErrorTab":"./src/js/components/containers/ErrorTab.js","./containers/ErrorTab.js":"./src/js/components/containers/ErrorTab.js","./containers/FindGene":"./src/js/components/containers/FindGene.js","./containers/FindGene.js":"./src/js/components/containers/FindGene.js","./containers/FindGeneByNameDesc":"./src/js/components/containers/FindGeneByNameDesc.js","./containers/FindGeneByNameDesc.js":"./src/js/components/containers/FindGeneByNameDesc.js","./containers/FindGeneByRegion":"./src/js/components/containers/FindGeneByRegion.js","./containers/FindGeneByRegion.js":"./src/js/components/containers/FindGeneByRegion.js","./containers/Finder":"./src/js/components/containers/Finder.js","./containers/Finder.js":"./src/js/components/containers/Finder.js","./containers/Gene":"./src/js/components/containers/Gene.js","./containers/Gene.js":"./src/js/components/containers/Gene.js","./containers/GenomeBrowserWithActions":"./src/js/components/containers/GenomeBrowserWithActions.js","./containers/GenomeBrowserWithActions.js":"./src/js/components/containers/GenomeBrowserWithActions.js","./containers/GroupedItemPicker":"./src/js/components/containers/GroupedItemPicker.js","./containers/GroupedItemPicker.js":"./src/js/components/containers/GroupedItemPicker.js","./containers/ItemPicker":"./src/js/components/containers/ItemPicker.js","./containers/ItemPicker.js":"./src/js/components/containers/ItemPicker.js","./containers/ListWithActions":"./src/js/components/containers/ListWithActions.js","./containers/ListWithActions.js":"./src/js/components/containers/ListWithActions.js","./containers/PivotTableWithActions":"./src/js/components/containers/PivotTableWithActions.js","./containers/PivotTableWithActions.js":"./src/js/components/containers/PivotTableWithActions.js","./containers/QueryPicker":"./src/js/components/containers/QueryPicker.js","./containers/QueryPicker.js":"./src/js/components/containers/QueryPicker.js","./containers/RecentlyFoundGenes":"./src/js/components/containers/RecentlyFoundGenes.js","./containers/RecentlyFoundGenes.js":"./src/js/components/containers/RecentlyFoundGenes.js","./containers/RecentlyUsedTableQueries":"./src/js/components/containers/RecentlyUsedTableQueries.js","./containers/RecentlyUsedTableQueries.js":"./src/js/components/containers/RecentlyUsedTableQueries.js","./containers/StartTab":"./src/js/components/containers/StartTab.js","./containers/StartTab.js":"./src/js/components/containers/StartTab.js","./containers/StoredTableQueries":"./src/js/components/containers/StoredTableQueries.js","./containers/StoredTableQueries.js":"./src/js/components/containers/StoredTableQueries.js","./containers/TreeContainer":"./src/js/components/containers/TreeContainer.js","./containers/TreeContainer.js":"./src/js/components/containers/TreeContainer.js","./containers/TreeWithActions":"./src/js/components/containers/TreeWithActions.js","./containers/TreeWithActions.js":"./src/js/components/containers/TreeWithActions.js","./panoptes/Anchor":"./src/js/components/panoptes/Anchor.js","./panoptes/Anchor.js":"./src/js/components/panoptes/Anchor.js","./panoptes/ComponentWrapper":"./src/js/components/panoptes/ComponentWrapper.js","./panoptes/ComponentWrapper.js":"./src/js/components/panoptes/ComponentWrapper.js","./panoptes/Content":"./src/js/components/panoptes/Content.js","./panoptes/Content.js":"./src/js/components/panoptes/Content.js","./panoptes/CustomButton":"./src/js/components/panoptes/CustomButton.js","./panoptes/CustomButton.js":"./src/js/components/panoptes/CustomButton.js","./panoptes/DataTableView":"./src/js/components/panoptes/DataTableView.js","./panoptes/DataTableView.js":"./src/js/components/panoptes/DataTableView.js","./panoptes/DocLink":"./src/js/components/panoptes/DocLink.js","./panoptes/DocLink.js":"./src/js/components/panoptes/DocLink.js","./panoptes/DocPage":"./src/js/components/panoptes/DocPage.js","./panoptes/DocPage.js":"./src/js/components/panoptes/DocPage.js","./panoptes/EditDocPage":"./src/js/components/panoptes/EditDocPage.js","./panoptes/EditDocPage.js":"./src/js/components/panoptes/EditDocPage.js","./panoptes/EditYAMLConfig":"./src/js/components/panoptes/EditYAMLConfig.js","./panoptes/EditYAMLConfig.js":"./src/js/components/panoptes/EditYAMLConfig.js","./panoptes/ExternalLinkButton":"./src/js/components/panoptes/ExternalLinkButton.js","./panoptes/ExternalLinkButton.js":"./src/js/components/panoptes/ExternalLinkButton.js","./panoptes/FilterButton":"./src/js/components/panoptes/FilterButton.js","./panoptes/FilterButton.js":"./src/js/components/panoptes/FilterButton.js","./panoptes/GeneSearchResultsList":"./src/js/components/panoptes/GeneSearchResultsList.js","./panoptes/GeneSearchResultsList.js":"./src/js/components/panoptes/GeneSearchResultsList.js","./panoptes/GeoMarker":"./src/js/components/panoptes/GeoMarker.js","./panoptes/GeoMarker.js":"./src/js/components/panoptes/GeoMarker.js","./panoptes/HTMLWithComponents":"./src/js/components/panoptes/HTMLWithComponents.js","./panoptes/HTMLWithComponents.js":"./src/js/components/panoptes/HTMLWithComponents.js","./panoptes/ItemLink":"./src/js/components/panoptes/ItemLink.js","./panoptes/ItemLink.js":"./src/js/components/panoptes/ItemLink.js","./panoptes/ItemTemplate":"./src/js/components/panoptes/ItemTemplate.js","./panoptes/ItemTemplate.js":"./src/js/components/panoptes/ItemTemplate.js","./panoptes/LegendElement":"./src/js/components/panoptes/LegendElement.js","./panoptes/LegendElement.js":"./src/js/components/panoptes/LegendElement.js","./panoptes/ListView":"./src/js/components/panoptes/ListView.js","./panoptes/ListView.js":"./src/js/components/panoptes/ListView.js","./panoptes/PivotTableView":"./src/js/components/panoptes/PivotTableView.js","./panoptes/PivotTableView.js":"./src/js/components/panoptes/PivotTableView.js","./panoptes/PopupButton":"./src/js/components/panoptes/PopupButton.js","./panoptes/PopupButton.js":"./src/js/components/panoptes/PopupButton.js","./panoptes/PropertyCell":"./src/js/components/panoptes/PropertyCell.js","./panoptes/PropertyCell.js":"./src/js/components/panoptes/PropertyCell.js","./panoptes/PropertyHeader":"./src/js/components/panoptes/PropertyHeader.js","./panoptes/PropertyHeader.js":"./src/js/components/panoptes/PropertyHeader.js","./panoptes/PropertyInput":"./src/js/components/panoptes/PropertyInput.js","./panoptes/PropertyInput.js":"./src/js/components/panoptes/PropertyInput.js","./panoptes/PropertyLegend":"./src/js/components/panoptes/PropertyLegend.js","./panoptes/PropertyLegend.js":"./src/js/components/panoptes/PropertyLegend.js","./panoptes/PropertyList":"./src/js/components/panoptes/PropertyList.js","./panoptes/PropertyList.js":"./src/js/components/panoptes/PropertyList.js","./panoptes/PropertyListItem":"./src/js/components/panoptes/PropertyListItem.js","./panoptes/PropertyListItem.js":"./src/js/components/panoptes/PropertyListItem.js","./panoptes/QueryEditor":"./src/js/components/panoptes/QueryEditor.js","./panoptes/QueryEditor.js":"./src/js/components/panoptes/QueryEditor.js","./panoptes/QueryString":"./src/js/components/panoptes/QueryString.js","./panoptes/QueryString.js":"./src/js/components/panoptes/QueryString.js","./panoptes/RandomSubsetSizeSelector":"./src/js/components/panoptes/RandomSubsetSizeSelector.js","./panoptes/RandomSubsetSizeSelector.js":"./src/js/components/panoptes/RandomSubsetSizeSelector.js","./panoptes/RegionGenesList":"./src/js/components/panoptes/RegionGenesList.js","./panoptes/RegionGenesList.js":"./src/js/components/panoptes/RegionGenesList.js","./panoptes/SelectFieldWithNativeFallback":"./src/js/components/panoptes/SelectFieldWithNativeFallback.js","./panoptes/SelectFieldWithNativeFallback.js":"./src/js/components/panoptes/SelectFieldWithNativeFallback.js","./panoptes/SessionComponent":"./src/js/components/panoptes/SessionComponent.js","./panoptes/SessionComponent.js":"./src/js/components/panoptes/SessionComponent.js","./panoptes/TableList":"./src/js/components/panoptes/TableList.js","./panoptes/TableList.js":"./src/js/components/panoptes/TableList.js","./panoptes/Tree":"./src/js/components/panoptes/Tree.js","./panoptes/Tree.js":"./src/js/components/panoptes/Tree.js","./panoptes/ViewList":"./src/js/components/panoptes/ViewList.js","./panoptes/ViewList.js":"./src/js/components/panoptes/ViewList.js","./panoptes/genome/Background":"./src/js/components/panoptes/genome/Background.js","./panoptes/genome/Background.js":"./src/js/components/panoptes/genome/Background.js","./panoptes/genome/Controls":"./src/js/components/panoptes/genome/Controls.js","./panoptes/genome/Controls.js":"./src/js/components/panoptes/genome/Controls.js","./panoptes/genome/GenomeBrowser":"./src/js/components/panoptes/genome/GenomeBrowser.js","./panoptes/genome/GenomeBrowser.js":"./src/js/components/panoptes/genome/GenomeBrowser.js","./panoptes/genome/LoadingIndicator":"./src/js/components/panoptes/genome/LoadingIndicator.js","./panoptes/genome/LoadingIndicator.js":"./src/js/components/panoptes/genome/LoadingIndicator.js","./panoptes/genome/QueryResult":"./src/js/components/panoptes/genome/QueryResult.js","./panoptes/genome/QueryResult.js":"./src/js/components/panoptes/genome/QueryResult.js","./panoptes/genome/tracks/AnnotationChannel":"./src/js/components/panoptes/genome/tracks/AnnotationChannel.js","./panoptes/genome/tracks/AnnotationChannel.js":"./src/js/components/panoptes/genome/tracks/AnnotationChannel.js","./panoptes/genome/tracks/CanvasGroupChannel":"./src/js/components/panoptes/genome/tracks/CanvasGroupChannel.js","./panoptes/genome/tracks/CanvasGroupChannel.js":"./src/js/components/panoptes/genome/tracks/CanvasGroupChannel.js","./panoptes/genome/tracks/CategoricalChannel":"./src/js/components/panoptes/genome/tracks/CategoricalChannel.js","./panoptes/genome/tracks/CategoricalChannel.js":"./src/js/components/panoptes/genome/tracks/CategoricalChannel.js","./panoptes/genome/tracks/ChannelWithConfigDrawer":"./src/js/components/panoptes/genome/tracks/ChannelWithConfigDrawer.js","./panoptes/genome/tracks/ChannelWithConfigDrawer.js":"./src/js/components/panoptes/genome/tracks/ChannelWithConfigDrawer.js","./panoptes/genome/tracks/GenomeScale":"./src/js/components/panoptes/genome/tracks/GenomeScale.js","./panoptes/genome/tracks/GenomeScale.js":"./src/js/components/panoptes/genome/tracks/GenomeScale.js","./panoptes/genome/tracks/GenotypesChannel":"./src/js/components/panoptes/genome/tracks/GenotypesChannel.js","./panoptes/genome/tracks/GenotypesChannel.js":"./src/js/components/panoptes/genome/tracks/GenotypesChannel.js","./panoptes/genome/tracks/GenotypesFan":"./src/js/components/panoptes/genome/tracks/GenotypesFan.js","./panoptes/genome/tracks/GenotypesFan.js":"./src/js/components/panoptes/genome/tracks/GenotypesFan.js","./panoptes/genome/tracks/GenotypesRowHeader":"./src/js/components/panoptes/genome/tracks/GenotypesRowHeader.js","./panoptes/genome/tracks/GenotypesRowHeader.js":"./src/js/components/panoptes/genome/tracks/GenotypesRowHeader.js","./panoptes/genome/tracks/GenotypesTable":"./src/js/components/panoptes/genome/tracks/GenotypesTable.js","./panoptes/genome/tracks/GenotypesTable.js":"./src/js/components/panoptes/genome/tracks/GenotypesTable.js","./panoptes/genome/tracks/NumericalSummaryTrack":"./src/js/components/panoptes/genome/tracks/NumericalSummaryTrack.js","./panoptes/genome/tracks/NumericalSummaryTrack.js":"./src/js/components/panoptes/genome/tracks/NumericalSummaryTrack.js","./panoptes/genome/tracks/NumericalTrackGroupChannel":"./src/js/components/panoptes/genome/tracks/NumericalTrackGroupChannel.js","./panoptes/genome/tracks/NumericalTrackGroupChannel.js":"./src/js/components/panoptes/genome/tracks/NumericalTrackGroupChannel.js","./panoptes/genome/tracks/PerRowIndicatorChannel":"./src/js/components/panoptes/genome/tracks/PerRowIndicatorChannel.js","./panoptes/genome/tracks/PerRowIndicatorChannel.js":"./src/js/components/panoptes/genome/tracks/PerRowIndicatorChannel.js","./panoptes/genome/tracks/PerRowNumericalChannel":"./src/js/components/panoptes/genome/tracks/PerRowNumericalChannel.js","./panoptes/genome/tracks/PerRowNumericalChannel.js":"./src/js/components/panoptes/genome/tracks/PerRowNumericalChannel.js","./panoptes/genome/tracks/ReferenceSequence":"./src/js/components/panoptes/genome/tracks/ReferenceSequence.js","./panoptes/genome/tracks/ReferenceSequence.js":"./src/js/components/panoptes/genome/tracks/ReferenceSequence.js","./panoptes/genome/tracks/ScaledSVGChannel":"./src/js/components/panoptes/genome/tracks/ScaledSVGChannel.js","./panoptes/genome/tracks/ScaledSVGChannel.js":"./src/js/components/panoptes/genome/tracks/ScaledSVGChannel.js","./panoptes/genome/tracks/YScale":"./src/js/components/panoptes/genome/tracks/YScale.js","./panoptes/genome/tracks/YScale.js":"./src/js/components/panoptes/genome/tracks/YScale.js","./ui/Alert":"./src/js/components/ui/Alert.js","./ui/Alert.js":"./src/js/components/ui/Alert.js","./ui/ColourPicker":"./src/js/components/ui/ColourPicker.js","./ui/ColourPicker.js":"./src/js/components/ui/ColourPicker.js","./ui/Confirm":"./src/js/components/ui/Confirm.js","./ui/Confirm.js":"./src/js/components/ui/Confirm.js","./ui/ConfirmButton":"./src/js/components/ui/ConfirmButton.js","./ui/ConfirmButton.js":"./src/js/components/ui/ConfirmButton.js","./ui/Copy":"./src/js/components/ui/Copy.js","./ui/Copy.js":"./src/js/components/ui/Copy.js","./ui/HelloWorld":"./src/js/components/ui/HelloWorld.js","./ui/HelloWorld.js":"./src/js/components/ui/HelloWorld.js","./ui/Icon":"./src/js/components/ui/Icon.js","./ui/Icon.js":"./src/js/components/ui/Icon.js","./ui/Loading":"./src/js/components/ui/Loading.js","./ui/Loading.js":"./src/js/components/ui/Loading.js","./ui/Modal":"./src/js/components/ui/Modal.js","./ui/Modal.js":"./src/js/components/ui/Modal.js","./ui/ModalInput":"./src/js/components/ui/ModalInput.js","./ui/ModalInput.js":"./src/js/components/ui/ModalInput.js","./ui/NumericInput":"./src/js/components/ui/NumericInput.js","./ui/NumericInput.js":"./src/js/components/ui/NumericInput.js","./ui/Pluralise":"./src/js/components/ui/Pluralise.js","./ui/Pluralise.js":"./src/js/components/ui/Pluralise.js","./ui/Popup":"./src/js/components/ui/Popup.js","./ui/Popup.js":"./src/js/components/ui/Popup.js","./ui/Popups":"./src/js/components/ui/Popups.js","./ui/Popups.js":"./src/js/components/ui/Popups.js","./ui/Sidebar":"./src/js/components/ui/Sidebar.js","./ui/Sidebar.js":"./src/js/components/ui/Sidebar.js","./ui/SidebarHeader":"./src/js/components/ui/SidebarHeader.js","./ui/SidebarHeader.js":"./src/js/components/ui/SidebarHeader.js","./ui/TabPane":"./src/js/components/ui/TabPane.js","./ui/TabPane.js":"./src/js/components/ui/TabPane.js","./ui/TabbedArea":"./src/js/components/ui/TabbedArea.js","./ui/TabbedArea.js":"./src/js/components/ui/TabbedArea.js","./ui/ToggleBox":"./src/js/components/ui/ToggleBox.js","./ui/ToggleBox.js":"./src/js/components/ui/ToggleBox.js","./ui/TooltipEllipsis":"./src/js/components/ui/TooltipEllipsis.js","./ui/TooltipEllipsis.js":"./src/js/components/ui/TooltipEllipsis.js","./utils/DetectResize":"./src/js/components/utils/DetectResize.js","./utils/DetectResize.js":"./src/js/components/utils/DetectResize.js","./utils/GeoLayouter":"./src/js/components/utils/GeoLayouter.js","./utils/GeoLayouter.js":"./src/js/components/utils/GeoLayouter.js"};r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id="./src/js/components recursive ^\\.\\/.*$"},"./src/js/components/DataItem.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/util/filterChildren.js"),a=n("./src/js/util/ValidComponentChildren.js"),s=n("./src/js/mixins/PureRenderMixin.js"),l=n("./src/js/mixins/FluxMixin.js"),u=n("./src/js/mixins/ConfigMixin.js"),c=n("./src/js/components/ui/TabbedArea.js"),d=n("./src/js/components/ui/TabPane.js"),p=n("./src/js/components/DataItemActions.js"),f=o.a.createClass({displayName:"DataItem",mixins:[s.a,l.a,u.a],propTypes:{setProps:o.a.PropTypes.func,table:o.a.PropTypes.string.isRequired,primKey:o.a.PropTypes.string.isRequired,activeTab:o.a.PropTypes.string,children:o.a.PropTypes.node},getDefaultProps:function(){return{activeTab:"view_0"}},icon:function(){return this.config.tablesById[this.props.table].icon},title:function(){return this.config.tablesById[this.props.table].capNameSingle+' "'+this.props.primKey+'"'},render:function(){var e=this.props,t=e.table,r=e.primKey,s=e.setProps,l=e.activeTab,u=e.children;return u=n.i(i.a)(this,u),u=u.length>1?a.a.map(u,function(e,n){var i="view_"+n;return o.a.createElement(d.default,{compId:i,key:i},o.a.cloneElement(e,{table:t,primKey:r}))}):a.a.map(u,function(e,n){return o.a.cloneElement(e,{table:t,primKey:r})}),o.a.createElement("div",{className:"vertical stack",style:{position:"absolute"}},o.a.createElement("div",{className:"grow"},u.length>1?o.a.createElement(c.default,{activeTab:l,onSwitch:function(e){return s({activeTab:e})}},u):u[0]),o.a.createElement("div",null,o.a.createElement(p.default,{table:t,primKey:r})))}});t.default=f},"./src/js/components/DataItemActions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/mixins/ConfigMixin.js"),l=n("./src/js/mixins/DataFetcherMixin.js"),u=n("./src/js/util/LRUCache.js"),c=n("./src/js/panoptes/API.js"),d=n("./src/js/components/panoptes/PopupButton.js"),p=n("./src/js/components/panoptes/ExternalLinkButton.js"),f=n("./node_modules/lodash/forEach.js"),h=n.n(f),m=n("./src/js/panoptes/ErrorReporter.js"),g=n("./src/js/components/containers/GenomeBrowserWithActions.js"),y=n("./src/js/components/containers/TreeWithActions.js"),v=n("./src/js/components/panoptes/genome/tracks/PerRowIndicatorChannel.js"),b=n("./node_modules/lodash/map.js"),_=n.n(b),A=Object.assign||function(e){for(var t=1;t2){var y=g[1].x1-g[1].x0;g[0].x0=g[0].x1-y,g[g.length-1].x1=g[g.length-1].x0+y}var v=n.i(i.b)().domain([g[0].x0,g[g.length-1].x1]).range([0,r]),b=n.i(i.b)().domain([0,l()(g,function(e){return e.length}).length]).range([0,s]);return o.a.createElement("svg",{style:{top:-s/2+"px",left:-r/2+"px"},className:"panoptes-histogram"},o.a.createElement("rect",{className:"panoptes-histogram-bg",x:v.range()[0]-1,y:-1,width:1+v.range()[1]-v.range()[0],height:s+1}),g.map(function(e,t){var n=e.x0,r=e.length,i=e.x1-e.x0;if(isNaN(n)||isNaN(i)||isNaN(r))return null;var a=f((e.x0+e.x1)/2);return o.a.createElement(c.default,{x:v(n),y:s-b(r),key:t,width:v(i)-v(0),height:b(r),fill:a,title:r+" "+(r>1?d:u)+" with "+p+" between "+n.toFixed(2)+" and "+(n+i).toFixed(2)})}),o.a.createElement("line",{className:"panoptes-histogram-axes",x1:v.range()[0]+1,x2:v.range()[0]+1,y1:s,y2:0}),o.a.createElement("line",{className:"panoptes-histogram-axes",x1:v.range()[0],x2:v.range()[1],y1:s,y2:s}))}});t.default=d},"./src/js/components/HistogramBin.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=o.a.createClass({displayName:"HistogramBin",mixins:[i.a],propTypes:{x:o.a.PropTypes.number.isRequired,y:o.a.PropTypes.number.isRequired,width:o.a.PropTypes.number.isRequired,height:o.a.PropTypes.number.isRequired,title:o.a.PropTypes.string,fill:o.a.PropTypes.string},getDefaultProps:function(){return{fill:"#3d8bd5"}},render:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,a=e.fill,s=e.title;return o.a.createElement("rect",{x:t,y:n,width:r,height:i,fill:a},o.a.createElement("title",null,s))}});t.default=a},"./src/js/components/Map/BaseLayer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/mixins/FluxMixin.js")),s=n("./src/js/util/filterChildren.js"),l=["TileLayer","FeatureGroup"],u=o.a.createClass({displayName:"BaseLayer",mixins:[a.a],contextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},propTypes:{addBaseLayer:o.a.PropTypes.func,checked:o.a.PropTypes.bool,children:o.a.PropTypes.node,layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object,name:o.a.PropTypes.string,removeLayer:o.a.PropTypes.func,removeLayerControl:o.a.PropTypes.func},childContextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},getDefaultProps:function(){return{name:"Base layer"}},render:function(){var e=this.props,t=e.addBaseLayer,r=e.checked,a=e.children,u=e.name,c=e.removeLayer,d=e.removeLayerControl;return a=n.i(s.a)(this,a,l),a&&(a=o.a.Children.only(a)),o.a.createElement(i.LayersControl.BaseLayer,{addBaseLayer:t,checked:r,children:a,name:u,removeLayer:c,removeLayerControl:d})}});t.default=u},"./src/js/components/Map/Circle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/mixins/FluxMixin.js")),s=o.a.createClass({displayName:"Circle",mixins:[a.a],propTypes:{center:o.a.PropTypes.object,radius:o.a.PropTypes.number},render:function(){var e=this.props,t=e.center,n=e.radius;return o.a.createElement(i.CircleMarker,{children:null,center:t,radius:n})}});t.default=s},"./src/js/components/Map/ComponentMarker.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/components/Map/DivIcon.js"),a=n("./src/js/mixins/FluxMixin.js"),s=o.a.createClass({displayName:"ComponentMarker",mixins:[a.a],contextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},propTypes:{children:o.a.PropTypes.node,onClick:o.a.PropTypes.func,position:o.a.PropTypes.object,title:o.a.PropTypes.string,alt:o.a.PropTypes.string,layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object,opacity:o.a.PropTypes.number,zIndexOffset:o.a.PropTypes.number,fillColour:o.a.PropTypes.string,iconColour:o.a.PropTypes.string},childContextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},getDefaultProps:function(){return{fillColour:"#ff4081",iconColour:"white"}},handleClick:function(e){this.props.onClick(e)},render:function(){var e=this,t=this.props,n=t.alt,r=t.children,a=t.fillColour,s=t.iconColour,l=t.onClick,u=t.opacity,c=t.position,d=t.title,p=t.zIndexOffset;return void 0===n&&void 0!==d&&(n=d),void 0===r&&(r=o.a.createElement("svg",{style:{overflow:"visible",width:"25px",height:"25px"},viewBox:"0 0 24 24"},o.a.createElement("g",{transform:"translate(-6, -14)"},o.a.createElement("g",{transform:"scale(0.4) translate(18, 10)"},o.a.createElement("path",{fill:s,d:"M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"})),o.a.createElement("path",{fill:a,d:"M12,11.5A2.5,2.5 0 0,1 9.5,9A2.5,2.5 0 0,1 12,6.5A2.5,2.5 0 0,1 14.5,9A2.5,2.5 0 0,1 12,11.5M12,2A7,7 0 0,0 5,9C5,14.25 12,22 12,22C12,22 19,14.25 19,9A7,7 0 0,0 12,2Z",stroke:"black",strokeWidth:"1"})))),o.a.createElement(i.default,{alt:n,className:null,onClick:function(t){return l(t,e)},opacity:u,position:c,title:d,iconSize:0,zIndexOffset:p},o.a.Children.only(r))}});t.default=s},"./src/js/components/Map/DivIcon.js":function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=n("./node_modules/react/react.js"),l=(n.n(s),n("./node_modules/react-dom/index.js")),u=(n.n(l),n("./node_modules/leaflet/dist/leaflet-src.js")),c=(n.n(u),n("./node_modules/react-leaflet/lib/index.js")),d=(n.n(c),Object.assign||function(e){for(var t=1;t0)for(var n=0,r=this.customControls.length;nn&&console.warn("Zooming beyond maxZoom:"+o+">"+n),v()(r,this.props.center)&&o===this.props.zoom||(void 0!==this.props.onChange&&this.props.onChange({center:this.map.leafletElement.getCenter(),zoom:this.map.leafletElement.getZoom()}),void 0!==this.props.setProps&&this.props.setProps({center:r,zoom:o}))}},title:function(){return this.props.title||"Map"},render:function(){var e=this,t=this.props,o=t.center,a=t.children,l=t.zoom;a=n.i(u.a)(this,a,T);var f=this.state,m=f.bounds,y=f.loadStatus;void 0===m&&void 0===o&&(o={lat:0,lng:0}),void 0===m&&void 0===l&&(l=2);var v={bounds:o&&void 0!==l?void 0:m,center:o,loadingControl:!0,onMoveEnd:function(t){return e.handleMapMoveEnd(t)},style:{height:"100%"},ref:function(t){return e.map=t},zoom:l,zoomAnimation:!1},b=null;if(a&&a.length){var A=0,x=a;1===a.length&&void 0!==a[0].type&&"FeatureGroup"===a[0].type.displayName&&(x=a[0].props.children);for(var j=0,w=x.length;jr.maxZoom&&(o=r.maxZoom),this.props.zoom0&&(m=Math.sqrt(.15/(d/u))),this.lastLengthRatio=m,w()(a,function(e){return e.radius=e.originalRadius*m}),a.length?o.a.createElement(h.default,{nodes:a},function(t){return o.a.createElement(p.default,{layerContainer:r,map:i},t.map(function(t,r){return o.a.createElement(c.default,{key:r,position:{lat:t.lat,lng:t.lng},onClick:function(n){return e.handleClickMarker(n,t)}},o.a.createElement(g.default,{chartData:t.chartData,crs:n,key:r,lat:t.lat,lng:t.lng,name:t.name,originalLat:t.lat,originalLng:t.lng,radius:t.radius}))}).concat(t.map(function(e,t){return o.a.createElement(f.default,{className:"panoptes-pie-chart-markers-layer-polyline",positions:[[e.lat,e.lng],[e.fixedNode.lat,e.fixedNode.lng]]})})))}):null}});t.default=S},"./src/js/components/Map/Polyline.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/mixins/FluxMixin.js")),s=o.a.createClass({displayName:"Polyline",mixins:[a.a],propTypes:{positions:o.a.PropTypes.array},render:function(){return o.a.createElement(i.Polyline,this.props)}});t.default=s},"./src/js/components/Map/Popup.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/util/filterChildren.js")),s=n("./src/js/mixins/FluxMixin.js"),l=o.a.createClass({displayName:"MapPopup",mixins:[s.a],contextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},propTypes:{children:o.a.PropTypes.node,layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},childContextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},render:function(){var e=n.i(a.a)(this,this.props.children);return o.a.createElement(i.Popup,{children:o.a.Children.only(e)})}});t.default=l},"./src/js/components/Map/Rectangle.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/mixins/FluxMixin.js")),s=o.a.createClass({displayName:"Rectangle",mixins:[a.a],propTypes:{bounds:o.a.PropTypes.array},render:function(){return o.a.createElement(i.Rectangle,{bounds:this.props.bounds})}});t.default=s},"./src/js/components/Map/Table.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/ConfigMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/components/Map/Map.js"),l=n("./src/js/panoptes/SQL.js"),u=n("./src/js/components/Map/TileLayer.js"),c=n("./src/js/components/Map/TableMarkersLayer.js"),d=o.a.createClass({displayName:"TableMap",mixins:[i.a,a.a],propTypes:{center:o.a.PropTypes.object,customControls:o.a.PropTypes.array,highlight:o.a.PropTypes.string,markerColourProperty:o.a.PropTypes.string,onChange:o.a.PropTypes.func,primKey:o.a.PropTypes.string,query:o.a.PropTypes.string,setProps:o.a.PropTypes.func,table:o.a.PropTypes.string,title:o.a.PropTypes.string,zoom:o.a.PropTypes.number},title:function(){return this.props.title||"Table Map"},getDefinedQuery:function(e,t){return e||this.props.query||(t||this.props.table?this.config.tablesById[t||this.props.table].defaultQuery:null)||l.a.nullQuery},render:function(){var e=this.props,t=e.center,n=e.customControls,r=e.highlight,i=e.markerColourProperty,a=e.onChange,l=e.primKey,d=e.setProps,p=e.table,f=e.zoom;return void 0===this.config.tablesById[p]?(console.error("locationTableConfig === undefined"),null):o.a.createElement(s.default,{center:t,customControls:n,setProps:d,onChange:a,style:{height:"100%"},zoom:f},o.a.createElement(u.default,null),o.a.createElement(c.default,{highlight:r,table:p,primKey:l,query:this.getDefinedQuery(),markerColourProperty:i}))}});t.default=d},"./src/js/components/Map/TableMarkersLayer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/ConfigMixin.js"),a=n("./src/js/mixins/DataFetcherMixin.js"),s=n("./src/js/mixins/FluxMixin.js"),l=n("./node_modules/lodash/isEmpty.js"),u=n.n(l),c=n("./node_modules/lodash/sum.js"),d=n.n(c),p=n("./node_modules/lodash/filter.js"),f=n.n(p),h=n("./node_modules/lodash/map.js"),m=n.n(h),g=n("./node_modules/lodash/forEach.js"),y=n.n(g),v=n("./node_modules/lodash/size.js"),b=n.n(v),_=n("./src/js/panoptes/API.js"),A=n("./src/js/util/CalcMapBounds.js"),x=n("./src/js/components/Map/ComponentMarker.js"),j=n("./src/js/panoptes/ErrorReporter.js"),w=n("./src/js/components/Map/FeatureGroup.js"),C=n("./src/js/util/LRUCache.js"),E=n("./src/js/panoptes/SQL.js"),k=n("./src/js/util/Colours.js"),T=n("./src/js/components/utils/GeoLayouter.js"),S=n("./src/js/components/Map/Polyline.js"),P=n("./src/js/components/PieChart.js"),M=n("./src/js/components/containers/DataTableWithActions.js"),D=n("./src/js/components/containers/ListWithActions.js"),O=n("./src/js/components/Histogram.js"),I=Object.assign||function(e){for(var t=1;tg?x:g;var C=parseFloat(e[y][s.latitude]),E=parseFloat(e[y][s.longitude]),T=e[y][s.latitude]+"_"+e[y][s.longitude],S={isHighlighted:b,table:a,lat:C,lng:E,primKey:v,title:v,valueAsColour:_,value:x,latProperty:s.latitude,lngProperty:s.longitude,originalLat:C,originalLng:E};t.push({lat:C,lng:E}),T in i||(i[T]=[]),i[T].push(S)}r.setState({markersGroupedByLocation:i,minValue:m,maxValue:g}),u({loadStatus:"loaded",bounds:A.a.calcMapBounds(t)})}).catch(_.a.filterAborted).catch(C.a.filterCancelled).catch(function(t){n.i(j.a)(r.getFlux(),t.message,function(){return r.fetchData(e)}),u({loadStatus:"error"})})},render:function(){var e=this,t=this.context,r=t.crs,i=t.layerContainer,a=t.map,s=this.props,l=s.markerColourProperty,c=s.table,p=this.state,h=p.markersGroupedByLocation,g=p.minValue,v=p.maxValue;if(u()(h))return null;var _=!1,A=!1;void 0!==l&&null!==l&&(_=this.config.tablesById[c].propertiesById[l].isNumerical,A=this.config.tablesById[c].propertiesById[l].isCategorical);var j=[],C=[],E=Object.keys(h).length,M=b()(h);for(var D in h){var I=h[D].length;if(1===I)!function(){var t=h[D][0];if(t.isHighlighted||1===E&&1===I&&void 0===l)j.push(o.a.createElement(x.default,{key:D,position:{lat:t.lat,lng:t.lng},title:t.title,onClick:function(n){return e.handleClickSingleMarker(n,{table:t.table,primKey:t.primKey})},zIndexOffset:2*M,fillColour:t.valueAsColour!==L?t.valueAsColour:void 0}));else{var n=t.title;void 0!==l&&null!==l&&(void 0!==t.value&&(n=e.config.tablesById[c].propertiesById[l].name+": "+t.value),l!==e.config.tablesById[c].primKey&&(n=e.config.tablesById[c].propertiesById[e.config.tablesById[c].primKey].name+": "+t.primKey+"\n"+n)),j.push(o.a.createElement(x.default,{key:n,position:{lat:t.lat,lng:t.lng},title:n,onClick:function(n){return e.handleClickSingleMarker(n,{table:t.table,primKey:t.primKey})},zIndexOffset:M},o.a.createElement("svg",{height:"12",width:"12"},o.a.createElement("circle",{cx:"6",cy:"6",r:"5",stroke:"#1E1E1E",strokeWidth:"1",fill:t.valueAsColour}))))}}();else{for(var R={},B=0,z=h[D].length;B0){var K=a.getSize(),Y=a.getBounds(),Q=K.x*K.y,X=d()(m()(f()(C,function(e){var t=e.lat,n=e.lng;return Y.contains([t,n])}),function(e){return e.originalRadius*e.originalRadius*2*Math.PI})),Z=this.lastLengthRatio||1;return X>0&&(Z=Math.sqrt(.15/(X/Q))),this.lastLengthRatio=Z,y()(C,function(e){return e.radius=e.originalRadius*Z}),o.a.createElement(w.default,{layerContainer:i,map:a},o.a.createElement(T.default,{nodes:C},function(t){return o.a.createElement(w.default,null,t.map(function(t,n){var i=t.radius>N?t.radius:N,a=o.a.createElement("svg",{style:{overflow:"visible"},width:i,height:i},o.a.createElement("g",{className:"panoptes-cluster-bubble",style:{fill:t.valueAsColour}},o.a.createElement("title",null,t.title),o.a.createElement("circle",{cx:"0",cy:"0",r:i}),o.a.createElement("text",{x:"0",y:"0",textAnchor:"middle",alignmentBaseline:"middle",fontSize:"10"},t.count)));if("pieChart"===t.clusterType)a=o.a.createElement(P.default,{chartData:t.chartData,crs:r,hideValues:!0,lat:t.lat,lng:t.lng,originalLat:t.originalLat,originalLng:t.originalLng,radius:t.radius,faceText:t.count});else if("histogram"===t.clusterType){var s=2*Math.sqrt(Math.pow(t.radius,2)/2);a=o.a.createElement(O.default,{chartData:t.chartData,width:s,height:s,radius:t.radius,lat:t.lat,lng:t.lng,originalLat:t.originalLat,originalLng:t.originalLng,unitNameSingle:e.config.tablesById[c].nameSingle,unitNamePlural:e.config.tablesById[c].namePlural,valueName:e.config.tablesById[c].propertiesById[l].name,colourScaleFunction:t.colourScaleFunction,minValue:g,maxValue:v})}var u={table:t.table,originalLat:t.originalLat,originalLng:t.originalLng,latProperty:t.latProperty,lngProperty:t.lngProperty};return o.a.createElement(x.default,{key:"ComponentMarker_"+n,position:{lat:t.lat,lng:t.lng},onClick:function(t){return e.handleClickClusterMarker(t,u)},zIndexOffset:0},a)}).concat(t.map(function(e,t){return o.a.createElement(S.default,{className:"panoptes-table-markers-layer-polyline",key:"Polyline_"+t,positions:[[e.lat,e.lng],[e.fixedNode.lat,e.fixedNode.lng]]})})))}),o.a.createElement(w.default,{children:j}))}return o.a.createElement(w.default,{children:j,layerContainer:i,map:a})}});t.default=B},"./src/js/components/Map/TileLayer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/mixins/FluxMixin.js")),s=Object.assign||function(e){for(var t=1;tOpenStreetMap
contributors',ext:"png",maxZoom:17,minZoom:0,url:location.protocol+"//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}},render:function(){var e=this.props,t=e.attribution,n=e.bounds,r=e.ext,a=e.format,l=e.maxNativeZoom,u=e.maxZoom,c=e.minZoom,d=e.opacity,p=e.tms,f=e.url,h=e.variant,m=e.zIndex,g={};return void 0!==l&&(g.maxNativeZoom=l),o.a.createElement(i.TileLayer,s({},g,{attribution:t,bounds:n,children:void 0,detectRetinea:"true",ext:r,format:a,key:JSON.stringify({attribution:t,maxNativeZoom:l,maxZoom:u,minZoom:c,variant:h}),maxZoom:u,minZoom:c,opacity:d,reuseTiles:"true",tms:p,url:f,variant:h,zIndex:m}))}});t.default=l},"./src/js/components/Map/WMSTileLayer.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-leaflet/lib/index.js"),a=(n.n(i),n("./src/js/mixins/FluxMixin.js")),s=o.a.createClass({displayName:"WMSTileLayer",mixins:[a.a],contextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},propTypes:{attribution:o.a.PropTypes.string,format:o.a.PropTypes.string,layerContainer:o.a.PropTypes.object,layers:o.a.PropTypes.string,map:o.a.PropTypes.object,transparent:o.a.PropTypes.bool,url:o.a.PropTypes.string.isRequired,version:o.a.PropTypes.string},childContextTypes:{layerContainer:o.a.PropTypes.object,map:o.a.PropTypes.object},getChildContext:function(){return{layerContainer:void 0!==this.props.layerContainer?this.props.layerContainer:this.context.layerContainer,map:void 0!==this.props.map?this.props.map:this.context.map}},getDefaultProps:function(){return{attribution:"Weather data © 2012 IEM Nexrad",format:"image/png",layers:"nexrad-n0r-900913",transparent:!0,url:"http://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r.cgi"}},render:function(){var e=this.props,t=e.attribution,n=e.format,r=e.layers,a=e.transparent,s=e.url;return o.a.createElement(i.WMSTileLayer,{attribution:t,children:void 0,format:n,layers:r,transparent:a,url:s})}});t.default=s},"./src/js/components/Overview.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/lodash/cloneDeep.js"),a=n.n(i),s=n("./node_modules/lodash/map.js"),l=n.n(s),u=n("./src/js/mixins/PureRenderMixin.js"),c=n("./src/js/mixins/FluxMixin.js"),d=n("./src/js/mixins/ConfigMixin.js"),p=n("./src/js/mixins/DataFetcherMixin.js"),f=n("./src/js/util/LRUCache.js"),h=n("./src/js/panoptes/API.js"),m=n("./src/js/components/panoptes/PropertyList.js"),g=n("./src/js/panoptes/ErrorReporter.js"),y=n("./src/js/components/ui/Loading.js"),v=Object.assign||function(e){for(var t=1;t0){this.setState({loadStatus:"loading"});var h={database:this.config.dataset,table:c.id,columns:f,query:this.getDefinedQuery(i,o),transpose:!1};void 0!==s&&(h.randomSample=s),t.request(function(e){return b.a.get("query"+JSON.stringify(h),function(e){return _.a.query(T({cancellation:e},h))},e)}).then(function(e){var t={},i={},a=function(a){if(null!==u[a]){var s=r.tableConfig().propertiesById[u[a]],l=s.id,c=s.colour,d=s.description,p=s.name,f=s.isCategorical,h=s.isNumerical,m=n.i(w.b)(r.config.tablesById[o].propertiesById[u[a]]),g=function(e){return n.i(C.a)(r.tableConfig().propertiesById[u[a]],e)};t[a]=e[u[a]],i[a]={id:l,colour:c,description:d,name:p,isCategorical:f,isNumerical:h,colourFunction:m,formatterFunction:g}}};for(var s in u)a(s);r.setState({dimensionData:t,dimensionMetadata:i,loadStatus:"loaded"})}).catch(function(t){n.i(x.a)(r.getFlux(),t.message,function(){return r.fetchData(e)}),r.setState({loadStatus:"error"})})}else this.setState({dimensionData:{},dimensionMetadata:{},loadStatus:"loaded"})},render:function(){var e=this.props,t=e.plotType,r=e.table,i=n.i(E.a)({query:this.getDefinedQuery(),properties:this.config.tablesById[r].properties}),a=this.tableConfig().capNamePlural+(this.getDefinedQuery()!==A.a.nullQuery?" where "+i:"");return o.a.createElement("div",{className:"plot-container"},t?o.a.createElement(f.default,{className:"plot",plotType:t,dimensionData:this.state.dimensionData,dimensionMetadata:this.state.dimensionMetadata,title:a}):null,o.a.createElement(v.default,{status:this.state.loadStatus}))}});t.default=S},"./src/js/components/TablePlotActions.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./node_modules/title-case/title-case.js"),s=n.n(a),l=n("./node_modules/scrollbar-size/scrollbar-size.js"),u=n.n(l),c=n("./src/js/components/ui/Sidebar.js"),d=n("./node_modules/lodash/map.js"),p=n.n(d),f=n("./node_modules/lodash/reduce.js"),h=n.n(f),m=n("./node_modules/lodash/pickBy.js"),g=n.n(m),y=n("./src/js/mixins/PureRenderMixin.js"),v=n("./src/js/mixins/ConfigMixin.js"),b=n("./src/js/mixins/FluxMixin.js"),_=n("./node_modules/material-ui/SelectField/index.js"),A=n.n(_),x=n("./node_modules/material-ui/MenuItem/index.js"),j=n.n(x),w=n("./src/js/components/ui/SidebarHeader.js"),C=n("./src/js/components/ui/Icon.js"),E=n("./src/js/panoptes/PropertySelector.js"),k=n("./src/js/panoptes/SQL.js"),T=n("./src/js/components/TablePlot.js"),S=n("./src/js/components/panoptes/QueryString.js"),P=n("./src/js/panoptes/plotTypes.js"),M=n("./src/js/components/panoptes/SelectFieldWithNativeFallback.js"),D=n("./src/js/components/panoptes/FilterButton.js"),O=n("./src/js/components/panoptes/RandomSubsetSizeSelector.js"),I=n("./src/styles/plot.scss"),R=(n.n(I),Object.assign||function(e){for(var t=1;t0&&(e.propertyGroups[n]=c()(t),e.propertyGroups[n].properties=h()(r,function(e){return{id:e.id,name:e.name,description:e.description,icon:e.icon}}))})},componentDidUpdate:function(e,t){this.state.searchOpen&&""===this.props.searchText&&this.refs.searchField.focus()},icon:function(){return this.tableConfig().icon},title:function(){return this.props.title||this.tableConfig().capNamePlural},handleQueryPick:function(e){this.props.setProps({query:e})},handleColumnChange:function(e){this.getFlux().actions.session.modalClose(),this.props.setProps(function(t){return t.set("columns",e)})},handleColumnResize:function(e,t){this.props.setProps({columnWidths:r({},e,t)})},handleOrderChange:function(e){this.props.setProps(function(t){return t.set("order",e)})},handleFetchedRowsCountChange:function(e){this.setState({fetchedRowsCount:e})},handleShowableRowsCountChange:function(e){this.setState({showableRowsCount:e})},handleTotalRowsCountChange:function(e){this.setState({totalRowsCount:e})},handleNextPage:function(){void 0!==this.props.maxRowsPerPage?this.setState({startRowIndex:this.state.startRowIndex+this.props.maxRowsPerPage}):this.setState({startRowIndex:this.state.startRowIndex+this.state.showableRowsCount})},handlePreviousPage:function(){var e=void 0;e=void 0!==this.props.maxRowsPerPage?this.state.startRowIndex-this.props.maxRowsPerPage:this.state.startRowIndex-this.state.showableRowsCount,e<0&&(e=0),this.setState({startRowIndex:e})},handleFirstPage:function(){this.setState({startRowIndex:0})},handleLastPage:function(){void 0!==this.props.maxRowsPerPage?this.setState({startRowIndex:this.state.totalRowsCount-this.props.maxRowsPerPage}):this.setState({startRowIndex:this.state.totalRowsCount-this.state.showableRowsCount})},handleDownload:function(){n.i(F.a)({dataset:this.config.dataset,table:this.props.table,tableConfig:this.tableConfig(),rowsCount:this.state.totalRowsCount,onLimitBreach:this.handleDownloadLimitBreach,query:this.getDefinedQuery(),columns:this.props.columns,order:this.props.order})},handleDownloadLimitBreach:function(e){var t=e.totalDataPoints,n=e.maxDataPoints,r="You have asked to download "+t+" data points, which is more than our current limit of "+n+". Please use a stricter filter or fewer columns, or contact us directly.";this.getFlux().actions.session.modalOpen(i.a.createElement(O.default,{title:"Warning",message:r}))},handleSearchOpen:function(){this.setState({searchOpen:!0})},handleSearchChange:function(e){this.props.setProps({searchText:e.target.value})},handleSearchBlur:function(e){""===e.target.value&&this.setState({searchOpen:!1})},getDefinedQuery:function(e,t){return e||this.props.query||(t||this.props.table?this.config.tablesById[t||this.props.table].defaultQuery:null)||L.a.nullQuery},createDataTableQuery:function(){var e=this.props.searchText,t=this.getDefinedQuery();if(""!==e){for(var n=null,r=0,o=this.tableConfig().quickFindFields.length;rn,primary:!0,icon:o.a.createElement(d.default,{fixedWidth:!0,name:"search",inverse:!0}),onClick:this.handleFind})),o.a.createElement("td",{className:"table-col-cell"})))),m)}});t.default=h},"./src/js/components/containers/Finder.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/mixins/ConfigMixin.js"),l=n("./node_modules/material-ui/List/index.js"),u=(n.n(l),n("./src/js/components/ui/Icon.js")),c=n("./node_modules/lodash/forEach.js"),d=n.n(c),p=n("./src/js/components/containers/DataTableWithActions.js"),f=n("./src/js/components/containers/ListWithActions.js"),h=n("./src/js/components/containers/FindGene.js"),m=o.a.createClass({displayName:"Finder",mixins:[i.a,a.a,s.a],propTypes:{icon:o.a.PropTypes.string,title:o.a.PropTypes.string},getDefaultProps:function(){return{title:"Find",icon:"search"}},icon:function(){return this.props.icon},title:function(){return this.props.title},handleOpenTableTab:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;n||this.getFlux().actions.session.modalClose();var r=!n;this.config.tablesById[t].listView?this.getFlux().actions.session.tabOpen(o.a.createElement(f.default,{table:t,initialSearchFocus:!0}),r):this.getFlux().actions.session.tabOpen(o.a.createElement(p.default,{table:t,initialSearchFocus:!0}),r)},handleOpenPopup:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;n||this.getFlux().actions.session.modalClose();var r=!n;this.getFlux().actions.session.popupOpen(t,r)},render:function(){var e=this,t=[];if(this.config.genome.annotation){var n="Name, Description, Genomic region",r=o.a.createElement(l.ListItem,{key:"findGeneListItem",primaryText:"Gene",secondaryText:n,leftIcon:o.a.createElement("div",null,o.a.createElement(u.default,{fixedWidth:!0,name:"bitmap:genomebrowser.png"})),onClick:function(t){return e.handleOpenPopup(t,o.a.createElement(h.default,null))}});t.push(r)}d()(this.config.visibleTables,function(n){for(var r="",i=0,a=n.quickFindFields.length;i0?o.a.createElement(l.List,{className:"tall-modal",style:{overflow:"auto"}},t):o.a.createElement("div",{className:"centering-container"},"No search wizards available.")}});t.default=m},"./src/js/components/containers/Gene.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/mixins/ConfigMixin.js"),l=n("./src/js/mixins/DataFetcherMixin.js"),u=n("./src/js/panoptes/API.js"),c=n("./src/js/util/LRUCache.js"),d=n("./src/js/panoptes/ErrorReporter.js"),p=n("./src/js/panoptes/SQL.js"),f=n("./src/js/components/panoptes/PopupButton.js"),h=n("./src/js/components/panoptes/ExternalLinkButton.js"),m=n("./src/js/components/panoptes/genome/tracks/ReferenceSequence.js"),g=n("./src/js/components/panoptes/genome/tracks/GenomeScale.js"),y=n("./src/js/components/panoptes/genome/tracks/AnnotationChannel.js"),v=n("./src/js/components/utils/DetectResize.js"),b=n("./src/js/components/containers/ListWithActions.js"),_=n("./src/js/components/containers/DataTableWithActions.js"),A=(n("./src/js/components/containers/GenomeBrowserWithActions.js"),n("./src/js/components/ui/Loading.js")),x=n("./node_modules/material-ui/RaisedButton/index.js"),j=n.n(x),w=n("./src/js/components/ui/Icon.js"),C=n("./node_modules/lodash/forEach.js"),E=n.n(C),k=n("./src/styles/genomebrowser.scss"),T=(n.n(k),Object.assign||function(e){for(var t=1;t=",parseInt(n.fstart)),p.a.WhereClause.CompareFixed(e.position,"<=",parseInt(n.fstop))])):e.isRegionOnGenome&&(t=p.a.WhereClause.encode(p.a.WhereClause.AND([p.a.WhereClause.CompareFixed(e.chromosome,"=",n.chromid),p.a.WhereClause.CompareFixed(e.regionStart,"<=",parseInt(n.fstop)),p.a.WhereClause.CompareFixed(e.regionStop,">=",parseInt(n.fstart))])));var r=o.a.createElement(f.default,{key:e.id,label:"Show "+e.namePlural+" in "+n.fname,icon:e.icon},e.listView?o.a.createElement(b.default,{table:e.id,query:t}):o.a.createElement(_.default,{table:e.id,query:t}));s.push(r)}});for(var l=this.config.genome.externalGeneLinks,u=[],c=0,d=l.length;c=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./node_modules/immutable/dist/immutable.js"),s=n.n(a),l=n("./src/js/mixins/PureRenderMixin.js"),u=n("./src/js/mixins/FluxMixin.js"),c=n("./src/js/mixins/ConfigMixin.js"),d=n("./src/js/util/serialiseComponent.js"),p=n("./node_modules/lodash/map.js"),f=n.n(p),h=n("./node_modules/lodash/forEach.js"),m=n.n(h),g=n("./node_modules/lodash/filter.js"),y=n.n(g),v=n("./node_modules/lodash/isNumber.js"),b=n.n(v),_=n("./node_modules/lodash/head.js"),A=n.n(_),x=n("./node_modules/lodash/keys.js"),j=n.n(x),w=n("./node_modules/lodash/values.js"),C=n.n(w),E=n("./src/js/components/ui/Sidebar.js"),k=n("./node_modules/material-ui/Divider/index.js"),T=n.n(k),S=n("./src/js/components/ui/SidebarHeader.js"),P=n("./src/js/components/ui/Icon.js"),M=n("./src/js/components/panoptes/genome/GenomeBrowser.js"),D=n("./src/js/components/panoptes/genome/tracks/CategoricalChannel.js"),O=n("./src/js/components/panoptes/genome/tracks/NumericalSummaryTrack.js"),I=n("./src/js/components/panoptes/genome/tracks/NumericalTrackGroupChannel.js"),R=n("./src/js/components/panoptes/genome/tracks/GenotypesChannel.js"),L=n("./src/js/components/panoptes/genome/tracks/PerRowIndicatorChannel.js"),F=n("./src/js/components/containers/ItemPicker.js"),N=n("./src/js/components/ui/ModalInput.js"),B=n("./node_modules/material-ui/FlatButton/index.js"),z=n.n(B),H=n("./node_modules/material-ui/List/index.js"),U=(n.n(H),n("./node_modules/material-ui/Subheader/index.js")),W=n.n(U),q=n("./node_modules/material-ui/IconButton/index.js"),V=n.n(q),G=n("./node_modules/scrollbar-size/scrollbar-size.js"),K=n.n(G),Y=n("./src/js/components/containers/ListWithActions.js"),Q=n("./src/js/components/containers/DataTableWithActions.js"),X=n("./src/js/panoptes/SQL.js"),Z=n("./src/js/components/panoptes/genome/tracks/ReferenceSequence.js"),J=n("./src/js/components/panoptes/genome/tracks/AnnotationChannel.js"),$=Object.assign||function(e){for(var t=1;t0?i.a.createElement("span",null," or pick from example channel sets on the sidebar"):null))}}),ne=i.a.createClass({displayName:"AddChannelsButton",mixins:[u.a,c.a],shouldComponentUpdate:function(){return!1},channelGroups:function e(){var e={};if(m()(this.config.tables,function(t){if(t.hasGenomePositions&&!t.isHidden){e[t.id]={name:t.capNamePlural,icon:t.icon};var r={},o="_UNGROUPED_";m()(y()(t.properties,function(e){return e.showInBrowser&&e.id!==t.chromosome&&e.id!==t.position}),function(e){var a=void 0!==e.groupId?e.groupId:o;r.hasOwnProperty(a)||(r[a]={name:t.propertyGroupsById[a].name,items:[]}),e.isCategorical||e.isBoolean?r[a].items.push({name:e.name,description:e.description,icon:e.icon,payload:n.i(d.a)(i.a.createElement(D.default,{table:t.id,track:e.id}))}):e.isNumerical&&r[a].items.push({name:e.name,description:e.description,icon:e.icon,payload:n.i(d.a)(i.a.createElement(I.default,{table:t.id},i.a.createElement(O.default,{table:t.id,track:e.id})))})}),e[t.id].itemGroups=r,e[t.id].itemGroups[o]=e[t.id].itemGroups[o]||{items:[]},e[t.id].itemGroups[o].items.unshift({name:t.capNamePlural,description:"Positions of "+t.namePlural,icon:"caret-up",payload:n.i(d.a)(i.a.createElement(L.default,{table:t.id}))})}}),this.config.twoDTables.length>0){var t="_2D_tables_";e[t]={name:"Genotypes",icon:"bitmap:genomebrowser.png"};var r=f()(y()(this.config.twoDTables,"showInGenomeBrowser"),function(e){return{name:e.namePlural,description:e.description,icon:"table",payload:n.i(d.a)(i.a.createElement(R.default,{table:e.id}))}});e[t].items=C()(r)}return e},handleChannelAdd:function(e){this.getFlux().actions.session.modalClose(),this.props.setProps(function(t){return t.update("children",s.a.List(),function(t){return t.concat(e)})})},render:function(){var e=this,t=this.getFlux().actions;return i.a.createElement(z.a,{label:"Add Channels",primary:!0,icon:i.a.createElement(P.default,{fixedWidth:!0,name:"plus"}),onClick:function(){return t.session.modalOpen(i.a.createElement(F.default,{title:"Pick channels to be added",itemName:"channel",groupName:"group",pickVerb:"add",groups:e.channelGroups(),onPick:e.handleChannelAdd}))}})}}),re=i.a.createClass({displayName:"SidebarContent",mixins:[u.a,c.a],shouldComponentUpdate:function(){return!1},setProps:function(e){this.props.setProps(e)},render:function(){var e=this,t=this.getFlux().actions;return i.a.createElement("div",{className:"sidebar"},i.a.createElement(S.default,{icon:"bitmap:genomebrowser.png",description:"A browser for exploring the reference genome and per-sample data including coverage and mapping qualities."}),i.a.createElement(ne,{setProps:this.setProps}),i.a.createElement(T.a,null),this.config.settings.genomeBrowserChannelSets.length?i.a.createElement(H.List,null,i.a.createElement(W.a,null,"Example channel sets:"),f()(this.config.settings.genomeBrowserChannelSets,function(n,r){var o=n.name,a=n.description,l=n.channels;return i.a.createElement(H.ListItem,{key:r,primaryText:o,secondaryText:a,secondaryTextLines:2,onClick:function(){return e.props.setProps(function(e){return e.set("children",s.a.fromJS(l))})},rightIconButton:e.config.user.isManager?i.a.createElement(V.a,{tooltip:"Delete",onClick:function(n){return t.api.modifyConfig({dataset:e.config.dataset,path:"settings.genomeBrowserChannelSets."+r,action:"delete"})}},i.a.createElement(P.default,{name:"trash-o",inverse:!1})):null})})):null,this.config.user.isManager?i.a.createElement(z.a,{label:"Save channel set",primary:!0,icon:i.a.createElement(P.default,{fixedWidth:!0,name:"floppy-o"}),onClick:function(){return t.session.modalOpen(i.a.createElement(N.default,{inputs:["name","description"],names:["Name","Description"],action:"save",actionIcon:"floppy-o",onCancel:t.session.modalClose,onAction:function(n){var r=n.name,o=n.description;t.api.modifyConfig({dataset:e.config.dataset,path:"settings.genomeBrowserChannelSets",action:"merge",content:[{name:r,description:o,channels:i.a.Children.map(e.props.children,d.a)}]}),t.session.modalClose()}}))}}):null,this.config.user.isManager?i.a.createElement(T.a,null):null,i.a.createElement(W.a,null,"Open tables for:"),f()(this.config.visibleTables,function(t){if(t.hasGenomePositions||t.isRegionOnGenome)return i.a.createElement(z.a,{key:t.id,label:t.namePlural+" in view",primary:!0,icon:i.a.createElement(P.default,{fixedWidth:!0,name:t.icon}),onClick:function(){var n=e.props,r=n.chromosome,o=n.start,a=n.end;o=b()(o)?o:0,a=(b()(a)?a:e.config.chromosomes[r])||1e4,r=r||A()(j()(e.config.chromosomes));var s=null;t.hasGenomePositions?s=X.a.WhereClause.encode(X.a.WhereClause.AND([X.a.WhereClause.CompareFixed(t.chromosome,"=",r),X.a.WhereClause.CompareFixed(t.position,">=",Math.floor(o)),X.a.WhereClause.CompareFixed(t.position,"<=",Math.ceil(a))])):t.isRegionOnGenome&&(s=X.a.WhereClause.encode(X.a.WhereClause.AND([X.a.WhereClause.CompareFixed(t.chromosome,"=",r),X.a.WhereClause.CompareFixed(t.regionStart,"<=",Math.ceil(a)),X.a.WhereClause.CompareFixed(t.regionStop,">=",Math.floor(o))]))),t.listView?e.flux.actions.session.tabOpen(i.a.createElement(Y.default,{table:t.id,query:s}),!0):e.flux.actions.session.tabOpen(i.a.createElement(Q.default,{table:t.id,query:s}),!0)}})}))}});t.default=ee},"./src/js/components/containers/GroupedItemPicker.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./node_modules/classnames/index.js"),s=n.n(a),l=n("./node_modules/react-highlighter/lib/highlighter.js"),u=n.n(l),c=n("./node_modules/material-ui/TextField/index.js"),d=n.n(c),p=n("./node_modules/material-ui/RaisedButton/index.js"),f=n.n(p),h=n("./node_modules/material-ui/List/index.js"),m=(n.n(h),n("./node_modules/lodash/map.js")),g=n.n(m),y=n("./node_modules/lodash/includes.js"),v=n.n(y),b=n("./node_modules/lodash/intersection.js"),_=n.n(b),A=n("./node_modules/lodash/union.js"),x=n.n(A),j=n("./node_modules/lodash/without.js"),w=n.n(j),C=n("./node_modules/lodash/forEach.js"),E=n.n(C),k=n("./node_modules/lodash/sumBy.js"),T=n.n(k),S=n("./node_modules/lodash/filter.js"),P=n.n(S),M=n("./node_modules/lodash/difference.js"),D=n.n(M),O=n("./src/js/components/ui/Icon.js"),I=o.a.createClass({displayName:"GroupedItemPicker",mixins:[i.a],propTypes:{groups:o.a.PropTypes.objectOf(o.a.PropTypes.object),initialPick:o.a.PropTypes.arrayOf(o.a.PropTypes.string),onPick:o.a.PropTypes.func,title:o.a.PropTypes.string},getDefaultProps:function(){return{groups:{},initialPick:[],title:"Pick items"}},getInitialState:function(){return{picked:this.props.initialPick,search:""}},componentWillMount:function(){},icon:function(){return"check-square-o"},title:function(){return this.props.title},handleEnter:function(){this.handlePick()},handleAdd:function(e){v()(this.state.picked,e)?this.setState({picked:w()(this.state.picked,e)}):this.setState({picked:this.state.picked.concat([e])})},handleAddAll:function(e){var t=g()(this.props.groups[e].properties,"id");this.setState({picked:x()(this.state.picked,t)})},handleRemove:function(e){this.setState({picked:w()(this.state.picked,e)})},handleRemoveAll:function(e){var t=g()(this.props.groups[e].properties,"id");this.setState({picked:D()(this.state.picked,t)})},handleSearchChange:function(e){this.setState({search:e.target.value})},handlePick:function(){var e=this,t=[];E()(this.props.groups,function(n){E()(n.properties,function(n){v()(e.state.picked,n.id)&&t.push(n.id)})}),this.props.onPick(t)},render:function(){var e=this,t=this.state,n=t.picked,r=t.search,i=this.props.groups,a=T()(i,function(e){return e.properties.length});return o.a.createElement("div",{className:"large-modal item-picker"},o.a.createElement("div",{className:"horizontal stack"},o.a.createElement("div",{className:"grow stack vertical scroll-within"},o.a.createElement("div",null,o.a.createElement("div",{className:"header"},a," Column",1!=a?"s":null," Available"),o.a.createElement("div",{className:"search"},o.a.createElement(d.a,{autoFocus:!0,floatingLabelText:"Search",value:r,onChange:this.handleSearchChange}))),o.a.createElement("div",{style:{overflow:"auto"}},o.a.createElement(h.List,null,g()(i,function(t){var i=t.id,a=t.name,l=t.properties,c=g()(l,function(t){var i=t.name,a=t.description,l=t.id,c=t.icon;return(i+"#"+(a||"")).toLowerCase().indexOf(r.toLowerCase())>-1?o.a.createElement(h.ListItem,{className:s()({picked:!v()(n,l)}),key:l,primaryText:o.a.createElement("div",null,o.a.createElement(u.a,{search:r},i)),secondaryText:o.a.createElement("div",null,o.a.createElement(u.a,{search:r},a)),leftIcon:o.a.createElement("div",null,o.a.createElement(O.default,{fixedWidth:!0,name:c})),onClick:function(){return e.handleAdd(l)}}):null});return P()(c,function(e){return e}).length>0?o.a.createElement(h.ListItem,{primaryText:a,key:i,initiallyOpen:!0,onClick:function(){return e.handleAddAll(i)},nestedItems:c}):null})))),o.a.createElement("div",{className:"grow stack vertical"},o.a.createElement("div",null,o.a.createElement("div",{className:"header"},n.length?n.length:"No"," Column",1!=n.length?"s":null," Selected")),o.a.createElement("div",{className:"grow scroll-within"},o.a.createElement(h.List,null,g()(i,function(t){var r=t.id,i=t.name,a=t.properties;return _()(n,g()(a,"id")).length>0?o.a.createElement(h.ListItem,{primaryText:i,key:r,initiallyOpen:!0,onClick:function(){return e.handleRemoveAll(r)},nestedItems:g()(a,function(t){var r=t.name,i=t.description,a=t.id,s=t.icon;return v()(n,a)?o.a.createElement(h.ListItem,{key:a,secondaryText:i,primaryText:r,leftIcon:o.a.createElement("div",null,o.a.createElement(O.default,{fixedWidth:!0,name:s})),onClick:function(){return e.handleRemove(a)}}):null})}):null}))),o.a.createElement("div",{className:"centering-container"},o.a.createElement(f.a,{label:"Use",primary:!0,onClick:this.handlePick})))))}});t.default=I},"./src/js/components/containers/ItemPicker.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./node_modules/react-highlighter/lib/highlighter.js"),s=n.n(a),l=n("./src/js/components/ui/Pluralise.js"),u=n("./node_modules/lodash/map.js"),c=n.n(u),d=n("./node_modules/lodash/some.js"),p=n.n(d),f=n("./node_modules/lodash/keys.js"),h=n.n(f),m=n("./node_modules/material-ui/TextField/index.js"),g=n.n(m),y=n("./node_modules/material-ui/RaisedButton/index.js"),v=n.n(y),b=n("./node_modules/material-ui/FlatButton/index.js"),_=n.n(b),A=n("./node_modules/material-ui/List/index.js"),x=(n.n(A),n("./src/js/components/ui/Icon.js")),j=o.a.createClass({displayName:"ItemPicker",mixins:[i.a],propTypes:{itemName:o.a.PropTypes.string,groupName:o.a.PropTypes.string,pickVerb:o.a.PropTypes.string,initialSelection:o.a.PropTypes.arrayOf(o.a.PropTypes.shape({groupId:o.a.PropTypes.string.isRequired,itemGroupId:o.a.PropTypes.string.isRequired,itemId:o.a.PropTypes.string.isRequired,payload:o.a.PropTypes.any})),groups:o.a.PropTypes.objectOf(o.a.PropTypes.shape({name:o.a.PropTypes.string.isRequired,icon:o.a.PropTypes.string,items:o.a.PropTypes.objectOf(o.a.PropTypes.shape({name:o.a.PropTypes.string.isRequired,icon:o.a.PropTypes.string,description:o.a.PropTypes.string,payload:o.a.PropTypes.any})),itemGroups:o.a.PropTypes.objectOf(o.a.PropTypes.shape({name:o.a.PropTypes.string.isRequired,icon:o.a.PropTypes.string,items:o.a.PropTypes.objectOf(o.a.PropTypes.shape({name:o.a.PropTypes.string.isRequired,icon:o.a.PropTypes.string,description:o.a.PropTypes.string,payload:o.a.PropTypes.any}))}))})),onPick:o.a.PropTypes.func.isRequired,icon:o.a.PropTypes.string,title:o.a.PropTypes.string},getDefaultProps:function(){return{title:"Pick item",icon:"check-square-o",itemName:"Item",groupName:"Group",pickVerb:"Pick",initialSelection:[]}},getInitialState:function(){return{picked:this.props.initialSelection,search:""}},componentWillMount:function(){},icon:function(){return this.props.icon},title:function(){return this.props.title},handleEnter:function(){this.handlePick()},handleAdd:function(e){var t=e.groupId,n=e.itemId,r=e.payload,o=e.itemGroupId;this.setState({picked:this.state.picked.concat([{groupId:t,itemId:n,payload:r,itemGroupId:o}])})},handleRemove:function(e){var t=this.state.picked;t.splice(e,1),this.setState({picked:[].concat(t)})},handleRemoveAll:function(){this.setState({picked:[]})},handlePick:function(){var e=this.props.groups;this.props.onPick(c()(this.state.picked,function(t){return t.payload||(t.itemGroupId?e[t.groupId].itemGroups[t.itemGroupId].items[t.itemId].payload:e[t.groupId].items[t.itemId].payload)}))},handleSearchChange:function(e){this.setState({search:e.target.value})},convertItemTolistItem:function(e,t,n,r,i){var a=this,l=e.name,u=e.description,c=e.icon,d=e.payload;return(l+"#"+(u||"")).toLowerCase().indexOf(n.toLowerCase())!==-1?o.a.createElement(A.ListItem,{key:t,primaryText:o.a.createElement("div",null,o.a.createElement(s.a,{search:n},l)),secondaryText:o.a.createElement("div",null,o.a.createElement(s.a,{search:n},u)),leftIcon:c?o.a.createElement(x.default,{fixedWidth:!0,name:c}):null,onClick:function(){return a.handleAdd({groupId:r,itemId:t,payload:d,itemGroupId:i})}}):null},render:function(){var e=this,t=this.state,n=t.picked,r=t.search,i=this.props,a=i.itemName,s=i.pickVerb,u=i.groups,d=(i.groupName,0),f=c()(u,function(t,n){var i=t.name,s=t.icon,f=t.items,m=t.itemGroups,g=[],y=c()(f,function(t,o){return e.convertItemTolistItem(t,o,r,n)});if(d+=y.length,0!==y.length&&g.push(o.a.createElement(A.ListItem,{primaryText:o.a.createElement("div",null," ",i," (",y.length," ",o.a.createElement(l.default,{text:a,ord:y.length}),")"),key:n+!!r,initiallyOpen:!!r,leftIcon:s?o.a.createElement(x.default,{fixedWidth:!0,name:s}):null,primaryTogglesNestedList:!0,nestedItems:y})),m){var v=0,b=[];m._UNGROUPED_&&(b=b.concat(c()(m._UNGROUPED_.items,function(t,o){return e.convertItemTolistItem(t,o,r,n,"_UNGROUPED_")})),v+=b.length),b=b.concat(c()(m,function(t,i){if("_UNGROUPED_"===i)return null;var s=c()(t.items,function(t,o){return e.convertItemTolistItem(t,o,r,n,i)});return v+=s.length,p()(s)?o.a.createElement(A.ListItem,{primaryText:o.a.createElement("div",null," ",t.name," (",s.length," ",o.a.createElement(l.default,{text:a,ord:s.length}),")"),key:n+i+!!r,initiallyOpen:!!r,leftIcon:t.icon?o.a.createElement(x.default,{fixedWidth:!0,name:t.icon}):null,primaryTogglesNestedList:!0,nestedItems:s}):null})),d+=v,0!==b.length&&g.push(o.a.createElement(A.ListItem,{primaryText:o.a.createElement("div",null," ",i," (",v," ",o.a.createElement(l.default,{text:a,ord:v}),")"),key:n+!!r,initiallyOpen:!!r||1===h()(u).length,leftIcon:s?o.a.createElement(x.default,{fixedWidth:!0,name:s}):null,primaryTogglesNestedList:!0,nestedItems:b}))}return g});return o.a.createElement("div",{className:"large-modal item-picker"},o.a.createElement("div",{className:"horizontal stack"},o.a.createElement("div",{className:"grow stack vertical scroll-within"},o.a.createElement("div",null,o.a.createElement("div",{className:"header"},d," ",o.a.createElement(l.default,{text:a,ord:d})," available"),o.a.createElement("div",{className:"search"},o.a.createElement(g.a,{autoFocus:!0,floatingLabelText:"Search",value:r,onChange:this.handleSearchChange}))),o.a.createElement("div",{style:{overflow:"auto"}},o.a.createElement(A.List,null,f))),o.a.createElement("div",{className:"grow stack vertical"},o.a.createElement("div",null,o.a.createElement("div",{className:"header"},n.length?n.length:"No"," ",o.a.createElement(l.default,{text:a,ord:n.length})," to ",s)),o.a.createElement("div",{className:"grow scroll-within"},o.a.createElement(A.List,null,c()(n,function(t,n){var r=t.groupId,i=t.itemGroupId,a=t.itemId,s=u[r].name,l=i?u[r].itemGroups[i].name:"",c=i?u[r].itemGroups[i].items[a]:u[r].items[a],d=c.description,p=c.name,f=c.icon,h=i?s+" - "+l+" - "+p:s+" - "+p;return o.a.createElement(A.ListItem,{key:n,secondaryText:d,primaryText:h,leftIcon:o.a.createElement("div",null,o.a.createElement(x.default,{fixedWidth:!0,name:f})),onClick:function(){return e.handleRemove(n)}})}))),o.a.createElement("div",{className:"centering-container"},o.a.createElement("div",{style:{paddingRight:"10px"}},o.a.createElement(_.a,{label:"Clear",onClick:this.handleRemoveAll})),o.a.createElement(v.a,{label:o.a.createElement("span",null,s+" "+n.length," ",o.a.createElement(l.default,{text:a,ord:n.length})),primary:!0,onClick:this.handlePick})))))}});t.default=j},"./src/js/components/containers/ListWithActions.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/scrollbar-size/scrollbar-size.js"),a=n.n(i),s=n("./src/js/components/ui/Sidebar.js"),l=n("./src/js/mixins/PureRenderWithRedirectedProps.js"),u=n("./src/js/mixins/FluxMixin.js"),c=n("./src/js/mixins/ConfigMixin.js"),d=n("./node_modules/material-ui/TextField/index.js"),p=n.n(d),f=n("./node_modules/material-ui/FlatButton/index.js"),h=n.n(f),m=n("./src/js/components/ui/SidebarHeader.js"),g=n("./src/js/components/ui/Icon.js"),y=n("./src/js/components/ui/Alert.js"),v=n("./src/js/components/panoptes/ListView.js"),b=n("./src/js/components/panoptes/ItemTemplate.js"),_=n("./src/js/components/DataItem.js"),A=n("./src/js/util/DataDownloader.js"),x=n("./src/js/components/panoptes/HTMLWithComponents.js"),j=n("./src/js/panoptes/DataItemViews.js"),w=Object.assign||function(e){for(var t=1;t0){var s=a()(r.toJS(),function(e){var n=e.geneId,r=e.geneDesc;return o.a.createElement(c.ListItem,{key:n,primaryText:n,secondaryText:r,leftIcon:o.a.createElement("div",null,o.a.createElement(f.default,{fixedWidth:!0,name:"bitmap:genomebrowser.png"})),onClick:function(e){return t(e,n,r)}})}),l=void 0;void 0!==n&&(l=o.a.createElement(p.a,null,n)),i=o.a.createElement(c.List,null,l,s)}else i=o.a.createElement(c.List,null,o.a.createElement(p.a,null,"No recently found genes."));return i}});t.default=h},"./src/js/components/containers/RecentlyUsedTableQueries.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/mixins/StoreWatchMixin.js"),l=n("./node_modules/material-ui/List/index.js"),u=(n.n(l),n("./node_modules/material-ui/Subheader/index.js")),c=n.n(u),d=n("./src/js/components/ui/Icon.js"),p=n("./src/js/components/panoptes/QueryString.js"),f=o.a.createClass({displayName:"RecentlyUsedTableQueries",mixins:[i.a,a.a,n.i(s.a)("SessionStore")],propTypes:{table:o.a.PropTypes.string,onClick:o.a.PropTypes.func,onDoubleClick:o.a.PropTypes.func},getStateFromFlux:function(){return{usedTableQueries:this.getFlux().store("SessionStore").getState().get("usedTableQueries")}},getInitialState:function(){return null},handleClick:function(e,t){this.props.onClick(t)},handleDoubleClick:function(e,t){this.props.onDoubleClick(t)},render:function(){var e=this,t=this.props.table,n=this.state.usedTableQueries,r=null;if(n.size>0){for(var i=[],a=function(r,a){var s=n.get(r);if(s.get("table")===t){var u=o.a.createElement(l.ListItem,{key:"usedTableQueriesListItem"+r,primaryText:o.a.createElement("span",{className:"list-string"},o.a.createElement(p.default,{className:"text",table:t,query:s.get("query")})),onClick:function(t){return e.handleClick(t,s.get("query"))},onDoubleClick:function(t){return e.handleDoubleClick(t,s.get("query"))},leftIcon:o.a.createElement(d.default,{fixedWidth:!0,name:"filter"})});i.push(u)}},s=0,u=n.size;s0){this.setState({loadStatus:"loading"});var d=void 0;d=void 0!==u&&u>0?s+u-1:void 0!==c&&c>0?s+c-1:void 0;var p=void 0!==s?100*Math.floor(s/100):void 0,f=void 0!==d?100*(Math.floor(d/100)+1):void 0,h={database:this.config.dataset,table:this.config.tablesById[o].id,columns:i,orderBy:a,query:this.getDefinedQuery(l,o),start:p,stop:f,transpose:!0},m={database:this.config.dataset,table:this.config.tablesById[o].id,query:this.getDefinedQuery(l,o)};t.request(function(e){return Promise.all([k.a.get("query"+JSON.stringify(h),function(e){return E.a.query(L({cancellation:e},h))},e),k.a.get("rowsCount"+JSON.stringify(m),function(e){return E.a.rowsCount(L({cancellation:e},m))},e)])}).then(function(e){var t=R(e,2),n=t[0],o=t[1];void 0!==p&&void 0!==s&&void 0!==d&&(n=n.slice(s-p,d-p+1)),r.setState({loadStatus:"loaded",rows:n,totalRowsCount:o})}).catch(E.a.filterAborted).catch(k.a.filterCancelled).catch(function(e){n.i(T.a)(r.getFlux(),E.a.errorMessage(e),function(){return r.fetchData(r.props)}),r.setState({loadStatus:"error"})})}else this.setState({rows:[]})},handleColumnResize:function(e,t){this.props.onColumnResize&&this.props.onColumnResize(t,e),this.forceUpdate()},handleOrderChange:function(e){var t=this.props.order,n="asc";g()(t,function(t){var r=R(t,2),o=r[0];r[1]===e&&(n={asc:"desc",desc:null}[o])}),t=v()(t,function(t){var n=R(t,2);n[0];return n[1]!==e}),n&&t.push([n,e]),this.props.onOrderChange&&this.props.onOrderChange(t)},handleResize:function(e){this.setState(e),this.setShowableRows(e)},setShowableRows:function(e){this.setState({showableRowsCount:e.height?Math.floor((e.height-B-z)/N):0})},componentDidUpdate:function(e,t){this.props.onShowableRowsCountChange&&t.showableRowsCount!==this.state.showableRowsCount&&(this.forceFetch(),this.props.onShowableRowsCountChange(this.state.showableRowsCount)),this.props.onFetchedRowsCountChange&&t.rows.length!==this.state.rows.length&&this.props.onFetchedRowsCountChange(this.state.rows.length),this.props.onTotalRowsCountChange&&t.totalRowsCount!==this.state.totalRowsCount&&this.props.onTotalRowsCountChange(this.state.totalRowsCount)},calcColumnWidthPx:function(e){var t=this.props.columnWidths;if(t[e])return t[e];var n=this.tableConfig().propertiesById[e];if(n.defaultWidth)return n.defaultWidth;if(H[this.props.table]&&H[this.props.table][e])return H[this.props.table][e];var r=0,o=26+(this.tableConfig().propertiesById[e].description?20:0),i="PropertyHeader_"+n.id,a=document.getElementById(i);if(void 0!==a&&null!==a){var s=a.getElementsByClassName("label")[0],l=window.getComputedStyle(s),u=this.canvas2dContext||(this.canvas2dContext=document.createElement("canvas").getContext("2d"));u.font=l.fontStyle+" "+l.fontWeight+" "+l.fontSize+' "'+l.fontFamily+'"',r=Math.ceil(u.measureText(n.name).width)+o,H[this.props.table]=H[this.props.table]||{},H[this.props.table][e]=r}return r},render:function(){var e=this,t=this.props,n=t.className,r=t.columns,i=t.order,s=this.state,u=s.loadStatus,c=s.rows,d=s.width,f=s.height;return this.tableConfig()?r.length>0?o.a.createElement(I.default,{onResize:this.handleResize},o.a.createElement("div",{className:a()("load-container",n)},o.a.createElement(w.Table,{rowHeight:N,rowsCount:c.length,width:d,height:f,headerHeight:B,onColumnResizeEndCallback:this.handleColumnResize,isColumnResizing:!1},r.map(function(t){if(!e.tableConfig().propertiesById[t])return void console.error("Column "+t+" doesn't exist on "+e.props.table+".");var n=e.tableConfig().propertiesById[t],r=n.id,s=n.isPrimKey,u=n.description,d=n.name,f=h()(i,function(e){var n=R(e,2),r=n[0],o=n[1];return"asc"===r&&o===t}),m=h()(i,function(e){var n=R(e,2),r=n[0],o=n[1];return"desc"===r&&o===t});return o.a.createElement(w.Column,{width:e.calcColumnWidthPx(t),key:r,columnKey:r,fixed:s,allowCellsRecycling:!0,isResizable:!0,minWidth:50,header:o.a.createElement(M.default,{id:"PropertyHeader_"+r,className:a()({pointer:!0,"table-row-header":!0,"sort-column-ascending":f,"sort-column-descending":m}),style:{width:e.calcColumnWidthPx(t)},onClick:function(){return e.handleOrderChange(r)},prefix:f||m?o.a.createElement(O.default,{className:"sort",name:f?"sort-amount-asc":"sort-amount-desc"}):null,name:d,description:u,tooltipPlacement:"bottom",tooltipTrigger:["click"]}),cell:function(i){var a=i.rowIndex,s="inherit",u=n.maxVal,d=n.minVal,f=n.valueColours,h=n.showBar,m=n.alignment,g=c[a][r];if(h&&null!==g&&void 0!==u&&void 0!==d){g=parseFloat(g);var y=100*(g-d)/(u-d);s="linear-gradient(to right, "+(a%2?"rgb(115, 190, 252)":"rgb(150, 207, 253)")+" "+y+"%, rgba(0,0,0,0) "+y+"%"}else if(null!==g&&void 0!==u&&void 0!==d){var v=Math.min(Math.max(parseFloat(g),d),u);s=p()(F).lighten(.58*(1-(v-d)/(u-d))).string()}if(f){var b=f[g]||f._other_;b&&(b=l()(b).lighten(.3),a%2&&b.darken(.1),s=b.string())}return o.a.createElement("div",{className:"table-row-cell",style:{textAlign:m,width:e.calcColumnWidthPx(t),height:N+"px",background:s}},o.a.createElement(P.default,{prop:n,value:g}))}})})),o.a.createElement(D.default,{status:u}))):o.a.createElement("div",{className:a()("load-container",n)},o.a.createElement(D.default,{status:"custom"},"No columns selected")):(console.error("Table "+this.props.table+" doesn't exist'"),null)}});t.default=U},"./src/js/components/panoptes/DocLink.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/components/panoptes/DocPage.js"),a=n("./src/js/mixins/PureRenderMixin.js"),s=n("./src/js/mixins/FluxMixin.js"),l=o.a.createClass({displayName:"DocLink",mixins:[a.a,s.a],propTypes:{children:o.a.PropTypes.node,href:o.a.PropTypes.string,replaceParent:o.a.PropTypes.func},handleClick:function(e){var t=this.props,n=t.href,r=t.replaceParent,a=1==e.button||e.metaKey||e.ctrlKey;e.stopPropagation(),a?this.getFlux().actions.session.tabOpen(o.a.createElement(i.default,{path:n}),!1):r?r(o.a.createElement(i.default,{path:n})):this.getFlux().actions.session.tabOpen(o.a.createElement(i.default,{path:n}),!0)},render:function(){var e=this;return o.a.createElement("a",{onClick:function(t){return e.handleClick(t)}},this.props.children)}});t.default=l},"./src/js/components/panoptes/DocPage.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/panoptes/API.js"),a=n("./src/js/util/LRUCache.js"),s=n("./src/js/panoptes/ErrorReporter.js"),l=n("./src/js/components/panoptes/HTMLWithComponents.js"),u=n("./src/js/components/panoptes/EditDocPage.js"),c=n("./node_modules/htmlparser2/lib/index.js"),d=n.n(c),p=n("./src/js/components/ui/Loading.js"),f=n("./node_modules/material-ui/IconButton/index.js"),h=n.n(f),m=n("./src/js/mixins/ConfigMixin.js"),g=n("./src/js/mixins/PureRenderMixin.js"),y=n("./src/js/mixins/FluxMixin.js"),v=n("./src/js/mixins/DataFetcherMixin.js"),b=o.a.createClass({displayName:"DocPage",mixins:[m.a,g.a,y.a,n.i(v.a)("path")],getInitialState:function(){return{content:"",loadStatus:"loading"}},propTypes:{path:o.a.PropTypes.string,replaceSelf:o.a.PropTypes.func,updateTitleIcon:o.a.PropTypes.func,replaceable:o.a.PropTypes.bool},componentWillMount:function(){this.titleFromHTML="Loading..."},onConfigChange:function(){var e=this,t=this.props.path;this.config.docs[t]&&this.setState({loadStatus:"loaded",content:this.config.docs[t]},function(){return e.componentWillUpdate(e.props,e.state)})},fetchData:function(e,t){var r=this,o=e.path;if(o!==this.props.path&&(this.titleFromHTML="Loading...",this.setState(this.getInitialState())),this.config.docs[o])return void this.setState({loadStatus:"loaded",content:this.config.docs[o]},function(){return r.componentWillUpdate(e,r.state)});var l=this.config.dataset;t.request(function(e){return a.a.get("staticContent"+o,function(e){return i.a.staticContent({cancellation:e,url:"/panoptes/Docs/"+l+"/"+o})},e)}).catch(i.a.filterAborted).catch(a.a.filterCancelled).then(function(e){return r.setState({loadStatus:"loaded",content:e})}).catch(function(e){throw r.setState({loadStatus:"error",content:""}),n.i(s.a)(r.getFlux(),e.message,function(){return r.fetchData(r.props,t)}),console.error(e),e}).done()},componentWillUpdate:function(e,t){var n=!1,r="Untitled",o=new d.a.Parser({onopentag:function(e,t){"title"===e&&(n=!0)},ontext:function(e){n&&(r=e)},onclosetag:function(e){"title"===e&&(n=!1)}},{decodeEntities:!0});o.write(t.content),o.end(),r!==this.titleFromHTML&&(this.titleFromHTML=r,e.updateTitleIcon&&e.updateTitleIcon())},title:function(){return this.titleFromHTML},icon:function(){return"file-text-o"},render:function(){var e=this.props.path,t=this.state,n=t.content,r=t.loadStatus,i=this.props.replaceable?this.props.replaceSelf:void 0,a=this.getFlux().actions;return o.a.createElement("div",{className:"load-container"},o.a.createElement(l.default,{replaceSelf:i},n),this.config.user.isManager?o.a.createElement("div",{className:"docpage-edit"},o.a.createElement(h.a,{tooltip:"Edit",iconClassName:"fa fa-edit",onClick:function(){return a.session.modalOpen(o.a.createElement(u.default,{path:e}))}})):null,o.a.createElement(p.default,{status:r}))}});t.default=b},"./src/js/components/panoptes/EditDocPage.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/ConfigMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/mixins/DataFetcherMixin.js"),l=n("./node_modules/draft-js/lib/Draft.js"),u=(n.n(l),n("./node_modules/draft-js-prism/lib/index.js")),c=n.n(u),d=n("./src/js/panoptes/ErrorReporter.js"),p=n("./src/js/panoptes/API.js"),f=n("./src/js/util/LRUCache.js"),h=n("./src/js/components/ui/Loading.js"),m=n("./node_modules/material-ui/RaisedButton/index.js"),g=n.n(m),y=n("./node_modules/material-ui/FlatButton/index.js"),v=n.n(y),b=n("./src/js/components/ui/Icon.js"),_=n("./node_modules/prismjs/themes/prism.css"),A=(n.n(_),n("./node_modules/draft-js/dist/Draft.css")),x=(n.n(A),new c.a({defaultSyntax:"markup"})),j=o.a.createClass({displayName:"EditDocPage",mixins:[i.a,a.a,n.i(s.a)("path")],getInitialState:function(){return{loadStatus:"loading",editorState:l.EditorState.createEmpty(x),content:""}},propTypes:{path:o.a.PropTypes.string.isRequired},icon:function(){return"edit"},title:function(){return"Editing "+this.props.path},setContent:function(e){var t=n.i(l.convertFromRaw)({entityMap:{},blocks:[{type:"code-block",text:e}]});this.setState({content:e,editorState:l.EditorState.createWithContent(t,x)})},fetchData:function(e,t){var r=this,o=e.path;if(o!==this.loadedPath){if(this.config.docs[o])return this.setState({loadStatus:"loaded"}),void this.setContent(this.config.docs[o]);var i=this.config.dataset;t.request(function(e){return f.a.get("staticContent"+o,function(e){return p.a.staticContent({cancellation:e,url:"/panoptes/Docs/"+i+"/"+o})},e)}).catch(p.a.filterAborted).catch(f.a.filterCancelled).then(function(e){r.setState({loadStatus:"loaded"}),r.setContent(e),r.loadedPath=o}).catch(function(e){throw r.setState({loadStatus:"error"}),r.setContent(""),n.i(d.a)(r.getFlux(),e.message,function(){return r.fetchData(r.props,t)}),console.error(e),e}).done()}},handleChange:function(e){this.setState({editorState:e,content:e.getCurrentContent().getPlainText()})},render:function(){var e=this,t=this.state,n=t.editorState,r=t.content,i=t.loadStatus,a=this.getFlux().actions;return o.a.createElement("div",{className:"large-modal edit-doc-page"},o.a.createElement("div",{className:"load-container vertical stack"},o.a.createElement("div",{className:"editor grow scroll-within"},o.a.createElement(l.Editor,{className:"editor",editorState:n,onChange:this.handleChange,placeholder:"Loading...",ref:"editor"})),o.a.createElement("div",{className:"centering-container"},o.a.createElement(v.a,{label:"Cancel",primary:!1,onClick:function(){return a.session.modalClose()}}),o.a.createElement(g.a,{label:"Save",primary:!0,icon:o.a.createElement(b.default,{fixedWidth:!0,name:"save",inverse:!0}),onClick:function(){e.getFlux().actions.api.modifyConfig({dataset:e.config.dataset,path:"docs."+e.props.path,action:"replace",content:r}),a.session.modalClose()}})),o.a.createElement(h.default,{status:i})))}});t.default=j},"./src/js/components/panoptes/EditYAMLConfig.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/ConfigMixin.js"),s=n("./src/js/mixins/FluxMixin.js"),l=n("./node_modules/draft-js/lib/Draft.js"),u=(n.n(l),n("./node_modules/draft-js-prism/lib/index.js")),c=(n.n(u),n("./node_modules/prismjs/components/prism-yaml.js")),d=(n.n(c),n("./node_modules/prismjs/themes/prism.css")),p=(n.n(d),n("./node_modules/draft-js/dist/Draft.css")),f=(n.n(p),n("./node_modules/material-ui/RaisedButton/index.js")),h=n.n(f),m=n("./node_modules/material-ui/FlatButton/index.js"),g=n.n(m),y=n("./src/js/components/ui/Icon.js"),v=o.a.createClass({displayName:"EditYAMLConfig",mixins:[i.a,s.a,a.a],propTypes:{path:o.a.PropTypes.string.isRequired},getInitialState:function(){return{loadStatus:"loading",editorState:l.EditorState.createEmpty(),content:""}},componentWillMount:function(){var e=this.props.path,t=e.split(".").reduce(function(e,t){return e[t]},this.config)._yaml,r=n.i(l.convertFromRaw)({entityMap:{},blocks:[{type:"code-block",text:t}]});this.setState({content:t,editorState:l.EditorState.createWithContent(r)})},icon:function(){return"edit"},title:function(){return"Editing "+this.props.path+" settings"},handleChange:function(e){this.setState({editorState:e,content:e.getCurrentContent().getPlainText()})},render:function(){var e=this,t=this.state,n=t.editorState,r=t.content,i=this.getFlux().actions,a="LOADING"==this.config.loadStatus;return o.a.createElement("div",{className:"large-modal edit-doc-page"},o.a.createElement("div",{className:"load-container vertical stack"},o.a.createElement("div",{className:"editor grow scroll-within"},o.a.createElement(l.Editor,{className:"editor",editorState:n,onChange:this.handleChange,placeholder:"",ref:"editor"})),o.a.createElement("div",{className:"centering-container"},o.a.createElement(g.a,{label:"Close",primary:!1,onClick:function(){return i.session.modalClose()}}),o.a.createElement(h.a,{label:"Save",primary:!0,disabled:a,icon:o.a.createElement(y.default,{fixedWidth:!0,name:a?"spinner":"save",spin:a,inverse:!0}),onClick:function(){e.getFlux().actions.api.replaceYAMLConfig({dataset:e.config.dataset,path:""+e.props.path,content:r,onSuccess:function(){return i.session.modalClose()}})}}))))}});t.default=v},"./src/js/components/panoptes/ExternalLinkButton.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/components/ui/Icon.js"),s=n("./node_modules/material-ui/RaisedButton/index.js"),l=n.n(s),u=o.a.createClass({displayName:"ExternalLinkButton",mixins:[i.a],propTypes:{label:o.a.PropTypes.string,urls:o.a.PropTypes.array},handleClick:function(e){this.props.urls.forEach(function(e){return window.open(e,"_blank")})},render:function(){var e=this.props.label;return o.a.createElement(l.a,{style:{margin:"7px",color:"white"},label:e,primary:!0,icon:o.a.createElement(a.default,{name:"external-link"}),labelStyle:{textTransform:"inherit"},onClick:this.handleClick})}});t.default=u},"./src/js/components/panoptes/FilterButton.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./node_modules/material-ui/FlatButton/index.js"),s=n.n(a),l=n("./src/js/panoptes/SQL.js"),u=n("./src/js/mixins/FluxMixin.js"),c=n("./src/js/components/ui/Icon.js"),d=n("./src/js/components/containers/QueryPicker.js"),p=o.a.createClass({displayName:"FilterButton",mixins:[i.a,u.a],propTypes:{query:o.a.PropTypes.string,table:o.a.PropTypes.string.isRequired,onPick:o.a.PropTypes.func.isRequired,name:o.a.PropTypes.string},getDefaultProps:function(){return{query:l.a.nullQuery}},handlePick:function(e){this.getFlux().actions.session.modalClose(),this.props.onPick(e)},render:function(){var e=this,t=this.props,n=t.query,r=t.table,i=t.name,a=l.a.WhereClause.decode(n);return o.a.createElement("div",null,o.a.createElement(s.a,{label:a.isTrivial?"Add "+(i||"")+" Filter":"Change "+(i||"")+" Filter",primary:!0,onClick:function(){return e.getFlux().actions.session.modalOpen(o.a.createElement(d.default,{table:r,initialQuery:n,onPick:e.handlePick}))},icon:o.a.createElement(c.default,{fixedWidth:!0,name:"filter"})}),a.isTrivial?null:o.a.createElement(s.a,{label:"Clear "+(i||"")+" Filter",primary:!0,onClick:function(){e.handlePick(l.a.nullQuery)},icon:o.a.createElement("span",{className:"fa-stack"},o.a.createElement(c.default,{style:{position:"absolute",color:"rgb(153, 200, 236)"},name:"filter",stack:"1x"}),o.a.createElement(c.default,{style:{position:"absolute",fontSize:"2em",color:"#2196f3"},name:"ban",stack:"2x"}))}))}});t.default=p},"./src/js/components/panoptes/GeneSearchResultsList.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-highlighter/lib/highlighter.js"),a=n.n(i),s=n("./src/js/mixins/PureRenderMixin.js"),l=n("./src/js/mixins/FluxMixin.js"),u=n("./src/js/mixins/ConfigMixin.js"),c=n("./src/js/mixins/DataFetcherMixin.js"),d=n("./src/js/panoptes/API.js"),p=n("./src/js/panoptes/ErrorReporter.js"),f=n("./src/js/util/LRUCache.js"),h=n("./node_modules/material-ui/List/index.js"),m=(n.n(h),n("./node_modules/material-ui/Subheader/index.js")),g=n.n(m),y=n("./src/js/components/ui/Loading.js"),v=n("./src/js/components/ui/Icon.js"),b=Object.assign||function(e){for(var t=1;t0&&(c=o.a.createElement("span",null,"Found ",u.ids.length," matching genes:"));for(var p=[],f=function(t,i){p.push(o.a.createElement(h.ListItem,{key:u.ids[t],primaryText:o.a.createElement("div",null,o.a.createElement(a.a,{search:r},o.a.createElement("span",null,u.ids[t]),o.a.createElement("span",null," on "),o.a.createElement("span",null,u.chromosomes[t]))),secondaryText:o.a.createElement("div",null,o.a.createElement(a.a,{search:r},u.descriptions[t].split(",").join(", ").split(";").join("; "))),secondaryTextLines:2,onClick:function(n){return e.handleSelectGene(n,u.ids[t],u.descriptions[t].split(",").join(", ").split(";").join("; "))},leftIcon:o.a.createElement("div",null,o.a.createElement(v.default,{fixedWidth:!0,name:n}))}))},m=0,b=u.ids.length;m0&&o.length>0&&(i[r]=o);return i}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./node_modules/html-to-react/index.js"),s=n.n(a),l=n("./src/js/util/ComponentRegistry.js"),u=n("./node_modules/lodash/forEach.js"),c=n.n(u),d=n("./node_modules/lodash/camelCase.js"),p=n.n(d),f=n("./src/js/components/panoptes/DocLink.js"),h=Object.assign||function(e){for(var t=1;t'+this.props.children+"")}});t.default=m},"./src/js/components/panoptes/ItemLink.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/FluxMixin.js"),s=o.a.createClass({displayName:"ItemLink",mixins:[i.a,a.a],propTypes:{table:o.a.PropTypes.string,primKey:o.a.PropTypes.string},handleClick:function(e){var t=this.props,n=t.table,r=t.primKey,o=1==e.button||e.metaKey||e.ctrlKey;o||e.stopPropagation(),this.getFlux().actions.panoptes.dataItemPopup({table:n,primKey:r.toString(),switchTo:!o})},render:function(){var e=this,t=this.props.primKey;return o.a.createElement("span",{className:"prop internal-link",onClick:function(t){return e.handleClick(t)}},t)}});t.default=s},"./src/js/components/panoptes/ItemTemplate.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/handlebars/dist/handlebars.js"),a=n.n(i),s=n("./src/js/mixins/PureRenderMixin.js"),l=n("./src/js/mixins/FluxMixin.js"),u=n("./src/js/mixins/ConfigMixin.js"),c=n("./src/js/mixins/DataFetcherMixin.js"),d=n("./src/js/util/LRUCache.js"),p=n("./src/js/panoptes/SQL.js"),f=n("./src/js/util/templateFieldsUsed.js"),h=n("./node_modules/lodash/map.js"),m=n.n(h),g=n("./src/js/panoptes/API.js"),y=n("./src/js/panoptes/ErrorReporter.js"),v=n("./src/js/components/panoptes/HTMLWithComponents.js"),b=n("./src/js/components/ui/Loading.js"),_=n("./src/styles/template.scss"),A=(n.n(_),Object.assign||function(e){for(var t=1;t0){var m=[];return d.map(function(t){var u=t[p.primKey],c=s!==u?"picked":"",d=o.a.createElement(A.default,{flux:e.flux,table:r,primKey:u,data:t},f),g=i?h()(a.a.renderToStaticMarkup(d)).toLowerCase():"";(i&&g.indexOf(i.toLowerCase())!==-1||!i)&&m.push(o.a.createElement(w.ListItem,{className:c,key:u,primaryText:o.a.createElement(l.a,{search:i},d),onClick:function(){return e.handleSelect(u)},leftIcon:o.a.createElement("div",null,o.a.createElement(E.default,{fixedWidth:!0,name:n}))}))}),o.a.createElement("div",null,o.a.createElement(w.List,null,m),o.a.createElement(C.default,{status:c}))}return o.a.createElement("div",{style:{position:"relative",height:"30px"}},o.a.createElement(C.default,{status:"custom"},"No rows"))}});t.default=S},"./src/js/components/panoptes/PivotTableView.js":function(e,t,n){"use strict";function r(e){return!(void 0!==e&&null!==e&&"NULL"!==e&&""!==e&&!Number.isNaN(e))}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./node_modules/classnames/index.js"),s=n.n(a),l=n("./node_modules/color/index.js"),u=n.n(l),c=n("./node_modules/lodash/uniq.js"),d=n.n(c),p=n("./node_modules/lodash/some.js"),f=n.n(p),h=n("./node_modules/lodash/forEach.js"),m=n.n(h),g=n("./node_modules/lodash/filter.js"),y=n.n(g),v=n("./node_modules/lodash/map.js"),b=n.n(v),_=n("./node_modules/lodash/orderBy.js"),A=n.n(_),x=n("./src/js/mixins/PureRenderMixin.js"),j=n("./src/js/mixins/FluxMixin.js"),w=n("./src/js/mixins/ConfigMixin.js"),C=n("./src/js/mixins/DataFetcherMixin.js"),E=n("./node_modules/fixed-data-table/main.js"),k=(n.n(E),n("./node_modules/fixed-data-table/dist/fixed-data-table.css")),T=(n.n(k),n("./src/js/panoptes/API.js")),S=n("./src/js/util/LRUCache.js"),P=n("./src/js/panoptes/ErrorReporter.js"),M=n("./src/js/panoptes/SQL.js"),D=n("./src/js/components/panoptes/PropertyCell.js"),O=n("./src/js/components/ui/Loading.js"),I=n("./src/js/components/utils/DetectResize.js"),R=n("./src/js/components/ui/Icon.js"),L=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),F=Object.assign||function(e){for(var t=1;t"+t.valueDescriptions[r]+"")},o.a.createElement(u.default,{className:"info",name:"info-circle"})):null;if(t.externalUrl&&!i){t.valueDisplays&&console.error("Properties cannot have externalUrl and valueDisplays: "+t.id);var c=r.split(";");return o.a.createElement("span",{className:"prop"},c.map(function(e,n){return o.a.createElement("span",{key:n},0===n?a:null,o.a.createElement("a",{target:"_blank",href:t.externalUrl.replace("{value}",e)},e),n"+t.valueDisplays[r]+""),s);if("Boolean"==t.dispDataType&&""!==r){if(null===r)return o.a.createElement("span",null," NULL ");var p=1===r||"True"===r;return o.a.createElement(u.default,{className:p?"prop bool true":"prop bool false",fixedWidth:!1,name:p?"check":"times"})}if(!i&&t.relation)return o.a.createElement(d.default,{table:t.relation.tableId,primKey:r});if(!i&&t.isPrimKey)return o.a.createElement(d.default,{table:t.tableId,primKey:r});var m=n.i(l.a)(t,r);return o.a.createElement("span",{className:"prop",title:m},m,s)}});t.default=m},"./src/js/components/panoptes/PropertyHeader.js":function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./src/js/mixins/PureRenderMixin.js"),s=n("./src/js/mixins/FluxMixin.js"),l=n("./src/js/components/ui/TooltipEllipsis.js"),u=n("./src/js/components/ui/Icon.js"),c=n("./node_modules/rc-tooltip/lib/index.js"),d=n.n(c),p=n("./node_modules/rc-tooltip/assets/bootstrap.css"),f=(n.n(p),Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var i=n("./node_modules/lodash/clone.js"),a=n.n(i),s=n("./node_modules/lodash/find.js"),l=n.n(s),u=n("./node_modules/lodash/map.js"),c=n.n(u),d=n("./node_modules/react/react.js"),p=n.n(d),f=n("./node_modules/classnames/index.js"),h=n.n(f),m=n("./src/js/mixins/PureRenderMixin.js"),g=n("./src/js/mixins/ConfigMixin.js"),y=n("./src/js/mixins/FluxMixin.js"),v=n("./src/js/mixins/StoreWatchMixin.js"),b=n("./src/js/panoptes/SQL.js"),_=n("./src/js/panoptes/Formatter.js"),A=n("./src/js/panoptes/Deformatter.js"),x=n("./src/js/components/panoptes/PropertyInput.js"),j=n("./node_modules/material-ui/RaisedButton/index.js"),w=n.n(j),C=n("./node_modules/material-ui/Paper/index.js"),E=n.n(C),k=n("./src/js/components/ui/Icon.js"),T=n("./node_modules/lodash/assign.js"),S=n.n(T),P=Object.assign||function(e){for(var t=1;t0&&(c=o.a.createElement("span",null,"Found ",u.length," genes on chromosome ",r," between positions ",i," and ",a,":"));for(var d=[],f=function(t,r){d.push(o.a.createElement(p.ListItem,{key:u[t].fid,primaryText:o.a.createElement("div",null,o.a.createElement("span",null,u[t].fname),o.a.createElement("span",null," between "),o.a.createElement("span",null,u[t].fstart," and ",u[t].fstop)),secondaryText:o.a.createElement("div",null,u[t].descr.split(";").join("; ").split(",").join(", ")),secondaryTextLines:2,onClick:function(n){return e.handleSelectGene(n,u[t].fid,u[t].descr.split(";").join("; ").split(",").join(", "))},leftIcon:o.a.createElement("div",null,o.a.createElement(g.default,{fixedWidth:!0,name:n}))}))},y=0,v=u.length;yd?o.a.createElement("div",{style:{fontSize:"16px",lineHeight:"24px",width:"256px",height:"72px",display:"inline-block",position:"relative",fontFamily:"Roboto, sans-serif",transition:"height 200ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",backgroundColor:"transparent"}},o.a.createElement("label",{style:{position:"absolute",lineHeight:"22px",top:"38px",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",zIndex:"1",cursor:"text",transform:"perspective(1px) scale(0.75) translate3d(0px, -28px, 0px)",transformOrigin:"left top 0px",pointerEvents:"none",color:"rgba(0, 0, 0, 0.498039)"}},r),o.a.createElement("div",{style:{display:"block",fontSize:"inherit",height:"100%",fontFamily:"inherit",outline:"none",position:"relative",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",padding:"0px",width:"100%",border:"none",color:"rgba(0, 0, 0, 0.870588)",fontStyle:"inherit",fontVariant:"inherit",fontWeight:"inherit",fontStretch:"inherit",lineHeight:"inherit",boxSizing:"border-box",marginTop:"14px",backgroundColor:"rgba(0, 0, 0, 0)"}},o.a.createElement("div",{style:{cursor:"pointer",height:"100%",position:"relative",width:"100%"}},o.a.createElement("div",{style:{boxSizing:"border-box",display:"table"}}," "),o.a.createElement("select",{style:{width:"100%",appearance:"none",cursor:"pointer",border:"none",background:"none",display:"block",color:"rgba(0, 0, 0, 0.870588)",lineHeight:"56px",opacity:"1",position:"relative",paddingLeft:"0px",paddingRight:"48px",top:"6px"},value:t,onChange:function(e){return i(e.target.value)}},o.a.createElement("option",{className:"dropdown-option",value:""}),a.map(function(e){var t=e.value,n=e.label;return o.a.createElement("option",{className:"dropdown-option",key:t,value:t,label:n||t})})),o.a.createElement("svg",{viewBox:"0 0 24 24",style:{display:"inline-block",fill:"rgb(224, 224, 224)",height:"24px",width:"24px",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms",position:"absolute",right:"0px",top:"22px"}},o.a.createElement("path",{d:"M7 10l5 5 5-5z"})),o.a.createElement("div",{style:{borderTopStyle:"none",bottom:"1px",left:"0px",margin:"-1px 24px",right:"0px",position:"absolute"}}),o.a.createElement("div",{style:{boxSizing:"borderBox",clear:"both",display:"table"}}," "))),o.a.createElement("div",null,o.a.createElement("hr",{style:{borderBottomWidth:"1px",borderStyle:"none none solid",borderColor:"rgb(224, 224, 224)",bottom:"8px",boxSizing:"content-box",margin:"0px",position:"absolute",width:"100%"}}),o.a.createElement("hr",{style:{borderBottomWidth:"2px",borderStyle:"none none solid",borderColor:"rgb(33, 150, 243)",bottom:"8px",boxSizing:"content-box",margin:"0px",position:"absolute",width:"100%",transform:"scaleX(0)",transition:"all 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms"}}))):o.a.createElement(l.a,{value:t,autoWidth:n,floatingLabelText:r,onChange:function(e,t,n){return i(n)}},a.map(function(e){var t=e.value,n=e.label,r=e.leftIcon,i=e.rightIcon,a=e.disabled;return o.a.createElement(c.a,{key:t,value:t,primaryText:o.a.createElement("div",{className:"dropdown-option"},n||t),leftIcon:r,rightIcon:i,disabled:a})}))}});t.default=p},"./src/js/components/panoptes/SessionComponent.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/util/deserialiseComponent.js"),a=n("./src/js/mixins/FluxMixin.js"),s=n("./src/js/mixins/StoreWatchMixin.js"),l=o.a.createClass({displayName:"SessionComponent",mixins:[a.a,n.i(s.a)("SessionStore")],propTypes:{compId:o.a.PropTypes.string,updateTitleIcon:o.a.PropTypes.func,replaceable:o.a.PropTypes.bool},shouldComponentUpdate:function(e,t){return e.compId!==this.props.compId||t.component!==this.state.component},componentWillMount:function(){this.updateTitleIcon=function(){return this.props.updateTitleIcon.apply(this,arguments)}.bind(this)},getStateFromFlux:function(e){return e=e||this.props,{component:this.getFlux().store("SessionStore").getState().getIn(["components",e.compId])}},title:function(){return this.state.component.getIn(["props","title"])||this.refs.child.title?this.refs.child.title():""},icon:function(){return this.state.component.getIn(["props","icon"])||this.refs.child.icon?this.refs.child.icon():""},componentWillReceiveProps:function(e){this.setState(this.getStateFromFlux(e))},componentDidUpdate:function(e,t){this.props.updateTitleIcon&&t.component.get("type")!==this.state.component.get("type")&&this.props.updateTitleIcon()},render:function(){var e=this.props,t=e.compId,r=e.replaceable,a=this.state.component,s=this.getFlux().actions.session;return o.a.cloneElement(n.i(i.a)(a,[t],{setProps:s.componentSetProps,replaceSelf:s.componentReplace,updateTitleIcon:this.updateTitleIcon}),{ref:"child",replaceable:r})}});t.default=l},"./src/js/components/panoptes/TableList.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/lodash/map.js"),a=n.n(i),s=n("./src/js/mixins/PureRenderMixin.js"),l=n("./src/js/mixins/ConfigMixin.js"),u=n("./node_modules/material-ui/List/index.js"),c=(n.n(u),n("./node_modules/material-ui/Subheader/index.js")),d=n.n(c),p=n("./src/js/components/ui/Icon.js"),f=n("./node_modules/striptags/striptags.js"),h=n.n(f),m=n("./src/js/mixins/FluxMixin.js"),g=n("./src/js/components/containers/ListWithActions.js"),y=n("./src/js/components/containers/DataTableWithActions.js"),v=o.a.createClass({displayName:"TableList",mixins:[s.a,m.a,l.a],propTypes:{style:o.a.PropTypes.object,onClick:o.a.PropTypes.func},handleOpen:function(e,t){var n=1==e.button||e.metaKey||e.ctrlKey;n||e.stopPropagation(),(this.props.onClick||this.handleClick)({component:t,middleClick:n})},handleClick:function(e){var t=e.component;e.middleClick?this.flux.actions.session.tabOpen(t,!1):this.flux.actions.session.tabOpen(t,!0)},handleTableClick:function(e,t){this.config.tablesById[t.id].listView?this.handleOpen(e,o.a.createElement(g.default,{table:t.id})):this.handleOpen(e,o.a.createElement(y.default,{table:t.id}))},render:function(){var e=this,t=this.config.tables;return o.a.createElement(u.List,{style:this.props.style},o.a.createElement(d.a,null,"Open a table:"),a()(t,function(t){return e.config.tablesById[t.id].isHidden?null:o.a.createElement(u.ListItem,{key:t.id,primaryText:t.capNamePlural,secondaryText:h()(t.description),leftIcon:o.a.createElement("div",null,o.a.createElement(p.default,{fixedWidth:!0,name:t.icon})),onClick:function(n){return e.handleTableClick(n,t)}})}))}});t.default=v},"./src/js/components/panoptes/Tree.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/react-phylocanvas/lib/PhylocanvasComponent.js"),a=n.n(i),s=n("./node_modules/phylocanvas/dist/phylocanvas.js"),l=(n.n(s),n("./node_modules/lodash/keys.js")),u=n.n(l),c=n("./node_modules/lodash/isEqual.js"),d=n.n(c),p=n("./src/js/mixins/PureRenderMixin.js"),f=n("./src/js/components/utils/DetectResize.js"),h=n("./src/styles/tree.scss"),m=(n.n(h),Object.assign||function(e){for(var t=1;t=0&&e<=(this.config.chromosomes[this.props.chromosome]||y)&&t>this.props.minWidth&&this.props.setProps({start:e-t/2,end:e+t/2})},handleRegionChange:function(){var e=this.refs.region.value;this.setState({regionText:e});var t=e.trim().match(/^(?:(.+):)?([0-9]+)-([0-9]+)$/);if(t){var n=t.slice(1),r=g(n,3),o=r[0],i=r[1],a=r[2];if(i=parseInt(i),a=parseInt(a),o=o||this.props.chromosome,l()(this.config.chromosomes,o)&&i=i?(e=o,t=i,a=i-o):(ei&&(t=i)),t>i&&(t=i,(e=t-a)i&&(t=i,e=t-W)),[e,t]},isEventInPanningArea:function(e){for(var t=e.target;;){if("channel-controls"===t.className)return!1;if("channel-side"===t.className)return!1;if("main-area"===t.className)return!0;if(!(t=t.parentElement))return!0}},handleZoom:function(e,t){var n=this.actualStart,r=this.actualEnd,o=t>0?1/(1+.04*Math.abs(t)):1+.04*Math.abs(t);e=void 0!=e?this.scale.invert(e):n+(r-n)/2;var i=(e-n)/(r-n),a=(r-n)/o;n=e-a*i,r=e+a*(1-i);var s=this.scaleClamp(n,r,i),l=B(s,2);n=l[0],r=l[1],this.props.setProps({start:n,end:r})},handleMouseWheel:function(e){this.isEventInPanningArea(e)&&(this.handleZoom(e.clientX-l()(e.currentTarget).left,w()(e).pixelY),e.stopPropagation(),e.preventDefault())},handleDoubleTap:function(e){this.isEventInPanningArea(e)&&this.handleZoom(e.center.x-l()(a.a.findDOMNode(this.rootHammer)).left,-100)},handlePan:function(e){if(this.isEventInPanningArea(e)){var t=this.actualStart,n=this.actualEnd,r=e.center.x-e.deltaX-l()(a.a.findDOMNode(this.rootHammer)).left;this.panStartPixel!==r&&(this.panStartPixel=r,this.panStartGenome=[t,n]);var o=this.scale.invert(0)-this.scale.invert(e.deltaX),i=B(this.panStartGenome,2);if(t=i[0],n=i[1],t+=o,n+=o,e.isFinal){if(Math.abs(e.velocityX)>.5){var s=this.scale.invert(e.velocityX)-this.scale.invert(0);t-=1e3*s,n-=1e3*s,this.nextSpringConfig=H}var u=this.scaleClamp(t,n,.5),c=B(u,2);t=c[0],n=c[1],this.panStartPixel=null}else this.nextSpringConfig=U;this.props.setProps({start:t,end:n})}},handleChangeLoadStatus:function(e){"LOADING"===e&&(this.loading+=1),"DONE"===e&&(this.loading-=1),this.setState({loading:this.loading})},handleTrackScroll:function(){var e=this,t=o.a.Children.count(this.props.children);h()(this.scrollListeners,function(n,r){r0}),o.a.createElement(P.default,N({},this.props,{start:r,end:i,chromosome:s,minWidth:W}))),o.a.createElement(E.a,{ref:function(t){return e.rootHammer=t},onDoubleTap:this.handleDoubleTap,onPan:this.handlePan,direction:E.a.DIRECTION_VERTICAL,onPinch:function(e){return console.log("Pinch not implemented",e)},onWheel:this.handleMouseWheel},o.a.createElement("div",{ref:"mainArea",className:"main-area"},o.a.createElement(k.Motion,{ref:"spring",style:_,defaultStyle:v},function(t){r=t.mid-t.halfWidth,i=t.mid+t.halfWidth,r=Math.round(r/y)*y,i=Math.round(i/y)*y,e.actualStart=r,e.actualEnd=i;var n={chromosome:s,start:r,end:i,width:h,sideWidth:a,hoverPos:d,onChangeLoadStatus:e.handleChangeLoadStatus,onChangeHoverPos:e.handleHover};return o.a.createElement("div",{className:"tracks vertical stack",onMouseMove:e.handleMouseMove,onMouseOver:e.handleMouseOver,onMouseOut:e.handleMouseOut},o.a.createElement(M.default,{start:r,end:i,width:h,height:Math.max(0,m-V),sideWidth:a,onChangeHoverPos:e.handleHover,hoverPos:d}),o.a.createElement("div",{className:"fixed"},o.a.createElement(T.default,{start:r,end:i,width:h,sideWidth:a,onChangeHoverPos:e.handleHover,hoverPos:d}),x.a.map(l,function(t,r){return t.props.fixed?o.a.cloneElement(t,N({onClose:function(){return e.redirectedProps.setProps(function(e){return e.deleteIn(["children",r])})}},n)):null})),o.a.createElement("div",{ref:function(t){return e.scrollTracks=t},className:"scrolling grow scroll-within"},x.a.map(l,function(t,r){return t.props.fixed?null:o.a.cloneElement(t,N({onClose:function(){return e.redirectedProps.setProps(function(e){return e.deleteIn(["children",r])})},ref:function(t){return e.scrollListeners[r]=t}},n))})))})))))}});t.default=G},"./src/js/components/panoptes/genome/LoadingIndicator.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./node_modules/raf/index.js"),s=n.n(a),l=n("./node_modules/performance-now/lib/performance-now.js"),u=n.n(l),c=n("./node_modules/classnames/index.js"),d=n.n(c),p=20,f=o.a.createClass({displayName:"LoadingIndicator",mixins:[i.a],propTypes:{animate:o.a.PropTypes.bool,width:o.a.PropTypes.number},componentDidMount:function(){this.paint(this.refs.canvas,u()()/100%100),this.props.animate&&(this.raf=s()(this.onTick))},componentWillReceiveProps:function(e){!this.raf&&e.animate&&(this.raf=s()(this.onTick)),!e.animate&&this.raf&&(s.a.cancel(this.raf),this.raf=null)},componentWillUnmount:function(){this.raf&&s.a.cancel(this.raf)},onTick:function(){this.paint(this.refs.canvas,u()()/100%100),this.raf=s()(this.onTick)},paint:function(e,t){var n=e.getContext("2d");n.strokeStyle="#3d8bd5",n.fillStyle="#FFF",n.lineWidth=1,n.fillRect(0,0,101,21),n.beginPath(),n.moveTo(0,10+10*Math.sin(t));for(var r=0;r<=100;r+=4)n.lineTo(r,10+10*Math.sin(r*Math.PI*4/100+t));n.moveTo(0,10+10*Math.cos(t));for(var o=0;o<=100;o+=4)n.lineTo(o,10+10*Math.cos(o*Math.PI*4/100+t));for(var i=0;i<=100;i+=10)n.moveTo(i,10+10*Math.cos(i*Math.PI*4/100+t)),n.lineTo(i,10+10*Math.sin(i*Math.PI*4/100+t));n.stroke(),n.strokeStyle="rgb(255,50,50)",n.lineWidth=3,n.beginPath(),n.moveTo(20,10+10*Math.cos(20*Math.PI*4/100+t)),n.lineTo(20,10+10*Math.sin(20*Math.PI*4/100+t)),n.stroke(),n.strokeStyle="rgb(255,170,50)",n.lineWidth=3,n.beginPath(),n.moveTo(30,10+10*Math.cos(30*Math.PI*4/100+t)),n.lineTo(30,10+10*Math.sin(30*Math.PI*4/100+t)),n.stroke(),n.strokeStyle="rgb(0,128,192)",n.lineWidth=3,n.beginPath(),n.moveTo(40,10+10*Math.cos(40*Math.PI*4/100+t)),n.lineTo(40,10+10*Math.sin(40*Math.PI*4/100+t)),n.stroke(),n.strokeStyle="rgb(0,192,120)",n.lineWidth=3,n.beginPath(),n.moveTo(50,10+10*Math.cos(50*Math.PI*4/100+t)),n.lineTo(50,10+10*Math.sin(50*Math.PI*4/100+t)),n.stroke()},render:function(){return o.a.createElement("canvas",{ref:"canvas",className:d()({"loading-canvas":!0,loading:this.props.animate}),width:this.props.width,height:p})}});t.default=f},"./src/js/components/panoptes/genome/QueryResult.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/DataFetcherMixin.js"),s=n("./src/js/mixins/ConfigMixin.js"),l=n("./src/js/mixins/FluxMixin.js"),u=n("./src/js/panoptes/SQL.js"),c=n("./src/js/panoptes/API.js"),d=n("./src/js/util/LRUCache.js"),p=n("./src/js/panoptes/ErrorReporter.js"),f=Object.assign||function(e){for(var t=1;t=",this.blockStart),b.a.WhereClause.CompareFixed("fstop","<",this.blockEnd)]))};t.request(function(e){return g.a.get("query"+JSON.stringify(C),function(e){return m.a.query(A({cancellation:e},C))},e)}).then(function(e){u&&u("DONE"),r.applyData(r.props,e)}).catch(function(e){throw u&&u("DONE"),e}).catch(m.a.filterAborted).catch(g.a.filterCancelled).catch(function(o){r.applyData(r.props,null),n.i(y.a)(r.getFlux(),o.message,function(){return r.fetchData(e,t)}),console.error(o)})}}},applyData:function(e,t){if(!t)return void(this.data=null);var n=t.ids,r=t.parents,o=t.sizes,i=t.starts,a=t.types,s=t.names,l=t.altNames;n=n.array,r=r.array,o=o.array,i=i.array,a=a.array,s=s.array,l=l.array;for(var u=new Array(n.length),c=[],d=0,p=n.length;di[d]+o[d];)f+=1;c[f]=i[d]+o[d],u[d]=f}for(var h={},m=0,g=n.length;ma&&u.push(w);var E=A*(g[w]-o),k=A*(g[w]+m[w]-o);if(k>-60&&E_&&(_=v[w])}}d.fillStyle="#3d8bd5";for(var P=0,M=g.length;P-4&&De&&gp[h]*j&&t<5+(p[h]+1)*j)return l[h]}return null},handleClick:function(e){var t=this.convertXY(e),n=x(t,2),r=n[0],i=n[1],a=this.xyToGene(r,i);a&&this.flux.actions.session.popupOpen(o.a.createElement(h.default,{geneId:a}),!1)},setHover:function(e){if(e){for(var t=0,n=this.data.ids.length;to)&&(o=n)}),a()(r)&&a()(o)&&(this.setState({dataYMin:r,dataYMax:o}),this.props.autoYScale&&n)){this.refs.spring.setState({currentStyle:{yMin:r,yMax:o},currentVelocity:{yMin:0,yMax:0}}),this.nextSpringConfig=g}},render:function(){var e=this,t=this.props,r=t.width,i=t.height,s=t.sideWidth,l=t.yMin,u=t.yMax,d=t.autoYScale,g=t.side,y=t.controls,v=t.legend,b=this.state,_=b.dataYMin,A=b.dataYMax,x=d&&this.nextSpringConfig||m;this.nextSpringConfig=null,d&&a()(_)&&a()(A)&&(l=_,u=A),!a()(l)&&a()(this.lastYMin)&&(l=this.lastYMin),!a()(u)&&a()(this.lastYMax)&&(u=this.lastYMax);var j=[l,u];if(this.lastYMin=j[0],this.lastYMax=j[1],r<=0)return null;var w={yMin:a()(l)?l:null,yMax:a()(u)?u:null},C={yMin:n.i(h.spring)(w.yMin,x),yMax:n.i(h.spring)(w.yMax,x)};return o.a.createElement(p.default,{width:r,sideWidth:s,height:i,sideComponent:g,configComponent:y,legendComponent:v,onClose:this.handleClose},o.a.createElement(h.Motion,{ref:"spring",style:C,defaultStyle:w},function(t){var n=t.yMin,a=t.yMax;return o.a.createElement(c.a,{onTap:e.redirectedProps.onTap},o.a.createElement("div",{className:"numerical-channel-canvas-holder",style:e.props.style,onMouseOver:e.redirectedProps.onMouseOver,onMouseMove:e.redirectedProps.onMouseMove,onMouseOut:e.redirectedProps.onMouseOut},o.a.createElement(f.default,{width:r-s,height:i,min:n,max:a}),o.a.Children.map(e.props.children,function(t,r){return o.a.cloneElement(t,{yMin:n,yMax:a,height:i,onYLimitChange:function(t){var n=t.dataYMin,o=t.dataYMax;return e.handleYLimitChange(r,{dataYMin:n,dataYMax:o})}})})))}))}});t.default=y},"./src/js/components/panoptes/genome/tracks/CategoricalChannel.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/lodash/isFinite.js"),a=n.n(i),s=n("./node_modules/lodash/debounce.js"),l=n.n(s),u=n("./node_modules/lodash/map.js"),c=n.n(u),d=n("./node_modules/lodash/max.js"),p=n.n(d),f=n("./node_modules/lodash/uniq.js"),h=n.n(f),m=n("./node_modules/lodash/sum.js"),g=n.n(m),y=n("./node_modules/lodash/sortedIndex.js"),v=n.n(y),b=n("./node_modules/lodash/sortedLastIndex.js"),_=n.n(b),A=n("./src/js/mixins/ConfigMixin.js"),x=n("./src/js/mixins/PureRenderWithRedirectedProps.js"),j=n("./src/js/mixins/FluxMixin.js"),w=n("./src/js/mixins/DataFetcherMixin.js"),C=n("./src/js/util/Colours.js"),E=n("./src/js/util/LRUCache.js"),k=n("./src/js/panoptes/SQL.js"),T=n("./src/js/panoptes/API.js"),S=n("./src/js/components/panoptes/genome/tracks/CanvasGroupChannel.js"),P=n("./src/js/panoptes/ErrorReporter.js"),M=n("./src/js/components/panoptes/PropertyLegend.js"),D=n("./src/js/util/PropertyRegionCache.js"),O=n("./src/js/components/panoptes/QueryString.js"),I=n("./src/js/components/panoptes/FilterButton.js"),R=n("./src/js/components/ui/TooltipEllipsis.js"),L=n("./node_modules/material-ui/Checkbox/index.js"),F=n.n(L),N=Object.assign||function(e){for(var t=1;t0)for(var i=o[0],a=[r[0]],s=[n[0]],l=1,u=o.length+1;l-b&&d5e3?"s":null),m=c.getContext("2d");m.lineWidth=.25,m.strokeStyle="darkgrey",m.textAlign="center",m.textBaseline="top",m.font="14px Roboto,sans-serif",m.clearRect(0,0,c.width,c.height),m.beginPath();for(var g=t;g(r-n)/u.length*3}),u=S()(j()(u,function(e){return e[1]}),l);for(var p=y()(u,function(e){return e[1]})/2,f=Math.floor(p/((r-n-p)/s.length)),h=(r-n)/(s.length+f),g=new Uint32Array(s.length+1),v=0;v0||k===g.length-2)&&(x.push([w+i,k+1+i,E]),E=E+(k-w+1)+g[k+1],w=k+1);return{colWidth:h,layoutBlocks:x}},getDefinedQuery:function(e,t){return e||(t||this.props.table?this.config.tablesById[t||this.props.table].defaultQuery:null)||U.a.nullQuery},fetchData:function(e,t){var r=this,o=e.chromosome,i=e.start,a=e.end,s=e.width,l=e.sideWidth,u=e.table,c=e.columnQuery,d=e.rowQuery,p=e.rowLabel,f=e.cellColour,h=e.cellAlpha,m=e.cellHeight,g=e.page,y=e.pageSize,v=e.rowSort,b=e.rowRandomSubsetSize,_=this.config.twoDTablesById[u];c=this.getDefinedQuery(c,_.columnDataTable),d=this.getDefinedQuery(d,_.rowDataTable);var A=["chromosome","cellColour","cellAlpha","cellHeight","rowQuery","columnQuery","rowLabel","rowSort","layoutGaps","page","pageSize","rowRandomSubsetSize"];if(A.some(function(t){return r.props[t]!==e[t]})&&this.applyData(e,null),!(s-l<1)){if(p&&!this.config.tablesById[_.rowDataTable].propertiesById[p])return void n.i(q.a)(this.getFlux(),"Genotypes "+u+" channel: "+p+" is not a valid property of "+_.rowDataTable);if(v&&!this.config.tablesById[_.rowDataTable].propertiesById[v]&&"NULL"!=v)return void n.i(q.a)(this.getFlux(),"Genotypes "+u+" channel: "+v+" is not a valid property of "+_.rowDataTable);if("call"!==f&&"fraction"!==f)return void n.i(q.a)(this.getFlux(),"Genotypes "+u+" channel: cellColour must be call or fraction");if(h&&!_.propertiesById[h])return void n.i(q.a)(this.getFlux(),"Genotypes "+u+" channel: "+h+" is not a valid property of "+_.id);if(m&&!_.propertiesById[m])return void n.i(q.a)(this.getFlux(),"Genotypes "+u+" channel: "+m+" is not a valid property of "+_.id);var x=n.i(W.a)({start:i,end:a}),j=x.blockLevel,w=x.blockIndex,C=x.needNext;if(A.some(function(t){return r.props[t]!==e[t]})||this.blockLevel!==j||this.blockIndex!==w||this.needNext!==C){this.blockLevel=j,this.blockIndex=w,this.needNext=C,this.props.onChangeLoadStatus("LOADING");var E=this.config.tablesById[_.columnDataTable],k=this.config.tablesById[_.rowDataTable],T=[k.primKey],S=[E.primKey,E.position];p&&T.push(p),T=M()(T);var P="call"===f?[_.showInGenomeBrowser.call]:[_.showInGenomeBrowser.alleleDepth];h&&P.push(h),m&&P.push(m),c=U.a.WhereClause.decode(c),c=U.a.WhereClause.AND([U.a.WhereClause.CompareFixed(E.chromosome,"=",o),c]);var D={dataset:this.config.dataset,table:u,colQry:U.a.WhereClause.encode(c),colOrder:E.position,rowQry:d,rowOrder:v,rowRandomSample:b,rowOffset:b?void 0:g*y,rowLimit:b?void 0:(g+1)*y,colProperties:S.join("~"),rowProperties:T.join("~"),"2DProperties":P.join("~"),colOnlyOnLimit:!0},O={method:"twoDPageQuery",regionField:E.position,queryField:"colQry",limitField:"colFailLimit",start:i,end:a,blockLimit:1e3,isBlockTooBig:function(e){return e._over_col_limit},postProcessBlock:this.calculatedDerivedProperties};t.request(function(e){return n.i(W.b)(D,O,e).then(function(e){r.props.onChangeLoadStatus("DONE"),r.applyData(r.props,e)})}).catch(function(e){throw r.props.onChangeLoadStatus("DONE"),e}).catch(G.a.filterAborted).catch(K.a.filterCancelled).catch(function(e){throw r.applyData(r.props,null),n.i(q.a)(r.getFlux(),e.message,function(){return r.fetchData(r.props,t)}),e})}}},calculatedDerivedProperties:function(e){var t=this.config.twoDTablesById[this.props.table].showInGenomeBrowser;if(t.call&&e["2D_"+t.call]){for(var n=e["2D_"+t.call],r=n.array,o=n.shape[2]||1,i=new Int8Array(r.length/o),a=0,s=n.shape[0];a0?1:p)==-1){c=-1;break}if(0==p&&1==c){c=2;break}if(1==p&&0==c){c=2;break}c=p}i[a*u+l]=c}i={array:i,shape:[n.shape[0],n.shape[1]]},e["2D__call"]=i}if(t.alleleDepth&&e["2D_"+t.alleleDepth]){for(var f=e["2D_"+t.alleleDepth],h=f.array,m=f.shape[2]||1,g=new Uint8ClampedArray(h.length/m),y=0,v=f.shape[0];y0?1+255*w:0}g={array:g,shape:[f.shape[0],f.shape[1]]},e["2D__fraction"]=g}return e},componentWillReceiveProps:function(e){var t=this;["start","end","layoutMode"].some(function(n){return t.props[n]!==e[n]})&&this.state.genomicPositions&&this.setState(this.layoutColumns(e,this.state.genomicPositions))},applyData:function(e,t){if(!t)return void this.setState({rowData:{id:{array:[],shape:[0]},label:{array:[],shape:[0]}},dataBlocks:[],layoutBlocks:[],genomicPositions:new Int32Array(0)});var r=e.table,o=e.rowLabel,i=this.config.twoDTablesById[r],a=this.config.tablesById[i.columnDataTable],s=this.config.tablesById[i.rowDataTable],l=n.i(W.c)(t,"col_"+a.position),u=n.i(W.c)(t,"col_"+a.primKey);t.length>0&&0===t[0]["row_"+s.primKey].shape[0]&&(t=[]),this.setState(ie({rowData:t.length>0?{id:t[0]["row_"+s.primKey],label:t[0]["row_"+o]||t[0]["row_"+s.primKey]}:null,dataBlocks:t,genomicPositions:l,colPrimKeys:u},this.layoutColumns(e,l)))},getDataBlocks:function(){return this.state.dataBlocks},handleScroll:function(e){this.setState({visibleTop:-(this.container.getBoundingClientRect().top-e.getBoundingClientRect().top)})},xyToIndex:function(e,t){for(var n=this.props,r=n.width,o=n.sideWidth,i=n.start,a=n.end,s=n.rowHeight,l=this.state,u=l.rowData,c=l.layoutBlocks,d=l.genomicPositions,p=l.colPrimKeys,f=l.colWidth,h=l.visibleTop,m=u?u.id.shape[0]:0,g=Math.min(s*m,Math.max(0,h)),y=(r-o)/(a-i),v=f*y,b=100,_=10,A=null,x=null,j=0,w=c.length;jg+ae-20&&Math.abs(e-M)<_&&(_=Math.abs(e-M),x=p[S])}return{nearestPos:A,nearestClickIndex:x}},convertXY:function(e){var t=this.container.getBoundingClientRect();return[e.clientX-t.left,e.clientY-t.top]},setHover:function(e){var t=e.nearestPos,n=e.nearestClickIndex;this.props.onChangeHoverPos&&this.props.onChangeHoverPos(t),this.setState({hoverClick:n})},handleMouseMove:function(e){e.persist(),e.hoverHandled=!0;var t=this.convertXY(e),n=oe(t,2),r=n[0],o=n[1],i=this.xyToIndex(r,o),a=i.nearestPos,s=i.nearestClickIndex;this.setHover({nearestPos:a,nearestClickIndex:s})},handleMouseOver:function(e){this.handleMouseMove(e)},handleMouseOut:function(e){this.setState({hoverClick:!1})},handleClick:function(e){null!=this.state.hoverClick&&this.getFlux().actions.panoptes.dataItemPopup({table:this.config.twoDTablesById[this.props.table].columnDataTable,primKey:this.state.hoverClick})},render:function(){var e=this,t=this.props,r=t.columnQuery,i=t.rowQuery,a=t.width,l=t.sideWidth,c=t.table,d=t.start,p=t.end,f=t.rowHeight,h=t.rowLabel,m=t.cellColour,g=t.cellAlpha,y=t.cellHeight,v=t.hoverPos,b=this.state,_=b.rowData,A=b.dataBlocks,x=b.layoutBlocks,j=b.genomicPositions,w=b.colWidth,C=b.visibleTop,E=b.hoverClick,k=this.config.twoDTablesById[c],T=this.config.tablesById[k.rowDataTable];r=this.getDefinedQuery(r,k.columnDataTable),i=this.getDefinedQuery(i,k.rowDataTable);var S=_?_.id.shape[0]:0,P={colWidth:O()(w)?w:0},M={colWidth:n.i(s.spring)(P.colWidth)};return o.a.createElement(J.default,{width:a,sideWidth:l,height:f*S+ae,sideComponent:o.a.createElement(Z.default,{table:c,width:l,height:f*S,rowData:_,rowHeight:f,rowLabel:h||T.primKey}),configComponent:o.a.createElement(le,ie({},this.props,{columnQuery:r,rowQuery:i,getDataBlocks:this.getDataBlocks,setProps:this.redirectedProps.setProps})),legendComponent:o.a.createElement(ue,null),onClose:this.redirectedProps.onClose},o.a.createElement(s.Motion,{style:M,defaultStyle:P},function(t){var n=t.colWidth;return o.a.createElement(u.a,{onTap:e.handleClick},o.a.createElement("div",{ref:function(t){return e.container=t},className:"genotypes-channel",style:{cursor:E?"pointer":"inherit"},onMouseOver:e.handleMouseOver,onMouseMove:e.handleMouseMove,onMouseOut:e.handleMouseOut},o.a.createElement("div",{style:{height:ae+"px"}}),o.a.createElement(X.default,{table:c,rowData:_,dataBlocks:A,layoutBlocks:x,width:a-l,height:f*S,start:d,end:p,colWidth:n,cellColour:m,cellAlpha:g,cellHeight:y,rowHeight:f,hoverPos:v}),o.a.createElement(Q.default,{top:Math.min(f*S,Math.max(0,C)),genomicPositions:j,layoutBlocks:x,dataBlocks:A,width:a-l,height:ae,start:d,end:p,colWidth:n,hoverPos:v})))}))}}),le=o.a.createClass({displayName:"GenotypesControls",mixins:[n.i(d.a)({check:["rowLabel","rowHeight","columnQuery","rowQuery","cellColour","cellAlpha","cellHeight","layoutGaps","rowSort","pageSize","page","rowRandomSubsetSize"],redirect:["setProps"]}),p.a,c.a],propTypes:{table:o.a.PropTypes.string.isRequired,columnQuery:o.a.PropTypes.string,rowQuery:o.a.PropTypes.string,rowLabel:o.a.PropTypes.string,rowSort:o.a.PropTypes.string,rowHeight:o.a.PropTypes.number,cellColour:o.a.PropTypes.string,cellAlpha:o.a.PropTypes.string,cellHeight:o.a.PropTypes.string,pageSize:o.a.PropTypes.number,page:o.a.PropTypes.number,layoutGaps:o.a.PropTypes.bool,getDataBlocks:o.a.PropTypes.func,rowRandomSubsetSize:o.a.PropTypes.number},handleDownload:function(){var e=this.props,t=e.table,r=e.chromosome,o=e.columnQuery,i=e.rowQuery,s=e.start,l=e.end,u=e.cellColour,c=e.getDataBlocks,d=this.config.twoDTablesById[t],p=this.config.tablesById[d.columnDataTable],f=this.config.tablesById[d.rowDataTable],h=n.i(te.a)({query:o,properties:p.properties}),m=n.i(te.a)({query:i,properties:f.properties}),g="";g+="#Dataset: "+this.config.dataset+"\r\n",g+="#Table: "+d.namePlural+("call"==u?" Calls":" Allele Depths")+"\r\n",g+="#"+p.capNamePlural+" filter: "+h+"\r\n",g+="#"+f.capNamePlural+" filter: "+m+"\r\n",g+="#Choromosome: "+r+"\r\n",g+="#Start: "+Math.floor(s)+"\r\n",g+="#End: "+Math.ceil(l)+"\r\n",g+="#URL: "+window.location.href+"\r\n",g+="Position\t";var y=c();if(0==y.length)return void n.i(q.a)(this.getFlux(),"No genotype data to download");if(k()(y,function(e){return e._tooBig}))return void n.i(q.a)(this.getFlux(),"Too much genotype data to download - zoom in");for(var v=y[0]["row_"+f.primKey].array,b=0;b=s&&E[b]<=l){g+=E[b]+"\t";for(var T=0;T2||f==r[T]||!A||M-A[0]>2||P-A[1]>2)&&(m.beginPath(),m.moveTo(M,0),m.bezierCurveTo(M,_,P,_,P,b),0===v&&m.lineTo(P,u),f==r[T]?(m.strokeStyle="rgba(0,0,0, 1)",m.stroke(),m.strokeStyle="rgba(80,80,80, 0.6)"):m.stroke(),A=[M,P])}if(v>0){m.font="12px Roboto",m.fillStyle="rgb(0,0,0)",m.strokeStyle="rgba(0,0,0,0.2)",m.lineWidth=1;var D=y;y>120?D=120:y>40&&(D=y-2),m.strokeStyle="rgba(120,120,120, 0.75)",m.fillStyle="rgba(190,190,190, 0.75)";for(var O=0,I=o.length;Ol?l/2:t+r/2;n.i(d.b)(m,t,z,r,24,8),r>100&&(m.save(),m.fillStyle="black",m.strokeStyle="white",m.lineWidth=6,m.lineJoin="miter",m.miterLimit=2,m.strokeText("Zoom in",o,z+12),m.fillText("Zoom in",o,z+12),m.restore())})}},render:function(){var e=this.props,t=e.width,n=e.height,r=e.top;return o.a.createElement("canvas",{ref:"canvas",className:"genotypes-header",style:{top:r+"px"},width:t,height:n})}});t.default=m},"./src/js/components/panoptes/genome/tracks/GenotypesRowHeader.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/mixins/ConfigMixin.js"),s=n("./src/js/mixins/FluxMixin.js"),l=n("./src/js/panoptes/Formatter.js"),u=o.a.createClass({displayName:"GenotypesRowHeader",mixins:[i.a,s.a,a.a],propTypes:{table:o.a.PropTypes.string,height:o.a.PropTypes.number,width:o.a.PropTypes.number,rowLabel:o.a.PropTypes.string,rowHeight:o.a.PropTypes.number,rowData:o.a.PropTypes.object},componentDidMount:function(){this.paint(this.refs.canvas)},componentDidUpdate:function(){this.paint(this.refs.canvas)},paint:function(e){var t=this.props,r=t.rowHeight,o=t.width,i=t.rowData,a=t.rowLabel,s=t.table,u=this.config.twoDTablesById[s],c=this.config.tablesById[u.rowDataTable],d=e.getContext("2d");if(d.fillStyle="white",d.fillRect(0,0,e.width,e.height),i){var p=i.id.array,f=i.label.array,h=r>10,m=Math.min(14,r-1);if(d.font=m+"px Roboto",d.fillStyle="rgb(0,0,0)",d.strokeStyle="rgba(0,0,0,0.2)",d.lineWidth=1,h){d.beginPath();for(var g=0;g<=p.length;g++){var y=g*r;d.moveTo(0,y+.5),d.lineTo(o,y+.5)}d.stroke()}for(var v=!1,b=function(e,t,n){if(!(ni+3){if(d.beginPath(),v||(d.moveTo(0,i+.5),d.lineTo(o,i+.5)),d.moveTo(0,a+.5),d.lineTo(o,a+.5),d.stroke(),v=!0,a>i+5){var s=Math.min(12,a-i-1);d.font=s+"px Roboto";var l=(a+i)/2-1+s/2;d.fillText(e,2,l)}}else v=!1}},_=null,A=0,x=0;x<=f.length;x++){var j=(x+1)*r,w=n.i(l.a)(c.propertiesById[a],f[x]);h?(d.beginPath(),d.rect(1.5,j-r+2.5,10,r-4),d.fill(),d.stroke(),d.fillStyle="rgb(0,0,0)",d.fillText(w,13,j-1-(r-m)/2)):w!=_&&(b(_,A,x-1),_=w,A=x)}null!=_&&b(_,A,p.length-1)}},render:function(){var e=this.props,t=e.height,n=e.width,r=e.table,i=e.rowLabel,a=this.config.twoDTablesById[r],s=this.config.tablesById[a.rowDataTable];return o.a.createElement("div",{className:"genotypes-side"},o.a.createElement("div",{className:"side-name"},a.namePlural),o.a.createElement("div",{className:"row-label"},s.propertiesById[i].name),o.a.createElement("canvas",{ref:"canvas",width:n,height:t}))}});t.default=u},"./src/js/components/panoptes/genome/tracks/GenotypesTable.js":function(e,t,n){"use strict";function r(e,t){return e.replace(/\)/,", "+(void 0!==t?t:1)+")").replace(/rgb/,"rgba")}Object.defineProperty(t,"__esModule",{value:!0});for(var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./node_modules/repeat-string/index.js"),s=n.n(a),l=n("./src/js/util/chunkedMap.js"),u=n("./src/js/mixins/PureRenderMixin.js"),c=n("./src/js/mixins/ConfigMixin.js"),d=n("./src/js/mixins/FluxMixin.js"),p=(function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),f=[],h=0;h<255;h++)f[h+1]="hsla("+Math.round(240+h/256*120)+",100%,35%,";f[0]="hsl(0,50%,0%)";var m=i.a.createClass({displayName:"GenotypesTable",mixins:[u.a,c.a,d.a],contextTypes:{muiTheme:i.a.PropTypes.object},propTypes:{table:i.a.PropTypes.string,genomicPositions:i.a.PropTypes.any,colPositions:i.a.PropTypes.any,blocks:i.a.PropTypes.array,colWidth:i.a.PropTypes.number,start:i.a.PropTypes.number,end:i.a.PropTypes.number,width:i.a.PropTypes.number,height:i.a.PropTypes.number,rowHeight:i.a.PropTypes.number,cellColour:i.a.PropTypes.string,cellAlpha:i.a.PropTypes.string,cellHeight:i.a.PropTypes.string,layoutBlocks:i.a.PropTypes.array,dataBlocks:i.a.PropTypes.array},componentDidMount:function(){this.paint(this.refs.gridCanvas,this.refs.overlayCanvas)},componentDidUpdate:function(){this.paint(this.refs.gridCanvas,this.refs.overlayCanvas)},drawOffscreenIfNeeded:function(e){var t=this.props,o=t.cellColour,i=t.cellAlpha,a=t.cellHeight,s=t.rowHeight,u=t.table,c=this.config.twoDTablesById[u];if(e._tooBig)return void(e.len=0);var d=e["2D__"+o].array,p=e["2D__"+o].shape,h=void 0,m=void 0,g=void 0,y=void 0;i&&(h=e["2D_"+i].array,m=e["2D_"+i].shape,g=c.propertiesById[i].minVal,y=c.propertiesById[i].maxVal-g);var v=void 0,b=void 0,_=void 0,A=void 0;if(a&&(v=e["2D_"+a].array,b=e["2D_"+a].shape,_=c.propertiesById[a].minVal,A=c.propertiesById[a].maxVal-_),2!==p.length)throw Error("Wrong array dimension for "+o+" must be 2D");if(m&&2!==m.length&&0!==m[0])throw Error("Wrong array dimension for "+i+" must be 2D");if(b&&2!==b.length&&0!==b[0])throw Error("Wrong array dimension for "+a+" must be 2D");var x=JSON.stringify({cellColour:o,cellAlpha:i,cellHeight:a,rowHeight:s,alphaOffset:g,alphaScale:y,heightOffset:_,heightScale:A});if(e.cacheKey!==x){var j=function(e){for(var t=0,n=E;t0?f[x]+a+")":f[0]}T.fillRect(e,t*s+(1-l)*s*.5,1,l*s)}},w=function(){this.paint(this.refs.gridCanvas,this.refs.overlayCanvas)},C=document.createElement("canvas"),E=p[1],k=p[0];C.width=k,C.height=p[1]*s;var T=C.getContext("2d");n.i(l.a)([0,k],j,w,100,50,this),e.len=k||0,e.cache=C,e.cacheKey=x}},paint:function(e,t){var n=this.props,r=n.dataBlocks,o=n.layoutBlocks,i=n.width,a=n.start,s=n.end,l=n.colWidth,u=l*(i/(s-a)),c=e.getContext("2d"),d=t.getContext("2d"),f=u<2;if(c.mozImageSmoothingEnabled=f,c.webkitImageSmoothingEnabled=f,c.msImageSmoothingEnabled=f,c.oImageSmoothingEnabled=f,c.imageSmoothingEnabled=f,c.fillStyle="white",c.fillRect(0,0,e.width,e.height),d.clearRect(0,0,t.width,t.height),o&&r){r.forEach(this.drawOffscreenIfNeeded);for(var h=0,m=0,g=0;gb)throw Error("Datablocks not in order? Data is ahead of layout");var x=v-h,j=Math.min(b-h,A.len),w=j-x,C=A.cache;if(c.drawImage(C,x,0,w,C.height,_*u,0,w*u,C.height),this.drawColumnGaps(c,w,_,C.height),this.drawOverlay(d,A,x,w,_),!(b-h>A.len))break;v+=w,_+=w}}}},drawColumnGaps:function(e,t,n,r){var o=this.props,i=o.width,a=o.start,s=o.end,l=o.colWidth,u=l*(i/(s-a)),c=u;u>120?c=120:u>40&&(c=u-2);var d=u-c;if(e.fillStyle="white",d>0)for(var p=0;px+15&&u>=6){e.fillStyle="rgba(255,255,255,0.6)";for(var j=0;j120?O=120:g>40&&(O=g-2);for(var I=0;I1&&(e.moveTo(L,0),e.lineTo(L,d)),e.stroke()}}}}},render:function(){var e=this.props,t=e.dataBlocks,n=e.layoutBlocks,r=e.width,o=e.height;return n&&t?i.a.createElement("div",{className:"genotypes-table"},i.a.createElement("canvas",{ref:"gridCanvas",width:r,height:o}),i.a.createElement("canvas",{ref:"overlayCanvas",width:r,height:o})):i.a.createElement("div",null,i.a.createElement("canvas",{ref:"gridCanvas",width:r,height:o}),i.a.createElement("canvas",{ref:"overlayCanvas",width:r,height:o}))}});t.default=m},"./src/js/components/panoptes/genome/tracks/NumericalSummaryTrack.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/color/index.js"),a=n.n(i),s=n("./node_modules/lodash/min.js"),l=n.n(s),u=n("./node_modules/lodash/max.js"),c=n.n(u),d=n("./node_modules/lodash/sum.js"),p=n.n(d),f=n("./node_modules/lodash/sumBy.js"),h=n.n(f),m=n("./node_modules/lodash/debounce.js"),g=n.n(m),y=n("./node_modules/lodash/sortedIndex.js"),v=n.n(y),b=n("./node_modules/lodash/sortedLastIndex.js"),_=n.n(b),A=n("./node_modules/lodash/isFinite.js"),x=n.n(A),j=n("./node_modules/d3-format/index.js"),w=n("./src/js/mixins/PureRenderWithRedirectedProps.js"),C=n("./src/js/mixins/ConfigMixin.js"),E=n("./src/js/mixins/FluxMixin.js"),k=n("./src/js/mixins/DataFetcherMixin.js"),T=n("./src/js/util/PropertyRegionCache.js"),S=n("./src/js/util/CanvasDrawing.js"),P=n("./src/js/panoptes/ErrorReporter.js"),M=n("./src/js/util/LRUCache.js"),D=n("./src/js/panoptes/API.js"),O=n("./src/js/panoptes/SQL.js"),I=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),R=Object.assign||function(e){for(var t=1;tL),t<=L)return n.i(T.b)(R({},A,{columns:[{expr:f.primKey,as:"primKey"},{expr:f.position,as:"pos"},{expr:c,as:"value"}],groupBy:[],orderBy:[]}),R({},x,{postProcessBlock:void 0}),o).then(function(e){r.applyPointsData(r.props,e),r.props.onChangeLoadStatus("DONE")});r.props.onChangeLoadStatus("DONE")}).catch(function(e){throw r.props.onChangeLoadStatus("DONE"),e}).catch(D.a.filterAborted).catch(M.a.filterCancelled).catch(function(o){throw r.applyData(r.props,[]),n.i(P.a)(r.getFlux(),o.message,function(){return r.fetchData(e,t)}),o})})}["start","end","yMin","yMax"].some(function(t){return r.props[t]!==e[t]})&&this.draw(e),d&&["start","end,","autoYScale"].some(function(t){return r.props[t]!==e[t]})&&this.debouncedYScale(e)}},applyData:function(e,t,n,r){this.blocks=t,r&&(this.pointsBlocks=[]),this.summaryWindow=n,this.draw(e),this.debouncedYScale(e)},applyPointsData:function(e,t){this.pointsBlocks=t,this.draw(e)},draw:function(e){var t=e.yMin,r=e.yMax,o=e.height,i=e.start,s=e.end,l=e.width,u=e.colour,c=e.hideMinMax,d=e.hoverPos;if(this.refs.canvas){var p=this.refs.canvas,f=p.getContext("2d");if(f.clearRect(0,0,p.width,p.height),this.summaryWindow&&this.blocks&&!(this.blocks.length<1)&&x()(t)&&x()(r)){var h=D.a.nullValues[this.blocks[0].min.type],m=this.summaryWindow,g=l/(s-i),y=o/(r-t),v=m*g,b=null,_=null,A=null;c||0!=this.pointsBlocks.length||(f.beginPath(),this.blocks.forEach(function(e){for(var n=e.window.array,r=e.min.array,a=e.max.array,s=0,l=n.length;s3){var s=a.length;a=a.slice(0,2).concat(o.a.createElement("div",null,"+ ",o.a.createElement("a",{onClick:this.redirectedProps.onLegendToggle},s-2," more")))}return o.a.createElement("div",{className:"side-name"},o.a.createElement("div",null,(r!==D.a.nullQuery&&i?"Filtered ":"")+(i?this.tableConfig().capNamePlural+":":"")),o.a.createElement("div",{style:{marginLeft:"-13px"}},a))}}),V=o.a.createClass({displayName:"Legend",mixins:[n.i(A.a)({check:["childrenHash"],redirect:["setProps"]})],render:function(){var e=this;return o.a.createElement("div",{className:"legend"},o.a.createElement("div",{className:"legend-element"},"Tracks:"),o.a.Children.map(this.props.children,function(t,n){return o.a.createElement(I.default,{key:t.props.track,name:t.props.track,colour:t.props.colour,onPickColour:function(t){return e.redirectedProps.setProps(function(e){return e.setIn(["children",n,"props","colour"],t)})}})}))}}),G=o.a.createClass({displayName:"NumericalTrackGroupControls",mixins:[_.a,b.a,n.i(A.a)({check:["interpolation","tension","autoYScale","yMin","yMax","childrenHash","query"],redirect:["setProps"]})],propTypes:{interpolation:o.a.PropTypes.string,tension:o.a.PropTypes.number,autoYScale:o.a.PropTypes.bool,yMin:o.a.PropTypes.number,yMax:o.a.PropTypes.number,setProps:o.a.PropTypes.func,query:o.a.PropTypes.string,children:o.a.PropTypes.node},trackGroups:function e(){var t=this.props.table,e={};return c()(this.config.tables,function(r){if(r.id===t||!t){e[r.id]={name:r.capNamePlural,icon:r.icon};var i={};c()(L()(r.properties,function(e){return e.showInBrowser&&e.id!==r.chromosome&&e.id!==r.position&&e.isNumerical&&!e.isCategorical}),function(e){var t=void 0!==e.groupId?e.groupId:"_UNGROUPED_";i.hasOwnProperty(t)||(i[t]={name:r.propertyGroupsById[t].name,items:{}}),i[t].items[e.id]={name:e.name,description:e.description,icon:e.icon,payload:n.i(k.a)(o.a.createElement(T.default,{table:r.id,track:e.id}))}}),e[r.id].itemGroups=i}}),e},handleTrackChange:function(e){this.getFlux().actions.session.modalClose(),this.redirectedProps.setProps(function(t){return t.set("children",a.a.List(e))})},handleQueryPick:function(e){this.redirectedProps.setProps({query:e})},render:function(){var e=this,t=this.props,n=t.autoYScale,r=t.yMin,i=t.yMax,a=t.children,s=t.table,u=t.query,c=this.getFlux().actions;return o.a.createElement("div",{className:"channel-controls"},o.a.createElement("div",{className:"control-group"},o.a.createElement("div",{className:"control"},o.a.createElement(E.a,{label:"Add/Remove Tracks",primary:!0,onClick:function(){return c.session.modalOpen(o.a.createElement(M.default,{title:"Pick tracks to be displayed",itemName:"numerical track",pickVerb:"display",groups:e.trackGroups(),initialSelection:o.a.Children.map(a,function(t){return{groupId:t.props.table,itemGroupId:e.config.tablesById[t.props.table].propertiesById[t.props.track].groupId||"_UNGROUPED_",itemId:t.props.track}}),onPick:e.handleTrackChange}))}}))),o.a.createElement("div",{className:"control-group"},s?o.a.createElement("div",{className:"control"},o.a.createElement(F.default,{prepend:"Filter:",table:s,query:u})):null,s?o.a.createElement("div",{className:"control"},o.a.createElement(N.default,{table:s,query:u,onPick:this.handleQueryPick})):null),o.a.createElement("div",{className:"control-group"},o.a.createElement("div",{className:"control"},o.a.createElement("div",{className:"label"},"Auto Y Scale:"),o.a.createElement(w.a,{name:"autoYScale",value:"toggleValue1",checked:n,style:{width:"inherit"},onCheck:function(t,n){return e.redirectedProps.setProps({autoYScale:n})}})),n?null:o.a.createElement("div",{className:"control"},o.a.createElement("div",{className:"label"},"Y Min:"),o.a.createElement("input",{className:"numeric-input",ref:"yMin",type:"number",value:r,onChange:function(){var t=parseFloat(e.refs.yMin.value);l()(t)&&e.redirectedProps.setProps({yMin:t})}})),n?null:o.a.createElement("div",{className:"control"},o.a.createElement("div",{className:"label"},"Y Max:"),o.a.createElement("input",{className:"numeric-input",ref:"yMax",type:"number",value:i,onChange:function(){var t=parseFloat(e.refs.yMax.value);l()(t)&&e.redirectedProps.setProps({yMax:t})}}))))}});t.default=W},"./src/js/components/panoptes/genome/tracks/PerRowIndicatorChannel.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/rc-tooltip/lib/index.js"),a=n.n(i),s=n("./node_modules/color/index.js"),l=n.n(s),u=n("./node_modules/react-hammerjs/src/Hammer.js"),c=n.n(u),d=n("./src/js/mixins/ConfigMixin.js"),p=n("./src/js/mixins/PureRenderWithRedirectedProps.js"),f=n("./src/js/mixins/FluxMixin.js"),h=n("./src/js/mixins/DataFetcherMixin.js"),m=n("./node_modules/lodash/map.js"),g=n.n(m),y=n("./node_modules/lodash/isEqual.js"),v=n.n(y),b=n("./node_modules/lodash/transform.js"),_=n.n(b),A=n("./node_modules/lodash/filter.js"),x=n.n(A),j=n("./src/js/panoptes/SQL.js"),w=n("./src/js/util/PropertyRegionCache.js"),C=n("./src/js/panoptes/ErrorReporter.js"),E=n("./src/js/panoptes/PropertySelector.js"),k=n("./src/js/components/panoptes/PropertyLegend.js"),T=n("./src/js/panoptes/API.js"),S=n("./src/js/util/LRUCache.js"),P=n("./src/js/util/CanvasDrawing.js"),M=n("./src/js/components/panoptes/QueryString.js"),D=n("./src/js/components/panoptes/PropertyCell.js"),O=n("./src/js/components/panoptes/genome/tracks/ChannelWithConfigDrawer.js"),I=n("./src/js/components/panoptes/FilterButton.js"),R=n("./src/js/util/Colours.js"),L=n("./node_modules/lodash/forEach.js"),F=n.n(L),N=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),B=Object.assign||function(e){for(var t=1;tr-o?(r-o)/2:t+a/2;n.i(P.b)(g,t,y,a,24,8),a>100&&(g.save(),g.fillStyle="black",g.strokeStyle="white",g.lineWidth=6,g.lineJoin="miter",g.miterLimit=2,g.strokeText("Zoom in",s,y+12),g.fillText("Zoom in",s,y+12),g.restore())}),g.restore(),y=z/2-6;var _=u.length,A=_-6&&w-6&&Cn&&tv-7&&Math.abs(e-v)0&&b=15&&1===t.summaryWindow)for(var o=e.base.array,i=0,l=o.length;i0&&c0&&c12&&t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./src/js/mixins/PureRenderMixin.js"),s=i.a.createClass({displayName:"HelloWorld",mixins:[a.a],propTypes:{msg:i.a.PropTypes.string.isRequired},render:function(){var e=this.props,t=e.msg,n=r(e,["msg"]);return i.a.createElement("div",n,"Hello World! ",t)}});t.default=s},"./src/js/components/ui/Icon.js":function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./src/js/mixins/PureRenderMixin.js"),s=n("./node_modules/lodash/startsWith.js"),l=n.n(s),u=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(t,"__esModule",{value:!0});var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./src/js/mixins/PureRenderMixin.js"),s=n("./node_modules/classnames/index.js"),l=n.n(s),u=n("./src/js/components/ui/Icon.js"),c=n("./node_modules/react-hotkeys/lib/index.js"),d=(n.n(c),Object.assign||function(e){for(var t=1;tthis.props.dragToggleDistance)&&this.props.onSetOpen(!this.props.open),this.setState({touchIdentifier:null,touchStartX:null,touchStartY:null,touchCurrentX:null,touchCurrentY:null})}}},{key:"onScroll",value:function(){this.isTouching()&&this.inCancelDistanceOnScroll()&&this.setState({touchIdentifier:null,touchStartX:null,touchStartY:null,touchCurrentX:null,touchCurrentY:null})}},{key:"inCancelDistanceOnScroll",value:function(){return this.props.pullRight?Math.abs(this.state.touchCurrentX-this.state.touchStartX)this.state.touchStartX?this.sidebar_width+this.state.touchStartX-this.state.touchCurrentX:this.sidebar_width:Math.min(window.innerWidth-this.state.touchCurrentX,this.sidebar_width):this.props.open&&this.state.touchStartXthis.state.touchStartX?this.sidebar_width:this.sidebar_width-this.state.touchStartX+this.state.touchCurrentX:Math.min(this.state.touchCurrentX,this.sidebar_width)}},{key:"render",value:function(){var e=c({},h.sidebar,this.props.styles.sidebar),t=c({},h.sidebarContainer,this.props.styles.sidebarContainer),n=c({},h.content,this.props.styles.content),r=c({},h.overlay,this.props.styles.overlay),o=this.state.dragSupported&&this.props.touch,i=this.isTouching(),a={className:this.props.rootClassName,style:c({},h.root,this.props.styles.root)},l=void 0;if(this.props.pullRight?(e.right=0,e.transform="translateX(100%)",e.WebkitTransform="translateX(100%)",this.props.shadow&&(e.boxShadow="-2px 2px 4px rgba(0, 0, 0, 0.15)")):(e.left=0,e.transform="translateX(-100%)",e.WebkitTransform="translateX(-100%)",this.props.shadow&&(e.boxShadow="2px 2px 4px rgba(0, 0, 0, 0.15)")),i){var u=this.touchSidebarWidth()/this.sidebar_width;this.props.pullRight?(e.transform="translateX("+100*(1-u)+"%)",e.WebkitTransform="translateX("+100*(1-u)+"%)"):(e.transform="translateX(-"+100*(1-u)+"%)",e.WebkitTransform="translateX(-"+100*(1-u)+"%)"),r.opacity=u,r.visibility="visible"}else this.props.docked?(0!==this.sidebar_width&&(e.transform="translateX(0%)",e.WebkitTransform="translateX(0%)"),this.props.pullRight?n.right=this.sidebar_width+"px":n.left=this.sidebar_width+"px"):this.props.open&&(e.transform="translateX(0%)",e.WebkitTransform="translateX(0%)",r.opacity=1,r.visibility="visible");if(!i&&this.props.transitions||(e.transition="none",e.WebkitTransition="none",n.transition="none",r.transition="none"),o)if(this.props.open)a.onTouchStart=this.onTouchStart,a.onTouchMove=this.onTouchMove,a.onTouchEnd=this.onTouchEnd,a.onTouchCancel=this.onTouchEnd,a.onScroll=this.onScroll;else{var d=c({},h.dragHandle,this.props.styles.dragHandle);d.width=this.props.touchHandleWidth,this.props.pullRight?d.right=0:d.left=0,l=s.a.createElement("div",{style:d,onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd,onTouchCancel:this.onTouchEnd})}return s.a.createElement("div",a,s.a.createElement("div",{className:this.props.sidebarClassName,style:c({width:this.sidebar_width+"px"},e),ref:"sidebar"},s.a.createElement("div",{style:t},this.props.sidebar)),s.a.createElement("div",{className:this.props.overlayClassName,style:r,role:"presentation",tabIndex:"0",onClick:this.overlayClicked}),s.a.createElement("div",{className:this.props.contentClassName,style:n},l,this.props.children))}}]),t}(s.a.Component);m.displayName="Sidebar",m.propTypes={children:s.a.PropTypes.node.isRequired,styles:s.a.PropTypes.shape({root:s.a.PropTypes.object,sidebar:s.a.PropTypes.object,content:s.a.PropTypes.object,overlay:s.a.PropTypes.object,dragHandle:s.a.PropTypes.object}),rootClassName:s.a.PropTypes.string,sidebarClassName:s.a.PropTypes.string,contentClassName:s.a.PropTypes.string,overlayClassName:s.a.PropTypes.string,sidebar:s.a.PropTypes.node.isRequired,docked:s.a.PropTypes.bool,open:s.a.PropTypes.bool,transitions:s.a.PropTypes.bool,touch:s.a.PropTypes.bool,touchHandleWidth:s.a.PropTypes.number,pullRight:s.a.PropTypes.bool,shadow:s.a.PropTypes.bool,dragToggleDistance:s.a.PropTypes.number,onSetOpen:s.a.PropTypes.func},m.defaultProps={docked:!1,open:!1,transitions:!0,touch:!0,touchHandleWidth:20,pullRight:!1,shadow:!0,dragToggleDistance:30,onSetOpen:function(){},styles:{}},t.default=m},"./src/js/components/ui/SidebarHeader.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/components/ui/Icon.js"),s=o.a.createClass({displayName:"SidebarHeader",mixins:[i.a],propTypes:{icon:o.a.PropTypes.string.isRequired,description:o.a.PropTypes.node},render:function(){var e=this.props,t=e.icon,n=e.description;return o.a.createElement("div",{className:"sidebar-header"},o.a.createElement("div",{className:"icon-holder"},o.a.createElement(a.default,{name:t})),o.a.createElement("span",{className:"description"},n||o.a.createElement("i",null,"No description")),o.a.createElement("div",{style:{clear:"both"}}))}});t.default=s},"./src/js/components/ui/TabPane.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./node_modules/classnames/index.js"),a=n.n(i),s=n("./src/js/mixins/PureRenderMixin.js"),l=n("./node_modules/lodash/assign.js"),u=n.n(l),c=Object.assign||function(e){for(var t=1;t100&&t.y>50&&this.props.onDragAway)return this.props.onDragAway(e,{x:t.x,y:t.y}),!1;this.refs["drag_"+e].setState({dragging:!1,x:0,y:0}),this.setState({dragging:!1})},renderTab:function(e){var t=this,n=this.state,r=n.icons,i=n.titles,a=e.props.compId,l={tab:!0,active:a===this.props.activeTab,inactive:a!==this.props.activeTab,dragging:a===this.state.dragging},u="";this.props.onClose&&(u=o.a.createElement(f.default,{className:"action close",name:"close",onClick:this.handleClose.bind(this,a)}));var c=o.a.createElement("div",{className:s()(l),onClick:this.handleClick.bind(this,a)},r[a]?o.a.createElement(f.default,{name:r[a]}):null,o.a.createElement("div",{className:"title"},i[a]),this.props.unclosableTabs.indexOf(a)===-1?u:null);return this.props.onDragAway&&this.props.unclosableTabs.indexOf(a)===-1&&(c=o.a.createElement(m.a,{ref:"drag_"+a,key:a,defaultPosition:{x:0,y:0},onStop:function(){return t.handleDragStop(a)},onDrag:function(){return t.setState({dragging:a})}},c)),c},renderPane:function(e){var t=this;return o.a.cloneElement(e,{active:e.props.compId===this.props.activeTab,key:e.props.compId,ref:e.props.compId,updateTitleIcon:function(){return t.forceUpdate()},replaceable:this.props.unreplaceableTabs.indexOf(e.props.compId)===-1})},render:function(){var e=this,t=v()({},this.props);delete t.unclosableTabs,delete t.unreplaceableTabs,delete t.activeTab,delete t.onSwitch,delete t.onClose,delete t.onAddTab,delete t.onDragAway;var r=n.i(g.a)(this,this.props.children);return o.a.createElement("div",A({},t,{className:"tabbed-area"}),o.a.createElement("div",{className:"tabs"},i.a.map(r,this.renderTab,this),this.props.onAddTab?o.a.createElement(f.default,{className:"pointer",name:"plus-circle",onClick:this.handleAddTab}):null),o.a.createElement("div",{className:"tab-content",onClick:function(t){return e.handleClick(e.props.activeTab,t)}},i.a.map(r,this.renderPane,this)))}});t.default=x},"./src/js/components/ui/ToggleBox.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/js/components/panoptes/Content.js"),s=n("./src/js/util/filterChildren.js"),l=o.a.createClass({displayName:"ToggleBox",mixins:[i.a],propTypes:{isHidden:o.a.PropTypes.bool,children:function e(t,r,i){var e=n.i(s.a)(this,o.a.Children.toArray(t[r]));if(!("Caption"===e[0].type&&e[1].type===a.default||"Caption"===e[1].type&&e[0].type===a.default))return new Error("`"+i+"` should have two children: one Caption and one Content")}},getDefaultProps:function(){return{isHidden:!0}},getInitialState:function(){return{isHidden:this.props.isHidden}},handleToggle:function(){this.setState({isHidden:!this.state.isHidden})},render:function(){var e=this.props.children;if(e=n.i(s.a)(this,o.a.Children.toArray(e)),!("Caption"===e[0].type&&e[1].type===a.default||"Caption"===e[1].type&&e[0].type===a.default))throw Error("ToggleBox should have two children: one Caption and one Content");var t="Caption"===e[0].type?e[0]:e[1],r=e[0].type===a.default?e[0]:e[1],i=this.state.isHidden?"block":"none",l=this.state.isHidden?"none":"block";return o.a.createElement("div",null,o.a.createElement("div",{style:{display:"table-cell",verticalAlign:"top",margin:"2px",textAlign:"center",width:"1em",padding:"1px"}},o.a.createElement("div",{style:{cursor:"pointer",borderRadius:"5px",border:"1px solid black"},onClick:this.handleToggle},o.a.createElement("div",{style:{display:i}},"+"),o.a.createElement("div",{style:{display:l}},"-"))),o.a.createElement("div",{style:{display:"table-cell",verticalAlign:"top",margin:"2px"}},o.a.createElement("div",null,t.props.children),o.a.createElement("div",{style:{display:l}},r)))}});t.default=l},"./src/js/components/ui/TooltipEllipsis.js":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("./node_modules/react/react.js"),o=n.n(r),i=n("./src/js/mixins/PureRenderMixin.js"),a=n("./src/styles/tooltip-ellipsis.scss"),s=(n.n(a),o.a.createClass({displayName:"TooltipEllipsis",mixins:[i.a],propTypes:{className:o.a.PropTypes.string,children:o.a.PropTypes.any},componentDidMount:function(){this.componentDidUpdate()},componentDidUpdate:function(){this.element.offsetWidth0)throw Error("Client is not authenticated");throw Error("Invalid server response type")}if("Error"in e)throw Error("Error: "+e.Error);if("issue"in e)throw Error(e.issue);return e}function o(e){if("__CANCELLED__"==e||0===e.status&&0==e.readyState)return"__SUPERSEEDED__";throw e}function i(e){return"Error: "+(e.statusText||e.message)}function a(e){var t=N.a.encode(e);if(t=t.replace(/\+/g,"-"),t=t.replace(/\//g,"_"),N.a.decode(t)!=e)throw Error("Invalid encoding");return t}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r={url:W,method:t,params:{},timeout:6e4,data:n};for(var o in e.params)null===e.params[o]&&delete e.params[o];return e.cancellation&&e.cancellation.isFulfilled()?Promise.reject("__CANCELLED__"):k()(z()(r,e)).then(k.a.filterSuccess)}function l(e){return s(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",arguments.length>2&&void 0!==arguments[2]?arguments[2]:null).then(k.a.toJSON).then(r)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.responseType="arraybuffer",s(e,t,r).then(function(e){var t=e.response;return n.i(T.a)(t)})}function c(e){n.i(R.assertRequired)(e,["database","table","tree"]);var t=e.database,r=e.table,o=e.tree;return l(H({},e.cancellation?{cancellation:e.cancellation}:{},{params:{datatype:"getgraph",database:t,tableid:r,graphid:o}})).then(function(e){return e})}function d(e){return e=N.a.encode(JSON.stringify(e)),l({method:"POST",params:{datatype:"storedata"},data:e}).then(function(e){return e.id})}function p(e){return l({params:{datatype:"fetchstoredata",id:e}}).then(function(e){return JSON.parse(N.a.decode(e.content))})}function f(e){n.i(R.assertRequired)(e,["database","table","columns","primKey","primKeyValue"]);var t=e.database,r=e.table,o=e.columns,i=e.primKey,a=e.primKeyValue;return w({cancellation:e.cancellation,database:t,table:r,columns:o,query:L.a.WhereClause.encode(L.a.WhereClause.CompareFixed(i,"=",a)),transpose:!0}).then(function(e){if(0===e.length)throw Error("Tried to get non-existent record "+a);return e[0]})}function h(e){n.i(R.assertRequired)(e,["database","search","maxMatches"]);var t=e.database,r=e.search,o=e.maxMatches;return l(H({},e.cancellation?{cancellation:e.cancellation}:{},{params:{datatype:"findgene",database:t,table:"annotation",pattern:r,count:o,reportall:1}})).then(function(e){var t=F.a.ValueListDecoder();return["Chroms","Descrs","Ends","Hits","IDs","Starts"].forEach(function(n){return e[n]=t.doDecode(e[n])}),e={chromosomes:e.Chroms,descriptions:e.Descrs,ends:e.Ends,hits:e.Hits,ids:e.IDs,starts:e.Starts}})}function m(e){n.i(R.assertRequired)(e,["database","chromosome","startPosition","endPosition"]);var t=e.database,r=e.chromosome,o=e.startPosition,i=e.endPosition;return w({database:t,table:"annotation",columns:["fid","fname","descr","fstart","fstop"],query:L.a.WhereClause.encode(L.a.WhereClause.AND([L.a.WhereClause.CompareFixed("chromid","=",r),L.a.WhereClause.CompareFixed("fstop",">=",o),L.a.WhereClause.CompareFixed("fstart","<=",i),L.a.WhereClause.CompareFixed("ftype","=","gene")])),transpose:!0})}function g(e){n.i(R.assertRequired)(e,["database","geneId"]);var t=e.database,r=e.geneId;return w({database:t,table:"annotation",columns:["fid","chromid","fname","fnames","descr","fstart","fstop","fparentid","ftype"],query:L.a.WhereClause.encode(L.a.WhereClause.CompareFixed("fid","=",r)),transpose:!0}).then(function(e){if(0===e.length)throw Error("Tried to get non-existent record "+r);return e[0]})}function y(e){return n.i(R.assertRequired)(e,["dataset"]),w({database:"datasets",table:"calculations",columns:["id","user","timestamp","name","status","progress","completed","failed","scope"],query:L.a.nullQuery,orderBy:[["desc","timestamp"]],transpose:!0,cache:!1})}function v(e){n.i(R.assertRequired)(e,["logId"]);var t=e.logId;return l(H({},e.cancellation?{cancellation:e.cancellation}:{},{params:{datatype:"getcalculationlog",id:t}})).then(function(e){return e.Content})}function b(e){return l({params:{datatype:"fileload_dataset",ScopeStr:"all",SkipTableTracks:"false",datasetid:e}}).then(function(e){return JSON.parse(N.a.decode(e.content))})}function _(e){n.i(R.assertRequired)(e,["database","table"]);var t={query:L.a.nullQuery},r=H({},t,e),o=r.database,i=r.table,s=r.query;return l(H({},e.cancellation?{cancellation:e.cancellation}:{},{params:{datatype:"getrecordcount",database:o,tbname:i,qry:a(s)}})).then(function(e){return e.TotalRecordCount})}function A(e){n.i(R.assertRequired)(e,["dataset","path","action","content"]);var t=e.dataset,r=e.path,o=e.action,i=e.content;return l(H({},e.cancellation?{cancellation:e.cancellation}:{},{method:"POST",data:JSON.stringify(i),params:{dataset:t,path:r,action:o,datatype:"modifyconfig"}})).then(function(e){return e.config})}function x(e){n.i(R.assertRequired)(e,["dataset","path","content"]);var t=e.dataset,r=e.path,o=e.content;return l(H({},e.cancellation?{cancellation:e.cancellation}:{},{method:"POST",data:o,params:{dataset:t,path:r,datatype:"replaceconfig"}})).then(function(e){return e.config})}function j(e){n.i(R.assertRequired)(e,["dataset","table"]);var t={colQry:L.a.WhereClause.encode(L.a.WhereClause.Trivial()),rowQry:L.a.WhereClause.encode(L.a.WhereClause.Trivial()),colOrder:null,rowOrder:null,colProperties:"",rowProperties:"","2DProperties":"",sortMode:null,rowSortProperty:null,rowSortCols:"",colKey:null,rowOffset:null,rowLimit:null,colFailLimit:null,rowRandomSample:null},r=H({},t,e),o=r.dataset,i=r.table,s=r.colQry,l=r.rowQry,c=r.colOrder,d=r.rowOrder,p=r.colProperties,f=r.rowProperties,h=r.sortMode,m=r.rowSortProperty,g=r.rowSortCols,y=r.colKey,v=r.rowOffset,b=r.rowLimit,_=r.colFailLimit,A=r.rowRandomSample,x=H({},t,e)["2DProperties"];return u(H({},e.cancellation?{cancellation:e.cancellation}:{},{params:{datatype:"2d_query",dataset:o,table:i,colQry:a(s),rowQry:a(l),colOrder:c,rowOrder:d,colProperties:p,rowProperties:f,"2DProperties":x,sortMode:h,rowSortProperty:m,rowSortCols:g,colKey:y,rowOffset:v,rowLimit:b,colFailLimit:_,rowRandomSample:A}}))}function w(e){n.i(R.assertRequired)(e,["database","table","columns"]);var t={query:L.a.nullQuery,orderBy:[],groupBy:[],start:void 0,stop:void 0,distinct:!1,transpose:!1,typedArrays:!1,randomSample:void 0,cache:!0},r=H({},t,e),o=r.database,i=r.table,a=r.columns,s=r.query,l=r.orderBy,c=r.groupBy,d=r.start,p=r.stop,f=r.distinct,h=r.transpose,m=r.randomSample,g=r.cache,y=r.typedArrays;return u(H({},e.cancellation?{cancellation:e.cancellation}:{},{params:{datatype:"query"}}),"POST",JSON.stringify({database:o,table:i,query:s,columns:JSON.stringify(a),limit:I()(d)&&I()(p)?d+"~"+p:void 0,distinct:f?"true":"false",orderBy:JSON.stringify(l),groupBy:c.join("~"),randomSample:m,cache:g})).then(function(e){if(y)return e;var t={};return D()(e,function(e,n){return t[n]=Array.prototype.slice.call(e.array)}),D()(t,function(t,n){var r=q[e[n].type];if(void 0!==r)for(var o=0,i=t.length;o>2,s=(3&n)<<4|o>>4,l=(15&o)<<2|i>>6,u=63&i,isNaN(o)?l=u=64:isNaN(i)&&(u=64),t=t+this._keyStr.charAt(a)+this._keyStr.charAt(s)+this._keyStr.charAt(l)+this._keyStr.charAt(u);return t},decode:function(e){for(var t="",n=void 0,o=void 0,i=void 0,a=void 0,s=void 0,l=void 0,u=void 0,c=0;c>4,o=(15&s)<<4|l>>2,i=(3&l)<<6|u,t+=String.fromCharCode(n),64!=l&&(t+=String.fromCharCode(o)),64!=u&&(t+=String.fromCharCode(i));return t=r._utf8Decode(t)},_utf8Encode:function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},_utf8Decode:function(e){var t="",n=0,r=void 0,o=void 0,i=void 0;for(r=o=0;n191&&r<224?(o=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&o),n+=2):(o=e.charCodeAt(n+1),i=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&i),n+=3);return t}};t.a=r},"./src/js/panoptes/DataDecoders.js":function(e,t,n){"use strict";function r(e){if("number"!=typeof e)throw Error("Expected number got"+(void 0===e?"undefined":o(e)))}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i={};i.B64=function(){var e={};e.encodestr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",e.invencode=[];for(var t=0;t<255;t++)e.invencode.push(0);for(var n=0;n>=1;return o},t.getRecordLength=function(){return this.byteCount},t},i.Encoder.MultiCatCount=function(e){var t={};r(e.CatCount),r(e.EncoderLen),t.catCount=parseInt(e.CatCount),t.encoderlen=parseInt(e.EncoderLen);var n=i.B64();return t.decodeArray=function(e){for(var r=e.length,o=[],i=0;i3&&void 0!==arguments[3]?arguments[3]:5;console.error(t);var o={title:"Error",level:"error",message:t,autoDismiss:r};n&&(o.action={label:"Retry",callback:n}),e.actions.session.notify(o)}t.a=r},"./src/js/panoptes/FindBlocks.js":function(e,t,n){"use strict";function r(e,t){var n=Math.max(e,0),r=Math.max(1,Math.pow(2,Math.ceil(Math.log(3*(t-e))/Math.log(2)))),o=Math.floor(n/r)*r,i=o+r,a=o+(e>=o+r/2?r/2:-r/2),s=a+r;return a>e||sMath.min(s-t,e-a)?[[o,i],[a,s]]:[[a,s],[o,i]]}t.a=r},"./src/js/panoptes/Formatter.js":function(e,t,n){"use strict";var r=function(e){return new Date(24*(e-2440587.5)*60*60*1e3)};t.a=function(e,t){if(e.isText)return null===t?"":t;if(null===t||isNaN(t))return"NULL";if(e.isBoolean)return t?"True":"False";if(e.isDate){var n=r(parseFloat(t));if(isNaN(n.getTime()))return"2000-01-01";var o=function(e){return e<10?"0"+e:e};return n.getUTCFullYear()+"-"+o(n.getUTCMonth()+1)+"-"+o(n.getUTCDate())}return e.isFloat&&""!==t?parseFloat(t).toFixed(e.decimDigits).toLocaleString():!isNaN(t)&&t>999&&t<=9999?t:t.toLocaleString()}},"./src/js/panoptes/InitialConfig.js":function(e,t,n){"use strict";var r=n("./src/js/panoptes/API.js"),o=Object.assign||function(e){for(var t=1;t0},o},u.WhereClause={},u.WhereClause.whcClassGenerator={},u.WhereClause._fieldComparisonOperators=[{ID:"=",name:"=",String:!0,Float:!0,Integer:!0,MultiChoiceInt:!0,Create:function(){return u.WhereClause.CompareFixed("","=","")},fieldType:"value"},{ID:"<>",name:"not =",String:!0,Float:!0,Integer:!0,MultiChoiceInt:!0,Create:function(){return u.WhereClause.CompareFixed("","<>","")},fieldType:"value"},{ID:"<",name:"<",Float:!0,Integer:!0,Create:function(){return u.WhereClause.CompareFixed("","<","")},fieldType:"value"},{ID:">",name:">",Float:!0,Integer:!0,Create:function(){return u.WhereClause.CompareFixed("",">","")},fieldType:"value"},{ID:"<=",name:"<=",Float:!0,Integer:!0,Create:function(){return u.WhereClause.CompareFixed("","<=","")},fieldType:"value"},{ID:">=",name:">=",Float:!0,Integer:!0,Create:function(){return u.WhereClause.CompareFixed("",">=","")},fieldType:"value"},{ID:"between",name:"Between",Float:!0,Integer:!0,Create:function(){return u.WhereClause.CompareBetween("","","")},fieldType:"minMax"},{ID:"CONTAINS",name:"Contains",String:!0,Create:function(){return u.WhereClause.CompareFixed("","CONTAINS","")},fieldType:"value"},{ID:"NOTCONTAINS",name:"Does not contain",String:!0,Create:function(){return u.WhereClause.CompareFixed("","NOTCONTAINS","")},fieldType:"value"},{ID:"STARTSWITH",name:"Starts with",String:!0,Create:function(){return u.WhereClause.CompareFixed("","STARTSWITH","")},fieldType:"value"},{ID:"LIKE",name:"Like",String:!0,Create:function(){return u.WhereClause.CompareFixed("","LIKE","")},fieldType:"value"},{ID:"ISPRESENT",name:"Is present",MultiChoiceInt:!0,Float:!0,Integer:!0,Create:function(){return u.WhereClause.IsPresent()},fieldType:"none"},{ID:"ISABSENT",name:"Is absent",MultiChoiceInt:!0,Float:!0,Integer:!0,Create:function(){return u.WhereClause.IsAbsent()},fieldType:"none"},{ID:"ISNOTEMPTYSTR",name:"Is present",String:!0,Create:function(){return u.WhereClause.IsNotEmptyStr()},fieldType:"none"},{ID:"ISEMPTYSTR",name:"Is absent",String:!0,Create:function(){return u.WhereClause.IsEmptyStr()},fieldType:"none"},{ID:"=FIELD",name:"Equals column",MultiChoiceInt:!0,String:!0,Float:!0,Integer:!0,Create:function(){return u.WhereClause.EqualsField()},fieldType:"otherColumn"},{ID:"<>FIELD",name:"Differs from column",MultiChoiceInt:!0,String:!0,Float:!0,Integer:!0,Create:function(){return u.WhereClause.DiffersField()},fieldType:"otherColumn"},{ID:"FIELD",name:"> Column",Float:!0,Integer:!0,Create:function(){return u.WhereClause.CompareField(">FIELD")},fieldType:"otherColumnWithScaleAndOffset"},{ID:"_subset_",name:"in subset",Create:function(){return u.WhereClause.InSubset()},fieldType:"subset"},{ID:"_note_",name:"has note containing",Create:function(){return u.WhereClause.NoteContains()},fieldType:"note"}],u.WhereClause.getFieldComparisonOperatorInfo=function(e){for(var t in u.WhereClause._fieldComparisonOperators){var n=u.WhereClause._fieldComparisonOperators[t];if(n.ID==e)return n}throw Error("Invalid field comparison operator id "+e)},u.WhereClause.getCompatibleFieldComparisonOperators=function(e){var t=[];for(var n in u.WhereClause._fieldComparisonOperators){var r=u.WhereClause._fieldComparisonOperators[n];r[e]&&t.push(r)}return t},u.WhereClause.whcClassGenerator.comparefixed=function(e){return u.WhereClause.CompareFixed(e.ColName,e.type,e.CompValue)},u.WhereClause.CompareFixed=function(e,t,n){for(var r={},o=!1,i=0;iFIELD",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" <> "+t.fieldInfoMap[e.ColName2].name},e},u.WhereClause.whcClassGenerator.comparefield=function(e){var t=u.WhereClause.CompareField(e.type);return t.ColName=e.ColName,t.ColName2=e.ColName2,t.Factor=e.Factor,t.Offset=e.Offset,t},u.WhereClause.CompareField=function(e){var t={};return t.whcClass="comparefield",t.isCompound=!1,t.ColName="",t.ColName2="",t.type=e,t.Factor=1,t.Offset=0,t.toQueryDisplayString=function(e,n){var r=e.fieldInfoMap[t.ColName].name+" "+t.type[0]+" ";if(Math.abs(t.Factor-1)>1e-9){var o=void 0;if(0==t.Factor)o="0";else{var i=parseFloat(t.Factor),a=Math.max(0,Math.round(4-Math.log(Math.abs(i))/Math.LN10));o=i.toFixed(a)}r+=o+"x"}r+=e.fieldInfoMap[t.ColName2].name;var s=e.fieldInfoMap[t.ColName].toDisplayString(Math.abs(t.Offset));return t.Offset>0&&(r+="+"+s),t.Offset<0&&(r+="-"+s),r},t},u.WhereClause.whcClassGenerator.ispresent=function(e){var t=u.WhereClause.IsPresent();return t.ColName=e.ColName,t},u.WhereClause.IsPresent=function(e){var t={};return e&&(t.ColName=e),t.whcClass="ispresent",t.isCompound=!1,t.type="ISPRESENT",t.toQueryDisplayString=function(e,n){return e.fieldInfoMap[t.ColName].name+" is present"},t},u.WhereClause.whcClassGenerator.isabsent=function(e){var t=u.WhereClause.IsAbsent();return t.ColName=e.ColName,t},u.WhereClause.IsAbsent=function(){var e={};return e.whcClass="isabsent",e.isCompound=!1,e.type="ISABSENT",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" is absent"},e},u.WhereClause.whcClassGenerator.isstringnonempty=function(e){var t=u.WhereClause.IsNotEmptyStr();return t.ColName=e.ColName,t},u.WhereClause.IsNotEmptyStr=function(){var e={};return e.whcClass="isstringnonempty",e.isCompound=!1,e.type="ISNOTEMPTYSTR",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" is present"},e},u.WhereClause.whcClassGenerator.isstringempty=function(e){var t=u.WhereClause.IsEmptyStr();return t.ColName=e.ColName,t},u.WhereClause.IsEmptyStr=function(){var e={};return e.whcClass="isstringempty",e.isCompound=!1,e.type="ISEMPTYSTR",e.toQueryDisplayString=function(t,n){return t.fieldInfoMap[e.ColName].name+" is absent"},e},u.WhereClause.whcClassGenerator._subset_=function(e){var t=u.WhereClause.InSubset();return t.Subset=e.Subset,t.SubsetTable=e.SubsetTable,t.PrimKey=e.PrimKey,t},u.WhereClause.InSubset=function(){var e={};return e.whcClass="_subset_",e.isCompound=!1,e.type="_subset_",e.ColName="_subset_",e.toQueryDisplayString=function(e,t){var n="[Unknown]";return e.subsetMap[this.Subset]&&(n=e.subsetMap[this.Subset].name),'in subset "'+n+'"'},e},u.WhereClause.whcClassGenerator._note_=function(e){var t=u.WhereClause.NoteContains();return t.NoteText=e.NoteText,t.PrimKey=e.PrimKey,t.NoteItemTable=e.NoteItemTable,t},u.WhereClause.NoteContains=function(){var e={};return e.whcClass="_note_",e.isCompound=!1,e.type="_note_",e.ColName="_note_",e.NoteText="",e.toQueryDisplayString=function(e,t){return'has note containing "'+this.NoteText+'"'},e},u.WhereClause.whcClassGenerator.trivial=function(e){return u.WhereClause.Trivial()},u.WhereClause.Trivial=function(){var e={};return e.whcClass="trivial",e.isCompound=!1,e.type="",e.isTrivial=!0,e.toQueryDisplayString=function(e,t){return"All"},e},u.WhereClause.whcClassGenerator.none=function(e){return u.WhereClause.None()},u.WhereClause.None=function(){var e={};return e.whcClass="none",e.isCompound=!1,e.type="None",e.isNone=!0,e.toQueryDisplayString=function(e,t){return"None"},e},u.WhereClause.whcClassGenerator.compound=function(e){var t=u.WhereClause.Compound(e.type,[]);return e.components.forEach(function(e,n){return t.addComponent(u.WhereClause.whcClassGenerator[e.whcClass](e))}),t},u.WhereClause.Compound=function(e,t){if("AND"!=e&&"OR"!=e)throw Error("Invalid compound where clause statement: "+e);var n={};return n.whcClass="compound",n.isCompound=!0,n.type=e,n.components=a()(t,function(e){return!e.isTrivial}),null==n.components&&(n.components=[]),n.addComponent=function(e){e.parent=n,this.components.push(e)},n.getComponentCount=function(){return this.components.length},n.inlineIfOneChild=function(){if(1===n.getComponentCount()){var e=n.parent,t=n.isRoot;l()(n,n.components[0]),n.parent=e,n.isRoot=t}},n.removeChild=function(e){n.components=n.components.filter(function(t){return t!==e}),n.inlineIfOneChild()},n.toQueryDisplayString=function(e,t){t||(t=0);var r=[];n.components.forEach(function(n,o){return r.push(n.toQueryDisplayString(e,t+1))});var o=" "+n.type+" ",i=r.join(o);return 1==t&&(i="["+i+"]"),t>1&&(i="("+i+")"),i},n},u.WhereClause.AND=function(e){return u.WhereClause.Compound("AND",e)},u.WhereClause.OR=function(e){return u.WhereClause.Compound("OR",e)},u.WhereClause.encode=function(e){function t(e){delete e.parent,e.Components=void 0===e.components?e.Components:e.components,e.Tpe=void 0===e.type?e.Tpe:e.type,e.components&&e.components.forEach(t),delete e.components,delete e.type}return e=o()(e),t(e),JSON.stringify(e)},u.WhereClause.decode=function(e){function t(e,n){n.components=void 0===n.Components?n.components:n.Components,n.type=void 0===n.Tpe?n.type:n.Tpe,delete n.Tpe,delete n.Components,n.components&&n.components.forEach(t.bind(this,n))}function n(e,t){t.parent=e,t.components&&t.components.forEach(n.bind(this,t))}function r(e,t){t.isCompound&&t.inlineIfOneChild(),t.components&&t.components.forEach(r.bind(this,t))}try{e=JSON.parse(e)}catch(e){return console.error("Bad query - can't parse. Using null query"),u.WhereClause.Trivial()}t(null,e);var o=u.WhereClause.whcClassGenerator[e.whcClass](e);return n(null,o),r(null,o),o.isRoot=!0,o},u.WhereClause.clone=function(e){return u.WhereClause.decode(u.WhereClause.encode(e))},u.WhereClause.createRestriction=function(e,t){var n=u.WhereClause.clone(e);return n.isTrivial?t:n.isCompound&&"AND"==n.type?(n.addComponent(t),n):u.WhereClause.AND([n,t])},u.WhereClause.createValueRestriction=function(e,t,n,r){r||(r="=");var o=u.WhereClause.clone(e),i=u.WhereClause.CompareFixed(t,r,n.toString());if(o.isTrivial)return i;var a=null;return o.type==r&&o.ColName==t&&(a=o),o.isCompound&&"AND"==o.type&&o.components.forEach(function(e,n){e.type==r&&e.ColName==t&&(a=e)}),a?(a.CompValue=n,o):o.isCompound&&"AND"==o.type?(o.addComponent(i),o):u.WhereClause.AND([o,i])},u.WhereClause.createRangeRestriction=function(e,t,n,r,o){var i=u.WhereClause.clone(e),a=u.WhereClause.CompareBetween(t,n.toString(),r.toString());if(i.isTrivial)return a;var s=null;return"between"==i.type&&i.ColName==t&&(s=i),i.isCompound&&"AND"==i.type&&i.components.forEach(function(e,n){"between"==e.type&&e.ColName==t&&(s=e)}),s?(o?(s.CompValueMin=n.toString(),s.CompValueMax=r.toString()):(s.CompValueMin=Math.max(parseFloat(s.CompValueMin),parseFloat(n)).toString(),s.CompValueMax=Math.min(parseFloat(s.CompValueMax),parseFloat(r)).toString()),i):i.isCompound&&"AND"==i.type?(i.addComponent(a),i):u.WhereClause.AND([i,a])},u.TableSort=function(e){var t={};return t.columnList=e,t.getPrimaryColumnID=function(){return this.columnList[this.columnList.length-1]},t.toString=function(){return this.columnList.join("~")},t},u.nullQuery=u.WhereClause.encode(u.WhereClause.Trivial()),t.a=u},"./src/js/panoptes/SummarisationCache.js":function(e,t,n){"use strict";var r=n("./src/js/util/LRUCache.js"),o=n("./src/js/panoptes/API.js"),i=n("./src/js/util/Assert.js"),a=(n.n(i),n("./node_modules/lodash/map.js")),s=n.n(a),l=n("./node_modules/lodash/transform.js"),u=n.n(l),c=n("./node_modules/lodash/reduce.js"),d=n.n(c),p=n("./node_modules/lodash/forEach.js"),f=n.n(p),h=n("./src/js/panoptes/SQL.js"),m=Object.assign||function(e){for(var t=1;t=",e*E),h.a.WhereClause.CompareFixed(j,"<",(e+y)*E)])),groupBy:["block"]};return r.a.get("summarisation"+JSON.stringify(n),function(e){return o.a.query(m({cancellation:e},n))},C)}),D=function(e){if(e.length>0){var t=S-Math.floor(S/y)*y,n=P-Math.floor(P/y)*y;e=e.map(function(r,o){return u()(r,function(r,i,a){var s=i.data,l=i.summariser;0==o||o==e.length-1?r[a]={data:s.slice(0==o?t:0,o==e.length-1?n:void 0),summariser:l}:r[a]={data:s,summariser:l}})})}var r=u()(l,function(t,n,r){return t[r]={data:[],summariser:e[0][r].summariser}});return{columns:d()(e,function(e,t){return f()(t,function(t,n){var r=t.data;return Array.prototype.push.apply(e[n].data,r)}),e},r),dataStart:S*E,dataStep:E,chromosome:c}};return Promise.all(M).then(D)}};t.a=A},"./src/js/panoptes/TickWidth.js":function(e,t,n){"use strict";t.a=function(e,t,n){return Math.pow(5,Math.floor(Math.log(e/(t/n)*2)/1.6094379124341003))}},"./src/js/panoptes/arrayBufferDecode.js":function(e,t,n){"use strict";function r(e){var t=e.readCString();"S"===t&&(t="|S");for(var n=e.readUint8(),r=[],o=0;o":a=s.a.BIG_ENDIAN;break;case"|":a=s.a.LITTLE_ENDIAN;break;default:throw Error("dtype doesn't start with endianness")}var l=void 0,u=t.substring(1);switch(u){case"u1":l=e.readUint8Array(i);break;case"u2":l=e.readUint16Array(i,a);break;case"u4":l=e.readUint32Array(i,a);break;case"i1":l=e.readInt8Array(i);break;case"i2":l=e.readInt16Array(i,a);break;case"i4":l=e.readInt32Array(i,a);break;case"f4":l=e.readFloat32Array(i,a);break;case"f8":l=e.readFloat64Array(i,a);break;case"S":l=[];for(var c=0;c0,t.showByDefault="tableDefaultVisible"in t?t.tableDefaultVisible:t.isPrimKey||t.id==e.chromosome||t.id==e.position||!1,t.defaultValue=(t.distinctValues||{})[0]||{Text:"",Float:0,Double:0,Int8:0,Int16:0,Int32:0,Boolean:!0,GeoLatitude:0,GeoLongitude:0,Date:0}[t.dataType]}),e.hasGeoCoord=!(!e.longitude||!e.latitude)}});t.a=C},"./src/js/stores/PanoptesStore.js":function(e,t,n){"use strict";var r=n("./node_modules/fluxxor/index.js"),o=n.n(r),i=n("./node_modules/immutable/dist/immutable.js"),a=n.n(i),s=n("./src/js/constants/Constants.js"),l=s.a.API,u=o.a.createStore({initialize:function(e){this.state=a.a.fromJS(e),this.bindActions(l.FETCH_USER_SUCCESS,this.fetchUserSuccess,l.FETCH_USER_FAIL,this.fetchUserFail)},fetchUserSuccess:function(e){this.state=this.state.set("user",e),this.emit("change")},fetchUserFail:function(e){console.error("fetchUserFail: %o",e)},getState:function(){return this.state},getStoredSubsetsFor:function(e){return this.state.getIn(["storedSubsets",e])||[]}});t.a=u},"./src/js/stores/SessionStore.js":function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t1&&void 0!==arguments[1]?arguments[1]:"change";return function(r){var o=t.state;e(r),o.equals(t.state)&&"notify"!==n||t.emit(n)}},componentSetProps:function(e){var t=e.componentPath,n=e.updater;h()(n)?this.state=this.state.updateIn(["components"].concat(r(t),["props"]),n):this.state=this.state.mergeDeepIn(["components"].concat(r(t),["props"]),n)},componentReplace:function(e){var t=e.componentPath,n=e.newComponent;this.state=this.state.setIn(["components"].concat(r(t)),n)},modalClose:function(){this.modal=null,this.emit("change")},modalOpen:function(e){this.modal=e,this.emit("change")},modalSetProps:function(e){var t=e.updater;h()(t)?this.modal=i.a.cloneElement(this.modal,t(this.modal.props)):this.modal=i.a.cloneElement(this.modal,t),this.emit("change")},notify:function(e){this.lastNotification=e},popupClose:function(e){var t=e.compId,n=e.keep,r=this.state.getIn(["popups","components"]).filter(function(e){return e!==t});this.state=this.state.setIn(["popups","components"],r);for(var o=0,i=this.state.get("popupSlots").size;othis.state.get("popupSlots").size)return console.error("nextPopupSlotIndex > this.state.get('popupSlots').size"),console.info("nextPopupSlotIndex: %o",s),console.info("this.state.get('popupSlots').size: %o",this.state.get("popupSlots").size),null;s===this.state.get("popupSlots").size?this.state=this.state.set("popupSlots",this.state.get("popupSlots").push(n)):this.state=this.state.setIn(["popupSlots",s],n);var p=200,f=Math.floor((window.innerHeight-p)/C),h=Math.floor((window.innerWidth-p)/C);a={x:50+s%f*C+Math.floor(s/f)%h*C,y:50+s%f*C}}this.state=this.state.setIn(["popups","state",n,"position"],u.a.Map(a||i))}},popupResize:function(e){var t=e.compId,n=e.size;this.state=this.state.mergeIn(["popups","state",t,"size"],n)},popupToTab:function(e){this.tabOpen(y({switchTo:!0},e)),this.popupClose(y({keep:!0},e))},tabClose:function(e,t){var n=e.compId,r=e.keep;if(t||this.state.getIn(["components",n,"type"])!==_){var o=this.state.getIn(["tabs","components"]).indexOf(n);if(o===-1)throw Error("Closed non-existant tab");var i=this.state.getIn(["tabs","components"]).delete(o);this.state=this.state.setIn(["tabs","components"],i),0==i.size?this.tabOpen({component:{component:b},switchTo:!0}):n===this.state.getIn(["tabs","selectedTab"])&&(o=window.innerWidth&&(a=window.innerWidth-o-1)=window.innerHeight&&(s=window.innerHeight-i-1)=1){var r=t.latLng(i()(e,function(e){return e.lat}).lat,s()(e,function(e){return e.lng}).lng),o=t.latLng(s()(e,function(e){return e.lat}).lat,i()(e,function(e){return e.lng}).lng);n=t.latLngBounds(r,o)}return n}var o=n("./node_modules/lodash/maxBy.js"),i=n.n(o),a=n("./node_modules/lodash/minBy.js"),s=n.n(a);t.a={calcMapBounds:r}},"./src/js/util/CanvasDrawing.js":function(e,t,n){"use strict";function r(e,t,n,r,o,i){e.rect(t,n,r,o),e.save(),e.clip();var a=Math.max(r,o);e.beginPath();for(var s=-1*a;s1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return function(){return"inherit"};if(e.valueColours)return function(t){return e.valueColours[t]||e.valueColours._other_||"#777777"};if(e.isBoolean)return i();if(e.isCategorical){var a=r(e.tableId+"_"+e.id);return e.distinctValues&&e.distinctValues.forEach(a),a}return e.isText?r(e.tableId+"_"+e.id):o([t||e.minVal,n||e.maxVal])}var s=n("./node_modules/d3-scale/index.js"),l=n("./node_modules/d3-interpolate/index.js");n.d(t,"a",function(){return c}),n.d(t,"e",function(){return d}),t.d=r,t.c=o,t.b=a;var u={},c=["#1f77b4","#ff7f0e","#2ca02c","#d62728","#9467bd","#8c564b","#e377c2","#7f7f7f","#bcbd22","#17becf","#aec7e8","#ffbb78","#98df8a","#ff9896","#c5b0d5","#c49c94","#f7b6d2","#c7c7c7","#dbdb8d","#9edae5"],d=["#3d8bd5","#ff4081"]},"./src/js/util/ComponentRegistry.js":function(e,t,n){"use strict";var r=n("./node_modules/react-display-name/lib/getDisplayName.js"),o=n.n(r),i=n("./src/js/components recursive ^\\.\\/.*$");"function"!=typeof String.prototype.endsWith&&(String.prototype.endsWith=function(e){return this.indexOf(e,this.length-e.length)!==-1});var a={};i.keys().forEach(function(e){if(!e.endsWith(".js")&&!e.endsWith(".css")&&"./Panoptes"!==e){var t=i(e);t.__esModule&&(t=t.default);var n=o()(t);"Component"==n?console.error("No displayName for:"+e):a[n]?console.error("Duplicate component displayName:"+n+" in "+e):a[n]=t}}),t.a=function(e){return a[e]}},"./src/js/util/DataDownloader.js":function(e,t,n){"use strict";function r(e){var t={query:u.a.nullQuery},n=c({},t,e),r=n.dataset,o=n.table,a=n.query,p=n.columns,f=n.tableConfig,h=n.rowsCount,m=n.onLimitBreach,g=n.order;p||(p=i.a.List(f.properties).filter(function(e){return e.showByDefault&&e.showInTable}).map(function(e){return e.id}));var y=h*p.size;if(y>d)return m({totalDataPoints:y,maxDataPoints:d}),null;var v="";if(p.map(function(e){if("StoredSelection"!==e){var t=f.propertiesById[e].defaultFetchEncoding;0!==v.length&&(v+="~"),v+=t+e}}),!v)return console.error("!columnList"),null;var b=l.a.serverURL;b+="?datatype=downloadtable",b+="&database="+r,b+="&query="+l.a.encodeQuery(a),b+="&table="+o,b+="&columns="+s.a.compressToEncodedURIComponent(v),g instanceof Array&&g.length>0&&(b+="&orderBy="+JSON.stringify(g)),window.location.href=b}var o=n("./node_modules/immutable/dist/immutable.js"),i=n.n(o),a=n("./node_modules/lz-string/libs/lz-string.js"),s=n.n(a),l=n("./src/js/panoptes/API.js"),u=n("./src/js/panoptes/SQL.js");t.a=r;var c=Object.assign||function(e){for(var t=1;t div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n),o=!0}}var r=document.attachEvent,o=!1,i={};if(!r){var a=function(){var e=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)};return function(t){return e(t)}}(),s=function(){var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout;return function(t){return e(t)}}();i.resetTriggers=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},i.checkTriggers=function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height},i.scrollListener=function(e){var t=this;i.resetTriggers(this),this.__resizeRAF__&&s(this.__resizeRAF__),this.__resizeRAF__=a(function(){i.checkTriggers(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(n){n.call(t,e)}))})};var l=!1,u="",c="animationstart",d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),f="",h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(l=!0),l===!1)for(var m=0;m
',e.appendChild(e.__resizeTriggers__),i.resetTriggers(e),e.addEventListener("scroll",i.scrollListener,!0),c&&e.__resizeTriggers__.addEventListener(c,function(t){t.animationName==g&&i.resetTriggers(e)})),e.__resizeListeners__.push(t))},_=function(e,t){r?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",i.scrollListener),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))};e.exports={addResizeListener:b,removeResizeListener:_}},"./src/js/util/LRUCache.js":function(e,t,n){"use strict";var r=n("./node_modules/lodash/has.js"),o=n.n(r),i=n("./node_modules/lodash/without.js"),a=n.n(i),s=n("./node_modules/q/q.js"),l=n.n(s),u={status:"__CANCELLED__"},c={MAX_ENTRIES:1e4,cache:{},lru:[],cancellers:{},numberWaitingFor:{},get:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s=o()(this.cache,e);if(!s&&!i)return null;s?(this.lru=a()(this.lru,e),this.lru.push(e)):(this.lru.push(e),this.cancellers[e]=l.a.defer(),this.cache[e]=t(this.cancellers[e].promise).then(function(t){return n.lru.length>n.MAX_ENTRIES&&(delete n.cache[n.lru[0]],n.lru=n.lru.slice(1)),delete n.cancellers[e],t}).catch(function(t){throw delete n.cache[e],delete n.cancellers[e],n.lru=a()(n.lru,e),t}));var c=l.a.defer();return this.numberWaitingFor[e]||(this.numberWaitingFor[e]=0),this.numberWaitingFor[e]+=1,r.then(function(){n.numberWaitingFor[e]-=1,0===n.numberWaitingFor[e]&&n.cancellers[e]&&n.cancellers[e].resolve(),c.reject(u)}),this.cache[e].then(function(t){n.numberWaitingFor[e]-=1,c.resolve(t)}),this.cache[e].catch(function(t){n.numberWaitingFor[e]=0,c.reject(t)}),c.promise},filterCancelled:function(e){if(e!==u)throw e;return"__CANCELLED__"}};t.a=c},"./src/js/util/PropertyRegionCache.js":function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){var t=e.start,n=e.end,r=e.width,o=Math.ceil(Math.log(n-t)/Math.log(2)),i=Math.floor(t/Math.pow(2,o)),a=Math.pow(2,o);return{blockLevel:o,blockIndex:i,needNext:n>=Math.pow(2,o)+Math.pow(2,o)*i,summaryWindow:Math.max(1,Math.pow(2,Math.ceil(Math.log(a/(r/2))/Math.log(2))))}}function i(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;n.i(d.assertRequired)(t,["method","regionField","queryField","start","end"]);var i=t.method,u=t.regionField,p=t.queryField,f=t.limitField,h=t.start,m=t.end,g=t.blockLimit,y=t.useWiderBlocksIfInCache;if(m= start");var v=JSON.stringify({method:i,regionField:u,queryField:p,limitField:f,blockLimit:g,APIArgs:e}),b=o(t),_=b.blockLevel,A=b.blockIndex,x=b.needNext,j=P[v];if(!j||j[_]&&j[_][A]&&j[_][A+1]){var w=[a(e,t,_,A,r).then(s(e,t,_,A,r))];return x&&w.push(a(e,t,_,A+1,r).then(s(e,t,_,A+1,r))),Promise.all(w).then(c)}if(y)for(var C=~~(A/2),E=~~(A+.5),k=_+1;k=",b),h.a.WhereClause.CompareFixed(s,"<",b+v)]);return e=S({},e,r({},l,h.a.WhereClause.encode(_))),u&&c&&(e[u]=c+1),f.a.get("propertyRegionCache"+a+JSON.stringify(e),function(t){return T.a.delay(500).then(function(){return p.a[a](S({cancellation:t},e)).then(function(e){return m(e,c)?S({_blockStart:b,_blockSize:v,_tooBig:!0},e):S({_blockStart:b,_blockSize:v},d?d(e):e)})})},i).then(function(e){return P[y]||(P[y]=[]),P[y][n]||(P[y][n]=[]),P[y][n][o]=!0,e})}function s(e,t,n,r,o){return function(i){if(i._tooBig){for(var s=2,l=n-s,u=[],c=Math.pow(2,s),d=r*c;d<(r+1)*c;++d)u.push(d);return Promise.all(v()(u,function(n){return a(e,t,l,n,o)}))}return i}}function l(e,t,n,r,o){return function(i){return _()(i,function(e){return e._tooBig})?Promise.all([a(e,t,n,r,o).then(s(e,t,n,r,o)),a(e,t,n,r+1,o).then(s(e,t,n,r+1,o))]).then(c):i}}function u(e,t){if(e=x()(e,function(e){return!e._tooBig}),0==e.length)return[];if(e[0][t].array.set){var n=new e[0][t].array.constructor(w()(e,function(e){return e[t].array.length})),r=0;return E()(e,function(e){var o=e[t].array;n.set(o,r),r+=o.length}),n}var o=[];return E()(e,function(e){Array.prototype.push.apply(o,e[t].array||[])}),o}function c(e){var t=[];return e.forEach(function(e){Array.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)}),t}var d=n("./src/js/util/Assert.js"),p=(n.n(d),n("./src/js/panoptes/API.js")),f=n("./src/js/util/LRUCache.js"),h=n("./src/js/panoptes/SQL.js"),m=n("./node_modules/lodash/keys.js"),g=n.n(m),y=n("./node_modules/lodash/map.js"),v=n.n(y),b=n("./node_modules/lodash/some.js"),_=n.n(b),A=n("./node_modules/lodash/filter.js"),x=n.n(A),j=n("./node_modules/lodash/sumBy.js"),w=n.n(j),C=n("./node_modules/lodash/each.js"),E=n.n(C),k=n("./node_modules/q/q.js"),T=n.n(k);t.a=o,t.b=i,t.c=u;var S=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t(e,r)}var o=n("./node_modules/react/react.js"),i=n.n(o),a=n("./node_modules/immutable/dist/immutable.js"),s=(n.n(a),n("./src/js/util/ComponentRegistry.js")),l=n("./node_modules/lodash/isString.js"),u=n.n(l),c=n("./node_modules/lodash/forEach.js"),d=n.n(c);t.a=r;var p=Object.assign||function(e){for(var t=1;t=t&&t>=n?i:e>=n&&t<=n||e<=n&&t>=n?a:i+r((e-t)/(n-t))*(a-i)}},"./src/js/util/queryToString.js":function(e,t,n){"use strict";function r(e){var t=this,n=e.properties,r=e.query,o=a.a.WhereClause.decode(r);if(!o||o.isTrivial)return"No filter";var s={};n.forEach(function(e){s[e.id]={name:e.name,toDisplayString:i.a.bind(t,e)}});var l={fieldInfoMap:s};return o.toQueryDisplayString(l,0)}var o=n("./node_modules/react/react.js"),i=(n.n(o),n("./src/js/panoptes/Formatter.js")),a=n("./src/js/panoptes/SQL.js");t.a=r},"./src/js/util/serialiseComponent.js":function(e,t,n){"use strict";function r(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function o(e){if(v()(e))throw Error("Attempted to serialise an array - need React component");if(h()(e))return e;var t=c()(e.type);if("Component"==t)throw Error("Attempted to serialise a non React component");var n=e.props,i=n.children,s=r(n,["children"]),u={};p()(s,function(e,t){g()(e)||(u[t]=e)});var d={};return d=i?b({children:a.a.Children.map(i,o)},u):u,l.a.fromJS({type:t,props:d})}var i=n("./node_modules/react/react.js"),a=n.n(i),s=n("./node_modules/immutable/dist/immutable.js"),l=n.n(s),u=n("./node_modules/react-display-name/lib/getDisplayName.js"),c=n.n(u),d=n("./node_modules/lodash/map.js"),p=n.n(d),f=n("./node_modules/lodash/isString.js"),h=n.n(f),m=n("./node_modules/lodash/isFunction.js"),g=n.n(m),y=n("./node_modules/lodash/isArray.js"),v=n.n(y);t.a=o;var b=Object.assign||function(e){for(var t=1;t= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/babel-runtime/helpers/objectWithoutProperties.js\n// module id = ./node_modules/babel-runtime/helpers/objectWithoutProperties.js\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _typeof2 = require(\"../helpers/typeof\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/babel-runtime/helpers/possibleConstructorReturn.js\n// module id = ./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _from = require(\"../core-js/array/from\");\n\nvar _from2 = _interopRequireDefault(_from);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (arr) {\n return Array.isArray(arr) ? arr : (0, _from2.default)(arr);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/babel-runtime/helpers/toArray.js\n// module id = ./node_modules/babel-runtime/helpers/toArray.js\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _from = require(\"../core-js/array/from\");\n\nvar _from2 = _interopRequireDefault(_from);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return (0, _from2.default)(arr);\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/babel-runtime/helpers/toConsumableArray.js\n// module id = ./node_modules/babel-runtime/helpers/toConsumableArray.js\n// module chunks = 0","\"use strict\";\n\nexports.__esModule = true;\n\nvar _iterator = require(\"../core-js/symbol/iterator\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = require(\"../core-js/symbol\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/babel-runtime/helpers/typeof.js\n// module id = ./node_modules/babel-runtime/helpers/typeof.js\n// module chunks = 0","'use strict'\n\nexports.byteLength = byteLength\nexports.toByteArray = toByteArray\nexports.fromByteArray = fromByteArray\n\nvar lookup = []\nvar revLookup = []\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\n\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\nfor (var i = 0, len = code.length; i < len; ++i) {\n lookup[i] = code[i]\n revLookup[code.charCodeAt(i)] = i\n}\n\nrevLookup['-'.charCodeAt(0)] = 62\nrevLookup['_'.charCodeAt(0)] = 63\n\nfunction placeHoldersCount (b64) {\n var len = b64.length\n if (len % 4 > 0) {\n throw new Error('Invalid string. Length must be a multiple of 4')\n }\n\n // the number of equal signs (place holders)\n // if there are two placeholders, than the two characters before it\n // represent one byte\n // if there is only one, then the three characters before it represent 2 bytes\n // this is just a cheap hack to not do indexOf twice\n return b64[len - 2] === '=' ? 2 : b64[len - 1] === '=' ? 1 : 0\n}\n\nfunction byteLength (b64) {\n // base64 is 4/3 + up to two characters of the original data\n return b64.length * 3 / 4 - placeHoldersCount(b64)\n}\n\nfunction toByteArray (b64) {\n var i, j, l, tmp, placeHolders, arr\n var len = b64.length\n placeHolders = placeHoldersCount(b64)\n\n arr = new Arr(len * 3 / 4 - placeHolders)\n\n // if there are placeholders, only get up to the last complete 4 chars\n l = placeHolders > 0 ? len - 4 : len\n\n var L = 0\n\n for (i = 0, j = 0; i < l; i += 4, j += 3) {\n tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)]\n arr[L++] = (tmp >> 16) & 0xFF\n arr[L++] = (tmp >> 8) & 0xFF\n arr[L++] = tmp & 0xFF\n }\n\n if (placeHolders === 2) {\n tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4)\n arr[L++] = tmp & 0xFF\n } else if (placeHolders === 1) {\n tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2)\n arr[L++] = (tmp >> 8) & 0xFF\n arr[L++] = tmp & 0xFF\n }\n\n return arr\n}\n\nfunction tripletToBase64 (num) {\n return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F]\n}\n\nfunction encodeChunk (uint8, start, end) {\n var tmp\n var output = []\n for (var i = start; i < end; i += 3) {\n tmp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])\n output.push(tripletToBase64(tmp))\n }\n return output.join('')\n}\n\nfunction fromByteArray (uint8) {\n var tmp\n var len = uint8.length\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\n var output = ''\n var parts = []\n var maxChunkLength = 16383 // must be multiple of 3\n\n // go through the array every three bytes, we'll deal with trailing stuff later\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\n }\n\n // pad the end with zeros, but make sure to not forget the extra bytes\n if (extraBytes === 1) {\n tmp = uint8[len - 1]\n output += lookup[tmp >> 2]\n output += lookup[(tmp << 4) & 0x3F]\n output += '=='\n } else if (extraBytes === 2) {\n tmp = (uint8[len - 2] << 8) + (uint8[len - 1])\n output += lookup[tmp >> 10]\n output += lookup[(tmp >> 4) & 0x3F]\n output += lookup[(tmp << 2) & 0x3F]\n output += '='\n }\n\n parts.push(output)\n\n return parts.join('')\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/base64-js/index.js\n// module id = ./node_modules/base64-js/index.js\n// module chunks = 0","module.exports = function blacklist (src) {\n var copy = {}\n var filter = arguments[1]\n\n if (typeof filter === 'string') {\n filter = {}\n for (var i = 1; i < arguments.length; i++) {\n filter[arguments[i]] = true\n }\n }\n\n for (var key in src) {\n // blacklist?\n if (filter[key]) continue\n\n copy[key] = src[key]\n }\n\n return copy\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/blacklist/index.js\n// module id = ./node_modules/blacklist/index.js\n// module chunks = 0","function getScrolled(){\n var top = window.pageYOffset\n if(typeof top == \"number\") {\n return {\n top : top,\n left : window.pageXOffset\n }\n }\n return {\n top : document.documentElement.scrollTop,\n left : document.documentElement.scrollLeft\n }\n}\n\nfunction toInt(number){\n return parseInt(number, 10)\n}\n\nmodule.exports = function(element){\n var clientRect = element.getBoundingClientRect()\n var scrolled = getScrolled()\n return {\n top : toInt(clientRect.top + scrolled.top),\n left : toInt(clientRect.left + scrolled.left),\n width : toInt(clientRect.right - clientRect.left),\n height : toInt(clientRect.bottom - clientRect.top)\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bloody-offset/index.js\n// module id = ./node_modules/bloody-offset/index.js\n// module chunks = 0","/*!\n * Bowser - a browser detector\n * https://github.com/ded/bowser\n * MIT License | (c) Dustin Diaz 2015\n */\n\n!function (root, name, definition) {\n if (typeof module != 'undefined' && module.exports) module.exports = definition()\n else if (typeof define == 'function' && define.amd) define(name, definition)\n else root[name] = definition()\n}(this, 'bowser', function () {\n /**\n * See useragents.js for examples of navigator.userAgent\n */\n\n var t = true\n\n function detect(ua) {\n\n function getFirstMatch(regex) {\n var match = ua.match(regex);\n return (match && match.length > 1 && match[1]) || '';\n }\n\n function getSecondMatch(regex) {\n var match = ua.match(regex);\n return (match && match.length > 1 && match[2]) || '';\n }\n\n var iosdevice = getFirstMatch(/(ipod|iphone|ipad)/i).toLowerCase()\n , likeAndroid = /like android/i.test(ua)\n , android = !likeAndroid && /android/i.test(ua)\n , nexusMobile = /nexus\\s*[0-6]\\s*/i.test(ua)\n , nexusTablet = !nexusMobile && /nexus\\s*[0-9]+/i.test(ua)\n , chromeos = /CrOS/.test(ua)\n , silk = /silk/i.test(ua)\n , sailfish = /sailfish/i.test(ua)\n , tizen = /tizen/i.test(ua)\n , webos = /(web|hpw)os/i.test(ua)\n , windowsphone = /windows phone/i.test(ua)\n , samsungBrowser = /SamsungBrowser/i.test(ua)\n , windows = !windowsphone && /windows/i.test(ua)\n , mac = !iosdevice && !silk && /macintosh/i.test(ua)\n , linux = !android && !sailfish && !tizen && !webos && /linux/i.test(ua)\n , edgeVersion = getFirstMatch(/edge\\/(\\d+(\\.\\d+)?)/i)\n , versionIdentifier = getFirstMatch(/version\\/(\\d+(\\.\\d+)?)/i)\n , tablet = /tablet/i.test(ua)\n , mobile = !tablet && /[^-]mobi/i.test(ua)\n , xbox = /xbox/i.test(ua)\n , result\n\n if (/opera/i.test(ua)) {\n // an old Opera\n result = {\n name: 'Opera'\n , opera: t\n , version: versionIdentifier || getFirstMatch(/(?:opera|opr|opios)[\\s\\/](\\d+(\\.\\d+)?)/i)\n }\n } else if (/opr|opios/i.test(ua)) {\n // a new Opera\n result = {\n name: 'Opera'\n , opera: t\n , version: getFirstMatch(/(?:opr|opios)[\\s\\/](\\d+(\\.\\d+)?)/i) || versionIdentifier\n }\n }\n else if (/SamsungBrowser/i.test(ua)) {\n result = {\n name: 'Samsung Internet for Android'\n , samsungBrowser: t\n , version: versionIdentifier || getFirstMatch(/(?:SamsungBrowser)[\\s\\/](\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/coast/i.test(ua)) {\n result = {\n name: 'Opera Coast'\n , coast: t\n , version: versionIdentifier || getFirstMatch(/(?:coast)[\\s\\/](\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/yabrowser/i.test(ua)) {\n result = {\n name: 'Yandex Browser'\n , yandexbrowser: t\n , version: versionIdentifier || getFirstMatch(/(?:yabrowser)[\\s\\/](\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/ucbrowser/i.test(ua)) {\n result = {\n name: 'UC Browser'\n , ucbrowser: t\n , version: getFirstMatch(/(?:ucbrowser)[\\s\\/](\\d+(?:\\.\\d+)+)/i)\n }\n }\n else if (/mxios/i.test(ua)) {\n result = {\n name: 'Maxthon'\n , maxthon: t\n , version: getFirstMatch(/(?:mxios)[\\s\\/](\\d+(?:\\.\\d+)+)/i)\n }\n }\n else if (/epiphany/i.test(ua)) {\n result = {\n name: 'Epiphany'\n , epiphany: t\n , version: getFirstMatch(/(?:epiphany)[\\s\\/](\\d+(?:\\.\\d+)+)/i)\n }\n }\n else if (/puffin/i.test(ua)) {\n result = {\n name: 'Puffin'\n , puffin: t\n , version: getFirstMatch(/(?:puffin)[\\s\\/](\\d+(?:\\.\\d+)?)/i)\n }\n }\n else if (/sleipnir/i.test(ua)) {\n result = {\n name: 'Sleipnir'\n , sleipnir: t\n , version: getFirstMatch(/(?:sleipnir)[\\s\\/](\\d+(?:\\.\\d+)+)/i)\n }\n }\n else if (/k-meleon/i.test(ua)) {\n result = {\n name: 'K-Meleon'\n , kMeleon: t\n , version: getFirstMatch(/(?:k-meleon)[\\s\\/](\\d+(?:\\.\\d+)+)/i)\n }\n }\n else if (windowsphone) {\n result = {\n name: 'Windows Phone'\n , windowsphone: t\n }\n if (edgeVersion) {\n result.msedge = t\n result.version = edgeVersion\n }\n else {\n result.msie = t\n result.version = getFirstMatch(/iemobile\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/msie|trident/i.test(ua)) {\n result = {\n name: 'Internet Explorer'\n , msie: t\n , version: getFirstMatch(/(?:msie |rv:)(\\d+(\\.\\d+)?)/i)\n }\n } else if (chromeos) {\n result = {\n name: 'Chrome'\n , chromeos: t\n , chromeBook: t\n , chrome: t\n , version: getFirstMatch(/(?:chrome|crios|crmo)\\/(\\d+(\\.\\d+)?)/i)\n }\n } else if (/chrome.+? edge/i.test(ua)) {\n result = {\n name: 'Microsoft Edge'\n , msedge: t\n , version: edgeVersion\n }\n }\n else if (/vivaldi/i.test(ua)) {\n result = {\n name: 'Vivaldi'\n , vivaldi: t\n , version: getFirstMatch(/vivaldi\\/(\\d+(\\.\\d+)?)/i) || versionIdentifier\n }\n }\n else if (sailfish) {\n result = {\n name: 'Sailfish'\n , sailfish: t\n , version: getFirstMatch(/sailfish\\s?browser\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/seamonkey\\//i.test(ua)) {\n result = {\n name: 'SeaMonkey'\n , seamonkey: t\n , version: getFirstMatch(/seamonkey\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/firefox|iceweasel|fxios/i.test(ua)) {\n result = {\n name: 'Firefox'\n , firefox: t\n , version: getFirstMatch(/(?:firefox|iceweasel|fxios)[ \\/](\\d+(\\.\\d+)?)/i)\n }\n if (/\\((mobile|tablet);[^\\)]*rv:[\\d\\.]+\\)/i.test(ua)) {\n result.firefoxos = t\n }\n }\n else if (silk) {\n result = {\n name: 'Amazon Silk'\n , silk: t\n , version : getFirstMatch(/silk\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/phantom/i.test(ua)) {\n result = {\n name: 'PhantomJS'\n , phantom: t\n , version: getFirstMatch(/phantomjs\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/slimerjs/i.test(ua)) {\n result = {\n name: 'SlimerJS'\n , slimer: t\n , version: getFirstMatch(/slimerjs\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (/blackberry|\\bbb\\d+/i.test(ua) || /rim\\stablet/i.test(ua)) {\n result = {\n name: 'BlackBerry'\n , blackberry: t\n , version: versionIdentifier || getFirstMatch(/blackberry[\\d]+\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (webos) {\n result = {\n name: 'WebOS'\n , webos: t\n , version: versionIdentifier || getFirstMatch(/w(?:eb)?osbrowser\\/(\\d+(\\.\\d+)?)/i)\n };\n /touchpad\\//i.test(ua) && (result.touchpad = t)\n }\n else if (/bada/i.test(ua)) {\n result = {\n name: 'Bada'\n , bada: t\n , version: getFirstMatch(/dolfin\\/(\\d+(\\.\\d+)?)/i)\n };\n }\n else if (tizen) {\n result = {\n name: 'Tizen'\n , tizen: t\n , version: getFirstMatch(/(?:tizen\\s?)?browser\\/(\\d+(\\.\\d+)?)/i) || versionIdentifier\n };\n }\n else if (/qupzilla/i.test(ua)) {\n result = {\n name: 'QupZilla'\n , qupzilla: t\n , version: getFirstMatch(/(?:qupzilla)[\\s\\/](\\d+(?:\\.\\d+)+)/i) || versionIdentifier\n }\n }\n else if (/chromium/i.test(ua)) {\n result = {\n name: 'Chromium'\n , chromium: t\n , version: getFirstMatch(/(?:chromium)[\\s\\/](\\d+(?:\\.\\d+)?)/i) || versionIdentifier\n }\n }\n else if (/chrome|crios|crmo/i.test(ua)) {\n result = {\n name: 'Chrome'\n , chrome: t\n , version: getFirstMatch(/(?:chrome|crios|crmo)\\/(\\d+(\\.\\d+)?)/i)\n }\n }\n else if (android) {\n result = {\n name: 'Android'\n , version: versionIdentifier\n }\n }\n else if (/safari|applewebkit/i.test(ua)) {\n result = {\n name: 'Safari'\n , safari: t\n }\n if (versionIdentifier) {\n result.version = versionIdentifier\n }\n }\n else if (iosdevice) {\n result = {\n name : iosdevice == 'iphone' ? 'iPhone' : iosdevice == 'ipad' ? 'iPad' : 'iPod'\n }\n // WTF: version is not part of user agent in web apps\n if (versionIdentifier) {\n result.version = versionIdentifier\n }\n }\n else if(/googlebot/i.test(ua)) {\n result = {\n name: 'Googlebot'\n , googlebot: t\n , version: getFirstMatch(/googlebot\\/(\\d+(\\.\\d+))/i) || versionIdentifier\n }\n }\n else {\n result = {\n name: getFirstMatch(/^(.*)\\/(.*) /),\n version: getSecondMatch(/^(.*)\\/(.*) /)\n };\n }\n\n // set webkit or gecko flag for browsers based on these engines\n if (!result.msedge && /(apple)?webkit/i.test(ua)) {\n if (/(apple)?webkit\\/537\\.36/i.test(ua)) {\n result.name = result.name || \"Blink\"\n result.blink = t\n } else {\n result.name = result.name || \"Webkit\"\n result.webkit = t\n }\n if (!result.version && versionIdentifier) {\n result.version = versionIdentifier\n }\n } else if (!result.opera && /gecko\\//i.test(ua)) {\n result.name = result.name || \"Gecko\"\n result.gecko = t\n result.version = result.version || getFirstMatch(/gecko\\/(\\d+(\\.\\d+)?)/i)\n }\n\n // set OS flags for platforms that have multiple browsers\n if (!result.windowsphone && !result.msedge && (android || result.silk)) {\n result.android = t\n } else if (!result.windowsphone && !result.msedge && iosdevice) {\n result[iosdevice] = t\n result.ios = t\n } else if (mac) {\n result.mac = t\n } else if (xbox) {\n result.xbox = t\n } else if (windows) {\n result.windows = t\n } else if (linux) {\n result.linux = t\n }\n\n // OS version extraction\n var osVersion = '';\n if (result.windowsphone) {\n osVersion = getFirstMatch(/windows phone (?:os)?\\s?(\\d+(\\.\\d+)*)/i);\n } else if (iosdevice) {\n osVersion = getFirstMatch(/os (\\d+([_\\s]\\d+)*) like mac os x/i);\n osVersion = osVersion.replace(/[_\\s]/g, '.');\n } else if (android) {\n osVersion = getFirstMatch(/android[ \\/-](\\d+(\\.\\d+)*)/i);\n } else if (result.webos) {\n osVersion = getFirstMatch(/(?:web|hpw)os\\/(\\d+(\\.\\d+)*)/i);\n } else if (result.blackberry) {\n osVersion = getFirstMatch(/rim\\stablet\\sos\\s(\\d+(\\.\\d+)*)/i);\n } else if (result.bada) {\n osVersion = getFirstMatch(/bada\\/(\\d+(\\.\\d+)*)/i);\n } else if (result.tizen) {\n osVersion = getFirstMatch(/tizen[\\/\\s](\\d+(\\.\\d+)*)/i);\n }\n if (osVersion) {\n result.osversion = osVersion;\n }\n\n // device type extraction\n var osMajorVersion = osVersion.split('.')[0];\n if (\n tablet\n || nexusTablet\n || iosdevice == 'ipad'\n || (android && (osMajorVersion == 3 || (osMajorVersion >= 4 && !mobile)))\n || result.silk\n ) {\n result.tablet = t\n } else if (\n mobile\n || iosdevice == 'iphone'\n || iosdevice == 'ipod'\n || android\n || nexusMobile\n || result.blackberry\n || result.webos\n || result.bada\n ) {\n result.mobile = t\n }\n\n // Graded Browser Support\n // http://developer.yahoo.com/yui/articles/gbs\n if (result.msedge ||\n (result.msie && result.version >= 10) ||\n (result.yandexbrowser && result.version >= 15) ||\n\t\t (result.vivaldi && result.version >= 1.0) ||\n (result.chrome && result.version >= 20) ||\n (result.samsungBrowser && result.version >= 4) ||\n (result.firefox && result.version >= 20.0) ||\n (result.safari && result.version >= 6) ||\n (result.opera && result.version >= 10.0) ||\n (result.ios && result.osversion && result.osversion.split(\".\")[0] >= 6) ||\n (result.blackberry && result.version >= 10.1)\n || (result.chromium && result.version >= 20)\n ) {\n result.a = t;\n }\n else if ((result.msie && result.version < 10) ||\n (result.chrome && result.version < 20) ||\n (result.firefox && result.version < 20.0) ||\n (result.safari && result.version < 6) ||\n (result.opera && result.version < 10.0) ||\n (result.ios && result.osversion && result.osversion.split(\".\")[0] < 6)\n || (result.chromium && result.version < 20)\n ) {\n result.c = t\n } else result.x = t\n\n return result\n }\n\n var bowser = detect(typeof navigator !== 'undefined' ? navigator.userAgent || '' : '')\n\n bowser.test = function (browserList) {\n for (var i = 0; i < browserList.length; ++i) {\n var browserItem = browserList[i];\n if (typeof browserItem=== 'string') {\n if (browserItem in bowser) {\n return true;\n }\n }\n }\n return false;\n }\n\n /**\n * Get version precisions count\n *\n * @example\n * getVersionPrecision(\"1.10.3\") // 3\n *\n * @param {string} version\n * @return {number}\n */\n function getVersionPrecision(version) {\n return version.split(\".\").length;\n }\n\n /**\n * Array::map polyfill\n *\n * @param {Array} arr\n * @param {Function} iterator\n * @return {Array}\n */\n function map(arr, iterator) {\n var result = [], i;\n if (Array.prototype.map) {\n return Array.prototype.map.call(arr, iterator);\n }\n for (i = 0; i < arr.length; i++) {\n result.push(iterator(arr[i]));\n }\n return result;\n }\n\n /**\n * Calculate browser version weight\n *\n * @example\n * compareVersions(['1.10.2.1', '1.8.2.1.90']) // 1\n * compareVersions(['1.010.2.1', '1.09.2.1.90']); // 1\n * compareVersions(['1.10.2.1', '1.10.2.1']); // 0\n * compareVersions(['1.10.2.1', '1.0800.2']); // -1\n *\n * @param {Array} versions versions to compare\n * @return {Number} comparison result\n */\n function compareVersions(versions) {\n // 1) get common precision for both versions, for example for \"10.0\" and \"9\" it should be 2\n var precision = Math.max(getVersionPrecision(versions[0]), getVersionPrecision(versions[1]));\n var chunks = map(versions, function (version) {\n var delta = precision - getVersionPrecision(version);\n\n // 2) \"9\" -> \"9.0\" (for precision = 2)\n version = version + new Array(delta + 1).join(\".0\");\n\n // 3) \"9.0\" -> [\"000000000\"\", \"000000009\"]\n return map(version.split(\".\"), function (chunk) {\n return new Array(20 - chunk.length).join(\"0\") + chunk;\n }).reverse();\n });\n\n // iterate in reverse order by reversed chunks array\n while (--precision >= 0) {\n // 4) compare: \"000000009\" > \"000000010\" = false (but \"9\" > \"10\" = true)\n if (chunks[0][precision] > chunks[1][precision]) {\n return 1;\n }\n else if (chunks[0][precision] === chunks[1][precision]) {\n if (precision === 0) {\n // all version chunks are same\n return 0;\n }\n }\n else {\n return -1;\n }\n }\n }\n\n /**\n * Check if browser is unsupported\n *\n * @example\n * bowser.isUnsupportedBrowser({\n * msie: \"10\",\n * firefox: \"23\",\n * chrome: \"29\",\n * safari: \"5.1\",\n * opera: \"16\",\n * phantom: \"534\"\n * });\n *\n * @param {Object} minVersions map of minimal version to browser\n * @param {Boolean} [strictMode = false] flag to return false if browser wasn't found in map\n * @param {String} [ua] user agent string\n * @return {Boolean}\n */\n function isUnsupportedBrowser(minVersions, strictMode, ua) {\n var _bowser = bowser;\n\n // make strictMode param optional with ua param usage\n if (typeof strictMode === 'string') {\n ua = strictMode;\n strictMode = void(0);\n }\n\n if (strictMode === void(0)) {\n strictMode = false;\n }\n if (ua) {\n _bowser = detect(ua);\n }\n\n var version = \"\" + _bowser.version;\n for (var browser in minVersions) {\n if (minVersions.hasOwnProperty(browser)) {\n if (_bowser[browser]) {\n if (typeof minVersions[browser] !== 'string') {\n throw new Error('Browser version in the minVersion map should be a string: ' + browser + ': ' + String(minVersions));\n }\n\n // browser version and min supported version.\n return compareVersions([version, minVersions[browser]]) < 0;\n }\n }\n }\n\n return strictMode; // not found\n }\n\n /**\n * Check if browser is supported\n *\n * @param {Object} minVersions map of minimal version to browser\n * @param {Boolean} [strictMode = false] flag to return false if browser wasn't found in map\n * @param {String} [ua] user agent string\n * @return {Boolean}\n */\n function check(minVersions, strictMode, ua) {\n return !isUnsupportedBrowser(minVersions, strictMode, ua);\n }\n\n bowser.isUnsupportedBrowser = isUnsupportedBrowser;\n bowser.compareVersions = compareVersions;\n bowser.check = check;\n\n /*\n * Set our detect method to the main bowser object so we can\n * reuse it to test other user agents.\n * This is needed to implement future tests.\n */\n bowser._detect = detect;\n\n return bowser\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/bowser/src/bowser.js\n// module id = ./node_modules/bowser/src/bowser.js\n// module chunks = 0","'use strict';\n\nvar buffer = require('buffer');\nvar Buffer = buffer.Buffer;\nvar SlowBuffer = buffer.SlowBuffer;\nvar MAX_LEN = buffer.kMaxLength || 2147483647;\nexports.alloc = function alloc(size, fill, encoding) {\n if (typeof Buffer.alloc === 'function') {\n return Buffer.alloc(size, fill, encoding);\n }\n if (typeof encoding === 'number') {\n throw new TypeError('encoding must not be number');\n }\n if (typeof size !== 'number') {\n throw new TypeError('size must be a number');\n }\n if (size > MAX_LEN) {\n throw new RangeError('size is too large');\n }\n var enc = encoding;\n var _fill = fill;\n if (_fill === undefined) {\n enc = undefined;\n _fill = 0;\n }\n var buf = new Buffer(size);\n if (typeof _fill === 'string') {\n var fillBuf = new Buffer(_fill, enc);\n var flen = fillBuf.length;\n var i = -1;\n while (++i < size) {\n buf[i] = fillBuf[i % flen];\n }\n } else {\n buf.fill(_fill);\n }\n return buf;\n}\nexports.allocUnsafe = function allocUnsafe(size) {\n if (typeof Buffer.allocUnsafe === 'function') {\n return Buffer.allocUnsafe(size);\n }\n if (typeof size !== 'number') {\n throw new TypeError('size must be a number');\n }\n if (size > MAX_LEN) {\n throw new RangeError('size is too large');\n }\n return new Buffer(size);\n}\nexports.from = function from(value, encodingOrOffset, length) {\n if (typeof Buffer.from === 'function' && (!global.Uint8Array || Uint8Array.from !== Buffer.from)) {\n return Buffer.from(value, encodingOrOffset, length);\n }\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number');\n }\n if (typeof value === 'string') {\n return new Buffer(value, encodingOrOffset);\n }\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n var offset = encodingOrOffset;\n if (arguments.length === 1) {\n return new Buffer(value);\n }\n if (typeof offset === 'undefined') {\n offset = 0;\n }\n var len = length;\n if (typeof len === 'undefined') {\n len = value.byteLength - offset;\n }\n if (offset >= value.byteLength) {\n throw new RangeError('\\'offset\\' is out of bounds');\n }\n if (len > value.byteLength - offset) {\n throw new RangeError('\\'length\\' is out of bounds');\n }\n return new Buffer(value.slice(offset, offset + len));\n }\n if (Buffer.isBuffer(value)) {\n var out = new Buffer(value.length);\n value.copy(out, 0, 0, value.length);\n return out;\n }\n if (value) {\n if (Array.isArray(value) || (typeof ArrayBuffer !== 'undefined' && value.buffer instanceof ArrayBuffer) || 'length' in value) {\n return new Buffer(value);\n }\n if (value.type === 'Buffer' && Array.isArray(value.data)) {\n return new Buffer(value.data);\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ' + 'ArrayBuffer, Array, or array-like object.');\n}\nexports.allocUnsafeSlow = function allocUnsafeSlow(size) {\n if (typeof Buffer.allocUnsafeSlow === 'function') {\n return Buffer.allocUnsafeSlow(size);\n }\n if (typeof size !== 'number') {\n throw new TypeError('size must be a number');\n }\n if (size >= MAX_LEN) {\n throw new RangeError('size is too large');\n }\n return new SlowBuffer(size);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/buffer-shims/index.js\n// module id = ./node_modules/buffer-shims/index.js\n// module chunks = 0","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh \n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar isArray = require('isarray')\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\n/*\n * Export kMaxLength after typed array support is determined.\n */\nexports.kMaxLength = kMaxLength()\n\nfunction typedArraySupport () {\n try {\n var arr = new Uint8Array(1)\n arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}\n return arr.foo() === 42 && // typed array instances can be augmented\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\nfunction createBuffer (that, length) {\n if (kMaxLength() < length) {\n throw new RangeError('Invalid typed array length')\n }\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = new Uint8Array(length)\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n if (that === null) {\n that = new Buffer(length)\n }\n that.length = length\n }\n\n return that\n}\n\n/**\n * The Buffer constructor returns instances of `Uint8Array` that have their\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\n * returns a single octet.\n *\n * The `Uint8Array` prototype remains unmodified.\n */\n\nfunction Buffer (arg, encodingOrOffset, length) {\n if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {\n return new Buffer(arg, encodingOrOffset, length)\n }\n\n // Common case.\n if (typeof arg === 'number') {\n if (typeof encodingOrOffset === 'string') {\n throw new Error(\n 'If encoding is specified then the first argument must be a string'\n )\n }\n return allocUnsafe(this, arg)\n }\n return from(this, arg, encodingOrOffset, length)\n}\n\nBuffer.poolSize = 8192 // not used by this implementation\n\n// TODO: Legacy, not needed anymore. Remove in next major version.\nBuffer._augment = function (arr) {\n arr.__proto__ = Buffer.prototype\n return arr\n}\n\nfunction from (that, value, encodingOrOffset, length) {\n if (typeof value === 'number') {\n throw new TypeError('\"value\" argument must not be a number')\n }\n\n if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {\n return fromArrayBuffer(that, value, encodingOrOffset, length)\n }\n\n if (typeof value === 'string') {\n return fromString(that, value, encodingOrOffset)\n }\n\n return fromObject(that, value)\n}\n\n/**\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\n * if value is a number.\n * Buffer.from(str[, encoding])\n * Buffer.from(array)\n * Buffer.from(buffer)\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\n **/\nBuffer.from = function (value, encodingOrOffset, length) {\n return from(null, value, encodingOrOffset, length)\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n if (typeof Symbol !== 'undefined' && Symbol.species &&\n Buffer[Symbol.species] === Buffer) {\n // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97\n Object.defineProperty(Buffer, Symbol.species, {\n value: null,\n configurable: true\n })\n }\n}\n\nfunction assertSize (size) {\n if (typeof size !== 'number') {\n throw new TypeError('\"size\" argument must be a number')\n } else if (size < 0) {\n throw new RangeError('\"size\" argument must not be negative')\n }\n}\n\nfunction alloc (that, size, fill, encoding) {\n assertSize(size)\n if (size <= 0) {\n return createBuffer(that, size)\n }\n if (fill !== undefined) {\n // Only pay attention to encoding if it's a string. This\n // prevents accidentally sending in a number that would\n // be interpretted as a start offset.\n return typeof encoding === 'string'\n ? createBuffer(that, size).fill(fill, encoding)\n : createBuffer(that, size).fill(fill)\n }\n return createBuffer(that, size)\n}\n\n/**\n * Creates a new filled Buffer instance.\n * alloc(size[, fill[, encoding]])\n **/\nBuffer.alloc = function (size, fill, encoding) {\n return alloc(null, size, fill, encoding)\n}\n\nfunction allocUnsafe (that, size) {\n assertSize(size)\n that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < size; ++i) {\n that[i] = 0\n }\n }\n return that\n}\n\n/**\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\n * */\nBuffer.allocUnsafe = function (size) {\n return allocUnsafe(null, size)\n}\n/**\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\n */\nBuffer.allocUnsafeSlow = function (size) {\n return allocUnsafe(null, size)\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') {\n encoding = 'utf8'\n }\n\n if (!Buffer.isEncoding(encoding)) {\n throw new TypeError('\"encoding\" must be a valid string encoding')\n }\n\n var length = byteLength(string, encoding) | 0\n that = createBuffer(that, length)\n\n var actual = that.write(string, encoding)\n\n if (actual !== length) {\n // Writing a hex string, for example, that contains invalid characters will\n // cause everything after the first invalid character to be ignored. (e.g.\n // 'abxxcd' will be treated as 'ab')\n that = that.slice(0, actual)\n }\n\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = array.length < 0 ? 0 : checked(array.length) | 0\n that = createBuffer(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array, byteOffset, length) {\n array.byteLength // this throws if `array` is not a valid ArrayBuffer\n\n if (byteOffset < 0 || array.byteLength < byteOffset) {\n throw new RangeError('\\'offset\\' is out of bounds')\n }\n\n if (array.byteLength < byteOffset + (length || 0)) {\n throw new RangeError('\\'length\\' is out of bounds')\n }\n\n if (byteOffset === undefined && length === undefined) {\n array = new Uint8Array(array)\n } else if (length === undefined) {\n array = new Uint8Array(array, byteOffset)\n } else {\n array = new Uint8Array(array, byteOffset, length)\n }\n\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = array\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromArrayLike(that, array)\n }\n return that\n}\n\nfunction fromObject (that, obj) {\n if (Buffer.isBuffer(obj)) {\n var len = checked(obj.length) | 0\n that = createBuffer(that, len)\n\n if (that.length === 0) {\n return that\n }\n\n obj.copy(that, 0, 0, len)\n return that\n }\n\n if (obj) {\n if ((typeof ArrayBuffer !== 'undefined' &&\n obj.buffer instanceof ArrayBuffer) || 'length' in obj) {\n if (typeof obj.length !== 'number' || isnan(obj.length)) {\n return createBuffer(that, 0)\n }\n return fromArrayLike(that, obj)\n }\n\n if (obj.type === 'Buffer' && isArray(obj.data)) {\n return fromArrayLike(that, obj.data)\n }\n }\n\n throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength()` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (length) {\n if (+length != length) { // eslint-disable-line eqeqeq\n length = 0\n }\n return Buffer.alloc(+length)\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n for (var i = 0, len = Math.min(x, y); i < len; ++i) {\n if (a[i] !== b[i]) {\n x = a[i]\n y = b[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'latin1':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n\n if (list.length === 0) {\n return Buffer.alloc(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; ++i) {\n length += list[i].length\n }\n }\n\n var buffer = Buffer.allocUnsafe(length)\n var pos = 0\n for (i = 0; i < list.length; ++i) {\n var buf = list[i]\n if (!Buffer.isBuffer(buf)) {\n throw new TypeError('\"list\" argument must be an Array of Buffers')\n }\n buf.copy(buffer, pos)\n pos += buf.length\n }\n return buffer\n}\n\nfunction byteLength (string, encoding) {\n if (Buffer.isBuffer(string)) {\n return string.length\n }\n if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&\n (ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {\n return string.byteLength\n }\n if (typeof string !== 'string') {\n string = '' + string\n }\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'latin1':\n case 'binary':\n return len\n case 'utf8':\n case 'utf-8':\n case undefined:\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n // No need to verify that \"this.length <= MAX_UINT32\" since it's a read-only\n // property of a typed array.\n\n // This behaves neither like String nor Uint8Array in that we set start/end\n // to their upper/lower bounds if the value passed is out of range.\n // undefined is handled specially as per ECMA-262 6th Edition,\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\n if (start === undefined || start < 0) {\n start = 0\n }\n // Return early if start > this.length. Done here to prevent potential uint32\n // coercion fail below.\n if (start > this.length) {\n return ''\n }\n\n if (end === undefined || end > this.length) {\n end = this.length\n }\n\n if (end <= 0) {\n return ''\n }\n\n // Force coersion to uint32. This will also coerce falsey/NaN values to 0.\n end >>>= 0\n start >>>= 0\n\n if (end <= start) {\n return ''\n }\n\n if (!encoding) encoding = 'utf8'\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'latin1':\n case 'binary':\n return latin1Slice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\n// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect\n// Buffer instances.\nBuffer.prototype._isBuffer = true\n\nfunction swap (b, n, m) {\n var i = b[n]\n b[n] = b[m]\n b[m] = i\n}\n\nBuffer.prototype.swap16 = function swap16 () {\n var len = this.length\n if (len % 2 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 16-bits')\n }\n for (var i = 0; i < len; i += 2) {\n swap(this, i, i + 1)\n }\n return this\n}\n\nBuffer.prototype.swap32 = function swap32 () {\n var len = this.length\n if (len % 4 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 32-bits')\n }\n for (var i = 0; i < len; i += 4) {\n swap(this, i, i + 3)\n swap(this, i + 1, i + 2)\n }\n return this\n}\n\nBuffer.prototype.swap64 = function swap64 () {\n var len = this.length\n if (len % 8 !== 0) {\n throw new RangeError('Buffer size must be a multiple of 64-bits')\n }\n for (var i = 0; i < len; i += 8) {\n swap(this, i, i + 7)\n swap(this, i + 1, i + 6)\n swap(this, i + 2, i + 5)\n swap(this, i + 3, i + 4)\n }\n return this\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return ''\n}\n\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\n if (!Buffer.isBuffer(target)) {\n throw new TypeError('Argument must be a Buffer')\n }\n\n if (start === undefined) {\n start = 0\n }\n if (end === undefined) {\n end = target ? target.length : 0\n }\n if (thisStart === undefined) {\n thisStart = 0\n }\n if (thisEnd === undefined) {\n thisEnd = this.length\n }\n\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\n throw new RangeError('out of range index')\n }\n\n if (thisStart >= thisEnd && start >= end) {\n return 0\n }\n if (thisStart >= thisEnd) {\n return -1\n }\n if (start >= end) {\n return 1\n }\n\n start >>>= 0\n end >>>= 0\n thisStart >>>= 0\n thisEnd >>>= 0\n\n if (this === target) return 0\n\n var x = thisEnd - thisStart\n var y = end - start\n var len = Math.min(x, y)\n\n var thisCopy = this.slice(thisStart, thisEnd)\n var targetCopy = target.slice(start, end)\n\n for (var i = 0; i < len; ++i) {\n if (thisCopy[i] !== targetCopy[i]) {\n x = thisCopy[i]\n y = targetCopy[i]\n break\n }\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\n//\n// Arguments:\n// - buffer - a Buffer to search\n// - val - a string, Buffer, or number\n// - byteOffset - an index into `buffer`; will be clamped to an int32\n// - encoding - an optional encoding, relevant is val is a string\n// - dir - true for indexOf, false for lastIndexOf\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\n // Empty buffer means no match\n if (buffer.length === 0) return -1\n\n // Normalize byteOffset\n if (typeof byteOffset === 'string') {\n encoding = byteOffset\n byteOffset = 0\n } else if (byteOffset > 0x7fffffff) {\n byteOffset = 0x7fffffff\n } else if (byteOffset < -0x80000000) {\n byteOffset = -0x80000000\n }\n byteOffset = +byteOffset // Coerce to Number.\n if (isNaN(byteOffset)) {\n // byteOffset: it it's undefined, null, NaN, \"foo\", etc, search whole buffer\n byteOffset = dir ? 0 : (buffer.length - 1)\n }\n\n // Normalize byteOffset: negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\n if (byteOffset >= buffer.length) {\n if (dir) return -1\n else byteOffset = buffer.length - 1\n } else if (byteOffset < 0) {\n if (dir) byteOffset = 0\n else return -1\n }\n\n // Normalize val\n if (typeof val === 'string') {\n val = Buffer.from(val, encoding)\n }\n\n // Finally, search either indexOf (if dir is true) or lastIndexOf\n if (Buffer.isBuffer(val)) {\n // Special case: looking for empty string/buffer always fails\n if (val.length === 0) {\n return -1\n }\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\n } else if (typeof val === 'number') {\n val = val & 0xFF // Search for a byte value [0-255]\n if (Buffer.TYPED_ARRAY_SUPPORT &&\n typeof Uint8Array.prototype.indexOf === 'function') {\n if (dir) {\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\n } else {\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\n }\n }\n return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\n var indexSize = 1\n var arrLength = arr.length\n var valLength = val.length\n\n if (encoding !== undefined) {\n encoding = String(encoding).toLowerCase()\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\n encoding === 'utf16le' || encoding === 'utf-16le') {\n if (arr.length < 2 || val.length < 2) {\n return -1\n }\n indexSize = 2\n arrLength /= 2\n valLength /= 2\n byteOffset /= 2\n }\n }\n\n function read (buf, i) {\n if (indexSize === 1) {\n return buf[i]\n } else {\n return buf.readUInt16BE(i * indexSize)\n }\n }\n\n var i\n if (dir) {\n var foundIndex = -1\n for (i = byteOffset; i < arrLength; i++) {\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\n } else {\n if (foundIndex !== -1) i -= i - foundIndex\n foundIndex = -1\n }\n }\n } else {\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\n for (i = byteOffset; i >= 0; i--) {\n var found = true\n for (var j = 0; j < valLength; j++) {\n if (read(arr, i + j) !== read(val, j)) {\n found = false\n break\n }\n }\n if (found) return i\n }\n }\n\n return -1\n}\n\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\n return this.indexOf(val, byteOffset, encoding) !== -1\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\n}\n\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; ++i) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) return i\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction latin1Write (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n throw new Error(\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\n )\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('Attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'latin1':\n case 'binary':\n return latin1Write(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction latin1Slice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; ++i) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; ++i) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = this.subarray(start, end)\n newBuf.__proto__ = Buffer.prototype\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; ++i) {\n newBuf[i] = this[i + start]\n }\n }\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('\"buffer\" argument must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('\"value\" argument is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n var maxBytes = Math.pow(2, 8 * byteLength) - 1\n checkInt(this, value, offset, byteLength, maxBytes, 0)\n }\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\n sub = 1\n }\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\n if (offset < 0) throw new RangeError('Index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; --i) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; ++i) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n Uint8Array.prototype.set.call(\n target,\n this.subarray(start, start + len),\n targetStart\n )\n }\n\n return len\n}\n\n// Usage:\n// buffer.fill(number[, offset[, end]])\n// buffer.fill(buffer[, offset[, end]])\n// buffer.fill(string[, offset[, end]][, encoding])\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\n // Handle string cases:\n if (typeof val === 'string') {\n if (typeof start === 'string') {\n encoding = start\n start = 0\n end = this.length\n } else if (typeof end === 'string') {\n encoding = end\n end = this.length\n }\n if (val.length === 1) {\n var code = val.charCodeAt(0)\n if (code < 256) {\n val = code\n }\n }\n if (encoding !== undefined && typeof encoding !== 'string') {\n throw new TypeError('encoding must be a string')\n }\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\n throw new TypeError('Unknown encoding: ' + encoding)\n }\n } else if (typeof val === 'number') {\n val = val & 255\n }\n\n // Invalid ranges are not set to a default, so can range check early.\n if (start < 0 || this.length < start || this.length < end) {\n throw new RangeError('Out of range index')\n }\n\n if (end <= start) {\n return this\n }\n\n start = start >>> 0\n end = end === undefined ? this.length : end >>> 0\n\n if (!val) val = 0\n\n var i\n if (typeof val === 'number') {\n for (i = start; i < end; ++i) {\n this[i] = val\n }\n } else {\n var bytes = Buffer.isBuffer(val)\n ? val\n : utf8ToBytes(new Buffer(val, encoding).toString())\n var len = bytes.length\n for (i = 0; i < end - start; ++i) {\n this[i + start] = bytes[i % len]\n }\n }\n\n return this\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; ++i) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; ++i) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; ++i) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n\nfunction isnan (val) {\n return val !== val // eslint-disable-line no-self-compare\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/buffer/index.js\n// module id = ./node_modules/buffer/index.js\n// module chunks = 0","/*!\n Copyright (c) 2016 Jed Watson.\n Licensed under the MIT License (MIT), see\n http://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = [];\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (!arg) continue;\n\n\t\t\tvar argType = typeof arg;\n\n\t\t\tif (argType === 'string' || argType === 'number') {\n\t\t\t\tclasses.push(arg);\n\t\t\t} else if (Array.isArray(arg)) {\n\t\t\t\tclasses.push(classNames.apply(null, arg));\n\t\t\t} else if (argType === 'object') {\n\t\t\t\tfor (var key in arg) {\n\t\t\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\t\t\tclasses.push(key);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn classes.join(' ');\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/classnames/index.js\n// module id = ./node_modules/classnames/index.js\n// module chunks = 0","/* MIT license */\nvar cssKeywords = require('color-name');\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n// values that give correct `typeof` results).\n// do not use box values types (i.e. Number(), String(), etc.)\n\nvar reverseKeywords = {};\nfor (var key in cssKeywords) {\n\tif (cssKeywords.hasOwnProperty(key)) {\n\t\treverseKeywords[cssKeywords[key]] = key;\n\t}\n}\n\nvar convert = module.exports = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\n// hide .channels and .labels properties\nfor (var model in convert) {\n\tif (convert.hasOwnProperty(model)) {\n\t\tif (!('channels' in convert[model])) {\n\t\t\tthrow new Error('missing channels property: ' + model);\n\t\t}\n\n\t\tif (!('labels' in convert[model])) {\n\t\t\tthrow new Error('missing channel labels property: ' + model);\n\t\t}\n\n\t\tif (convert[model].labels.length !== convert[model].channels) {\n\t\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t\t}\n\n\t\tvar channels = convert[model].channels;\n\t\tvar labels = convert[model].labels;\n\t\tdelete convert[model].channels;\n\t\tdelete convert[model].labels;\n\t\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\t\tObject.defineProperty(convert[model], 'labels', {value: labels});\n\t}\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar min = Math.min(r, g, b);\n\tvar max = Math.max(r, g, b);\n\tvar delta = max - min;\n\tvar h;\n\tvar s;\n\tvar l;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tl = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tvar r = rgb[0];\n\tvar g = rgb[1];\n\tvar b = rgb[2];\n\tvar min = Math.min(r, g, b);\n\tvar max = Math.max(r, g, b);\n\tvar delta = max - min;\n\tvar h;\n\tvar s;\n\tvar v;\n\n\tif (max === 0) {\n\t\ts = 0;\n\t} else {\n\t\ts = (delta / max * 1000) / 10;\n\t}\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tv = ((max / 255) * 1000) / 10;\n\n\treturn [h, s, v];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tvar r = rgb[0];\n\tvar g = rgb[1];\n\tvar b = rgb[2];\n\tvar h = convert.rgb.hsl(rgb)[0];\n\tvar w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar c;\n\tvar m;\n\tvar y;\n\tvar k;\n\n\tk = Math.min(1 - r, 1 - g, 1 - b);\n\tc = (1 - r - k) / (1 - k) || 0;\n\tm = (1 - g - k) / (1 - k) || 0;\n\ty = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\n/**\n * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n * */\nfunction comparativeDistance(x, y) {\n\treturn (\n\t\tMath.pow(x[0] - y[0], 2) +\n\t\tMath.pow(x[1] - y[1], 2) +\n\t\tMath.pow(x[2] - y[2], 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tvar reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tvar currentClosestDistance = Infinity;\n\tvar currentClosestKeyword;\n\n\tfor (var keyword in cssKeywords) {\n\t\tif (cssKeywords.hasOwnProperty(keyword)) {\n\t\t\tvar value = cssKeywords[keyword];\n\n\t\t\t// Compute comparative distance\n\t\t\tvar distance = comparativeDistance(rgb, value);\n\n\t\t\t// Check if its less, if so set as closest\n\t\t\tif (distance < currentClosestDistance) {\n\t\t\t\tcurrentClosestDistance = distance;\n\t\t\t\tcurrentClosestKeyword = keyword;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn cssKeywords[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\n\t// assume sRGB\n\tr = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n\tvar x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tvar y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tvar z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tvar xyz = convert.rgb.xyz(rgb);\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tvar h = hsl[0] / 360;\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar t1;\n\tvar t2;\n\tvar t3;\n\tvar rgb;\n\tvar val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tt1 = 2 * l - t2;\n\n\trgb = [0, 0, 0];\n\tfor (var i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tvar h = hsl[0];\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar smin = s;\n\tvar lmin = Math.max(l, 0.01);\n\tvar sv;\n\tvar v;\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tv = (l + s) / 2;\n\tsv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tvar h = hsv[0] / 60;\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar hi = Math.floor(h) % 6;\n\n\tvar f = h - Math.floor(h);\n\tvar p = 255 * v * (1 - s);\n\tvar q = 255 * v * (1 - (s * f));\n\tvar t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tvar h = hsv[0];\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar vmin = Math.max(v, 0.01);\n\tvar lmin;\n\tvar sl;\n\tvar l;\n\n\tl = (2 - s) * v;\n\tlmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tvar h = hwb[0] / 360;\n\tvar wh = hwb[1] / 100;\n\tvar bl = hwb[2] / 100;\n\tvar ratio = wh + bl;\n\tvar i;\n\tvar v;\n\tvar f;\n\tvar n;\n\n\t// wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\ti = Math.floor(6 * h);\n\tv = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tn = wh + f * (v - wh); // linear interpolation\n\n\tvar r;\n\tvar g;\n\tvar b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tvar c = cmyk[0] / 100;\n\tvar m = cmyk[1] / 100;\n\tvar y = cmyk[2] / 100;\n\tvar k = cmyk[3] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = 1 - Math.min(1, c * (1 - k) + k);\n\tg = 1 - Math.min(1, m * (1 - k) + k);\n\tb = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tvar x = xyz[0] / 100;\n\tvar y = xyz[1] / 100;\n\tvar z = xyz[2] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar x;\n\tvar y;\n\tvar z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tvar y2 = Math.pow(y, 3);\n\tvar x2 = Math.pow(x, 3);\n\tvar z2 = Math.pow(z, 3);\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar hr;\n\tvar h;\n\tvar c;\n\n\thr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tc = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tvar l = lch[0];\n\tvar c = lch[1];\n\tvar h = lch[2];\n\tvar a;\n\tvar b;\n\tvar hr;\n\n\thr = h / 360 * 2 * Math.PI;\n\ta = c * Math.cos(hr);\n\tb = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\tvar value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tvar ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\n\t// we use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tvar ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tvar color = args % 10;\n\n\t// handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tvar mult = (~~(args > 50) + 1) * 0.5;\n\tvar r = ((color & 1) * mult) * 255;\n\tvar g = (((color >> 1) & 1) * mult) * 255;\n\tvar b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// handle greyscale\n\tif (args >= 232) {\n\t\tvar c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tvar rem;\n\tvar r = Math.floor(args / 36) / 5 * 255;\n\tvar g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tvar b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tvar integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tvar match = args.toString(16).match(/[a-f0-9]{6}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tvar integer = parseInt(match[0], 16);\n\tvar r = (integer >> 16) & 0xFF;\n\tvar g = (integer >> 8) & 0xFF;\n\tvar b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar max = Math.max(Math.max(r, g), b);\n\tvar min = Math.min(Math.min(r, g), b);\n\tvar chroma = (max - min);\n\tvar grayscale;\n\tvar hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma + 4;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar c = 1;\n\tvar f = 0;\n\n\tif (l < 0.5) {\n\t\tc = 2.0 * s * l;\n\t} else {\n\t\tc = 2.0 * s * (1.0 - l);\n\t}\n\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\n\tvar c = s * v;\n\tvar f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tvar h = hcg[0] / 360;\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tvar pure = [0, 0, 0];\n\tvar hi = (h % 1) * 6;\n\tvar v = hi % 1;\n\tvar w = 1 - v;\n\tvar mg = 0;\n\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar v = c + g * (1.0 - c);\n\tvar f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar l = g * (1.0 - c) + 0.5 * c;\n\tvar s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\tvar v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tvar w = hwb[1] / 100;\n\tvar b = hwb[2] / 100;\n\tvar v = 1 - b;\n\tvar c = v - w;\n\tvar g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = convert.gray.hsv = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tvar val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tvar integer = (val << 16) + (val << 8) + val;\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tvar val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/color-convert/conversions.js\n// module id = ./node_modules/color-convert/conversions.js\n// module chunks = 0","var conversions = require('./conversions');\nvar route = require('./route');\n\nvar convert = {};\n\nvar models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\tvar result = fn(args);\n\n\t\t// we're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (var len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(function (fromModel) {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tvar routes = route(fromModel);\n\tvar routeModels = Object.keys(routes);\n\n\trouteModels.forEach(function (toModel) {\n\t\tvar fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nmodule.exports = convert;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/color-convert/index.js\n// module id = ./node_modules/color-convert/index.js\n// module chunks = 0","var conversions = require('./conversions');\n\n/*\n\tthis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\n// https://jsperf.com/object-keys-vs-for-in-with-closure/3\nvar models = Object.keys(conversions);\n\nfunction buildGraph() {\n\tvar graph = {};\n\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tvar graph = buildGraph();\n\tvar queue = [fromModel]; // unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tvar current = queue.pop();\n\t\tvar adjacents = Object.keys(conversions[current]);\n\n\t\tfor (var len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tvar adjacent = adjacents[i];\n\t\t\tvar node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tvar path = [graph[toModel].parent, toModel];\n\tvar fn = conversions[graph[toModel].parent][toModel];\n\n\tvar cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nmodule.exports = function (fromModel) {\n\tvar graph = deriveBFS(fromModel);\n\tvar conversion = {};\n\n\tvar models = Object.keys(graph);\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tvar toModel = models[i];\n\t\tvar node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// no possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/color-convert/route.js\n// module id = ./node_modules/color-convert/route.js\n// module chunks = 0","module.exports = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/color-name/index.js\n// module id = ./node_modules/color-name/index.js\n// module chunks = 0","/* MIT license */\nvar colorNames = require('color-name');\nvar swizzle = require('simple-swizzle');\n\nvar reverseNames = {};\n\n// create a list of reverse color names\nfor (var name in colorNames) {\n\tif (colorNames.hasOwnProperty(name)) {\n\t\treverseNames[colorNames[name]] = name;\n\t}\n}\n\nvar cs = module.exports = {\n\tto: {}\n};\n\ncs.get = function (string) {\n\tvar prefix = string.substring(0, 3).toLowerCase();\n\tvar val;\n\tvar model;\n\tswitch (prefix) {\n\t\tcase 'hsl':\n\t\t\tval = cs.get.hsl(string);\n\t\t\tmodel = 'hsl';\n\t\t\tbreak;\n\t\tcase 'hwb':\n\t\t\tval = cs.get.hwb(string);\n\t\t\tmodel = 'hwb';\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = cs.get.rgb(string);\n\t\t\tmodel = 'rgb';\n\t\t\tbreak;\n\t}\n\n\tif (!val) {\n\t\treturn null;\n\t}\n\n\treturn {model: model, value: val};\n};\n\ncs.get.rgb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar abbr = /^#([a-fA-F0-9]{3})$/;\n\tvar hex = /^#([a-fA-F0-9]{6})$/;\n\tvar rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar keyword = /(\\D+)/;\n\n\tvar rgb = [0, 0, 0, 1];\n\tvar match;\n\tvar i;\n\n\tif (match = string.match(abbr)) {\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i] + match[i], 16);\n\t\t}\n\t} else if (match = string.match(hex)) {\n\t\tmatch = match[1];\n\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\t// https://jsperf.com/slice-vs-substr-vs-substring-methods-long-string/19\n\t\t\tvar i2 = i * 2;\n\t\t\trgb[i] = parseInt(match.slice(i2, i2 + 2), 16);\n\t\t}\n\t} else if (match = string.match(rgba)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = parseInt(match[i + 1], 0);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\trgb[3] = parseFloat(match[4]);\n\t\t}\n\t} else if (match = string.match(per)) {\n\t\tfor (i = 0; i < 3; i++) {\n\t\t\trgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n\t\t}\n\n\t\tif (match[4]) {\n\t\t\trgb[3] = parseFloat(match[4]);\n\t\t}\n\t} else if (match = string.match(keyword)) {\n\t\tif (match[1] === 'transparent') {\n\t\t\treturn [0, 0, 0, 0];\n\t\t}\n\n\t\trgb = colorNames[match[1]];\n\n\t\tif (!rgb) {\n\t\t\treturn null;\n\t\t}\n\n\t\trgb[3] = 1;\n\n\t\treturn rgb;\n\t}\n\n\tfor (i = 0; i < rgb.length; i++) {\n\t\trgb[i] = clamp(rgb[i], 0, 255);\n\t}\n\trgb[3] = clamp(rgb[3], 0, 1);\n\n\treturn rgb;\n};\n\ncs.get.hsl = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hsl = /^hsla?\\(\\s*([+-]?\\d*[\\.]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar match = string.match(hsl);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar s = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar l = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\n\t\treturn [h, s, l, a];\n\t}\n\n\treturn null;\n};\n\ncs.get.hwb = function (string) {\n\tif (!string) {\n\t\treturn null;\n\t}\n\n\tvar hwb = /^hwb\\(\\s*([+-]?\\d*[\\.]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/;\n\tvar match = string.match(hwb);\n\n\tif (match) {\n\t\tvar alpha = parseFloat(match[4]);\n\t\tvar h = ((parseFloat(match[1]) % 360) + 360) % 360;\n\t\tvar w = clamp(parseFloat(match[2]), 0, 100);\n\t\tvar b = clamp(parseFloat(match[3]), 0, 100);\n\t\tvar a = clamp(isNaN(alpha) ? 1 : alpha, 0, 1);\n\t\treturn [h, w, b, a];\n\t}\n\n\treturn null;\n};\n\ncs.to.hex = function (rgb) {\n\treturn '#' + hexDouble(rgb[0]) + hexDouble(rgb[1]) + hexDouble(rgb[2]);\n};\n\ncs.to.rgb = function () {\n\tvar rgba = swizzle(arguments);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ')'\n\t\t: 'rgba(' + Math.round(rgba[0]) + ', ' + Math.round(rgba[1]) + ', ' + Math.round(rgba[2]) + ', ' + rgba[3] + ')';\n};\n\ncs.to.rgb.percent = function () {\n\tvar rgba = swizzle(arguments);\n\n\tvar r = Math.round(rgba[0] / 255 * 100);\n\tvar g = Math.round(rgba[1] / 255 * 100);\n\tvar b = Math.round(rgba[2] / 255 * 100);\n\n\treturn rgba.length < 4 || rgba[3] === 1\n\t\t? 'rgb(' + r + '%, ' + g + '%, ' + b + '%)'\n\t\t: 'rgba(' + r + '%, ' + g + '%, ' + b + '%, ' + rgba[3] + ')';\n};\n\ncs.to.hsl = function () {\n\tvar hsla = swizzle(arguments);\n\treturn hsla.length < 4 || hsla[3] === 1\n\t\t? 'hsl(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%)'\n\t\t: 'hsla(' + hsla[0] + ', ' + hsla[1] + '%, ' + hsla[2] + '%, ' + hsla[3] + ')';\n};\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\ncs.to.hwb = function () {\n\tvar hwba = swizzle(arguments);\n\n\tvar a = '';\n\tif (hwba.length >= 4 && hwba[3] !== 1) {\n\t\ta = ', ' + hwba[3];\n\t}\n\n\treturn 'hwb(' + hwba[0] + ', ' + hwba[1] + '%, ' + hwba[2] + '%' + a + ')';\n};\n\ncs.to.keyword = function (rgb) {\n\treturn reverseNames[rgb.slice(0, 3)];\n};\n\n// helpers\nfunction clamp(num, min, max) {\n\treturn Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n\tvar str = num.toString(16).toUpperCase();\n\treturn (str.length < 2) ? '0' + str : str;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/color-string/index.js\n// module id = ./node_modules/color-string/index.js\n// module chunks = 0","'use strict';\n\nvar colorString = require('color-string');\nvar convert = require('color-convert');\n\nvar _slice = [].slice;\n\nvar skippedModels = [\n\t// to be honest, I don't really feel like keyword belongs in color convert, but eh.\n\t'keyword',\n\n\t// gray conflicts with some method names, and has its own method defined.\n\t'gray',\n\n\t// shouldn't really be in color-convert either...\n\t'hex'\n];\n\nvar hashedModelKeys = {};\nObject.keys(convert).forEach(function (model) {\n\thashedModelKeys[_slice.call(convert[model].labels).sort().join('')] = model;\n});\n\nvar limiters = {};\n\nfunction Color(obj, model) {\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(obj, model);\n\t}\n\n\tif (model && model in skippedModels) {\n\t\tmodel = null;\n\t}\n\n\tif (model && !(model in convert)) {\n\t\tthrow new Error('Unknown model: ' + model);\n\t}\n\n\tvar i;\n\tvar channels;\n\n\tif (!obj) {\n\t\tthis.model = 'rgb';\n\t\tthis.color = [0, 0, 0];\n\t\tthis.valpha = 1;\n\t} else if (obj instanceof Color) {\n\t\tthis.model = obj.model;\n\t\tthis.color = obj.color.slice();\n\t\tthis.valpha = obj.valpha;\n\t} else if (typeof obj === 'string') {\n\t\tvar result = colorString.get(obj);\n\t\tif (result === null) {\n\t\t\tthrow new Error('Unable to parse color from string: ' + obj);\n\t\t}\n\n\t\tthis.model = result.model;\n\t\tchannels = convert[this.model].channels;\n\t\tthis.color = result.value.slice(0, channels);\n\t\tthis.valpha = typeof result.value[channels] === 'number' ? result.value[channels] : 1;\n\t} else if (obj.length) {\n\t\tthis.model = model || 'rgb';\n\t\tchannels = convert[this.model].channels;\n\t\tvar newArr = _slice.call(obj, 0, channels);\n\t\tthis.color = zeroArray(newArr, channels);\n\t\tthis.valpha = typeof obj[channels] === 'number' ? obj[channels] : 1;\n\t} else if (typeof obj === 'number') {\n\t\t// this is always RGB - can be converted later on.\n\t\tobj &= 0xFFFFFF;\n\t\tthis.model = 'rgb';\n\t\tthis.color = [\n\t\t\t(obj >> 16) & 0xFF,\n\t\t\t(obj >> 8) & 0xFF,\n\t\t\tobj & 0xFF\n\t\t];\n\t\tthis.valpha = 1;\n\t} else {\n\t\tthis.valpha = 1;\n\n\t\tvar keys = Object.keys(obj);\n\t\tif ('alpha' in obj) {\n\t\t\tkeys.splice(keys.indexOf('alpha'), 1);\n\t\t\tthis.valpha = typeof obj.alpha === 'number' ? obj.alpha : 0;\n\t\t}\n\n\t\tvar hashedKeys = keys.sort().join('');\n\t\tif (!(hashedKeys in hashedModelKeys)) {\n\t\t\tthrow new Error('Unable to parse color from object: ' + JSON.stringify(obj));\n\t\t}\n\n\t\tthis.model = hashedModelKeys[hashedKeys];\n\n\t\tvar labels = convert[this.model].labels;\n\t\tvar color = [];\n\t\tfor (i = 0; i < labels.length; i++) {\n\t\t\tcolor.push(obj[labels[i]]);\n\t\t}\n\n\t\tthis.color = zeroArray(color);\n\t}\n\n\t// perform limitations (clamping, etc.)\n\tif (limiters[this.model]) {\n\t\tchannels = convert[this.model].channels;\n\t\tfor (i = 0; i < channels; i++) {\n\t\t\tvar limit = limiters[this.model][i];\n\t\t\tif (limit) {\n\t\t\t\tthis.color[i] = limit(this.color[i]);\n\t\t\t}\n\t\t}\n\t}\n\n\tthis.valpha = Math.max(0, Math.min(1, this.valpha));\n\n\tif (Object.freeze) {\n\t\tObject.freeze(this);\n\t}\n}\n\nColor.prototype = {\n\ttoString: function () {\n\t\treturn this.string();\n\t},\n\n\ttoJSON: function () {\n\t\treturn this[this.model]();\n\t},\n\n\tstring: function (places) {\n\t\tvar self = this.model in colorString.to ? this : this.rgb();\n\t\tself = self.round(typeof places === 'number' ? places : 1);\n\t\tvar args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);\n\t\treturn colorString.to[self.model](args);\n\t},\n\n\tpercentString: function (places) {\n\t\tvar self = this.rgb().round(typeof places === 'number' ? places : 1);\n\t\tvar args = self.valpha === 1 ? self.color : self.color.concat(this.valpha);\n\t\treturn colorString.to.rgb.percent(args);\n\t},\n\n\tarray: function () {\n\t\treturn this.valpha === 1 ? this.color.slice() : this.color.concat(this.valpha);\n\t},\n\n\tobject: function () {\n\t\tvar result = {};\n\t\tvar channels = convert[this.model].channels;\n\t\tvar labels = convert[this.model].labels;\n\n\t\tfor (var i = 0; i < channels; i++) {\n\t\t\tresult[labels[i]] = this.color[i];\n\t\t}\n\n\t\tif (this.valpha !== 1) {\n\t\t\tresult.alpha = this.valpha;\n\t\t}\n\n\t\treturn result;\n\t},\n\n\tunitArray: function () {\n\t\tvar rgb = this.rgb().color;\n\t\trgb[0] /= 255;\n\t\trgb[1] /= 255;\n\t\trgb[2] /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.push(this.valpha);\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tunitObject: function () {\n\t\tvar rgb = this.rgb().object();\n\t\trgb.r /= 255;\n\t\trgb.g /= 255;\n\t\trgb.b /= 255;\n\n\t\tif (this.valpha !== 1) {\n\t\t\trgb.alpha = this.valpha;\n\t\t}\n\n\t\treturn rgb;\n\t},\n\n\tround: function (places) {\n\t\tplaces = Math.max(places || 0, 0);\n\t\treturn new Color(this.color.map(roundToPlace(places)).concat(this.valpha), this.model);\n\t},\n\n\talpha: function (val) {\n\t\tif (arguments.length) {\n\t\t\treturn new Color(this.color.concat(Math.max(0, Math.min(1, val))), this.model);\n\t\t}\n\n\t\treturn this.valpha;\n\t},\n\n\t// rgb\n\tred: getset('rgb', 0, maxfn(255)),\n\tgreen: getset('rgb', 1, maxfn(255)),\n\tblue: getset('rgb', 2, maxfn(255)),\n\n\thue: getset(['hsl', 'hsv', 'hsl', 'hwb', 'hcg'], 0, function (val) { return ((val % 360) + 360) % 360; }), // eslint-disable-line brace-style\n\n\tsaturationl: getset('hsl', 1, maxfn(100)),\n\tlightness: getset('hsl', 2, maxfn(100)),\n\n\tsaturationv: getset('hsv', 1, maxfn(100)),\n\tvalue: getset('hsv', 2, maxfn(100)),\n\n\tchroma: getset('hcg', 1, maxfn(100)),\n\tgray: getset('hcg', 2, maxfn(100)),\n\n\twhite: getset('hwb', 1, maxfn(100)),\n\twblack: getset('hwb', 2, maxfn(100)),\n\n\tcyan: getset('cmyk', 0, maxfn(100)),\n\tmagenta: getset('cmyk', 1, maxfn(100)),\n\tyellow: getset('cmyk', 2, maxfn(100)),\n\tblack: getset('cmyk', 3, maxfn(100)),\n\n\tx: getset('xyz', 0, maxfn(100)),\n\ty: getset('xyz', 1, maxfn(100)),\n\tz: getset('xyz', 2, maxfn(100)),\n\n\tl: getset('lab', 0, maxfn(100)),\n\ta: getset('lab', 1),\n\tb: getset('lab', 2),\n\n\tkeyword: function (val) {\n\t\tif (arguments.length) {\n\t\t\treturn new Color(val);\n\t\t}\n\n\t\treturn convert[this.model].keyword(this.color);\n\t},\n\n\thex: function (val) {\n\t\tif (arguments.length) {\n\t\t\treturn new Color(val);\n\t\t}\n\n\t\treturn colorString.to.hex(this.rgb().round().color);\n\t},\n\n\trgbNumber: function () {\n\t\tvar rgb = this.rgb().color;\n\t\treturn ((rgb[0] & 0xFF) << 16) | ((rgb[1] & 0xFF) << 8) | (rgb[2] & 0xFF);\n\t},\n\n\tluminosity: function () {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tvar rgb = this.rgb().color;\n\n\t\tvar lum = [];\n\t\tfor (var i = 0; i < rgb.length; i++) {\n\t\t\tvar chan = rgb[i] / 255;\n\t\t\tlum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);\n\t\t}\n\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast: function (color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tvar lum1 = this.luminosity();\n\t\tvar lum2 = color2.luminosity();\n\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel: function (color2) {\n\t\tvar contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7.1) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tdark: function () {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tvar rgb = this.rgb().color;\n\t\tvar yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n\t\treturn yiq < 128;\n\t},\n\n\tlight: function () {\n\t\treturn !this.dark();\n\t},\n\n\tnegate: function () {\n\t\tvar rgb = this.rgb();\n\t\tfor (var i = 0; i < 3; i++) {\n\t\t\trgb.color[i] = 255 - rgb.color[i];\n\t\t}\n\t\treturn rgb;\n\t},\n\n\tlighten: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[2] += hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdarken: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[2] -= hsl.color[2] * ratio;\n\t\treturn hsl;\n\t},\n\n\tsaturate: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[1] += hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\tdesaturate: function (ratio) {\n\t\tvar hsl = this.hsl();\n\t\thsl.color[1] -= hsl.color[1] * ratio;\n\t\treturn hsl;\n\t},\n\n\twhiten: function (ratio) {\n\t\tvar hwb = this.hwb();\n\t\thwb.color[1] += hwb.color[1] * ratio;\n\t\treturn hwb;\n\t},\n\n\tblacken: function (ratio) {\n\t\tvar hwb = this.hwb();\n\t\thwb.color[2] += hwb.color[2] * ratio;\n\t\treturn hwb;\n\t},\n\n\tgrayscale: function () {\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tvar rgb = this.rgb().color;\n\t\tvar val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\treturn Color.rgb(val, val, val);\n\t},\n\n\tfade: function (ratio) {\n\t\treturn this.alpha(this.valpha - (this.valpha * ratio));\n\t},\n\n\topaquer: function (ratio) {\n\t\treturn this.alpha(this.valpha + (this.valpha * ratio));\n\t},\n\n\trotate: function (degrees) {\n\t\tvar hsl = this.hsl();\n\t\tvar hue = hsl.color[0];\n\t\thue = (hue + degrees) % 360;\n\t\thue = hue < 0 ? 360 + hue : hue;\n\t\thsl.color[0] = hue;\n\t\treturn hsl;\n\t},\n\n\tmix: function (mixinColor, weight) {\n\t\t// ported from sass implementation in C\n\t\t// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t\tvar color1 = this.rgb();\n\t\tvar color2 = mixinColor.rgb();\n\t\tvar p = weight === undefined ? 0.5 : weight;\n\n\t\tvar w = 2 * p - 1;\n\t\tvar a = color1.alpha() - color2.alpha();\n\n\t\tvar w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n\t\tvar w2 = 1 - w1;\n\n\t\treturn Color.rgb(\n\t\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\t\tw1 * color1.blue() + w2 * color2.blue(),\n\t\t\t\tcolor1.alpha() * p + color2.alpha() * (1 - p));\n\t}\n};\n\n// model conversion methods and static constructors\nObject.keys(convert).forEach(function (model) {\n\tif (skippedModels.indexOf(model) !== -1) {\n\t\treturn;\n\t}\n\n\tvar channels = convert[model].channels;\n\n\t// conversion methods\n\tColor.prototype[model] = function () {\n\t\tif (this.model === model) {\n\t\t\treturn new Color(this);\n\t\t}\n\n\t\tif (arguments.length) {\n\t\t\treturn new Color(arguments, model);\n\t\t}\n\n\t\tvar newAlpha = typeof arguments[channels] === 'number' ? channels : this.valpha;\n\t\treturn new Color(assertArray(convert[this.model][model].raw(this.color)).concat(newAlpha), model);\n\t};\n\n\t// 'static' construction methods\n\tColor[model] = function (color) {\n\t\tif (typeof color === 'number') {\n\t\t\tcolor = zeroArray(_slice.call(arguments), channels);\n\t\t}\n\t\treturn new Color(color, model);\n\t};\n});\n\nfunction roundTo(num, places) {\n\treturn Number(num.toFixed(places));\n}\n\nfunction roundToPlace(places) {\n\treturn function (num) {\n\t\treturn roundTo(num, places);\n\t};\n}\n\nfunction getset(model, channel, modifier) {\n\tmodel = Array.isArray(model) ? model : [model];\n\n\tmodel.forEach(function (m) {\n\t\t(limiters[m] || (limiters[m] = []))[channel] = modifier;\n\t});\n\n\tmodel = model[0];\n\n\treturn function (val) {\n\t\tvar result;\n\n\t\tif (arguments.length) {\n\t\t\tif (modifier) {\n\t\t\t\tval = modifier(val);\n\t\t\t}\n\n\t\t\tresult = this[model]();\n\t\t\tresult.color[channel] = val;\n\t\t\treturn result;\n\t\t}\n\n\t\tresult = this[model]().color[channel];\n\t\tif (modifier) {\n\t\t\tresult = modifier(result);\n\t\t}\n\n\t\treturn result;\n\t};\n}\n\nfunction maxfn(max) {\n\treturn function (v) {\n\t\treturn Math.max(0, Math.min(max, v));\n\t};\n}\n\nfunction assertArray(val) {\n\treturn Array.isArray(val) ? val : [val];\n}\n\nfunction zeroArray(arr, length) {\n\tfor (var i = 0; i < length; i++) {\n\t\tif (typeof arr[i] !== 'number') {\n\t\t\tarr[i] = 0;\n\t\t}\n\t}\n\n\treturn arr;\n}\n\nmodule.exports = Color;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/color/index.js\n// module id = ./node_modules/color/index.js\n// module chunks = 0","/**\n * Module dependencies.\n */\n\ntry {\n var index = require('indexof');\n} catch (err) {\n var index = require('component-indexof');\n}\n\n/**\n * Whitespace regexp.\n */\n\nvar re = /\\s+/;\n\n/**\n * toString reference.\n */\n\nvar toString = Object.prototype.toString;\n\n/**\n * Wrap `el` in a `ClassList`.\n *\n * @param {Element} el\n * @return {ClassList}\n * @api public\n */\n\nmodule.exports = function(el){\n return new ClassList(el);\n};\n\n/**\n * Initialize a new ClassList for `el`.\n *\n * @param {Element} el\n * @api private\n */\n\nfunction ClassList(el) {\n if (!el || !el.nodeType) {\n throw new Error('A DOM element reference is required');\n }\n this.el = el;\n this.list = el.classList;\n}\n\n/**\n * Add class `name` if not already present.\n *\n * @param {String} name\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.add = function(name){\n // classList\n if (this.list) {\n this.list.add(name);\n return this;\n }\n\n // fallback\n var arr = this.array();\n var i = index(arr, name);\n if (!~i) arr.push(name);\n this.el.className = arr.join(' ');\n return this;\n};\n\n/**\n * Remove class `name` when present, or\n * pass a regular expression to remove\n * any which match.\n *\n * @param {String|RegExp} name\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.remove = function(name){\n if ('[object RegExp]' == toString.call(name)) {\n return this.removeMatching(name);\n }\n\n // classList\n if (this.list) {\n this.list.remove(name);\n return this;\n }\n\n // fallback\n var arr = this.array();\n var i = index(arr, name);\n if (~i) arr.splice(i, 1);\n this.el.className = arr.join(' ');\n return this;\n};\n\n/**\n * Remove all classes matching `re`.\n *\n * @param {RegExp} re\n * @return {ClassList}\n * @api private\n */\n\nClassList.prototype.removeMatching = function(re){\n var arr = this.array();\n for (var i = 0; i < arr.length; i++) {\n if (re.test(arr[i])) {\n this.remove(arr[i]);\n }\n }\n return this;\n};\n\n/**\n * Toggle class `name`, can force state via `force`.\n *\n * For browsers that support classList, but do not support `force` yet,\n * the mistake will be detected and corrected.\n *\n * @param {String} name\n * @param {Boolean} force\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.toggle = function(name, force){\n // classList\n if (this.list) {\n if (\"undefined\" !== typeof force) {\n if (force !== this.list.toggle(name, force)) {\n this.list.toggle(name); // toggle again to correct\n }\n } else {\n this.list.toggle(name);\n }\n return this;\n }\n\n // fallback\n if (\"undefined\" !== typeof force) {\n if (!force) {\n this.remove(name);\n } else {\n this.add(name);\n }\n } else {\n if (this.has(name)) {\n this.remove(name);\n } else {\n this.add(name);\n }\n }\n\n return this;\n};\n\n/**\n * Return an array of classes.\n *\n * @return {Array}\n * @api public\n */\n\nClassList.prototype.array = function(){\n var className = this.el.getAttribute('class') || '';\n var str = className.replace(/^\\s+|\\s+$/g, '');\n var arr = str.split(re);\n if ('' === arr[0]) arr.shift();\n return arr;\n};\n\n/**\n * Check if class `name` is present.\n *\n * @param {String} name\n * @return {ClassList}\n * @api public\n */\n\nClassList.prototype.has =\nClassList.prototype.contains = function(name){\n return this.list\n ? this.list.contains(name)\n : !! ~index(this.array(), name);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/component-classes/index.js\n// module id = ./node_modules/component-classes/index.js\n// module chunks = 0","module.exports = function(arr, obj){\n if (arr.indexOf) return arr.indexOf(obj);\n for (var i = 0; i < arr.length; ++i) {\n if (arr[i] === obj) return i;\n }\n return -1;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/component-indexof/index.js\n// module id = ./node_modules/component-indexof/index.js\n// module chunks = 0","// Console-polyfill. MIT license.\n// https://github.com/paulmillr/console-polyfill\n// Make it safe to do console.log() always.\n(function(global) {\n 'use strict';\n if (!global.console) {\n global.console = {};\n }\n var con = global.console;\n var prop, method;\n var dummy = function() {};\n var properties = ['memory'];\n var methods = ('assert,clear,count,debug,dir,dirxml,error,exception,group,' +\n 'groupCollapsed,groupEnd,info,log,markTimeline,profile,profiles,profileEnd,' +\n 'show,table,time,timeEnd,timeline,timelineEnd,timeStamp,trace,warn').split(',');\n while (prop = properties.pop()) if (!con[prop]) con[prop] = {};\n while (method = methods.pop()) if (typeof con[method] !== 'function') con[method] = dummy;\n // Using `this` for web workers & supports Browserify / Webpack.\n})(typeof window === 'undefined' ? this : window);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/console-polyfill/index.js\n// module id = ./node_modules/console-polyfill/index.js\n// module chunks = 0","require('../../modules/es6.string.iterator');\nrequire('../../modules/es6.array.from');\nmodule.exports = require('../../modules/_core').Array.from;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/array/from.js\n// module id = ./node_modules/core-js/library/fn/array/from.js\n// module chunks = 0","require('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/_core').Object.assign;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/object/assign.js\n// module id = ./node_modules/core-js/library/fn/object/assign.js\n// module chunks = 0","require('../../modules/es6.object.create');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function create(P, D){\n return $Object.create(P, D);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/object/create.js\n// module id = ./node_modules/core-js/library/fn/object/create.js\n// module chunks = 0","require('../../modules/es6.object.define-property');\nvar $Object = require('../../modules/_core').Object;\nmodule.exports = function defineProperty(it, key, desc){\n return $Object.defineProperty(it, key, desc);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/object/define-property.js\n// module id = ./node_modules/core-js/library/fn/object/define-property.js\n// module chunks = 0","require('../../modules/es6.object.get-prototype-of');\nmodule.exports = require('../../modules/_core').Object.getPrototypeOf;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/object/get-prototype-of.js\n// module id = ./node_modules/core-js/library/fn/object/get-prototype-of.js\n// module chunks = 0","require('../../modules/es6.object.keys');\nmodule.exports = require('../../modules/_core').Object.keys;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/object/keys.js\n// module id = ./node_modules/core-js/library/fn/object/keys.js\n// module chunks = 0","require('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/_core').Object.setPrototypeOf;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/object/set-prototype-of.js\n// module id = ./node_modules/core-js/library/fn/object/set-prototype-of.js\n// module chunks = 0","require('../../modules/es6.symbol');\nrequire('../../modules/es6.object.to-string');\nrequire('../../modules/es7.symbol.async-iterator');\nrequire('../../modules/es7.symbol.observable');\nmodule.exports = require('../../modules/_core').Symbol;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/symbol/index.js\n// module id = ./node_modules/core-js/library/fn/symbol/index.js\n// module chunks = 0","require('../../modules/es6.string.iterator');\nrequire('../../modules/web.dom.iterable');\nmodule.exports = require('../../modules/_wks-ext').f('iterator');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/fn/symbol/iterator.js\n// module id = ./node_modules/core-js/library/fn/symbol/iterator.js\n// module chunks = 0","module.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_a-function.js\n// module id = ./node_modules/core-js/library/modules/_a-function.js\n// module chunks = 0","module.exports = function(){ /* empty */ };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_add-to-unscopables.js\n// module id = ./node_modules/core-js/library/modules/_add-to-unscopables.js\n// module chunks = 0","var isObject = require('./_is-object');\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_an-object.js\n// module id = ./node_modules/core-js/library/modules/_an-object.js\n// module chunks = 0","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject')\n , toLength = require('./_to-length')\n , toIndex = require('./_to-index');\nmodule.exports = function(IS_INCLUDES){\n return function($this, el, fromIndex){\n var O = toIObject($this)\n , length = toLength(O.length)\n , index = toIndex(fromIndex, length)\n , value;\n // Array#includes uses SameValueZero equality algorithm\n if(IS_INCLUDES && el != el)while(length > index){\n value = O[index++];\n if(value != value)return true;\n // Array#toIndex ignores holes, Array#includes - not\n } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n if(O[index] === el)return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_array-includes.js\n// module id = ./node_modules/core-js/library/modules/_array-includes.js\n// module chunks = 0","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof')\n , TAG = require('./_wks')('toStringTag')\n // ES3 wrong here\n , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function(it, key){\n try {\n return it[key];\n } catch(e){ /* empty */ }\n};\n\nmodule.exports = function(it){\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_classof.js\n// module id = ./node_modules/core-js/library/modules/_classof.js\n// module chunks = 0","var toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_cof.js\n// module id = ./node_modules/core-js/library/modules/_cof.js\n// module chunks = 0","var core = module.exports = {version: '2.4.0'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_core.js\n// module id = ./node_modules/core-js/library/modules/_core.js\n// module chunks = 0","'use strict';\nvar $defineProperty = require('./_object-dp')\n , createDesc = require('./_property-desc');\n\nmodule.exports = function(object, index, value){\n if(index in object)$defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_create-property.js\n// module id = ./node_modules/core-js/library/modules/_create-property.js\n// module chunks = 0","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function(fn, that, length){\n aFunction(fn);\n if(that === undefined)return fn;\n switch(length){\n case 1: return function(a){\n return fn.call(that, a);\n };\n case 2: return function(a, b){\n return fn.call(that, a, b);\n };\n case 3: return function(a, b, c){\n return fn.call(that, a, b, c);\n };\n }\n return function(/* ...args */){\n return fn.apply(that, arguments);\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_ctx.js\n// module id = ./node_modules/core-js/library/modules/_ctx.js\n// module chunks = 0","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_defined.js\n// module id = ./node_modules/core-js/library/modules/_defined.js\n// module chunks = 0","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_descriptors.js\n// module id = ./node_modules/core-js/library/modules/_descriptors.js\n// module chunks = 0","var isObject = require('./_is-object')\n , document = require('./_global').document\n // in old IE typeof document.createElement is 'object'\n , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n return is ? document.createElement(it) : {};\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_dom-create.js\n// module id = ./node_modules/core-js/library/modules/_dom-create.js\n// module chunks = 0","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_enum-bug-keys.js\n// module id = ./node_modules/core-js/library/modules/_enum-bug-keys.js\n// module chunks = 0","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys')\n , gOPS = require('./_object-gops')\n , pIE = require('./_object-pie');\nmodule.exports = function(it){\n var result = getKeys(it)\n , getSymbols = gOPS.f;\n if(getSymbols){\n var symbols = getSymbols(it)\n , isEnum = pIE.f\n , i = 0\n , key;\n while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n } return result;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_enum-keys.js\n// module id = ./node_modules/core-js/library/modules/_enum-keys.js\n// module chunks = 0","var global = require('./_global')\n , core = require('./_core')\n , ctx = require('./_ctx')\n , hide = require('./_hide')\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , IS_WRAP = type & $export.W\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE]\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]\n , key, own, out;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if(own && key in exports)continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function(C){\n var F = function(a, b, c){\n if(this instanceof C){\n switch(arguments.length){\n case 0: return new C;\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if(IS_PROTO){\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library` \nmodule.exports = $export;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_export.js\n// module id = ./node_modules/core-js/library/modules/_export.js\n// module chunks = 0","module.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_fails.js\n// module id = ./node_modules/core-js/library/modules/_fails.js\n// module chunks = 0","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_global.js\n// module id = ./node_modules/core-js/library/modules/_global.js\n// module chunks = 0","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_has.js\n// module id = ./node_modules/core-js/library/modules/_has.js\n// module chunks = 0","var dP = require('./_object-dp')\n , createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function(object, key, value){\n return dP.f(object, key, createDesc(1, value));\n} : function(object, key, value){\n object[key] = value;\n return object;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_hide.js\n// module id = ./node_modules/core-js/library/modules/_hide.js\n// module chunks = 0","module.exports = require('./_global').document && document.documentElement;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_html.js\n// module id = ./node_modules/core-js/library/modules/_html.js\n// module chunks = 0","module.exports = !require('./_descriptors') && !require('./_fails')(function(){\n return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_ie8-dom-define.js\n// module id = ./node_modules/core-js/library/modules/_ie8-dom-define.js\n// module chunks = 0","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iobject.js\n// module id = ./node_modules/core-js/library/modules/_iobject.js\n// module chunks = 0","// check on default Array iterator\nvar Iterators = require('./_iterators')\n , ITERATOR = require('./_wks')('iterator')\n , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_is-array-iter.js\n// module id = ./node_modules/core-js/library/modules/_is-array-iter.js\n// module chunks = 0","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg){\n return cof(arg) == 'Array';\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_is-array.js\n// module id = ./node_modules/core-js/library/modules/_is-array.js\n// module chunks = 0","module.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_is-object.js\n// module id = ./node_modules/core-js/library/modules/_is-object.js\n// module chunks = 0","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function(iterator, fn, value, entries){\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch(e){\n var ret = iterator['return'];\n if(ret !== undefined)anObject(ret.call(iterator));\n throw e;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iter-call.js\n// module id = ./node_modules/core-js/library/modules/_iter-call.js\n// module chunks = 0","'use strict';\nvar create = require('./_object-create')\n , descriptor = require('./_property-desc')\n , setToStringTag = require('./_set-to-string-tag')\n , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iter-create.js\n// module id = ./node_modules/core-js/library/modules/_iter-create.js\n// module chunks = 0","'use strict';\nvar LIBRARY = require('./_library')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , hide = require('./_hide')\n , has = require('./_has')\n , Iterators = require('./_iterators')\n , $iterCreate = require('./_iter-create')\n , setToStringTag = require('./_set-to-string-tag')\n , getPrototypeOf = require('./_object-gpo')\n , ITERATOR = require('./_wks')('iterator')\n , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n , FF_ITERATOR = '@@iterator'\n , KEYS = 'keys'\n , VALUES = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind){\n if(!BUGGY && kind in proto)return proto[kind];\n switch(kind){\n case KEYS: return function keys(){ return new Constructor(this, kind); };\n case VALUES: return function values(){ return new Constructor(this, kind); };\n } return function entries(){ return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator'\n , DEF_VALUES = DEFAULT == VALUES\n , VALUES_BUG = false\n , proto = Base.prototype\n , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n , $default = $native || getMethod(DEFAULT)\n , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n , methods, key, IteratorPrototype;\n // Fix native\n if($anyNative){\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n if(IteratorPrototype !== Object.prototype){\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if(DEF_VALUES && $native && $native.name !== VALUES){\n VALUES_BUG = true;\n $default = function values(){ return $native.call(this); };\n }\n // Define iterator\n if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if(DEFAULT){\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if(FORCED)for(key in methods){\n if(!(key in proto))redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iter-define.js\n// module id = ./node_modules/core-js/library/modules/_iter-define.js\n// module chunks = 0","var ITERATOR = require('./_wks')('iterator')\n , SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function(){ SAFE_CLOSING = true; };\n Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n if(!skipClosing && !SAFE_CLOSING)return false;\n var safe = false;\n try {\n var arr = [7]\n , iter = arr[ITERATOR]();\n iter.next = function(){ return {done: safe = true}; };\n arr[ITERATOR] = function(){ return iter; };\n exec(arr);\n } catch(e){ /* empty */ }\n return safe;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iter-detect.js\n// module id = ./node_modules/core-js/library/modules/_iter-detect.js\n// module chunks = 0","module.exports = function(done, value){\n return {value: value, done: !!done};\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iter-step.js\n// module id = ./node_modules/core-js/library/modules/_iter-step.js\n// module chunks = 0","module.exports = {};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_iterators.js\n// module id = ./node_modules/core-js/library/modules/_iterators.js\n// module chunks = 0","var getKeys = require('./_object-keys')\n , toIObject = require('./_to-iobject');\nmodule.exports = function(object, el){\n var O = toIObject(object)\n , keys = getKeys(O)\n , length = keys.length\n , index = 0\n , key;\n while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_keyof.js\n// module id = ./node_modules/core-js/library/modules/_keyof.js\n// module chunks = 0","module.exports = true;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_library.js\n// module id = ./node_modules/core-js/library/modules/_library.js\n// module chunks = 0","var META = require('./_uid')('meta')\n , isObject = require('./_is-object')\n , has = require('./_has')\n , setDesc = require('./_object-dp').f\n , id = 0;\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\nvar FREEZE = !require('./_fails')(function(){\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function(it){\n setDesc(it, META, {value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n }});\n};\nvar fastKey = function(it, create){\n // return primitive with prefix\n if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return 'F';\n // not necessary to add metadata\n if(!create)return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function(it, create){\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return true;\n // not necessary to add metadata\n if(!create)return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function(it){\n if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_meta.js\n// module id = ./node_modules/core-js/library/modules/_meta.js\n// module chunks = 0","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys')\n , gOPS = require('./_object-gops')\n , pIE = require('./_object-pie')\n , toObject = require('./_to-object')\n , IObject = require('./_iobject')\n , $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function(){\n var A = {}\n , B = {}\n , S = Symbol()\n , K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k){ B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n var T = toObject(target)\n , aLen = arguments.length\n , index = 1\n , getSymbols = gOPS.f\n , isEnum = pIE.f;\n while(aLen > index){\n var S = IObject(arguments[index++])\n , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n , length = keys.length\n , j = 0\n , key;\n while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n } return T;\n} : $assign;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-assign.js\n// module id = ./node_modules/core-js/library/modules/_object-assign.js\n// module chunks = 0","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object')\n , dPs = require('./_object-dps')\n , enumBugKeys = require('./_enum-bug-keys')\n , IE_PROTO = require('./_shared-key')('IE_PROTO')\n , Empty = function(){ /* empty */ }\n , PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe')\n , i = enumBugKeys.length\n , lt = '<'\n , gt = '>'\n , iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties){\n var result;\n if(O !== null){\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty;\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-create.js\n// module id = ./node_modules/core-js/library/modules/_object-create.js\n// module chunks = 0","var anObject = require('./_an-object')\n , IE8_DOM_DEFINE = require('./_ie8-dom-define')\n , toPrimitive = require('./_to-primitive')\n , dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes){\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if(IE8_DOM_DEFINE)try {\n return dP(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)O[P] = Attributes.value;\n return O;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-dp.js\n// module id = ./node_modules/core-js/library/modules/_object-dp.js\n// module chunks = 0","var dP = require('./_object-dp')\n , anObject = require('./_an-object')\n , getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties){\n anObject(O);\n var keys = getKeys(Properties)\n , length = keys.length\n , i = 0\n , P;\n while(length > i)dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-dps.js\n// module id = ./node_modules/core-js/library/modules/_object-dps.js\n// module chunks = 0","var pIE = require('./_object-pie')\n , createDesc = require('./_property-desc')\n , toIObject = require('./_to-iobject')\n , toPrimitive = require('./_to-primitive')\n , has = require('./_has')\n , IE8_DOM_DEFINE = require('./_ie8-dom-define')\n , gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P){\n O = toIObject(O);\n P = toPrimitive(P, true);\n if(IE8_DOM_DEFINE)try {\n return gOPD(O, P);\n } catch(e){ /* empty */ }\n if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-gopd.js\n// module id = ./node_modules/core-js/library/modules/_object-gopd.js\n// module chunks = 0","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject')\n , gOPN = require('./_object-gopn').f\n , toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n try {\n return gOPN(it);\n } catch(e){\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it){\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-gopn-ext.js\n// module id = ./node_modules/core-js/library/modules/_object-gopn-ext.js\n// module chunks = 0","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal')\n , hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){\n return $keys(O, hiddenKeys);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-gopn.js\n// module id = ./node_modules/core-js/library/modules/_object-gopn.js\n// module chunks = 0","exports.f = Object.getOwnPropertySymbols;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-gops.js\n// module id = ./node_modules/core-js/library/modules/_object-gops.js\n// module chunks = 0","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has')\n , toObject = require('./_to-object')\n , IE_PROTO = require('./_shared-key')('IE_PROTO')\n , ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function(O){\n O = toObject(O);\n if(has(O, IE_PROTO))return O[IE_PROTO];\n if(typeof O.constructor == 'function' && O instanceof O.constructor){\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-gpo.js\n// module id = ./node_modules/core-js/library/modules/_object-gpo.js\n// module chunks = 0","var has = require('./_has')\n , toIObject = require('./_to-iobject')\n , arrayIndexOf = require('./_array-includes')(false)\n , IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function(object, names){\n var O = toIObject(object)\n , i = 0\n , result = []\n , key;\n for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while(names.length > i)if(has(O, key = names[i++])){\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-keys-internal.js\n// module id = ./node_modules/core-js/library/modules/_object-keys-internal.js\n// module chunks = 0","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal')\n , enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O){\n return $keys(O, enumBugKeys);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-keys.js\n// module id = ./node_modules/core-js/library/modules/_object-keys.js\n// module chunks = 0","exports.f = {}.propertyIsEnumerable;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-pie.js\n// module id = ./node_modules/core-js/library/modules/_object-pie.js\n// module chunks = 0","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export')\n , core = require('./_core')\n , fails = require('./_fails');\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_object-sap.js\n// module id = ./node_modules/core-js/library/modules/_object-sap.js\n// module chunks = 0","module.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_property-desc.js\n// module id = ./node_modules/core-js/library/modules/_property-desc.js\n// module chunks = 0","module.exports = require('./_hide');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_redefine.js\n// module id = ./node_modules/core-js/library/modules/_redefine.js\n// module chunks = 0","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object')\n , anObject = require('./_an-object');\nvar check = function(O, proto){\n anObject(O);\n if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function(test, buggy, set){\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch(e){ buggy = true; }\n return function setPrototypeOf(O, proto){\n check(O, proto);\n if(buggy)O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_set-proto.js\n// module id = ./node_modules/core-js/library/modules/_set-proto.js\n// module chunks = 0","var def = require('./_object-dp').f\n , has = require('./_has')\n , TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_set-to-string-tag.js\n// module id = ./node_modules/core-js/library/modules/_set-to-string-tag.js\n// module chunks = 0","var shared = require('./_shared')('keys')\n , uid = require('./_uid');\nmodule.exports = function(key){\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_shared-key.js\n// module id = ./node_modules/core-js/library/modules/_shared-key.js\n// module chunks = 0","var global = require('./_global')\n , SHARED = '__core-js_shared__'\n , store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n return store[key] || (store[key] = {});\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_shared.js\n// module id = ./node_modules/core-js/library/modules/_shared.js\n// module chunks = 0","var toInteger = require('./_to-integer')\n , defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n return function(that, pos){\n var s = String(defined(that))\n , i = toInteger(pos)\n , l = s.length\n , a, b;\n if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_string-at.js\n// module id = ./node_modules/core-js/library/modules/_string-at.js\n// module chunks = 0","var toInteger = require('./_to-integer')\n , max = Math.max\n , min = Math.min;\nmodule.exports = function(index, length){\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_to-index.js\n// module id = ./node_modules/core-js/library/modules/_to-index.js\n// module chunks = 0","// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_to-integer.js\n// module id = ./node_modules/core-js/library/modules/_to-integer.js\n// module chunks = 0","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject')\n , defined = require('./_defined');\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_to-iobject.js\n// module id = ./node_modules/core-js/library/modules/_to-iobject.js\n// module chunks = 0","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer')\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_to-length.js\n// module id = ./node_modules/core-js/library/modules/_to-length.js\n// module chunks = 0","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function(it){\n return Object(defined(it));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_to-object.js\n// module id = ./node_modules/core-js/library/modules/_to-object.js\n// module chunks = 0","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function(it, S){\n if(!isObject(it))return it;\n var fn, val;\n if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_to-primitive.js\n// module id = ./node_modules/core-js/library/modules/_to-primitive.js\n// module chunks = 0","var id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_uid.js\n// module id = ./node_modules/core-js/library/modules/_uid.js\n// module chunks = 0","var global = require('./_global')\n , core = require('./_core')\n , LIBRARY = require('./_library')\n , wksExt = require('./_wks-ext')\n , defineProperty = require('./_object-dp').f;\nmodule.exports = function(name){\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_wks-define.js\n// module id = ./node_modules/core-js/library/modules/_wks-define.js\n// module chunks = 0","exports.f = require('./_wks');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_wks-ext.js\n// module id = ./node_modules/core-js/library/modules/_wks-ext.js\n// module chunks = 0","var store = require('./_shared')('wks')\n , uid = require('./_uid')\n , Symbol = require('./_global').Symbol\n , USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function(name){\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/_wks.js\n// module id = ./node_modules/core-js/library/modules/_wks.js\n// module chunks = 0","var classof = require('./_classof')\n , ITERATOR = require('./_wks')('iterator')\n , Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function(it){\n if(it != undefined)return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/core.get-iterator-method.js\n// module id = ./node_modules/core-js/library/modules/core.get-iterator-method.js\n// module chunks = 0","'use strict';\nvar ctx = require('./_ctx')\n , $export = require('./_export')\n , toObject = require('./_to-object')\n , call = require('./_iter-call')\n , isArrayIter = require('./_is-array-iter')\n , toLength = require('./_to-length')\n , createProperty = require('./_create-property')\n , getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function(iter){ Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n var O = toObject(arrayLike)\n , C = typeof this == 'function' ? this : Array\n , aLen = arguments.length\n , mapfn = aLen > 1 ? arguments[1] : undefined\n , mapping = mapfn !== undefined\n , index = 0\n , iterFn = getIterFn(O)\n , length, result, step, iterator;\n if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for(result = new C(length); length > index; index++){\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.array.from.js\n// module id = ./node_modules/core-js/library/modules/es6.array.from.js\n// module chunks = 0","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables')\n , step = require('./_iter-step')\n , Iterators = require('./_iterators')\n , toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function(iterated, kind){\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , kind = this._k\n , index = this._i++;\n if(!O || index >= O.length){\n this._t = undefined;\n return step(1);\n }\n if(kind == 'keys' )return step(0, index);\n if(kind == 'values')return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.array.iterator.js\n// module id = ./node_modules/core-js/library/modules/es6.array.iterator.js\n// module chunks = 0","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', {assign: require('./_object-assign')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.object.assign.js\n// module id = ./node_modules/core-js/library/modules/es6.object.assign.js\n// module chunks = 0","var $export = require('./_export')\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', {create: require('./_object-create')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.object.create.js\n// module id = ./node_modules/core-js/library/modules/es6.object.create.js\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperty: require('./_object-dp').f});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.object.define-property.js\n// module id = ./node_modules/core-js/library/modules/es6.object.define-property.js\n// module chunks = 0","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object')\n , $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function(){\n return function getPrototypeOf(it){\n return $getPrototypeOf(toObject(it));\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.object.get-prototype-of.js\n// module id = ./node_modules/core-js/library/modules/es6.object.get-prototype-of.js\n// module chunks = 0","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object')\n , $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function(){\n return function keys(it){\n return $keys(toObject(it));\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.object.keys.js\n// module id = ./node_modules/core-js/library/modules/es6.object.keys.js\n// module chunks = 0","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', {setPrototypeOf: require('./_set-proto').set});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.object.set-prototype-of.js\n// module id = ./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\n// module chunks = 0","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function(iterated){\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , index = this._i\n , point;\n if(index >= O.length)return {value: undefined, done: true};\n point = $at(O, index);\n this._i += point.length;\n return {value: point, done: false};\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.string.iterator.js\n// module id = ./node_modules/core-js/library/modules/es6.string.iterator.js\n// module chunks = 0","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global')\n , has = require('./_has')\n , DESCRIPTORS = require('./_descriptors')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , META = require('./_meta').KEY\n , $fails = require('./_fails')\n , shared = require('./_shared')\n , setToStringTag = require('./_set-to-string-tag')\n , uid = require('./_uid')\n , wks = require('./_wks')\n , wksExt = require('./_wks-ext')\n , wksDefine = require('./_wks-define')\n , keyOf = require('./_keyof')\n , enumKeys = require('./_enum-keys')\n , isArray = require('./_is-array')\n , anObject = require('./_an-object')\n , toIObject = require('./_to-iobject')\n , toPrimitive = require('./_to-primitive')\n , createDesc = require('./_property-desc')\n , _create = require('./_object-create')\n , gOPNExt = require('./_object-gopn-ext')\n , $GOPD = require('./_object-gopd')\n , $DP = require('./_object-dp')\n , $keys = require('./_object-keys')\n , gOPD = $GOPD.f\n , dP = $DP.f\n , gOPN = gOPNExt.f\n , $Symbol = global.Symbol\n , $JSON = global.JSON\n , _stringify = $JSON && $JSON.stringify\n , PROTOTYPE = 'prototype'\n , HIDDEN = wks('_hidden')\n , TO_PRIMITIVE = wks('toPrimitive')\n , isEnum = {}.propertyIsEnumerable\n , SymbolRegistry = shared('symbol-registry')\n , AllSymbols = shared('symbols')\n , OPSymbols = shared('op-symbols')\n , ObjectProto = Object[PROTOTYPE]\n , USE_NATIVE = typeof $Symbol == 'function'\n , QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n return _create(dP({}, 'a', {\n get: function(){ return dP(this, 'a', {value: 7}).a; }\n })).a != 7;\n}) ? function(it, key, D){\n var protoDesc = gOPD(ObjectProto, key);\n if(protoDesc)delete ObjectProto[key];\n dP(it, key, D);\n if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function(tag){\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n return typeof it == 'symbol';\n} : function(it){\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if(has(AllSymbols, key)){\n if(!D.enumerable){\n if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n D = _create(D, {enumerable: createDesc(0, false)});\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n anObject(it);\n var keys = enumKeys(P = toIObject(P))\n , i = 0\n , l = keys.length\n , key;\n while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P){\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n it = toIObject(it);\n key = toPrimitive(key, true);\n if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n var D = gOPD(it, key);\n if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n var names = gOPN(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n var IS_OP = it === ObjectProto\n , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif(!USE_NATIVE){\n $Symbol = function Symbol(){\n if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function(value){\n if(this === ObjectProto)$set.call(OPSymbols, value);\n if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n require('./_object-gops').f = $getOwnPropertySymbols;\n\n if(DESCRIPTORS && !require('./_library')){\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function(name){\n return wrap(wks(name));\n }\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\nfor(var symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\nfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function(key){\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(key){\n if(isSymbol(key))return keyOf(SymbolRegistry, key);\n throw TypeError(key + ' is not a symbol!');\n },\n useSetter: function(){ setter = true; },\n useSimple: function(){ setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it){\n if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n var args = [it]\n , i = 1\n , replacer, $replacer;\n while(arguments.length > i)args.push(arguments[i++]);\n replacer = args[1];\n if(typeof replacer == 'function')$replacer = replacer;\n if($replacer || !isArray(replacer))replacer = function(key, value){\n if($replacer)value = $replacer.call(this, key, value);\n if(!isSymbol(value))return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es6.symbol.js\n// module id = ./node_modules/core-js/library/modules/es6.symbol.js\n// module chunks = 0","require('./_wks-define')('asyncIterator');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es7.symbol.async-iterator.js\n// module id = ./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\n// module chunks = 0","require('./_wks-define')('observable');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/es7.symbol.observable.js\n// module id = ./node_modules/core-js/library/modules/es7.symbol.observable.js\n// module chunks = 0","require('./es6.array.iterator');\nvar global = require('./_global')\n , hide = require('./_hide')\n , Iterators = require('./_iterators')\n , TO_STRING_TAG = require('./_wks')('toStringTag');\n\nfor(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){\n var NAME = collections[i]\n , Collection = global[NAME]\n , proto = Collection && Collection.prototype;\n if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/library/modules/web.dom.iterable.js\n// module id = ./node_modules/core-js/library/modules/web.dom.iterable.js\n// module chunks = 0","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n// NOTE: These type checking functions intentionally don't use `instanceof`\n// because it is fragile and can be easily faked with `Object.create()`.\n\nfunction isArray(arg) {\n if (Array.isArray) {\n return Array.isArray(arg);\n }\n return objectToString(arg) === '[object Array]';\n}\nexports.isArray = isArray;\n\nfunction isBoolean(arg) {\n return typeof arg === 'boolean';\n}\nexports.isBoolean = isBoolean;\n\nfunction isNull(arg) {\n return arg === null;\n}\nexports.isNull = isNull;\n\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\nexports.isNullOrUndefined = isNullOrUndefined;\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\nexports.isNumber = isNumber;\n\nfunction isString(arg) {\n return typeof arg === 'string';\n}\nexports.isString = isString;\n\nfunction isSymbol(arg) {\n return typeof arg === 'symbol';\n}\nexports.isSymbol = isSymbol;\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\nexports.isUndefined = isUndefined;\n\nfunction isRegExp(re) {\n return objectToString(re) === '[object RegExp]';\n}\nexports.isRegExp = isRegExp;\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\nexports.isObject = isObject;\n\nfunction isDate(d) {\n return objectToString(d) === '[object Date]';\n}\nexports.isDate = isDate;\n\nfunction isError(e) {\n return (objectToString(e) === '[object Error]' || e instanceof Error);\n}\nexports.isError = isError;\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\nexports.isFunction = isFunction;\n\nfunction isPrimitive(arg) {\n return arg === null ||\n typeof arg === 'boolean' ||\n typeof arg === 'number' ||\n typeof arg === 'string' ||\n typeof arg === 'symbol' || // ES6 symbol\n typeof arg === 'undefined';\n}\nexports.isPrimitive = isPrimitive;\n\nexports.isBuffer = Buffer.isBuffer;\n\nfunction objectToString(o) {\n return Object.prototype.toString.call(o);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-util-is/lib/util.js\n// module id = ./node_modules/core-util-is/lib/util.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar EVENT_NAME_MAP = {\n transitionend: {\n transition: 'transitionend',\n WebkitTransition: 'webkitTransitionEnd',\n MozTransition: 'mozTransitionEnd',\n OTransition: 'oTransitionEnd',\n msTransition: 'MSTransitionEnd'\n },\n\n animationend: {\n animation: 'animationend',\n WebkitAnimation: 'webkitAnimationEnd',\n MozAnimation: 'mozAnimationEnd',\n OAnimation: 'oAnimationEnd',\n msAnimation: 'MSAnimationEnd'\n }\n};\n\nvar endEvents = [];\n\nfunction detectEvents() {\n var testEl = document.createElement('div');\n var style = testEl.style;\n\n if (!('AnimationEvent' in window)) {\n delete EVENT_NAME_MAP.animationend.animation;\n }\n\n if (!('TransitionEvent' in window)) {\n delete EVENT_NAME_MAP.transitionend.transition;\n }\n\n for (var baseEventName in EVENT_NAME_MAP) {\n if (EVENT_NAME_MAP.hasOwnProperty(baseEventName)) {\n var baseEvents = EVENT_NAME_MAP[baseEventName];\n for (var styleName in baseEvents) {\n if (styleName in style) {\n endEvents.push(baseEvents[styleName]);\n break;\n }\n }\n }\n }\n}\n\nif (typeof window !== 'undefined' && typeof document !== 'undefined') {\n detectEvents();\n}\n\nfunction addEventListener(node, eventName, eventListener) {\n node.addEventListener(eventName, eventListener, false);\n}\n\nfunction removeEventListener(node, eventName, eventListener) {\n node.removeEventListener(eventName, eventListener, false);\n}\n\nvar TransitionEvents = {\n addEndEventListener: function addEndEventListener(node, eventListener) {\n if (endEvents.length === 0) {\n window.setTimeout(eventListener, 0);\n return;\n }\n endEvents.forEach(function (endEvent) {\n addEventListener(node, endEvent, eventListener);\n });\n },\n\n\n endEvents: endEvents,\n\n removeEndEventListener: function removeEndEventListener(node, eventListener) {\n if (endEvents.length === 0) {\n return;\n }\n endEvents.forEach(function (endEvent) {\n removeEventListener(node, endEvent, eventListener);\n });\n }\n};\n\nexports[\"default\"] = TransitionEvents;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-animation/lib/Event.js\n// module id = ./node_modules/css-animation/lib/Event.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nvar _Event = require('./Event');\n\nvar _Event2 = _interopRequireDefault(_Event);\n\nvar _componentClasses = require('component-classes');\n\nvar _componentClasses2 = _interopRequireDefault(_componentClasses);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nvar isCssAnimationSupported = _Event2[\"default\"].endEvents.length !== 0;\n\n\nvar capitalPrefixes = ['Webkit', 'Moz', 'O',\n// ms is special .... !\n'ms'];\nvar prefixes = ['-webkit-', '-moz-', '-o-', 'ms-', ''];\n\nfunction getStyleProperty(node, name) {\n var style = window.getComputedStyle(node);\n\n var ret = '';\n for (var i = 0; i < prefixes.length; i++) {\n ret = style.getPropertyValue(prefixes[i] + name);\n if (ret) {\n break;\n }\n }\n return ret;\n}\n\nfunction fixBrowserByTimeout(node) {\n if (isCssAnimationSupported) {\n var transitionDelay = parseFloat(getStyleProperty(node, 'transition-delay')) || 0;\n var transitionDuration = parseFloat(getStyleProperty(node, 'transition-duration')) || 0;\n var animationDelay = parseFloat(getStyleProperty(node, 'animation-delay')) || 0;\n var animationDuration = parseFloat(getStyleProperty(node, 'animation-duration')) || 0;\n var time = Math.max(transitionDuration + transitionDelay, animationDuration + animationDelay);\n // sometimes, browser bug\n node.rcEndAnimTimeout = setTimeout(function () {\n node.rcEndAnimTimeout = null;\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n }, time * 1000 + 200);\n }\n}\n\nfunction clearBrowserBugTimeout(node) {\n if (node.rcEndAnimTimeout) {\n clearTimeout(node.rcEndAnimTimeout);\n node.rcEndAnimTimeout = null;\n }\n}\n\nvar cssAnimation = function cssAnimation(node, transitionName, endCallback) {\n var nameIsObj = (typeof transitionName === 'undefined' ? 'undefined' : _typeof(transitionName)) === 'object';\n var className = nameIsObj ? transitionName.name : transitionName;\n var activeClassName = nameIsObj ? transitionName.active : transitionName + '-active';\n var end = endCallback;\n var start = void 0;\n var active = void 0;\n var nodeClasses = (0, _componentClasses2[\"default\"])(node);\n\n if (endCallback && Object.prototype.toString.call(endCallback) === '[object Object]') {\n end = endCallback.end;\n start = endCallback.start;\n active = endCallback.active;\n }\n\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n\n node.rcEndListener = function (e) {\n if (e && e.target !== node) {\n return;\n }\n\n if (node.rcAnimTimeout) {\n clearTimeout(node.rcAnimTimeout);\n node.rcAnimTimeout = null;\n }\n\n clearBrowserBugTimeout(node);\n\n nodeClasses.remove(className);\n nodeClasses.remove(activeClassName);\n\n _Event2[\"default\"].removeEndEventListener(node, node.rcEndListener);\n node.rcEndListener = null;\n\n // Usually this optional end is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (end) {\n end();\n }\n };\n\n _Event2[\"default\"].addEndEventListener(node, node.rcEndListener);\n\n if (start) {\n start();\n }\n nodeClasses.add(className);\n\n node.rcAnimTimeout = setTimeout(function () {\n node.rcAnimTimeout = null;\n nodeClasses.add(activeClassName);\n if (active) {\n setTimeout(active, 0);\n }\n fixBrowserByTimeout(node);\n // 30ms for firefox\n }, 30);\n\n return {\n stop: function stop() {\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n }\n };\n};\n\ncssAnimation.style = function (node, style, callback) {\n if (node.rcEndListener) {\n node.rcEndListener();\n }\n\n node.rcEndListener = function (e) {\n if (e && e.target !== node) {\n return;\n }\n\n if (node.rcAnimTimeout) {\n clearTimeout(node.rcAnimTimeout);\n node.rcAnimTimeout = null;\n }\n\n clearBrowserBugTimeout(node);\n\n _Event2[\"default\"].removeEndEventListener(node, node.rcEndListener);\n node.rcEndListener = null;\n\n // Usually this optional callback is used for informing an owner of\n // a leave animation and telling it to remove the child.\n if (callback) {\n callback();\n }\n };\n\n _Event2[\"default\"].addEndEventListener(node, node.rcEndListener);\n\n node.rcAnimTimeout = setTimeout(function () {\n for (var s in style) {\n if (style.hasOwnProperty(s)) {\n node.style[s] = style[s];\n }\n }\n node.rcAnimTimeout = null;\n fixBrowserByTimeout(node);\n }, 0);\n};\n\ncssAnimation.setTransition = function (node, p, value) {\n var property = p;\n var v = value;\n if (value === undefined) {\n v = property;\n property = '';\n }\n property = property || '';\n capitalPrefixes.forEach(function (prefix) {\n node.style[prefix + 'Transition' + property] = v;\n });\n};\n\ncssAnimation.isCssAnimationSupported = isCssAnimationSupported;\n\nexports[\"default\"] = cssAnimation;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-animation/lib/index.js\n// module id = ./node_modules/css-animation/lib/index.js\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:0}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) \\\". \\\";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) \\\". \\\";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) \\\". \\\";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) \\\". \\\";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) \\\". \\\";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/draft-js/dist/Draft.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/draft-js/dist/Draft.css\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".fixedDataTableCellGroupLayout_cellGroup{-webkit-backface-visibility:hidden;backface-visibility:hidden;left:0;overflow:hidden;position:absolute;top:0;white-space:nowrap}.fixedDataTableCellGroupLayout_cellGroup>.public_fixedDataTableCell_main{display:inline-block;vertical-align:top;white-space:normal}.fixedDataTableCellGroupLayout_cellGroupWrapper{position:absolute;top:0}.fixedDataTableCellLayout_main{border-right-style:solid;border-right-width:1px;border-width:0 1px 0 0;box-sizing:border-box;display:block;overflow:hidden;position:absolute;white-space:normal}.fixedDataTableCellLayout_lastChild{border-width:0 1px 1px 0}.fixedDataTableCellLayout_alignRight{text-align:right}.fixedDataTableCellLayout_alignCenter{text-align:center}.fixedDataTableCellLayout_wrap1{display:table}.fixedDataTableCellLayout_wrap2{display:table-row}.fixedDataTableCellLayout_wrap3{display:table-cell;vertical-align:middle}.fixedDataTableCellLayout_columnResizerContainer{position:absolute;right:0;width:6px;z-index:1}.fixedDataTableCellLayout_columnResizerContainer:hover{cursor:ew-resize}.fixedDataTableCellLayout_columnResizerContainer:hover .fixedDataTableCellLayout_columnResizerKnob{visibility:visible}.fixedDataTableCellLayout_columnResizerKnob{position:absolute;right:0;visibility:hidden;width:4px}.fixedDataTableColumnResizerLineLayout_mouseArea{cursor:ew-resize;position:absolute;right:-5px;width:12px}.fixedDataTableColumnResizerLineLayout_main{border-right-style:solid;border-right-width:1px;box-sizing:border-box;position:absolute;z-index:10}.fixedDataTableColumnResizerLineLayout_hiddenElem,body[dir=rtl] .fixedDataTableColumnResizerLineLayout_main{display:none!important}.fixedDataTableLayout_main{border-style:solid;border-width:1px;box-sizing:border-box;overflow:hidden;position:relative}.fixedDataTableLayout_hasBottomBorder,.fixedDataTableLayout_header{border-bottom-style:solid;border-bottom-width:1px}.fixedDataTableLayout_footer .public_fixedDataTableCell_main{border-top-style:solid;border-top-width:1px}.fixedDataTableLayout_bottomShadow,.fixedDataTableLayout_topShadow{height:4px;left:0;position:absolute;right:0;z-index:1}.fixedDataTableLayout_bottomShadow{margin-top:-4px}.fixedDataTableLayout_rowsContainer{overflow:hidden;position:relative}.fixedDataTableLayout_horizontalScrollbar{bottom:0;position:absolute}.fixedDataTableRowLayout_main{box-sizing:border-box;overflow:hidden;position:absolute;top:0}.fixedDataTableRowLayout_body{left:0;position:absolute;top:0}.fixedDataTableRowLayout_fixedColumnsDivider{-webkit-backface-visibility:hidden;backface-visibility:hidden;border-left-style:solid;border-left-width:1px;left:0;position:absolute;top:0;width:0}.fixedDataTableRowLayout_columnsShadow{width:4px}.fixedDataTableRowLayout_rowWrapper{position:absolute;top:0}.ScrollbarLayout_main{box-sizing:border-box;outline:none;overflow:hidden;position:absolute;transition-duration:.25s;transition-timing-function:ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ScrollbarLayout_mainVertical{bottom:0;right:0;top:0;transition-property:background-color width;width:15px}.ScrollbarLayout_mainVertical.public_Scrollbar_mainActive,.ScrollbarLayout_mainVertical:hover{width:17px}.ScrollbarLayout_mainHorizontal{bottom:0;height:15px;left:0;transition-property:background-color height}.ScrollbarLayout_mainHorizontal.public_Scrollbar_mainActive,.ScrollbarLayout_mainHorizontal:hover{height:17px}.ScrollbarLayout_face{left:0;overflow:hidden;position:absolute;z-index:1}.ScrollbarLayout_face:after{border-radius:6px;content:\\\"\\\";display:block;position:absolute;transition:background-color .25s ease}.ScrollbarLayout_faceHorizontal{bottom:0;left:0;top:0}.ScrollbarLayout_faceHorizontal:after{bottom:4px;left:0;top:4px;width:100%}.ScrollbarLayout_faceVertical{left:0;right:0;top:0}.ScrollbarLayout_faceVertical:after{height:100%;left:4px;right:4px;top:0}.public_fixedDataTable_hasBottomBorder,.public_fixedDataTable_header,.public_fixedDataTable_main{border-color:#d3d3d3}.public_fixedDataTable_header .public_fixedDataTableCell_main{font-weight:700}.public_fixedDataTable_header,.public_fixedDataTable_header .public_fixedDataTableCell_main{background-color:#f6f7f8;background-image:linear-gradient(#fff,#efefef)}.public_fixedDataTable_footer .public_fixedDataTableCell_main{background-color:#f6f7f8;border-color:#d3d3d3}.public_fixedDataTable_topShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAF0lEQVR4AWPUkNeSBhHCjJoK2twgFisAFagCCp3pJlAAAAAASUVORK5CYII=) repeat-x}.public_fixedDataTable_bottomShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAHElEQVQI12MwNjZmZdAT1+Nm0JDWEGZQk1GTBgAWkwIeAEp52AAAAABJRU5ErkJggg==) repeat-x}.public_fixedDataTable_horizontalScrollbar .public_Scrollbar_mainHorizontal{background-color:#fff}.public_fixedDataTableCell_main{background-color:#fff;border-color:#d3d3d3}.public_fixedDataTableCell_highlighted{background-color:#f4f4f4}.public_fixedDataTableCell_cellContent{padding:8px}.public_fixedDataTableCell_columnResizerKnob{background-color:#0284ff}.public_fixedDataTableColumnResizerLine_main{border-color:#0284ff}.public_fixedDataTableRow_main{background-color:#fff}.public_fixedDataTableRow_highlighted,.public_fixedDataTableRow_highlighted .public_fixedDataTableCell_main{background-color:#f6f7f8}.public_fixedDataTableRow_fixedColumnsDivider{border-color:#d3d3d3}.public_fixedDataTableRow_columnsShadow{background:0 0 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==) repeat-y}.public_Scrollbar_main.public_Scrollbar_mainActive,.public_Scrollbar_main:hover{background-color:hsla(0,0%,100%,.8)}.public_Scrollbar_mainOpaque,.public_Scrollbar_mainOpaque.public_Scrollbar_mainActive,.public_Scrollbar_mainOpaque:hover{background-color:#fff}.public_Scrollbar_face:after{background-color:#c2c2c2}.public_Scrollbar_faceActive:after,.public_Scrollbar_main:hover .public_Scrollbar_face:after,.public_Scrollbar_mainActive .public_Scrollbar_face:after{background-color:#7d7d7d}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/fixed-data-table/dist/fixed-data-table.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/fixed-data-table/dist/fixed-data-table.css\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".leaflet-control-loading:empty{background-image:url(data:image/gif;base64,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);background-repeat:no-repeat}.leaflet-control-loading,.leaflet-control-zoom a.leaflet-control-loading,.leaflet-control-zoomslider a.leaflet-control-loading{display:none}.leaflet-control-loading.is-loading,.leaflet-control-zoom a.leaflet-control-loading.is-loading,.leaflet-control-zoomslider a.leaflet-control-loading.is-loading{display:block}.leaflet-bar-part-bottom{border-bottom:medium none;border-bottom-left-radius:4px;border-bottom-right-radius:4px}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/leaflet-loading/src/Control.Loading.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/leaflet-loading/src/Control.Loading.css\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".leaflet-image-layer,.leaflet-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane,.leaflet-pane>canvas,.leaflet-pane>svg,.leaflet-tile,.leaflet-tile-container,.leaflet-zoom-box{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-overlay-pane svg,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer{max-width:none!important}.leaflet-container.leaflet-touch-zoom{-ms-touch-action:pan-x pan-y;touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{-ms-touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{-ms-touch-action:none;touch-action:none}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-bottom,.leaflet-top{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-tile{will-change:opacity}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}.leaflet-zoom-anim .leaflet-zoom-animated{will-change:transform;transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-pan-anim .leaflet-tile,.leaflet-zoom-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:-webkit-grab;cursor:-moz-grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-control,.leaflet-popup-pane{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:-webkit-grabbing;cursor:-moz-grabbing}.leaflet-image-layer,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-image-layer.leaflet-interactive,.leaflet-marker-icon.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline:0}.leaflet-container a{color:#0078a8}.leaflet-container a.leaflet-active{outline:2px solid orange}.leaflet-zoom-box{border:2px dotted #38f;background:hsla(0,0%,100%,.5)}.leaflet-container{font:12px/1.5 Helvetica Neue,Arial,Helvetica,sans-serif}.leaflet-bar{box-shadow:0 1px 5px rgba(0,0,0,.65);border-radius:4px}.leaflet-bar a,.leaflet-bar a:hover{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-control-zoom-out{font-size:20px}.leaflet-touch .leaflet-control-zoom-in{font-size:22px}.leaflet-touch .leaflet-control-zoom-out{font-size:24px}.leaflet-control-layers{box-shadow:0 1px 5px rgba(0,0,0,.4);background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(\" + require(\"./images/layers.png\") + \");width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(\" + require(\"./images/layers-2x.png\") + \");background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers-expanded .leaflet-control-layers-toggle,.leaflet-control-layers .leaflet-control-layers-list{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(\" + require(\"./images/marker-icon.png\") + \")}.leaflet-container .leaflet-control-attribution{background:#fff;background:hsla(0,0%,100%,.7);margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover{text-decoration:underline}.leaflet-container .leaflet-control-attribution,.leaflet-container .leaflet-control-scale{font-size:11px}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;font-size:11px;white-space:nowrap;overflow:hidden;box-sizing:border-box;background:#fff;background:hsla(0,0%,100%,.5)}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers{box-shadow:none}.leaflet-touch .leaflet-bar,.leaflet-touch .leaflet-control-layers{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 19px;line-height:1.4}.leaflet-popup-content p{margin:18px 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px rgba(0,0,0,.4)}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;padding:4px 4px 0 0;border:none;text-align:center;width:18px;height:14px;font:16px/14px Tahoma,Verdana,sans-serif;color:#c3c3c3;text-decoration:none;font-weight:700;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover{color:#999}.leaflet-popup-scrolled{overflow:auto;border-bottom:1px solid #ddd;border-top:1px solid #ddd}.leaflet-oldie .leaflet-popup-content-wrapper{zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:\\\"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)\\\";filter:progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678,M12=0.70710678,M21=-0.70710678,M22=0.70710678)}.leaflet-oldie .leaflet-popup-tip-container{margin-top:-1px}.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.4)}.leaflet-tooltip.leaflet-clickable{cursor:pointer;pointer-events:auto}.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before,.leaflet-tooltip-top:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:\\\"\\\"}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/leaflet/dist/leaflet.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/leaflet/dist/leaflet.css\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"code[class*=language-],pre[class*=language-]{color:#000;background:none;text-shadow:0 1px #fff;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection{text-shadow:none;background:#b3d4fc}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-]::selection,pre[class*=language-] ::selection{text-shadow:none;background:#b3d4fc}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#f5f2f0}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#999}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#905}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#690}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url{color:#a67f59;background:hsla(0,0%,100%,.5)}.token.atrule,.token.attr-value,.token.keyword{color:#07a}.token.function{color:#dd4a68}.token.important,.token.regex,.token.variable{color:#e90}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/prismjs/themes/prism.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/prismjs/themes/prism.css\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".rc-tooltip{position:absolute;z-index:1070;display:block;visibility:visible;font-size:12px;line-height:1.5;opacity:.9}.rc-tooltip-hidden{display:none}.rc-tooltip-placement-top,.rc-tooltip-placement-topLeft,.rc-tooltip-placement-topRight{padding:5px 0 9px}.rc-tooltip-placement-right,.rc-tooltip-placement-rightBottom,.rc-tooltip-placement-rightTop{padding:0 5px 0 9px}.rc-tooltip-placement-bottom,.rc-tooltip-placement-bottomLeft,.rc-tooltip-placement-bottomRight{padding:9px 0 5px}.rc-tooltip-placement-left,.rc-tooltip-placement-leftBottom,.rc-tooltip-placement-leftTop{padding:0 9px 0 5px}.rc-tooltip-inner{padding:8px 10px;color:#fff;text-align:left;text-decoration:none;background-color:#373737;border-radius:6px;box-shadow:0 0 4px rgba(0,0,0,.17);min-height:34px}.rc-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.rc-tooltip-placement-top .rc-tooltip-arrow,.rc-tooltip-placement-topLeft .rc-tooltip-arrow,.rc-tooltip-placement-topRight .rc-tooltip-arrow{bottom:4px;margin-left:-5px;border-width:5px 5px 0;border-top-color:#373737}.rc-tooltip-placement-top .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-topLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-topRight .rc-tooltip-arrow{right:15%}.rc-tooltip-placement-right .rc-tooltip-arrow,.rc-tooltip-placement-rightBottom .rc-tooltip-arrow,.rc-tooltip-placement-rightTop .rc-tooltip-arrow{left:4px;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#373737}.rc-tooltip-placement-right .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-rightTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-rightBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-left .rc-tooltip-arrow,.rc-tooltip-placement-leftBottom .rc-tooltip-arrow,.rc-tooltip-placement-leftTop .rc-tooltip-arrow{right:4px;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#373737}.rc-tooltip-placement-left .rc-tooltip-arrow{top:50%}.rc-tooltip-placement-leftTop .rc-tooltip-arrow{top:15%;margin-top:0}.rc-tooltip-placement-leftBottom .rc-tooltip-arrow{bottom:15%}.rc-tooltip-placement-bottom .rc-tooltip-arrow,.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow,.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{top:4px;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#373737}.rc-tooltip-placement-bottom .rc-tooltip-arrow{left:50%}.rc-tooltip-placement-bottomLeft .rc-tooltip-arrow{left:15%}.rc-tooltip-placement-bottomRight .rc-tooltip-arrow{right:15%}.rc-tooltip.rc-tooltip-zoom-enter,.rc-tooltip.rc-tooltip-zoom-leave{display:block}.rc-tooltip-zoom-appear,.rc-tooltip-zoom-enter{opacity:0;animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.18,.89,.32,1.28);animation-play-state:paused}.rc-tooltip-zoom-leave{animation-duration:.3s;animation-fill-mode:both;animation-timing-function:cubic-bezier(.6,-.3,.74,.05);animation-play-state:paused}.rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active,.rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active{animation-name:rcToolTipZoomIn;animation-play-state:running}.rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active{animation-name:rcToolTipZoomOut;animation-play-state:running}@keyframes rcToolTipZoomIn{0%{opacity:0;transform-origin:50% 50%;transform:scale(0)}to{opacity:1;transform-origin:50% 50%;transform:scale(1)}}@keyframes rcToolTipZoomOut{0%{opacity:1;transform-origin:50% 50%;transform:scale(1)}to{opacity:0;transform-origin:50% 50%;transform:scale(0)}}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/rc-tooltip/assets/bootstrap.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/rc-tooltip/assets/bootstrap.css\n// module chunks = 0","exports = module.exports = require(\"./../../css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url(\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=\\\");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/react-resizable/css/styles.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/react-resizable/css/styles.css\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".genome-browser{height:100%;width:100%;position:absolute;overflow:hidden;top:0;left:0}.genome-browser .control-bar{line-height:30px}.genome-browser .control-bar .loading-canvas{transition:opacity .5s ease-in-out}.genome-browser .control-bar .loading-canvas.loading{opacity:1}.genome-browser .control-bar .controls span select{line-height:normal;padding-right:15px}.genome-browser .control-bar .controls span input{width:80px}.genome-browser .control-bar .controls span .wide{width:200px}.genome-browser .control-bar .controls span.block{display:inline-block;white-space:nowrap}.genome-browser .control-bar .controls>*{padding-left:10px}.genome-browser .control-bar>*{vertical-align:middle;padding-left:10px}.genome-browser .main-area{position:relative;height:calc(100% - 33px)}.genome-browser .main-area .main-area-shadow{position:absolute;height:100%;top:0;box-shadow:inset 0 1px 6px rgba(0,0,0,.12),inset 0 1px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks{position:relative}.genome-browser .main-area .tracks .background{z-index:-1;position:absolute;top:0;left:0}.genome-browser .main-area .tracks .fixed{z-index:1}.genome-browser .main-area .tracks .fixed .channel-container:first-child .channel-stack .channel-data{box-shadow:inset 2px 2px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .fixed .channel-container:last-child{box-shadow:-1px 1px 4px rgba(0,0,0,.24);border-bottom:none}.genome-browser .main-area .tracks .fixed .channel-stack .channel-data{box-shadow:inset 4px 0 4px -2px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .scrolling{overflow-y:scroll}.genome-browser .main-area .tracks .scrolling .channel-container:last-child .channel-side{box-shadow:-1px 2px 4px rgba(0,0,0,.24)}.genome-browser .main-area .tracks .scrolling .channel-stack .channel-data{box-shadow:inset 3px 0 4px -2px rgba(0,0,0,.24)}.config-container{box-shadow:3px 1px 4px rgba(0,0,0,.24)}.legend-container{box-shadow:3px 0 4px rgba(0,0,0,.24)}.channel-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;border-bottom:1px solid #66a2de}.channel-container .legend-element{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.channel-container .legend-element .label{padding-left:6px}.channel-container .channel-side{position:relative;overflow:hidden;background-color:#fff}.channel-container .channel-side .close{color:#d62728;padding-right:6px}.channel-container .channel-side .icon{opacity:.6}.channel-container .channel-side .icon:hover{opacity:1}.channel-container .channel-side .button{width:25px;height:25px;line-height:19px;padding:3px;position:absolute;text-align:center;right:0}.channel-container .channel-side .button .open{color:#3d8bd5}.channel-container .channel-side .config{top:0}.channel-container .channel-side .legend{transition:bottom .5s!important;bottom:0}.channel-container .channel-side .close{top:0;left:0}.channel-container .channel-side .side-component{position:absolute;right:0;left:0;text-overflow:ellipsis;overflow:auto;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.channel-container .channel-stack{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.channel-container .channel-stack .channel-data{overflow:hidden}.channel-container .channel-stack .channel-data .canvas-container{position:relative}.channel-container .channel-stack .channel-data canvas{display:block}.channel-container .channel-stack .tray-container.open{height:inherit}.channel-container .channel-stack .tray-container{position:relative;transition:height .5s!important;background:#fff;height:0;width:100%;overflow:hidden}.channel-container .channel-stack .tray-container .legend{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-right:16px;padding-top:6px;padding-bottom:6px}.channel-container .channel-stack .tray-container .legend .legend-element{padding-left:16px}.channel-container .channel-stack .tray-container .channel-controls,.channel-container .channel-stack .tray-container .channel-controls .control-group{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.channel-container .channel-stack .tray-container .channel-controls .control-group{padding-left:10px}.channel-container .channel-stack .tray-container .channel-controls .control{min-height:50px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:10px}.channel-container .channel-stack .tray-container .channel-controls .control .label{padding-right:5px}.channel-container .channel-stack .tray-container .channel-controls .control .dropdown{top:-4px}.channel-container .channel-stack .tray-container .channel-controls .control .slider{margin-left:30px;width:100px}.channel-container .channel-stack .tray-container .channel-controls .control .numeric-input{width:80px}.sequence{position:relative}.sequence canvas{position:absolute;transform-origin:top left}.side-name{padding:5px 0 5px 30px;max-width:125px}.genotypes-table{position:relative}.genotypes-table *{position:absolute;top:0;left:0}.genotypes-side{width:100%;height:100%;text-overflow:ellipsis;overflow:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:start;justify-content:flex-start}.genotypes-side .row-label{padding:10px 35px 5px 10px}.genotypes-side canvas{position:absolute;bottom:0;right:0}.numerical-channel-canvas-holder{position:relative}.numerical-channel-canvas-holder canvas{position:absolute;top:0;left:0}.numerical-channel-canvas-holder .categorical{opacity:.7}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/genomebrowser.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/genomebrowser.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".genotypes-channel{position:relative}.genotypes-header{position:absolute}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/genotypes.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/genotypes.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".geo-marker{fill:pink;stroke:#000;stroke-width:.7;fill-opacity:.9;stroke-opacity:.9;cursor:pointer}.geo-marker-highlighted{fill:green}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/geo-marker.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/geo-marker.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".loading-container{position:absolute;overflow:hidden;top:0;left:0;z-index:2;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:100%;width:100%;background-color:hsla(0,0%,100%,.6);visibility:hidden;pointer-events:none;opacity:0;transition:visibility 0s linear .5s,opacity .5s linear}.loading-container .load-icon{opacity:.5;height:50%;width:50%;background-size:contain;background-repeat:no-repeat;background-position:50%}.loading-container .spinner{background-image:url(\" + require(\"../images/spinner.svg\") + \");animation:spin 2s infinite linear}.loading-container .error{background-image:url(\" + require(\"../images/error.svg\") + \")}.loading-container .error-text{font-style:italic;padding-top:15px}.loading-container .custom{text-align:center;font-style:italic}.loading-container.show{visibility:inherit;opacity:1}.loading-container.hide-content{background-color:#fff}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/loading.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/loading.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".green{background-color:green}.red{background-color:red}.blue{background-color:blue}*,:after,:before{box-sizing:border-box}body{font-family:Roboto,sans-serif;color:#242424;font-size:14px}a{text-decoration:underline;cursor:pointer}.main .page{height:100vh;width:100vw;-ms-flex-direction:column;flex-direction:column}.main .page,.main .page .header{display:-ms-flexbox;display:flex}.main .page .header{-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;overflow:visible;z-index:1;height:50px;background:#fff}.main .page .header a{color:inherit;text-decoration:inherit}.main .page .header .title{-ms-flex:1;flex:1;margin:25px;font-weight:700;font-size:large}.main .page .header .logo{margin:25px}.main .page .header .username{margin:7px;font-weight:700}.main .page .body{-ms-flex:1;flex:1;position:relative}a{color:#3d8bd5}a:visited{color:#66a2de}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/main.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/main.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".map-sidebar{width:280px}.map-controls{-ms-flex-align:start;align-items:flex-start}.map-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.map-controls .dropdown-option .icon{color:#757575;padding-right:7px}.map-controls .legend .legend-element{min-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:16px}.map-controls .legend .legend-element .label{padding-left:8px}.map-content{height:calc(100% - 33px)}.dropdown-option .icon{color:#757575;padding-right:7px}.map-custom-control{background-color:#fff;opacity:.7;border-radius:10px}.map-custom-control .legend{padding:5px 10px}.map-custom-control .legend .legend-element{min-height:16px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}.map-custom-control .legend .legend-element .label{padding-left:8px}.panoptes-chart-pie-sector{stroke:#000;stroke-width:.5}.panoptes-histogram{overflow:visible;position:absolute}.panoptes-histogram-bg{fill:#fff}.panoptes-histogram-axes{stroke:#000;stroke-width:2px}.panoptes-cluster-bubble{stroke:#000;stroke-width:.5}.panoptes-table-markers-layer-polyline{stroke:#000;fill:none;stroke-width:2}.panoptes-pie-chart-markers-layer-polyline{stroke:#3d8bd5;fill:none;stroke-width:1}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/map.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/map.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".plot,.plot-container{height:100%;width:100%}.plot-container{position:absolute}.plot-sidebar{width:280px}.plot-controls{-ms-flex-align:start;align-items:flex-start}.plot-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.dropdown-option .icon,.plot-controls .dropdown-option a .icon{color:#757575;padding-right:7px}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/plot.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/plot.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".item-template{display:inline-block}.template-container{padding:10px}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/template.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/template.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".tooltip-ellipsis{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/tooltip-ellipsis.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/tooltip-ellipsis.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".tree-sidebar{width:280px}.tree-container{position:absolute}.tree,.tree-container{height:100%;width:100%}.tree{overflow:hidden}.tree canvas{display:block;z-index:inherit!important}.tree-controls{-ms-flex-align:start;align-items:flex-start}.tree-controls .dropdown-option{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tree-controls .dropdown-option .icon{color:#757575;padding-right:7px}.tree-controls .legend .legend-element{min-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start;padding-left:16px}.tree-controls .legend .legend-element .label{padding-left:8px}.dropdown-option .icon{color:#757575;padding-right:7px}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/tree.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/tree.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \".tabbed-area{position:absolute;width:100%;height:100%}.tabbed-area .tab-content{position:relative;width:100%;height:calc(100% - 44px - 4px - 3px)}.tabbed-area .tab-content .tab-pane{display:none;position:absolute;top:0;left:0;overflow:hidden;clear:both;width:100%;height:100%}.tabbed-area .tab-content .tab-pane.active{overflow:auto;display:inherit}.tabbed-area .tabs{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;min-height:44px;border-bottom:4px solid #3d8bd5;padding-top:3px}.tabbed-area .tabs .tab{font-size:15px;display:-ms-flexbox;display:flex;margin-right:0;margin-left:3px;cursor:pointer;top:1px;overflow:hidden;white-space:nowrap;min-width:100px;max-width:250px;padding-left:10px;padding-right:10px}.tabbed-area .tabs .tab .title{-ms-flex:1;flex:1;vertical-align:middle;line-height:44px;text-overflow:ellipsis;overflow:hidden}.tabbed-area .tabs .tab.active{top:0;background:#3d8bd5;color:#fff}.tabbed-area .tabs .tab.active .icon .bitmap{filter:invert(100%)}.tabbed-area .tabs .tab.inactive:hover{background:#66a2de;color:#fff}.tabbed-area .tabs .tab.inactive:hover .icon .bitmap{filter:invert(100%)}.tabbed-area .tabs .tab.inactive .action{visibility:hidden}.tabbed-area .tabs .tab.dragging{z-index:9999}.tabbed-area .tabs .icon{line-height:44px;margin-left:5px;margin-right:5px;opacity:.5}.tabbed-area .tabs .icon .bitmap{transform:translateY(3px)}.tabbed-area .tabs .icon.close:hover{opacity:1}.icon{position:relative;vertical-align:middle;font-size:22px}.icon .bitmap{height:22px}.icon:hover{opacity:1}.icon.close{opacity:.3}.icon.close:hover{opacity:1}.icon.inverted-bitmap{filter:invert(100%)}.icon.inverted-bitmap img.bitmap{vertical-align:middle}.popups{position:absolute;top:0;left:0;width:0;height:0}.popup{position:fixed!important;border:1px solid #6e6e6e;box-shadow:0 19px 60px rgba(0,0,0,.3),0 15px 20px rgba(0,0,0,.22);background:#fff;z-index:1002}.popup .popup-drag{position:absolute;height:33px;width:calc(100% - 64px);top:0;left:0;cursor:move;z-index:1003}.popup .popup-header{overflow:hidden;white-space:nowrap;height:33px;cursor:move;font-size:10pt;font-weight:700;color:#fff;background:linear-gradient(90deg,#3d8bd5 0,#3d8bd5);display:-ms-flexbox;display:flex;box-shadow:0 1px 6px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.24);position:relative;z-index:3}.popup .popup-header .icon{line-height:33px;margin-left:5px;margin-right:5px}.popup .popup-header .icon .bitmap{filter:invert(100%);transform:translateY(3px)}.popup .popup-header .title{-ms-flex:1;flex:1;vertical-align:middle;line-height:33px;margin-left:1em;margin-right:1em;text-overflow:ellipsis;overflow:hidden}.popup .popup-body{position:relative;overflow:auto}.modal{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;z-index:9997;position:absolute;width:100%;height:100%;top:0;left:0;outline:0;opacity:0;background:rgba(0,0,0,.7);transition:visibility 0s linear .5s,opacity .5s linear}.modal .popup{position:static!important;transition:none;visibility:hidden}.modal .popup .popup-header{cursor:inherit}.modal.visible{opacity:1;transition-delay:0s}.modal.visible,.modal.visible .popup{visibility:visible}.react-resizable{position:relative}.react-resizable-handle{z-index:9999;background-color:hsla(0,0%,100%,.6)}.react-resizable-handle.react-draggable{position:absolute;width:20px;height:20px;bottom:0;right:0;background:url(\\\"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pg08IS0tIEdlbmVyYXRvcjogQWRvYmUgRmlyZXdvcmtzIENTNiwgRXhwb3J0IFNWRyBFeHRlbnNpb24gYnkgQWFyb24gQmVhbGwgKGh0dHA6Ly9maXJld29ya3MuYWJlYWxsLmNvbSkgLiBWZXJzaW9uOiAwLjYuMSAgLS0+DTwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DTxzdmcgaWQ9IlVudGl0bGVkLVBhZ2UlMjAxIiB2aWV3Qm94PSIwIDAgNiA2IiBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHZlcnNpb249IjEuMSINCXhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQl4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjZweCIgaGVpZ2h0PSI2cHgiDT4NCTxnIG9wYWNpdHk9IjAuMzAyIj4NCQk8cGF0aCBkPSJNIDYgNiBMIDAgNiBMIDAgNC4yIEwgNCA0LjIgTCA0LjIgNC4yIEwgNC4yIDAgTCA2IDAgTCA2IDYgTCA2IDYgWiIgZmlsbD0iIzAwMDAwMCIvPg0JPC9nPg08L3N2Zz4=\\\");background-position:100% 100%;padding:0 3px 3px 0;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;cursor:se-resize;transform:none!important;-webkit-transform:none!important;-ms-transform:none!important;-o-transform:none!important;-moz-transform:none!important;z-index:99}.status-text{text-align:center;font-style:italic;opacity:.5}.top-bar{background:#3d8bd5;box-shadow:0 1px 6px rgba(0,0,0,.12),0 1px 4px rgba(0,0,0,.24);position:relative;z-index:2}.top-bar .block{display:inline-block;margin-left:5px;white-space:nowrap}.top-bar .block .icon:first-child{margin-left:0}.top-bar .btn{border:none;background:transparent;color:#fff}.top-bar .text{vertical-align:middle;line-height:33px;color:#fff;margin-left:7px;margin-right:7px}.top-bar .icon{margin-left:5px;margin-right:5px;line-height:33px;color:#fff}.top-bar .disabled{color:#66a2de}.load-container{width:100%;height:100%;position:absolute}.sidebar{width:258px;padding:12px 9px}.sidebar-header{line-height:normal}.sidebar-header .icon-holder{border-radius:9px;border:2px solid #66a2de;padding:5px;margin-right:10px;margin-bottom:10px;float:left;background-color:#e6f4f5}.sidebar-header .icon-holder .icon{font-size:30px;line-height:30px;color:#3d8bd5}.sidebar-header .icon-holder .icon .bitmap{height:30px}.stack{display:-ms-flexbox;display:flex;width:100%;height:100%}.stack div.grow{position:relative;-ms-flex:1;flex:1}.stack.start-align{-ms-flex-align:start;align-items:flex-start;-ms-flex-pack:center;justify-content:center}.stack.start-align .description{padding:20px 10px 0}.stack.wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.stack.vertical{-ms-flex-direction:column;flex-direction:column}.stack.horizontal{-ms-flex-direction:row;flex-direction:row}.stack.spread{-ms-flex-pack:distribute;justify-content:space-around;-ms-flex-line-pack:distribute;align-content:space-around}.pointer{cursor:pointer}.large-modal{height:calc(100vh - 150px);width:calc(100vw - 150px)}.tall-modal{max-height:calc(100vh - 150px)}.centering-container{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:20px}.scroll-within{overflow:auto}.query-editor-container{padding:5px}.query-editor{margin:5px;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content;text-align:center;background:url(\\\"data:image/png;base64,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\\\");background-position:50%;background-repeat:repeat-y}.query-editor .endpoint{display:inline-block;border-radius:18px;background:#e0e0e0;padding:10px}.query-editor .criteria{display:inline-block;margin:10px}.query-editor .or{margin:5px}.query-editor .or .startline{height:16px;background:#e0e0e0;border-top-left-radius:16px;border-top-right-radius:16px}.query-editor .or .endline{height:16px;background:#e0e0e0;border-bottom-left-radius:16px;border-bottom-right-radius:16px}.query-editor .or .components{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:center;justify-content:center;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content;border-right:2px solid #e0e0e0;border-left:2px solid #e0e0e0;background:#fff}.query-editor .or .components .or-criteria-wrapper{padding-top:5px;padding-bottom:5px;background:url(\\\"data:image/png;base64,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\\\");background-position:50%;background-repeat:repeat-y}.query-editor .and{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content;min-height:-webkit-min-content;min-height:-moz-min-content;min-height:min-content}.query-editor .criterion{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:5px;padding:5px}.query-editor .criterion .close{color:#000}.query-editor .criterion input,.query-editor .criterion select{margin:5px;width:150px;display:block}.query-editor .criterion input{text-indent:3px}.query-editor .criterion .actions{border-left:1px solid #e0e0e0}.query-editor .criterion .icon{height:18px;line-height:18px}.query-editor .criterion .action{cursor:pointer;height:18px;line-height:18px;margin:5px;opacity:.3}.query-editor .criterion .action:hover{opacity:1}.query-editor .criterion .icon-wrapper{position:relative}.query-editor .criterion .icon-overlay{position:absolute;top:3px;left:0}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;background:url(\\\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAGCAIAAAB1kpiRAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wcIDRQ1KO1wgAAAAFBJREFUCNdtyjEOwCAMQ1E7KhFHyP1Px8iSiSgwICG11KPfp7uPMfA3kk+ttfd+FyTNTETEzEopt6mqAPgUxwBwzrnfzGytRcSxF+8iIo4BWFGnInEcArZUAAAAAElFTkSuQmCC\\\") no-repeat 100%}input,select{border:none;border-bottom:1px solid #e0e0e0}input:focus{outline:none;outline-offset:inherit;border-bottom:2px solid #3d8bd5}input.invalid{border-bottom:2px solid #d62728}.query-picker .list-string{width:250px}.edit-doc-page .editor{position:relative;padding:20px}.edit-doc-page .editor pre{margin:0}.edit-doc-page .editor .DraftEditor-root{font-family:monospace;border:1px solid #ccc;cursor:text}.docpage-edit{position:absolute;top:0;right:0}.table-row-cell{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;padding:8px}.table-row-cell .icon{min-width:20px;color:#a9a9a9;font-size:20px;padding-left:3px;padding-right:3px}.table-row-cell .icon.info{font-size:14px}.table-row-cell .icon:hover{color:#4e4e4e}.table-col{margin:5px}.table-col-cell{padding-left:5px;padding-right:5px}.prop{opacity:.7}.prop.true{color:#2ca02c}.prop.false{color:#d62728}.table-row-cell .prop.bool{top:-4px}.table-row-header{padding:0!important;height:100%;line-height:50px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.table-row-header .label{-ms-flex-negative:1;flex-shrink:1;text-align:center}.table-row-header .icon{min-width:20px;color:#a9a9a9;font-size:14px;padding-left:3px;padding-right:3px}.table-row-header .icon:hover{color:#4e4e4e}.table-row-header.sort-column-ascending,.table-row-header.sort-column-descending{background:#e8e8e8;box-shadow:inset 1px 1px 1px #a9a9a9}.table-col-header{padding:0 5px!important;height:100%;line-height:30px;display:-ms-flexbox;display:flex;-ms-flex-pack:left;justify-content:left;-ms-flex-align:left;align-items:left}.table-col-header .label{-ms-flex-negative:1;flex-shrink:1;text-overflow:ellipsis;overflow:hidden;text-align:left;white-space:nowrap}.table-col-header .icon{min-width:20px;color:#a9a9a9;font-size:14px;padding-left:3px;padding-right:3px;vertical-align:baseline}.table-col-header .icon:hover{color:#4e4e4e}.rc-tooltip{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}.item-picker .picked{opacity:.5}.item-picker .header{text-align:center;font-size:18px;padding-top:16px}.item-picker .search{padding-left:16px}.highlight{color:#ff4081}.internal-link{color:#3d8bd5;text-decoration:underline;cursor:pointer}.external-link-icon{margin-right:5px}.error{font-size:20px;font-weight:700;color:darkred}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./~/sass-loader/lib/loader.js!./src/styles/ui-components.scss\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./node_modules/sass-loader/lib/loader.js!./src/styles/ui-components.scss\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"/*!\\n * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome\\n * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)\\n */@font-face{font-family:FontAwesome;src:url(\" + require(\"../fonts/fontawesome-webfont.eot?v=4.3.0\") + \");src:url(\" + require(\"../fonts/fontawesome-webfont.eot\") + \"?#iefix&v=4.3.0) format(\\\"embedded-opentype\\\"),url(\" + require(\"../fonts/fontawesome-webfont.woff2?v=4.3.0\") + \") format(\\\"woff2\\\"),url(\" + require(\"../fonts/fontawesome-webfont.woff?v=4.3.0\") + \") format(\\\"woff\\\"),url(\" + require(\"../fonts/fontawesome-webfont.ttf?v=4.3.0\") + \") format(\\\"truetype\\\"),url(\" + require(\"../fonts/fontawesome-webfont.svg?v=4.3.0\") + \"#fontawesomeregular) format(\\\"svg\\\");font-weight:400;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:.08em solid #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{animation:fa-spin 2s infinite linear}.fa-pulse{animation:fa-spin 1s infinite steps(8)}@keyframes fa-spin{0%{transform:rotate(0deg)}to{transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0,mirror=1);transform:scaleX(-1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2,mirror=1);transform:scaleY(-1)}:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:\\\"\\\\F000\\\"}.fa-music:before{content:\\\"\\\\F001\\\"}.fa-search:before{content:\\\"\\\\F002\\\"}.fa-envelope-o:before{content:\\\"\\\\F003\\\"}.fa-heart:before{content:\\\"\\\\F004\\\"}.fa-star:before{content:\\\"\\\\F005\\\"}.fa-star-o:before{content:\\\"\\\\F006\\\"}.fa-user:before{content:\\\"\\\\F007\\\"}.fa-film:before{content:\\\"\\\\F008\\\"}.fa-th-large:before{content:\\\"\\\\F009\\\"}.fa-th:before{content:\\\"\\\\F00A\\\"}.fa-th-list:before{content:\\\"\\\\F00B\\\"}.fa-check:before{content:\\\"\\\\F00C\\\"}.fa-close:before,.fa-remove:before,.fa-times:before{content:\\\"\\\\F00D\\\"}.fa-search-plus:before{content:\\\"\\\\F00E\\\"}.fa-search-minus:before{content:\\\"\\\\F010\\\"}.fa-power-off:before{content:\\\"\\\\F011\\\"}.fa-signal:before{content:\\\"\\\\F012\\\"}.fa-cog:before,.fa-gear:before{content:\\\"\\\\F013\\\"}.fa-trash-o:before{content:\\\"\\\\F014\\\"}.fa-home:before{content:\\\"\\\\F015\\\"}.fa-file-o:before{content:\\\"\\\\F016\\\"}.fa-clock-o:before{content:\\\"\\\\F017\\\"}.fa-road:before{content:\\\"\\\\F018\\\"}.fa-download:before{content:\\\"\\\\F019\\\"}.fa-arrow-circle-o-down:before{content:\\\"\\\\F01A\\\"}.fa-arrow-circle-o-up:before{content:\\\"\\\\F01B\\\"}.fa-inbox:before{content:\\\"\\\\F01C\\\"}.fa-play-circle-o:before{content:\\\"\\\\F01D\\\"}.fa-repeat:before,.fa-rotate-right:before{content:\\\"\\\\F01E\\\"}.fa-refresh:before{content:\\\"\\\\F021\\\"}.fa-list-alt:before{content:\\\"\\\\F022\\\"}.fa-lock:before{content:\\\"\\\\F023\\\"}.fa-flag:before{content:\\\"\\\\F024\\\"}.fa-headphones:before{content:\\\"\\\\F025\\\"}.fa-volume-off:before{content:\\\"\\\\F026\\\"}.fa-volume-down:before{content:\\\"\\\\F027\\\"}.fa-volume-up:before{content:\\\"\\\\F028\\\"}.fa-qrcode:before{content:\\\"\\\\F029\\\"}.fa-barcode:before{content:\\\"\\\\F02A\\\"}.fa-tag:before{content:\\\"\\\\F02B\\\"}.fa-tags:before{content:\\\"\\\\F02C\\\"}.fa-book:before{content:\\\"\\\\F02D\\\"}.fa-bookmark:before{content:\\\"\\\\F02E\\\"}.fa-print:before{content:\\\"\\\\F02F\\\"}.fa-camera:before{content:\\\"\\\\F030\\\"}.fa-font:before{content:\\\"\\\\F031\\\"}.fa-bold:before{content:\\\"\\\\F032\\\"}.fa-italic:before{content:\\\"\\\\F033\\\"}.fa-text-height:before{content:\\\"\\\\F034\\\"}.fa-text-width:before{content:\\\"\\\\F035\\\"}.fa-align-left:before{content:\\\"\\\\F036\\\"}.fa-align-center:before{content:\\\"\\\\F037\\\"}.fa-align-right:before{content:\\\"\\\\F038\\\"}.fa-align-justify:before{content:\\\"\\\\F039\\\"}.fa-list:before{content:\\\"\\\\F03A\\\"}.fa-dedent:before,.fa-outdent:before{content:\\\"\\\\F03B\\\"}.fa-indent:before{content:\\\"\\\\F03C\\\"}.fa-video-camera:before{content:\\\"\\\\F03D\\\"}.fa-image:before,.fa-photo:before,.fa-picture-o:before{content:\\\"\\\\F03E\\\"}.fa-pencil:before{content:\\\"\\\\F040\\\"}.fa-map-marker:before{content:\\\"\\\\F041\\\"}.fa-adjust:before{content:\\\"\\\\F042\\\"}.fa-tint:before{content:\\\"\\\\F043\\\"}.fa-edit:before,.fa-pencil-square-o:before{content:\\\"\\\\F044\\\"}.fa-share-square-o:before{content:\\\"\\\\F045\\\"}.fa-check-square-o:before{content:\\\"\\\\F046\\\"}.fa-arrows:before{content:\\\"\\\\F047\\\"}.fa-step-backward:before{content:\\\"\\\\F048\\\"}.fa-fast-backward:before{content:\\\"\\\\F049\\\"}.fa-backward:before{content:\\\"\\\\F04A\\\"}.fa-play:before{content:\\\"\\\\F04B\\\"}.fa-pause:before{content:\\\"\\\\F04C\\\"}.fa-stop:before{content:\\\"\\\\F04D\\\"}.fa-forward:before{content:\\\"\\\\F04E\\\"}.fa-fast-forward:before{content:\\\"\\\\F050\\\"}.fa-step-forward:before{content:\\\"\\\\F051\\\"}.fa-eject:before{content:\\\"\\\\F052\\\"}.fa-chevron-left:before{content:\\\"\\\\F053\\\"}.fa-chevron-right:before{content:\\\"\\\\F054\\\"}.fa-plus-circle:before{content:\\\"\\\\F055\\\"}.fa-minus-circle:before{content:\\\"\\\\F056\\\"}.fa-times-circle:before{content:\\\"\\\\F057\\\"}.fa-check-circle:before{content:\\\"\\\\F058\\\"}.fa-question-circle:before{content:\\\"\\\\F059\\\"}.fa-info-circle:before{content:\\\"\\\\F05A\\\"}.fa-crosshairs:before{content:\\\"\\\\F05B\\\"}.fa-times-circle-o:before{content:\\\"\\\\F05C\\\"}.fa-check-circle-o:before{content:\\\"\\\\F05D\\\"}.fa-ban:before{content:\\\"\\\\F05E\\\"}.fa-arrow-left:before{content:\\\"\\\\F060\\\"}.fa-arrow-right:before{content:\\\"\\\\F061\\\"}.fa-arrow-up:before{content:\\\"\\\\F062\\\"}.fa-arrow-down:before{content:\\\"\\\\F063\\\"}.fa-mail-forward:before,.fa-share:before{content:\\\"\\\\F064\\\"}.fa-expand:before{content:\\\"\\\\F065\\\"}.fa-compress:before{content:\\\"\\\\F066\\\"}.fa-plus:before{content:\\\"\\\\F067\\\"}.fa-minus:before{content:\\\"\\\\F068\\\"}.fa-asterisk:before{content:\\\"\\\\F069\\\"}.fa-exclamation-circle:before{content:\\\"\\\\F06A\\\"}.fa-gift:before{content:\\\"\\\\F06B\\\"}.fa-leaf:before{content:\\\"\\\\F06C\\\"}.fa-fire:before{content:\\\"\\\\F06D\\\"}.fa-eye:before{content:\\\"\\\\F06E\\\"}.fa-eye-slash:before{content:\\\"\\\\F070\\\"}.fa-exclamation-triangle:before,.fa-warning:before{content:\\\"\\\\F071\\\"}.fa-plane:before{content:\\\"\\\\F072\\\"}.fa-calendar:before{content:\\\"\\\\F073\\\"}.fa-random:before{content:\\\"\\\\F074\\\"}.fa-comment:before{content:\\\"\\\\F075\\\"}.fa-magnet:before{content:\\\"\\\\F076\\\"}.fa-chevron-up:before{content:\\\"\\\\F077\\\"}.fa-chevron-down:before{content:\\\"\\\\F078\\\"}.fa-retweet:before{content:\\\"\\\\F079\\\"}.fa-shopping-cart:before{content:\\\"\\\\F07A\\\"}.fa-folder:before{content:\\\"\\\\F07B\\\"}.fa-folder-open:before{content:\\\"\\\\F07C\\\"}.fa-arrows-v:before{content:\\\"\\\\F07D\\\"}.fa-arrows-h:before{content:\\\"\\\\F07E\\\"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:\\\"\\\\F080\\\"}.fa-twitter-square:before{content:\\\"\\\\F081\\\"}.fa-facebook-square:before{content:\\\"\\\\F082\\\"}.fa-camera-retro:before{content:\\\"\\\\F083\\\"}.fa-key:before{content:\\\"\\\\F084\\\"}.fa-cogs:before,.fa-gears:before{content:\\\"\\\\F085\\\"}.fa-comments:before{content:\\\"\\\\F086\\\"}.fa-thumbs-o-up:before{content:\\\"\\\\F087\\\"}.fa-thumbs-o-down:before{content:\\\"\\\\F088\\\"}.fa-star-half:before{content:\\\"\\\\F089\\\"}.fa-heart-o:before{content:\\\"\\\\F08A\\\"}.fa-sign-out:before{content:\\\"\\\\F08B\\\"}.fa-linkedin-square:before{content:\\\"\\\\F08C\\\"}.fa-thumb-tack:before{content:\\\"\\\\F08D\\\"}.fa-external-link:before{content:\\\"\\\\F08E\\\"}.fa-sign-in:before{content:\\\"\\\\F090\\\"}.fa-trophy:before{content:\\\"\\\\F091\\\"}.fa-github-square:before{content:\\\"\\\\F092\\\"}.fa-upload:before{content:\\\"\\\\F093\\\"}.fa-lemon-o:before{content:\\\"\\\\F094\\\"}.fa-phone:before{content:\\\"\\\\F095\\\"}.fa-square-o:before{content:\\\"\\\\F096\\\"}.fa-bookmark-o:before{content:\\\"\\\\F097\\\"}.fa-phone-square:before{content:\\\"\\\\F098\\\"}.fa-twitter:before{content:\\\"\\\\F099\\\"}.fa-facebook-f:before,.fa-facebook:before{content:\\\"\\\\F09A\\\"}.fa-github:before{content:\\\"\\\\F09B\\\"}.fa-unlock:before{content:\\\"\\\\F09C\\\"}.fa-credit-card:before{content:\\\"\\\\F09D\\\"}.fa-rss:before{content:\\\"\\\\F09E\\\"}.fa-hdd-o:before{content:\\\"\\\\F0A0\\\"}.fa-bullhorn:before{content:\\\"\\\\F0A1\\\"}.fa-bell:before{content:\\\"\\\\F0F3\\\"}.fa-certificate:before{content:\\\"\\\\F0A3\\\"}.fa-hand-o-right:before{content:\\\"\\\\F0A4\\\"}.fa-hand-o-left:before{content:\\\"\\\\F0A5\\\"}.fa-hand-o-up:before{content:\\\"\\\\F0A6\\\"}.fa-hand-o-down:before{content:\\\"\\\\F0A7\\\"}.fa-arrow-circle-left:before{content:\\\"\\\\F0A8\\\"}.fa-arrow-circle-right:before{content:\\\"\\\\F0A9\\\"}.fa-arrow-circle-up:before{content:\\\"\\\\F0AA\\\"}.fa-arrow-circle-down:before{content:\\\"\\\\F0AB\\\"}.fa-globe:before{content:\\\"\\\\F0AC\\\"}.fa-wrench:before{content:\\\"\\\\F0AD\\\"}.fa-tasks:before{content:\\\"\\\\F0AE\\\"}.fa-filter:before{content:\\\"\\\\F0B0\\\"}.fa-briefcase:before{content:\\\"\\\\F0B1\\\"}.fa-arrows-alt:before{content:\\\"\\\\F0B2\\\"}.fa-group:before,.fa-users:before{content:\\\"\\\\F0C0\\\"}.fa-chain:before,.fa-link:before{content:\\\"\\\\F0C1\\\"}.fa-cloud:before{content:\\\"\\\\F0C2\\\"}.fa-flask:before{content:\\\"\\\\F0C3\\\"}.fa-cut:before,.fa-scissors:before{content:\\\"\\\\F0C4\\\"}.fa-copy:before,.fa-files-o:before{content:\\\"\\\\F0C5\\\"}.fa-paperclip:before{content:\\\"\\\\F0C6\\\"}.fa-floppy-o:before,.fa-save:before{content:\\\"\\\\F0C7\\\"}.fa-square:before{content:\\\"\\\\F0C8\\\"}.fa-bars:before,.fa-navicon:before,.fa-reorder:before{content:\\\"\\\\F0C9\\\"}.fa-list-ul:before{content:\\\"\\\\F0CA\\\"}.fa-list-ol:before{content:\\\"\\\\F0CB\\\"}.fa-strikethrough:before{content:\\\"\\\\F0CC\\\"}.fa-underline:before{content:\\\"\\\\F0CD\\\"}.fa-table:before{content:\\\"\\\\F0CE\\\"}.fa-magic:before{content:\\\"\\\\F0D0\\\"}.fa-truck:before{content:\\\"\\\\F0D1\\\"}.fa-pinterest:before{content:\\\"\\\\F0D2\\\"}.fa-pinterest-square:before{content:\\\"\\\\F0D3\\\"}.fa-google-plus-square:before{content:\\\"\\\\F0D4\\\"}.fa-google-plus:before{content:\\\"\\\\F0D5\\\"}.fa-money:before{content:\\\"\\\\F0D6\\\"}.fa-caret-down:before{content:\\\"\\\\F0D7\\\"}.fa-caret-up:before{content:\\\"\\\\F0D8\\\"}.fa-caret-left:before{content:\\\"\\\\F0D9\\\"}.fa-caret-right:before{content:\\\"\\\\F0DA\\\"}.fa-columns:before{content:\\\"\\\\F0DB\\\"}.fa-sort:before,.fa-unsorted:before{content:\\\"\\\\F0DC\\\"}.fa-sort-desc:before,.fa-sort-down:before{content:\\\"\\\\F0DD\\\"}.fa-sort-asc:before,.fa-sort-up:before{content:\\\"\\\\F0DE\\\"}.fa-envelope:before{content:\\\"\\\\F0E0\\\"}.fa-linkedin:before{content:\\\"\\\\F0E1\\\"}.fa-rotate-left:before,.fa-undo:before{content:\\\"\\\\F0E2\\\"}.fa-gavel:before,.fa-legal:before{content:\\\"\\\\F0E3\\\"}.fa-dashboard:before,.fa-tachometer:before{content:\\\"\\\\F0E4\\\"}.fa-comment-o:before{content:\\\"\\\\F0E5\\\"}.fa-comments-o:before{content:\\\"\\\\F0E6\\\"}.fa-bolt:before,.fa-flash:before{content:\\\"\\\\F0E7\\\"}.fa-sitemap:before{content:\\\"\\\\F0E8\\\"}.fa-umbrella:before{content:\\\"\\\\F0E9\\\"}.fa-clipboard:before,.fa-paste:before{content:\\\"\\\\F0EA\\\"}.fa-lightbulb-o:before{content:\\\"\\\\F0EB\\\"}.fa-exchange:before{content:\\\"\\\\F0EC\\\"}.fa-cloud-download:before{content:\\\"\\\\F0ED\\\"}.fa-cloud-upload:before{content:\\\"\\\\F0EE\\\"}.fa-user-md:before{content:\\\"\\\\F0F0\\\"}.fa-stethoscope:before{content:\\\"\\\\F0F1\\\"}.fa-suitcase:before{content:\\\"\\\\F0F2\\\"}.fa-bell-o:before{content:\\\"\\\\F0A2\\\"}.fa-coffee:before{content:\\\"\\\\F0F4\\\"}.fa-cutlery:before{content:\\\"\\\\F0F5\\\"}.fa-file-text-o:before{content:\\\"\\\\F0F6\\\"}.fa-building-o:before{content:\\\"\\\\F0F7\\\"}.fa-hospital-o:before{content:\\\"\\\\F0F8\\\"}.fa-ambulance:before{content:\\\"\\\\F0F9\\\"}.fa-medkit:before{content:\\\"\\\\F0FA\\\"}.fa-fighter-jet:before{content:\\\"\\\\F0FB\\\"}.fa-beer:before{content:\\\"\\\\F0FC\\\"}.fa-h-square:before{content:\\\"\\\\F0FD\\\"}.fa-plus-square:before{content:\\\"\\\\F0FE\\\"}.fa-angle-double-left:before{content:\\\"\\\\F100\\\"}.fa-angle-double-right:before{content:\\\"\\\\F101\\\"}.fa-angle-double-up:before{content:\\\"\\\\F102\\\"}.fa-angle-double-down:before{content:\\\"\\\\F103\\\"}.fa-angle-left:before{content:\\\"\\\\F104\\\"}.fa-angle-right:before{content:\\\"\\\\F105\\\"}.fa-angle-up:before{content:\\\"\\\\F106\\\"}.fa-angle-down:before{content:\\\"\\\\F107\\\"}.fa-desktop:before{content:\\\"\\\\F108\\\"}.fa-laptop:before{content:\\\"\\\\F109\\\"}.fa-tablet:before{content:\\\"\\\\F10A\\\"}.fa-mobile-phone:before,.fa-mobile:before{content:\\\"\\\\F10B\\\"}.fa-circle-o:before{content:\\\"\\\\F10C\\\"}.fa-quote-left:before{content:\\\"\\\\F10D\\\"}.fa-quote-right:before{content:\\\"\\\\F10E\\\"}.fa-spinner:before{content:\\\"\\\\F110\\\"}.fa-circle:before{content:\\\"\\\\F111\\\"}.fa-mail-reply:before,.fa-reply:before{content:\\\"\\\\F112\\\"}.fa-github-alt:before{content:\\\"\\\\F113\\\"}.fa-folder-o:before{content:\\\"\\\\F114\\\"}.fa-folder-open-o:before{content:\\\"\\\\F115\\\"}.fa-smile-o:before{content:\\\"\\\\F118\\\"}.fa-frown-o:before{content:\\\"\\\\F119\\\"}.fa-meh-o:before{content:\\\"\\\\F11A\\\"}.fa-gamepad:before{content:\\\"\\\\F11B\\\"}.fa-keyboard-o:before{content:\\\"\\\\F11C\\\"}.fa-flag-o:before{content:\\\"\\\\F11D\\\"}.fa-flag-checkered:before{content:\\\"\\\\F11E\\\"}.fa-terminal:before{content:\\\"\\\\F120\\\"}.fa-code:before{content:\\\"\\\\F121\\\"}.fa-mail-reply-all:before,.fa-reply-all:before{content:\\\"\\\\F122\\\"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:\\\"\\\\F123\\\"}.fa-location-arrow:before{content:\\\"\\\\F124\\\"}.fa-crop:before{content:\\\"\\\\F125\\\"}.fa-code-fork:before{content:\\\"\\\\F126\\\"}.fa-chain-broken:before,.fa-unlink:before{content:\\\"\\\\F127\\\"}.fa-question:before{content:\\\"\\\\F128\\\"}.fa-info:before{content:\\\"\\\\F129\\\"}.fa-exclamation:before{content:\\\"\\\\F12A\\\"}.fa-superscript:before{content:\\\"\\\\F12B\\\"}.fa-subscript:before{content:\\\"\\\\F12C\\\"}.fa-eraser:before{content:\\\"\\\\F12D\\\"}.fa-puzzle-piece:before{content:\\\"\\\\F12E\\\"}.fa-microphone:before{content:\\\"\\\\F130\\\"}.fa-microphone-slash:before{content:\\\"\\\\F131\\\"}.fa-shield:before{content:\\\"\\\\F132\\\"}.fa-calendar-o:before{content:\\\"\\\\F133\\\"}.fa-fire-extinguisher:before{content:\\\"\\\\F134\\\"}.fa-rocket:before{content:\\\"\\\\F135\\\"}.fa-maxcdn:before{content:\\\"\\\\F136\\\"}.fa-chevron-circle-left:before{content:\\\"\\\\F137\\\"}.fa-chevron-circle-right:before{content:\\\"\\\\F138\\\"}.fa-chevron-circle-up:before{content:\\\"\\\\F139\\\"}.fa-chevron-circle-down:before{content:\\\"\\\\F13A\\\"}.fa-html5:before{content:\\\"\\\\F13B\\\"}.fa-css3:before{content:\\\"\\\\F13C\\\"}.fa-anchor:before{content:\\\"\\\\F13D\\\"}.fa-unlock-alt:before{content:\\\"\\\\F13E\\\"}.fa-bullseye:before{content:\\\"\\\\F140\\\"}.fa-ellipsis-h:before{content:\\\"\\\\F141\\\"}.fa-ellipsis-v:before{content:\\\"\\\\F142\\\"}.fa-rss-square:before{content:\\\"\\\\F143\\\"}.fa-play-circle:before{content:\\\"\\\\F144\\\"}.fa-ticket:before{content:\\\"\\\\F145\\\"}.fa-minus-square:before{content:\\\"\\\\F146\\\"}.fa-minus-square-o:before{content:\\\"\\\\F147\\\"}.fa-level-up:before{content:\\\"\\\\F148\\\"}.fa-level-down:before{content:\\\"\\\\F149\\\"}.fa-check-square:before{content:\\\"\\\\F14A\\\"}.fa-pencil-square:before{content:\\\"\\\\F14B\\\"}.fa-external-link-square:before{content:\\\"\\\\F14C\\\"}.fa-share-square:before{content:\\\"\\\\F14D\\\"}.fa-compass:before{content:\\\"\\\\F14E\\\"}.fa-caret-square-o-down:before,.fa-toggle-down:before{content:\\\"\\\\F150\\\"}.fa-caret-square-o-up:before,.fa-toggle-up:before{content:\\\"\\\\F151\\\"}.fa-caret-square-o-right:before,.fa-toggle-right:before{content:\\\"\\\\F152\\\"}.fa-eur:before,.fa-euro:before{content:\\\"\\\\F153\\\"}.fa-gbp:before{content:\\\"\\\\F154\\\"}.fa-dollar:before,.fa-usd:before{content:\\\"\\\\F155\\\"}.fa-inr:before,.fa-rupee:before{content:\\\"\\\\F156\\\"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen:before{content:\\\"\\\\F157\\\"}.fa-rouble:before,.fa-rub:before,.fa-ruble:before{content:\\\"\\\\F158\\\"}.fa-krw:before,.fa-won:before{content:\\\"\\\\F159\\\"}.fa-bitcoin:before,.fa-btc:before{content:\\\"\\\\F15A\\\"}.fa-file:before{content:\\\"\\\\F15B\\\"}.fa-file-text:before{content:\\\"\\\\F15C\\\"}.fa-sort-alpha-asc:before{content:\\\"\\\\F15D\\\"}.fa-sort-alpha-desc:before{content:\\\"\\\\F15E\\\"}.fa-sort-amount-asc:before{content:\\\"\\\\F160\\\"}.fa-sort-amount-desc:before{content:\\\"\\\\F161\\\"}.fa-sort-numeric-asc:before{content:\\\"\\\\F162\\\"}.fa-sort-numeric-desc:before{content:\\\"\\\\F163\\\"}.fa-thumbs-up:before{content:\\\"\\\\F164\\\"}.fa-thumbs-down:before{content:\\\"\\\\F165\\\"}.fa-youtube-square:before{content:\\\"\\\\F166\\\"}.fa-youtube:before{content:\\\"\\\\F167\\\"}.fa-xing:before{content:\\\"\\\\F168\\\"}.fa-xing-square:before{content:\\\"\\\\F169\\\"}.fa-youtube-play:before{content:\\\"\\\\F16A\\\"}.fa-dropbox:before{content:\\\"\\\\F16B\\\"}.fa-stack-overflow:before{content:\\\"\\\\F16C\\\"}.fa-instagram:before{content:\\\"\\\\F16D\\\"}.fa-flickr:before{content:\\\"\\\\F16E\\\"}.fa-adn:before{content:\\\"\\\\F170\\\"}.fa-bitbucket:before{content:\\\"\\\\F171\\\"}.fa-bitbucket-square:before{content:\\\"\\\\F172\\\"}.fa-tumblr:before{content:\\\"\\\\F173\\\"}.fa-tumblr-square:before{content:\\\"\\\\F174\\\"}.fa-long-arrow-down:before{content:\\\"\\\\F175\\\"}.fa-long-arrow-up:before{content:\\\"\\\\F176\\\"}.fa-long-arrow-left:before{content:\\\"\\\\F177\\\"}.fa-long-arrow-right:before{content:\\\"\\\\F178\\\"}.fa-apple:before{content:\\\"\\\\F179\\\"}.fa-windows:before{content:\\\"\\\\F17A\\\"}.fa-android:before{content:\\\"\\\\F17B\\\"}.fa-linux:before{content:\\\"\\\\F17C\\\"}.fa-dribbble:before{content:\\\"\\\\F17D\\\"}.fa-skype:before{content:\\\"\\\\F17E\\\"}.fa-foursquare:before{content:\\\"\\\\F180\\\"}.fa-trello:before{content:\\\"\\\\F181\\\"}.fa-female:before{content:\\\"\\\\F182\\\"}.fa-male:before{content:\\\"\\\\F183\\\"}.fa-gittip:before,.fa-gratipay:before{content:\\\"\\\\F184\\\"}.fa-sun-o:before{content:\\\"\\\\F185\\\"}.fa-moon-o:before{content:\\\"\\\\F186\\\"}.fa-archive:before{content:\\\"\\\\F187\\\"}.fa-bug:before{content:\\\"\\\\F188\\\"}.fa-vk:before{content:\\\"\\\\F189\\\"}.fa-weibo:before{content:\\\"\\\\F18A\\\"}.fa-renren:before{content:\\\"\\\\F18B\\\"}.fa-pagelines:before{content:\\\"\\\\F18C\\\"}.fa-stack-exchange:before{content:\\\"\\\\F18D\\\"}.fa-arrow-circle-o-right:before{content:\\\"\\\\F18E\\\"}.fa-arrow-circle-o-left:before{content:\\\"\\\\F190\\\"}.fa-caret-square-o-left:before,.fa-toggle-left:before{content:\\\"\\\\F191\\\"}.fa-dot-circle-o:before{content:\\\"\\\\F192\\\"}.fa-wheelchair:before{content:\\\"\\\\F193\\\"}.fa-vimeo-square:before{content:\\\"\\\\F194\\\"}.fa-try:before,.fa-turkish-lira:before{content:\\\"\\\\F195\\\"}.fa-plus-square-o:before{content:\\\"\\\\F196\\\"}.fa-space-shuttle:before{content:\\\"\\\\F197\\\"}.fa-slack:before{content:\\\"\\\\F198\\\"}.fa-envelope-square:before{content:\\\"\\\\F199\\\"}.fa-wordpress:before{content:\\\"\\\\F19A\\\"}.fa-openid:before{content:\\\"\\\\F19B\\\"}.fa-bank:before,.fa-institution:before,.fa-university:before{content:\\\"\\\\F19C\\\"}.fa-graduation-cap:before,.fa-mortar-board:before{content:\\\"\\\\F19D\\\"}.fa-yahoo:before{content:\\\"\\\\F19E\\\"}.fa-google:before{content:\\\"\\\\F1A0\\\"}.fa-reddit:before{content:\\\"\\\\F1A1\\\"}.fa-reddit-square:before{content:\\\"\\\\F1A2\\\"}.fa-stumbleupon-circle:before{content:\\\"\\\\F1A3\\\"}.fa-stumbleupon:before{content:\\\"\\\\F1A4\\\"}.fa-delicious:before{content:\\\"\\\\F1A5\\\"}.fa-digg:before{content:\\\"\\\\F1A6\\\"}.fa-pied-piper:before{content:\\\"\\\\F1A7\\\"}.fa-pied-piper-alt:before{content:\\\"\\\\F1A8\\\"}.fa-drupal:before{content:\\\"\\\\F1A9\\\"}.fa-joomla:before{content:\\\"\\\\F1AA\\\"}.fa-language:before{content:\\\"\\\\F1AB\\\"}.fa-fax:before{content:\\\"\\\\F1AC\\\"}.fa-building:before{content:\\\"\\\\F1AD\\\"}.fa-child:before{content:\\\"\\\\F1AE\\\"}.fa-paw:before{content:\\\"\\\\F1B0\\\"}.fa-spoon:before{content:\\\"\\\\F1B1\\\"}.fa-cube:before{content:\\\"\\\\F1B2\\\"}.fa-cubes:before{content:\\\"\\\\F1B3\\\"}.fa-behance:before{content:\\\"\\\\F1B4\\\"}.fa-behance-square:before{content:\\\"\\\\F1B5\\\"}.fa-steam:before{content:\\\"\\\\F1B6\\\"}.fa-steam-square:before{content:\\\"\\\\F1B7\\\"}.fa-recycle:before{content:\\\"\\\\F1B8\\\"}.fa-automobile:before,.fa-car:before{content:\\\"\\\\F1B9\\\"}.fa-cab:before,.fa-taxi:before{content:\\\"\\\\F1BA\\\"}.fa-tree:before{content:\\\"\\\\F1BB\\\"}.fa-spotify:before{content:\\\"\\\\F1BC\\\"}.fa-deviantart:before{content:\\\"\\\\F1BD\\\"}.fa-soundcloud:before{content:\\\"\\\\F1BE\\\"}.fa-database:before{content:\\\"\\\\F1C0\\\"}.fa-file-pdf-o:before{content:\\\"\\\\F1C1\\\"}.fa-file-word-o:before{content:\\\"\\\\F1C2\\\"}.fa-file-excel-o:before{content:\\\"\\\\F1C3\\\"}.fa-file-powerpoint-o:before{content:\\\"\\\\F1C4\\\"}.fa-file-image-o:before,.fa-file-photo-o:before,.fa-file-picture-o:before{content:\\\"\\\\F1C5\\\"}.fa-file-archive-o:before,.fa-file-zip-o:before{content:\\\"\\\\F1C6\\\"}.fa-file-audio-o:before,.fa-file-sound-o:before{content:\\\"\\\\F1C7\\\"}.fa-file-movie-o:before,.fa-file-video-o:before{content:\\\"\\\\F1C8\\\"}.fa-file-code-o:before{content:\\\"\\\\F1C9\\\"}.fa-vine:before{content:\\\"\\\\F1CA\\\"}.fa-codepen:before{content:\\\"\\\\F1CB\\\"}.fa-jsfiddle:before{content:\\\"\\\\F1CC\\\"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-ring:before,.fa-life-saver:before,.fa-support:before{content:\\\"\\\\F1CD\\\"}.fa-circle-o-notch:before{content:\\\"\\\\F1CE\\\"}.fa-ra:before,.fa-rebel:before{content:\\\"\\\\F1D0\\\"}.fa-empire:before,.fa-ge:before{content:\\\"\\\\F1D1\\\"}.fa-git-square:before{content:\\\"\\\\F1D2\\\"}.fa-git:before{content:\\\"\\\\F1D3\\\"}.fa-hacker-news:before{content:\\\"\\\\F1D4\\\"}.fa-tencent-weibo:before{content:\\\"\\\\F1D5\\\"}.fa-qq:before{content:\\\"\\\\F1D6\\\"}.fa-wechat:before,.fa-weixin:before{content:\\\"\\\\F1D7\\\"}.fa-paper-plane:before,.fa-send:before{content:\\\"\\\\F1D8\\\"}.fa-paper-plane-o:before,.fa-send-o:before{content:\\\"\\\\F1D9\\\"}.fa-history:before{content:\\\"\\\\F1DA\\\"}.fa-circle-thin:before,.fa-genderless:before{content:\\\"\\\\F1DB\\\"}.fa-header:before{content:\\\"\\\\F1DC\\\"}.fa-paragraph:before{content:\\\"\\\\F1DD\\\"}.fa-sliders:before{content:\\\"\\\\F1DE\\\"}.fa-share-alt:before{content:\\\"\\\\F1E0\\\"}.fa-share-alt-square:before{content:\\\"\\\\F1E1\\\"}.fa-bomb:before{content:\\\"\\\\F1E2\\\"}.fa-futbol-o:before,.fa-soccer-ball-o:before{content:\\\"\\\\F1E3\\\"}.fa-tty:before{content:\\\"\\\\F1E4\\\"}.fa-binoculars:before{content:\\\"\\\\F1E5\\\"}.fa-plug:before{content:\\\"\\\\F1E6\\\"}.fa-slideshare:before{content:\\\"\\\\F1E7\\\"}.fa-twitch:before{content:\\\"\\\\F1E8\\\"}.fa-yelp:before{content:\\\"\\\\F1E9\\\"}.fa-newspaper-o:before{content:\\\"\\\\F1EA\\\"}.fa-wifi:before{content:\\\"\\\\F1EB\\\"}.fa-calculator:before{content:\\\"\\\\F1EC\\\"}.fa-paypal:before{content:\\\"\\\\F1ED\\\"}.fa-google-wallet:before{content:\\\"\\\\F1EE\\\"}.fa-cc-visa:before{content:\\\"\\\\F1F0\\\"}.fa-cc-mastercard:before{content:\\\"\\\\F1F1\\\"}.fa-cc-discover:before{content:\\\"\\\\F1F2\\\"}.fa-cc-amex:before{content:\\\"\\\\F1F3\\\"}.fa-cc-paypal:before{content:\\\"\\\\F1F4\\\"}.fa-cc-stripe:before{content:\\\"\\\\F1F5\\\"}.fa-bell-slash:before{content:\\\"\\\\F1F6\\\"}.fa-bell-slash-o:before{content:\\\"\\\\F1F7\\\"}.fa-trash:before{content:\\\"\\\\F1F8\\\"}.fa-copyright:before{content:\\\"\\\\F1F9\\\"}.fa-at:before{content:\\\"\\\\F1FA\\\"}.fa-eyedropper:before{content:\\\"\\\\F1FB\\\"}.fa-paint-brush:before{content:\\\"\\\\F1FC\\\"}.fa-birthday-cake:before{content:\\\"\\\\F1FD\\\"}.fa-area-chart:before{content:\\\"\\\\F1FE\\\"}.fa-pie-chart:before{content:\\\"\\\\F200\\\"}.fa-line-chart:before{content:\\\"\\\\F201\\\"}.fa-lastfm:before{content:\\\"\\\\F202\\\"}.fa-lastfm-square:before{content:\\\"\\\\F203\\\"}.fa-toggle-off:before{content:\\\"\\\\F204\\\"}.fa-toggle-on:before{content:\\\"\\\\F205\\\"}.fa-bicycle:before{content:\\\"\\\\F206\\\"}.fa-bus:before{content:\\\"\\\\F207\\\"}.fa-ioxhost:before{content:\\\"\\\\F208\\\"}.fa-angellist:before{content:\\\"\\\\F209\\\"}.fa-cc:before{content:\\\"\\\\F20A\\\"}.fa-ils:before,.fa-shekel:before,.fa-sheqel:before{content:\\\"\\\\F20B\\\"}.fa-meanpath:before{content:\\\"\\\\F20C\\\"}.fa-buysellads:before{content:\\\"\\\\F20D\\\"}.fa-connectdevelop:before{content:\\\"\\\\F20E\\\"}.fa-dashcube:before{content:\\\"\\\\F210\\\"}.fa-forumbee:before{content:\\\"\\\\F211\\\"}.fa-leanpub:before{content:\\\"\\\\F212\\\"}.fa-sellsy:before{content:\\\"\\\\F213\\\"}.fa-shirtsinbulk:before{content:\\\"\\\\F214\\\"}.fa-simplybuilt:before{content:\\\"\\\\F215\\\"}.fa-skyatlas:before{content:\\\"\\\\F216\\\"}.fa-cart-plus:before{content:\\\"\\\\F217\\\"}.fa-cart-arrow-down:before{content:\\\"\\\\F218\\\"}.fa-diamond:before{content:\\\"\\\\F219\\\"}.fa-ship:before{content:\\\"\\\\F21A\\\"}.fa-user-secret:before{content:\\\"\\\\F21B\\\"}.fa-motorcycle:before{content:\\\"\\\\F21C\\\"}.fa-street-view:before{content:\\\"\\\\F21D\\\"}.fa-heartbeat:before{content:\\\"\\\\F21E\\\"}.fa-venus:before{content:\\\"\\\\F221\\\"}.fa-mars:before{content:\\\"\\\\F222\\\"}.fa-mercury:before{content:\\\"\\\\F223\\\"}.fa-transgender:before{content:\\\"\\\\F224\\\"}.fa-transgender-alt:before{content:\\\"\\\\F225\\\"}.fa-venus-double:before{content:\\\"\\\\F226\\\"}.fa-mars-double:before{content:\\\"\\\\F227\\\"}.fa-venus-mars:before{content:\\\"\\\\F228\\\"}.fa-mars-stroke:before{content:\\\"\\\\F229\\\"}.fa-mars-stroke-v:before{content:\\\"\\\\F22A\\\"}.fa-mars-stroke-h:before{content:\\\"\\\\F22B\\\"}.fa-neuter:before{content:\\\"\\\\F22C\\\"}.fa-facebook-official:before{content:\\\"\\\\F230\\\"}.fa-pinterest-p:before{content:\\\"\\\\F231\\\"}.fa-whatsapp:before{content:\\\"\\\\F232\\\"}.fa-server:before{content:\\\"\\\\F233\\\"}.fa-user-plus:before{content:\\\"\\\\F234\\\"}.fa-user-times:before{content:\\\"\\\\F235\\\"}.fa-bed:before,.fa-hotel:before{content:\\\"\\\\F236\\\"}.fa-viacoin:before{content:\\\"\\\\F237\\\"}.fa-train:before{content:\\\"\\\\F238\\\"}.fa-subway:before{content:\\\"\\\\F239\\\"}.fa-medium:before{content:\\\"\\\\F23A\\\"}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./src/styles/font-awesome.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./src/styles/font-awesome.css\n// module chunks = 0","exports = module.exports = require(\"./../../node_modules/css-loader/lib/css-base.js\")();\n// imports\n\n\n// module\nexports.push([module.id, \"/*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}\", \"\"]);\n\n// exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader!./~/postcss-loader?{\"plugins\":[null]}!./src/styles/normalize.css\n// module id = ./node_modules/css-loader/index.js!./node_modules/postcss-loader/index.js?{\"plugins\":[null]}!./src/styles/normalize.css\n// module chunks = 0","/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\n// css base code, injected by the css-loader\r\nmodule.exports = function() {\r\n\tvar list = [];\r\n\r\n\t// return the list of modules as css string\r\n\tlist.toString = function toString() {\r\n\t\tvar result = [];\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar item = this[i];\r\n\t\t\tif(item[2]) {\r\n\t\t\t\tresult.push(\"@media \" + item[2] + \"{\" + item[1] + \"}\");\r\n\t\t\t} else {\r\n\t\t\t\tresult.push(item[1]);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn result.join(\"\");\r\n\t};\r\n\r\n\t// import a list of modules into the list\r\n\tlist.i = function(modules, mediaQuery) {\r\n\t\tif(typeof modules === \"string\")\r\n\t\t\tmodules = [[null, modules, \"\"]];\r\n\t\tvar alreadyImportedModules = {};\r\n\t\tfor(var i = 0; i < this.length; i++) {\r\n\t\t\tvar id = this[i][0];\r\n\t\t\tif(typeof id === \"number\")\r\n\t\t\t\talreadyImportedModules[id] = true;\r\n\t\t}\r\n\t\tfor(i = 0; i < modules.length; i++) {\r\n\t\t\tvar item = modules[i];\r\n\t\t\t// skip already imported module\r\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\r\n\t\t\t// when a module is imported multiple times with different media queries.\r\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\r\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\r\n\t\t\t\tif(mediaQuery && !item[2]) {\r\n\t\t\t\t\titem[2] = mediaQuery;\r\n\t\t\t\t} else if(mediaQuery) {\r\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\r\n\t\t\t\t}\r\n\t\t\t\tlist.push(item);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\treturn list;\r\n};\r\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/css-loader/lib/css-base.js\n// module id = ./node_modules/css-loader/lib/css-base.js\n// module chunks = 0","export {default as bisect, bisectRight, bisectLeft} from \"./src/bisect\";\nexport {default as ascending} from \"./src/ascending\";\nexport {default as bisector} from \"./src/bisector\";\nexport {default as descending} from \"./src/descending\";\nexport {default as deviation} from \"./src/deviation\";\nexport {default as extent} from \"./src/extent\";\nexport {default as histogram} from \"./src/histogram\";\nexport {default as thresholdFreedmanDiaconis} from \"./src/threshold/freedmanDiaconis\";\nexport {default as thresholdScott} from \"./src/threshold/scott\";\nexport {default as thresholdSturges} from \"./src/threshold/sturges\";\nexport {default as max} from \"./src/max\";\nexport {default as mean} from \"./src/mean\";\nexport {default as median} from \"./src/median\";\nexport {default as merge} from \"./src/merge\";\nexport {default as min} from \"./src/min\";\nexport {default as pairs} from \"./src/pairs\";\nexport {default as permute} from \"./src/permute\";\nexport {default as quantile} from \"./src/quantile\";\nexport {default as range} from \"./src/range\";\nexport {default as scan} from \"./src/scan\";\nexport {default as shuffle} from \"./src/shuffle\";\nexport {default as sum} from \"./src/sum\";\nexport {default as ticks, tickStep} from \"./src/ticks\";\nexport {default as transpose} from \"./src/transpose\";\nexport {default as variance} from \"./src/variance\";\nexport {default as zip} from \"./src/zip\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/index.js\n// module id = ./node_modules/d3-array/index.js\n// module chunks = 0","var array = Array.prototype;\n\nexport var slice = array.slice;\nexport var map = array.map;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/array.js\n// module id = ./node_modules/d3-array/src/array.js\n// module chunks = 0","export default function(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/ascending.js\n// module id = ./node_modules/d3-array/src/ascending.js\n// module chunks = 0","import ascending from \"./ascending\";\nimport bisector from \"./bisector\";\n\nvar ascendingBisect = bisector(ascending);\nexport var bisectRight = ascendingBisect.right;\nexport var bisectLeft = ascendingBisect.left;\nexport default bisectRight;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/bisect.js\n// module id = ./node_modules/d3-array/src/bisect.js\n// module chunks = 0","import ascending from \"./ascending\";\n\nexport default function(compare) {\n if (compare.length === 1) compare = ascendingComparator(compare);\n return {\n left: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) < 0) lo = mid + 1;\n else hi = mid;\n }\n return lo;\n },\n right: function(a, x, lo, hi) {\n if (lo == null) lo = 0;\n if (hi == null) hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) > 0) hi = mid;\n else lo = mid + 1;\n }\n return lo;\n }\n };\n}\n\nfunction ascendingComparator(f) {\n return function(d, x) {\n return ascending(f(d), x);\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/bisector.js\n// module id = ./node_modules/d3-array/src/bisector.js\n// module chunks = 0","export default function(x) {\n return function() {\n return x;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/constant.js\n// module id = ./node_modules/d3-array/src/constant.js\n// module chunks = 0","export default function(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/descending.js\n// module id = ./node_modules/d3-array/src/descending.js\n// module chunks = 0","import variance from \"./variance\";\n\nexport default function(array, f) {\n var v = variance(array, f);\n return v ? Math.sqrt(v) : v;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/deviation.js\n// module id = ./node_modules/d3-array/src/deviation.js\n// module chunks = 0","export default function(array, f) {\n var i = -1,\n n = array.length,\n a,\n b,\n c;\n\n if (f == null) {\n while (++i < n) if ((b = array[i]) != null && b >= b) { a = c = b; break; }\n while (++i < n) if ((b = array[i]) != null) {\n if (a > b) a = b;\n if (c < b) c = b;\n }\n }\n\n else {\n while (++i < n) if ((b = f(array[i], i, array)) != null && b >= b) { a = c = b; break; }\n while (++i < n) if ((b = f(array[i], i, array)) != null) {\n if (a > b) a = b;\n if (c < b) c = b;\n }\n }\n\n return [a, c];\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/extent.js\n// module id = ./node_modules/d3-array/src/extent.js\n// module chunks = 0","import {slice} from \"./array\";\nimport bisect from \"./bisect\";\nimport constant from \"./constant\";\nimport extent from \"./extent\";\nimport identity from \"./identity\";\nimport ticks from \"./ticks\";\nimport sturges from \"./threshold/sturges\";\n\nexport default function() {\n var value = identity,\n domain = extent,\n threshold = sturges;\n\n function histogram(data) {\n var i,\n n = data.length,\n x,\n values = new Array(n);\n\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n\n var xz = domain(values),\n x0 = xz[0],\n x1 = xz[1],\n tz = threshold(values, x0, x1);\n\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) tz = ticks(x0, x1, tz);\n\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0) tz.shift(), --m;\n while (tz[m - 1] >= x1) tz.pop(), --m;\n\n var bins = new Array(m + 1),\n bin;\n\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisect(tz, x, 0, m)].push(data[i]);\n }\n }\n\n return bins;\n }\n\n histogram.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n\n histogram.domain = function(_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n\n histogram.thresholds = function(_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n\n return histogram;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/histogram.js\n// module id = ./node_modules/d3-array/src/histogram.js\n// module chunks = 0","export default function(x) {\n return x;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/identity.js\n// module id = ./node_modules/d3-array/src/identity.js\n// module chunks = 0","export default function(array, f) {\n var i = -1,\n n = array.length,\n a,\n b;\n\n if (f == null) {\n while (++i < n) if ((b = array[i]) != null && b >= b) { a = b; break; }\n while (++i < n) if ((b = array[i]) != null && b > a) a = b;\n }\n\n else {\n while (++i < n) if ((b = f(array[i], i, array)) != null && b >= b) { a = b; break; }\n while (++i < n) if ((b = f(array[i], i, array)) != null && b > a) a = b;\n }\n\n return a;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/max.js\n// module id = ./node_modules/d3-array/src/max.js\n// module chunks = 0","import number from \"./number\";\n\nexport default function(array, f) {\n var s = 0,\n n = array.length,\n a,\n i = -1,\n j = n;\n\n if (f == null) {\n while (++i < n) if (!isNaN(a = number(array[i]))) s += a; else --j;\n }\n\n else {\n while (++i < n) if (!isNaN(a = number(f(array[i], i, array)))) s += a; else --j;\n }\n\n if (j) return s / j;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/mean.js\n// module id = ./node_modules/d3-array/src/mean.js\n// module chunks = 0","import ascending from \"./ascending\";\nimport number from \"./number\";\nimport quantile from \"./quantile\";\n\nexport default function(array, f) {\n var numbers = [],\n n = array.length,\n a,\n i = -1;\n\n if (f == null) {\n while (++i < n) if (!isNaN(a = number(array[i]))) numbers.push(a);\n }\n\n else {\n while (++i < n) if (!isNaN(a = number(f(array[i], i, array)))) numbers.push(a);\n }\n\n return quantile(numbers.sort(ascending), 0.5);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/median.js\n// module id = ./node_modules/d3-array/src/median.js\n// module chunks = 0","export default function(arrays) {\n var n = arrays.length,\n m,\n i = -1,\n j = 0,\n merged,\n array;\n\n while (++i < n) j += arrays[i].length;\n merged = new Array(j);\n\n while (--n >= 0) {\n array = arrays[n];\n m = array.length;\n while (--m >= 0) {\n merged[--j] = array[m];\n }\n }\n\n return merged;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/merge.js\n// module id = ./node_modules/d3-array/src/merge.js\n// module chunks = 0","export default function(array, f) {\n var i = -1,\n n = array.length,\n a,\n b;\n\n if (f == null) {\n while (++i < n) if ((b = array[i]) != null && b >= b) { a = b; break; }\n while (++i < n) if ((b = array[i]) != null && a > b) a = b;\n }\n\n else {\n while (++i < n) if ((b = f(array[i], i, array)) != null && b >= b) { a = b; break; }\n while (++i < n) if ((b = f(array[i], i, array)) != null && a > b) a = b;\n }\n\n return a;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/min.js\n// module id = ./node_modules/d3-array/src/min.js\n// module chunks = 0","export default function(x) {\n return x === null ? NaN : +x;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/number.js\n// module id = ./node_modules/d3-array/src/number.js\n// module chunks = 0","export default function(array) {\n var i = 0, n = array.length - 1, p = array[0], pairs = new Array(n < 0 ? 0 : n);\n while (i < n) pairs[i] = [p, p = array[++i]];\n return pairs;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/pairs.js\n// module id = ./node_modules/d3-array/src/pairs.js\n// module chunks = 0","export default function(array, indexes) {\n var i = indexes.length, permutes = new Array(i);\n while (i--) permutes[i] = array[indexes[i]];\n return permutes;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/permute.js\n// module id = ./node_modules/d3-array/src/permute.js\n// module chunks = 0","import number from \"./number\";\n\nexport default function(array, p, f) {\n if (f == null) f = number;\n if (!(n = array.length)) return;\n if ((p = +p) <= 0 || n < 2) return +f(array[0], 0, array);\n if (p >= 1) return +f(array[n - 1], n - 1, array);\n var n,\n h = (n - 1) * p,\n i = Math.floor(h),\n a = +f(array[i], i, array),\n b = +f(array[i + 1], i + 1, array);\n return a + (b - a) * (h - i);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/quantile.js\n// module id = ./node_modules/d3-array/src/quantile.js\n// module chunks = 0","export default function(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n\n var i = -1,\n n = Math.max(0, Math.ceil((stop - start) / step)) | 0,\n range = new Array(n);\n\n while (++i < n) {\n range[i] = start + i * step;\n }\n\n return range;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/range.js\n// module id = ./node_modules/d3-array/src/range.js\n// module chunks = 0","import ascending from \"./ascending\";\n\nexport default function(array, compare) {\n if (!(n = array.length)) return;\n var i = 0,\n n,\n j = 0,\n xi,\n xj = array[j];\n\n if (!compare) compare = ascending;\n\n while (++i < n) if (compare(xi = array[i], xj) < 0 || compare(xj, xj) !== 0) xj = xi, j = i;\n\n if (compare(xj, xj) === 0) return j;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/scan.js\n// module id = ./node_modules/d3-array/src/scan.js\n// module chunks = 0","export default function(array, i0, i1) {\n var m = (i1 == null ? array.length : i1) - (i0 = i0 == null ? 0 : +i0),\n t,\n i;\n\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n\n return array;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/shuffle.js\n// module id = ./node_modules/d3-array/src/shuffle.js\n// module chunks = 0","export default function(array, f) {\n var s = 0,\n n = array.length,\n a,\n i = -1;\n\n if (f == null) {\n while (++i < n) if (a = +array[i]) s += a; // Note: zero and null are equivalent.\n }\n\n else {\n while (++i < n) if (a = +f(array[i], i, array)) s += a;\n }\n\n return s;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/sum.js\n// module id = ./node_modules/d3-array/src/sum.js\n// module chunks = 0","import {map} from \"../array\";\nimport ascending from \"../ascending\";\nimport number from \"../number\";\nimport quantile from \"../quantile\";\n\nexport default function(values, min, max) {\n values = map.call(values, number).sort(ascending);\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(values.length, -1 / 3)));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/threshold/freedmanDiaconis.js\n// module id = ./node_modules/d3-array/src/threshold/freedmanDiaconis.js\n// module chunks = 0","import deviation from \"../deviation\";\n\nexport default function(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3)));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/threshold/scott.js\n// module id = ./node_modules/d3-array/src/threshold/scott.js\n// module chunks = 0","export default function(values) {\n return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/threshold/sturges.js\n// module id = ./node_modules/d3-array/src/threshold/sturges.js\n// module chunks = 0","import range from \"./range\";\n\nvar e10 = Math.sqrt(50),\n e5 = Math.sqrt(10),\n e2 = Math.sqrt(2);\n\nexport default function(start, stop, count) {\n var step = tickStep(start, stop, count);\n return range(\n Math.ceil(start / step) * step,\n Math.floor(stop / step) * step + step / 2, // inclusive\n step\n );\n}\n\nexport function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count),\n step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)),\n error = step0 / step1;\n if (error >= e10) step1 *= 10;\n else if (error >= e5) step1 *= 5;\n else if (error >= e2) step1 *= 2;\n return stop < start ? -step1 : step1;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/ticks.js\n// module id = ./node_modules/d3-array/src/ticks.js\n// module chunks = 0","import min from \"./min\";\n\nexport default function(matrix) {\n if (!(n = matrix.length)) return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n}\n\nfunction length(d) {\n return d.length;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/transpose.js\n// module id = ./node_modules/d3-array/src/transpose.js\n// module chunks = 0","import number from \"./number\";\n\nexport default function(array, f) {\n var n = array.length,\n m = 0,\n a,\n d,\n s = 0,\n i = -1,\n j = 0;\n\n if (f == null) {\n while (++i < n) {\n if (!isNaN(a = number(array[i]))) {\n d = a - m;\n m += d / ++j;\n s += d * (a - m);\n }\n }\n }\n\n else {\n while (++i < n) {\n if (!isNaN(a = number(f(array[i], i, array)))) {\n d = a - m;\n m += d / ++j;\n s += d * (a - m);\n }\n }\n }\n\n if (j > 1) return s / (j - 1);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/variance.js\n// module id = ./node_modules/d3-array/src/variance.js\n// module chunks = 0","import transpose from \"./transpose\";\n\nexport default function() {\n return transpose(arguments);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-array/src/zip.js\n// module id = ./node_modules/d3-array/src/zip.js\n// module chunks = 0","export {default as nest} from \"./src/nest\";\nexport {default as set} from \"./src/set\";\nexport {default as map} from \"./src/map\";\nexport {default as keys} from \"./src/keys\";\nexport {default as values} from \"./src/values\";\nexport {default as entries} from \"./src/entries\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/index.js\n// module id = ./node_modules/d3-collection/index.js\n// module chunks = 0","export default function(map) {\n var entries = [];\n for (var key in map) entries.push({key: key, value: map[key]});\n return entries;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/src/entries.js\n// module id = ./node_modules/d3-collection/src/entries.js\n// module chunks = 0","export default function(map) {\n var keys = [];\n for (var key in map) keys.push(key);\n return keys;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/src/keys.js\n// module id = ./node_modules/d3-collection/src/keys.js\n// module chunks = 0","export var prefix = \"$\";\n\nfunction Map() {}\n\nMap.prototype = map.prototype = {\n constructor: Map,\n has: function(key) {\n return (prefix + key) in this;\n },\n get: function(key) {\n return this[prefix + key];\n },\n set: function(key, value) {\n this[prefix + key] = value;\n return this;\n },\n remove: function(key) {\n var property = prefix + key;\n return property in this && delete this[property];\n },\n clear: function() {\n for (var property in this) if (property[0] === prefix) delete this[property];\n },\n keys: function() {\n var keys = [];\n for (var property in this) if (property[0] === prefix) keys.push(property.slice(1));\n return keys;\n },\n values: function() {\n var values = [];\n for (var property in this) if (property[0] === prefix) values.push(this[property]);\n return values;\n },\n entries: function() {\n var entries = [];\n for (var property in this) if (property[0] === prefix) entries.push({key: property.slice(1), value: this[property]});\n return entries;\n },\n size: function() {\n var size = 0;\n for (var property in this) if (property[0] === prefix) ++size;\n return size;\n },\n empty: function() {\n for (var property in this) if (property[0] === prefix) return false;\n return true;\n },\n each: function(f) {\n for (var property in this) if (property[0] === prefix) f(this[property], property.slice(1), this);\n }\n};\n\nfunction map(object, f) {\n var map = new Map;\n\n // Copy constructor.\n if (object instanceof Map) object.each(function(value, key) { map.set(key, value); });\n\n // Index array by numeric index or specified key function.\n else if (Array.isArray(object)) {\n var i = -1,\n n = object.length,\n o;\n\n if (f == null) while (++i < n) map.set(i, object[i]);\n else while (++i < n) map.set(f(o = object[i], i, object), o);\n }\n\n // Convert object to map.\n else if (object) for (var key in object) map.set(key, object[key]);\n\n return map;\n}\n\nexport default map;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/src/map.js\n// module id = ./node_modules/d3-collection/src/map.js\n// module chunks = 0","import map from \"./map\";\n\nexport default function() {\n var keys = [],\n sortKeys = [],\n sortValues,\n rollup,\n nest;\n\n function apply(array, depth, createResult, setResult) {\n if (depth >= keys.length) return rollup != null\n ? rollup(array) : (sortValues != null\n ? array.sort(sortValues)\n : array);\n\n var i = -1,\n n = array.length,\n key = keys[depth++],\n keyValue,\n value,\n valuesByKey = map(),\n values,\n result = createResult();\n\n while (++i < n) {\n if (values = valuesByKey.get(keyValue = key(value = array[i]) + \"\")) {\n values.push(value);\n } else {\n valuesByKey.set(keyValue, [value]);\n }\n }\n\n valuesByKey.each(function(values, key) {\n setResult(result, key, apply(values, depth, createResult, setResult));\n });\n\n return result;\n }\n\n function entries(map, depth) {\n if (++depth > keys.length) return map;\n var array, sortKey = sortKeys[depth - 1];\n if (rollup != null && depth >= keys.length) array = map.entries();\n else array = [], map.each(function(v, k) { array.push({key: k, values: entries(v, depth)}); });\n return sortKey != null ? array.sort(function(a, b) { return sortKey(a.key, b.key); }) : array;\n }\n\n return nest = {\n object: function(array) { return apply(array, 0, createObject, setObject); },\n map: function(array) { return apply(array, 0, createMap, setMap); },\n entries: function(array) { return entries(apply(array, 0, createMap, setMap), 0); },\n key: function(d) { keys.push(d); return nest; },\n sortKeys: function(order) { sortKeys[keys.length - 1] = order; return nest; },\n sortValues: function(order) { sortValues = order; return nest; },\n rollup: function(f) { rollup = f; return nest; }\n };\n}\n\nfunction createObject() {\n return {};\n}\n\nfunction setObject(object, key, value) {\n object[key] = value;\n}\n\nfunction createMap() {\n return map();\n}\n\nfunction setMap(map, key, value) {\n map.set(key, value);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/src/nest.js\n// module id = ./node_modules/d3-collection/src/nest.js\n// module chunks = 0","import {default as map, prefix} from \"./map\";\n\nfunction Set() {}\n\nvar proto = map.prototype;\n\nSet.prototype = set.prototype = {\n constructor: Set,\n has: proto.has,\n add: function(value) {\n value += \"\";\n this[prefix + value] = value;\n return this;\n },\n remove: proto.remove,\n clear: proto.clear,\n values: proto.keys,\n size: proto.size,\n empty: proto.empty,\n each: proto.each\n};\n\nfunction set(object, f) {\n var set = new Set;\n\n // Copy constructor.\n if (object instanceof Set) object.each(function(value) { set.add(value); });\n\n // Otherwise, assume it’s an array.\n else if (object) {\n var i = -1, n = object.length;\n if (f == null) while (++i < n) set.add(object[i]);\n else while (++i < n) set.add(f(object[i], i, object));\n }\n\n return set;\n}\n\nexport default set;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/src/set.js\n// module id = ./node_modules/d3-collection/src/set.js\n// module chunks = 0","export default function(map) {\n var values = [];\n for (var key in map) values.push(map[key]);\n return values;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-collection/src/values.js\n// module id = ./node_modules/d3-collection/src/values.js\n// module chunks = 0","export {default as color, rgb, hsl} from \"./src/color\";\nexport {default as lab, hcl} from \"./src/lab\";\nexport {default as cubehelix} from \"./src/cubehelix\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-color/index.js\n// module id = ./node_modules/d3-color/index.js\n// module chunks = 0","import define, {extend} from \"./define\";\n\nexport function Color() {}\n\nexport var darker = 0.7;\nexport var brighter = 1 / darker;\n\nvar reI = \"\\\\s*([+-]?\\\\d+)\\\\s*\",\n reN = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)\\\\s*\",\n reP = \"\\\\s*([+-]?\\\\d*\\\\.?\\\\d+(?:[eE][+-]?\\\\d+)?)%\\\\s*\",\n reHex3 = /^#([0-9a-f]{3})$/,\n reHex6 = /^#([0-9a-f]{6})$/,\n reRgbInteger = new RegExp(\"^rgb\\\\(\" + [reI, reI, reI] + \"\\\\)$\"),\n reRgbPercent = new RegExp(\"^rgb\\\\(\" + [reP, reP, reP] + \"\\\\)$\"),\n reRgbaInteger = new RegExp(\"^rgba\\\\(\" + [reI, reI, reI, reN] + \"\\\\)$\"),\n reRgbaPercent = new RegExp(\"^rgba\\\\(\" + [reP, reP, reP, reN] + \"\\\\)$\"),\n reHslPercent = new RegExp(\"^hsl\\\\(\" + [reN, reP, reP] + \"\\\\)$\"),\n reHslaPercent = new RegExp(\"^hsla\\\\(\" + [reN, reP, reP, reN] + \"\\\\)$\");\n\nvar named = {\n aliceblue: 0xf0f8ff,\n antiquewhite: 0xfaebd7,\n aqua: 0x00ffff,\n aquamarine: 0x7fffd4,\n azure: 0xf0ffff,\n beige: 0xf5f5dc,\n bisque: 0xffe4c4,\n black: 0x000000,\n blanchedalmond: 0xffebcd,\n blue: 0x0000ff,\n blueviolet: 0x8a2be2,\n brown: 0xa52a2a,\n burlywood: 0xdeb887,\n cadetblue: 0x5f9ea0,\n chartreuse: 0x7fff00,\n chocolate: 0xd2691e,\n coral: 0xff7f50,\n cornflowerblue: 0x6495ed,\n cornsilk: 0xfff8dc,\n crimson: 0xdc143c,\n cyan: 0x00ffff,\n darkblue: 0x00008b,\n darkcyan: 0x008b8b,\n darkgoldenrod: 0xb8860b,\n darkgray: 0xa9a9a9,\n darkgreen: 0x006400,\n darkgrey: 0xa9a9a9,\n darkkhaki: 0xbdb76b,\n darkmagenta: 0x8b008b,\n darkolivegreen: 0x556b2f,\n darkorange: 0xff8c00,\n darkorchid: 0x9932cc,\n darkred: 0x8b0000,\n darksalmon: 0xe9967a,\n darkseagreen: 0x8fbc8f,\n darkslateblue: 0x483d8b,\n darkslategray: 0x2f4f4f,\n darkslategrey: 0x2f4f4f,\n darkturquoise: 0x00ced1,\n darkviolet: 0x9400d3,\n deeppink: 0xff1493,\n deepskyblue: 0x00bfff,\n dimgray: 0x696969,\n dimgrey: 0x696969,\n dodgerblue: 0x1e90ff,\n firebrick: 0xb22222,\n floralwhite: 0xfffaf0,\n forestgreen: 0x228b22,\n fuchsia: 0xff00ff,\n gainsboro: 0xdcdcdc,\n ghostwhite: 0xf8f8ff,\n gold: 0xffd700,\n goldenrod: 0xdaa520,\n gray: 0x808080,\n green: 0x008000,\n greenyellow: 0xadff2f,\n grey: 0x808080,\n honeydew: 0xf0fff0,\n hotpink: 0xff69b4,\n indianred: 0xcd5c5c,\n indigo: 0x4b0082,\n ivory: 0xfffff0,\n khaki: 0xf0e68c,\n lavender: 0xe6e6fa,\n lavenderblush: 0xfff0f5,\n lawngreen: 0x7cfc00,\n lemonchiffon: 0xfffacd,\n lightblue: 0xadd8e6,\n lightcoral: 0xf08080,\n lightcyan: 0xe0ffff,\n lightgoldenrodyellow: 0xfafad2,\n lightgray: 0xd3d3d3,\n lightgreen: 0x90ee90,\n lightgrey: 0xd3d3d3,\n lightpink: 0xffb6c1,\n lightsalmon: 0xffa07a,\n lightseagreen: 0x20b2aa,\n lightskyblue: 0x87cefa,\n lightslategray: 0x778899,\n lightslategrey: 0x778899,\n lightsteelblue: 0xb0c4de,\n lightyellow: 0xffffe0,\n lime: 0x00ff00,\n limegreen: 0x32cd32,\n linen: 0xfaf0e6,\n magenta: 0xff00ff,\n maroon: 0x800000,\n mediumaquamarine: 0x66cdaa,\n mediumblue: 0x0000cd,\n mediumorchid: 0xba55d3,\n mediumpurple: 0x9370db,\n mediumseagreen: 0x3cb371,\n mediumslateblue: 0x7b68ee,\n mediumspringgreen: 0x00fa9a,\n mediumturquoise: 0x48d1cc,\n mediumvioletred: 0xc71585,\n midnightblue: 0x191970,\n mintcream: 0xf5fffa,\n mistyrose: 0xffe4e1,\n moccasin: 0xffe4b5,\n navajowhite: 0xffdead,\n navy: 0x000080,\n oldlace: 0xfdf5e6,\n olive: 0x808000,\n olivedrab: 0x6b8e23,\n orange: 0xffa500,\n orangered: 0xff4500,\n orchid: 0xda70d6,\n palegoldenrod: 0xeee8aa,\n palegreen: 0x98fb98,\n paleturquoise: 0xafeeee,\n palevioletred: 0xdb7093,\n papayawhip: 0xffefd5,\n peachpuff: 0xffdab9,\n peru: 0xcd853f,\n pink: 0xffc0cb,\n plum: 0xdda0dd,\n powderblue: 0xb0e0e6,\n purple: 0x800080,\n rebeccapurple: 0x663399,\n red: 0xff0000,\n rosybrown: 0xbc8f8f,\n royalblue: 0x4169e1,\n saddlebrown: 0x8b4513,\n salmon: 0xfa8072,\n sandybrown: 0xf4a460,\n seagreen: 0x2e8b57,\n seashell: 0xfff5ee,\n sienna: 0xa0522d,\n silver: 0xc0c0c0,\n skyblue: 0x87ceeb,\n slateblue: 0x6a5acd,\n slategray: 0x708090,\n slategrey: 0x708090,\n snow: 0xfffafa,\n springgreen: 0x00ff7f,\n steelblue: 0x4682b4,\n tan: 0xd2b48c,\n teal: 0x008080,\n thistle: 0xd8bfd8,\n tomato: 0xff6347,\n turquoise: 0x40e0d0,\n violet: 0xee82ee,\n wheat: 0xf5deb3,\n white: 0xffffff,\n whitesmoke: 0xf5f5f5,\n yellow: 0xffff00,\n yellowgreen: 0x9acd32\n};\n\ndefine(Color, color, {\n displayable: function() {\n return this.rgb().displayable();\n },\n toString: function() {\n return this.rgb() + \"\";\n }\n});\n\nexport default function color(format) {\n var m;\n format = (format + \"\").trim().toLowerCase();\n return (m = reHex3.exec(format)) ? (m = parseInt(m[1], 16), new Rgb((m >> 8 & 0xf) | (m >> 4 & 0x0f0), (m >> 4 & 0xf) | (m & 0xf0), ((m & 0xf) << 4) | (m & 0xf), 1)) // #f00\n : (m = reHex6.exec(format)) ? rgbn(parseInt(m[1], 16)) // #ff0000\n : (m = reRgbInteger.exec(format)) ? new Rgb(m[1], m[2], m[3], 1) // rgb(255, 0, 0)\n : (m = reRgbPercent.exec(format)) ? new Rgb(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, 1) // rgb(100%, 0%, 0%)\n : (m = reRgbaInteger.exec(format)) ? rgba(m[1], m[2], m[3], m[4]) // rgba(255, 0, 0, 1)\n : (m = reRgbaPercent.exec(format)) ? rgba(m[1] * 255 / 100, m[2] * 255 / 100, m[3] * 255 / 100, m[4]) // rgb(100%, 0%, 0%, 1)\n : (m = reHslPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, 1) // hsl(120, 50%, 50%)\n : (m = reHslaPercent.exec(format)) ? hsla(m[1], m[2] / 100, m[3] / 100, m[4]) // hsla(120, 50%, 50%, 1)\n : named.hasOwnProperty(format) ? rgbn(named[format])\n : format === \"transparent\" ? new Rgb(NaN, NaN, NaN, 0)\n : null;\n}\n\nfunction rgbn(n) {\n return new Rgb(n >> 16 & 0xff, n >> 8 & 0xff, n & 0xff, 1);\n}\n\nfunction rgba(r, g, b, a) {\n if (a <= 0) r = g = b = NaN;\n return new Rgb(r, g, b, a);\n}\n\nexport function rgbConvert(o) {\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Rgb;\n o = o.rgb();\n return new Rgb(o.r, o.g, o.b, o.opacity);\n}\n\nexport function rgb(r, g, b, opacity) {\n return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity);\n}\n\nexport function Rgb(r, g, b, opacity) {\n this.r = +r;\n this.g = +g;\n this.b = +b;\n this.opacity = +opacity;\n}\n\ndefine(Rgb, rgb, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity);\n },\n rgb: function() {\n return this;\n },\n displayable: function() {\n return (0 <= this.r && this.r <= 255)\n && (0 <= this.g && this.g <= 255)\n && (0 <= this.b && this.b <= 255)\n && (0 <= this.opacity && this.opacity <= 1);\n },\n toString: function() {\n var a = this.opacity; a = isNaN(a) ? 1 : Math.max(0, Math.min(1, a));\n return (a === 1 ? \"rgb(\" : \"rgba(\")\n + Math.max(0, Math.min(255, Math.round(this.r) || 0)) + \", \"\n + Math.max(0, Math.min(255, Math.round(this.g) || 0)) + \", \"\n + Math.max(0, Math.min(255, Math.round(this.b) || 0))\n + (a === 1 ? \")\" : \", \" + a + \")\");\n }\n}));\n\nfunction hsla(h, s, l, a) {\n if (a <= 0) h = s = l = NaN;\n else if (l <= 0 || l >= 1) h = s = NaN;\n else if (s <= 0) h = NaN;\n return new Hsl(h, s, l, a);\n}\n\nexport function hslConvert(o) {\n if (o instanceof Hsl) return new Hsl(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Color)) o = color(o);\n if (!o) return new Hsl;\n if (o instanceof Hsl) return o;\n o = o.rgb();\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n min = Math.min(r, g, b),\n max = Math.max(r, g, b),\n h = NaN,\n s = max - min,\n l = (max + min) / 2;\n if (s) {\n if (r === max) h = (g - b) / s + (g < b) * 6;\n else if (g === max) h = (b - r) / s + 2;\n else h = (r - g) / s + 4;\n s /= l < 0.5 ? max + min : 2 - max - min;\n h *= 60;\n } else {\n s = l > 0 && l < 1 ? 0 : h;\n }\n return new Hsl(h, s, l, o.opacity);\n}\n\nexport function hsl(h, s, l, opacity) {\n return arguments.length === 1 ? hslConvert(h) : new Hsl(h, s, l, opacity == null ? 1 : opacity);\n}\n\nfunction Hsl(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hsl, hsl, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Hsl(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function() {\n var h = this.h % 360 + (this.h < 0) * 360,\n s = isNaN(h) || isNaN(this.s) ? 0 : this.s,\n l = this.l,\n m2 = l + (l < 0.5 ? l : 1 - l) * s,\n m1 = 2 * l - m2;\n return new Rgb(\n hsl2rgb(h >= 240 ? h - 240 : h + 120, m1, m2),\n hsl2rgb(h, m1, m2),\n hsl2rgb(h < 120 ? h + 240 : h - 120, m1, m2),\n this.opacity\n );\n },\n displayable: function() {\n return (0 <= this.s && this.s <= 1 || isNaN(this.s))\n && (0 <= this.l && this.l <= 1)\n && (0 <= this.opacity && this.opacity <= 1);\n }\n}));\n\n/* From FvD 13.37, CSS Color Module Level 3 */\nfunction hsl2rgb(h, m1, m2) {\n return (h < 60 ? m1 + (m2 - m1) * h / 60\n : h < 180 ? m2\n : h < 240 ? m1 + (m2 - m1) * (240 - h) / 60\n : m1) * 255;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-color/src/color.js\n// module id = ./node_modules/d3-color/src/color.js\n// module chunks = 0","import define, {extend} from \"./define\";\nimport {Color, rgbConvert, Rgb, darker, brighter} from \"./color\";\nimport {deg2rad, rad2deg} from \"./math\";\n\nvar A = -0.14861,\n B = +1.78277,\n C = -0.29227,\n D = -0.90649,\n E = +1.97294,\n ED = E * D,\n EB = E * B,\n BC_DA = B * C - D * A;\n\nfunction cubehelixConvert(o) {\n if (o instanceof Cubehelix) return new Cubehelix(o.h, o.s, o.l, o.opacity);\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var r = o.r / 255,\n g = o.g / 255,\n b = o.b / 255,\n l = (BC_DA * b + ED * r - EB * g) / (BC_DA + ED - EB),\n bl = b - l,\n k = (E * (g - l) - C * bl) / D,\n s = Math.sqrt(k * k + bl * bl) / (E * l * (1 - l)), // NaN if l=0 or l=1\n h = s ? Math.atan2(k, bl) * rad2deg - 120 : NaN;\n return new Cubehelix(h < 0 ? h + 360 : h, s, l, o.opacity);\n}\n\nexport default function cubehelix(h, s, l, opacity) {\n return arguments.length === 1 ? cubehelixConvert(h) : new Cubehelix(h, s, l, opacity == null ? 1 : opacity);\n}\n\nexport function Cubehelix(h, s, l, opacity) {\n this.h = +h;\n this.s = +s;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Cubehelix, cubehelix, extend(Color, {\n brighter: function(k) {\n k = k == null ? brighter : Math.pow(brighter, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n darker: function(k) {\n k = k == null ? darker : Math.pow(darker, k);\n return new Cubehelix(this.h, this.s, this.l * k, this.opacity);\n },\n rgb: function() {\n var h = isNaN(this.h) ? 0 : (this.h + 120) * deg2rad,\n l = +this.l,\n a = isNaN(this.s) ? 0 : this.s * l * (1 - l),\n cosh = Math.cos(h),\n sinh = Math.sin(h);\n return new Rgb(\n 255 * (l + a * (A * cosh + B * sinh)),\n 255 * (l + a * (C * cosh + D * sinh)),\n 255 * (l + a * (E * cosh)),\n this.opacity\n );\n }\n}));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-color/src/cubehelix.js\n// module id = ./node_modules/d3-color/src/cubehelix.js\n// module chunks = 0","export default function(constructor, factory, prototype) {\n constructor.prototype = factory.prototype = prototype;\n prototype.constructor = constructor;\n}\n\nexport function extend(parent, definition) {\n var prototype = Object.create(parent.prototype);\n for (var key in definition) prototype[key] = definition[key];\n return prototype;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-color/src/define.js\n// module id = ./node_modules/d3-color/src/define.js\n// module chunks = 0","import define, {extend} from \"./define\";\nimport {Color, rgbConvert, Rgb} from \"./color\";\nimport {deg2rad, rad2deg} from \"./math\";\n\nvar Kn = 18,\n Xn = 0.950470, // D65 standard referent\n Yn = 1,\n Zn = 1.088830,\n t0 = 4 / 29,\n t1 = 6 / 29,\n t2 = 3 * t1 * t1,\n t3 = t1 * t1 * t1;\n\nfunction labConvert(o) {\n if (o instanceof Lab) return new Lab(o.l, o.a, o.b, o.opacity);\n if (o instanceof Hcl) {\n var h = o.h * deg2rad;\n return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity);\n }\n if (!(o instanceof Rgb)) o = rgbConvert(o);\n var b = rgb2xyz(o.r),\n a = rgb2xyz(o.g),\n l = rgb2xyz(o.b),\n x = xyz2lab((0.4124564 * b + 0.3575761 * a + 0.1804375 * l) / Xn),\n y = xyz2lab((0.2126729 * b + 0.7151522 * a + 0.0721750 * l) / Yn),\n z = xyz2lab((0.0193339 * b + 0.1191920 * a + 0.9503041 * l) / Zn);\n return new Lab(116 * y - 16, 500 * (x - y), 200 * (y - z), o.opacity);\n}\n\nexport default function lab(l, a, b, opacity) {\n return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);\n}\n\nexport function Lab(l, a, b, opacity) {\n this.l = +l;\n this.a = +a;\n this.b = +b;\n this.opacity = +opacity;\n}\n\ndefine(Lab, lab, extend(Color, {\n brighter: function(k) {\n return new Lab(this.l + Kn * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n darker: function(k) {\n return new Lab(this.l - Kn * (k == null ? 1 : k), this.a, this.b, this.opacity);\n },\n rgb: function() {\n var y = (this.l + 16) / 116,\n x = isNaN(this.a) ? y : y + this.a / 500,\n z = isNaN(this.b) ? y : y - this.b / 200;\n y = Yn * lab2xyz(y);\n x = Xn * lab2xyz(x);\n z = Zn * lab2xyz(z);\n return new Rgb(\n xyz2rgb( 3.2404542 * x - 1.5371385 * y - 0.4985314 * z), // D65 -> sRGB\n xyz2rgb(-0.9692660 * x + 1.8760108 * y + 0.0415560 * z),\n xyz2rgb( 0.0556434 * x - 0.2040259 * y + 1.0572252 * z),\n this.opacity\n );\n }\n}));\n\nfunction xyz2lab(t) {\n return t > t3 ? Math.pow(t, 1 / 3) : t / t2 + t0;\n}\n\nfunction lab2xyz(t) {\n return t > t1 ? t * t * t : t2 * (t - t0);\n}\n\nfunction xyz2rgb(x) {\n return 255 * (x <= 0.0031308 ? 12.92 * x : 1.055 * Math.pow(x, 1 / 2.4) - 0.055);\n}\n\nfunction rgb2xyz(x) {\n return (x /= 255) <= 0.04045 ? x / 12.92 : Math.pow((x + 0.055) / 1.055, 2.4);\n}\n\nfunction hclConvert(o) {\n if (o instanceof Hcl) return new Hcl(o.h, o.c, o.l, o.opacity);\n if (!(o instanceof Lab)) o = labConvert(o);\n var h = Math.atan2(o.b, o.a) * rad2deg;\n return new Hcl(h < 0 ? h + 360 : h, Math.sqrt(o.a * o.a + o.b * o.b), o.l, o.opacity);\n}\n\nexport function hcl(h, c, l, opacity) {\n return arguments.length === 1 ? hclConvert(h) : new Hcl(h, c, l, opacity == null ? 1 : opacity);\n}\n\nexport function Hcl(h, c, l, opacity) {\n this.h = +h;\n this.c = +c;\n this.l = +l;\n this.opacity = +opacity;\n}\n\ndefine(Hcl, hcl, extend(Color, {\n brighter: function(k) {\n return new Hcl(this.h, this.c, this.l + Kn * (k == null ? 1 : k), this.opacity);\n },\n darker: function(k) {\n return new Hcl(this.h, this.c, this.l - Kn * (k == null ? 1 : k), this.opacity);\n },\n rgb: function() {\n return labConvert(this).rgb();\n }\n}));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-color/src/lab.js\n// module id = ./node_modules/d3-color/src/lab.js\n// module chunks = 0","export var deg2rad = Math.PI / 180;\nexport var rad2deg = 180 / Math.PI;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-color/src/math.js\n// module id = ./node_modules/d3-color/src/math.js\n// module chunks = 0","export {default as dispatch} from \"./src/dispatch\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-dispatch/index.js\n// module id = ./node_modules/d3-dispatch/index.js\n// module chunks = 0","var noop = {value: function() {}};\n\nfunction dispatch() {\n for (var i = 0, n = arguments.length, _ = {}, t; i < n; ++i) {\n if (!(t = arguments[i] + \"\") || (t in _)) throw new Error(\"illegal type: \" + t);\n _[t] = [];\n }\n return new Dispatch(_);\n}\n\nfunction Dispatch(_) {\n this._ = _;\n}\n\nfunction parseTypenames(typenames, types) {\n return typenames.trim().split(/^|\\s+/).map(function(t) {\n var name = \"\", i = t.indexOf(\".\");\n if (i >= 0) name = t.slice(i + 1), t = t.slice(0, i);\n if (t && !types.hasOwnProperty(t)) throw new Error(\"unknown type: \" + t);\n return {type: t, name: name};\n });\n}\n\nDispatch.prototype = dispatch.prototype = {\n constructor: Dispatch,\n on: function(typename, callback) {\n var _ = this._,\n T = parseTypenames(typename + \"\", _),\n t,\n i = -1,\n n = T.length;\n\n // If no callback was specified, return the callback of the given type and name.\n if (arguments.length < 2) {\n while (++i < n) if ((t = (typename = T[i]).type) && (t = get(_[t], typename.name))) return t;\n return;\n }\n\n // If a type was specified, set the callback for the given type and name.\n // Otherwise, if a null callback was specified, remove callbacks of the given name.\n if (callback != null && typeof callback !== \"function\") throw new Error(\"invalid callback: \" + callback);\n while (++i < n) {\n if (t = (typename = T[i]).type) _[t] = set(_[t], typename.name, callback);\n else if (callback == null) for (t in _) _[t] = set(_[t], typename.name, null);\n }\n\n return this;\n },\n copy: function() {\n var copy = {}, _ = this._;\n for (var t in _) copy[t] = _[t].slice();\n return new Dispatch(copy);\n },\n call: function(type, that) {\n if ((n = arguments.length - 2) > 0) for (var args = new Array(n), i = 0, n, t; i < n; ++i) args[i] = arguments[i + 2];\n if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n for (t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n },\n apply: function(type, that, args) {\n if (!this._.hasOwnProperty(type)) throw new Error(\"unknown type: \" + type);\n for (var t = this._[type], i = 0, n = t.length; i < n; ++i) t[i].value.apply(that, args);\n }\n};\n\nfunction get(type, name) {\n for (var i = 0, n = type.length, c; i < n; ++i) {\n if ((c = type[i]).name === name) {\n return c.value;\n }\n }\n}\n\nfunction set(type, name, callback) {\n for (var i = 0, n = type.length; i < n; ++i) {\n if (type[i].name === name) {\n type[i] = noop, type = type.slice(0, i).concat(type.slice(i + 1));\n break;\n }\n }\n if (callback != null) type.push({name: name, value: callback});\n return type;\n}\n\nexport default dispatch;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-dispatch/src/dispatch.js\n// module id = ./node_modules/d3-dispatch/src/dispatch.js\n// module chunks = 0","export {default as forceCenter} from \"./src/center\";\nexport {default as forceCollide} from \"./src/collide\";\nexport {default as forceLink} from \"./src/link\";\nexport {default as forceManyBody} from \"./src/manyBody\";\nexport {default as forceSimulation} from \"./src/simulation\";\nexport {default as forceX} from \"./src/x\";\nexport {default as forceY} from \"./src/y\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/index.js\n// module id = ./node_modules/d3-force/index.js\n// module chunks = 0","export default function(x, y) {\n var nodes;\n\n if (x == null) x = 0;\n if (y == null) y = 0;\n\n function force() {\n var i,\n n = nodes.length,\n node,\n sx = 0,\n sy = 0;\n\n for (i = 0; i < n; ++i) {\n node = nodes[i], sx += node.x, sy += node.y;\n }\n\n for (sx = sx / n - x, sy = sy / n - y, i = 0; i < n; ++i) {\n node = nodes[i], node.x -= sx, node.y -= sy;\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = +_, force) : x;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = +_, force) : y;\n };\n\n return force;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/center.js\n// module id = ./node_modules/d3-force/src/center.js\n// module chunks = 0","import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {quadtree} from \"d3-quadtree\";\n\nfunction x(d) {\n return d.x + d.vx;\n}\n\nfunction y(d) {\n return d.y + d.vy;\n}\n\nexport default function(radius) {\n var nodes,\n radii,\n strength = 1,\n iterations = 1;\n\n if (typeof radius !== \"function\") radius = constant(radius == null ? 1 : +radius);\n\n function force() {\n var i, n = nodes.length,\n tree,\n node,\n xi,\n yi,\n ri,\n ri2;\n\n for (var k = 0; k < iterations; ++k) {\n tree = quadtree(nodes, x, y).visitAfter(prepare);\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n ri = radii[node.index], ri2 = ri * ri;\n xi = node.x + node.vx;\n yi = node.y + node.vy;\n tree.visit(apply);\n }\n }\n\n function apply(quad, x0, y0, x1, y1) {\n var data = quad.data, rj = quad.r, r = ri + rj;\n if (data) {\n if (data.index > node.index) {\n var x = xi - data.x - data.vx,\n y = yi - data.y - data.vy,\n l = x * x + y * y;\n if (l < r * r) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n l = (r - (l = Math.sqrt(l))) / l * strength;\n node.vx += (x *= l) * (r = (rj *= rj) / (ri2 + rj));\n node.vy += (y *= l) * r;\n data.vx -= x * (r = 1 - r);\n data.vy -= y * r;\n }\n }\n return;\n }\n return x0 > xi + r || x1 < xi - r || y0 > yi + r || y1 < yi - r;\n }\n }\n\n function prepare(quad) {\n if (quad.data) return quad.r = radii[quad.data.index];\n for (var i = quad.r = 0; i < 4; ++i) {\n if (quad[i] && quad[i].r > quad.r) {\n quad.r = quad[i].r;\n }\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length, node;\n radii = new Array(n);\n for (i = 0; i < n; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes);\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.iterations = function(_) {\n return arguments.length ? (iterations = +_, force) : iterations;\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = +_, force) : strength;\n };\n\n force.radius = function(_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : radius;\n };\n\n return force;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/collide.js\n// module id = ./node_modules/d3-force/src/collide.js\n// module chunks = 0","export default function(x) {\n return function() {\n return x;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/constant.js\n// module id = ./node_modules/d3-force/src/constant.js\n// module chunks = 0","export default function() {\n return (Math.random() - 0.5) * 1e-6;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/jiggle.js\n// module id = ./node_modules/d3-force/src/jiggle.js\n// module chunks = 0","import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {map} from \"d3-collection\";\n\nfunction index(d) {\n return d.index;\n}\n\nfunction find(nodeById, nodeId) {\n var node = nodeById.get(nodeId);\n if (!node) throw new Error(\"missing: \" + nodeId);\n return node;\n}\n\nexport default function(links) {\n var id = index,\n strength = defaultStrength,\n strengths,\n distance = constant(30),\n distances,\n nodes,\n count,\n bias,\n iterations = 1;\n\n if (links == null) links = [];\n\n function defaultStrength(link) {\n return 1 / Math.min(count[link.source.index], count[link.target.index]);\n }\n\n function force(alpha) {\n for (var k = 0, n = links.length; k < iterations; ++k) {\n for (var i = 0, link, source, target, x, y, l, b; i < n; ++i) {\n link = links[i], source = link.source, target = link.target;\n x = target.x + target.vx - source.x - source.vx || jiggle();\n y = target.y + target.vy - source.y - source.vy || jiggle();\n l = Math.sqrt(x * x + y * y);\n l = (l - distances[i]) / l * alpha * strengths[i];\n x *= l, y *= l;\n target.vx -= x * (b = bias[i]);\n target.vy -= y * b;\n source.vx += x * (b = 1 - b);\n source.vy += y * b;\n }\n }\n }\n\n function initialize() {\n if (!nodes) return;\n\n var i,\n n = nodes.length,\n m = links.length,\n nodeById = map(nodes, id),\n link;\n\n for (i = 0, count = new Array(n); i < m; ++i) {\n link = links[i], link.index = i;\n if (typeof link.source !== \"object\") link.source = find(nodeById, link.source);\n if (typeof link.target !== \"object\") link.target = find(nodeById, link.target);\n count[link.source.index] = (count[link.source.index] || 0) + 1;\n count[link.target.index] = (count[link.target.index] || 0) + 1;\n }\n\n for (i = 0, bias = new Array(m); i < m; ++i) {\n link = links[i], bias[i] = count[link.source.index] / (count[link.source.index] + count[link.target.index]);\n }\n\n strengths = new Array(m), initializeStrength();\n distances = new Array(m), initializeDistance();\n }\n\n function initializeStrength() {\n if (!nodes) return;\n\n for (var i = 0, n = links.length; i < n; ++i) {\n strengths[i] = +strength(links[i], i, links);\n }\n }\n\n function initializeDistance() {\n if (!nodes) return;\n\n for (var i = 0, n = links.length; i < n; ++i) {\n distances[i] = +distance(links[i], i, links);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.links = function(_) {\n return arguments.length ? (links = _, initialize(), force) : links;\n };\n\n force.id = function(_) {\n return arguments.length ? (id = _, force) : id;\n };\n\n force.iterations = function(_) {\n return arguments.length ? (iterations = +_, force) : iterations;\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initializeStrength(), force) : strength;\n };\n\n force.distance = function(_) {\n return arguments.length ? (distance = typeof _ === \"function\" ? _ : constant(+_), initializeDistance(), force) : distance;\n };\n\n return force;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/link.js\n// module id = ./node_modules/d3-force/src/link.js\n// module chunks = 0","import constant from \"./constant\";\nimport jiggle from \"./jiggle\";\nimport {quadtree} from \"d3-quadtree\";\nimport {x, y} from \"./simulation\";\n\nexport default function() {\n var nodes,\n node,\n alpha,\n strength = constant(-30),\n strengths,\n distanceMin2 = 1,\n distanceMax2 = Infinity,\n theta2 = 0.81;\n\n function force(_) {\n var i, n = nodes.length, tree = quadtree(nodes, x, y).visitAfter(accumulate);\n for (alpha = _, i = 0; i < n; ++i) node = nodes[i], tree.visit(apply);\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length, node;\n strengths = new Array(n);\n for (i = 0; i < n; ++i) node = nodes[i], strengths[node.index] = +strength(node, i, nodes);\n }\n\n function accumulate(quad) {\n var strength = 0, q, c, x, y, i;\n\n // For internal nodes, accumulate forces from child quadrants.\n if (quad.length) {\n for (x = y = i = 0; i < 4; ++i) {\n if ((q = quad[i]) && (c = q.value)) {\n strength += c, x += c * q.x, y += c * q.y;\n }\n }\n quad.x = x / strength;\n quad.y = y / strength;\n }\n\n // For leaf nodes, accumulate forces from coincident quadrants.\n else {\n q = quad;\n q.x = q.data.x;\n q.y = q.data.y;\n do strength += strengths[q.data.index];\n while (q = q.next);\n }\n\n quad.value = strength;\n }\n\n function apply(quad, x1, _, x2) {\n if (!quad.value) return true;\n\n var x = quad.x - node.x,\n y = quad.y - node.y,\n w = x2 - x1,\n l = x * x + y * y;\n\n // Apply the Barnes-Hut approximation if possible.\n // Limit forces for very close nodes; randomize direction if coincident.\n if (w * w / theta2 < l) {\n if (l < distanceMax2) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n node.vx += x * quad.value * alpha / l;\n node.vy += y * quad.value * alpha / l;\n }\n return true;\n }\n\n // Otherwise, process points directly.\n else if (quad.length || l >= distanceMax2) return;\n\n // Limit forces for very close nodes; randomize direction if coincident.\n if (quad.data !== node || quad.next) {\n if (x === 0) x = jiggle(), l += x * x;\n if (y === 0) y = jiggle(), l += y * y;\n if (l < distanceMin2) l = Math.sqrt(distanceMin2 * l);\n }\n\n do if (quad.data !== node) {\n w = strengths[quad.data.index] * alpha / l;\n node.vx += x * w;\n node.vy += y * w;\n } while (quad = quad.next);\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.distanceMin = function(_) {\n return arguments.length ? (distanceMin2 = _ * _, force) : Math.sqrt(distanceMin2);\n };\n\n force.distanceMax = function(_) {\n return arguments.length ? (distanceMax2 = _ * _, force) : Math.sqrt(distanceMax2);\n };\n\n force.theta = function(_) {\n return arguments.length ? (theta2 = _ * _, force) : Math.sqrt(theta2);\n };\n\n return force;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/manyBody.js\n// module id = ./node_modules/d3-force/src/manyBody.js\n// module chunks = 0","import {dispatch} from \"d3-dispatch\";\nimport {map} from \"d3-collection\";\nimport {timer} from \"d3-timer\";\n\nexport function x(d) {\n return d.x;\n}\n\nexport function y(d) {\n return d.y;\n}\n\nvar initialRadius = 10,\n initialAngle = Math.PI * (3 - Math.sqrt(5));\n\nexport default function(nodes) {\n var simulation,\n alpha = 1,\n alphaMin = 0.001,\n alphaDecay = 1 - Math.pow(alphaMin, 1 / 300),\n alphaTarget = 0,\n velocityDecay = 0.6,\n forces = map(),\n stepper = timer(step),\n event = dispatch(\"tick\", \"end\");\n\n if (nodes == null) nodes = [];\n\n function step() {\n tick();\n event.call(\"tick\", simulation);\n if (alpha < alphaMin) {\n stepper.stop();\n event.call(\"end\", simulation);\n }\n }\n\n function tick() {\n var i, n = nodes.length, node;\n\n alpha += (alphaTarget - alpha) * alphaDecay;\n\n forces.each(function(force) {\n force(alpha);\n });\n\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n if (node.fx == null) node.x += node.vx *= velocityDecay;\n else node.x = node.fx, node.vx = 0;\n if (node.fy == null) node.y += node.vy *= velocityDecay;\n else node.y = node.fy, node.vy = 0;\n }\n }\n\n function initializeNodes() {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.index = i;\n if (isNaN(node.x) || isNaN(node.y)) {\n var radius = initialRadius * Math.sqrt(i), angle = i * initialAngle;\n node.x = radius * Math.cos(angle);\n node.y = radius * Math.sin(angle);\n }\n if (isNaN(node.vx) || isNaN(node.vy)) {\n node.vx = node.vy = 0;\n }\n }\n }\n\n function initializeForce(force) {\n if (force.initialize) force.initialize(nodes);\n return force;\n }\n\n initializeNodes();\n\n return simulation = {\n tick: tick,\n\n restart: function() {\n return stepper.restart(step), simulation;\n },\n\n stop: function() {\n return stepper.stop(), simulation;\n },\n\n nodes: function(_) {\n return arguments.length ? (nodes = _, initializeNodes(), forces.each(initializeForce), simulation) : nodes;\n },\n\n alpha: function(_) {\n return arguments.length ? (alpha = +_, simulation) : alpha;\n },\n\n alphaMin: function(_) {\n return arguments.length ? (alphaMin = +_, simulation) : alphaMin;\n },\n\n alphaDecay: function(_) {\n return arguments.length ? (alphaDecay = +_, simulation) : +alphaDecay;\n },\n\n alphaTarget: function(_) {\n return arguments.length ? (alphaTarget = +_, simulation) : alphaTarget;\n },\n\n velocityDecay: function(_) {\n return arguments.length ? (velocityDecay = 1 - _, simulation) : 1 - velocityDecay;\n },\n\n force: function(name, _) {\n return arguments.length > 1 ? ((_ == null ? forces.remove(name) : forces.set(name, initializeForce(_))), simulation) : forces.get(name);\n },\n\n find: function(x, y, radius) {\n var i = 0,\n n = nodes.length,\n dx,\n dy,\n d2,\n node,\n closest;\n\n if (radius == null) radius = Infinity;\n else radius *= radius;\n\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n dx = x - node.x;\n dy = y - node.y;\n d2 = dx * dx + dy * dy;\n if (d2 < radius) closest = node, radius = d2;\n }\n\n return closest;\n },\n\n on: function(name, _) {\n return arguments.length > 1 ? (event.on(name, _), simulation) : event.on(name);\n }\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/simulation.js\n// module id = ./node_modules/d3-force/src/simulation.js\n// module chunks = 0","import constant from \"./constant\";\n\nexport default function(x) {\n var strength = constant(0.1),\n nodes,\n strengths,\n xz;\n\n if (typeof x !== \"function\") x = constant(x == null ? 0 : +x);\n\n function force(alpha) {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.vx += (xz[i] - node.x) * strengths[i] * alpha;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n xz = new Array(n);\n for (i = 0; i < n; ++i) {\n strengths[i] = isNaN(xz[i] = +x(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : x;\n };\n\n return force;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/x.js\n// module id = ./node_modules/d3-force/src/x.js\n// module chunks = 0","import constant from \"./constant\";\n\nexport default function(y) {\n var strength = constant(0.1),\n nodes,\n strengths,\n yz;\n\n if (typeof y !== \"function\") y = constant(y == null ? 0 : +y);\n\n function force(alpha) {\n for (var i = 0, n = nodes.length, node; i < n; ++i) {\n node = nodes[i], node.vy += (yz[i] - node.y) * strengths[i] * alpha;\n }\n }\n\n function initialize() {\n if (!nodes) return;\n var i, n = nodes.length;\n strengths = new Array(n);\n yz = new Array(n);\n for (i = 0; i < n; ++i) {\n strengths[i] = isNaN(yz[i] = +y(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes);\n }\n }\n\n force.initialize = function(_) {\n nodes = _;\n initialize();\n };\n\n force.strength = function(_) {\n return arguments.length ? (strength = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : strength;\n };\n\n force.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), initialize(), force) : y;\n };\n\n return force;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-force/src/y.js\n// module id = ./node_modules/d3-force/src/y.js\n// module chunks = 0","export {default as formatDefaultLocale, format, formatPrefix} from \"./src/defaultLocale\";\nexport {default as formatLocale} from \"./src/locale\";\nexport {default as formatSpecifier} from \"./src/formatSpecifier\";\nexport {default as precisionFixed} from \"./src/precisionFixed\";\nexport {default as precisionPrefix} from \"./src/precisionPrefix\";\nexport {default as precisionRound} from \"./src/precisionRound\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/index.js\n// module id = ./node_modules/d3-format/index.js\n// module chunks = 0","import formatLocale from \"./locale\";\n\nvar locale;\nexport var format;\nexport var formatPrefix;\n\ndefaultLocale({\n decimal: \".\",\n thousands: \",\",\n grouping: [3],\n currency: [\"$\", \"\"]\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n format = locale.format;\n formatPrefix = locale.formatPrefix;\n return locale;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/defaultLocale.js\n// module id = ./node_modules/d3-format/src/defaultLocale.js\n// module chunks = 0","import formatDecimal from \"./formatDecimal\";\n\nexport default function(x) {\n return x = formatDecimal(Math.abs(x)), x ? x[1] : NaN;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/exponent.js\n// module id = ./node_modules/d3-format/src/exponent.js\n// module chunks = 0","// Computes the decimal coefficient and exponent of the specified number x with\n// significant digits p, where x is positive and p is in [1, 21] or undefined.\n// For example, formatDecimal(1.23) returns [\"123\", 0].\nexport default function(x, p) {\n if ((i = (x = p ? x.toExponential(p - 1) : x.toExponential()).indexOf(\"e\")) < 0) return null; // NaN, ±Infinity\n var i, coefficient = x.slice(0, i);\n\n // The string returned by toExponential either has the form \\d\\.\\d+e[-+]\\d+\n // (e.g., 1.2e+3) or the form \\de[-+]\\d+ (e.g., 1e+3).\n return [\n coefficient.length > 1 ? coefficient[0] + coefficient.slice(2) : coefficient,\n +x.slice(i + 1)\n ];\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatDecimal.js\n// module id = ./node_modules/d3-format/src/formatDecimal.js\n// module chunks = 0","export default function(x, p) {\n x = x.toPrecision(p);\n\n out: for (var n = x.length, i = 1, i0 = -1, i1; i < n; ++i) {\n switch (x[i]) {\n case \".\": i0 = i1 = i; break;\n case \"0\": if (i0 === 0) i0 = i; i1 = i; break;\n case \"e\": break out;\n default: if (i0 > 0) i0 = 0; break;\n }\n }\n\n return i0 > 0 ? x.slice(0, i0) + x.slice(i1 + 1) : x;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatDefault.js\n// module id = ./node_modules/d3-format/src/formatDefault.js\n// module chunks = 0","export default function(grouping, thousands) {\n return function(value, width) {\n var i = value.length,\n t = [],\n j = 0,\n g = grouping[0],\n length = 0;\n\n while (i > 0 && g > 0) {\n if (length + g + 1 > width) g = Math.max(1, width - length);\n t.push(value.substring(i -= g, i + g));\n if ((length += g + 1) > width) break;\n g = grouping[j = (j + 1) % grouping.length];\n }\n\n return t.reverse().join(thousands);\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatGroup.js\n// module id = ./node_modules/d3-format/src/formatGroup.js\n// module chunks = 0","import formatDecimal from \"./formatDecimal\";\n\nexport var prefixExponent;\n\nexport default function(x, p) {\n var d = formatDecimal(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1],\n i = exponent - (prefixExponent = Math.max(-8, Math.min(8, Math.floor(exponent / 3))) * 3) + 1,\n n = coefficient.length;\n return i === n ? coefficient\n : i > n ? coefficient + new Array(i - n + 1).join(\"0\")\n : i > 0 ? coefficient.slice(0, i) + \".\" + coefficient.slice(i)\n : \"0.\" + new Array(1 - i).join(\"0\") + formatDecimal(x, Math.max(0, p + i - 1))[0]; // less than 1y!\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatPrefixAuto.js\n// module id = ./node_modules/d3-format/src/formatPrefixAuto.js\n// module chunks = 0","import formatDecimal from \"./formatDecimal\";\n\nexport default function(x, p) {\n var d = formatDecimal(x, p);\n if (!d) return x + \"\";\n var coefficient = d[0],\n exponent = d[1];\n return exponent < 0 ? \"0.\" + new Array(-exponent).join(\"0\") + coefficient\n : coefficient.length > exponent + 1 ? coefficient.slice(0, exponent + 1) + \".\" + coefficient.slice(exponent + 1)\n : coefficient + new Array(exponent - coefficient.length + 2).join(\"0\");\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatRounded.js\n// module id = ./node_modules/d3-format/src/formatRounded.js\n// module chunks = 0","import formatTypes from \"./formatTypes\";\n\n// [[fill]align][sign][symbol][0][width][,][.precision][type]\nvar re = /^(?:(.)?([<>=^]))?([+\\-\\( ])?([$#])?(0)?(\\d+)?(,)?(\\.\\d+)?([a-z%])?$/i;\n\nexport default function(specifier) {\n return new FormatSpecifier(specifier);\n}\n\nfunction FormatSpecifier(specifier) {\n if (!(match = re.exec(specifier))) throw new Error(\"invalid format: \" + specifier);\n\n var match,\n fill = match[1] || \" \",\n align = match[2] || \">\",\n sign = match[3] || \"-\",\n symbol = match[4] || \"\",\n zero = !!match[5],\n width = match[6] && +match[6],\n comma = !!match[7],\n precision = match[8] && +match[8].slice(1),\n type = match[9] || \"\";\n\n // The \"n\" type is an alias for \",g\".\n if (type === \"n\") comma = true, type = \"g\";\n\n // Map invalid types to the default format.\n else if (!formatTypes[type]) type = \"\";\n\n // If zero fill is specified, padding goes after sign and before digits.\n if (zero || (fill === \"0\" && align === \"=\")) zero = true, fill = \"0\", align = \"=\";\n\n this.fill = fill;\n this.align = align;\n this.sign = sign;\n this.symbol = symbol;\n this.zero = zero;\n this.width = width;\n this.comma = comma;\n this.precision = precision;\n this.type = type;\n}\n\nFormatSpecifier.prototype.toString = function() {\n return this.fill\n + this.align\n + this.sign\n + this.symbol\n + (this.zero ? \"0\" : \"\")\n + (this.width == null ? \"\" : Math.max(1, this.width | 0))\n + (this.comma ? \",\" : \"\")\n + (this.precision == null ? \"\" : \".\" + Math.max(0, this.precision | 0))\n + this.type;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatSpecifier.js\n// module id = ./node_modules/d3-format/src/formatSpecifier.js\n// module chunks = 0","import formatDefault from \"./formatDefault\";\nimport formatPrefixAuto from \"./formatPrefixAuto\";\nimport formatRounded from \"./formatRounded\";\n\nexport default {\n \"\": formatDefault,\n \"%\": function(x, p) { return (x * 100).toFixed(p); },\n \"b\": function(x) { return Math.round(x).toString(2); },\n \"c\": function(x) { return x + \"\"; },\n \"d\": function(x) { return Math.round(x).toString(10); },\n \"e\": function(x, p) { return x.toExponential(p); },\n \"f\": function(x, p) { return x.toFixed(p); },\n \"g\": function(x, p) { return x.toPrecision(p); },\n \"o\": function(x) { return Math.round(x).toString(8); },\n \"p\": function(x, p) { return formatRounded(x * 100, p); },\n \"r\": formatRounded,\n \"s\": formatPrefixAuto,\n \"X\": function(x) { return Math.round(x).toString(16).toUpperCase(); },\n \"x\": function(x) { return Math.round(x).toString(16); }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/formatTypes.js\n// module id = ./node_modules/d3-format/src/formatTypes.js\n// module chunks = 0","import exponent from \"./exponent\";\nimport formatGroup from \"./formatGroup\";\nimport formatSpecifier from \"./formatSpecifier\";\nimport formatTypes from \"./formatTypes\";\nimport {prefixExponent} from \"./formatPrefixAuto\";\n\nvar prefixes = [\"y\",\"z\",\"a\",\"f\",\"p\",\"n\",\"µ\",\"m\",\"\",\"k\",\"M\",\"G\",\"T\",\"P\",\"E\",\"Z\",\"Y\"];\n\nfunction identity(x) {\n return x;\n}\n\nexport default function(locale) {\n var group = locale.grouping && locale.thousands ? formatGroup(locale.grouping, locale.thousands) : identity,\n currency = locale.currency,\n decimal = locale.decimal;\n\n function newFormat(specifier) {\n specifier = formatSpecifier(specifier);\n\n var fill = specifier.fill,\n align = specifier.align,\n sign = specifier.sign,\n symbol = specifier.symbol,\n zero = specifier.zero,\n width = specifier.width,\n comma = specifier.comma,\n precision = specifier.precision,\n type = specifier.type;\n\n // Compute the prefix and suffix.\n // For SI-prefix, the suffix is lazily computed.\n var prefix = symbol === \"$\" ? currency[0] : symbol === \"#\" && /[boxX]/.test(type) ? \"0\" + type.toLowerCase() : \"\",\n suffix = symbol === \"$\" ? currency[1] : /[%p]/.test(type) ? \"%\" : \"\";\n\n // What format function should we use?\n // Is this an integer type?\n // Can this type generate exponential notation?\n var formatType = formatTypes[type],\n maybeSuffix = !type || /[defgprs%]/.test(type);\n\n // Set the default precision if not specified,\n // or clamp the specified precision to the supported range.\n // For significant precision, it must be in [1, 21].\n // For fixed precision, it must be in [0, 20].\n precision = precision == null ? (type ? 6 : 12)\n : /[gprs]/.test(type) ? Math.max(1, Math.min(21, precision))\n : Math.max(0, Math.min(20, precision));\n\n function format(value) {\n var valuePrefix = prefix,\n valueSuffix = suffix,\n i, n, c;\n\n if (type === \"c\") {\n valueSuffix = formatType(value) + valueSuffix;\n value = \"\";\n } else {\n value = +value;\n\n // Convert negative to positive, and compute the prefix.\n // Note that -0 is not less than 0, but 1 / -0 is!\n var valueNegative = (value < 0 || 1 / value < 0) && (value *= -1, true);\n\n // Perform the initial formatting.\n value = formatType(value, precision);\n\n // If the original value was negative, it may be rounded to zero during\n // formatting; treat this as (positive) zero.\n if (valueNegative) {\n i = -1, n = value.length;\n valueNegative = false;\n while (++i < n) {\n if (c = value.charCodeAt(i), (48 < c && c < 58)\n || (type === \"x\" && 96 < c && c < 103)\n || (type === \"X\" && 64 < c && c < 71)) {\n valueNegative = true;\n break;\n }\n }\n }\n\n // Compute the prefix and suffix.\n valuePrefix = (valueNegative ? (sign === \"(\" ? sign : \"-\") : sign === \"-\" || sign === \"(\" ? \"\" : sign) + valuePrefix;\n valueSuffix = valueSuffix + (type === \"s\" ? prefixes[8 + prefixExponent / 3] : \"\") + (valueNegative && sign === \"(\" ? \")\" : \"\");\n\n // Break the formatted value into the integer “value” part that can be\n // grouped, and fractional or exponential “suffix” part that is not.\n if (maybeSuffix) {\n i = -1, n = value.length;\n while (++i < n) {\n if (c = value.charCodeAt(i), 48 > c || c > 57) {\n valueSuffix = (c === 46 ? decimal + value.slice(i + 1) : value.slice(i)) + valueSuffix;\n value = value.slice(0, i);\n break;\n }\n }\n }\n }\n\n // If the fill character is not \"0\", grouping is applied before padding.\n if (comma && !zero) value = group(value, Infinity);\n\n // Compute the padding.\n var length = valuePrefix.length + value.length + valueSuffix.length,\n padding = length < width ? new Array(width - length + 1).join(fill) : \"\";\n\n // If the fill character is \"0\", grouping is applied after padding.\n if (comma && zero) value = group(padding + value, padding.length ? width - valueSuffix.length : Infinity), padding = \"\";\n\n // Reconstruct the final output based on the desired alignment.\n switch (align) {\n case \"<\": return valuePrefix + value + valueSuffix + padding;\n case \"=\": return valuePrefix + padding + value + valueSuffix;\n case \"^\": return padding.slice(0, length = padding.length >> 1) + valuePrefix + value + valueSuffix + padding.slice(length);\n }\n return padding + valuePrefix + value + valueSuffix;\n }\n\n format.toString = function() {\n return specifier + \"\";\n };\n\n return format;\n }\n\n function formatPrefix(specifier, value) {\n var f = newFormat((specifier = formatSpecifier(specifier), specifier.type = \"f\", specifier)),\n e = Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3,\n k = Math.pow(10, -e),\n prefix = prefixes[8 + e / 3];\n return function(value) {\n return f(k * value) + prefix;\n };\n }\n\n return {\n format: newFormat,\n formatPrefix: formatPrefix\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/locale.js\n// module id = ./node_modules/d3-format/src/locale.js\n// module chunks = 0","import exponent from \"./exponent\";\n\nexport default function(step) {\n return Math.max(0, -exponent(Math.abs(step)));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/precisionFixed.js\n// module id = ./node_modules/d3-format/src/precisionFixed.js\n// module chunks = 0","import exponent from \"./exponent\";\n\nexport default function(step, value) {\n return Math.max(0, Math.max(-8, Math.min(8, Math.floor(exponent(value) / 3))) * 3 - exponent(Math.abs(step)));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/precisionPrefix.js\n// module id = ./node_modules/d3-format/src/precisionPrefix.js\n// module chunks = 0","import exponent from \"./exponent\";\n\nexport default function(step, max) {\n step = Math.abs(step), max = Math.abs(max) - step;\n return Math.max(0, exponent(max) - exponent(step)) + 1;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-format/src/precisionRound.js\n// module id = ./node_modules/d3-format/src/precisionRound.js\n// module chunks = 0","export {default as interpolate} from \"./src/value\";\nexport {default as interpolateArray} from \"./src/array\";\nexport {default as interpolateBasis} from \"./src/basis\";\nexport {default as interpolateBasisClosed} from \"./src/basisClosed\";\nexport {default as interpolateDate} from \"./src/date\";\nexport {default as interpolateNumber} from \"./src/number\";\nexport {default as interpolateObject} from \"./src/object\";\nexport {default as interpolateRound} from \"./src/round\";\nexport {default as interpolateString} from \"./src/string\";\nexport {interpolateTransformCss, interpolateTransformSvg} from \"./src/transform/index\";\nexport {default as interpolateZoom} from \"./src/zoom\";\nexport {default as interpolateRgb, rgbBasis as interpolateRgbBasis, rgbBasisClosed as interpolateRgbBasisClosed} from \"./src/rgb\";\nexport {default as interpolateHsl, hslLong as interpolateHslLong} from \"./src/hsl\";\nexport {default as interpolateLab} from \"./src/lab\";\nexport {default as interpolateHcl, hclLong as interpolateHclLong} from \"./src/hcl\";\nexport {default as interpolateCubehelix, cubehelixLong as interpolateCubehelixLong} from \"./src/cubehelix\";\nexport {default as quantize} from \"./src/quantize\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/index.js\n// module id = ./node_modules/d3-interpolate/index.js\n// module chunks = 0","import value from \"./value\";\n\nexport default function(a, b) {\n var nb = b ? b.length : 0,\n na = a ? Math.min(nb, a.length) : 0,\n x = new Array(nb),\n c = new Array(nb),\n i;\n\n for (i = 0; i < na; ++i) x[i] = value(a[i], b[i]);\n for (; i < nb; ++i) c[i] = b[i];\n\n return function(t) {\n for (i = 0; i < na; ++i) c[i] = x[i](t);\n return c;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/array.js\n// module id = ./node_modules/d3-interpolate/src/array.js\n// module chunks = 0","export function basis(t1, v0, v1, v2, v3) {\n var t2 = t1 * t1, t3 = t2 * t1;\n return ((1 - 3 * t1 + 3 * t2 - t3) * v0\n + (4 - 6 * t2 + 3 * t3) * v1\n + (1 + 3 * t1 + 3 * t2 - 3 * t3) * v2\n + t3 * v3) / 6;\n}\n\nexport default function(values) {\n var n = values.length - 1;\n return function(t) {\n var i = t <= 0 ? (t = 0) : t >= 1 ? (t = 1, n - 1) : Math.floor(t * n),\n v1 = values[i],\n v2 = values[i + 1],\n v0 = i > 0 ? values[i - 1] : 2 * v1 - v2,\n v3 = i < n - 1 ? values[i + 2] : 2 * v2 - v1;\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/basis.js\n// module id = ./node_modules/d3-interpolate/src/basis.js\n// module chunks = 0","import {basis} from \"./basis\";\n\nexport default function(values) {\n var n = values.length;\n return function(t) {\n var i = Math.floor(((t %= 1) < 0 ? ++t : t) * n),\n v0 = values[(i + n - 1) % n],\n v1 = values[i % n],\n v2 = values[(i + 1) % n],\n v3 = values[(i + 2) % n];\n return basis((t - i / n) * n, v0, v1, v2, v3);\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/basisClosed.js\n// module id = ./node_modules/d3-interpolate/src/basisClosed.js\n// module chunks = 0","import constant from \"./constant\";\n\nfunction linear(a, d) {\n return function(t) {\n return a + t * d;\n };\n}\n\nfunction exponential(a, b, y) {\n return a = Math.pow(a, y), b = Math.pow(b, y) - a, y = 1 / y, function(t) {\n return Math.pow(a + t * b, y);\n };\n}\n\nexport function hue(a, b) {\n var d = b - a;\n return d ? linear(a, d > 180 || d < -180 ? d - 360 * Math.round(d / 360) : d) : constant(isNaN(a) ? b : a);\n}\n\nexport function gamma(y) {\n return (y = +y) === 1 ? nogamma : function(a, b) {\n return b - a ? exponential(a, b, y) : constant(isNaN(a) ? b : a);\n };\n}\n\nexport default function nogamma(a, b) {\n var d = b - a;\n return d ? linear(a, d) : constant(isNaN(a) ? b : a);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/color.js\n// module id = ./node_modules/d3-interpolate/src/color.js\n// module chunks = 0","export default function(x) {\n return function() {\n return x;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/constant.js\n// module id = ./node_modules/d3-interpolate/src/constant.js\n// module chunks = 0","import {cubehelix as colorCubehelix} from \"d3-color\";\nimport color, {hue} from \"./color\";\n\nfunction cubehelix(hue) {\n return (function cubehelixGamma(y) {\n y = +y;\n\n function cubehelix(start, end) {\n var h = hue((start = colorCubehelix(start)).h, (end = colorCubehelix(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(Math.pow(t, y));\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n cubehelix.gamma = cubehelixGamma;\n\n return cubehelix;\n })(1);\n}\n\nexport default cubehelix(hue);\nexport var cubehelixLong = cubehelix(color);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/cubehelix.js\n// module id = ./node_modules/d3-interpolate/src/cubehelix.js\n// module chunks = 0","export default function(a, b) {\n var d = new Date;\n return a = +a, b -= a, function(t) {\n return d.setTime(a + b * t), d;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/date.js\n// module id = ./node_modules/d3-interpolate/src/date.js\n// module chunks = 0","import {hcl as colorHcl} from \"d3-color\";\nimport color, {hue} from \"./color\";\n\nfunction hcl(hue) {\n return function(start, end) {\n var h = hue((start = colorHcl(start)).h, (end = colorHcl(end)).h),\n c = color(start.c, end.c),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.c = c(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n}\n\nexport default hcl(hue);\nexport var hclLong = hcl(color);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/hcl.js\n// module id = ./node_modules/d3-interpolate/src/hcl.js\n// module chunks = 0","import {hsl as colorHsl} from \"d3-color\";\nimport color, {hue} from \"./color\";\n\nfunction hsl(hue) {\n return function(start, end) {\n var h = hue((start = colorHsl(start)).h, (end = colorHsl(end)).h),\n s = color(start.s, end.s),\n l = color(start.l, end.l),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.h = h(t);\n start.s = s(t);\n start.l = l(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n}\n\nexport default hsl(hue);\nexport var hslLong = hsl(color);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/hsl.js\n// module id = ./node_modules/d3-interpolate/src/hsl.js\n// module chunks = 0","import {lab as colorLab} from \"d3-color\";\nimport color from \"./color\";\n\nexport default function lab(start, end) {\n var l = color((start = colorLab(start)).l, (end = colorLab(end)).l),\n a = color(start.a, end.a),\n b = color(start.b, end.b),\n opacity = color(start.opacity, end.opacity);\n return function(t) {\n start.l = l(t);\n start.a = a(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/lab.js\n// module id = ./node_modules/d3-interpolate/src/lab.js\n// module chunks = 0","export default function(a, b) {\n return a = +a, b -= a, function(t) {\n return a + b * t;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/number.js\n// module id = ./node_modules/d3-interpolate/src/number.js\n// module chunks = 0","import value from \"./value\";\n\nexport default function(a, b) {\n var i = {},\n c = {},\n k;\n\n if (a === null || typeof a !== \"object\") a = {};\n if (b === null || typeof b !== \"object\") b = {};\n\n for (k in b) {\n if (k in a) {\n i[k] = value(a[k], b[k]);\n } else {\n c[k] = b[k];\n }\n }\n\n return function(t) {\n for (k in i) c[k] = i[k](t);\n return c;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/object.js\n// module id = ./node_modules/d3-interpolate/src/object.js\n// module chunks = 0","export default function(interpolator, n) {\n var samples = new Array(n);\n for (var i = 0; i < n; ++i) samples[i] = interpolator(i / (n - 1));\n return samples;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/quantize.js\n// module id = ./node_modules/d3-interpolate/src/quantize.js\n// module chunks = 0","import {rgb as colorRgb} from \"d3-color\";\nimport basis from \"./basis\";\nimport basisClosed from \"./basisClosed\";\nimport nogamma, {gamma} from \"./color\";\n\nexport default (function rgbGamma(y) {\n var color = gamma(y);\n\n function rgb(start, end) {\n var r = color((start = colorRgb(start)).r, (end = colorRgb(end)).r),\n g = color(start.g, end.g),\n b = color(start.b, end.b),\n opacity = nogamma(start.opacity, end.opacity);\n return function(t) {\n start.r = r(t);\n start.g = g(t);\n start.b = b(t);\n start.opacity = opacity(t);\n return start + \"\";\n };\n }\n\n rgb.gamma = rgbGamma;\n\n return rgb;\n})(1);\n\nfunction rgbSpline(spline) {\n return function(colors) {\n var n = colors.length,\n r = new Array(n),\n g = new Array(n),\n b = new Array(n),\n i, color;\n for (i = 0; i < n; ++i) {\n color = colorRgb(colors[i]);\n r[i] = color.r || 0;\n g[i] = color.g || 0;\n b[i] = color.b || 0;\n }\n r = spline(r);\n g = spline(g);\n b = spline(b);\n color.opacity = 1;\n return function(t) {\n color.r = r(t);\n color.g = g(t);\n color.b = b(t);\n return color + \"\";\n };\n };\n}\n\nexport var rgbBasis = rgbSpline(basis);\nexport var rgbBasisClosed = rgbSpline(basisClosed);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/rgb.js\n// module id = ./node_modules/d3-interpolate/src/rgb.js\n// module chunks = 0","export default function(a, b) {\n return a = +a, b -= a, function(t) {\n return Math.round(a + b * t);\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/round.js\n// module id = ./node_modules/d3-interpolate/src/round.js\n// module chunks = 0","import number from \"./number\";\n\nvar reA = /[-+]?(?:\\d+\\.?\\d*|\\.?\\d+)(?:[eE][-+]?\\d+)?/g,\n reB = new RegExp(reA.source, \"g\");\n\nfunction zero(b) {\n return function() {\n return b;\n };\n}\n\nfunction one(b) {\n return function(t) {\n return b(t) + \"\";\n };\n}\n\nexport default function(a, b) {\n var bi = reA.lastIndex = reB.lastIndex = 0, // scan index for next number in b\n am, // current match in a\n bm, // current match in b\n bs, // string preceding current number in b, if any\n i = -1, // index in s\n s = [], // string constants and placeholders\n q = []; // number interpolators\n\n // Coerce inputs to strings.\n a = a + \"\", b = b + \"\";\n\n // Interpolate pairs of numbers in a & b.\n while ((am = reA.exec(a))\n && (bm = reB.exec(b))) {\n if ((bs = bm.index) > bi) { // a string precedes the next number in b\n bs = b.slice(bi, bs);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n if ((am = am[0]) === (bm = bm[0])) { // numbers in a & b match\n if (s[i]) s[i] += bm; // coalesce with previous string\n else s[++i] = bm;\n } else { // interpolate non-matching numbers\n s[++i] = null;\n q.push({i: i, x: number(am, bm)});\n }\n bi = reB.lastIndex;\n }\n\n // Add remains of b.\n if (bi < b.length) {\n bs = b.slice(bi);\n if (s[i]) s[i] += bs; // coalesce with previous string\n else s[++i] = bs;\n }\n\n // Special optimization for only a single match.\n // Otherwise, interpolate each of the numbers and rejoin the string.\n return s.length < 2 ? (q[0]\n ? one(q[0].x)\n : zero(b))\n : (b = q.length, function(t) {\n for (var i = 0, o; i < b; ++i) s[(o = q[i]).i] = o.x(t);\n return s.join(\"\");\n });\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/string.js\n// module id = ./node_modules/d3-interpolate/src/string.js\n// module chunks = 0","var degrees = 180 / Math.PI;\n\nexport var identity = {\n translateX: 0,\n translateY: 0,\n rotate: 0,\n skewX: 0,\n scaleX: 1,\n scaleY: 1\n};\n\nexport default function(a, b, c, d, e, f) {\n var scaleX, scaleY, skewX;\n if (scaleX = Math.sqrt(a * a + b * b)) a /= scaleX, b /= scaleX;\n if (skewX = a * c + b * d) c -= a * skewX, d -= b * skewX;\n if (scaleY = Math.sqrt(c * c + d * d)) c /= scaleY, d /= scaleY, skewX /= scaleY;\n if (a * d < b * c) a = -a, b = -b, skewX = -skewX, scaleX = -scaleX;\n return {\n translateX: e,\n translateY: f,\n rotate: Math.atan2(b, a) * degrees,\n skewX: Math.atan(skewX) * degrees,\n scaleX: scaleX,\n scaleY: scaleY\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/transform/decompose.js\n// module id = ./node_modules/d3-interpolate/src/transform/decompose.js\n// module chunks = 0","import number from \"../number\";\nimport {parseCss, parseSvg} from \"./parse\";\n\nfunction interpolateTransform(parse, pxComma, pxParen, degParen) {\n\n function pop(s) {\n return s.length ? s.pop() + \" \" : \"\";\n }\n\n function translate(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(\"translate(\", null, pxComma, null, pxParen);\n q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});\n } else if (xb || yb) {\n s.push(\"translate(\" + xb + pxComma + yb + pxParen);\n }\n }\n\n function rotate(a, b, s, q) {\n if (a !== b) {\n if (a - b > 180) b += 360; else if (b - a > 180) a += 360; // shortest path\n q.push({i: s.push(pop(s) + \"rotate(\", null, degParen) - 2, x: number(a, b)});\n } else if (b) {\n s.push(pop(s) + \"rotate(\" + b + degParen);\n }\n }\n\n function skewX(a, b, s, q) {\n if (a !== b) {\n q.push({i: s.push(pop(s) + \"skewX(\", null, degParen) - 2, x: number(a, b)});\n } else if (b) {\n s.push(pop(s) + \"skewX(\" + b + degParen);\n }\n }\n\n function scale(xa, ya, xb, yb, s, q) {\n if (xa !== xb || ya !== yb) {\n var i = s.push(pop(s) + \"scale(\", null, \",\", null, \")\");\n q.push({i: i - 4, x: number(xa, xb)}, {i: i - 2, x: number(ya, yb)});\n } else if (xb !== 1 || yb !== 1) {\n s.push(pop(s) + \"scale(\" + xb + \",\" + yb + \")\");\n }\n }\n\n return function(a, b) {\n var s = [], // string constants and placeholders\n q = []; // number interpolators\n a = parse(a), b = parse(b);\n translate(a.translateX, a.translateY, b.translateX, b.translateY, s, q);\n rotate(a.rotate, b.rotate, s, q);\n skewX(a.skewX, b.skewX, s, q);\n scale(a.scaleX, a.scaleY, b.scaleX, b.scaleY, s, q);\n a = b = null; // gc\n return function(t) {\n var i = -1, n = q.length, o;\n while (++i < n) s[(o = q[i]).i] = o.x(t);\n return s.join(\"\");\n };\n };\n}\n\nexport var interpolateTransformCss = interpolateTransform(parseCss, \"px, \", \"px)\", \"deg)\");\nexport var interpolateTransformSvg = interpolateTransform(parseSvg, \", \", \")\", \")\");\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/transform/index.js\n// module id = ./node_modules/d3-interpolate/src/transform/index.js\n// module chunks = 0","import decompose, {identity} from \"./decompose\";\n\nvar cssNode,\n cssRoot,\n cssView,\n svgNode;\n\nexport function parseCss(value) {\n if (value === \"none\") return identity;\n if (!cssNode) cssNode = document.createElement(\"DIV\"), cssRoot = document.documentElement, cssView = document.defaultView;\n cssNode.style.transform = value;\n value = cssView.getComputedStyle(cssRoot.appendChild(cssNode), null).getPropertyValue(\"transform\");\n cssRoot.removeChild(cssNode);\n value = value.slice(7, -1).split(\",\");\n return decompose(+value[0], +value[1], +value[2], +value[3], +value[4], +value[5]);\n}\n\nexport function parseSvg(value) {\n if (value == null) return identity;\n if (!svgNode) svgNode = document.createElementNS(\"http://www.w3.org/2000/svg\", \"g\");\n svgNode.setAttribute(\"transform\", value);\n if (!(value = svgNode.transform.baseVal.consolidate())) return identity;\n value = value.matrix;\n return decompose(value.a, value.b, value.c, value.d, value.e, value.f);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/transform/parse.js\n// module id = ./node_modules/d3-interpolate/src/transform/parse.js\n// module chunks = 0","import {color} from \"d3-color\";\nimport rgb from \"./rgb\";\nimport array from \"./array\";\nimport date from \"./date\";\nimport number from \"./number\";\nimport object from \"./object\";\nimport string from \"./string\";\nimport constant from \"./constant\";\n\nexport default function(a, b) {\n var t = typeof b, c;\n return b == null || t === \"boolean\" ? constant(b)\n : (t === \"number\" ? number\n : t === \"string\" ? ((c = color(b)) ? (b = c, rgb) : string)\n : b instanceof color ? rgb\n : b instanceof Date ? date\n : Array.isArray(b) ? array\n : isNaN(b) ? object\n : number)(a, b);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/value.js\n// module id = ./node_modules/d3-interpolate/src/value.js\n// module chunks = 0","var rho = Math.SQRT2,\n rho2 = 2,\n rho4 = 4,\n epsilon2 = 1e-12;\n\nfunction cosh(x) {\n return ((x = Math.exp(x)) + 1 / x) / 2;\n}\n\nfunction sinh(x) {\n return ((x = Math.exp(x)) - 1 / x) / 2;\n}\n\nfunction tanh(x) {\n return ((x = Math.exp(2 * x)) - 1) / (x + 1);\n}\n\n// p0 = [ux0, uy0, w0]\n// p1 = [ux1, uy1, w1]\nexport default function(p0, p1) {\n var ux0 = p0[0], uy0 = p0[1], w0 = p0[2],\n ux1 = p1[0], uy1 = p1[1], w1 = p1[2],\n dx = ux1 - ux0,\n dy = uy1 - uy0,\n d2 = dx * dx + dy * dy,\n i,\n S;\n\n // Special case for u0 ≅ u1.\n if (d2 < epsilon2) {\n S = Math.log(w1 / w0) / rho;\n i = function(t) {\n return [\n ux0 + t * dx,\n uy0 + t * dy,\n w0 * Math.exp(rho * t * S)\n ];\n }\n }\n\n // General case.\n else {\n var d1 = Math.sqrt(d2),\n b0 = (w1 * w1 - w0 * w0 + rho4 * d2) / (2 * w0 * rho2 * d1),\n b1 = (w1 * w1 - w0 * w0 - rho4 * d2) / (2 * w1 * rho2 * d1),\n r0 = Math.log(Math.sqrt(b0 * b0 + 1) - b0),\n r1 = Math.log(Math.sqrt(b1 * b1 + 1) - b1);\n S = (r1 - r0) / rho;\n i = function(t) {\n var s = t * S,\n coshr0 = cosh(r0),\n u = w0 / (rho2 * d1) * (coshr0 * tanh(rho * s + r0) - sinh(r0));\n return [\n ux0 + u * dx,\n uy0 + u * dy,\n w0 * coshr0 / cosh(rho * s + r0)\n ];\n }\n }\n\n i.duration = S * 1000;\n\n return i;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-interpolate/src/zoom.js\n// module id = ./node_modules/d3-interpolate/src/zoom.js\n// module chunks = 0","export {default as path} from \"./src/path\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-path/index.js\n// module id = ./node_modules/d3-path/index.js\n// module chunks = 0","var pi = Math.PI,\n tau = 2 * pi,\n epsilon = 1e-6,\n tauEpsilon = tau - epsilon;\n\nfunction Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n}\n\nfunction path() {\n return new Path;\n}\n\nPath.prototype = path.prototype = {\n constructor: Path,\n moveTo: function(x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function() {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function(x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function(x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function(x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1,\n y0 = this._y1,\n x21 = x2 - x1,\n y21 = y2 - y1,\n x01 = x0 - x1,\n y01 = y0 - y1,\n l01_2 = x01 * x01 + y01 * y01;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon)) {}\n\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0,\n y20 = y2 - y0,\n l21_2 = x21 * x21 + y21 * y21,\n l20_2 = x20 * x20 + y20 * y20,\n l21 = Math.sqrt(l21_2),\n l01 = Math.sqrt(l01_2),\n l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2),\n t01 = l / l01,\n t21 = l / l21;\n\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function(x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r;\n var dx = r * Math.cos(a0),\n dy = r * Math.sin(a0),\n x0 = x + dx,\n y0 = y + dy,\n cw = 1 ^ ccw,\n da = ccw ? a0 - a1 : a1 - a0;\n\n // Is the radius negative? Error.\n if (r < 0) throw new Error(\"negative radius: \" + r);\n\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n\n // Is this arc empty? We’re done.\n if (!r) return;\n\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n\n // Otherwise, draw an arc!\n else {\n if (da < 0) da = da % tau + tau;\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function(x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function() {\n return this._;\n }\n};\n\nexport default path;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-path/src/path.js\n// module id = ./node_modules/d3-path/src/path.js\n// module chunks = 0","export {default as quadtree} from \"./src/quadtree\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/index.js\n// module id = ./node_modules/d3-quadtree/index.js\n// module chunks = 0","export default function(d) {\n var x = +this._x.call(null, d),\n y = +this._y.call(null, d);\n return add(this.cover(x, y), x, y, d);\n}\n\nfunction add(tree, x, y, d) {\n if (isNaN(x) || isNaN(y)) return tree; // ignore invalid points\n\n var parent,\n node = tree._root,\n leaf = {data: d},\n x0 = tree._x0,\n y0 = tree._y0,\n x1 = tree._x1,\n y1 = tree._y1,\n xm,\n ym,\n xp,\n yp,\n right,\n bottom,\n i,\n j;\n\n // If the tree is empty, initialize the root as a leaf.\n if (!node) return tree._root = leaf, tree;\n\n // Find the existing leaf for the new point, or add it.\n while (node.length) {\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n if (parent = node, !(node = node[i = bottom << 1 | right])) return parent[i] = leaf, tree;\n }\n\n // Is the new point is exactly coincident with the existing point?\n xp = +tree._x.call(null, node.data);\n yp = +tree._y.call(null, node.data);\n if (x === xp && y === yp) return leaf.next = node, parent ? parent[i] = leaf : tree._root = leaf, tree;\n\n // Otherwise, split the leaf node until the old and new point are separated.\n do {\n parent = parent ? parent[i] = new Array(4) : tree._root = new Array(4);\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n } while ((i = bottom << 1 | right) === (j = (yp >= ym) << 1 | (xp >= xm)));\n return parent[j] = node, parent[i] = leaf, tree;\n}\n\nexport function addAll(data) {\n var d, i, n = data.length,\n x,\n y,\n xz = new Array(n),\n yz = new Array(n),\n x0 = Infinity,\n y0 = Infinity,\n x1 = -Infinity,\n y1 = -Infinity;\n\n // Compute the points and their extent.\n for (i = 0; i < n; ++i) {\n if (isNaN(x = +this._x.call(null, d = data[i])) || isNaN(y = +this._y.call(null, d))) continue;\n xz[i] = x;\n yz[i] = y;\n if (x < x0) x0 = x;\n if (x > x1) x1 = x;\n if (y < y0) y0 = y;\n if (y > y1) y1 = y;\n }\n\n // If there were no (valid) points, inherit the existing extent.\n if (x1 < x0) x0 = this._x0, x1 = this._x1;\n if (y1 < y0) y0 = this._y0, y1 = this._y1;\n\n // Expand the tree to cover the new points.\n this.cover(x0, y0).cover(x1, y1);\n\n // Add the new points.\n for (i = 0; i < n; ++i) {\n add(this, xz[i], yz[i], data[i]);\n }\n\n return this;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/add.js\n// module id = ./node_modules/d3-quadtree/src/add.js\n// module chunks = 0","export default function(x, y) {\n if (isNaN(x = +x) || isNaN(y = +y)) return this; // ignore invalid points\n\n var x0 = this._x0,\n y0 = this._y0,\n x1 = this._x1,\n y1 = this._y1;\n\n // If the quadtree has no extent, initialize them.\n // Integer extent are necessary so that if we later double the extent,\n // the existing quadrant boundaries don’t change due to floating point error!\n if (isNaN(x0)) {\n x1 = (x0 = Math.floor(x)) + 1;\n y1 = (y0 = Math.floor(y)) + 1;\n }\n\n // Otherwise, double repeatedly to cover.\n else if (x0 > x || x > x1 || y0 > y || y > y1) {\n var z = x1 - x0,\n node = this._root,\n parent,\n i;\n\n switch (i = (y < (y0 + y1) / 2) << 1 | (x < (x0 + x1) / 2)) {\n case 0: {\n do parent = new Array(4), parent[i] = node, node = parent;\n while (z *= 2, x1 = x0 + z, y1 = y0 + z, x > x1 || y > y1);\n break;\n }\n case 1: {\n do parent = new Array(4), parent[i] = node, node = parent;\n while (z *= 2, x0 = x1 - z, y1 = y0 + z, x0 > x || y > y1);\n break;\n }\n case 2: {\n do parent = new Array(4), parent[i] = node, node = parent;\n while (z *= 2, x1 = x0 + z, y0 = y1 - z, x > x1 || y0 > y);\n break;\n }\n case 3: {\n do parent = new Array(4), parent[i] = node, node = parent;\n while (z *= 2, x0 = x1 - z, y0 = y1 - z, x0 > x || y0 > y);\n break;\n }\n }\n\n if (this._root && this._root.length) this._root = node;\n }\n\n // If the quadtree covers the point already, just return.\n else return this;\n\n this._x0 = x0;\n this._y0 = y0;\n this._x1 = x1;\n this._y1 = y1;\n return this;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/cover.js\n// module id = ./node_modules/d3-quadtree/src/cover.js\n// module chunks = 0","export default function() {\n var data = [];\n this.visit(function(node) {\n if (!node.length) do data.push(node.data); while (node = node.next)\n });\n return data;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/data.js\n// module id = ./node_modules/d3-quadtree/src/data.js\n// module chunks = 0","export default function(_) {\n return arguments.length\n ? this.cover(+_[0][0], +_[0][1]).cover(+_[1][0], +_[1][1])\n : isNaN(this._x0) ? undefined : [[this._x0, this._y0], [this._x1, this._y1]];\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/extent.js\n// module id = ./node_modules/d3-quadtree/src/extent.js\n// module chunks = 0","import Quad from \"./quad\";\n\nexport default function(x, y, radius) {\n var data,\n x0 = this._x0,\n y0 = this._y0,\n x1,\n y1,\n x2,\n y2,\n x3 = this._x1,\n y3 = this._y1,\n quads = [],\n node = this._root,\n q,\n i;\n\n if (node) quads.push(new Quad(node, x0, y0, x3, y3));\n if (radius == null) radius = Infinity;\n else {\n x0 = x - radius, y0 = y - radius;\n x3 = x + radius, y3 = y + radius;\n radius *= radius;\n }\n\n while (q = quads.pop()) {\n\n // Stop searching if this quadrant can’t contain a closer node.\n if (!(node = q.node)\n || (x1 = q.x0) > x3\n || (y1 = q.y0) > y3\n || (x2 = q.x1) < x0\n || (y2 = q.y1) < y0) continue;\n\n // Bisect the current quadrant.\n if (node.length) {\n var xm = (x1 + x2) / 2,\n ym = (y1 + y2) / 2;\n\n quads.push(\n new Quad(node[3], xm, ym, x2, y2),\n new Quad(node[2], x1, ym, xm, y2),\n new Quad(node[1], xm, y1, x2, ym),\n new Quad(node[0], x1, y1, xm, ym)\n );\n\n // Visit the closest quadrant first.\n if (i = (y >= ym) << 1 | (x >= xm)) {\n q = quads[quads.length - 1];\n quads[quads.length - 1] = quads[quads.length - 1 - i];\n quads[quads.length - 1 - i] = q;\n }\n }\n\n // Visit this point. (Visiting coincident points isn’t necessary!)\n else {\n var dx = x - +this._x.call(null, node.data),\n dy = y - +this._y.call(null, node.data),\n d2 = dx * dx + dy * dy;\n if (d2 < radius) {\n var d = Math.sqrt(radius = d2);\n x0 = x - d, y0 = y - d;\n x3 = x + d, y3 = y + d;\n data = node.data;\n }\n }\n }\n\n return data;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/find.js\n// module id = ./node_modules/d3-quadtree/src/find.js\n// module chunks = 0","export default function(node, x0, y0, x1, y1) {\n this.node = node;\n this.x0 = x0;\n this.y0 = y0;\n this.x1 = x1;\n this.y1 = y1;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/quad.js\n// module id = ./node_modules/d3-quadtree/src/quad.js\n// module chunks = 0","import tree_add, {addAll as tree_addAll} from \"./add\";\nimport tree_cover from \"./cover\";\nimport tree_data from \"./data\";\nimport tree_extent from \"./extent\";\nimport tree_find from \"./find\";\nimport tree_remove, {removeAll as tree_removeAll} from \"./remove\";\nimport tree_root from \"./root\";\nimport tree_size from \"./size\";\nimport tree_visit from \"./visit\";\nimport tree_visitAfter from \"./visitAfter\";\nimport tree_x, {defaultX} from \"./x\";\nimport tree_y, {defaultY} from \"./y\";\n\nexport default function quadtree(nodes, x, y) {\n var tree = new Quadtree(x == null ? defaultX : x, y == null ? defaultY : y, NaN, NaN, NaN, NaN);\n return nodes == null ? tree : tree.addAll(nodes);\n}\n\nfunction Quadtree(x, y, x0, y0, x1, y1) {\n this._x = x;\n this._y = y;\n this._x0 = x0;\n this._y0 = y0;\n this._x1 = x1;\n this._y1 = y1;\n this._root = undefined;\n}\n\nfunction leaf_copy(leaf) {\n var copy = {data: leaf.data}, next = copy;\n while (leaf = leaf.next) next = next.next = {data: leaf.data};\n return copy;\n}\n\nvar treeProto = quadtree.prototype = Quadtree.prototype;\n\ntreeProto.copy = function() {\n var copy = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1),\n node = this._root,\n nodes,\n child;\n\n if (!node) return copy;\n\n if (!node.length) return copy._root = leaf_copy(node), copy;\n\n nodes = [{source: node, target: copy._root = new Array(4)}];\n while (node = nodes.pop()) {\n for (var i = 0; i < 4; ++i) {\n if (child = node.source[i]) {\n if (child.length) nodes.push({source: child, target: node.target[i] = new Array(4)});\n else node.target[i] = leaf_copy(child);\n }\n }\n }\n\n return copy;\n};\n\ntreeProto.add = tree_add;\ntreeProto.addAll = tree_addAll;\ntreeProto.cover = tree_cover;\ntreeProto.data = tree_data;\ntreeProto.extent = tree_extent;\ntreeProto.find = tree_find;\ntreeProto.remove = tree_remove;\ntreeProto.removeAll = tree_removeAll;\ntreeProto.root = tree_root;\ntreeProto.size = tree_size;\ntreeProto.visit = tree_visit;\ntreeProto.visitAfter = tree_visitAfter;\ntreeProto.x = tree_x;\ntreeProto.y = tree_y;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/quadtree.js\n// module id = ./node_modules/d3-quadtree/src/quadtree.js\n// module chunks = 0","export default function(d) {\n if (isNaN(x = +this._x.call(null, d)) || isNaN(y = +this._y.call(null, d))) return this; // ignore invalid points\n\n var parent,\n node = this._root,\n retainer,\n previous,\n next,\n x0 = this._x0,\n y0 = this._y0,\n x1 = this._x1,\n y1 = this._y1,\n x,\n y,\n xm,\n ym,\n right,\n bottom,\n i,\n j;\n\n // If the tree is empty, initialize the root as a leaf.\n if (!node) return this;\n\n // Find the leaf node for the point.\n // While descending, also retain the deepest parent with a non-removed sibling.\n if (node.length) while (true) {\n if (right = x >= (xm = (x0 + x1) / 2)) x0 = xm; else x1 = xm;\n if (bottom = y >= (ym = (y0 + y1) / 2)) y0 = ym; else y1 = ym;\n if (!(parent = node, node = node[i = bottom << 1 | right])) return this;\n if (!node.length) break;\n if (parent[(i + 1) & 3] || parent[(i + 2) & 3] || parent[(i + 3) & 3]) retainer = parent, j = i;\n }\n\n // Find the point to remove.\n while (node.data !== d) if (!(previous = node, node = node.next)) return this;\n if (next = node.next) delete node.next;\n\n // If there are multiple coincident points, remove just the point.\n if (previous) return (next ? previous.next = next : delete previous.next), this;\n\n // If this is the root point, remove it.\n if (!parent) return this._root = next, this;\n\n // Remove this leaf.\n next ? parent[i] = next : delete parent[i];\n\n // If the parent now contains exactly one leaf, collapse superfluous parents.\n if ((node = parent[0] || parent[1] || parent[2] || parent[3])\n && node === (parent[3] || parent[2] || parent[1] || parent[0])\n && !node.length) {\n if (retainer) retainer[j] = node;\n else this._root = node;\n }\n\n return this;\n}\n\nexport function removeAll(data) {\n for (var i = 0, n = data.length; i < n; ++i) this.remove(data[i]);\n return this;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/remove.js\n// module id = ./node_modules/d3-quadtree/src/remove.js\n// module chunks = 0","export default function() {\n return this._root;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/root.js\n// module id = ./node_modules/d3-quadtree/src/root.js\n// module chunks = 0","export default function() {\n var size = 0;\n this.visit(function(node) {\n if (!node.length) do ++size; while (node = node.next)\n });\n return size;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/size.js\n// module id = ./node_modules/d3-quadtree/src/size.js\n// module chunks = 0","import Quad from \"./quad\";\n\nexport default function(callback) {\n var quads = [], q, node = this._root, child, x0, y0, x1, y1;\n if (node) quads.push(new Quad(node, this._x0, this._y0, this._x1, this._y1));\n while (q = quads.pop()) {\n if (!callback(node = q.node, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1) && node.length) {\n var xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n }\n }\n return this;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/visit.js\n// module id = ./node_modules/d3-quadtree/src/visit.js\n// module chunks = 0","import Quad from \"./quad\";\n\nexport default function(callback) {\n var quads = [], next = [], q;\n if (this._root) quads.push(new Quad(this._root, this._x0, this._y0, this._x1, this._y1));\n while (q = quads.pop()) {\n var node = q.node;\n if (node.length) {\n var child, x0 = q.x0, y0 = q.y0, x1 = q.x1, y1 = q.y1, xm = (x0 + x1) / 2, ym = (y0 + y1) / 2;\n if (child = node[0]) quads.push(new Quad(child, x0, y0, xm, ym));\n if (child = node[1]) quads.push(new Quad(child, xm, y0, x1, ym));\n if (child = node[2]) quads.push(new Quad(child, x0, ym, xm, y1));\n if (child = node[3]) quads.push(new Quad(child, xm, ym, x1, y1));\n }\n next.push(q);\n }\n while (q = next.pop()) {\n callback(q.node, q.x0, q.y0, q.x1, q.y1);\n }\n return this;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/visitAfter.js\n// module id = ./node_modules/d3-quadtree/src/visitAfter.js\n// module chunks = 0","export function defaultX(d) {\n return d[0];\n}\n\nexport default function(_) {\n return arguments.length ? (this._x = _, this) : this._x;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/x.js\n// module id = ./node_modules/d3-quadtree/src/x.js\n// module chunks = 0","export function defaultY(d) {\n return d[1];\n}\n\nexport default function(_) {\n return arguments.length ? (this._y = _, this) : this._y;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-quadtree/src/y.js\n// module id = ./node_modules/d3-quadtree/src/y.js\n// module chunks = 0","export {\n default as scaleBand,\n point as scalePoint\n} from \"./src/band\";\n\nexport {\n default as scaleIdentity\n} from \"./src/identity\";\n\nexport {\n default as scaleLinear\n} from \"./src/linear\";\n\nexport {\n default as scaleLog\n} from \"./src/log\";\n\nexport {\n default as scaleOrdinal,\n implicit as scaleImplicit\n} from \"./src/ordinal\";\n\nexport {\n default as scalePow,\n sqrt as scaleSqrt\n} from \"./src/pow\";\n\nexport {\n default as scaleQuantile\n} from \"./src/quantile\";\n\nexport {\n default as scaleQuantize\n} from \"./src/quantize\";\n\nexport {\n default as scaleThreshold\n} from \"./src/threshold\";\n\nexport {\n default as scaleTime\n} from \"./src/time\";\n\nexport {\n default as scaleUtc\n} from \"./src/utcTime\";\n\nexport {\n default as schemeCategory10\n} from \"./src/category10\";\n\nexport {\n default as schemeCategory20b\n} from \"./src/category20b\";\n\nexport {\n default as schemeCategory20c\n} from \"./src/category20c\";\n\nexport {\n default as schemeCategory20\n} from \"./src/category20\";\n\nexport {\n default as interpolateCubehelixDefault\n} from \"./src/cubehelix\";\n\nexport {\n default as interpolateRainbow,\n warm as interpolateWarm,\n cool as interpolateCool\n} from \"./src/rainbow\";\n\nexport {\n default as interpolateViridis,\n magma as interpolateMagma,\n inferno as interpolateInferno,\n plasma as interpolatePlasma\n} from \"./src/viridis\";\n\nexport {\n default as scaleSequential\n} from \"./src/sequential\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/index.js\n// module id = ./node_modules/d3-scale/index.js\n// module chunks = 0","var array = Array.prototype;\n\nexport var map = array.map;\nexport var slice = array.slice;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/array.js\n// module id = ./node_modules/d3-scale/src/array.js\n// module chunks = 0","import {range as sequence} from \"d3-array\";\nimport ordinal from \"./ordinal\";\n\nexport default function band() {\n var scale = ordinal().unknown(undefined),\n domain = scale.domain,\n ordinalRange = scale.range,\n range = [0, 1],\n step,\n bandwidth,\n round = false,\n paddingInner = 0,\n paddingOuter = 0,\n align = 0.5;\n\n delete scale.unknown;\n\n function rescale() {\n var n = domain().length,\n reverse = range[1] < range[0],\n start = range[reverse - 0],\n stop = range[1 - reverse];\n step = (stop - start) / Math.max(1, n - paddingInner + paddingOuter * 2);\n if (round) step = Math.floor(step);\n start += (stop - start - step * (n - paddingInner)) * align;\n bandwidth = step * (1 - paddingInner);\n if (round) start = Math.round(start), bandwidth = Math.round(bandwidth);\n var values = sequence(n).map(function(i) { return start + step * i; });\n return ordinalRange(reverse ? values.reverse() : values);\n }\n\n scale.domain = function(_) {\n return arguments.length ? (domain(_), rescale()) : domain();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = [+_[0], +_[1]], rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = [+_[0], +_[1]], round = true, rescale();\n };\n\n scale.bandwidth = function() {\n return bandwidth;\n };\n\n scale.step = function() {\n return step;\n };\n\n scale.round = function(_) {\n return arguments.length ? (round = !!_, rescale()) : round;\n };\n\n scale.padding = function(_) {\n return arguments.length ? (paddingInner = paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingInner;\n };\n\n scale.paddingInner = function(_) {\n return arguments.length ? (paddingInner = Math.max(0, Math.min(1, _)), rescale()) : paddingInner;\n };\n\n scale.paddingOuter = function(_) {\n return arguments.length ? (paddingOuter = Math.max(0, Math.min(1, _)), rescale()) : paddingOuter;\n };\n\n scale.align = function(_) {\n return arguments.length ? (align = Math.max(0, Math.min(1, _)), rescale()) : align;\n };\n\n scale.copy = function() {\n return band()\n .domain(domain())\n .range(range)\n .round(round)\n .paddingInner(paddingInner)\n .paddingOuter(paddingOuter)\n .align(align);\n };\n\n return rescale();\n}\n\nfunction pointish(scale) {\n var copy = scale.copy;\n\n scale.padding = scale.paddingOuter;\n delete scale.paddingInner;\n delete scale.paddingOuter;\n\n scale.copy = function() {\n return pointish(copy());\n };\n\n return scale;\n}\n\nexport function point() {\n return pointish(band().paddingInner(1));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/band.js\n// module id = ./node_modules/d3-scale/src/band.js\n// module chunks = 0","import colors from \"./colors\";\n\nexport default colors(\"1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf\");\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/category10.js\n// module id = ./node_modules/d3-scale/src/category10.js\n// module chunks = 0","import colors from \"./colors\";\n\nexport default colors(\"1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5\");\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/category20.js\n// module id = ./node_modules/d3-scale/src/category20.js\n// module chunks = 0","import colors from \"./colors\";\n\nexport default colors(\"393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6\");\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/category20b.js\n// module id = ./node_modules/d3-scale/src/category20b.js\n// module chunks = 0","import colors from \"./colors\";\n\nexport default colors(\"3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9\");\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/category20c.js\n// module id = ./node_modules/d3-scale/src/category20c.js\n// module chunks = 0","export default function(s) {\n return s.match(/.{6}/g).map(function(x) {\n return \"#\" + x;\n });\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/colors.js\n// module id = ./node_modules/d3-scale/src/colors.js\n// module chunks = 0","export default function(x) {\n return function() {\n return x;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/constant.js\n// module id = ./node_modules/d3-scale/src/constant.js\n// module chunks = 0","import {bisect} from \"d3-array\";\nimport {interpolate as interpolateValue, interpolateRound} from \"d3-interpolate\";\nimport {map, slice} from \"./array\";\nimport constant from \"./constant\";\nimport number from \"./number\";\n\nvar unit = [0, 1];\n\nexport function deinterpolateLinear(a, b) {\n return (b -= (a = +a))\n ? function(x) { return (x - a) / b; }\n : constant(b);\n}\n\nfunction deinterpolateClamp(deinterpolate) {\n return function(a, b) {\n var d = deinterpolate(a = +a, b = +b);\n return function(x) { return x <= a ? 0 : x >= b ? 1 : d(x); };\n };\n}\n\nfunction reinterpolateClamp(reinterpolate) {\n return function(a, b) {\n var r = reinterpolate(a = +a, b = +b);\n return function(t) { return t <= 0 ? a : t >= 1 ? b : r(t); };\n };\n}\n\nfunction bimap(domain, range, deinterpolate, reinterpolate) {\n var d0 = domain[0], d1 = domain[1], r0 = range[0], r1 = range[1];\n if (d1 < d0) d0 = deinterpolate(d1, d0), r0 = reinterpolate(r1, r0);\n else d0 = deinterpolate(d0, d1), r0 = reinterpolate(r0, r1);\n return function(x) { return r0(d0(x)); };\n}\n\nfunction polymap(domain, range, deinterpolate, reinterpolate) {\n var j = Math.min(domain.length, range.length) - 1,\n d = new Array(j),\n r = new Array(j),\n i = -1;\n\n // Reverse descending domains.\n if (domain[j] < domain[0]) {\n domain = domain.slice().reverse();\n range = range.slice().reverse();\n }\n\n while (++i < j) {\n d[i] = deinterpolate(domain[i], domain[i + 1]);\n r[i] = reinterpolate(range[i], range[i + 1]);\n }\n\n return function(x) {\n var i = bisect(domain, x, 1, j) - 1;\n return r[i](d[i](x));\n };\n}\n\nexport function copy(source, target) {\n return target\n .domain(source.domain())\n .range(source.range())\n .interpolate(source.interpolate())\n .clamp(source.clamp());\n}\n\n// deinterpolate(a, b)(x) takes a domain value x in [a,b] and returns the corresponding parameter t in [0,1].\n// reinterpolate(a, b)(t) takes a parameter t in [0,1] and returns the corresponding domain value x in [a,b].\nexport default function continuous(deinterpolate, reinterpolate) {\n var domain = unit,\n range = unit,\n interpolate = interpolateValue,\n clamp = false,\n piecewise,\n output,\n input;\n\n function rescale() {\n piecewise = Math.min(domain.length, range.length) > 2 ? polymap : bimap;\n output = input = null;\n return scale;\n }\n\n function scale(x) {\n return (output || (output = piecewise(domain, range, clamp ? deinterpolateClamp(deinterpolate) : deinterpolate, interpolate)))(+x);\n }\n\n scale.invert = function(y) {\n return (input || (input = piecewise(range, domain, deinterpolateLinear, clamp ? reinterpolateClamp(reinterpolate) : reinterpolate)))(+y);\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain = map.call(_, number), rescale()) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), rescale()) : range.slice();\n };\n\n scale.rangeRound = function(_) {\n return range = slice.call(_), interpolate = interpolateRound, rescale();\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = !!_, rescale()) : clamp;\n };\n\n scale.interpolate = function(_) {\n return arguments.length ? (interpolate = _, rescale()) : interpolate;\n };\n\n return rescale();\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/continuous.js\n// module id = ./node_modules/d3-scale/src/continuous.js\n// module chunks = 0","import {cubehelix} from \"d3-color\";\nimport {interpolateCubehelixLong} from \"d3-interpolate\";\n\nexport default interpolateCubehelixLong(cubehelix(300, 0.5, 0.0), cubehelix(-240, 0.5, 1.0));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/cubehelix.js\n// module id = ./node_modules/d3-scale/src/cubehelix.js\n// module chunks = 0","import {map} from \"./array\";\nimport {linearish} from \"./linear\";\nimport number from \"./number\";\n\nexport default function identity() {\n var domain = [0, 1];\n\n function scale(x) {\n return +x;\n }\n\n scale.invert = scale;\n\n scale.domain = scale.range = function(_) {\n return arguments.length ? (domain = map.call(_, number), scale) : domain.slice();\n };\n\n scale.copy = function() {\n return identity().domain(domain);\n };\n\n return linearish(scale);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/identity.js\n// module id = ./node_modules/d3-scale/src/identity.js\n// module chunks = 0","import {ticks, tickStep} from \"d3-array\";\nimport {interpolateNumber as reinterpolate} from \"d3-interpolate\";\nimport {default as continuous, copy, deinterpolateLinear as deinterpolate} from \"./continuous\";\nimport tickFormat from \"./tickFormat\";\n\nexport function linearish(scale) {\n var domain = scale.domain;\n\n scale.ticks = function(count) {\n var d = domain();\n return ticks(d[0], d[d.length - 1], count == null ? 10 : count);\n };\n\n scale.tickFormat = function(count, specifier) {\n return tickFormat(domain(), count, specifier);\n };\n\n scale.nice = function(count) {\n var d = domain(),\n i = d.length - 1,\n n = count == null ? 10 : count,\n start = d[0],\n stop = d[i],\n step = tickStep(start, stop, n);\n\n if (step) {\n step = tickStep(Math.floor(start / step) * step, Math.ceil(stop / step) * step, n);\n d[0] = Math.floor(start / step) * step;\n d[i] = Math.ceil(stop / step) * step;\n domain(d);\n }\n\n return scale;\n };\n\n return scale;\n}\n\nexport default function linear() {\n var scale = continuous(deinterpolate, reinterpolate);\n\n scale.copy = function() {\n return copy(scale, linear());\n };\n\n return linearish(scale);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/linear.js\n// module id = ./node_modules/d3-scale/src/linear.js\n// module chunks = 0","import {ticks} from \"d3-array\";\nimport {format} from \"d3-format\";\nimport constant from \"./constant\";\nimport nice from \"./nice\";\nimport {default as continuous, copy} from \"./continuous\";\n\nfunction deinterpolate(a, b) {\n return (b = Math.log(b / a))\n ? function(x) { return Math.log(x / a) / b; }\n : constant(b);\n}\n\nfunction reinterpolate(a, b) {\n return a < 0\n ? function(t) { return -Math.pow(-b, t) * Math.pow(-a, 1 - t); }\n : function(t) { return Math.pow(b, t) * Math.pow(a, 1 - t); };\n}\n\nfunction pow10(x) {\n return isFinite(x) ? +(\"1e\" + x) : x < 0 ? 0 : x;\n}\n\nfunction powp(base) {\n return base === 10 ? pow10\n : base === Math.E ? Math.exp\n : function(x) { return Math.pow(base, x); };\n}\n\nfunction logp(base) {\n return base === Math.E ? Math.log\n : base === 10 && Math.log10\n || base === 2 && Math.log2\n || (base = Math.log(base), function(x) { return Math.log(x) / base; });\n}\n\nfunction reflect(f) {\n return function(x) {\n return -f(-x);\n };\n}\n\nexport default function log() {\n var scale = continuous(deinterpolate, reinterpolate).domain([1, 10]),\n domain = scale.domain,\n base = 10,\n logs = logp(10),\n pows = powp(10);\n\n function rescale() {\n logs = logp(base), pows = powp(base);\n if (domain()[0] < 0) logs = reflect(logs), pows = reflect(pows);\n return scale;\n }\n\n scale.base = function(_) {\n return arguments.length ? (base = +_, rescale()) : base;\n };\n\n scale.domain = function(_) {\n return arguments.length ? (domain(_), rescale()) : domain();\n };\n\n scale.ticks = function(count) {\n var d = domain(),\n u = d[0],\n v = d[d.length - 1],\n r;\n\n if (r = v < u) i = u, u = v, v = i;\n\n var i = logs(u),\n j = logs(v),\n p,\n k,\n t,\n n = count == null ? 10 : +count,\n z = [];\n\n if (!(base % 1) && j - i < n) {\n i = Math.round(i) - 1, j = Math.round(j) + 1;\n if (u > 0) for (; i < j; ++i) {\n for (k = 1, p = pows(i); k < base; ++k) {\n t = p * k;\n if (t < u) continue;\n if (t > v) break;\n z.push(t);\n }\n } else for (; i < j; ++i) {\n for (k = base - 1, p = pows(i); k >= 1; --k) {\n t = p * k;\n if (t < u) continue;\n if (t > v) break;\n z.push(t);\n }\n }\n } else {\n z = ticks(i, j, Math.min(j - i, n)).map(pows);\n }\n\n return r ? z.reverse() : z;\n };\n\n scale.tickFormat = function(count, specifier) {\n if (specifier == null) specifier = base === 10 ? \".0e\" : \",\";\n if (typeof specifier !== \"function\") specifier = format(specifier);\n if (count === Infinity) return specifier;\n if (count == null) count = 10;\n var k = Math.max(1, base * count / scale.ticks().length); // TODO fast estimate?\n return function(d) {\n var i = d / pows(Math.round(logs(d)));\n if (i * base < base - 0.5) i *= base;\n return i <= k ? specifier(d) : \"\";\n };\n };\n\n scale.nice = function() {\n return domain(nice(domain(), {\n floor: function(x) { return pows(Math.floor(logs(x))); },\n ceil: function(x) { return pows(Math.ceil(logs(x))); }\n }));\n };\n\n scale.copy = function() {\n return copy(scale, log().base(base));\n };\n\n return scale;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/log.js\n// module id = ./node_modules/d3-scale/src/log.js\n// module chunks = 0","export default function(domain, interval) {\n domain = domain.slice();\n\n var i0 = 0,\n i1 = domain.length - 1,\n x0 = domain[i0],\n x1 = domain[i1],\n t;\n\n if (x1 < x0) {\n t = i0, i0 = i1, i1 = t;\n t = x0, x0 = x1, x1 = t;\n }\n\n domain[i0] = interval.floor(x0);\n domain[i1] = interval.ceil(x1);\n return domain;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/nice.js\n// module id = ./node_modules/d3-scale/src/nice.js\n// module chunks = 0","export default function(x) {\n return +x;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/number.js\n// module id = ./node_modules/d3-scale/src/number.js\n// module chunks = 0","import {map} from \"d3-collection\";\nimport {slice} from \"./array\";\n\nexport var implicit = {name: \"implicit\"};\n\nexport default function ordinal(range) {\n var index = map(),\n domain = [],\n unknown = implicit;\n\n range = range == null ? [] : slice.call(range);\n\n function scale(d) {\n var key = d + \"\", i = index.get(key);\n if (!i) {\n if (unknown !== implicit) return unknown;\n index.set(key, i = domain.push(d));\n }\n return range[(i - 1) % range.length];\n }\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [], index = map();\n var i = -1, n = _.length, d, key;\n while (++i < n) if (!index.has(key = (d = _[i]) + \"\")) index.set(key, domain.push(d));\n return scale;\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), scale) : range.slice();\n };\n\n scale.unknown = function(_) {\n return arguments.length ? (unknown = _, scale) : unknown;\n };\n\n scale.copy = function() {\n return ordinal()\n .domain(domain)\n .range(range)\n .unknown(unknown);\n };\n\n return scale;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/ordinal.js\n// module id = ./node_modules/d3-scale/src/ordinal.js\n// module chunks = 0","import constant from \"./constant\";\nimport {linearish} from \"./linear\";\nimport {default as continuous, copy} from \"./continuous\";\n\nfunction raise(x, exponent) {\n return x < 0 ? -Math.pow(-x, exponent) : Math.pow(x, exponent);\n}\n\nexport default function pow() {\n var exponent = 1,\n scale = continuous(deinterpolate, reinterpolate),\n domain = scale.domain;\n\n function deinterpolate(a, b) {\n return (b = raise(b, exponent) - (a = raise(a, exponent)))\n ? function(x) { return (raise(x, exponent) - a) / b; }\n : constant(b);\n }\n\n function reinterpolate(a, b) {\n b = raise(b, exponent) - (a = raise(a, exponent));\n return function(t) { return raise(a + b * t, 1 / exponent); };\n }\n\n scale.exponent = function(_) {\n return arguments.length ? (exponent = +_, domain(domain())) : exponent;\n };\n\n scale.copy = function() {\n return copy(scale, pow().exponent(exponent));\n };\n\n return linearish(scale);\n}\n\nexport function sqrt() {\n return pow().exponent(0.5);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/pow.js\n// module id = ./node_modules/d3-scale/src/pow.js\n// module chunks = 0","import {ascending, bisect, quantile as threshold} from \"d3-array\";\nimport {slice} from \"./array\";\n\nexport default function quantile() {\n var domain = [],\n range = [],\n thresholds = [];\n\n function rescale() {\n var i = 0, n = Math.max(1, range.length);\n thresholds = new Array(n - 1);\n while (++i < n) thresholds[i - 1] = threshold(domain, i / n);\n return scale;\n }\n\n function scale(x) {\n if (!isNaN(x = +x)) return range[bisect(thresholds, x)];\n }\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return i < 0 ? [NaN, NaN] : [\n i > 0 ? thresholds[i - 1] : domain[0],\n i < thresholds.length ? thresholds[i] : domain[domain.length - 1]\n ];\n };\n\n scale.domain = function(_) {\n if (!arguments.length) return domain.slice();\n domain = [];\n for (var i = 0, n = _.length, d; i < n; ++i) if (d = _[i], d != null && !isNaN(d = +d)) domain.push(d);\n domain.sort(ascending);\n return rescale();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), rescale()) : range.slice();\n };\n\n scale.quantiles = function() {\n return thresholds.slice();\n };\n\n scale.copy = function() {\n return quantile()\n .domain(domain)\n .range(range);\n };\n\n return scale;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/quantile.js\n// module id = ./node_modules/d3-scale/src/quantile.js\n// module chunks = 0","import {bisect} from \"d3-array\";\nimport {slice} from \"./array\";\nimport {linearish} from \"./linear\";\n\nexport default function quantize() {\n var x0 = 0,\n x1 = 1,\n n = 1,\n domain = [0.5],\n range = [0, 1];\n\n function scale(x) {\n if (x <= x) return range[bisect(domain, x, 0, n)];\n }\n\n function rescale() {\n var i = -1;\n domain = new Array(n);\n while (++i < n) domain[i] = ((i + 1) * x1 - (i - n) * x0) / (n + 1);\n return scale;\n }\n\n scale.domain = function(_) {\n return arguments.length ? (x0 = +_[0], x1 = +_[1], rescale()) : [x0, x1];\n };\n\n scale.range = function(_) {\n return arguments.length ? (n = (range = slice.call(_)).length - 1, rescale()) : range.slice();\n };\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return i < 0 ? [NaN, NaN]\n : i < 1 ? [x0, domain[0]]\n : i >= n ? [domain[n - 1], x1]\n : [domain[i - 1], domain[i]];\n };\n\n scale.copy = function() {\n return quantize()\n .domain([x0, x1])\n .range(range);\n };\n\n return linearish(scale);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/quantize.js\n// module id = ./node_modules/d3-scale/src/quantize.js\n// module chunks = 0","import {cubehelix} from \"d3-color\";\nimport {interpolateCubehelixLong} from \"d3-interpolate\";\n\nexport var warm = interpolateCubehelixLong(cubehelix(-100, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nexport var cool = interpolateCubehelixLong(cubehelix(260, 0.75, 0.35), cubehelix(80, 1.50, 0.8));\n\nvar rainbow = cubehelix();\n\nexport default function(t) {\n if (t < 0 || t > 1) t -= Math.floor(t);\n var ts = Math.abs(t - 0.5);\n rainbow.h = 360 * t - 100;\n rainbow.s = 1.5 - 1.5 * ts;\n rainbow.l = 0.8 - 0.9 * ts;\n return rainbow + \"\";\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/rainbow.js\n// module id = ./node_modules/d3-scale/src/rainbow.js\n// module chunks = 0","import {linearish} from \"./linear\";\n\nexport default function sequential(interpolator) {\n var x0 = 0,\n x1 = 1,\n clamp = false;\n\n function scale(x) {\n var t = (x - x0) / (x1 - x0);\n return interpolator(clamp ? Math.max(0, Math.min(1, t)) : t);\n }\n\n scale.domain = function(_) {\n return arguments.length ? (x0 = +_[0], x1 = +_[1], scale) : [x0, x1];\n };\n\n scale.clamp = function(_) {\n return arguments.length ? (clamp = !!_, scale) : clamp;\n };\n\n scale.interpolator = function(_) {\n return arguments.length ? (interpolator = _, scale) : interpolator;\n };\n\n scale.copy = function() {\n return sequential(interpolator).domain([x0, x1]).clamp(clamp);\n };\n\n return linearish(scale);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/sequential.js\n// module id = ./node_modules/d3-scale/src/sequential.js\n// module chunks = 0","import {bisect} from \"d3-array\";\nimport {slice} from \"./array\";\n\nexport default function threshold() {\n var domain = [0.5],\n range = [0, 1],\n n = 1;\n\n function scale(x) {\n if (x <= x) return range[bisect(domain, x, 0, n)];\n }\n\n scale.domain = function(_) {\n return arguments.length ? (domain = slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : domain.slice();\n };\n\n scale.range = function(_) {\n return arguments.length ? (range = slice.call(_), n = Math.min(domain.length, range.length - 1), scale) : range.slice();\n };\n\n scale.invertExtent = function(y) {\n var i = range.indexOf(y);\n return [domain[i - 1], domain[i]];\n };\n\n scale.copy = function() {\n return threshold()\n .domain(domain)\n .range(range);\n };\n\n return scale;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/threshold.js\n// module id = ./node_modules/d3-scale/src/threshold.js\n// module chunks = 0","import {tickStep} from \"d3-array\";\nimport {format, formatPrefix, formatSpecifier, precisionFixed, precisionPrefix, precisionRound} from \"d3-format\";\n\nexport default function(domain, count, specifier) {\n var start = domain[0],\n stop = domain[domain.length - 1],\n step = tickStep(start, stop, count == null ? 10 : count),\n precision;\n specifier = formatSpecifier(specifier == null ? \",f\" : specifier);\n switch (specifier.type) {\n case \"s\": {\n var value = Math.max(Math.abs(start), Math.abs(stop));\n if (specifier.precision == null && !isNaN(precision = precisionPrefix(step, value))) specifier.precision = precision;\n return formatPrefix(specifier, value);\n }\n case \"\":\n case \"e\":\n case \"g\":\n case \"p\":\n case \"r\": {\n if (specifier.precision == null && !isNaN(precision = precisionRound(step, Math.max(Math.abs(start), Math.abs(stop))))) specifier.precision = precision - (specifier.type === \"e\");\n break;\n }\n case \"f\":\n case \"%\": {\n if (specifier.precision == null && !isNaN(precision = precisionFixed(step))) specifier.precision = precision - (specifier.type === \"%\") * 2;\n break;\n }\n }\n return format(specifier);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/tickFormat.js\n// module id = ./node_modules/d3-scale/src/tickFormat.js\n// module chunks = 0","import {bisector, tickStep} from \"d3-array\";\nimport {interpolateNumber as reinterpolate} from \"d3-interpolate\";\nimport {timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecond, timeMillisecond} from \"d3-time\";\nimport {timeFormat} from \"d3-time-format\";\nimport {map} from \"./array\";\nimport {default as continuous, copy, deinterpolateLinear as deinterpolate} from \"./continuous\";\nimport nice from \"./nice\";\n\nvar durationSecond = 1000,\n durationMinute = durationSecond * 60,\n durationHour = durationMinute * 60,\n durationDay = durationHour * 24,\n durationWeek = durationDay * 7,\n durationMonth = durationDay * 30,\n durationYear = durationDay * 365;\n\nfunction date(t) {\n return new Date(t);\n}\n\nfunction number(t) {\n return t instanceof Date ? +t : +new Date(+t);\n}\n\nexport function calendar(year, month, week, day, hour, minute, second, millisecond, format) {\n var scale = continuous(deinterpolate, reinterpolate),\n invert = scale.invert,\n domain = scale.domain;\n\n var formatMillisecond = format(\".%L\"),\n formatSecond = format(\":%S\"),\n formatMinute = format(\"%I:%M\"),\n formatHour = format(\"%I %p\"),\n formatDay = format(\"%a %d\"),\n formatWeek = format(\"%b %d\"),\n formatMonth = format(\"%B\"),\n formatYear = format(\"%Y\");\n\n var tickIntervals = [\n [second, 1, durationSecond],\n [second, 5, 5 * durationSecond],\n [second, 15, 15 * durationSecond],\n [second, 30, 30 * durationSecond],\n [minute, 1, durationMinute],\n [minute, 5, 5 * durationMinute],\n [minute, 15, 15 * durationMinute],\n [minute, 30, 30 * durationMinute],\n [ hour, 1, durationHour ],\n [ hour, 3, 3 * durationHour ],\n [ hour, 6, 6 * durationHour ],\n [ hour, 12, 12 * durationHour ],\n [ day, 1, durationDay ],\n [ day, 2, 2 * durationDay ],\n [ week, 1, durationWeek ],\n [ month, 1, durationMonth ],\n [ month, 3, 3 * durationMonth ],\n [ year, 1, durationYear ]\n ];\n\n function tickFormat(date) {\n return (second(date) < date ? formatMillisecond\n : minute(date) < date ? formatSecond\n : hour(date) < date ? formatMinute\n : day(date) < date ? formatHour\n : month(date) < date ? (week(date) < date ? formatDay : formatWeek)\n : year(date) < date ? formatMonth\n : formatYear)(date);\n }\n\n function tickInterval(interval, start, stop, step) {\n if (interval == null) interval = 10;\n\n // If a desired tick count is specified, pick a reasonable tick interval\n // based on the extent of the domain and a rough estimate of tick size.\n // Otherwise, assume interval is already a time interval and use it.\n if (typeof interval === \"number\") {\n var target = Math.abs(stop - start) / interval,\n i = bisector(function(i) { return i[2]; }).right(tickIntervals, target);\n if (i === tickIntervals.length) {\n step = tickStep(start / durationYear, stop / durationYear, interval);\n interval = year;\n } else if (i) {\n i = tickIntervals[target / tickIntervals[i - 1][2] < tickIntervals[i][2] / target ? i - 1 : i];\n step = i[1];\n interval = i[0];\n } else {\n step = tickStep(start, stop, interval);\n interval = millisecond;\n }\n }\n\n return step == null ? interval : interval.every(step);\n }\n\n scale.invert = function(y) {\n return new Date(invert(y));\n };\n\n scale.domain = function(_) {\n return arguments.length ? domain(map.call(_, number)) : domain().map(date);\n };\n\n scale.ticks = function(interval, step) {\n var d = domain(),\n t0 = d[0],\n t1 = d[d.length - 1],\n r = t1 < t0,\n t;\n if (r) t = t0, t0 = t1, t1 = t;\n t = tickInterval(interval, t0, t1, step);\n t = t ? t.range(t0, t1 + 1) : []; // inclusive stop\n return r ? t.reverse() : t;\n };\n\n scale.tickFormat = function(count, specifier) {\n return specifier == null ? tickFormat : format(specifier);\n };\n\n scale.nice = function(interval, step) {\n var d = domain();\n return (interval = tickInterval(interval, d[0], d[d.length - 1], step))\n ? domain(nice(d, interval))\n : scale;\n };\n\n scale.copy = function() {\n return copy(scale, calendar(year, month, week, day, hour, minute, second, millisecond, format));\n };\n\n return scale;\n}\n\nexport default function() {\n return calendar(timeYear, timeMonth, timeWeek, timeDay, timeHour, timeMinute, timeSecond, timeMillisecond, timeFormat).domain([new Date(2000, 0, 1), new Date(2000, 0, 2)]);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/time.js\n// module id = ./node_modules/d3-scale/src/time.js\n// module chunks = 0","import {calendar} from \"./time\";\nimport {utcFormat} from \"d3-time-format\";\nimport {utcYear, utcMonth, utcWeek, utcDay, utcHour, utcMinute, utcSecond, utcMillisecond} from \"d3-time\";\n\nexport default function() {\n return calendar(utcYear, utcMonth, utcWeek, utcDay, utcHour, utcMinute, utcSecond, utcMillisecond, utcFormat).domain([Date.UTC(2000, 0, 1), Date.UTC(2000, 0, 2)]);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/utcTime.js\n// module id = ./node_modules/d3-scale/src/utcTime.js\n// module chunks = 0","import colors from \"./colors\";\n\nfunction ramp(range) {\n var n = range.length;\n return function(t) {\n return range[Math.max(0, Math.min(n - 1, Math.floor(t * n)))];\n };\n}\n\nexport default ramp(colors(\"44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725\"));\n\nexport var magma = ramp(colors(\"00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf\"));\n\nexport var inferno = ramp(colors(\"00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4\"));\n\nexport var plasma = ramp(colors(\"0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921\"));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-scale/src/viridis.js\n// module id = ./node_modules/d3-scale/src/viridis.js\n// module chunks = 0","export {default as arc} from \"./src/arc\";\nexport {default as area} from \"./src/area\";\nexport {default as line} from \"./src/line\";\nexport {default as pie} from \"./src/pie\";\nexport {default as radialArea} from \"./src/radialArea\";\nexport {default as radialLine} from \"./src/radialLine\";\n\nexport {default as symbol, symbols} from \"./src/symbol\";\nexport {default as symbolCircle} from \"./src/symbol/circle\";\nexport {default as symbolCross} from \"./src/symbol/cross\";\nexport {default as symbolDiamond} from \"./src/symbol/diamond\";\nexport {default as symbolSquare} from \"./src/symbol/square\";\nexport {default as symbolStar} from \"./src/symbol/star\";\nexport {default as symbolTriangle} from \"./src/symbol/triangle\";\nexport {default as symbolWye} from \"./src/symbol/wye\";\n\nexport {default as curveBasisClosed} from \"./src/curve/basisClosed\";\nexport {default as curveBasisOpen} from \"./src/curve/basisOpen\";\nexport {default as curveBasis} from \"./src/curve/basis\";\nexport {default as curveBundle} from \"./src/curve/bundle\";\nexport {default as curveCardinalClosed} from \"./src/curve/cardinalClosed\";\nexport {default as curveCardinalOpen} from \"./src/curve/cardinalOpen\";\nexport {default as curveCardinal} from \"./src/curve/cardinal\";\nexport {default as curveCatmullRomClosed} from \"./src/curve/catmullRomClosed\";\nexport {default as curveCatmullRomOpen} from \"./src/curve/catmullRomOpen\";\nexport {default as curveCatmullRom} from \"./src/curve/catmullRom\";\nexport {default as curveLinearClosed} from \"./src/curve/linearClosed\";\nexport {default as curveLinear} from \"./src/curve/linear\";\nexport {monotoneX as curveMonotoneX, monotoneY as curveMonotoneY} from \"./src/curve/monotone\";\nexport {default as curveNatural} from \"./src/curve/natural\";\nexport {default as curveStep, stepAfter as curveStepAfter, stepBefore as curveStepBefore} from \"./src/curve/step\";\n\nexport {default as stack} from \"./src/stack\";\nexport {default as stackOffsetExpand} from \"./src/offset/expand\";\nexport {default as stackOffsetNone} from \"./src/offset/none\";\nexport {default as stackOffsetSilhouette} from \"./src/offset/silhouette\";\nexport {default as stackOffsetWiggle} from \"./src/offset/wiggle\";\nexport {default as stackOrderAscending} from \"./src/order/ascending\";\nexport {default as stackOrderDescending} from \"./src/order/descending\";\nexport {default as stackOrderInsideOut} from \"./src/order/insideOut\";\nexport {default as stackOrderNone} from \"./src/order/none\";\nexport {default as stackOrderReverse} from \"./src/order/reverse\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/index.js\n// module id = ./node_modules/d3-shape/index.js\n// module chunks = 0","import {path} from \"d3-path\";\nimport constant from \"./constant\";\nimport {epsilon, pi, halfPi, tau} from \"./math\";\n\nfunction arcInnerRadius(d) {\n return d.innerRadius;\n}\n\nfunction arcOuterRadius(d) {\n return d.outerRadius;\n}\n\nfunction arcStartAngle(d) {\n return d.startAngle;\n}\n\nfunction arcEndAngle(d) {\n return d.endAngle;\n}\n\nfunction arcPadAngle(d) {\n return d && d.padAngle; // Note: optional!\n}\n\nfunction asin(x) {\n return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);\n}\n\nfunction intersect(x0, y0, x1, y1, x2, y2, x3, y3) {\n var x10 = x1 - x0, y10 = y1 - y0,\n x32 = x3 - x2, y32 = y3 - y2,\n t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / (y32 * x10 - x32 * y10);\n return [x0 + t * x10, y0 + t * y10];\n}\n\n// Compute perpendicular offset line of length rc.\n// http://mathworld.wolfram.com/Circle-LineIntersection.html\nfunction cornerTangents(x0, y0, x1, y1, r1, rc, cw) {\n var x01 = x0 - x1,\n y01 = y0 - y1,\n lo = (cw ? rc : -rc) / Math.sqrt(x01 * x01 + y01 * y01),\n ox = lo * y01,\n oy = -lo * x01,\n x11 = x0 + ox,\n y11 = y0 + oy,\n x10 = x1 + ox,\n y10 = y1 + oy,\n x00 = (x11 + x10) / 2,\n y00 = (y11 + y10) / 2,\n dx = x10 - x11,\n dy = y10 - y11,\n d2 = dx * dx + dy * dy,\n r = r1 - rc,\n D = x11 * y10 - x10 * y11,\n d = (dy < 0 ? -1 : 1) * Math.sqrt(Math.max(0, r * r * d2 - D * D)),\n cx0 = (D * dy - dx * d) / d2,\n cy0 = (-D * dx - dy * d) / d2,\n cx1 = (D * dy + dx * d) / d2,\n cy1 = (-D * dx + dy * d) / d2,\n dx0 = cx0 - x00,\n dy0 = cy0 - y00,\n dx1 = cx1 - x00,\n dy1 = cy1 - y00;\n\n // Pick the closer of the two intersection points.\n // TODO Is there a faster way to determine which intersection to use?\n if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1) cx0 = cx1, cy0 = cy1;\n\n return {\n cx: cx0,\n cy: cy0,\n x01: -ox,\n y01: -oy,\n x11: cx0 * (r1 / r - 1),\n y11: cy0 * (r1 / r - 1)\n };\n}\n\nexport default function() {\n var innerRadius = arcInnerRadius,\n outerRadius = arcOuterRadius,\n cornerRadius = constant(0),\n padRadius = null,\n startAngle = arcStartAngle,\n endAngle = arcEndAngle,\n padAngle = arcPadAngle,\n context = null;\n\n function arc() {\n var buffer,\n r,\n r0 = +innerRadius.apply(this, arguments),\n r1 = +outerRadius.apply(this, arguments),\n a0 = startAngle.apply(this, arguments) - halfPi,\n a1 = endAngle.apply(this, arguments) - halfPi,\n da = Math.abs(a1 - a0),\n cw = a1 > a0;\n\n if (!context) context = buffer = path();\n\n // Ensure that the outer radius is always larger than the inner radius.\n if (r1 < r0) r = r1, r1 = r0, r0 = r;\n\n // Is it a point?\n if (!(r1 > epsilon)) context.moveTo(0, 0);\n\n // Or is it a circle or annulus?\n else if (da > tau - epsilon) {\n context.moveTo(r1 * Math.cos(a0), r1 * Math.sin(a0));\n context.arc(0, 0, r1, a0, a1, !cw);\n if (r0 > epsilon) {\n context.moveTo(r0 * Math.cos(a1), r0 * Math.sin(a1));\n context.arc(0, 0, r0, a1, a0, cw);\n }\n }\n\n // Or is it a circular or annular sector?\n else {\n var a01 = a0,\n a11 = a1,\n a00 = a0,\n a10 = a1,\n da0 = da,\n da1 = da,\n ap = padAngle.apply(this, arguments) / 2,\n rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : Math.sqrt(r0 * r0 + r1 * r1)),\n rc = Math.min(Math.abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)),\n rc0 = rc,\n rc1 = rc,\n t0,\n t1;\n\n // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.\n if (rp > epsilon) {\n var p0 = asin(rp / r0 * Math.sin(ap)),\n p1 = asin(rp / r1 * Math.sin(ap));\n if ((da0 -= p0 * 2) > epsilon) p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;\n else da0 = 0, a00 = a10 = (a0 + a1) / 2;\n if ((da1 -= p1 * 2) > epsilon) p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;\n else da1 = 0, a01 = a11 = (a0 + a1) / 2;\n }\n\n var x01 = r1 * Math.cos(a01),\n y01 = r1 * Math.sin(a01),\n x10 = r0 * Math.cos(a10),\n y10 = r0 * Math.sin(a10);\n\n // Apply rounded corners?\n if (rc > epsilon) {\n var x11 = r1 * Math.cos(a11),\n y11 = r1 * Math.sin(a11),\n x00 = r0 * Math.cos(a00),\n y00 = r0 * Math.sin(a00);\n\n // Restrict the corner radius according to the sector angle.\n if (da < pi) {\n var oc = da0 > epsilon ? intersect(x01, y01, x00, y00, x11, y11, x10, y10) : [x10, y10],\n ax = x01 - oc[0],\n ay = y01 - oc[1],\n bx = x11 - oc[0],\n by = y11 - oc[1],\n kc = 1 / Math.sin(Math.acos((ax * bx + ay * by) / (Math.sqrt(ax * ax + ay * ay) * Math.sqrt(bx * bx + by * by))) / 2),\n lc = Math.sqrt(oc[0] * oc[0] + oc[1] * oc[1]);\n rc0 = Math.min(rc, (r0 - lc) / (kc - 1));\n rc1 = Math.min(rc, (r1 - lc) / (kc + 1));\n }\n }\n\n // Is the sector collapsed to a line?\n if (!(da1 > epsilon)) context.moveTo(x01, y01);\n\n // Does the sector’s outer ring have rounded corners?\n else if (rc1 > epsilon) {\n t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);\n t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);\n\n context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n // Have the corners merged?\n if (rc1 < rc) context.arc(t0.cx, t0.cy, rc1, Math.atan2(t0.y01, t0.x01), Math.atan2(t1.y01, t1.x01), !cw);\n\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc1, Math.atan2(t0.y01, t0.x01), Math.atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r1, Math.atan2(t0.cy + t0.y11, t0.cx + t0.x11), Math.atan2(t1.cy + t1.y11, t1.cx + t1.x11), !cw);\n context.arc(t1.cx, t1.cy, rc1, Math.atan2(t1.y11, t1.x11), Math.atan2(t1.y01, t1.x01), !cw);\n }\n }\n\n // Or is the outer ring just a circular arc?\n else context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);\n\n // Is there no inner ring, and it’s a circular sector?\n // Or perhaps it’s an annular sector collapsed due to padding?\n if (!(r0 > epsilon) || !(da0 > epsilon)) context.lineTo(x10, y10);\n\n // Does the sector’s inner ring (or point) have rounded corners?\n else if (rc0 > epsilon) {\n t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);\n t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);\n\n context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);\n\n // Have the corners merged?\n if (rc0 < rc) context.arc(t0.cx, t0.cy, rc0, Math.atan2(t0.y01, t0.x01), Math.atan2(t1.y01, t1.x01), !cw);\n\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc0, Math.atan2(t0.y01, t0.x01), Math.atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r0, Math.atan2(t0.cy + t0.y11, t0.cx + t0.x11), Math.atan2(t1.cy + t1.y11, t1.cx + t1.x11), cw);\n context.arc(t1.cx, t1.cy, rc0, Math.atan2(t1.y11, t1.x11), Math.atan2(t1.y01, t1.x01), !cw);\n }\n }\n\n // Or is the inner ring just a circular arc?\n else context.arc(0, 0, r0, a10, a00, cw);\n }\n\n context.closePath();\n\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n arc.centroid = function() {\n var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2,\n a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;\n return [Math.cos(a) * r, Math.sin(a) * r];\n };\n\n arc.innerRadius = function(_) {\n return arguments.length ? (innerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : innerRadius;\n };\n\n arc.outerRadius = function(_) {\n return arguments.length ? (outerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : outerRadius;\n };\n\n arc.cornerRadius = function(_) {\n return arguments.length ? (cornerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : cornerRadius;\n };\n\n arc.padRadius = function(_) {\n return arguments.length ? (padRadius = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), arc) : padRadius;\n };\n\n arc.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : startAngle;\n };\n\n arc.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : endAngle;\n };\n\n arc.padAngle = function(_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : padAngle;\n };\n\n arc.context = function(_) {\n return arguments.length ? ((context = _ == null ? null : _), arc) : context;\n };\n\n return arc;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/arc.js\n// module id = ./node_modules/d3-shape/src/arc.js\n// module chunks = 0","import {path} from \"d3-path\";\nimport constant from \"./constant\";\nimport curveLinear from \"./curve/linear\";\nimport line from \"./line\";\nimport {x as pointX, y as pointY} from \"./point\";\n\nexport default function() {\n var x0 = pointX,\n x1 = null,\n y0 = constant(0),\n y1 = pointY,\n defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n function area(data) {\n var i,\n j,\n k,\n n = data.length,\n d,\n defined0 = false,\n buffer,\n x0z = new Array(n),\n y0z = new Array(n);\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) {\n j = i;\n output.areaStart();\n output.lineStart();\n } else {\n output.lineEnd();\n output.lineStart();\n for (k = i - 1; k >= j; --k) {\n output.point(x0z[k], y0z[k]);\n }\n output.lineEnd();\n output.areaEnd();\n }\n }\n if (defined0) {\n x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);\n output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);\n }\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n function arealine() {\n return line().defined(defined).curve(curve).context(context);\n }\n\n area.x = function(_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), x1 = null, area) : x0;\n };\n\n area.x0 = function(_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), area) : x0;\n };\n\n area.x1 = function(_) {\n return arguments.length ? (x1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : x1;\n };\n\n area.y = function(_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), y1 = null, area) : y0;\n };\n\n area.y0 = function(_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), area) : y0;\n };\n\n area.y1 = function(_) {\n return arguments.length ? (y1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : y1;\n };\n\n area.lineX0 =\n area.lineY0 = function() {\n return arealine().x(x0).y(y0);\n };\n\n area.lineY1 = function() {\n return arealine().x(x0).y(y1);\n };\n\n area.lineX1 = function() {\n return arealine().x(x1).y(y0);\n };\n\n area.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), area) : defined;\n };\n\n area.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;\n };\n\n area.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;\n };\n\n return area;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/area.js\n// module id = ./node_modules/d3-shape/src/area.js\n// module chunks = 0","export var slice = Array.prototype.slice;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/array.js\n// module id = ./node_modules/d3-shape/src/array.js\n// module chunks = 0","export default function(x) {\n return function constant() {\n return x;\n };\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/constant.js\n// module id = ./node_modules/d3-shape/src/constant.js\n// module chunks = 0","export function point(that, x, y) {\n that._context.bezierCurveTo(\n (2 * that._x0 + that._x1) / 3,\n (2 * that._y0 + that._y1) / 3,\n (that._x0 + 2 * that._x1) / 3,\n (that._y0 + 2 * that._y1) / 3,\n (that._x0 + 4 * that._x1 + x) / 6,\n (that._y0 + 4 * that._y1 + y) / 6\n );\n}\n\nexport function Basis(context) {\n this._context = context;\n}\n\nBasis.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 3: point(this, this._x1, this._y1); // proceed\n case 2: this._context.lineTo(this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new Basis(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/basis.js\n// module id = ./node_modules/d3-shape/src/curve/basis.js\n// module chunks = 0","import noop from \"../noop\";\nimport {point} from \"./basis\";\n\nfunction BasisClosed(context) {\n this._context = context;\n}\n\nBasisClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x2, this._y2);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);\n this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x2, this._y2);\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._x2 = x, this._y2 = y; break;\n case 1: this._point = 2; this._x3 = x, this._y3 = y; break;\n case 2: this._point = 3; this._x4 = x, this._y4 = y; this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6); break;\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new BasisClosed(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/basisClosed.js\n// module id = ./node_modules/d3-shape/src/curve/basisClosed.js\n// module chunks = 0","import {point} from \"./basis\";\n\nfunction BasisOpen(context) {\n this._context = context;\n}\n\nBasisOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6; this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n};\n\nexport default function(context) {\n return new BasisOpen(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/basisOpen.js\n// module id = ./node_modules/d3-shape/src/curve/basisOpen.js\n// module chunks = 0","import {Basis} from \"./basis\";\n\nfunction Bundle(context, beta) {\n this._basis = new Basis(context);\n this._beta = beta;\n}\n\nBundle.prototype = {\n lineStart: function() {\n this._x = [];\n this._y = [];\n this._basis.lineStart();\n },\n lineEnd: function() {\n var x = this._x,\n y = this._y,\n j = x.length - 1;\n\n if (j > 0) {\n var x0 = x[0],\n y0 = y[0],\n dx = x[j] - x0,\n dy = y[j] - y0,\n i = -1,\n t;\n\n while (++i <= j) {\n t = i / j;\n this._basis.point(\n this._beta * x[i] + (1 - this._beta) * (x0 + t * dx),\n this._beta * y[i] + (1 - this._beta) * (y0 + t * dy)\n );\n }\n }\n\n this._x = this._y = null;\n this._basis.lineEnd();\n },\n point: function(x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n};\n\nexport default (function custom(beta) {\n\n function bundle(context) {\n return beta === 1 ? new Basis(context) : new Bundle(context, beta);\n }\n\n bundle.beta = function(beta) {\n return custom(+beta);\n };\n\n return bundle;\n})(0.85);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/bundle.js\n// module id = ./node_modules/d3-shape/src/curve/bundle.js\n// module chunks = 0","export function point(that, x, y) {\n that._context.bezierCurveTo(\n that._x1 + that._k * (that._x2 - that._x0),\n that._y1 + that._k * (that._y2 - that._y0),\n that._x2 + that._k * (that._x1 - x),\n that._y2 + that._k * (that._y1 - y),\n that._x2,\n that._y2\n );\n}\n\nexport function Cardinal(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinal.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x2, this._y2); break;\n case 3: point(this, this._x1, this._y1); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; this._x1 = x, this._y1 = y; break;\n case 2: this._point = 3; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new Cardinal(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/cardinal.js\n// module id = ./node_modules/d3-shape/src/curve/cardinal.js\n// module chunks = 0","import noop from \"../noop\";\nimport {point} from \"./cardinal\";\n\nexport function CardinalClosed(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinalClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new CardinalClosed(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/cardinalClosed.js\n// module id = ./node_modules/d3-shape/src/curve/cardinalClosed.js\n// module chunks = 0","import {point} from \"./cardinal\";\n\nexport function CardinalOpen(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n}\n\nCardinalOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(tension) {\n\n function cardinal(context) {\n return new CardinalOpen(context, tension);\n }\n\n cardinal.tension = function(tension) {\n return custom(+tension);\n };\n\n return cardinal;\n})(0);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/cardinalOpen.js\n// module id = ./node_modules/d3-shape/src/curve/cardinalOpen.js\n// module chunks = 0","import {epsilon} from \"../math\";\nimport {Cardinal} from \"./cardinal\";\n\nexport function point(that, x, y) {\n var x1 = that._x1,\n y1 = that._y1,\n x2 = that._x2,\n y2 = that._y2;\n\n if (that._l01_a > epsilon) {\n var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a,\n n = 3 * that._l01_a * (that._l01_a + that._l12_a);\n x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;\n y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;\n }\n\n if (that._l23_a > epsilon) {\n var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a,\n m = 3 * that._l23_a * (that._l23_a + that._l12_a);\n x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;\n y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;\n }\n\n that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);\n}\n\nfunction CatmullRom(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRom.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x2, this._y2); break;\n case 3: this.point(this._x2, this._y2); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; // proceed\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/catmullRom.js\n// module id = ./node_modules/d3-shape/src/curve/catmullRom.js\n// module chunks = 0","import {CardinalClosed} from \"./cardinalClosed\";\nimport noop from \"../noop\";\nimport {point} from \"./catmullRom\";\n\nfunction CatmullRomClosed(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRomClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; this._x3 = x, this._y3 = y; break;\n case 1: this._point = 2; this._context.moveTo(this._x4 = x, this._y4 = y); break;\n case 2: this._point = 3; this._x5 = x, this._y5 = y; break;\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/catmullRomClosed.js\n// module id = ./node_modules/d3-shape/src/curve/catmullRomClosed.js\n// module chunks = 0","import {CardinalOpen} from \"./cardinalOpen\";\nimport {point} from \"./catmullRom\";\n\nfunction CatmullRomOpen(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n}\n\nCatmullRomOpen.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 3)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n\n if (this._point) {\n var x23 = this._x2 - x,\n y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n\n switch (this._point) {\n case 0: this._point = 1; break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2); break;\n case 3: this._point = 4; // proceed\n default: point(this, x, y); break;\n }\n\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n};\n\nexport default (function custom(alpha) {\n\n function catmullRom(context) {\n return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);\n }\n\n catmullRom.alpha = function(alpha) {\n return custom(+alpha);\n };\n\n return catmullRom;\n})(0.5);\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/catmullRomOpen.js\n// module id = ./node_modules/d3-shape/src/curve/catmullRomOpen.js\n// module chunks = 0","function Linear(context) {\n this._context = context;\n}\n\nLinear.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: this._context.lineTo(x, y); break;\n }\n }\n};\n\nexport default function(context) {\n return new Linear(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/linear.js\n// module id = ./node_modules/d3-shape/src/curve/linear.js\n// module chunks = 0","import noop from \"../noop\";\n\nfunction LinearClosed(context) {\n this._context = context;\n}\n\nLinearClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function() {\n this._point = 0;\n },\n lineEnd: function() {\n if (this._point) this._context.closePath();\n },\n point: function(x, y) {\n x = +x, y = +y;\n if (this._point) this._context.lineTo(x, y);\n else this._point = 1, this._context.moveTo(x, y);\n }\n};\n\nexport default function(context) {\n return new LinearClosed(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/linearClosed.js\n// module id = ./node_modules/d3-shape/src/curve/linearClosed.js\n// module chunks = 0","function sign(x) {\n return x < 0 ? -1 : 1;\n}\n\n// Calculate the slopes of the tangents (Hermite-type interpolation) based on\n// the following paper: Steffen, M. 1990. A Simple Method for Monotonic\n// Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.\n// NOV(II), P. 443, 1990.\nfunction slope3(that, x2, y2) {\n var h0 = that._x1 - that._x0,\n h1 = x2 - that._x1,\n s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0),\n s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0),\n p = (s0 * h1 + s1 * h0) / (h0 + h1);\n return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;\n}\n\n// Calculate a one-sided slope.\nfunction slope2(that, t) {\n var h = that._x1 - that._x0;\n return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;\n}\n\n// According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations\n// \"you can express cubic Hermite interpolation in terms of cubic Bézier curves\n// with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1\".\nfunction point(that, t0, t1) {\n var x0 = that._x0,\n y0 = that._y0,\n x1 = that._x1,\n y1 = that._y1,\n dx = (x1 - x0) / 3;\n that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);\n}\n\nfunction MonotoneX(context) {\n this._context = context;\n}\n\nMonotoneX.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x0 = this._x1 =\n this._y0 = this._y1 =\n this._t0 = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n switch (this._point) {\n case 2: this._context.lineTo(this._x1, this._y1); break;\n case 3: point(this, this._t0, slope2(this, this._t0)); break;\n }\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function(x, y) {\n var t1 = NaN;\n\n x = +x, y = +y;\n if (x === this._x1 && y === this._y1) return; // Ignore coincident points.\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; break;\n case 2: this._point = 3; point(this, slope2(this, t1 = slope3(this, x, y)), t1); break;\n default: point(this, this._t0, t1 = slope3(this, x, y)); break;\n }\n\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n this._t0 = t1;\n }\n}\n\nfunction MonotoneY(context) {\n this._context = new ReflectContext(context);\n}\n\n(MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function(x, y) {\n MonotoneX.prototype.point.call(this, y, x);\n};\n\nfunction ReflectContext(context) {\n this._context = context;\n}\n\nReflectContext.prototype = {\n moveTo: function(x, y) { this._context.moveTo(y, x); },\n closePath: function() { this._context.closePath(); },\n lineTo: function(x, y) { this._context.lineTo(y, x); },\n bezierCurveTo: function(x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }\n};\n\nexport function monotoneX(context) {\n return new MonotoneX(context);\n}\n\nexport function monotoneY(context) {\n return new MonotoneY(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/monotone.js\n// module id = ./node_modules/d3-shape/src/curve/monotone.js\n// module chunks = 0","function Natural(context) {\n this._context = context;\n}\n\nNatural.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x = [];\n this._y = [];\n },\n lineEnd: function() {\n var x = this._x,\n y = this._y,\n n = x.length;\n\n if (n) {\n this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);\n if (n === 2) {\n this._context.lineTo(x[1], y[1]);\n } else {\n var px = controlPoints(x),\n py = controlPoints(y);\n for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {\n this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);\n }\n }\n }\n\n if (this._line || (this._line !== 0 && n === 1)) this._context.closePath();\n this._line = 1 - this._line;\n this._x = this._y = null;\n },\n point: function(x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n};\n\n// See https://www.particleincell.com/2012/bezier-splines/ for derivation.\nfunction controlPoints(x) {\n var i,\n n = x.length - 1,\n m,\n a = new Array(n),\n b = new Array(n),\n r = new Array(n);\n a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];\n for (i = 1; i < n - 1; ++i) a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];\n a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];\n for (i = 1; i < n; ++i) m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];\n a[n - 1] = r[n - 1] / b[n - 1];\n for (i = n - 2; i >= 0; --i) a[i] = (r[i] - a[i + 1]) / b[i];\n b[n - 1] = (x[n] + a[n - 1]) / 2;\n for (i = 0; i < n - 1; ++i) b[i] = 2 * x[i + 1] - a[i + 1];\n return [a, b];\n}\n\nexport default function(context) {\n return new Natural(context);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/natural.js\n// module id = ./node_modules/d3-shape/src/curve/natural.js\n// module chunks = 0","import curveLinear from \"./linear\";\n\nexport var curveRadialLinear = curveRadial(curveLinear);\n\nfunction Radial(curve) {\n this._curve = curve;\n}\n\nRadial.prototype = {\n areaStart: function() {\n this._curve.areaStart();\n },\n areaEnd: function() {\n this._curve.areaEnd();\n },\n lineStart: function() {\n this._curve.lineStart();\n },\n lineEnd: function() {\n this._curve.lineEnd();\n },\n point: function(a, r) {\n this._curve.point(r * Math.sin(a), r * -Math.cos(a));\n }\n};\n\nexport default function curveRadial(curve) {\n\n function radial(context) {\n return new Radial(curve(context));\n }\n\n radial._curve = curve;\n\n return radial;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/radial.js\n// module id = ./node_modules/d3-shape/src/curve/radial.js\n// module chunks = 0","function Step(context, t) {\n this._context = context;\n this._t = t;\n}\n\nStep.prototype = {\n areaStart: function() {\n this._line = 0;\n },\n areaEnd: function() {\n this._line = NaN;\n },\n lineStart: function() {\n this._x = this._y = NaN;\n this._point = 0;\n },\n lineEnd: function() {\n if (0 < this._t && this._t < 1 && this._point === 2) this._context.lineTo(this._x, this._y);\n if (this._line || (this._line !== 0 && this._point === 1)) this._context.closePath();\n if (this._line >= 0) this._t = 1 - this._t, this._line = 1 - this._line;\n },\n point: function(x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0: this._point = 1; this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y); break;\n case 1: this._point = 2; // proceed\n default: {\n if (this._t <= 0) {\n this._context.lineTo(this._x, y);\n this._context.lineTo(x, y);\n } else {\n var x1 = this._x * (1 - this._t) + x * this._t;\n this._context.lineTo(x1, this._y);\n this._context.lineTo(x1, y);\n }\n break;\n }\n }\n this._x = x, this._y = y;\n }\n};\n\nexport default function(context) {\n return new Step(context, 0.5);\n}\n\nexport function stepBefore(context) {\n return new Step(context, 0);\n}\n\nexport function stepAfter(context) {\n return new Step(context, 1);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/curve/step.js\n// module id = ./node_modules/d3-shape/src/curve/step.js\n// module chunks = 0","export default function(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/descending.js\n// module id = ./node_modules/d3-shape/src/descending.js\n// module chunks = 0","export default function(d) {\n return d;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/identity.js\n// module id = ./node_modules/d3-shape/src/identity.js\n// module chunks = 0","import {path} from \"d3-path\";\nimport constant from \"./constant\";\nimport curveLinear from \"./curve/linear\";\nimport {x as pointX, y as pointY} from \"./point\";\n\nexport default function() {\n var x = pointX,\n y = pointY,\n defined = constant(true),\n context = null,\n curve = curveLinear,\n output = null;\n\n function line(data) {\n var i,\n n = data.length,\n d,\n defined0 = false,\n buffer;\n\n if (context == null) output = curve(buffer = path());\n\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) output.lineStart();\n else output.lineEnd();\n }\n if (defined0) output.point(+x(d, i, data), +y(d, i, data));\n }\n\n if (buffer) return output = null, buffer + \"\" || null;\n }\n\n line.x = function(_) {\n return arguments.length ? (x = typeof _ === \"function\" ? _ : constant(+_), line) : x;\n };\n\n line.y = function(_) {\n return arguments.length ? (y = typeof _ === \"function\" ? _ : constant(+_), line) : y;\n };\n\n line.defined = function(_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), line) : defined;\n };\n\n line.curve = function(_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n };\n\n line.context = function(_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n };\n\n return line;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/line.js\n// module id = ./node_modules/d3-shape/src/line.js\n// module chunks = 0","export var epsilon = 1e-12;\nexport var pi = Math.PI;\nexport var halfPi = pi / 2;\nexport var tau = 2 * pi;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/math.js\n// module id = ./node_modules/d3-shape/src/math.js\n// module chunks = 0","export default function() {}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/noop.js\n// module id = ./node_modules/d3-shape/src/noop.js\n// module chunks = 0","import none from \"./none\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {\n for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;\n if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;\n }\n none(series, order);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/offset/expand.js\n// module id = ./node_modules/d3-shape/src/offset/expand.js\n// module chunks = 0","export default function(series, order) {\n if (!((n = series.length) > 1)) return;\n for (var i = 1, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {\n s0 = s1, s1 = series[order[i]];\n for (var j = 0; j < m; ++j) {\n s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];\n }\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/offset/none.js\n// module id = ./node_modules/d3-shape/src/offset/none.js\n// module chunks = 0","import none from \"./none\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0)) return;\n for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {\n for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;\n s0[j][1] += s0[j][0] = -y / 2;\n }\n none(series, order);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/offset/silhouette.js\n// module id = ./node_modules/d3-shape/src/offset/silhouette.js\n// module chunks = 0","import none from \"./none\";\n\nexport default function(series, order) {\n if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0)) return;\n for (var y = 0, j = 1, s0, m, n; j < m; ++j) {\n for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {\n var si = series[order[i]],\n sij0 = si[j][1] || 0,\n sij1 = si[j - 1][1] || 0,\n s3 = (sij0 - sij1) / 2;\n for (var k = 0; k < i; ++k) {\n var sk = series[order[k]],\n skj0 = sk[j][1] || 0,\n skj1 = sk[j - 1][1] || 0;\n s3 += skj0 - skj1;\n }\n s1 += sij0, s2 += s3 * sij0;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n if (s1) y -= s2 / s1;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n none(series, order);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/offset/wiggle.js\n// module id = ./node_modules/d3-shape/src/offset/wiggle.js\n// module chunks = 0","import none from \"./none\";\n\nexport default function(series) {\n var sums = series.map(sum);\n return none(series).sort(function(a, b) { return sums[a] - sums[b]; });\n}\n\nexport function sum(series) {\n var s = 0, i = -1, n = series.length, v;\n while (++i < n) if (v = +series[i][1]) s += v;\n return s;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/order/ascending.js\n// module id = ./node_modules/d3-shape/src/order/ascending.js\n// module chunks = 0","import ascending from \"./ascending\";\n\nexport default function(series) {\n return ascending(series).reverse();\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/order/descending.js\n// module id = ./node_modules/d3-shape/src/order/descending.js\n// module chunks = 0","import none from \"./none\";\nimport {sum} from \"./ascending\";\n\nexport default function(series) {\n var n = series.length,\n i,\n j,\n sums = series.map(sum),\n order = none(series).sort(function(a, b) { return sums[b] - sums[a]; }),\n top = 0,\n bottom = 0,\n tops = [],\n bottoms = [];\n\n for (i = 0; i < n; ++i) {\n j = order[i];\n if (top < bottom) {\n top += sums[j];\n tops.push(j);\n } else {\n bottom += sums[j];\n bottoms.push(j);\n }\n }\n\n return bottoms.reverse().concat(tops);\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/order/insideOut.js\n// module id = ./node_modules/d3-shape/src/order/insideOut.js\n// module chunks = 0","export default function(series) {\n var n = series.length, o = new Array(n);\n while (--n >= 0) o[n] = n;\n return o;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/order/none.js\n// module id = ./node_modules/d3-shape/src/order/none.js\n// module chunks = 0","import none from \"./none\";\n\nexport default function(series) {\n return none(series).reverse();\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/order/reverse.js\n// module id = ./node_modules/d3-shape/src/order/reverse.js\n// module chunks = 0","import constant from \"./constant\";\nimport descending from \"./descending\";\nimport identity from \"./identity\";\nimport {tau} from \"./math\";\n\nexport default function() {\n var value = identity,\n sortValues = descending,\n sort = null,\n startAngle = constant(0),\n endAngle = constant(tau),\n padAngle = constant(0);\n\n function pie(data) {\n var i,\n n = data.length,\n j,\n k,\n sum = 0,\n index = new Array(n),\n arcs = new Array(n),\n a0 = +startAngle.apply(this, arguments),\n da = Math.min(tau, Math.max(-tau, endAngle.apply(this, arguments) - a0)),\n a1,\n p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)),\n pa = p * (da < 0 ? -1 : 1),\n v;\n\n for (i = 0; i < n; ++i) {\n if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {\n sum += v;\n }\n }\n\n // Optionally sort the arcs by previously-computed values or by data.\n if (sortValues != null) index.sort(function(i, j) { return sortValues(arcs[i], arcs[j]); });\n else if (sort != null) index.sort(function(i, j) { return sort(data[i], data[j]); });\n\n // Compute the arcs! They are stored in the original data's order.\n for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {\n j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {\n data: data[j],\n index: i,\n value: v,\n startAngle: a0,\n endAngle: a1,\n padAngle: p\n };\n }\n\n return arcs;\n }\n\n pie.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), pie) : value;\n };\n\n pie.sortValues = function(_) {\n return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;\n };\n\n pie.sort = function(_) {\n return arguments.length ? (sort = _, sortValues = null, pie) : sort;\n };\n\n pie.startAngle = function(_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : startAngle;\n };\n\n pie.endAngle = function(_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : endAngle;\n };\n\n pie.padAngle = function(_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : padAngle;\n };\n\n return pie;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/pie.js\n// module id = ./node_modules/d3-shape/src/pie.js\n// module chunks = 0","export function x(p) {\n return p[0];\n}\n\nexport function y(p) {\n return p[1];\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/point.js\n// module id = ./node_modules/d3-shape/src/point.js\n// module chunks = 0","import curveRadial, {curveRadialLinear} from \"./curve/radial\";\nimport area from \"./area\";\nimport {radialLine} from \"./radialLine\"\n\nexport default function() {\n var a = area().curve(curveRadialLinear),\n c = a.curve,\n x0 = a.lineX0,\n x1 = a.lineX1,\n y0 = a.lineY0,\n y1 = a.lineY1;\n\n a.angle = a.x, delete a.x;\n a.startAngle = a.x0, delete a.x0;\n a.endAngle = a.x1, delete a.x1;\n a.radius = a.y, delete a.y;\n a.innerRadius = a.y0, delete a.y0;\n a.outerRadius = a.y1, delete a.y1;\n a.lineStartAngle = function() { return radialLine(x0()); }, delete a.lineX0;\n a.lineEndAngle = function() { return radialLine(x1()); }, delete a.lineX1;\n a.lineInnerRadius = function() { return radialLine(y0()); }, delete a.lineY0;\n a.lineOuterRadius = function() { return radialLine(y1()); }, delete a.lineY1;\n\n a.curve = function(_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n\n return a;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/radialArea.js\n// module id = ./node_modules/d3-shape/src/radialArea.js\n// module chunks = 0","import curveRadial, {curveRadialLinear} from \"./curve/radial\";\nimport line from \"./line\";\n\nexport function radialLine(l) {\n var c = l.curve;\n\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n\n l.curve = function(_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n\n return l;\n}\n\nexport default function() {\n return radialLine(line().curve(curveRadialLinear));\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/radialLine.js\n// module id = ./node_modules/d3-shape/src/radialLine.js\n// module chunks = 0","import {slice} from \"./array\";\nimport constant from \"./constant\";\nimport offsetNone from \"./offset/none\";\nimport orderNone from \"./order/none\";\n\nfunction stackValue(d, key) {\n return d[key];\n}\n\nexport default function() {\n var keys = constant([]),\n order = orderNone,\n offset = offsetNone,\n value = stackValue;\n\n function stack(data) {\n var kz = keys.apply(this, arguments),\n i,\n m = data.length,\n n = kz.length,\n sz = new Array(n),\n oz;\n\n for (i = 0; i < n; ++i) {\n for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {\n si[j] = sij = [0, +value(data[j], ki, j, data)];\n sij.data = data[j];\n }\n si.key = ki;\n }\n\n for (i = 0, oz = order(sz); i < n; ++i) {\n sz[oz[i]].index = i;\n }\n\n offset(sz, oz);\n return sz;\n }\n\n stack.keys = function(_) {\n return arguments.length ? (keys = typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : keys;\n };\n\n stack.value = function(_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), stack) : value;\n };\n\n stack.order = function(_) {\n return arguments.length ? (order = _ == null ? orderNone : typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : order;\n };\n\n stack.offset = function(_) {\n return arguments.length ? (offset = _ == null ? offsetNone : _, stack) : offset;\n };\n\n return stack;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/stack.js\n// module id = ./node_modules/d3-shape/src/stack.js\n// module chunks = 0","import {path} from \"d3-path\";\nimport circle from \"./symbol/circle\";\nimport cross from \"./symbol/cross\";\nimport diamond from \"./symbol/diamond\";\nimport star from \"./symbol/star\";\nimport square from \"./symbol/square\";\nimport triangle from \"./symbol/triangle\";\nimport wye from \"./symbol/wye\";\nimport constant from \"./constant\";\n\nexport var symbols = [\n circle,\n cross,\n diamond,\n square,\n star,\n triangle,\n wye\n];\n\nexport default function() {\n var type = constant(circle),\n size = constant(64),\n context = null;\n\n function symbol() {\n var buffer;\n if (!context) context = buffer = path();\n type.apply(this, arguments).draw(context, +size.apply(this, arguments));\n if (buffer) return context = null, buffer + \"\" || null;\n }\n\n symbol.type = function(_) {\n return arguments.length ? (type = typeof _ === \"function\" ? _ : constant(_), symbol) : type;\n };\n\n symbol.size = function(_) {\n return arguments.length ? (size = typeof _ === \"function\" ? _ : constant(+_), symbol) : size;\n };\n\n symbol.context = function(_) {\n return arguments.length ? (context = _ == null ? null : _, symbol) : context;\n };\n\n return symbol;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol.js\n// module id = ./node_modules/d3-shape/src/symbol.js\n// module chunks = 0","import {pi, tau} from \"../math\";\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size / pi);\n context.moveTo(r, 0);\n context.arc(0, 0, r, 0, tau);\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/circle.js\n// module id = ./node_modules/d3-shape/src/symbol/circle.js\n// module chunks = 0","export default {\n draw: function(context, size) {\n var r = Math.sqrt(size / 5) / 2;\n context.moveTo(-3 * r, -r);\n context.lineTo(-r, -r);\n context.lineTo(-r, -3 * r);\n context.lineTo(r, -3 * r);\n context.lineTo(r, -r);\n context.lineTo(3 * r, -r);\n context.lineTo(3 * r, r);\n context.lineTo(r, r);\n context.lineTo(r, 3 * r);\n context.lineTo(-r, 3 * r);\n context.lineTo(-r, r);\n context.lineTo(-3 * r, r);\n context.closePath();\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/cross.js\n// module id = ./node_modules/d3-shape/src/symbol/cross.js\n// module chunks = 0","var tan30 = Math.sqrt(1 / 3),\n tan30_2 = tan30 * 2;\n\nexport default {\n draw: function(context, size) {\n var y = Math.sqrt(size / tan30_2),\n x = y * tan30;\n context.moveTo(0, -y);\n context.lineTo(x, 0);\n context.lineTo(0, y);\n context.lineTo(-x, 0);\n context.closePath();\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/diamond.js\n// module id = ./node_modules/d3-shape/src/symbol/diamond.js\n// module chunks = 0","export default {\n draw: function(context, size) {\n var w = Math.sqrt(size),\n x = -w / 2;\n context.rect(x, x, w, w);\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/square.js\n// module id = ./node_modules/d3-shape/src/symbol/square.js\n// module chunks = 0","import {pi, tau} from \"../math\";\n\nvar ka = 0.89081309152928522810,\n kr = Math.sin(pi / 10) / Math.sin(7 * pi / 10),\n kx = Math.sin(tau / 10) * kr,\n ky = -Math.cos(tau / 10) * kr;\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size * ka),\n x = kx * r,\n y = ky * r;\n context.moveTo(0, -r);\n context.lineTo(x, y);\n for (var i = 1; i < 5; ++i) {\n var a = tau * i / 5,\n c = Math.cos(a),\n s = Math.sin(a);\n context.lineTo(s * r, -c * r);\n context.lineTo(c * x - s * y, s * x + c * y);\n }\n context.closePath();\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/star.js\n// module id = ./node_modules/d3-shape/src/symbol/star.js\n// module chunks = 0","var sqrt3 = Math.sqrt(3);\n\nexport default {\n draw: function(context, size) {\n var y = -Math.sqrt(size / (sqrt3 * 3));\n context.moveTo(0, y * 2);\n context.lineTo(-sqrt3 * y, -y);\n context.lineTo(sqrt3 * y, -y);\n context.closePath();\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/triangle.js\n// module id = ./node_modules/d3-shape/src/symbol/triangle.js\n// module chunks = 0","var c = -0.5,\n s = Math.sqrt(3) / 2,\n k = 1 / Math.sqrt(12),\n a = (k / 2 + 1) * 3;\n\nexport default {\n draw: function(context, size) {\n var r = Math.sqrt(size / a),\n x0 = r / 2,\n y0 = r * k,\n x1 = x0,\n y1 = r * k + r,\n x2 = -x1,\n y2 = y1;\n context.moveTo(x0, y0);\n context.lineTo(x1, y1);\n context.lineTo(x2, y2);\n context.lineTo(c * x0 - s * y0, s * x0 + c * y0);\n context.lineTo(c * x1 - s * y1, s * x1 + c * y1);\n context.lineTo(c * x2 - s * y2, s * x2 + c * y2);\n context.lineTo(c * x0 + s * y0, c * y0 - s * x0);\n context.lineTo(c * x1 + s * y1, c * y1 - s * x1);\n context.lineTo(c * x2 + s * y2, c * y2 - s * x2);\n context.closePath();\n }\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-shape/src/symbol/wye.js\n// module id = ./node_modules/d3-shape/src/symbol/wye.js\n// module chunks = 0","export {default as timeFormatDefaultLocale, timeFormat, timeParse, utcFormat, utcParse} from \"./src/defaultLocale\";\nexport {default as timeFormatLocale} from \"./src/locale\";\nexport {default as isoFormat} from \"./src/isoFormat\";\nexport {default as isoParse} from \"./src/isoParse\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time-format/index.js\n// module id = ./node_modules/d3-time-format/index.js\n// module chunks = 0","import formatLocale from \"./locale\";\n\nvar locale;\nexport var timeFormat;\nexport var timeParse;\nexport var utcFormat;\nexport var utcParse;\n\ndefaultLocale({\n dateTime: \"%x, %X\",\n date: \"%-m/%-d/%Y\",\n time: \"%-I:%M:%S %p\",\n periods: [\"AM\", \"PM\"],\n days: [\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"],\n shortDays: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n months: [\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"],\n shortMonths: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\", \"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"]\n});\n\nexport default function defaultLocale(definition) {\n locale = formatLocale(definition);\n timeFormat = locale.format;\n timeParse = locale.parse;\n utcFormat = locale.utcFormat;\n utcParse = locale.utcParse;\n return locale;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time-format/src/defaultLocale.js\n// module id = ./node_modules/d3-time-format/src/defaultLocale.js\n// module chunks = 0","import {utcFormat} from \"./defaultLocale\";\n\nexport var isoSpecifier = \"%Y-%m-%dT%H:%M:%S.%LZ\";\n\nfunction formatIsoNative(date) {\n return date.toISOString();\n}\n\nvar formatIso = Date.prototype.toISOString\n ? formatIsoNative\n : utcFormat(isoSpecifier);\n\nexport default formatIso;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time-format/src/isoFormat.js\n// module id = ./node_modules/d3-time-format/src/isoFormat.js\n// module chunks = 0","import {isoSpecifier} from \"./isoFormat\";\nimport {utcParse} from \"./defaultLocale\";\n\nfunction parseIsoNative(string) {\n var date = new Date(string);\n return isNaN(date) ? null : date;\n}\n\nvar parseIso = +new Date(\"2000-01-01T00:00:00.000Z\")\n ? parseIsoNative\n : utcParse(isoSpecifier);\n\nexport default parseIso;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time-format/src/isoParse.js\n// module id = ./node_modules/d3-time-format/src/isoParse.js\n// module chunks = 0","import {timeDay, timeSunday, timeMonday, timeYear, utcDay, utcSunday, utcMonday, utcYear} from \"d3-time\";\n\nfunction localDate(d) {\n if (0 <= d.y && d.y < 100) {\n var date = new Date(-1, d.m, d.d, d.H, d.M, d.S, d.L);\n date.setFullYear(d.y);\n return date;\n }\n return new Date(d.y, d.m, d.d, d.H, d.M, d.S, d.L);\n}\n\nfunction utcDate(d) {\n if (0 <= d.y && d.y < 100) {\n var date = new Date(Date.UTC(-1, d.m, d.d, d.H, d.M, d.S, d.L));\n date.setUTCFullYear(d.y);\n return date;\n }\n return new Date(Date.UTC(d.y, d.m, d.d, d.H, d.M, d.S, d.L));\n}\n\nfunction newYear(y) {\n return {y: y, m: 0, d: 1, H: 0, M: 0, S: 0, L: 0};\n}\n\nexport default function formatLocale(locale) {\n var locale_dateTime = locale.dateTime,\n locale_date = locale.date,\n locale_time = locale.time,\n locale_periods = locale.periods,\n locale_weekdays = locale.days,\n locale_shortWeekdays = locale.shortDays,\n locale_months = locale.months,\n locale_shortMonths = locale.shortMonths;\n\n var periodRe = formatRe(locale_periods),\n periodLookup = formatLookup(locale_periods),\n weekdayRe = formatRe(locale_weekdays),\n weekdayLookup = formatLookup(locale_weekdays),\n shortWeekdayRe = formatRe(locale_shortWeekdays),\n shortWeekdayLookup = formatLookup(locale_shortWeekdays),\n monthRe = formatRe(locale_months),\n monthLookup = formatLookup(locale_months),\n shortMonthRe = formatRe(locale_shortMonths),\n shortMonthLookup = formatLookup(locale_shortMonths);\n\n var formats = {\n \"a\": formatShortWeekday,\n \"A\": formatWeekday,\n \"b\": formatShortMonth,\n \"B\": formatMonth,\n \"c\": null,\n \"d\": formatDayOfMonth,\n \"e\": formatDayOfMonth,\n \"H\": formatHour24,\n \"I\": formatHour12,\n \"j\": formatDayOfYear,\n \"L\": formatMilliseconds,\n \"m\": formatMonthNumber,\n \"M\": formatMinutes,\n \"p\": formatPeriod,\n \"S\": formatSeconds,\n \"U\": formatWeekNumberSunday,\n \"w\": formatWeekdayNumber,\n \"W\": formatWeekNumberMonday,\n \"x\": null,\n \"X\": null,\n \"y\": formatYear,\n \"Y\": formatFullYear,\n \"Z\": formatZone,\n \"%\": formatLiteralPercent\n };\n\n var utcFormats = {\n \"a\": formatUTCShortWeekday,\n \"A\": formatUTCWeekday,\n \"b\": formatUTCShortMonth,\n \"B\": formatUTCMonth,\n \"c\": null,\n \"d\": formatUTCDayOfMonth,\n \"e\": formatUTCDayOfMonth,\n \"H\": formatUTCHour24,\n \"I\": formatUTCHour12,\n \"j\": formatUTCDayOfYear,\n \"L\": formatUTCMilliseconds,\n \"m\": formatUTCMonthNumber,\n \"M\": formatUTCMinutes,\n \"p\": formatUTCPeriod,\n \"S\": formatUTCSeconds,\n \"U\": formatUTCWeekNumberSunday,\n \"w\": formatUTCWeekdayNumber,\n \"W\": formatUTCWeekNumberMonday,\n \"x\": null,\n \"X\": null,\n \"y\": formatUTCYear,\n \"Y\": formatUTCFullYear,\n \"Z\": formatUTCZone,\n \"%\": formatLiteralPercent\n };\n\n var parses = {\n \"a\": parseShortWeekday,\n \"A\": parseWeekday,\n \"b\": parseShortMonth,\n \"B\": parseMonth,\n \"c\": parseLocaleDateTime,\n \"d\": parseDayOfMonth,\n \"e\": parseDayOfMonth,\n \"H\": parseHour24,\n \"I\": parseHour24,\n \"j\": parseDayOfYear,\n \"L\": parseMilliseconds,\n \"m\": parseMonthNumber,\n \"M\": parseMinutes,\n \"p\": parsePeriod,\n \"S\": parseSeconds,\n \"U\": parseWeekNumberSunday,\n \"w\": parseWeekdayNumber,\n \"W\": parseWeekNumberMonday,\n \"x\": parseLocaleDate,\n \"X\": parseLocaleTime,\n \"y\": parseYear,\n \"Y\": parseFullYear,\n \"Z\": parseZone,\n \"%\": parseLiteralPercent\n };\n\n // These recursive directive definitions must be deferred.\n formats.x = newFormat(locale_date, formats);\n formats.X = newFormat(locale_time, formats);\n formats.c = newFormat(locale_dateTime, formats);\n utcFormats.x = newFormat(locale_date, utcFormats);\n utcFormats.X = newFormat(locale_time, utcFormats);\n utcFormats.c = newFormat(locale_dateTime, utcFormats);\n\n function newFormat(specifier, formats) {\n return function(date) {\n var string = [],\n i = -1,\n j = 0,\n n = specifier.length,\n c,\n pad,\n format;\n\n if (!(date instanceof Date)) date = new Date(+date);\n\n while (++i < n) {\n if (specifier.charCodeAt(i) === 37) {\n string.push(specifier.slice(j, i));\n if ((pad = pads[c = specifier.charAt(++i)]) != null) c = specifier.charAt(++i);\n else pad = c === \"e\" ? \" \" : \"0\";\n if (format = formats[c]) c = format(date, pad);\n string.push(c);\n j = i + 1;\n }\n }\n\n string.push(specifier.slice(j, i));\n return string.join(\"\");\n };\n }\n\n function newParse(specifier, newDate) {\n return function(string) {\n var d = newYear(1900),\n i = parseSpecifier(d, specifier, string += \"\", 0);\n if (i != string.length) return null;\n\n // The am-pm flag is 0 for AM, and 1 for PM.\n if (\"p\" in d) d.H = d.H % 12 + d.p * 12;\n\n // Convert day-of-week and week-of-year to day-of-year.\n if (\"W\" in d || \"U\" in d) {\n if (!(\"w\" in d)) d.w = \"W\" in d ? 1 : 0;\n var day = \"Z\" in d ? utcDate(newYear(d.y)).getUTCDay() : newDate(newYear(d.y)).getDay();\n d.m = 0;\n d.d = \"W\" in d ? (d.w + 6) % 7 + d.W * 7 - (day + 5) % 7 : d.w + d.U * 7 - (day + 6) % 7;\n }\n\n // If a time zone is specified, all fields are interpreted as UTC and then\n // offset according to the specified time zone.\n if (\"Z\" in d) {\n d.H += d.Z / 100 | 0;\n d.M += d.Z % 100;\n return utcDate(d);\n }\n\n // Otherwise, all fields are in local time.\n return newDate(d);\n };\n }\n\n function parseSpecifier(d, specifier, string, j) {\n var i = 0,\n n = specifier.length,\n m = string.length,\n c,\n parse;\n\n while (i < n) {\n if (j >= m) return -1;\n c = specifier.charCodeAt(i++);\n if (c === 37) {\n c = specifier.charAt(i++);\n parse = parses[c in pads ? specifier.charAt(i++) : c];\n if (!parse || ((j = parse(d, string, j)) < 0)) return -1;\n } else if (c != string.charCodeAt(j++)) {\n return -1;\n }\n }\n\n return j;\n }\n\n function parsePeriod(d, string, i) {\n var n = periodRe.exec(string.slice(i));\n return n ? (d.p = periodLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseShortWeekday(d, string, i) {\n var n = shortWeekdayRe.exec(string.slice(i));\n return n ? (d.w = shortWeekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseWeekday(d, string, i) {\n var n = weekdayRe.exec(string.slice(i));\n return n ? (d.w = weekdayLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseShortMonth(d, string, i) {\n var n = shortMonthRe.exec(string.slice(i));\n return n ? (d.m = shortMonthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseMonth(d, string, i) {\n var n = monthRe.exec(string.slice(i));\n return n ? (d.m = monthLookup[n[0].toLowerCase()], i + n[0].length) : -1;\n }\n\n function parseLocaleDateTime(d, string, i) {\n return parseSpecifier(d, locale_dateTime, string, i);\n }\n\n function parseLocaleDate(d, string, i) {\n return parseSpecifier(d, locale_date, string, i);\n }\n\n function parseLocaleTime(d, string, i) {\n return parseSpecifier(d, locale_time, string, i);\n }\n\n function formatShortWeekday(d) {\n return locale_shortWeekdays[d.getDay()];\n }\n\n function formatWeekday(d) {\n return locale_weekdays[d.getDay()];\n }\n\n function formatShortMonth(d) {\n return locale_shortMonths[d.getMonth()];\n }\n\n function formatMonth(d) {\n return locale_months[d.getMonth()];\n }\n\n function formatPeriod(d) {\n return locale_periods[+(d.getHours() >= 12)];\n }\n\n function formatUTCShortWeekday(d) {\n return locale_shortWeekdays[d.getUTCDay()];\n }\n\n function formatUTCWeekday(d) {\n return locale_weekdays[d.getUTCDay()];\n }\n\n function formatUTCShortMonth(d) {\n return locale_shortMonths[d.getUTCMonth()];\n }\n\n function formatUTCMonth(d) {\n return locale_months[d.getUTCMonth()];\n }\n\n function formatUTCPeriod(d) {\n return locale_periods[+(d.getUTCHours() >= 12)];\n }\n\n return {\n format: function(specifier) {\n var f = newFormat(specifier += \"\", formats);\n f.toString = function() { return specifier; };\n return f;\n },\n parse: function(specifier) {\n var p = newParse(specifier += \"\", localDate);\n p.toString = function() { return specifier; };\n return p;\n },\n utcFormat: function(specifier) {\n var f = newFormat(specifier += \"\", utcFormats);\n f.toString = function() { return specifier; };\n return f;\n },\n utcParse: function(specifier) {\n var p = newParse(specifier, utcDate);\n p.toString = function() { return specifier; };\n return p;\n }\n };\n}\n\nvar pads = {\"-\": \"\", \"_\": \" \", \"0\": \"0\"},\n numberRe = /^\\s*\\d+/, // note: ignores next directive\n percentRe = /^%/,\n requoteRe = /[\\\\\\^\\$\\*\\+\\?\\|\\[\\]\\(\\)\\.\\{\\}]/g;\n\nfunction pad(value, fill, width) {\n var sign = value < 0 ? \"-\" : \"\",\n string = (sign ? -value : value) + \"\",\n length = string.length;\n return sign + (length < width ? new Array(width - length + 1).join(fill) + string : string);\n}\n\nfunction requote(s) {\n return s.replace(requoteRe, \"\\\\$&\");\n}\n\nfunction formatRe(names) {\n return new RegExp(\"^(?:\" + names.map(requote).join(\"|\") + \")\", \"i\");\n}\n\nfunction formatLookup(names) {\n var map = {}, i = -1, n = names.length;\n while (++i < n) map[names[i].toLowerCase()] = i;\n return map;\n}\n\nfunction parseWeekdayNumber(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 1));\n return n ? (d.w = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberSunday(d, string, i) {\n var n = numberRe.exec(string.slice(i));\n return n ? (d.U = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseWeekNumberMonday(d, string, i) {\n var n = numberRe.exec(string.slice(i));\n return n ? (d.W = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseFullYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 4));\n return n ? (d.y = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.y = +n[0] + (+n[0] > 68 ? 1900 : 2000), i + n[0].length) : -1;\n}\n\nfunction parseZone(d, string, i) {\n var n = /^(Z)|([+-]\\d\\d)(?:\\:?(\\d\\d))?/.exec(string.slice(i, i + 6));\n return n ? (d.Z = n[1] ? 0 : -(n[2] + (n[3] || \"00\")), i + n[0].length) : -1;\n}\n\nfunction parseMonthNumber(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.m = n[0] - 1, i + n[0].length) : -1;\n}\n\nfunction parseDayOfMonth(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseDayOfYear(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 3));\n return n ? (d.m = 0, d.d = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseHour24(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.H = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMinutes(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.M = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseSeconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 2));\n return n ? (d.S = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseMilliseconds(d, string, i) {\n var n = numberRe.exec(string.slice(i, i + 3));\n return n ? (d.L = +n[0], i + n[0].length) : -1;\n}\n\nfunction parseLiteralPercent(d, string, i) {\n var n = percentRe.exec(string.slice(i, i + 1));\n return n ? i + n[0].length : -1;\n}\n\nfunction formatDayOfMonth(d, p) {\n return pad(d.getDate(), p, 2);\n}\n\nfunction formatHour24(d, p) {\n return pad(d.getHours(), p, 2);\n}\n\nfunction formatHour12(d, p) {\n return pad(d.getHours() % 12 || 12, p, 2);\n}\n\nfunction formatDayOfYear(d, p) {\n return pad(1 + timeDay.count(timeYear(d), d), p, 3);\n}\n\nfunction formatMilliseconds(d, p) {\n return pad(d.getMilliseconds(), p, 3);\n}\n\nfunction formatMonthNumber(d, p) {\n return pad(d.getMonth() + 1, p, 2);\n}\n\nfunction formatMinutes(d, p) {\n return pad(d.getMinutes(), p, 2);\n}\n\nfunction formatSeconds(d, p) {\n return pad(d.getSeconds(), p, 2);\n}\n\nfunction formatWeekNumberSunday(d, p) {\n return pad(timeSunday.count(timeYear(d), d), p, 2);\n}\n\nfunction formatWeekdayNumber(d) {\n return d.getDay();\n}\n\nfunction formatWeekNumberMonday(d, p) {\n return pad(timeMonday.count(timeYear(d), d), p, 2);\n}\n\nfunction formatYear(d, p) {\n return pad(d.getFullYear() % 100, p, 2);\n}\n\nfunction formatFullYear(d, p) {\n return pad(d.getFullYear() % 10000, p, 4);\n}\n\nfunction formatZone(d) {\n var z = d.getTimezoneOffset();\n return (z > 0 ? \"-\" : (z *= -1, \"+\"))\n + pad(z / 60 | 0, \"0\", 2)\n + pad(z % 60, \"0\", 2);\n}\n\nfunction formatUTCDayOfMonth(d, p) {\n return pad(d.getUTCDate(), p, 2);\n}\n\nfunction formatUTCHour24(d, p) {\n return pad(d.getUTCHours(), p, 2);\n}\n\nfunction formatUTCHour12(d, p) {\n return pad(d.getUTCHours() % 12 || 12, p, 2);\n}\n\nfunction formatUTCDayOfYear(d, p) {\n return pad(1 + utcDay.count(utcYear(d), d), p, 3);\n}\n\nfunction formatUTCMilliseconds(d, p) {\n return pad(d.getUTCMilliseconds(), p, 3);\n}\n\nfunction formatUTCMonthNumber(d, p) {\n return pad(d.getUTCMonth() + 1, p, 2);\n}\n\nfunction formatUTCMinutes(d, p) {\n return pad(d.getUTCMinutes(), p, 2);\n}\n\nfunction formatUTCSeconds(d, p) {\n return pad(d.getUTCSeconds(), p, 2);\n}\n\nfunction formatUTCWeekNumberSunday(d, p) {\n return pad(utcSunday.count(utcYear(d), d), p, 2);\n}\n\nfunction formatUTCWeekdayNumber(d) {\n return d.getUTCDay();\n}\n\nfunction formatUTCWeekNumberMonday(d, p) {\n return pad(utcMonday.count(utcYear(d), d), p, 2);\n}\n\nfunction formatUTCYear(d, p) {\n return pad(d.getUTCFullYear() % 100, p, 2);\n}\n\nfunction formatUTCFullYear(d, p) {\n return pad(d.getUTCFullYear() % 10000, p, 4);\n}\n\nfunction formatUTCZone() {\n return \"+0000\";\n}\n\nfunction formatLiteralPercent() {\n return \"%\";\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time-format/src/locale.js\n// module id = ./node_modules/d3-time-format/src/locale.js\n// module chunks = 0","export {\n default as timeInterval\n} from \"./src/interval\";\n\nexport {\n default as timeMillisecond,\n milliseconds as timeMilliseconds,\n default as utcMillisecond,\n milliseconds as utcMilliseconds\n} from \"./src/millisecond\";\n\nexport {\n default as timeSecond,\n seconds as timeSeconds,\n default as utcSecond,\n seconds as utcSeconds\n} from \"./src/second\";\n\nexport {\n default as timeMinute,\n minutes as timeMinutes\n} from \"./src/minute\";\n\nexport {\n default as timeHour,\n hours as timeHours\n} from \"./src/hour\";\n\nexport {\n default as timeDay,\n days as timeDays\n} from \"./src/day\";\n\nexport {\n sunday as timeWeek,\n sundays as timeWeeks,\n sunday as timeSunday,\n sundays as timeSundays,\n monday as timeMonday,\n mondays as timeMondays,\n tuesday as timeTuesday,\n tuesdays as timeTuesdays,\n wednesday as timeWednesday,\n wednesdays as timeWednesdays,\n thursday as timeThursday,\n thursdays as timeThursdays,\n friday as timeFriday,\n fridays as timeFridays,\n saturday as timeSaturday,\n saturdays as timeSaturdays\n} from \"./src/week\";\n\nexport {\n default as timeMonth,\n months as timeMonths\n} from \"./src/month\";\n\nexport {\n default as timeYear,\n years as timeYears\n} from \"./src/year\";\n\nexport {\n default as utcMinute,\n utcMinutes as utcMinutes\n} from \"./src/utcMinute\";\n\nexport {\n default as utcHour,\n utcHours as utcHours\n} from \"./src/utcHour\";\n\nexport {\n default as utcDay,\n utcDays as utcDays\n} from \"./src/utcDay\";\n\nexport {\n utcSunday as utcWeek,\n utcSundays as utcWeeks,\n utcSunday as utcSunday,\n utcSundays as utcSundays,\n utcMonday as utcMonday,\n utcMondays as utcMondays,\n utcTuesday as utcTuesday,\n utcTuesdays as utcTuesdays,\n utcWednesday as utcWednesday,\n utcWednesdays as utcWednesdays,\n utcThursday as utcThursday,\n utcThursdays as utcThursdays,\n utcFriday as utcFriday,\n utcFridays as utcFridays,\n utcSaturday as utcSaturday,\n utcSaturdays as utcSaturdays\n} from \"./src/utcWeek\";\n\nexport {\n default as utcMonth,\n utcMonths as utcMonths\n} from \"./src/utcMonth\";\n\nexport {\n default as utcYear,\n utcYears as utcYears\n} from \"./src/utcYear\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/index.js\n// module id = ./node_modules/d3-time/index.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationDay, durationMinute} from \"./duration\";\n\nvar day = interval(function(date) {\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setDate(date.getDate() + step);\n}, function(start, end) {\n return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationDay;\n}, function(date) {\n return date.getDate() - 1;\n});\n\nexport default day;\nexport var days = day.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/day.js\n// module id = ./node_modules/d3-time/src/day.js\n// module chunks = 0","export var durationSecond = 1e3;\nexport var durationMinute = 6e4;\nexport var durationHour = 36e5;\nexport var durationDay = 864e5;\nexport var durationWeek = 6048e5;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/duration.js\n// module id = ./node_modules/d3-time/src/duration.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationHour, durationMinute} from \"./duration\";\n\nvar hour = interval(function(date) {\n var offset = date.getTimezoneOffset() * durationMinute % durationHour;\n if (offset < 0) offset += durationHour;\n date.setTime(Math.floor((+date - offset) / durationHour) * durationHour + offset);\n}, function(date, step) {\n date.setTime(+date + step * durationHour);\n}, function(start, end) {\n return (end - start) / durationHour;\n}, function(date) {\n return date.getHours();\n});\n\nexport default hour;\nexport var hours = hour.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/hour.js\n// module id = ./node_modules/d3-time/src/hour.js\n// module chunks = 0","var t0 = new Date,\n t1 = new Date;\n\nexport default function newInterval(floori, offseti, count, field) {\n\n function interval(date) {\n return floori(date = new Date(+date)), date;\n }\n\n interval.floor = interval;\n\n interval.ceil = function(date) {\n return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date;\n };\n\n interval.round = function(date) {\n var d0 = interval(date),\n d1 = interval.ceil(date);\n return date - d0 < d1 - date ? d0 : d1;\n };\n\n interval.offset = function(date, step) {\n return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date;\n };\n\n interval.range = function(start, stop, step) {\n var range = [];\n start = interval.ceil(start);\n step = step == null ? 1 : Math.floor(step);\n if (!(start < stop) || !(step > 0)) return range; // also handles Invalid Date\n do range.push(new Date(+start)); while (offseti(start, step), floori(start), start < stop)\n return range;\n };\n\n interval.filter = function(test) {\n return newInterval(function(date) {\n if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1);\n }, function(date, step) {\n if (date >= date) while (--step >= 0) while (offseti(date, 1), !test(date)) {} // eslint-disable-line no-empty\n });\n };\n\n if (count) {\n interval.count = function(start, end) {\n t0.setTime(+start), t1.setTime(+end);\n floori(t0), floori(t1);\n return Math.floor(count(t0, t1));\n };\n\n interval.every = function(step) {\n step = Math.floor(step);\n return !isFinite(step) || !(step > 0) ? null\n : !(step > 1) ? interval\n : interval.filter(field\n ? function(d) { return field(d) % step === 0; }\n : function(d) { return interval.count(0, d) % step === 0; });\n };\n }\n\n return interval;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/interval.js\n// module id = ./node_modules/d3-time/src/interval.js\n// module chunks = 0","import interval from \"./interval\";\n\nvar millisecond = interval(function() {\n // noop\n}, function(date, step) {\n date.setTime(+date + step);\n}, function(start, end) {\n return end - start;\n});\n\n// An optimized implementation for this simple case.\nmillisecond.every = function(k) {\n k = Math.floor(k);\n if (!isFinite(k) || !(k > 0)) return null;\n if (!(k > 1)) return millisecond;\n return interval(function(date) {\n date.setTime(Math.floor(date / k) * k);\n }, function(date, step) {\n date.setTime(+date + step * k);\n }, function(start, end) {\n return (end - start) / k;\n });\n};\n\nexport default millisecond;\nexport var milliseconds = millisecond.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/millisecond.js\n// module id = ./node_modules/d3-time/src/millisecond.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationMinute} from \"./duration\";\n\nvar minute = interval(function(date) {\n date.setTime(Math.floor(date / durationMinute) * durationMinute);\n}, function(date, step) {\n date.setTime(+date + step * durationMinute);\n}, function(start, end) {\n return (end - start) / durationMinute;\n}, function(date) {\n return date.getMinutes();\n});\n\nexport default minute;\nexport var minutes = minute.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/minute.js\n// module id = ./node_modules/d3-time/src/minute.js\n// module chunks = 0","import interval from \"./interval\";\n\nvar month = interval(function(date) {\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setMonth(date.getMonth() + step);\n}, function(start, end) {\n return end.getMonth() - start.getMonth() + (end.getFullYear() - start.getFullYear()) * 12;\n}, function(date) {\n return date.getMonth();\n});\n\nexport default month;\nexport var months = month.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/month.js\n// module id = ./node_modules/d3-time/src/month.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationSecond} from \"./duration\";\n\nvar second = interval(function(date) {\n date.setTime(Math.floor(date / durationSecond) * durationSecond);\n}, function(date, step) {\n date.setTime(+date + step * durationSecond);\n}, function(start, end) {\n return (end - start) / durationSecond;\n}, function(date) {\n return date.getUTCSeconds();\n});\n\nexport default second;\nexport var seconds = second.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/second.js\n// module id = ./node_modules/d3-time/src/second.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationDay} from \"./duration\";\n\nvar utcDay = interval(function(date) {\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCDate(date.getUTCDate() + step);\n}, function(start, end) {\n return (end - start) / durationDay;\n}, function(date) {\n return date.getUTCDate() - 1;\n});\n\nexport default utcDay;\nexport var utcDays = utcDay.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/utcDay.js\n// module id = ./node_modules/d3-time/src/utcDay.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationHour} from \"./duration\";\n\nvar utcHour = interval(function(date) {\n date.setUTCMinutes(0, 0, 0);\n}, function(date, step) {\n date.setTime(+date + step * durationHour);\n}, function(start, end) {\n return (end - start) / durationHour;\n}, function(date) {\n return date.getUTCHours();\n});\n\nexport default utcHour;\nexport var utcHours = utcHour.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/utcHour.js\n// module id = ./node_modules/d3-time/src/utcHour.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationMinute} from \"./duration\";\n\nvar utcMinute = interval(function(date) {\n date.setUTCSeconds(0, 0);\n}, function(date, step) {\n date.setTime(+date + step * durationMinute);\n}, function(start, end) {\n return (end - start) / durationMinute;\n}, function(date) {\n return date.getUTCMinutes();\n});\n\nexport default utcMinute;\nexport var utcMinutes = utcMinute.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/utcMinute.js\n// module id = ./node_modules/d3-time/src/utcMinute.js\n// module chunks = 0","import interval from \"./interval\";\n\nvar utcMonth = interval(function(date) {\n date.setUTCDate(1);\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCMonth(date.getUTCMonth() + step);\n}, function(start, end) {\n return end.getUTCMonth() - start.getUTCMonth() + (end.getUTCFullYear() - start.getUTCFullYear()) * 12;\n}, function(date) {\n return date.getUTCMonth();\n});\n\nexport default utcMonth;\nexport var utcMonths = utcMonth.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/utcMonth.js\n// module id = ./node_modules/d3-time/src/utcMonth.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationWeek} from \"./duration\";\n\nfunction utcWeekday(i) {\n return interval(function(date) {\n date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7);\n date.setUTCHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setUTCDate(date.getUTCDate() + step * 7);\n }, function(start, end) {\n return (end - start) / durationWeek;\n });\n}\n\nexport var utcSunday = utcWeekday(0);\nexport var utcMonday = utcWeekday(1);\nexport var utcTuesday = utcWeekday(2);\nexport var utcWednesday = utcWeekday(3);\nexport var utcThursday = utcWeekday(4);\nexport var utcFriday = utcWeekday(5);\nexport var utcSaturday = utcWeekday(6);\n\nexport var utcSundays = utcSunday.range;\nexport var utcMondays = utcMonday.range;\nexport var utcTuesdays = utcTuesday.range;\nexport var utcWednesdays = utcWednesday.range;\nexport var utcThursdays = utcThursday.range;\nexport var utcFridays = utcFriday.range;\nexport var utcSaturdays = utcSaturday.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/utcWeek.js\n// module id = ./node_modules/d3-time/src/utcWeek.js\n// module chunks = 0","import interval from \"./interval\";\n\nvar utcYear = interval(function(date) {\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setUTCFullYear(date.getUTCFullYear() + step);\n}, function(start, end) {\n return end.getUTCFullYear() - start.getUTCFullYear();\n}, function(date) {\n return date.getUTCFullYear();\n});\n\n// An optimized implementation for this simple case.\nutcYear.every = function(k) {\n return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : interval(function(date) {\n date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k);\n date.setUTCMonth(0, 1);\n date.setUTCHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setUTCFullYear(date.getUTCFullYear() + step * k);\n });\n};\n\nexport default utcYear;\nexport var utcYears = utcYear.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/utcYear.js\n// module id = ./node_modules/d3-time/src/utcYear.js\n// module chunks = 0","import interval from \"./interval\";\nimport {durationMinute, durationWeek} from \"./duration\";\n\nfunction weekday(i) {\n return interval(function(date) {\n date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7);\n date.setHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setDate(date.getDate() + step * 7);\n }, function(start, end) {\n return (end - start - (end.getTimezoneOffset() - start.getTimezoneOffset()) * durationMinute) / durationWeek;\n });\n}\n\nexport var sunday = weekday(0);\nexport var monday = weekday(1);\nexport var tuesday = weekday(2);\nexport var wednesday = weekday(3);\nexport var thursday = weekday(4);\nexport var friday = weekday(5);\nexport var saturday = weekday(6);\n\nexport var sundays = sunday.range;\nexport var mondays = monday.range;\nexport var tuesdays = tuesday.range;\nexport var wednesdays = wednesday.range;\nexport var thursdays = thursday.range;\nexport var fridays = friday.range;\nexport var saturdays = saturday.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/week.js\n// module id = ./node_modules/d3-time/src/week.js\n// module chunks = 0","import interval from \"./interval\";\n\nvar year = interval(function(date) {\n date.setMonth(0, 1);\n date.setHours(0, 0, 0, 0);\n}, function(date, step) {\n date.setFullYear(date.getFullYear() + step);\n}, function(start, end) {\n return end.getFullYear() - start.getFullYear();\n}, function(date) {\n return date.getFullYear();\n});\n\n// An optimized implementation for this simple case.\nyear.every = function(k) {\n return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : interval(function(date) {\n date.setFullYear(Math.floor(date.getFullYear() / k) * k);\n date.setMonth(0, 1);\n date.setHours(0, 0, 0, 0);\n }, function(date, step) {\n date.setFullYear(date.getFullYear() + step * k);\n });\n};\n\nexport default year;\nexport var years = year.range;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-time/src/year.js\n// module id = ./node_modules/d3-time/src/year.js\n// module chunks = 0","export {\n now,\n timer,\n timerFlush\n} from \"./src/timer\";\n\nexport {\n default as timeout\n} from \"./src/timeout\";\n\nexport {\n default as interval\n} from \"./src/interval\";\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-timer/index.js\n// module id = ./node_modules/d3-timer/index.js\n// module chunks = 0","import {Timer, now} from \"./timer\";\n\nexport default function(callback, delay, time) {\n var t = new Timer, total = delay;\n if (delay == null) return t.restart(callback, delay, time), t;\n delay = +delay, time = time == null ? now() : +time;\n t.restart(function tick(elapsed) {\n elapsed += total;\n t.restart(tick, total += delay, time);\n callback(elapsed);\n }, delay, time);\n return t;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-timer/src/interval.js\n// module id = ./node_modules/d3-timer/src/interval.js\n// module chunks = 0","import {Timer} from \"./timer\";\n\nexport default function(callback, delay, time) {\n var t = new Timer;\n delay = delay == null ? 0 : +delay;\n t.restart(function(elapsed) {\n t.stop();\n callback(elapsed + delay);\n }, delay, time);\n return t;\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-timer/src/timeout.js\n// module id = ./node_modules/d3-timer/src/timeout.js\n// module chunks = 0","var frame = 0, // is an animation frame pending?\n timeout = 0, // is a timeout pending?\n interval = 0, // are any timers active?\n pokeDelay = 1000, // how frequently we check for clock skew\n taskHead,\n taskTail,\n clockLast = 0,\n clockNow = 0,\n clockSkew = 0,\n clock = typeof performance === \"object\" && performance.now ? performance : Date,\n setFrame = typeof requestAnimationFrame === \"function\" ? requestAnimationFrame : function(f) { setTimeout(f, 17); };\n\nexport function now() {\n return clockNow || (setFrame(clearNow), clockNow = clock.now() + clockSkew);\n}\n\nfunction clearNow() {\n clockNow = 0;\n}\n\nexport function Timer() {\n this._call =\n this._time =\n this._next = null;\n}\n\nTimer.prototype = timer.prototype = {\n constructor: Timer,\n restart: function(callback, delay, time) {\n if (typeof callback !== \"function\") throw new TypeError(\"callback is not a function\");\n time = (time == null ? now() : +time) + (delay == null ? 0 : +delay);\n if (!this._next && taskTail !== this) {\n if (taskTail) taskTail._next = this;\n else taskHead = this;\n taskTail = this;\n }\n this._call = callback;\n this._time = time;\n sleep();\n },\n stop: function() {\n if (this._call) {\n this._call = null;\n this._time = Infinity;\n sleep();\n }\n }\n};\n\nexport function timer(callback, delay, time) {\n var t = new Timer;\n t.restart(callback, delay, time);\n return t;\n}\n\nexport function timerFlush() {\n now(); // Get the current time, if not already set.\n ++frame; // Pretend we’ve set an alarm, if we haven’t already.\n var t = taskHead, e;\n while (t) {\n if ((e = clockNow - t._time) >= 0) t._call.call(null, e);\n t = t._next;\n }\n --frame;\n}\n\nfunction wake() {\n clockNow = (clockLast = clock.now()) + clockSkew;\n frame = timeout = 0;\n try {\n timerFlush();\n } finally {\n frame = 0;\n nap();\n clockNow = 0;\n }\n}\n\nfunction poke() {\n var now = clock.now(), delay = now - clockLast;\n if (delay > pokeDelay) clockSkew -= delay, clockLast = now;\n}\n\nfunction nap() {\n var t0, t1 = taskHead, t2, time = Infinity;\n while (t1) {\n if (t1._call) {\n if (time > t1._time) time = t1._time;\n t0 = t1, t1 = t1._next;\n } else {\n t2 = t1._next, t1._next = null;\n t1 = t0 ? t0._next = t2 : taskHead = t2;\n }\n }\n taskTail = t0;\n sleep(time);\n}\n\nfunction sleep(time) {\n if (frame) return; // Soonest alarm already set, or will be.\n if (timeout) timeout = clearTimeout(timeout);\n var delay = time - clockNow;\n if (delay > 24) {\n if (time < Infinity) timeout = setTimeout(wake, delay);\n if (interval) interval = clearInterval(interval);\n } else {\n if (!interval) clockLast = clockNow, interval = setInterval(poke, pokeDelay);\n frame = 1, setFrame(wake);\n }\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/d3-timer/src/timer.js\n// module id = ./node_modules/d3-timer/src/timer.js\n// module chunks = 0","/**\n DataStream reads scalars, arrays and structs of data from an ArrayBuffer.\n It's like a file-like DataView on steroids.\n\n @param {ArrayBuffer} arrayBuffer ArrayBuffer to read from.\n @param {?Number} byteOffset Offset from arrayBuffer beginning for the DataStream.\n @param {?Boolean} endianness DataStream.BIG_ENDIAN or DataStream.LITTLE_ENDIAN (the default).\n */\nDataStream = function(arrayBuffer, byteOffset, endianness) {\n this._byteOffset = byteOffset || 0;\n if (arrayBuffer instanceof ArrayBuffer) {\n this.buffer = arrayBuffer;\n } else if (typeof arrayBuffer == \"object\") {\n this.dataView = arrayBuffer;\n if (byteOffset) {\n this._byteOffset += byteOffset;\n }\n } else {\n this.buffer = new ArrayBuffer(arrayBuffer || 1);\n }\n this.position = 0;\n this.endianness = endianness == null ? DataStream.LITTLE_ENDIAN : endianness;\n};\nDataStream.prototype = {};\n\n/* Fix for Opera 12 not defining BYTES_PER_ELEMENT in typed array prototypes. */\nif (Uint8Array.prototype.BYTES_PER_ELEMENT === undefined) {\n Uint8Array.prototype.BYTES_PER_ELEMENT = Uint8Array.BYTES_PER_ELEMENT; \n Int8Array.prototype.BYTES_PER_ELEMENT = Int8Array.BYTES_PER_ELEMENT; \n Uint8ClampedArray.prototype.BYTES_PER_ELEMENT = Uint8ClampedArray.BYTES_PER_ELEMENT; \n Uint16Array.prototype.BYTES_PER_ELEMENT = Uint16Array.BYTES_PER_ELEMENT; \n Int16Array.prototype.BYTES_PER_ELEMENT = Int16Array.BYTES_PER_ELEMENT; \n Uint32Array.prototype.BYTES_PER_ELEMENT = Uint32Array.BYTES_PER_ELEMENT; \n Int32Array.prototype.BYTES_PER_ELEMENT = Int32Array.BYTES_PER_ELEMENT; \n Float64Array.prototype.BYTES_PER_ELEMENT = Float64Array.BYTES_PER_ELEMENT; \n}\n\n/**\n Saves the DataStream contents to the given filename.\n Uses Chrome's anchor download property to initiate download.\n\n @param {string} filename Filename to save as.\n @return {null}\n */\nDataStream.prototype.save = function(filename) {\n var blob = new Blob(this.buffer);\n var URL = (window.webkitURL || window.URL);\n if (URL && URL.createObjectURL) {\n var url = URL.createObjectURL(blob);\n var a = document.createElement('a');\n a.setAttribute('href', url);\n a.setAttribute('download', filename);\n a.click();\n URL.revokeObjectURL(url);\n } else {\n throw(\"DataStream.save: Can't create object URL.\");\n }\n};\n\n/**\n Big-endian const to use as default endianness.\n @type {boolean}\n */\nDataStream.BIG_ENDIAN = false;\n\n/**\n Little-endian const to use as default endianness.\n @type {boolean}\n */\nDataStream.LITTLE_ENDIAN = true;\n\n/**\n Whether to extend DataStream buffer when trying to write beyond its size.\n If set, the buffer is reallocated to twice its current size until the\n requested write fits the buffer.\n @type {boolean}\n */\nDataStream.prototype._dynamicSize = true;\nObject.defineProperty(DataStream.prototype, 'dynamicSize',\n { get: function() {\n return this._dynamicSize;\n },\n set: function(v) {\n if (!v) {\n this._trimAlloc();\n }\n this._dynamicSize = v;\n } });\n\n/**\n Virtual byte length of the DataStream backing buffer.\n Updated to be max of original buffer size and last written size.\n If dynamicSize is false is set to buffer size.\n @type {number}\n */\nDataStream.prototype._byteLength = 0;\n\n/**\n Returns the byte length of the DataStream object.\n @type {number}\n */\nObject.defineProperty(DataStream.prototype, 'byteLength',\n { get: function() {\n return this._byteLength - this._byteOffset;\n }});\n\n/**\n Set/get the backing ArrayBuffer of the DataStream object.\n The setter updates the DataView to point to the new buffer.\n @type {Object}\n */\nObject.defineProperty(DataStream.prototype, 'buffer',\n { get: function() {\n this._trimAlloc();\n return this._buffer;\n },\n set: function(v) {\n this._buffer = v;\n this._dataView = new DataView(this._buffer, this._byteOffset);\n this._byteLength = this._buffer.byteLength;\n } });\n\n/**\n Set/get the byteOffset of the DataStream object.\n The setter updates the DataView to point to the new byteOffset.\n @type {number}\n */\nObject.defineProperty(DataStream.prototype, 'byteOffset',\n { get: function() {\n return this._byteOffset;\n },\n set: function(v) {\n this._byteOffset = v;\n this._dataView = new DataView(this._buffer, this._byteOffset);\n this._byteLength = this._buffer.byteLength;\n } });\n\n/**\n Set/get the backing DataView of the DataStream object.\n The setter updates the buffer and byteOffset to point to the DataView values.\n @type {Object}\n */\nObject.defineProperty(DataStream.prototype, 'dataView',\n { get: function() {\n return this._dataView;\n },\n set: function(v) {\n this._byteOffset = v.byteOffset;\n this._buffer = v.buffer;\n this._dataView = new DataView(this._buffer, this._byteOffset);\n this._byteLength = this._byteOffset + v.byteLength;\n } });\n\n/**\n Internal function to resize the DataStream buffer when required.\n @param {number} extra Number of bytes to add to the buffer allocation.\n @return {null}\n */\nDataStream.prototype._realloc = function(extra) {\n if (!this._dynamicSize) {\n return;\n }\n var req = this._byteOffset + this.position + extra;\n var blen = this._buffer.byteLength;\n if (req <= blen) {\n if (req > this._byteLength) {\n this._byteLength = req;\n }\n return;\n }\n if (blen < 1) {\n blen = 1;\n }\n while (req > blen) {\n blen *= 2;\n }\n var buf = new ArrayBuffer(blen);\n var src = new Uint8Array(this._buffer);\n var dst = new Uint8Array(buf, 0, src.length);\n dst.set(src);\n this.buffer = buf;\n this._byteLength = req;\n};\n\n/**\n Internal function to trim the DataStream buffer when required.\n Used for stripping out the extra bytes from the backing buffer when\n the virtual byteLength is smaller than the buffer byteLength (happens after\n growing the buffer with writes and not filling the extra space completely).\n\n @return {null}\n */\nDataStream.prototype._trimAlloc = function() {\n if (this._byteLength == this._buffer.byteLength) {\n return;\n }\n var buf = new ArrayBuffer(this._byteLength);\n var dst = new Uint8Array(buf);\n var src = new Uint8Array(this._buffer, 0, dst.length);\n dst.set(src);\n this.buffer = buf;\n};\n\n/**\n Sets the DataStream read/write position to given position.\n Clamps between 0 and DataStream length.\n\n @param {number} pos Position to seek to.\n @return {null}\n */\nDataStream.prototype.seek = function(pos) {\n var npos = Math.max(0, Math.min(this.byteLength, pos));\n this.position = (isNaN(npos) || !isFinite(npos)) ? 0 : npos;\n};\n\n/**\n Returns true if the DataStream seek pointer is at the end of buffer and\n there's no more data to read.\n\n @return {boolean} True if the seek pointer is at the end of the buffer.\n */\nDataStream.prototype.isEof = function() {\n return (this.position >= this.byteLength);\n};\n\n/**\n Maps an Int32Array into the DataStream buffer, swizzling it to native\n endianness in-place. The current offset from the start of the buffer needs to\n be a multiple of element size, just like with typed array views.\n\n Nice for quickly reading in data. Warning: potentially modifies the buffer\n contents.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Int32Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapInt32Array = function(length, e) {\n this._realloc(length * 4);\n var arr = new Int32Array(this._buffer, this.byteOffset+this.position, length);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += length * 4;\n return arr;\n};\n\n/**\n Maps an Int16Array into the DataStream buffer, swizzling it to native\n endianness in-place. The current offset from the start of the buffer needs to\n be a multiple of element size, just like with typed array views.\n\n Nice for quickly reading in data. Warning: potentially modifies the buffer\n contents.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Int16Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapInt16Array = function(length, e) {\n this._realloc(length * 2);\n var arr = new Int16Array(this._buffer, this.byteOffset+this.position, length);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += length * 2;\n return arr;\n};\n\n/**\n Maps an Int8Array into the DataStream buffer.\n\n Nice for quickly reading in data.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Int8Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapInt8Array = function(length) {\n this._realloc(length * 1);\n var arr = new Int8Array(this._buffer, this.byteOffset+this.position, length);\n this.position += length * 1;\n return arr;\n};\n\n/**\n Maps a Uint32Array into the DataStream buffer, swizzling it to native\n endianness in-place. The current offset from the start of the buffer needs to\n be a multiple of element size, just like with typed array views.\n\n Nice for quickly reading in data. Warning: potentially modifies the buffer\n contents.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Uint32Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapUint32Array = function(length, e) {\n this._realloc(length * 4);\n var arr = new Uint32Array(this._buffer, this.byteOffset+this.position, length);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += length * 4;\n return arr;\n};\n\n/**\n Maps a Uint16Array into the DataStream buffer, swizzling it to native\n endianness in-place. The current offset from the start of the buffer needs to\n be a multiple of element size, just like with typed array views.\n\n Nice for quickly reading in data. Warning: potentially modifies the buffer\n contents.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Uint16Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapUint16Array = function(length, e) {\n this._realloc(length * 2);\n var arr = new Uint16Array(this._buffer, this.byteOffset+this.position, length);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += length * 2;\n return arr;\n};\n\n/**\n Maps a Uint8Array into the DataStream buffer.\n\n Nice for quickly reading in data.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Uint8Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapUint8Array = function(length) {\n this._realloc(length * 1);\n var arr = new Uint8Array(this._buffer, this.byteOffset+this.position, length);\n this.position += length * 1;\n return arr;\n};\n\n/**\n Maps a Float64Array into the DataStream buffer, swizzling it to native\n endianness in-place. The current offset from the start of the buffer needs to\n be a multiple of element size, just like with typed array views.\n\n Nice for quickly reading in data. Warning: potentially modifies the buffer\n contents.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Float64Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapFloat64Array = function(length, e) {\n this._realloc(length * 8);\n var arr = new Float64Array(this._buffer, this.byteOffset+this.position, length);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += length * 8;\n return arr;\n};\n\n/**\n Maps a Float32Array into the DataStream buffer, swizzling it to native\n endianness in-place. The current offset from the start of the buffer needs to\n be a multiple of element size, just like with typed array views.\n\n Nice for quickly reading in data. Warning: potentially modifies the buffer\n contents.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} Float32Array to the DataStream backing buffer.\n */\nDataStream.prototype.mapFloat32Array = function(length, e) {\n this._realloc(length * 4);\n var arr = new Float32Array(this._buffer, this.byteOffset+this.position, length);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += length * 4;\n return arr;\n};\n\n/**\n Reads an Int32Array of desired length and endianness from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Int32Array.\n */\nDataStream.prototype.readInt32Array = function(length, e) {\n length = length == null ? (this.byteLength-this.position / 4) : length;\n var arr = new Int32Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads an Int16Array of desired length and endianness from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Int16Array.\n */\nDataStream.prototype.readInt16Array = function(length, e) {\n length = length == null ? (this.byteLength-this.position / 2) : length;\n var arr = new Int16Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads an Int8Array of desired length from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Int8Array.\n */\nDataStream.prototype.readInt8Array = function(length) {\n length = length == null ? (this.byteLength-this.position) : length;\n var arr = new Int8Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads a Uint32Array of desired length and endianness from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Uint32Array.\n */\nDataStream.prototype.readUint32Array = function(length, e) {\n length = length == null ? (this.byteLength-this.position / 4) : length;\n var arr = new Uint32Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads a Uint16Array of desired length and endianness from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Uint16Array.\n */\nDataStream.prototype.readUint16Array = function(length, e) {\n length = length == null ? (this.byteLength-this.position / 2) : length;\n var arr = new Uint16Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads a Uint8Array of desired length from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Uint8Array.\n */\nDataStream.prototype.readUint8Array = function(length) {\n length = length == null ? (this.byteLength-this.position) : length;\n var arr = new Uint8Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads a Float64Array of desired length and endianness from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Float64Array.\n */\nDataStream.prototype.readFloat64Array = function(length, e) {\n length = length == null ? (this.byteLength-this.position / 8) : length;\n var arr = new Float64Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Reads a Float32Array of desired length and endianness from the DataStream.\n\n @param {number} length Number of elements to map.\n @param {?boolean} e Endianness of the data to read.\n @return {Object} The read Float32Array.\n */\nDataStream.prototype.readFloat32Array = function(length, e) {\n length = length == null ? (this.byteLength-this.position / 4) : length;\n var arr = new Float32Array(length);\n DataStream.memcpy(arr.buffer, 0,\n this.buffer, this.byteOffset+this.position,\n length*arr.BYTES_PER_ELEMENT);\n DataStream.arrayToNative(arr, e == null ? this.endianness : e);\n this.position += arr.byteLength;\n return arr;\n};\n\n/**\n Writes an Int32Array of specified endianness to the DataStream.\n\n @param {Object} arr The array to write.\n @param {?boolean} e Endianness of the data to write.\n */\nDataStream.prototype.writeInt32Array = function(arr, e) {\n this._realloc(arr.length * 4);\n if (arr instanceof Int32Array &&\n (this.byteOffset+this.position) % arr.BYTES_PER_ELEMENT == 0) {\n DataStream.memcpy(this._buffer, this.byteOffset+this.position,\n arr.buffer, 0,\n arr.byteLength);\n this.mapInt32Array(arr.length, e);\n } else {\n for (var i=0; i 0;\n\n/**\n Copies byteLength bytes from the src buffer at srcOffset to the\n dst buffer at dstOffset.\n\n @param {Object} dst Destination ArrayBuffer to write to.\n @param {number} dstOffset Offset to the destination ArrayBuffer.\n @param {Object} src Source ArrayBuffer to read from.\n @param {number} srcOffset Offset to the source ArrayBuffer.\n @param {number} byteLength Number of bytes to copy.\n */\nDataStream.memcpy = function(dst, dstOffset, src, srcOffset, byteLength) {\n var dstU8 = new Uint8Array(dst, dstOffset, byteLength);\n var srcU8 = new Uint8Array(src, srcOffset, byteLength);\n dstU8.set(srcU8);\n};\n\n/**\n Converts array to native endianness in-place.\n\n @param {Object} array Typed array to convert.\n @param {boolean} arrayIsLittleEndian True if the data in the array is\n little-endian. Set false for big-endian.\n @return {Object} The converted typed array.\n */\nDataStream.arrayToNative = function(array, arrayIsLittleEndian) {\n if (arrayIsLittleEndian == this.endianness) {\n return array;\n } else {\n return this.flipArrayEndianness(array);\n }\n};\n\n/**\n Converts native endianness array to desired endianness in-place.\n\n @param {Object} array Typed array to convert.\n @param {boolean} littleEndian True if the converted array should be\n little-endian. Set false for big-endian.\n @return {Object} The converted typed array.\n */\nDataStream.nativeToEndian = function(array, littleEndian) {\n if (this.endianness == littleEndian) {\n return array;\n } else {\n return this.flipArrayEndianness(array);\n }\n};\n\n/**\n Flips typed array endianness in-place.\n\n @param {Object} array Typed array to flip.\n @return {Object} The converted typed array.\n */\nDataStream.flipArrayEndianness = function(array) {\n var u8 = new Uint8Array(array.buffer, array.byteOffset, array.byteLength);\n for (var i=0; ik; j--, k++) {\n var tmp = u8[k];\n u8[k] = u8[j];\n u8[j] = tmp;\n }\n }\n return array;\n};\n\n/**\n Creates an array from an array of character codes.\n Uses String.fromCharCode in chunks for memory efficiency and then concatenates\n the resulting string chunks.\n\n @param {array} array Array of character codes.\n @return {string} String created from the character codes.\n**/\nDataStream.createStringFromArray = function(array) {\n var chunk_size = 0x8000;\n var chunks = [];\n for (var i=0; i < array.length; i += chunk_size) {\n chunks.push(String.fromCharCode.apply(null, array.subarray(i, i + chunk_size)));\n }\n return chunks.join(\"\");\n};\n\n/**\n Seek position where DataStream#readStruct ran into a problem.\n Useful for debugging struct parsing.\n\n @type {number}\n */\nDataStream.prototype.failurePosition = 0;\n\n/**\n Reads a struct of data from the DataStream. The struct is defined as\n a flat array of [name, type]-pairs. See the example below:\n\n ds.readStruct([\n 'headerTag', 'uint32', // Uint32 in DataStream endianness.\n 'headerTag2', 'uint32be', // Big-endian Uint32.\n 'headerTag3', 'uint32le', // Little-endian Uint32.\n 'array', ['[]', 'uint32', 16], // Uint32Array of length 16.\n 'array2Length', 'uint32',\n 'array2', ['[]', 'uint32', 'array2Length'] // Uint32Array of length array2Length\n ]);\n\n The possible values for the type are as follows:\n\n // Number types\n\n // Unsuffixed number types use DataStream endianness.\n // To explicitly specify endianness, suffix the type with\n // 'le' for little-endian or 'be' for big-endian,\n // e.g. 'int32be' for big-endian int32.\n\n 'uint8' -- 8-bit unsigned int\n 'uint16' -- 16-bit unsigned int\n 'uint32' -- 32-bit unsigned int\n 'int8' -- 8-bit int\n 'int16' -- 16-bit int\n 'int32' -- 32-bit int\n 'float32' -- 32-bit float\n 'float64' -- 64-bit float\n\n // String types\n 'cstring' -- ASCII string terminated by a zero byte.\n 'string:N' -- ASCII string of length N, where N is a literal integer.\n 'string:variableName' -- ASCII string of length $variableName,\n where 'variableName' is a previously parsed number in the current struct.\n 'string,CHARSET:N' -- String of byteLength N encoded with given CHARSET.\n 'u16string:N' -- UCS-2 string of length N in DataStream endianness.\n 'u16stringle:N' -- UCS-2 string of length N in little-endian.\n 'u16stringbe:N' -- UCS-2 string of length N in big-endian.\n\n // Complex types\n [name, type, name_2, type_2, ..., name_N, type_N] -- Struct\n function(dataStream, struct) {} -- Callback function to read and return data.\n {get: function(dataStream, struct) {},\n set: function(dataStream, struct) {}}\n -- Getter/setter functions to read and return data, handy for using the same\n struct definition for reading and writing structs.\n ['[]', type, length] -- Array of given type and length. The length can be either\n a number, a string that references a previously-read\n field, or a callback function(struct, dataStream, type){}.\n If length is '*', reads in as many elements as it can.\n\n @param {Object} structDefinition Struct definition object.\n @return {Object} The read struct. Null if failed to read struct.\n */\nDataStream.prototype.readStruct = function(structDefinition) {\n var struct = {}, t, v, n;\n var p = this.position;\n for (var i=0; i= visibleRect.left && pos.left + size.width > visibleRect.right) {\n size.width -= pos.left + size.width - visibleRect.right;\n }\n\n // Right edge outside viewport, try to move it.\n if (overflow.adjustX && pos.left + size.width > visibleRect.right) {\n // 保证左边界和可视区域左边界对齐\n pos.left = Math.max(visibleRect.right - size.width, visibleRect.left);\n }\n\n // Top edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top < visibleRect.top) {\n pos.top = visibleRect.top;\n }\n\n // Top edge inside and bottom edge outside viewport, try to resize it.\n if (overflow.resizeHeight && pos.top >= visibleRect.top && pos.top + size.height > visibleRect.bottom) {\n size.height -= pos.top + size.height - visibleRect.bottom;\n }\n\n // Bottom edge outside viewport, try to move it.\n if (overflow.adjustY && pos.top + size.height > visibleRect.bottom) {\n // 保证上边界和可视区域上边界对齐\n pos.top = Math.max(visibleRect.bottom - size.height, visibleRect.top);\n }\n\n return _utils2[\"default\"].mix(pos, size);\n}\n\nexports[\"default\"] = adjustForViewport;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/adjustForViewport.js\n// module id = ./node_modules/dom-align/lib/adjustForViewport.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * 获取 node 上的 align 对齐点 相对于页面的坐标\n */\n\nfunction getAlignOffset(region, align) {\n var V = align.charAt(0);\n var H = align.charAt(1);\n var w = region.width;\n var h = region.height;\n var x = void 0;\n var y = void 0;\n\n x = region.left;\n y = region.top;\n\n if (V === 'c') {\n y += h / 2;\n } else if (V === 'b') {\n y += h;\n }\n\n if (H === 'c') {\n x += w / 2;\n } else if (H === 'r') {\n x += w;\n }\n\n return {\n left: x,\n top: y\n };\n}\n\nexports[\"default\"] = getAlignOffset;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getAlignOffset.js\n// module id = ./node_modules/dom-align/lib/getAlignOffset.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _getAlignOffset = require('./getAlignOffset');\n\nvar _getAlignOffset2 = _interopRequireDefault(_getAlignOffset);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction getElFuturePos(elRegion, refNodeRegion, points, offset, targetOffset) {\n var xy = void 0;\n var diff = void 0;\n var p1 = void 0;\n var p2 = void 0;\n\n xy = {\n left: elRegion.left,\n top: elRegion.top\n };\n\n p1 = (0, _getAlignOffset2[\"default\"])(refNodeRegion, points[1]);\n p2 = (0, _getAlignOffset2[\"default\"])(elRegion, points[0]);\n\n diff = [p2.left - p1.left, p2.top - p1.top];\n\n return {\n left: xy.left - diff[0] + offset[0] - targetOffset[0],\n top: xy.top - diff[1] + offset[1] - targetOffset[1]\n };\n}\n\nexports[\"default\"] = getElFuturePos;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getElFuturePos.js\n// module id = ./node_modules/dom-align/lib/getElFuturePos.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n/**\n * 得到会导致元素显示不全的祖先元素\n */\n\nfunction getOffsetParent(element) {\n // ie 这个也不是完全可行\n /*\n
\n
\n 元素 6 高 100px 宽 50px
\n
\n
\n */\n // element.offsetParent does the right thing in ie7 and below. Return parent with layout!\n // In other browsers it only includes elements with position absolute, relative or\n // fixed, not elements with overflow set to auto or scroll.\n // if (UA.ie && ieMode < 8) {\n // return element.offsetParent;\n // }\n // 统一的 offsetParent 方法\n var doc = element.ownerDocument;\n var body = doc.body;\n var parent = void 0;\n var positionStyle = _utils2[\"default\"].css(element, 'position');\n var skipStatic = positionStyle === 'fixed' || positionStyle === 'absolute';\n\n if (!skipStatic) {\n return element.nodeName.toLowerCase() === 'html' ? null : element.parentNode;\n }\n\n for (parent = element.parentNode; parent && parent !== body; parent = parent.parentNode) {\n positionStyle = _utils2[\"default\"].css(parent, 'position');\n if (positionStyle !== 'static') {\n return parent;\n }\n }\n return null;\n}\n\nexports[\"default\"] = getOffsetParent;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getOffsetParent.js\n// module id = ./node_modules/dom-align/lib/getOffsetParent.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nfunction getRegion(node) {\n var offset = void 0;\n var w = void 0;\n var h = void 0;\n if (!_utils2[\"default\"].isWindow(node) && node.nodeType !== 9) {\n offset = _utils2[\"default\"].offset(node);\n w = _utils2[\"default\"].outerWidth(node);\n h = _utils2[\"default\"].outerHeight(node);\n } else {\n var win = _utils2[\"default\"].getWindow(node);\n offset = {\n left: _utils2[\"default\"].getWindowScrollLeft(win),\n top: _utils2[\"default\"].getWindowScrollTop(win)\n };\n w = _utils2[\"default\"].viewportWidth(win);\n h = _utils2[\"default\"].viewportHeight(win);\n }\n offset.width = w;\n offset.height = h;\n return offset;\n}\n\nexports[\"default\"] = getRegion;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getRegion.js\n// module id = ./node_modules/dom-align/lib/getRegion.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _getOffsetParent = require('./getOffsetParent');\n\nvar _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n/**\n * 获得元素的显示部分的区域\n */\nfunction getVisibleRectForElement(element) {\n var visibleRect = {\n left: 0,\n right: Infinity,\n top: 0,\n bottom: Infinity\n };\n var el = (0, _getOffsetParent2[\"default\"])(element);\n var scrollX = void 0;\n var scrollY = void 0;\n var winSize = void 0;\n var doc = element.ownerDocument;\n var win = doc.defaultView || doc.parentWindow;\n var body = doc.body;\n var documentElement = doc.documentElement;\n\n // Determine the size of the visible rect by climbing the dom accounting for\n // all scrollable containers.\n while (el) {\n // clientWidth is zero for inline block elements in ie.\n if ((navigator.userAgent.indexOf('MSIE') === -1 || el.clientWidth !== 0) &&\n // body may have overflow set on it, yet we still get the entire\n // viewport. In some browsers, el.offsetParent may be\n // document.documentElement, so check for that too.\n el !== body && el !== documentElement && _utils2[\"default\"].css(el, 'overflow') !== 'visible') {\n var pos = _utils2[\"default\"].offset(el);\n // add border\n pos.left += el.clientLeft;\n pos.top += el.clientTop;\n visibleRect.top = Math.max(visibleRect.top, pos.top);\n visibleRect.right = Math.min(visibleRect.right,\n // consider area without scrollBar\n pos.left + el.clientWidth);\n visibleRect.bottom = Math.min(visibleRect.bottom, pos.top + el.clientHeight);\n visibleRect.left = Math.max(visibleRect.left, pos.left);\n } else if (el === body || el === documentElement) {\n break;\n }\n el = (0, _getOffsetParent2[\"default\"])(el);\n }\n\n // Clip by window's viewport.\n scrollX = _utils2[\"default\"].getWindowScrollLeft(win);\n scrollY = _utils2[\"default\"].getWindowScrollTop(win);\n visibleRect.left = Math.max(visibleRect.left, scrollX);\n visibleRect.top = Math.max(visibleRect.top, scrollY);\n winSize = {\n width: _utils2[\"default\"].viewportWidth(win),\n height: _utils2[\"default\"].viewportHeight(win)\n };\n visibleRect.right = Math.min(visibleRect.right, scrollX + winSize.width);\n visibleRect.bottom = Math.min(visibleRect.bottom, scrollY + winSize.height);\n return visibleRect.top >= 0 && visibleRect.left >= 0 && visibleRect.bottom > visibleRect.top && visibleRect.right > visibleRect.left ? visibleRect : null;\n}\n\nexports[\"default\"] = getVisibleRectForElement;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/getVisibleRectForElement.js\n// module id = ./node_modules/dom-align/lib/getVisibleRectForElement.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _utils = require('./utils');\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _getOffsetParent = require('./getOffsetParent');\n\nvar _getOffsetParent2 = _interopRequireDefault(_getOffsetParent);\n\nvar _getVisibleRectForElement = require('./getVisibleRectForElement');\n\nvar _getVisibleRectForElement2 = _interopRequireDefault(_getVisibleRectForElement);\n\nvar _adjustForViewport = require('./adjustForViewport');\n\nvar _adjustForViewport2 = _interopRequireDefault(_adjustForViewport);\n\nvar _getRegion = require('./getRegion');\n\nvar _getRegion2 = _interopRequireDefault(_getRegion);\n\nvar _getElFuturePos = require('./getElFuturePos');\n\nvar _getElFuturePos2 = _interopRequireDefault(_getElFuturePos);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\n// http://yiminghe.iteye.com/blog/1124720\n\n/**\n * align dom node flexibly\n * @author yiminghe@gmail.com\n */\n\nfunction isFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left < visibleRect.left || elFuturePos.left + elRegion.width > visibleRect.right;\n}\n\nfunction isFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top < visibleRect.top || elFuturePos.top + elRegion.height > visibleRect.bottom;\n}\n\nfunction isCompleteFailX(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.left > visibleRect.right || elFuturePos.left + elRegion.width < visibleRect.left;\n}\n\nfunction isCompleteFailY(elFuturePos, elRegion, visibleRect) {\n return elFuturePos.top > visibleRect.bottom || elFuturePos.top + elRegion.height < visibleRect.top;\n}\n\nfunction flip(points, reg, map) {\n var ret = [];\n _utils2[\"default\"].each(points, function (p) {\n ret.push(p.replace(reg, function (m) {\n return map[m];\n }));\n });\n return ret;\n}\n\nfunction flipOffset(offset, index) {\n offset[index] = -offset[index];\n return offset;\n}\n\nfunction convertOffset(str, offsetLen) {\n var n = void 0;\n if (/%$/.test(str)) {\n n = parseInt(str.substring(0, str.length - 1), 10) / 100 * offsetLen;\n } else {\n n = parseInt(str, 10);\n }\n return n || 0;\n}\n\nfunction normalizeOffset(offset, el) {\n offset[0] = convertOffset(offset[0], el.width);\n offset[1] = convertOffset(offset[1], el.height);\n}\n\nfunction domAlign(el, refNode, align) {\n var points = align.points;\n var offset = align.offset || [0, 0];\n var targetOffset = align.targetOffset || [0, 0];\n var overflow = align.overflow;\n var target = align.target || refNode;\n var source = align.source || el;\n offset = [].concat(offset);\n targetOffset = [].concat(targetOffset);\n overflow = overflow || {};\n var newOverflowCfg = {};\n\n var fail = 0;\n // 当前节点可以被放置的显示区域\n var visibleRect = (0, _getVisibleRectForElement2[\"default\"])(source);\n // 当前节点所占的区域, left/top/width/height\n var elRegion = (0, _getRegion2[\"default\"])(source);\n // 参照节点所占的区域, left/top/width/height\n var refNodeRegion = (0, _getRegion2[\"default\"])(target);\n // 将 offset 转换成数值,支持百分比\n normalizeOffset(offset, elRegion);\n normalizeOffset(targetOffset, refNodeRegion);\n // 当前节点将要被放置的位置\n var elFuturePos = (0, _getElFuturePos2[\"default\"])(elRegion, refNodeRegion, points, offset, targetOffset);\n // 当前节点将要所处的区域\n var newElRegion = _utils2[\"default\"].merge(elRegion, elFuturePos);\n\n // 如果可视区域不能完全放置当前节点时允许调整\n if (visibleRect && (overflow.adjustX || overflow.adjustY)) {\n if (overflow.adjustX) {\n // 如果横向不能放下\n if (isFailX(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var newPoints = flip(points, /[lr]/ig, {\n l: 'r',\n r: 'l'\n });\n // 偏移量也反下\n var newOffset = flipOffset(offset, 0);\n var newTargetOffset = flipOffset(targetOffset, 0);\n var newElFuturePos = (0, _getElFuturePos2[\"default\"])(elRegion, refNodeRegion, newPoints, newOffset, newTargetOffset);\n if (!isCompleteFailX(newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = newPoints;\n offset = newOffset;\n targetOffset = newTargetOffset;\n }\n }\n }\n\n if (overflow.adjustY) {\n // 如果纵向不能放下\n if (isFailY(elFuturePos, elRegion, visibleRect)) {\n // 对齐位置反下\n var _newPoints = flip(points, /[tb]/ig, {\n t: 'b',\n b: 't'\n });\n // 偏移量也反下\n var _newOffset = flipOffset(offset, 1);\n var _newTargetOffset = flipOffset(targetOffset, 1);\n var _newElFuturePos = (0, _getElFuturePos2[\"default\"])(elRegion, refNodeRegion, _newPoints, _newOffset, _newTargetOffset);\n if (!isCompleteFailY(_newElFuturePos, elRegion, visibleRect)) {\n fail = 1;\n points = _newPoints;\n offset = _newOffset;\n targetOffset = _newTargetOffset;\n }\n }\n }\n\n // 如果失败,重新计算当前节点将要被放置的位置\n if (fail) {\n elFuturePos = (0, _getElFuturePos2[\"default\"])(elRegion, refNodeRegion, points, offset, targetOffset);\n _utils2[\"default\"].mix(newElRegion, elFuturePos);\n }\n\n // 检查反下后的位置是否可以放下了\n // 如果仍然放不下只有指定了可以调整当前方向才调整\n newOverflowCfg.adjustX = overflow.adjustX && isFailX(elFuturePos, elRegion, visibleRect);\n\n newOverflowCfg.adjustY = overflow.adjustY && isFailY(elFuturePos, elRegion, visibleRect);\n\n // 确实要调整,甚至可能会调整高度宽度\n if (newOverflowCfg.adjustX || newOverflowCfg.adjustY) {\n newElRegion = (0, _adjustForViewport2[\"default\"])(elFuturePos, elRegion, visibleRect, newOverflowCfg);\n }\n }\n\n // need judge to in case set fixed with in css on height auto element\n if (newElRegion.width !== elRegion.width) {\n _utils2[\"default\"].css(source, 'width', _utils2[\"default\"].width(source) + newElRegion.width - elRegion.width);\n }\n\n if (newElRegion.height !== elRegion.height) {\n _utils2[\"default\"].css(source, 'height', _utils2[\"default\"].height(source) + newElRegion.height - elRegion.height);\n }\n\n // https://github.com/kissyteam/kissy/issues/190\n // 相对于屏幕位置没变,而 left/top 变了\n // 例如
\n _utils2[\"default\"].offset(source, {\n left: newElRegion.left,\n top: newElRegion.top\n }, {\n useCssRight: align.useCssRight,\n useCssBottom: align.useCssBottom,\n useCssTransform: align.useCssTransform\n });\n\n return {\n points: points,\n offset: offset,\n targetOffset: targetOffset,\n overflow: newOverflowCfg\n };\n}\n\ndomAlign.__getOffsetParent = _getOffsetParent2[\"default\"];\n\ndomAlign.__getVisibleRectForElement = _getVisibleRectForElement2[\"default\"];\n\nexports[\"default\"] = domAlign;\n/**\n * 2012-04-26 yiminghe@gmail.com\n * - 优化智能对齐算法\n * - 慎用 resizeXX\n *\n * 2011-07-13 yiminghe@gmail.com note:\n * - 增加智能对齐,以及大小调整选项\n **/\n\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/index.js\n// module id = ./node_modules/dom-align/lib/index.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getTransformName = getTransformName;\nexports.setTransitionProperty = setTransitionProperty;\nexports.getTransitionProperty = getTransitionProperty;\nexports.getTransformXY = getTransformXY;\nexports.setTransformXY = setTransformXY;\nvar vendorPrefix = void 0;\n\nvar jsCssMap = {\n Webkit: '-webkit-',\n Moz: '-moz-',\n // IE did it wrong again ...\n ms: '-ms-',\n O: '-o-'\n};\n\nfunction getVendorPrefix() {\n if (vendorPrefix !== undefined) {\n return vendorPrefix;\n }\n vendorPrefix = '';\n var style = document.createElement('p').style;\n var testProp = 'Transform';\n for (var key in jsCssMap) {\n if (key + testProp in style) {\n vendorPrefix = key;\n }\n }\n return vendorPrefix;\n}\n\nfunction getTransitionName() {\n return getVendorPrefix() ? getVendorPrefix() + 'TransitionProperty' : 'transitionProperty';\n}\n\nfunction getTransformName() {\n return getVendorPrefix() ? getVendorPrefix() + 'Transform' : 'transform';\n}\n\nfunction setTransitionProperty(node, value) {\n var name = getTransitionName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transitionProperty') {\n node.style.transitionProperty = value;\n }\n }\n}\n\nfunction setTransform(node, value) {\n var name = getTransformName();\n if (name) {\n node.style[name] = value;\n if (name !== 'transform') {\n node.style.transform = value;\n }\n }\n}\n\nfunction getTransitionProperty(node) {\n return node.style.transitionProperty || node.style[getTransitionName()];\n}\n\nfunction getTransformXY(node) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var matrix = transform.replace(/[^0-9\\-.,]/g, '').split(',');\n return { x: parseFloat(matrix[12] || matrix[4], 0), y: parseFloat(matrix[13] || matrix[5], 0) };\n }\n return {\n x: 0,\n y: 0\n };\n}\n\nvar matrix2d = /matrix\\((.*)\\)/;\nvar matrix3d = /matrix3d\\((.*)\\)/;\n\nfunction setTransformXY(node, xy) {\n var style = window.getComputedStyle(node, null);\n var transform = style.getPropertyValue('transform') || style.getPropertyValue(getTransformName());\n if (transform && transform !== 'none') {\n var arr = void 0;\n var match2d = transform.match(matrix2d);\n if (match2d) {\n match2d = match2d[1];\n arr = match2d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[4] = xy.x;\n arr[5] = xy.y;\n setTransform(node, 'matrix(' + arr.join(',') + ')');\n } else {\n var match3d = transform.match(matrix3d)[1];\n arr = match3d.split(',').map(function (item) {\n return parseFloat(item, 10);\n });\n arr[12] = xy.x;\n arr[13] = xy.y;\n setTransform(node, 'matrix3d(' + arr.join(',') + ')');\n }\n } else {\n setTransform(node, 'translateX(' + xy.x + 'px) translateY(' + xy.y + 'px) translateZ(0)');\n }\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/propertyUtils.js\n// module id = ./node_modules/dom-align/lib/propertyUtils.js\n// module chunks = 0","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\nvar _propertyUtils = require('./propertyUtils');\n\nvar RE_NUM = /[\\-+]?(?:\\d*\\.|)\\d+(?:[eE][\\-+]?\\d+|)/.source;\n\nvar getComputedStyleX = void 0;\n\nfunction force(x, y) {\n return x + y;\n}\n\nfunction css(el, name, v) {\n var value = v;\n if ((typeof name === 'undefined' ? 'undefined' : _typeof(name)) === 'object') {\n for (var i in name) {\n if (name.hasOwnProperty(i)) {\n css(el, i, name[i]);\n }\n }\n return undefined;\n }\n if (typeof value !== 'undefined') {\n if (typeof value === 'number') {\n value = value + 'px';\n }\n el.style[name] = value;\n return undefined;\n }\n return getComputedStyleX(el, name);\n}\n\nfunction getClientPosition(elem) {\n var box = void 0;\n var x = void 0;\n var y = void 0;\n var doc = elem.ownerDocument;\n var body = doc.body;\n var docElem = doc && doc.documentElement;\n // 根据 GBS 最新数据,A-Grade Browsers 都已支持 getBoundingClientRect 方法,不用再考虑传统的实现方式\n box = elem.getBoundingClientRect();\n\n // 注:jQuery 还考虑减去 docElem.clientLeft/clientTop\n // 但测试发现,这样反而会导致当 html 和 body 有边距/边框样式时,获取的值不正确\n // 此外,ie6 会忽略 html 的 margin 值,幸运地是没有谁会去设置 html 的 margin\n\n x = box.left;\n y = box.top;\n\n // In IE, most of the time, 2 extra pixels are added to the top and left\n // due to the implicit 2-pixel inset border. In IE6/7 quirks mode and\n // IE6 standards mode, this border can be overridden by setting the\n // document element's border to zero -- thus, we cannot rely on the\n // offset always being 2 pixels.\n\n // In quirks mode, the offset can be determined by querying the body's\n // clientLeft/clientTop, but in standards mode, it is found by querying\n // the document element's clientLeft/clientTop. Since we already called\n // getClientBoundingRect we have already forced a reflow, so it is not\n // too expensive just to query them all.\n\n // ie 下应该减去窗口的边框吧,毕竟默认 absolute 都是相对窗口定位的\n // 窗口边框标准是设 documentElement ,quirks 时设置 body\n // 最好禁止在 body 和 html 上边框 ,但 ie < 9 html 默认有 2px ,减去\n // 但是非 ie 不可能设置窗口边框,body html 也不是窗口 ,ie 可以通过 html,body 设置\n // 标准 ie 下 docElem.clientTop 就是 border-top\n // ie7 html 即窗口边框改变不了。永远为 2\n // 但标准 firefox/chrome/ie9 下 docElem.clientTop 是窗口边框,即使设了 border-top 也为 0\n\n x -= docElem.clientLeft || body.clientLeft || 0;\n y -= docElem.clientTop || body.clientTop || 0;\n\n return {\n left: x,\n top: y\n };\n}\n\nfunction getScroll(w, top) {\n var ret = w['page' + (top ? 'Y' : 'X') + 'Offset'];\n var method = 'scroll' + (top ? 'Top' : 'Left');\n if (typeof ret !== 'number') {\n var d = w.document;\n // ie6,7,8 standard mode\n ret = d.documentElement[method];\n if (typeof ret !== 'number') {\n // quirks mode\n ret = d.body[method];\n }\n }\n return ret;\n}\n\nfunction getScrollLeft(w) {\n return getScroll(w);\n}\n\nfunction getScrollTop(w) {\n return getScroll(w, true);\n}\n\nfunction getOffset(el) {\n var pos = getClientPosition(el);\n var doc = el.ownerDocument;\n var w = doc.defaultView || doc.parentWindow;\n pos.left += getScrollLeft(w);\n pos.top += getScrollTop(w);\n return pos;\n}\nfunction _getComputedStyle(elem, name, cs) {\n var computedStyle = cs;\n var val = '';\n var d = elem.ownerDocument;\n computedStyle = computedStyle || d.defaultView.getComputedStyle(elem, null);\n\n // https://github.com/kissyteam/kissy/issues/61\n if (computedStyle) {\n val = computedStyle.getPropertyValue(name) || computedStyle[name];\n }\n\n return val;\n}\n\nvar _RE_NUM_NO_PX = new RegExp('^(' + RE_NUM + ')(?!px)[a-z%]+$', 'i');\nvar RE_POS = /^(top|right|bottom|left)$/;\nvar CURRENT_STYLE = 'currentStyle';\nvar RUNTIME_STYLE = 'runtimeStyle';\nvar LEFT = 'left';\nvar PX = 'px';\n\nfunction _getComputedStyleIE(elem, name) {\n // currentStyle maybe null\n // http://msdn.microsoft.com/en-us/library/ms535231.aspx\n var ret = elem[CURRENT_STYLE] && elem[CURRENT_STYLE][name];\n\n // 当 width/height 设置为百分比时,通过 pixelLeft 方式转换的 width/height 值\n // 一开始就处理了! CUSTOM_STYLE.height,CUSTOM_STYLE.width ,cssHook 解决@2011-08-19\n // 在 ie 下不对,需要直接用 offset 方式\n // borderWidth 等值也有问题,但考虑到 borderWidth 设为百分比的概率很小,这里就不考虑了\n\n // From the awesome hack by Dean Edwards\n // http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n // If we're not dealing with a regular pixel number\n // but a number that has a weird ending, we need to convert it to pixels\n // exclude left right for relativity\n if (_RE_NUM_NO_PX.test(ret) && !RE_POS.test(name)) {\n // Remember the original values\n var style = elem.style;\n var left = style[LEFT];\n var rsLeft = elem[RUNTIME_STYLE][LEFT];\n\n // prevent flashing of content\n elem[RUNTIME_STYLE][LEFT] = elem[CURRENT_STYLE][LEFT];\n\n // Put in the new values to get a computed value out\n style[LEFT] = name === 'fontSize' ? '1em' : ret || 0;\n ret = style.pixelLeft + PX;\n\n // Revert the changed values\n style[LEFT] = left;\n\n elem[RUNTIME_STYLE][LEFT] = rsLeft;\n }\n return ret === '' ? 'auto' : ret;\n}\n\nif (typeof window !== 'undefined') {\n getComputedStyleX = window.getComputedStyle ? _getComputedStyle : _getComputedStyleIE;\n}\n\nfunction getOffsetDirection(dir, option) {\n if (dir === 'left') {\n return option.useCssRight ? 'right' : dir;\n }\n return option.useCssBottom ? 'bottom' : dir;\n}\n\nfunction oppositeOffsetDirection(dir) {\n if (dir === 'left') {\n return 'right';\n } else if (dir === 'right') {\n return 'left';\n } else if (dir === 'top') {\n return 'bottom';\n } else if (dir === 'bottom') {\n return 'top';\n }\n}\n\n// 设置 elem 相对 elem.ownerDocument 的坐标\nfunction setLeftTop(elem, offset, option) {\n // set position first, in-case top/left are set even on static elem\n if (css(elem, 'position') === 'static') {\n elem.style.position = 'relative';\n }\n var presetH = -999;\n var presetV = -999;\n var horizontalProperty = getOffsetDirection('left', option);\n var verticalProperty = getOffsetDirection('top', option);\n var oppositeHorizontalProperty = oppositeOffsetDirection(horizontalProperty);\n var oppositeVerticalProperty = oppositeOffsetDirection(verticalProperty);\n\n if (horizontalProperty !== 'left') {\n presetH = 999;\n }\n\n if (verticalProperty !== 'top') {\n presetV = 999;\n }\n var originalTransition = '';\n var originalOffset = getOffset(elem);\n if ('left' in offset || 'top' in offset) {\n originalTransition = (0, _propertyUtils.getTransitionProperty)(elem) || '';\n (0, _propertyUtils.setTransitionProperty)(elem, 'none');\n }\n if ('left' in offset) {\n elem.style[oppositeHorizontalProperty] = '';\n elem.style[horizontalProperty] = presetH + 'px';\n }\n if ('top' in offset) {\n elem.style[oppositeVerticalProperty] = '';\n elem.style[verticalProperty] = presetV + 'px';\n }\n var old = getOffset(elem);\n var originalStyle = {};\n for (var key in offset) {\n if (offset.hasOwnProperty(key)) {\n var dir = getOffsetDirection(key, option);\n var preset = key === 'left' ? presetH : presetV;\n var off = originalOffset[key] - old[key];\n if (dir === key) {\n originalStyle[dir] = preset + off;\n } else {\n originalStyle[dir] = preset - off;\n }\n }\n }\n css(elem, originalStyle);\n // force relayout\n force(elem.offsetTop, elem.offsetLeft);\n if ('left' in offset || 'top' in offset) {\n (0, _propertyUtils.setTransitionProperty)(elem, originalTransition);\n }\n var ret = {};\n for (var _key in offset) {\n if (offset.hasOwnProperty(_key)) {\n var _dir = getOffsetDirection(_key, option);\n var _off = offset[_key] - originalOffset[_key];\n if (_key === _dir) {\n ret[_dir] = originalStyle[_dir] + _off;\n } else {\n ret[_dir] = originalStyle[_dir] - _off;\n }\n }\n }\n css(elem, ret);\n}\n\nfunction setTransform(elem, offset) {\n var originalOffset = getOffset(elem);\n var originalXY = (0, _propertyUtils.getTransformXY)(elem);\n var resultXY = { x: originalXY.x, y: originalXY.y };\n if ('left' in offset) {\n resultXY.x = originalXY.x + offset.left - originalOffset.left;\n }\n if ('top' in offset) {\n resultXY.y = originalXY.y + offset.top - originalOffset.top;\n }\n (0, _propertyUtils.setTransformXY)(elem, resultXY);\n}\n\nfunction setOffset(elem, offset, option) {\n if (option.useCssRight || option.useCssBottom) {\n setLeftTop(elem, offset, option);\n } else if (option.useCssTransform && (0, _propertyUtils.getTransformName)() in document.body.style) {\n setTransform(elem, offset, option);\n } else {\n setLeftTop(elem, offset, option);\n }\n}\n\nfunction each(arr, fn) {\n for (var i = 0; i < arr.length; i++) {\n fn(arr[i]);\n }\n}\n\nfunction isBorderBoxFn(elem) {\n return getComputedStyleX(elem, 'boxSizing') === 'border-box';\n}\n\nvar BOX_MODELS = ['margin', 'border', 'padding'];\nvar CONTENT_INDEX = -1;\nvar PADDING_INDEX = 2;\nvar BORDER_INDEX = 1;\nvar MARGIN_INDEX = 0;\n\nfunction swap(elem, options, callback) {\n var old = {};\n var style = elem.style;\n var name = void 0;\n\n // Remember the old values, and insert the new ones\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n old[name] = style[name];\n style[name] = options[name];\n }\n }\n\n callback.call(elem);\n\n // Revert the old values\n for (name in options) {\n if (options.hasOwnProperty(name)) {\n style[name] = old[name];\n }\n }\n}\n\nfunction getPBMWidth(elem, props, which) {\n var value = 0;\n var prop = void 0;\n var j = void 0;\n var i = void 0;\n for (j = 0; j < props.length; j++) {\n prop = props[j];\n if (prop) {\n for (i = 0; i < which.length; i++) {\n var cssProp = void 0;\n if (prop === 'border') {\n cssProp = '' + prop + which[i] + 'Width';\n } else {\n cssProp = prop + which[i];\n }\n value += parseFloat(getComputedStyleX(elem, cssProp)) || 0;\n }\n }\n }\n return value;\n}\n\n/**\n * A crude way of determining if an object is a window\n * @member util\n */\nfunction isWindow(obj) {\n // must use == for ie8\n /* eslint eqeqeq:0 */\n return obj !== null && obj !== undefined && obj == obj.window;\n}\n\nvar domUtils = {};\n\neach(['Width', 'Height'], function (name) {\n domUtils['doc' + name] = function (refWin) {\n var d = refWin.document;\n return Math.max(\n // firefox chrome documentElement.scrollHeight< body.scrollHeight\n // ie standard mode : documentElement.scrollHeight> body.scrollHeight\n d.documentElement['scroll' + name],\n // quirks : documentElement.scrollHeight 最大等于可视窗口多一点?\n d.body['scroll' + name], domUtils['viewport' + name](d));\n };\n\n domUtils['viewport' + name] = function (win) {\n // pc browser includes scrollbar in window.innerWidth\n var prop = 'client' + name;\n var doc = win.document;\n var body = doc.body;\n var documentElement = doc.documentElement;\n var documentElementProp = documentElement[prop];\n // 标准模式取 documentElement\n // backcompat 取 body\n return doc.compatMode === 'CSS1Compat' && documentElementProp || body && body[prop] || documentElementProp;\n };\n});\n\n/*\n 得到元素的大小信息\n @param elem\n @param name\n @param {String} [extra] 'padding' : (css width) + padding\n 'border' : (css width) + padding + border\n 'margin' : (css width) + padding + border + margin\n */\nfunction getWH(elem, name, ex) {\n var extra = ex;\n if (isWindow(elem)) {\n return name === 'width' ? domUtils.viewportWidth(elem) : domUtils.viewportHeight(elem);\n } else if (elem.nodeType === 9) {\n return name === 'width' ? domUtils.docWidth(elem) : domUtils.docHeight(elem);\n }\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n var borderBoxValue = name === 'width' ? elem.offsetWidth : elem.offsetHeight;\n var computedStyle = getComputedStyleX(elem);\n var isBorderBox = isBorderBoxFn(elem, computedStyle);\n var cssBoxValue = 0;\n if (borderBoxValue === null || borderBoxValue === undefined || borderBoxValue <= 0) {\n borderBoxValue = undefined;\n // Fall back to computed then un computed css if necessary\n cssBoxValue = getComputedStyleX(elem, name);\n if (cssBoxValue === null || cssBoxValue === undefined || Number(cssBoxValue) < 0) {\n cssBoxValue = elem.style[name] || 0;\n }\n // Normalize '', auto, and prepare for extra\n cssBoxValue = parseFloat(cssBoxValue) || 0;\n }\n if (extra === undefined) {\n extra = isBorderBox ? BORDER_INDEX : CONTENT_INDEX;\n }\n var borderBoxValueOrIsBorderBox = borderBoxValue !== undefined || isBorderBox;\n var val = borderBoxValue || cssBoxValue;\n if (extra === CONTENT_INDEX) {\n if (borderBoxValueOrIsBorderBox) {\n return val - getPBMWidth(elem, ['border', 'padding'], which, computedStyle);\n }\n return cssBoxValue;\n } else if (borderBoxValueOrIsBorderBox) {\n if (extra === BORDER_INDEX) {\n return val;\n }\n return val + (extra === PADDING_INDEX ? -getPBMWidth(elem, ['border'], which, computedStyle) : getPBMWidth(elem, ['margin'], which, computedStyle));\n }\n return cssBoxValue + getPBMWidth(elem, BOX_MODELS.slice(extra), which, computedStyle);\n}\n\nvar cssShow = {\n position: 'absolute',\n visibility: 'hidden',\n display: 'block'\n};\n\n// fix #119 : https://github.com/kissyteam/kissy/issues/119\nfunction getWHIgnoreDisplay() {\n for (var _len = arguments.length, args = Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var val = void 0;\n var elem = args[0];\n // in case elem is window\n // elem.offsetWidth === undefined\n if (elem.offsetWidth !== 0) {\n val = getWH.apply(undefined, args);\n } else {\n swap(elem, cssShow, function () {\n val = getWH.apply(undefined, args);\n });\n }\n return val;\n}\n\neach(['width', 'height'], function (name) {\n var first = name.charAt(0).toUpperCase() + name.slice(1);\n domUtils['outer' + first] = function (el, includeMargin) {\n return el && getWHIgnoreDisplay(el, name, includeMargin ? MARGIN_INDEX : BORDER_INDEX);\n };\n var which = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n\n domUtils[name] = function (elem, v) {\n var val = v;\n if (val !== undefined) {\n if (elem) {\n var computedStyle = getComputedStyleX(elem);\n var isBorderBox = isBorderBoxFn(elem);\n if (isBorderBox) {\n val += getPBMWidth(elem, ['padding', 'border'], which, computedStyle);\n }\n return css(elem, name, val);\n }\n return undefined;\n }\n return elem && getWHIgnoreDisplay(elem, name, CONTENT_INDEX);\n };\n});\n\nfunction mix(to, from) {\n for (var i in from) {\n if (from.hasOwnProperty(i)) {\n to[i] = from[i];\n }\n }\n return to;\n}\n\nvar utils = {\n getWindow: function getWindow(node) {\n if (node && node.document && node.setTimeout) {\n return node;\n }\n var doc = node.ownerDocument || node;\n return doc.defaultView || doc.parentWindow;\n },\n offset: function offset(el, value, option) {\n if (typeof value !== 'undefined') {\n setOffset(el, value, option || {});\n } else {\n return getOffset(el);\n }\n },\n\n isWindow: isWindow,\n each: each,\n css: css,\n clone: function clone(obj) {\n var i = void 0;\n var ret = {};\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret[i] = obj[i];\n }\n }\n var overflow = obj.overflow;\n if (overflow) {\n for (i in obj) {\n if (obj.hasOwnProperty(i)) {\n ret.overflow[i] = obj.overflow[i];\n }\n }\n }\n return ret;\n },\n\n mix: mix,\n getWindowScrollLeft: function getWindowScrollLeft(w) {\n return getScrollLeft(w);\n },\n getWindowScrollTop: function getWindowScrollTop(w) {\n return getScrollTop(w);\n },\n merge: function merge() {\n var ret = {};\n\n for (var _len2 = arguments.length, args = Array(_len2), _key3 = 0; _key3 < _len2; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n for (var i = 0; i < args.length; i++) {\n utils.mix(ret, args[i]);\n }\n return ret;\n },\n\n viewportWidth: 0,\n viewportHeight: 0\n};\n\nmix(utils, domUtils);\n\nexports[\"default\"] = utils;\nmodule.exports = exports['default'];\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-align/lib/utils.js\n// module id = ./node_modules/dom-align/lib/utils.js\n// module chunks = 0","/*\n Module dependencies\n*/\nvar ElementType = require('domelementtype');\nvar entities = require('entities');\n\n/*\n Boolean Attributes\n*/\nvar booleanAttributes = {\n __proto__: null,\n allowfullscreen: true,\n async: true,\n autofocus: true,\n autoplay: true,\n checked: true,\n controls: true,\n default: true,\n defer: true,\n disabled: true,\n hidden: true,\n ismap: true,\n loop: true,\n multiple: true,\n muted: true,\n open: true,\n readonly: true,\n required: true,\n reversed: true,\n scoped: true,\n seamless: true,\n selected: true,\n typemustmatch: true\n};\n\nvar unencodedElements = {\n __proto__: null,\n style: true,\n script: true,\n xmp: true,\n iframe: true,\n noembed: true,\n noframes: true,\n plaintext: true,\n noscript: true\n};\n\n/*\n Format attributes\n*/\nfunction formatAttrs(attributes, opts) {\n if (!attributes) return;\n\n var output = '',\n value;\n\n // Loop through the attributes\n for (var key in attributes) {\n value = attributes[key];\n if (output) {\n output += ' ';\n }\n\n if (!value && booleanAttributes[key]) {\n output += key;\n } else {\n output += key + '=\"' + (opts.decodeEntities ? entities.encodeXML(value) : value) + '\"';\n }\n }\n\n return output;\n}\n\n/*\n Self-enclosing tags (stolen from node-htmlparser)\n*/\nvar singleTag = {\n __proto__: null,\n area: true,\n base: true,\n basefont: true,\n br: true,\n col: true,\n command: true,\n embed: true,\n frame: true,\n hr: true,\n img: true,\n input: true,\n isindex: true,\n keygen: true,\n link: true,\n meta: true,\n param: true,\n source: true,\n track: true,\n wbr: true,\n};\n\n\nvar render = module.exports = function(dom, opts) {\n if (!Array.isArray(dom) && !dom.cheerio) dom = [dom];\n opts = opts || {};\n\n var output = '';\n\n for(var i = 0; i < dom.length; i++){\n var elem = dom[i];\n\n if (elem.type === 'root')\n output += render(elem.children, opts);\n else if (ElementType.isTag(elem))\n output += renderTag(elem, opts);\n else if (elem.type === ElementType.Directive)\n output += renderDirective(elem);\n else if (elem.type === ElementType.Comment)\n output += renderComment(elem);\n else if (elem.type === ElementType.CDATA)\n output += renderCdata(elem);\n else\n output += renderText(elem, opts);\n }\n\n return output;\n};\n\nfunction renderTag(elem, opts) {\n // Handle SVG\n if (elem.name === \"svg\") opts = {decodeEntities: opts.decodeEntities, xmlMode: true};\n\n var tag = '<' + elem.name,\n attribs = formatAttrs(elem.attribs, opts);\n\n if (attribs) {\n tag += ' ' + attribs;\n }\n\n if (\n opts.xmlMode\n && (!elem.children || elem.children.length === 0)\n ) {\n tag += '/>';\n } else {\n tag += '>';\n if (elem.children) {\n tag += render(elem.children, opts);\n }\n\n if (!singleTag[elem.name] || opts.xmlMode) {\n tag += '';\n }\n }\n\n return tag;\n}\n\nfunction renderDirective(elem) {\n return '<' + elem.data + '>';\n}\n\nfunction renderText(elem, opts) {\n var data = elem.data || '';\n\n // if entities weren't decoded, no need to encode them back\n if (opts.decodeEntities && !(elem.parent && elem.parent.name in unencodedElements)) {\n data = entities.encodeXML(data);\n }\n\n return data;\n}\n\nfunction renderCdata(elem) {\n return '';\n}\n\nfunction renderComment(elem) {\n return '';\n}\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/dom-serializer/index.js\n// module id = ./node_modules/dom-serializer/index.js\n// module chunks = 0","//Types of elements found in the DOM\nmodule.exports = {\n\tText: \"text\", //Text\n\tDirective: \"directive\", //\n\tComment: \"comment\", //\n\tScript: \"script\", //